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"
12015 ac_cpp
='$CXXCPP $CPPFLAGS'
12016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12022 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12023 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12024 if test "${ac_cv_string_strcasecmp+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12028 cat >conftest.
$ac_ext <<_ACEOF
12029 #line $LINENO "configure"
12032 cat confdefs.h
>>conftest.
$ac_ext
12033 cat >>conftest.
$ac_ext <<_ACEOF
12034 /* end confdefs.h. */
12036 #include <string.h>
12042 strcasecmp("foo", "bar");
12048 rm -f conftest.
$ac_objext conftest
$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } &&
12054 { ac_try
='test -s conftest$ac_exeext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_string_strcasecmp
=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.
$ac_ext >&5
12065 ac_cv_string_strcasecmp
=no
12068 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12071 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12072 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12074 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12075 cat >>confdefs.h
<<\_ACEOF
12076 #define HAVE_STRCASECMP_IN_STRING_H 1
12080 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12081 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12082 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 cat >conftest.
$ac_ext <<_ACEOF
12087 #line $LINENO "configure"
12090 cat confdefs.h
>>conftest.
$ac_ext
12091 cat >>conftest.
$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 #include <strings.h>
12100 strcasecmp("foo", "bar");
12106 rm -f conftest.
$ac_objext conftest
$ac_exeext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12108 (eval $ac_link) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try
='test -s conftest$ac_exeext'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; }; then
12118 ac_cv_strings_strcasecmp
=yes
12120 echo "$as_me: failed program was:" >&5
12121 sed 's/^/| /' conftest.
$ac_ext >&5
12123 ac_cv_strings_strcasecmp
=no
12126 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12129 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12130 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12132 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12133 cat >>confdefs.h
<<\_ACEOF
12134 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12138 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12139 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12140 { (exit 1); exit 1; }; }
12145 ac_cpp
='$CPP $CPPFLAGS'
12146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12151 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12152 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12153 if test "${ac_cv_header_stdc+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 cat >conftest.
$ac_ext <<_ACEOF
12157 #line $LINENO "configure"
12160 cat confdefs.h
>>conftest.
$ac_ext
12161 cat >>conftest.
$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12163 #include <stdlib.h>
12164 #include <stdarg.h>
12165 #include <string.h>
12176 rm -f conftest.
$ac_objext
12177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12178 (eval $ac_compile) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } &&
12182 { ac_try
='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 ac_cv_header_stdc
=yes
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.
$ac_ext >&5
12193 ac_cv_header_stdc
=no
12195 rm -f conftest.
$ac_objext conftest.
$ac_ext
12197 if test $ac_cv_header_stdc = yes; then
12198 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12199 cat >conftest.
$ac_ext <<_ACEOF
12200 #line $LINENO "configure"
12203 cat confdefs.h
>>conftest.
$ac_ext
12204 cat >>conftest.
$ac_ext <<_ACEOF
12205 /* end confdefs.h. */
12206 #include <string.h>
12209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12210 $EGREP "memchr" >/dev
/null
2>&1; then
12213 ac_cv_header_stdc
=no
12219 if test $ac_cv_header_stdc = yes; then
12220 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12221 cat >conftest.
$ac_ext <<_ACEOF
12222 #line $LINENO "configure"
12225 cat confdefs.h
>>conftest.
$ac_ext
12226 cat >>conftest.
$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12228 #include <stdlib.h>
12231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12232 $EGREP "free" >/dev
/null
2>&1; then
12235 ac_cv_header_stdc
=no
12241 if test $ac_cv_header_stdc = yes; then
12242 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12243 if test "$cross_compiling" = yes; then
12246 cat >conftest.
$ac_ext <<_ACEOF
12247 #line $LINENO "configure"
12250 cat confdefs.h
>>conftest.
$ac_ext
12251 cat >>conftest.
$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12254 #if ((' ' & 0x0FF) == 0x020)
12255 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12256 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12258 # define ISLOWER(c) \
12259 (('a' <= (c) && (c) <= 'i') \
12260 || ('j' <= (c) && (c) <= 'r') \
12261 || ('s' <= (c) && (c) <= 'z'))
12262 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12265 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12270 for (i = 0; i < 256; i++)
12271 if (XOR (islower (i), ISLOWER (i))
12272 || toupper (i) != TOUPPER (i))
12277 rm -f conftest
$ac_exeext
12278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12279 (eval $ac_link) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12290 echo "$as_me: program exited with status $ac_status" >&5
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.
$ac_ext >&5
12294 ( exit $ac_status )
12295 ac_cv_header_stdc
=no
12297 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12301 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12302 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12303 if test $ac_cv_header_stdc = yes; then
12305 cat >>confdefs.h
<<\_ACEOF
12306 #define STDC_HEADERS 1
12311 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12321 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12322 inttypes.h stdint.h unistd.h
12324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12325 echo "$as_me:$LINENO: checking for $ac_header" >&5
12326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12330 cat >conftest.
$ac_ext <<_ACEOF
12331 #line $LINENO "configure"
12334 cat confdefs.h
>>conftest.
$ac_ext
12335 cat >>conftest.
$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12337 $ac_includes_default
12339 #include <$ac_header>
12341 rm -f conftest.
$ac_objext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12343 (eval $ac_compile) 2>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } &&
12347 { ac_try
='test -s conftest.$ac_objext'
12348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12349 (eval $ac_try) 2>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); }; }; then
12353 eval "$as_ac_Header=yes"
12355 echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.
$ac_ext >&5
12358 eval "$as_ac_Header=no"
12360 rm -f conftest.
$ac_objext conftest.
$ac_ext
12362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12365 cat >>confdefs.h
<<_ACEOF
12366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12375 for ac_header
in stdlib.h
12377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5
12380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12387 # Is the header compilable?
12388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12390 cat >conftest.
$ac_ext <<_ACEOF
12391 #line $LINENO "configure"
12394 cat confdefs.h
>>conftest.
$ac_ext
12395 cat >>conftest.
$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12397 $ac_includes_default
12398 #include <$ac_header>
12400 rm -f conftest.
$ac_objext
12401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12402 (eval $ac_compile) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try
='test -s conftest.$ac_objext'
12407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408 (eval $ac_try) 2>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }; }; then
12412 ac_header_compiler
=yes
12414 echo "$as_me: failed program was:" >&5
12415 sed 's/^/| /' conftest.
$ac_ext >&5
12417 ac_header_compiler
=no
12419 rm -f conftest.
$ac_objext conftest.
$ac_ext
12420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12421 echo "${ECHO_T}$ac_header_compiler" >&6
12423 # Is the header present?
12424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12426 cat >conftest.
$ac_ext <<_ACEOF
12427 #line $LINENO "configure"
12430 cat confdefs.h
>>conftest.
$ac_ext
12431 cat >>conftest.
$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12433 #include <$ac_header>
12435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12438 grep -v '^ *+' conftest.er1
>conftest.err
12440 cat conftest.err
>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } >/dev
/null
; then
12443 if test -s conftest.err
; then
12444 ac_cpp_err
=$ac_c_preproc_warn_flag
12451 if test -z "$ac_cpp_err"; then
12452 ac_header_preproc
=yes
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.
$ac_ext >&5
12457 ac_header_preproc
=no
12459 rm -f conftest.err conftest.
$ac_ext
12460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12461 echo "${ECHO_T}$ac_header_preproc" >&6
12463 # So? What about this header?
12464 case $ac_header_compiler:$ac_header_preproc in
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12472 ## ------------------------------------ ##
12473 ## Report this to bug-autoconf@gnu.org. ##
12474 ## ------------------------------------ ##
12477 sed "s/^/$as_me: WARNING: /" >&2
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12488 ## ------------------------------------ ##
12489 ## Report this to bug-autoconf@gnu.org. ##
12490 ## ------------------------------------ ##
12493 sed "s/^/$as_me: WARNING: /" >&2
12496 echo "$as_me:$LINENO: checking for $ac_header" >&5
12497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 eval "$as_ac_Header=$ac_header_preproc"
12503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12508 cat >>confdefs.h
<<_ACEOF
12509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12517 for ac_header
in malloc.h
12519 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12521 echo "$as_me:$LINENO: checking for $ac_header" >&5
12522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12529 # Is the header compilable?
12530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12532 cat >conftest.
$ac_ext <<_ACEOF
12533 #line $LINENO "configure"
12536 cat confdefs.h
>>conftest.
$ac_ext
12537 cat >>conftest.
$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 $ac_includes_default
12540 #include <$ac_header>
12542 rm -f conftest.
$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 ac_header_compiler
=yes
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.
$ac_ext >&5
12559 ac_header_compiler
=no
12561 rm -f conftest.
$ac_objext conftest.
$ac_ext
12562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12563 echo "${ECHO_T}$ac_header_compiler" >&6
12565 # Is the header present?
12566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12568 cat >conftest.
$ac_ext <<_ACEOF
12569 #line $LINENO "configure"
12572 cat confdefs.h
>>conftest.
$ac_ext
12573 cat >>conftest.
$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575 #include <$ac_header>
12577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1
>conftest.err
12582 cat conftest.err
>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } >/dev
/null
; then
12585 if test -s conftest.err
; then
12586 ac_cpp_err
=$ac_c_preproc_warn_flag
12593 if test -z "$ac_cpp_err"; then
12594 ac_header_preproc
=yes
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.
$ac_ext >&5
12599 ac_header_preproc
=no
12601 rm -f conftest.err conftest.
$ac_ext
12602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12603 echo "${ECHO_T}$ac_header_preproc" >&6
12605 # So? What about this header?
12606 case $ac_header_compiler:$ac_header_preproc in
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12614 ## ------------------------------------ ##
12615 ## Report this to bug-autoconf@gnu.org. ##
12616 ## ------------------------------------ ##
12619 sed "s/^/$as_me: WARNING: /" >&2
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12630 ## ------------------------------------ ##
12631 ## Report this to bug-autoconf@gnu.org. ##
12632 ## ------------------------------------ ##
12635 sed "s/^/$as_me: WARNING: /" >&2
12638 echo "$as_me:$LINENO: checking for $ac_header" >&5
12639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 eval "$as_ac_Header=$ac_header_preproc"
12645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12650 cat >>confdefs.h
<<_ACEOF
12651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12659 for ac_header
in unistd.h
12661 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo "$as_me:$LINENO: checking for $ac_header" >&5
12664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12671 # Is the header compilable?
12672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12674 cat >conftest.
$ac_ext <<_ACEOF
12675 #line $LINENO "configure"
12678 cat confdefs.h
>>conftest.
$ac_ext
12679 cat >>conftest.
$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 $ac_includes_default
12682 #include <$ac_header>
12684 rm -f conftest.
$ac_objext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try
='test -s conftest.$ac_objext'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; }; then
12696 ac_header_compiler
=yes
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.
$ac_ext >&5
12701 ac_header_compiler
=no
12703 rm -f conftest.
$ac_objext conftest.
$ac_ext
12704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12705 echo "${ECHO_T}$ac_header_compiler" >&6
12707 # Is the header present?
12708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12710 cat >conftest.
$ac_ext <<_ACEOF
12711 #line $LINENO "configure"
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 #include <$ac_header>
12719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12722 grep -v '^ *+' conftest.er1
>conftest.err
12724 cat conftest.err
>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } >/dev
/null
; then
12727 if test -s conftest.err
; then
12728 ac_cpp_err
=$ac_c_preproc_warn_flag
12735 if test -z "$ac_cpp_err"; then
12736 ac_header_preproc
=yes
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.
$ac_ext >&5
12741 ac_header_preproc
=no
12743 rm -f conftest.err conftest.
$ac_ext
12744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12745 echo "${ECHO_T}$ac_header_preproc" >&6
12747 # So? What about this header?
12748 case $ac_header_compiler:$ac_header_preproc in
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12756 ## ------------------------------------ ##
12757 ## Report this to bug-autoconf@gnu.org. ##
12758 ## ------------------------------------ ##
12761 sed "s/^/$as_me: WARNING: /" >&2
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12772 ## ------------------------------------ ##
12773 ## Report this to bug-autoconf@gnu.org. ##
12774 ## ------------------------------------ ##
12777 sed "s/^/$as_me: WARNING: /" >&2
12780 echo "$as_me:$LINENO: checking for $ac_header" >&5
12781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 eval "$as_ac_Header=$ac_header_preproc"
12787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12792 cat >>confdefs.h
<<_ACEOF
12793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12801 for ac_header
in wchar.h
12803 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12805 echo "$as_me:$LINENO: checking for $ac_header" >&5
12806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12813 # Is the header compilable?
12814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12816 cat >conftest.
$ac_ext <<_ACEOF
12817 #line $LINENO "configure"
12820 cat confdefs.h
>>conftest.
$ac_ext
12821 cat >>conftest.
$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12823 $ac_includes_default
12824 #include <$ac_header>
12826 rm -f conftest.
$ac_objext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12828 (eval $ac_compile) 2>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try
='test -s conftest.$ac_objext'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; }; then
12838 ac_header_compiler
=yes
12840 echo "$as_me: failed program was:" >&5
12841 sed 's/^/| /' conftest.
$ac_ext >&5
12843 ac_header_compiler
=no
12845 rm -f conftest.
$ac_objext conftest.
$ac_ext
12846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12847 echo "${ECHO_T}$ac_header_compiler" >&6
12849 # Is the header present?
12850 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12852 cat >conftest.
$ac_ext <<_ACEOF
12853 #line $LINENO "configure"
12856 cat confdefs.h
>>conftest.
$ac_ext
12857 cat >>conftest.
$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 #include <$ac_header>
12861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12864 grep -v '^ *+' conftest.er1
>conftest.err
12866 cat conftest.err
>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } >/dev
/null
; then
12869 if test -s conftest.err
; then
12870 ac_cpp_err
=$ac_c_preproc_warn_flag
12877 if test -z "$ac_cpp_err"; then
12878 ac_header_preproc
=yes
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.
$ac_ext >&5
12883 ac_header_preproc
=no
12885 rm -f conftest.err conftest.
$ac_ext
12886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12887 echo "${ECHO_T}$ac_header_preproc" >&6
12889 # So? What about this header?
12890 case $ac_header_compiler:$ac_header_preproc in
12892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12898 ## ------------------------------------ ##
12899 ## Report this to bug-autoconf@gnu.org. ##
12900 ## ------------------------------------ ##
12903 sed "s/^/$as_me: WARNING: /" >&2
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12914 ## ------------------------------------ ##
12915 ## Report this to bug-autoconf@gnu.org. ##
12916 ## ------------------------------------ ##
12919 sed "s/^/$as_me: WARNING: /" >&2
12922 echo "$as_me:$LINENO: checking for $ac_header" >&5
12923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 eval "$as_ac_Header=$ac_header_preproc"
12929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12934 cat >>confdefs.h
<<_ACEOF
12935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12943 if test "$ac_cv_header_wchar_h" != "yes"; then
12945 for ac_header
in wcstr.h
12947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12949 echo "$as_me:$LINENO: checking for $ac_header" >&5
12950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12957 # Is the header compilable?
12958 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12960 cat >conftest.
$ac_ext <<_ACEOF
12961 #line $LINENO "configure"
12964 cat confdefs.h
>>conftest.
$ac_ext
12965 cat >>conftest.
$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 $ac_includes_default
12968 #include <$ac_header>
12970 rm -f conftest.
$ac_objext
12971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12972 (eval $ac_compile) 2>&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); } &&
12976 { ac_try
='test -s conftest.$ac_objext'
12977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978 (eval $ac_try) 2>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); }; }; then
12982 ac_header_compiler
=yes
12984 echo "$as_me: failed program was:" >&5
12985 sed 's/^/| /' conftest.
$ac_ext >&5
12987 ac_header_compiler
=no
12989 rm -f conftest.
$ac_objext conftest.
$ac_ext
12990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12991 echo "${ECHO_T}$ac_header_compiler" >&6
12993 # Is the header present?
12994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12996 cat >conftest.
$ac_ext <<_ACEOF
12997 #line $LINENO "configure"
13000 cat confdefs.h
>>conftest.
$ac_ext
13001 cat >>conftest.
$ac_ext <<_ACEOF
13002 /* end confdefs.h. */
13003 #include <$ac_header>
13005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13008 grep -v '^ *+' conftest.er1
>conftest.err
13010 cat conftest.err
>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); } >/dev
/null
; then
13013 if test -s conftest.err
; then
13014 ac_cpp_err
=$ac_c_preproc_warn_flag
13021 if test -z "$ac_cpp_err"; then
13022 ac_header_preproc
=yes
13024 echo "$as_me: failed program was:" >&5
13025 sed 's/^/| /' conftest.
$ac_ext >&5
13027 ac_header_preproc
=no
13029 rm -f conftest.err conftest.
$ac_ext
13030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13031 echo "${ECHO_T}$ac_header_preproc" >&6
13033 # So? What about this header?
13034 case $ac_header_compiler:$ac_header_preproc in
13036 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13042 ## ------------------------------------ ##
13043 ## Report this to bug-autoconf@gnu.org. ##
13044 ## ------------------------------------ ##
13047 sed "s/^/$as_me: WARNING: /" >&2
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13058 ## ------------------------------------ ##
13059 ## Report this to bug-autoconf@gnu.org. ##
13060 ## ------------------------------------ ##
13063 sed "s/^/$as_me: WARNING: /" >&2
13066 echo "$as_me:$LINENO: checking for $ac_header" >&5
13067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 eval "$as_ac_Header=$ac_header_preproc"
13073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13078 cat >>confdefs.h
<<_ACEOF
13079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13089 for ac_header
in fnmatch.h
13091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13093 echo "$as_me:$LINENO: checking for $ac_header" >&5
13094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13101 # Is the header compilable?
13102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13104 cat >conftest.
$ac_ext <<_ACEOF
13105 #line $LINENO "configure"
13108 cat confdefs.h
>>conftest.
$ac_ext
13109 cat >>conftest.
$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 $ac_includes_default
13112 #include <$ac_header>
13114 rm -f conftest.
$ac_objext
13115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13116 (eval $ac_compile) 2>&5
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); } &&
13120 { ac_try
='test -s conftest.$ac_objext'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; }; then
13126 ac_header_compiler
=yes
13128 echo "$as_me: failed program was:" >&5
13129 sed 's/^/| /' conftest.
$ac_ext >&5
13131 ac_header_compiler
=no
13133 rm -f conftest.
$ac_objext conftest.
$ac_ext
13134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13135 echo "${ECHO_T}$ac_header_compiler" >&6
13137 # Is the header present?
13138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13140 cat >conftest.
$ac_ext <<_ACEOF
13141 #line $LINENO "configure"
13144 cat confdefs.h
>>conftest.
$ac_ext
13145 cat >>conftest.
$ac_ext <<_ACEOF
13146 /* end confdefs.h. */
13147 #include <$ac_header>
13149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13152 grep -v '^ *+' conftest.er1
>conftest.err
13154 cat conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } >/dev
/null
; then
13157 if test -s conftest.err
; then
13158 ac_cpp_err
=$ac_c_preproc_warn_flag
13165 if test -z "$ac_cpp_err"; then
13166 ac_header_preproc
=yes
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.
$ac_ext >&5
13171 ac_header_preproc
=no
13173 rm -f conftest.err conftest.
$ac_ext
13174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13175 echo "${ECHO_T}$ac_header_preproc" >&6
13177 # So? What about this header?
13178 case $ac_header_compiler:$ac_header_preproc in
13180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13186 ## ------------------------------------ ##
13187 ## Report this to bug-autoconf@gnu.org. ##
13188 ## ------------------------------------ ##
13191 sed "s/^/$as_me: WARNING: /" >&2
13194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13202 ## ------------------------------------ ##
13203 ## Report this to bug-autoconf@gnu.org. ##
13204 ## ------------------------------------ ##
13207 sed "s/^/$as_me: WARNING: /" >&2
13210 echo "$as_me:$LINENO: checking for $ac_header" >&5
13211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13213 echo $ECHO_N "(cached) $ECHO_C" >&6
13215 eval "$as_ac_Header=$ac_header_preproc"
13217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13222 cat >>confdefs.h
<<_ACEOF
13223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13231 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13233 for ac_func
in fnmatch
13235 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13236 echo "$as_me:$LINENO: checking for $ac_func" >&5
13237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13238 if eval "test \"\${$as_ac_var+set}\" = set"; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 cat >conftest.
$ac_ext <<_ACEOF
13242 #line $LINENO "configure"
13245 cat confdefs.h
>>conftest.
$ac_ext
13246 cat >>conftest.
$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 /* System header to define __stub macros and hopefully few prototypes,
13249 which can conflict with char $ac_func (); below.
13250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13251 <limits.h> exists even on freestanding compilers. */
13253 # include <limits.h>
13255 # include <assert.h>
13257 /* Override any gcc2 internal prototype to avoid an error. */
13262 /* We use char because int might match the return type of a gcc2
13263 builtin and then its argument prototype would still apply. */
13265 /* The GNU C library defines this for functions which it implements
13266 to always fail with ENOSYS. Some functions are actually named
13267 something starting with __ and the normal name is an alias. */
13268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13271 char (*f) () = $ac_func;
13280 return f != $ac_func;
13285 rm -f conftest.
$ac_objext conftest
$ac_exeext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13287 (eval $ac_link) 2>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try
='test -s conftest$ac_exeext'
13292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13293 (eval $ac_try) 2>&5
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); }; }; then
13297 eval "$as_ac_var=yes"
13299 echo "$as_me: failed program was:" >&5
13300 sed 's/^/| /' conftest.
$ac_ext >&5
13302 eval "$as_ac_var=no"
13304 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13308 if test `eval echo '${'$as_ac_var'}'` = yes; then
13309 cat >>confdefs.h
<<_ACEOF
13310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13319 for ac_header
in langinfo.h
13321 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13323 echo "$as_me:$LINENO: checking for $ac_header" >&5
13324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13326 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13331 # Is the header compilable?
13332 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13334 cat >conftest.
$ac_ext <<_ACEOF
13335 #line $LINENO "configure"
13338 cat confdefs.h
>>conftest.
$ac_ext
13339 cat >>conftest.
$ac_ext <<_ACEOF
13340 /* end confdefs.h. */
13341 $ac_includes_default
13342 #include <$ac_header>
13344 rm -f conftest.
$ac_objext
13345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13346 (eval $ac_compile) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try
='test -s conftest.$ac_objext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 ac_header_compiler
=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.
$ac_ext >&5
13361 ac_header_compiler
=no
13363 rm -f conftest.
$ac_objext conftest.
$ac_ext
13364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13365 echo "${ECHO_T}$ac_header_compiler" >&6
13367 # Is the header present?
13368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13370 cat >conftest.
$ac_ext <<_ACEOF
13371 #line $LINENO "configure"
13374 cat confdefs.h
>>conftest.
$ac_ext
13375 cat >>conftest.
$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 #include <$ac_header>
13379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13382 grep -v '^ *+' conftest.er1
>conftest.err
13384 cat conftest.err
>&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } >/dev
/null
; then
13387 if test -s conftest.err
; then
13388 ac_cpp_err
=$ac_c_preproc_warn_flag
13395 if test -z "$ac_cpp_err"; then
13396 ac_header_preproc
=yes
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.
$ac_ext >&5
13401 ac_header_preproc
=no
13403 rm -f conftest.err conftest.
$ac_ext
13404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13405 echo "${ECHO_T}$ac_header_preproc" >&6
13407 # So? What about this header?
13408 case $ac_header_compiler:$ac_header_preproc in
13410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13416 ## ------------------------------------ ##
13417 ## Report this to bug-autoconf@gnu.org. ##
13418 ## ------------------------------------ ##
13421 sed "s/^/$as_me: WARNING: /" >&2
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13432 ## ------------------------------------ ##
13433 ## Report this to bug-autoconf@gnu.org. ##
13434 ## ------------------------------------ ##
13437 sed "s/^/$as_me: WARNING: /" >&2
13440 echo "$as_me:$LINENO: checking for $ac_header" >&5
13441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13445 eval "$as_ac_Header=$ac_header_preproc"
13447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13452 cat >>confdefs.h
<<_ACEOF
13453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13462 *-pc-os2_emx | *-pc-os2-emx )
13463 if test $ac_cv_header_langinfo_h = "yes"; then
13464 LIBS
="$LIBS -lintl"
13469 if test "$wxUSE_GUI" = "yes"; then
13470 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13472 for ac_header
in X
11/Xlib.h
13474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13476 echo "$as_me:$LINENO: checking for $ac_header" >&5
13477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13484 # Is the header compilable?
13485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13487 cat >conftest.
$ac_ext <<_ACEOF
13488 #line $LINENO "configure"
13491 cat confdefs.h
>>conftest.
$ac_ext
13492 cat >>conftest.
$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13494 $ac_includes_default
13495 #include <$ac_header>
13497 rm -f conftest.
$ac_objext
13498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13499 (eval $ac_compile) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try
='test -s conftest.$ac_objext'
13504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13505 (eval $ac_try) 2>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); }; }; then
13509 ac_header_compiler
=yes
13511 echo "$as_me: failed program was:" >&5
13512 sed 's/^/| /' conftest.
$ac_ext >&5
13514 ac_header_compiler
=no
13516 rm -f conftest.
$ac_objext conftest.
$ac_ext
13517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13518 echo "${ECHO_T}$ac_header_compiler" >&6
13520 # Is the header present?
13521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13523 cat >conftest.
$ac_ext <<_ACEOF
13524 #line $LINENO "configure"
13527 cat confdefs.h
>>conftest.
$ac_ext
13528 cat >>conftest.
$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13530 #include <$ac_header>
13532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13533 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13535 grep -v '^ *+' conftest.er1
>conftest.err
13537 cat conftest.err
>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); } >/dev
/null
; then
13540 if test -s conftest.err
; then
13541 ac_cpp_err
=$ac_c_preproc_warn_flag
13548 if test -z "$ac_cpp_err"; then
13549 ac_header_preproc
=yes
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.
$ac_ext >&5
13554 ac_header_preproc
=no
13556 rm -f conftest.err conftest.
$ac_ext
13557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13558 echo "${ECHO_T}$ac_header_preproc" >&6
13560 # So? What about this header?
13561 case $ac_header_compiler:$ac_header_preproc in
13563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13569 ## ------------------------------------ ##
13570 ## Report this to bug-autoconf@gnu.org. ##
13571 ## ------------------------------------ ##
13574 sed "s/^/$as_me: WARNING: /" >&2
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13585 ## ------------------------------------ ##
13586 ## Report this to bug-autoconf@gnu.org. ##
13587 ## ------------------------------------ ##
13590 sed "s/^/$as_me: WARNING: /" >&2
13593 echo "$as_me:$LINENO: checking for $ac_header" >&5
13594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 eval "$as_ac_Header=$ac_header_preproc"
13600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13605 cat >>confdefs.h
<<_ACEOF
13606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13614 for ac_header
in X
11/XKBlib.h
13616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13617 echo "$as_me:$LINENO: checking for $ac_header" >&5
13618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13622 cat >conftest.
$ac_ext <<_ACEOF
13623 #line $LINENO "configure"
13626 cat confdefs.h
>>conftest.
$ac_ext
13627 cat >>conftest.
$ac_ext <<_ACEOF
13628 /* end confdefs.h. */
13630 #if HAVE_X11_XLIB_H
13631 #include <X11/Xlib.h>
13635 #include <$ac_header>
13637 rm -f conftest.
$ac_objext
13638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13639 (eval $ac_compile) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try
='test -s conftest.$ac_objext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 eval "$as_ac_Header=yes"
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.
$ac_ext >&5
13654 eval "$as_ac_Header=no"
13656 rm -f conftest.
$ac_objext conftest.
$ac_ext
13658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13661 cat >>confdefs.h
<<_ACEOF
13662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13673 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13674 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13675 if test "${ac_cv_c_const+set}" = set; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 cat >conftest.
$ac_ext <<_ACEOF
13679 #line $LINENO "configure"
13682 cat confdefs.h
>>conftest.
$ac_ext
13683 cat >>conftest.
$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13689 /* FIXME: Include the comments suggested by Paul. */
13690 #ifndef __cplusplus
13691 /* Ultrix mips cc rejects this. */
13692 typedef int charset[2];
13694 /* SunOS 4.1.1 cc rejects this. */
13695 char const *const *ccp;
13697 /* NEC SVR4.0.2 mips cc rejects this. */
13698 struct point {int x, y;};
13699 static struct point const zero = {0,0};
13700 /* AIX XL C 1.02.0.0 rejects this.
13701 It does not let you subtract one const X* pointer from another in
13702 an arm of an if-expression whose if-part is not a constant
13704 const char *g = "string";
13705 ccp = &g + (g ? g-g : 0);
13706 /* HPUX 7.0 cc rejects these. */
13709 ccp = (char const *const *) p;
13710 { /* SCO 3.2v4 cc rejects this. */
13712 char const *s = 0 ? (char *) 0 : (char const *) 0;
13716 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13717 int x[] = {25, 17};
13718 const int *foo = &x[0];
13721 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13722 typedef const int *iptr;
13726 { /* AIX XL C 1.02.0.0 rejects this saying
13727 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13728 struct s { int j; const int *ap[3]; };
13729 struct s *b; b->j = 5;
13731 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13732 const int foo = 10;
13740 rm -f conftest.
$ac_objext
13741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13742 (eval $ac_compile) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } &&
13746 { ac_try
='test -s conftest.$ac_objext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.
$ac_ext >&5
13759 rm -f conftest.
$ac_objext conftest.
$ac_ext
13761 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13762 echo "${ECHO_T}$ac_cv_c_const" >&6
13763 if test $ac_cv_c_const = no
; then
13765 cat >>confdefs.h
<<\_ACEOF
13771 echo "$as_me:$LINENO: checking for inline" >&5
13772 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13773 if test "${ac_cv_c_inline+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 for ac_kw
in inline __inline__ __inline
; do
13778 cat >conftest.
$ac_ext <<_ACEOF
13779 #line $LINENO "configure"
13782 cat confdefs.h
>>conftest.
$ac_ext
13783 cat >>conftest.
$ac_ext <<_ACEOF
13784 /* end confdefs.h. */
13785 #ifndef __cplusplus
13787 static $ac_kw foo_t static_foo () {return 0; }
13788 $ac_kw foo_t foo () {return 0; }
13792 rm -f conftest.
$ac_objext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13794 (eval $ac_compile) 2>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try
='test -s conftest.$ac_objext'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; }; then
13804 ac_cv_c_inline
=$ac_kw; break
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.
$ac_ext >&5
13810 rm -f conftest.
$ac_objext conftest.
$ac_ext
13814 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13815 echo "${ECHO_T}$ac_cv_c_inline" >&6
13816 case $ac_cv_c_inline in
13819 cat >>confdefs.h
<<\_ACEOF
13823 *) cat >>confdefs.h
<<_ACEOF
13824 #define inline $ac_cv_c_inline
13830 echo "$as_me:$LINENO: checking for char" >&5
13831 echo $ECHO_N "checking for char... $ECHO_C" >&6
13832 if test "${ac_cv_type_char+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13835 cat >conftest.
$ac_ext <<_ACEOF
13836 #line $LINENO "configure"
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 $ac_includes_default
13854 rm -f conftest.
$ac_objext
13855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13856 (eval $ac_compile) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } &&
13860 { ac_try
='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 ac_cv_type_char
=yes
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13873 rm -f conftest.
$ac_objext conftest.
$ac_ext
13875 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13876 echo "${ECHO_T}$ac_cv_type_char" >&6
13878 echo "$as_me:$LINENO: checking size of char" >&5
13879 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13880 if test "${ac_cv_sizeof_char+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 if test "$ac_cv_type_char" = yes; then
13884 # The cast to unsigned long works around a bug in the HP C Compiler
13885 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13886 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13887 # This bug is HP SR number 8606223364.
13888 if test "$cross_compiling" = yes; then
13889 # Depending upon the size, compute the lo and hi bounds.
13890 cat >conftest.
$ac_ext <<_ACEOF
13891 #line $LINENO "configure"
13894 cat confdefs.h
>>conftest.
$ac_ext
13895 cat >>conftest.
$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 $ac_includes_default
13901 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13908 rm -f conftest.
$ac_objext
13909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13910 (eval $ac_compile) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try
='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13922 cat >conftest.
$ac_ext <<_ACEOF
13923 #line $LINENO "configure"
13926 cat confdefs.h
>>conftest.
$ac_ext
13927 cat >>conftest.
$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 $ac_includes_default
13933 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13940 rm -f conftest.
$ac_objext
13941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13942 (eval $ac_compile) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } &&
13946 { ac_try
='test -s conftest.$ac_objext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_hi
=$ac_mid; break
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.
$ac_ext >&5
13957 ac_lo
=`expr $ac_mid + 1`
13958 if test $ac_lo -le $ac_mid; then
13962 ac_mid
=`expr 2 '*' $ac_mid + 1`
13964 rm -f conftest.
$ac_objext conftest.
$ac_ext
13967 echo "$as_me: failed program was:" >&5
13968 sed 's/^/| /' conftest.
$ac_ext >&5
13970 cat >conftest.
$ac_ext <<_ACEOF
13971 #line $LINENO "configure"
13974 cat confdefs.h
>>conftest.
$ac_ext
13975 cat >>conftest.
$ac_ext <<_ACEOF
13976 /* end confdefs.h. */
13977 $ac_includes_default
13981 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13988 rm -f conftest.
$ac_objext
13989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13990 (eval $ac_compile) 2>&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try
='test -s conftest.$ac_objext'
13995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13996 (eval $ac_try) 2>&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); }; }; then
14002 cat >conftest.
$ac_ext <<_ACEOF
14003 #line $LINENO "configure"
14006 cat confdefs.h
>>conftest.
$ac_ext
14007 cat >>conftest.
$ac_ext <<_ACEOF
14008 /* end confdefs.h. */
14009 $ac_includes_default
14013 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14020 rm -f conftest.
$ac_objext
14021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14022 (eval $ac_compile) 2>&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); } &&
14026 { ac_try
='test -s conftest.$ac_objext'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; }; then
14032 ac_lo
=$ac_mid; break
14034 echo "$as_me: failed program was:" >&5
14035 sed 's/^/| /' conftest.
$ac_ext >&5
14037 ac_hi
=`expr '(' $ac_mid ')' - 1`
14038 if test $ac_mid -le $ac_hi; then
14042 ac_mid
=`expr 2 '*' $ac_mid`
14044 rm -f conftest.
$ac_objext conftest.
$ac_ext
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.
$ac_ext >&5
14052 rm -f conftest.
$ac_objext conftest.
$ac_ext
14054 rm -f conftest.
$ac_objext conftest.
$ac_ext
14055 # Binary search between lo and hi bounds.
14056 while test "x$ac_lo" != "x$ac_hi"; do
14057 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14058 cat >conftest.
$ac_ext <<_ACEOF
14059 #line $LINENO "configure"
14062 cat confdefs.h
>>conftest.
$ac_ext
14063 cat >>conftest.
$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14065 $ac_includes_default
14069 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14076 rm -f conftest.
$ac_objext
14077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14078 (eval $ac_compile) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } &&
14082 { ac_try
='test -s conftest.$ac_objext'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; }; then
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.
$ac_ext >&5
14093 ac_lo
=`expr '(' $ac_mid ')' + 1`
14095 rm -f conftest.
$ac_objext conftest.
$ac_ext
14098 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14100 See \`config.log' for more details." >&5
14101 echo "$as_me: error: cannot compute sizeof (char), 77
14102 See \`config.log' for more details." >&2;}
14103 { (exit 1); exit 1; }; } ;;
14106 if test "$cross_compiling" = yes; then
14107 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14108 See \`config.log' for more details." >&5
14109 echo "$as_me: error: cannot run test program while cross compiling
14110 See \`config.log' for more details." >&2;}
14111 { (exit 1); exit 1; }; }
14113 cat >conftest.
$ac_ext <<_ACEOF
14114 #line $LINENO "configure"
14117 cat confdefs.h
>>conftest.
$ac_ext
14118 cat >>conftest.
$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120 $ac_includes_default
14121 long longval () { return (long) (sizeof (char)); }
14122 unsigned long ulongval () { return (long) (sizeof (char)); }
14124 #include <stdlib.h>
14129 FILE *f = fopen ("conftest.val", "w");
14132 if (((long) (sizeof (char))) < 0)
14134 long i = longval ();
14135 if (i != ((long) (sizeof (char))))
14137 fprintf (f, "%ld\n", i);
14141 unsigned long i = ulongval ();
14142 if (i != ((long) (sizeof (char))))
14144 fprintf (f, "%lu\n", i);
14146 exit (ferror (f) || fclose (f) != 0);
14152 rm -f conftest
$ac_exeext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14154 (eval $ac_link) 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 ac_cv_sizeof_char
=`cat conftest.val`
14165 echo "$as_me: program exited with status $ac_status" >&5
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.
$ac_ext >&5
14169 ( exit $ac_status )
14170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14171 See \`config.log' for more details." >&5
14172 echo "$as_me: error: cannot compute sizeof (char), 77
14173 See \`config.log' for more details." >&2;}
14174 { (exit 1); exit 1; }; }
14176 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14181 ac_cv_sizeof_char
=0
14184 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14185 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14186 cat >>confdefs.h
<<_ACEOF
14187 #define SIZEOF_CHAR $ac_cv_sizeof_char
14191 echo "$as_me:$LINENO: checking for short" >&5
14192 echo $ECHO_N "checking for short... $ECHO_C" >&6
14193 if test "${ac_cv_type_short+set}" = set; then
14194 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 cat >conftest.
$ac_ext <<_ACEOF
14197 #line $LINENO "configure"
14200 cat confdefs.h
>>conftest.
$ac_ext
14201 cat >>conftest.
$ac_ext <<_ACEOF
14202 /* end confdefs.h. */
14203 $ac_includes_default
14209 if (sizeof (short))
14215 rm -f conftest.
$ac_objext
14216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14217 (eval $ac_compile) 2>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } &&
14221 { ac_try
='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14227 ac_cv_type_short
=yes
14229 echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.
$ac_ext >&5
14232 ac_cv_type_short
=no
14234 rm -f conftest.
$ac_objext conftest.
$ac_ext
14236 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14237 echo "${ECHO_T}$ac_cv_type_short" >&6
14239 echo "$as_me:$LINENO: checking size of short" >&5
14240 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14241 if test "${ac_cv_sizeof_short+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14244 if test "$ac_cv_type_short" = yes; then
14245 # The cast to unsigned long works around a bug in the HP C Compiler
14246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14248 # This bug is HP SR number 8606223364.
14249 if test "$cross_compiling" = yes; then
14250 # Depending upon the size, compute the lo and hi bounds.
14251 cat >conftest.
$ac_ext <<_ACEOF
14252 #line $LINENO "configure"
14255 cat confdefs.h
>>conftest.
$ac_ext
14256 cat >>conftest.
$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 $ac_includes_default
14262 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14269 rm -f conftest.
$ac_objext
14270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 (eval $ac_compile) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try
='test -s conftest.$ac_objext'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14283 cat >conftest.
$ac_ext <<_ACEOF
14284 #line $LINENO "configure"
14287 cat confdefs.h
>>conftest.
$ac_ext
14288 cat >>conftest.
$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14290 $ac_includes_default
14294 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14301 rm -f conftest.
$ac_objext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14303 (eval $ac_compile) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } &&
14307 { ac_try
='test -s conftest.$ac_objext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 ac_hi
=$ac_mid; break
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.
$ac_ext >&5
14318 ac_lo
=`expr $ac_mid + 1`
14319 if test $ac_lo -le $ac_mid; then
14323 ac_mid
=`expr 2 '*' $ac_mid + 1`
14325 rm -f conftest.
$ac_objext conftest.
$ac_ext
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.
$ac_ext >&5
14331 cat >conftest.
$ac_ext <<_ACEOF
14332 #line $LINENO "configure"
14335 cat confdefs.h
>>conftest.
$ac_ext
14336 cat >>conftest.
$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14338 $ac_includes_default
14342 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14349 rm -f conftest.
$ac_objext
14350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14351 (eval $ac_compile) 2>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); } &&
14355 { ac_try
='test -s conftest.$ac_objext'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; }; then
14363 cat >conftest.
$ac_ext <<_ACEOF
14364 #line $LINENO "configure"
14367 cat confdefs.h
>>conftest.
$ac_ext
14368 cat >>conftest.
$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370 $ac_includes_default
14374 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14381 rm -f conftest.
$ac_objext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14383 (eval $ac_compile) 2>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } &&
14387 { ac_try
='test -s conftest.$ac_objext'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; }; then
14393 ac_lo
=$ac_mid; break
14395 echo "$as_me: failed program was:" >&5
14396 sed 's/^/| /' conftest.
$ac_ext >&5
14398 ac_hi
=`expr '(' $ac_mid ')' - 1`
14399 if test $ac_mid -le $ac_hi; then
14403 ac_mid
=`expr 2 '*' $ac_mid`
14405 rm -f conftest.
$ac_objext conftest.
$ac_ext
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.
$ac_ext >&5
14413 rm -f conftest.
$ac_objext conftest.
$ac_ext
14415 rm -f conftest.
$ac_objext conftest.
$ac_ext
14416 # Binary search between lo and hi bounds.
14417 while test "x$ac_lo" != "x$ac_hi"; do
14418 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14419 cat >conftest.
$ac_ext <<_ACEOF
14420 #line $LINENO "configure"
14423 cat confdefs.h
>>conftest.
$ac_ext
14424 cat >>conftest.
$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 $ac_includes_default
14430 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14437 rm -f conftest.
$ac_objext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } &&
14443 { ac_try
='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.
$ac_ext >&5
14454 ac_lo
=`expr '(' $ac_mid ')' + 1`
14456 rm -f conftest.
$ac_objext conftest.
$ac_ext
14459 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14460 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14461 See \`config.log' for more details." >&5
14462 echo "$as_me: error: cannot compute sizeof (short), 77
14463 See \`config.log' for more details." >&2;}
14464 { (exit 1); exit 1; }; } ;;
14467 if test "$cross_compiling" = yes; then
14468 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14469 See \`config.log' for more details." >&5
14470 echo "$as_me: error: cannot run test program while cross compiling
14471 See \`config.log' for more details." >&2;}
14472 { (exit 1); exit 1; }; }
14474 cat >conftest.
$ac_ext <<_ACEOF
14475 #line $LINENO "configure"
14478 cat confdefs.h
>>conftest.
$ac_ext
14479 cat >>conftest.
$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14481 $ac_includes_default
14482 long longval () { return (long) (sizeof (short)); }
14483 unsigned long ulongval () { return (long) (sizeof (short)); }
14485 #include <stdlib.h>
14490 FILE *f = fopen ("conftest.val", "w");
14493 if (((long) (sizeof (short))) < 0)
14495 long i = longval ();
14496 if (i != ((long) (sizeof (short))))
14498 fprintf (f, "%ld\n", i);
14502 unsigned long i = ulongval ();
14503 if (i != ((long) (sizeof (short))))
14505 fprintf (f, "%lu\n", i);
14507 exit (ferror (f) || fclose (f) != 0);
14513 rm -f conftest
$ac_exeext
14514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14515 (eval $ac_link) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_cv_sizeof_short
=`cat conftest.val`
14526 echo "$as_me: program exited with status $ac_status" >&5
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.
$ac_ext >&5
14530 ( exit $ac_status )
14531 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14532 See \`config.log' for more details." >&5
14533 echo "$as_me: error: cannot compute sizeof (short), 77
14534 See \`config.log' for more details." >&2;}
14535 { (exit 1); exit 1; }; }
14537 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14542 ac_cv_sizeof_short
=0
14545 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14546 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14547 cat >>confdefs.h
<<_ACEOF
14548 #define SIZEOF_SHORT $ac_cv_sizeof_short
14552 echo "$as_me:$LINENO: checking for void *" >&5
14553 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14554 if test "${ac_cv_type_void_p+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 cat >conftest.
$ac_ext <<_ACEOF
14558 #line $LINENO "configure"
14561 cat confdefs.h
>>conftest.
$ac_ext
14562 cat >>conftest.
$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564 $ac_includes_default
14570 if (sizeof (void *))
14576 rm -f conftest.
$ac_objext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14578 (eval $ac_compile) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } &&
14582 { ac_try
='test -s conftest.$ac_objext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 ac_cv_type_void_p
=yes
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.
$ac_ext >&5
14593 ac_cv_type_void_p
=no
14595 rm -f conftest.
$ac_objext conftest.
$ac_ext
14597 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14598 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14600 echo "$as_me:$LINENO: checking size of void *" >&5
14601 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14602 if test "${ac_cv_sizeof_void_p+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 if test "$ac_cv_type_void_p" = yes; then
14606 # The cast to unsigned long works around a bug in the HP C Compiler
14607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14609 # This bug is HP SR number 8606223364.
14610 if test "$cross_compiling" = yes; then
14611 # Depending upon the size, compute the lo and hi bounds.
14612 cat >conftest.
$ac_ext <<_ACEOF
14613 #line $LINENO "configure"
14616 cat confdefs.h
>>conftest.
$ac_ext
14617 cat >>conftest.
$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619 $ac_includes_default
14623 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14630 rm -f conftest.
$ac_objext
14631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14632 (eval $ac_compile) 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try
='test -s conftest.$ac_objext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14644 cat >conftest.
$ac_ext <<_ACEOF
14645 #line $LINENO "configure"
14648 cat confdefs.h
>>conftest.
$ac_ext
14649 cat >>conftest.
$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14651 $ac_includes_default
14655 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14662 rm -f conftest.
$ac_objext
14663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14664 (eval $ac_compile) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try
='test -s conftest.$ac_objext'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; }; then
14674 ac_hi
=$ac_mid; break
14676 echo "$as_me: failed program was:" >&5
14677 sed 's/^/| /' conftest.
$ac_ext >&5
14679 ac_lo
=`expr $ac_mid + 1`
14680 if test $ac_lo -le $ac_mid; then
14684 ac_mid
=`expr 2 '*' $ac_mid + 1`
14686 rm -f conftest.
$ac_objext conftest.
$ac_ext
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.
$ac_ext >&5
14692 cat >conftest.
$ac_ext <<_ACEOF
14693 #line $LINENO "configure"
14696 cat confdefs.h
>>conftest.
$ac_ext
14697 cat >>conftest.
$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14699 $ac_includes_default
14703 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14710 rm -f conftest.
$ac_objext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14712 (eval $ac_compile) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try
='test -s conftest.$ac_objext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14724 cat >conftest.
$ac_ext <<_ACEOF
14725 #line $LINENO "configure"
14728 cat confdefs.h
>>conftest.
$ac_ext
14729 cat >>conftest.
$ac_ext <<_ACEOF
14730 /* end confdefs.h. */
14731 $ac_includes_default
14735 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14742 rm -f conftest.
$ac_objext
14743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14744 (eval $ac_compile) 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } &&
14748 { ac_try
='test -s conftest.$ac_objext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_lo
=$ac_mid; break
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.
$ac_ext >&5
14759 ac_hi
=`expr '(' $ac_mid ')' - 1`
14760 if test $ac_mid -le $ac_hi; then
14764 ac_mid
=`expr 2 '*' $ac_mid`
14766 rm -f conftest.
$ac_objext conftest.
$ac_ext
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14774 rm -f conftest.
$ac_objext conftest.
$ac_ext
14776 rm -f conftest.
$ac_objext conftest.
$ac_ext
14777 # Binary search between lo and hi bounds.
14778 while test "x$ac_lo" != "x$ac_hi"; do
14779 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14780 cat >conftest.
$ac_ext <<_ACEOF
14781 #line $LINENO "configure"
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787 $ac_includes_default
14791 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14798 rm -f conftest.
$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } &&
14804 { ac_try
='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.
$ac_ext >&5
14815 ac_lo
=`expr '(' $ac_mid ')' + 1`
14817 rm -f conftest.
$ac_objext conftest.
$ac_ext
14820 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14822 See \`config.log' for more details." >&5
14823 echo "$as_me: error: cannot compute sizeof (void *), 77
14824 See \`config.log' for more details." >&2;}
14825 { (exit 1); exit 1; }; } ;;
14828 if test "$cross_compiling" = yes; then
14829 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14830 See \`config.log' for more details." >&5
14831 echo "$as_me: error: cannot run test program while cross compiling
14832 See \`config.log' for more details." >&2;}
14833 { (exit 1); exit 1; }; }
14835 cat >conftest.
$ac_ext <<_ACEOF
14836 #line $LINENO "configure"
14839 cat confdefs.h
>>conftest.
$ac_ext
14840 cat >>conftest.
$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 $ac_includes_default
14843 long longval () { return (long) (sizeof (void *)); }
14844 unsigned long ulongval () { return (long) (sizeof (void *)); }
14846 #include <stdlib.h>
14851 FILE *f = fopen ("conftest.val", "w");
14854 if (((long) (sizeof (void *))) < 0)
14856 long i = longval ();
14857 if (i != ((long) (sizeof (void *))))
14859 fprintf (f, "%ld\n", i);
14863 unsigned long i = ulongval ();
14864 if (i != ((long) (sizeof (void *))))
14866 fprintf (f, "%lu\n", i);
14868 exit (ferror (f) || fclose (f) != 0);
14874 rm -f conftest
$ac_exeext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14876 (eval $ac_link) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_cv_sizeof_void_p
=`cat conftest.val`
14887 echo "$as_me: program exited with status $ac_status" >&5
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.
$ac_ext >&5
14891 ( exit $ac_status )
14892 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14893 See \`config.log' for more details." >&5
14894 echo "$as_me: error: cannot compute sizeof (void *), 77
14895 See \`config.log' for more details." >&2;}
14896 { (exit 1); exit 1; }; }
14898 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14903 ac_cv_sizeof_void_p
=0
14906 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14907 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14908 cat >>confdefs.h
<<_ACEOF
14909 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14913 echo "$as_me:$LINENO: checking for int" >&5
14914 echo $ECHO_N "checking for int... $ECHO_C" >&6
14915 if test "${ac_cv_type_int+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14918 cat >conftest.
$ac_ext <<_ACEOF
14919 #line $LINENO "configure"
14922 cat confdefs.h
>>conftest.
$ac_ext
14923 cat >>conftest.
$ac_ext <<_ACEOF
14924 /* end confdefs.h. */
14925 $ac_includes_default
14937 rm -f conftest.
$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } &&
14943 { ac_try
='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.
$ac_ext >&5
14956 rm -f conftest.
$ac_objext conftest.
$ac_ext
14958 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14959 echo "${ECHO_T}$ac_cv_type_int" >&6
14961 echo "$as_me:$LINENO: checking size of int" >&5
14962 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14963 if test "${ac_cv_sizeof_int+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14966 if test "$ac_cv_type_int" = yes; then
14967 # The cast to unsigned long works around a bug in the HP C Compiler
14968 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14969 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14970 # This bug is HP SR number 8606223364.
14971 if test "$cross_compiling" = yes; then
14972 # Depending upon the size, compute the lo and hi bounds.
14973 cat >conftest.
$ac_ext <<_ACEOF
14974 #line $LINENO "configure"
14977 cat confdefs.h
>>conftest.
$ac_ext
14978 cat >>conftest.
$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980 $ac_includes_default
14984 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14991 rm -f conftest.
$ac_objext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14993 (eval $ac_compile) 2>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } &&
14997 { ac_try
='test -s conftest.$ac_objext'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; }; then
15005 cat >conftest.
$ac_ext <<_ACEOF
15006 #line $LINENO "configure"
15009 cat confdefs.h
>>conftest.
$ac_ext
15010 cat >>conftest.
$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012 $ac_includes_default
15016 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15023 rm -f conftest.
$ac_objext
15024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15025 (eval $ac_compile) 2>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try
='test -s conftest.$ac_objext'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15035 ac_hi
=$ac_mid; break
15037 echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.
$ac_ext >&5
15040 ac_lo
=`expr $ac_mid + 1`
15041 if test $ac_lo -le $ac_mid; then
15045 ac_mid
=`expr 2 '*' $ac_mid + 1`
15047 rm -f conftest.
$ac_objext conftest.
$ac_ext
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.
$ac_ext >&5
15053 cat >conftest.
$ac_ext <<_ACEOF
15054 #line $LINENO "configure"
15057 cat confdefs.h
>>conftest.
$ac_ext
15058 cat >>conftest.
$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060 $ac_includes_default
15064 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15071 rm -f conftest.
$ac_objext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073 (eval $ac_compile) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } &&
15077 { ac_try
='test -s conftest.$ac_objext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15085 cat >conftest.
$ac_ext <<_ACEOF
15086 #line $LINENO "configure"
15089 cat confdefs.h
>>conftest.
$ac_ext
15090 cat >>conftest.
$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15092 $ac_includes_default
15096 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15103 rm -f conftest.
$ac_objext
15104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15105 (eval $ac_compile) 2>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } &&
15109 { ac_try
='test -s conftest.$ac_objext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_lo
=$ac_mid; break
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.
$ac_ext >&5
15120 ac_hi
=`expr '(' $ac_mid ')' - 1`
15121 if test $ac_mid -le $ac_hi; then
15125 ac_mid
=`expr 2 '*' $ac_mid`
15127 rm -f conftest.
$ac_objext conftest.
$ac_ext
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.
$ac_ext >&5
15135 rm -f conftest.
$ac_objext conftest.
$ac_ext
15137 rm -f conftest.
$ac_objext conftest.
$ac_ext
15138 # Binary search between lo and hi bounds.
15139 while test "x$ac_lo" != "x$ac_hi"; do
15140 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15141 cat >conftest.
$ac_ext <<_ACEOF
15142 #line $LINENO "configure"
15145 cat confdefs.h
>>conftest.
$ac_ext
15146 cat >>conftest.
$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15152 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15159 rm -f conftest.
$ac_objext
15160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15161 (eval $ac_compile) 2>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } &&
15165 { ac_try
='test -s conftest.$ac_objext'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; }; then
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.
$ac_ext >&5
15176 ac_lo
=`expr '(' $ac_mid ')' + 1`
15178 rm -f conftest.
$ac_objext conftest.
$ac_ext
15181 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15182 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15183 See \`config.log' for more details." >&5
15184 echo "$as_me: error: cannot compute sizeof (int), 77
15185 See \`config.log' for more details." >&2;}
15186 { (exit 1); exit 1; }; } ;;
15189 if test "$cross_compiling" = yes; then
15190 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15191 See \`config.log' for more details." >&5
15192 echo "$as_me: error: cannot run test program while cross compiling
15193 See \`config.log' for more details." >&2;}
15194 { (exit 1); exit 1; }; }
15196 cat >conftest.
$ac_ext <<_ACEOF
15197 #line $LINENO "configure"
15200 cat confdefs.h
>>conftest.
$ac_ext
15201 cat >>conftest.
$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 $ac_includes_default
15204 long longval () { return (long) (sizeof (int)); }
15205 unsigned long ulongval () { return (long) (sizeof (int)); }
15207 #include <stdlib.h>
15212 FILE *f = fopen ("conftest.val", "w");
15215 if (((long) (sizeof (int))) < 0)
15217 long i = longval ();
15218 if (i != ((long) (sizeof (int))))
15220 fprintf (f, "%ld\n", i);
15224 unsigned long i = ulongval ();
15225 if (i != ((long) (sizeof (int))))
15227 fprintf (f, "%lu\n", i);
15229 exit (ferror (f) || fclose (f) != 0);
15235 rm -f conftest
$ac_exeext
15236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15237 (eval $ac_link) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 ac_cv_sizeof_int
=`cat conftest.val`
15248 echo "$as_me: program exited with status $ac_status" >&5
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.
$ac_ext >&5
15252 ( exit $ac_status )
15253 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15254 See \`config.log' for more details." >&5
15255 echo "$as_me: error: cannot compute sizeof (int), 77
15256 See \`config.log' for more details." >&2;}
15257 { (exit 1); exit 1; }; }
15259 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15267 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15268 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15269 cat >>confdefs.h
<<_ACEOF
15270 #define SIZEOF_INT $ac_cv_sizeof_int
15274 echo "$as_me:$LINENO: checking for long" >&5
15275 echo $ECHO_N "checking for long... $ECHO_C" >&6
15276 if test "${ac_cv_type_long+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 cat >conftest.
$ac_ext <<_ACEOF
15280 #line $LINENO "configure"
15283 cat confdefs.h
>>conftest.
$ac_ext
15284 cat >>conftest.
$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 $ac_includes_default
15298 rm -f conftest.
$ac_objext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300 (eval $ac_compile) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } &&
15304 { ac_try
='test -s conftest.$ac_objext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15310 ac_cv_type_long
=yes
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15317 rm -f conftest.
$ac_objext conftest.
$ac_ext
15319 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15320 echo "${ECHO_T}$ac_cv_type_long" >&6
15322 echo "$as_me:$LINENO: checking size of long" >&5
15323 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15324 if test "${ac_cv_sizeof_long+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 if test "$ac_cv_type_long" = yes; then
15328 # The cast to unsigned long works around a bug in the HP C Compiler
15329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15331 # This bug is HP SR number 8606223364.
15332 if test "$cross_compiling" = yes; then
15333 # Depending upon the size, compute the lo and hi bounds.
15334 cat >conftest.
$ac_ext <<_ACEOF
15335 #line $LINENO "configure"
15338 cat confdefs.h
>>conftest.
$ac_ext
15339 cat >>conftest.
$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341 $ac_includes_default
15345 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15352 rm -f conftest.
$ac_objext
15353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15354 (eval $ac_compile) 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } &&
15358 { ac_try
='test -s conftest.$ac_objext'
15359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 (eval $ac_try) 2>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; }; then
15366 cat >conftest.
$ac_ext <<_ACEOF
15367 #line $LINENO "configure"
15370 cat confdefs.h
>>conftest.
$ac_ext
15371 cat >>conftest.
$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15373 $ac_includes_default
15377 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15384 rm -f conftest.
$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } &&
15390 { ac_try
='test -s conftest.$ac_objext'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; }; then
15396 ac_hi
=$ac_mid; break
15398 echo "$as_me: failed program was:" >&5
15399 sed 's/^/| /' conftest.
$ac_ext >&5
15401 ac_lo
=`expr $ac_mid + 1`
15402 if test $ac_lo -le $ac_mid; then
15406 ac_mid
=`expr 2 '*' $ac_mid + 1`
15408 rm -f conftest.
$ac_objext conftest.
$ac_ext
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.
$ac_ext >&5
15414 cat >conftest.
$ac_ext <<_ACEOF
15415 #line $LINENO "configure"
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15421 $ac_includes_default
15425 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15432 rm -f conftest.
$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try
='test -s conftest.$ac_objext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15446 cat >conftest.
$ac_ext <<_ACEOF
15447 #line $LINENO "configure"
15450 cat confdefs.h
>>conftest.
$ac_ext
15451 cat >>conftest.
$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453 $ac_includes_default
15457 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15464 rm -f conftest.
$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } &&
15470 { ac_try
='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_lo
=$ac_mid; break
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15481 ac_hi
=`expr '(' $ac_mid ')' - 1`
15482 if test $ac_mid -le $ac_hi; then
15486 ac_mid
=`expr 2 '*' $ac_mid`
15488 rm -f conftest.
$ac_objext conftest.
$ac_ext
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.
$ac_ext >&5
15496 rm -f conftest.
$ac_objext conftest.
$ac_ext
15498 rm -f conftest.
$ac_objext conftest.
$ac_ext
15499 # Binary search between lo and hi bounds.
15500 while test "x$ac_lo" != "x$ac_hi"; do
15501 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15502 cat >conftest.
$ac_ext <<_ACEOF
15503 #line $LINENO "configure"
15506 cat confdefs.h
>>conftest.
$ac_ext
15507 cat >>conftest.
$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509 $ac_includes_default
15513 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15520 rm -f conftest.
$ac_objext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try
='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.
$ac_ext >&5
15537 ac_lo
=`expr '(' $ac_mid ')' + 1`
15539 rm -f conftest.
$ac_objext conftest.
$ac_ext
15542 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15543 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15544 See \`config.log' for more details." >&5
15545 echo "$as_me: error: cannot compute sizeof (long), 77
15546 See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; } ;;
15550 if test "$cross_compiling" = yes; then
15551 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15552 See \`config.log' for more details." >&5
15553 echo "$as_me: error: cannot run test program while cross compiling
15554 See \`config.log' for more details." >&2;}
15555 { (exit 1); exit 1; }; }
15557 cat >conftest.
$ac_ext <<_ACEOF
15558 #line $LINENO "configure"
15561 cat confdefs.h
>>conftest.
$ac_ext
15562 cat >>conftest.
$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15564 $ac_includes_default
15565 long longval () { return (long) (sizeof (long)); }
15566 unsigned long ulongval () { return (long) (sizeof (long)); }
15568 #include <stdlib.h>
15573 FILE *f = fopen ("conftest.val", "w");
15576 if (((long) (sizeof (long))) < 0)
15578 long i = longval ();
15579 if (i != ((long) (sizeof (long))))
15581 fprintf (f, "%ld\n", i);
15585 unsigned long i = ulongval ();
15586 if (i != ((long) (sizeof (long))))
15588 fprintf (f, "%lu\n", i);
15590 exit (ferror (f) || fclose (f) != 0);
15596 rm -f conftest
$ac_exeext
15597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15598 (eval $ac_link) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then
15607 ac_cv_sizeof_long
=`cat conftest.val`
15609 echo "$as_me: program exited with status $ac_status" >&5
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.
$ac_ext >&5
15613 ( exit $ac_status )
15614 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15615 See \`config.log' for more details." >&5
15616 echo "$as_me: error: cannot compute sizeof (long), 77
15617 See \`config.log' for more details." >&2;}
15618 { (exit 1); exit 1; }; }
15620 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15625 ac_cv_sizeof_long
=0
15628 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15629 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15630 cat >>confdefs.h
<<_ACEOF
15631 #define SIZEOF_LONG $ac_cv_sizeof_long
15635 echo "$as_me:$LINENO: checking for size_t" >&5
15636 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15637 if test "${ac_cv_type_size_t+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 cat >conftest.
$ac_ext <<_ACEOF
15641 #line $LINENO "configure"
15644 cat confdefs.h
>>conftest.
$ac_ext
15645 cat >>conftest.
$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 $ac_includes_default
15653 if (sizeof (size_t))
15659 rm -f conftest.
$ac_objext
15660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15661 (eval $ac_compile) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } &&
15665 { ac_try
='test -s conftest.$ac_objext'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; }; then
15671 ac_cv_type_size_t
=yes
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.
$ac_ext >&5
15676 ac_cv_type_size_t
=no
15678 rm -f conftest.
$ac_objext conftest.
$ac_ext
15680 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15681 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15683 echo "$as_me:$LINENO: checking size of size_t" >&5
15684 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
15685 if test "${ac_cv_sizeof_size_t+set}" = set; then
15686 echo $ECHO_N "(cached) $ECHO_C" >&6
15688 if test "$ac_cv_type_size_t" = yes; then
15689 # The cast to unsigned long works around a bug in the HP C Compiler
15690 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15691 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15692 # This bug is HP SR number 8606223364.
15693 if test "$cross_compiling" = yes; then
15694 # Depending upon the size, compute the lo and hi bounds.
15695 cat >conftest.
$ac_ext <<_ACEOF
15696 #line $LINENO "configure"
15699 cat confdefs.h
>>conftest.
$ac_ext
15700 cat >>conftest.
$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15702 $ac_includes_default
15706 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
15713 rm -f conftest.
$ac_objext
15714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15715 (eval $ac_compile) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try
='test -s conftest.$ac_objext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15727 cat >conftest.
$ac_ext <<_ACEOF
15728 #line $LINENO "configure"
15731 cat confdefs.h
>>conftest.
$ac_ext
15732 cat >>conftest.
$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 $ac_includes_default
15738 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15745 rm -f conftest.
$ac_objext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try
='test -s conftest.$ac_objext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15757 ac_hi
=$ac_mid; break
15759 echo "$as_me: failed program was:" >&5
15760 sed 's/^/| /' conftest.
$ac_ext >&5
15762 ac_lo
=`expr $ac_mid + 1`
15763 if test $ac_lo -le $ac_mid; then
15767 ac_mid
=`expr 2 '*' $ac_mid + 1`
15769 rm -f conftest.
$ac_objext conftest.
$ac_ext
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.
$ac_ext >&5
15775 cat >conftest.
$ac_ext <<_ACEOF
15776 #line $LINENO "configure"
15779 cat confdefs.h
>>conftest.
$ac_ext
15780 cat >>conftest.
$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15782 $ac_includes_default
15786 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
15793 rm -f conftest.
$ac_objext
15794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15795 (eval $ac_compile) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } &&
15799 { ac_try
='test -s conftest.$ac_objext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15807 cat >conftest.
$ac_ext <<_ACEOF
15808 #line $LINENO "configure"
15811 cat confdefs.h
>>conftest.
$ac_ext
15812 cat >>conftest.
$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15814 $ac_includes_default
15818 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
15825 rm -f conftest.
$ac_objext
15826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15827 (eval $ac_compile) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } &&
15831 { ac_try
='test -s conftest.$ac_objext'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; }; then
15837 ac_lo
=$ac_mid; break
15839 echo "$as_me: failed program was:" >&5
15840 sed 's/^/| /' conftest.
$ac_ext >&5
15842 ac_hi
=`expr '(' $ac_mid ')' - 1`
15843 if test $ac_mid -le $ac_hi; then
15847 ac_mid
=`expr 2 '*' $ac_mid`
15849 rm -f conftest.
$ac_objext conftest.
$ac_ext
15852 echo "$as_me: failed program was:" >&5
15853 sed 's/^/| /' conftest.
$ac_ext >&5
15857 rm -f conftest.
$ac_objext conftest.
$ac_ext
15859 rm -f conftest.
$ac_objext conftest.
$ac_ext
15860 # Binary search between lo and hi bounds.
15861 while test "x$ac_lo" != "x$ac_hi"; do
15862 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15863 cat >conftest.
$ac_ext <<_ACEOF
15864 #line $LINENO "configure"
15867 cat confdefs.h
>>conftest.
$ac_ext
15868 cat >>conftest.
$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870 $ac_includes_default
15874 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15881 rm -f conftest.
$ac_objext
15882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15883 (eval $ac_compile) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } &&
15887 { ac_try
='test -s conftest.$ac_objext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.
$ac_ext >&5
15898 ac_lo
=`expr '(' $ac_mid ')' + 1`
15900 rm -f conftest.
$ac_objext conftest.
$ac_ext
15903 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
15904 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
15905 See \`config.log' for more details." >&5
15906 echo "$as_me: error: cannot compute sizeof (size_t), 77
15907 See \`config.log' for more details." >&2;}
15908 { (exit 1); exit 1; }; } ;;
15911 if test "$cross_compiling" = yes; then
15912 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15913 See \`config.log' for more details." >&5
15914 echo "$as_me: error: cannot run test program while cross compiling
15915 See \`config.log' for more details." >&2;}
15916 { (exit 1); exit 1; }; }
15918 cat >conftest.
$ac_ext <<_ACEOF
15919 #line $LINENO "configure"
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 $ac_includes_default
15926 long longval () { return (long) (sizeof (size_t)); }
15927 unsigned long ulongval () { return (long) (sizeof (size_t)); }
15929 #include <stdlib.h>
15934 FILE *f = fopen ("conftest.val", "w");
15937 if (((long) (sizeof (size_t))) < 0)
15939 long i = longval ();
15940 if (i != ((long) (sizeof (size_t))))
15942 fprintf (f, "%ld\n", i);
15946 unsigned long i = ulongval ();
15947 if (i != ((long) (sizeof (size_t))))
15949 fprintf (f, "%lu\n", i);
15951 exit (ferror (f) || fclose (f) != 0);
15957 rm -f conftest
$ac_exeext
15958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15959 (eval $ac_link) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; }; then
15968 ac_cv_sizeof_size_t
=`cat conftest.val`
15970 echo "$as_me: program exited with status $ac_status" >&5
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15974 ( exit $ac_status )
15975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
15976 See \`config.log' for more details." >&5
15977 echo "$as_me: error: cannot compute sizeof (size_t), 77
15978 See \`config.log' for more details." >&2;}
15979 { (exit 1); exit 1; }; }
15981 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15986 ac_cv_sizeof_size_t
=0
15989 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
15990 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
15991 cat >>confdefs.h
<<_ACEOF
15992 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
15999 echo "$as_me:$LINENO: checking for long long" >&5
16000 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16001 if test "${ac_cv_type_long_long+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 cat >conftest.
$ac_ext <<_ACEOF
16005 #line $LINENO "configure"
16008 cat confdefs.h
>>conftest.
$ac_ext
16009 cat >>conftest.
$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 $ac_includes_default
16015 if ((long long *) 0)
16017 if (sizeof (long long))
16023 rm -f conftest.
$ac_objext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16025 (eval $ac_compile) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try
='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_type_long_long
=yes
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.
$ac_ext >&5
16040 ac_cv_type_long_long
=no
16042 rm -f conftest.
$ac_objext conftest.
$ac_ext
16044 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16045 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16047 echo "$as_me:$LINENO: checking size of long long" >&5
16048 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16049 if test "${ac_cv_sizeof_long_long+set}" = set; then
16050 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 if test "$ac_cv_type_long_long" = yes; then
16053 # The cast to unsigned long works around a bug in the HP C Compiler
16054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16056 # This bug is HP SR number 8606223364.
16057 if test "$cross_compiling" = yes; then
16058 # Depending upon the size, compute the lo and hi bounds.
16059 cat >conftest.
$ac_ext <<_ACEOF
16060 #line $LINENO "configure"
16063 cat confdefs.h
>>conftest.
$ac_ext
16064 cat >>conftest.
$ac_ext <<_ACEOF
16065 /* end confdefs.h. */
16066 $ac_includes_default
16070 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16077 rm -f conftest.
$ac_objext
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try
='test -s conftest.$ac_objext'
16084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16085 (eval $ac_try) 2>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); }; }; then
16091 cat >conftest.
$ac_ext <<_ACEOF
16092 #line $LINENO "configure"
16095 cat confdefs.h
>>conftest.
$ac_ext
16096 cat >>conftest.
$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 $ac_includes_default
16102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16109 rm -f conftest.
$ac_objext
16110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16111 (eval $ac_compile) 2>&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try
='test -s conftest.$ac_objext'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; }; then
16121 ac_hi
=$ac_mid; break
16123 echo "$as_me: failed program was:" >&5
16124 sed 's/^/| /' conftest.
$ac_ext >&5
16126 ac_lo
=`expr $ac_mid + 1`
16127 if test $ac_lo -le $ac_mid; then
16131 ac_mid
=`expr 2 '*' $ac_mid + 1`
16133 rm -f conftest.
$ac_objext conftest.
$ac_ext
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.
$ac_ext >&5
16139 cat >conftest.
$ac_ext <<_ACEOF
16140 #line $LINENO "configure"
16143 cat confdefs.h
>>conftest.
$ac_ext
16144 cat >>conftest.
$ac_ext <<_ACEOF
16145 /* end confdefs.h. */
16146 $ac_includes_default
16150 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16157 rm -f conftest.
$ac_objext
16158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16159 (eval $ac_compile) 2>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } &&
16163 { ac_try
='test -s conftest.$ac_objext'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16171 cat >conftest.
$ac_ext <<_ACEOF
16172 #line $LINENO "configure"
16175 cat confdefs.h
>>conftest.
$ac_ext
16176 cat >>conftest.
$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178 $ac_includes_default
16182 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16189 rm -f conftest.
$ac_objext
16190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16191 (eval $ac_compile) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); } &&
16195 { ac_try
='test -s conftest.$ac_objext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_lo
=$ac_mid; break
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.
$ac_ext >&5
16206 ac_hi
=`expr '(' $ac_mid ')' - 1`
16207 if test $ac_mid -le $ac_hi; then
16211 ac_mid
=`expr 2 '*' $ac_mid`
16213 rm -f conftest.
$ac_objext conftest.
$ac_ext
16216 echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.
$ac_ext >&5
16221 rm -f conftest.
$ac_objext conftest.
$ac_ext
16223 rm -f conftest.
$ac_objext conftest.
$ac_ext
16224 # Binary search between lo and hi bounds.
16225 while test "x$ac_lo" != "x$ac_hi"; do
16226 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16227 cat >conftest.
$ac_ext <<_ACEOF
16228 #line $LINENO "configure"
16231 cat confdefs.h
>>conftest.
$ac_ext
16232 cat >>conftest.
$ac_ext <<_ACEOF
16233 /* end confdefs.h. */
16234 $ac_includes_default
16238 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16245 rm -f conftest.
$ac_objext
16246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16247 (eval $ac_compile) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try
='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.
$ac_ext >&5
16262 ac_lo
=`expr '(' $ac_mid ')' + 1`
16264 rm -f conftest.
$ac_objext conftest.
$ac_ext
16267 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16268 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16269 See \`config.log' for more details." >&5
16270 echo "$as_me: error: cannot compute sizeof (long long), 77
16271 See \`config.log' for more details." >&2;}
16272 { (exit 1); exit 1; }; } ;;
16275 if test "$cross_compiling" = yes; then
16276 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16277 See \`config.log' for more details." >&5
16278 echo "$as_me: error: cannot run test program while cross compiling
16279 See \`config.log' for more details." >&2;}
16280 { (exit 1); exit 1; }; }
16282 cat >conftest.
$ac_ext <<_ACEOF
16283 #line $LINENO "configure"
16286 cat confdefs.h
>>conftest.
$ac_ext
16287 cat >>conftest.
$ac_ext <<_ACEOF
16288 /* end confdefs.h. */
16289 $ac_includes_default
16290 long longval () { return (long) (sizeof (long long)); }
16291 unsigned long ulongval () { return (long) (sizeof (long long)); }
16293 #include <stdlib.h>
16298 FILE *f = fopen ("conftest.val", "w");
16301 if (((long) (sizeof (long long))) < 0)
16303 long i = longval ();
16304 if (i != ((long) (sizeof (long long))))
16306 fprintf (f, "%ld\n", i);
16310 unsigned long i = ulongval ();
16311 if (i != ((long) (sizeof (long long))))
16313 fprintf (f, "%lu\n", i);
16315 exit (ferror (f) || fclose (f) != 0);
16321 rm -f conftest
$ac_exeext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16323 (eval $ac_link) 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16332 ac_cv_sizeof_long_long
=`cat conftest.val`
16334 echo "$as_me: program exited with status $ac_status" >&5
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.
$ac_ext >&5
16338 ( exit $ac_status )
16339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16340 See \`config.log' for more details." >&5
16341 echo "$as_me: error: cannot compute sizeof (long long), 77
16342 See \`config.log' for more details." >&2;}
16343 { (exit 1); exit 1; }; }
16345 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16350 ac_cv_sizeof_long_long
=0
16353 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16354 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16355 cat >>confdefs.h
<<_ACEOF
16356 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16362 echo "$as_me:$LINENO: checking for long long" >&5
16363 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16364 if test "${ac_cv_type_long_long+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 cat >conftest.
$ac_ext <<_ACEOF
16368 #line $LINENO "configure"
16371 cat confdefs.h
>>conftest.
$ac_ext
16372 cat >>conftest.
$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16374 $ac_includes_default
16378 if ((long long *) 0)
16380 if (sizeof (long long))
16386 rm -f conftest.
$ac_objext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16388 (eval $ac_compile) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } &&
16392 { ac_try
='test -s conftest.$ac_objext'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 ac_cv_type_long_long
=yes
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.
$ac_ext >&5
16403 ac_cv_type_long_long
=no
16405 rm -f conftest.
$ac_objext conftest.
$ac_ext
16407 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16408 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16410 echo "$as_me:$LINENO: checking size of long long" >&5
16411 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16412 if test "${ac_cv_sizeof_long_long+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 if test "$ac_cv_type_long_long" = yes; then
16416 # The cast to unsigned long works around a bug in the HP C Compiler
16417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16419 # This bug is HP SR number 8606223364.
16420 if test "$cross_compiling" = yes; then
16421 # Depending upon the size, compute the lo and hi bounds.
16422 cat >conftest.
$ac_ext <<_ACEOF
16423 #line $LINENO "configure"
16426 cat confdefs.h
>>conftest.
$ac_ext
16427 cat >>conftest.
$ac_ext <<_ACEOF
16428 /* end confdefs.h. */
16429 $ac_includes_default
16433 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16440 rm -f conftest.
$ac_objext
16441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16442 (eval $ac_compile) 2>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try
='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16454 cat >conftest.
$ac_ext <<_ACEOF
16455 #line $LINENO "configure"
16458 cat confdefs.h
>>conftest.
$ac_ext
16459 cat >>conftest.
$ac_ext <<_ACEOF
16460 /* end confdefs.h. */
16461 $ac_includes_default
16465 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16472 rm -f conftest.
$ac_objext
16473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16474 (eval $ac_compile) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try
='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_hi
=$ac_mid; break
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.
$ac_ext >&5
16489 ac_lo
=`expr $ac_mid + 1`
16490 if test $ac_lo -le $ac_mid; then
16494 ac_mid
=`expr 2 '*' $ac_mid + 1`
16496 rm -f conftest.
$ac_objext conftest.
$ac_ext
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.
$ac_ext >&5
16502 cat >conftest.
$ac_ext <<_ACEOF
16503 #line $LINENO "configure"
16506 cat confdefs.h
>>conftest.
$ac_ext
16507 cat >>conftest.
$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 $ac_includes_default
16513 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16520 rm -f conftest.
$ac_objext
16521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16522 (eval $ac_compile) 2>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try
='test -s conftest.$ac_objext'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; }; then
16534 cat >conftest.
$ac_ext <<_ACEOF
16535 #line $LINENO "configure"
16538 cat confdefs.h
>>conftest.
$ac_ext
16539 cat >>conftest.
$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 $ac_includes_default
16545 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16552 rm -f conftest.
$ac_objext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } &&
16558 { ac_try
='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16564 ac_lo
=$ac_mid; break
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 ac_hi
=`expr '(' $ac_mid ')' - 1`
16570 if test $ac_mid -le $ac_hi; then
16574 ac_mid
=`expr 2 '*' $ac_mid`
16576 rm -f conftest.
$ac_objext conftest.
$ac_ext
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.
$ac_ext >&5
16584 rm -f conftest.
$ac_objext conftest.
$ac_ext
16586 rm -f conftest.
$ac_objext conftest.
$ac_ext
16587 # Binary search between lo and hi bounds.
16588 while test "x$ac_lo" != "x$ac_hi"; do
16589 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16590 cat >conftest.
$ac_ext <<_ACEOF
16591 #line $LINENO "configure"
16594 cat confdefs.h
>>conftest.
$ac_ext
16595 cat >>conftest.
$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 $ac_includes_default
16601 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16608 rm -f conftest.
$ac_objext
16609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16610 (eval $ac_compile) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try
='test -s conftest.$ac_objext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.
$ac_ext >&5
16625 ac_lo
=`expr '(' $ac_mid ')' + 1`
16627 rm -f conftest.
$ac_objext conftest.
$ac_ext
16630 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16632 See \`config.log' for more details." >&5
16633 echo "$as_me: error: cannot compute sizeof (long long), 77
16634 See \`config.log' for more details." >&2;}
16635 { (exit 1); exit 1; }; } ;;
16638 if test "$cross_compiling" = yes; then
16639 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16640 See \`config.log' for more details." >&5
16641 echo "$as_me: error: cannot run test program while cross compiling
16642 See \`config.log' for more details." >&2;}
16643 { (exit 1); exit 1; }; }
16645 cat >conftest.
$ac_ext <<_ACEOF
16646 #line $LINENO "configure"
16649 cat confdefs.h
>>conftest.
$ac_ext
16650 cat >>conftest.
$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652 $ac_includes_default
16653 long longval () { return (long) (sizeof (long long)); }
16654 unsigned long ulongval () { return (long) (sizeof (long long)); }
16656 #include <stdlib.h>
16661 FILE *f = fopen ("conftest.val", "w");
16664 if (((long) (sizeof (long long))) < 0)
16666 long i = longval ();
16667 if (i != ((long) (sizeof (long long))))
16669 fprintf (f, "%ld\n", i);
16673 unsigned long i = ulongval ();
16674 if (i != ((long) (sizeof (long long))))
16676 fprintf (f, "%lu\n", i);
16678 exit (ferror (f) || fclose (f) != 0);
16684 rm -f conftest
$ac_exeext
16685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16686 (eval $ac_link) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 ac_cv_sizeof_long_long
=`cat conftest.val`
16697 echo "$as_me: program exited with status $ac_status" >&5
16698 echo "$as_me: failed program was:" >&5
16699 sed 's/^/| /' conftest.
$ac_ext >&5
16701 ( exit $ac_status )
16702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16703 See \`config.log' for more details." >&5
16704 echo "$as_me: error: cannot compute sizeof (long long), 77
16705 See \`config.log' for more details." >&2;}
16706 { (exit 1); exit 1; }; }
16708 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16713 ac_cv_sizeof_long_long
=0
16716 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16717 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16718 cat >>confdefs.h
<<_ACEOF
16719 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16723 if test "$ac_cv_sizeof_long_long" != "0"; then
16724 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16728 echo "$as_me:$LINENO: checking for long long" >&5
16729 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16730 if test "${ac_cv_type_long_long+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 cat >conftest.
$ac_ext <<_ACEOF
16734 #line $LINENO "configure"
16737 cat confdefs.h
>>conftest.
$ac_ext
16738 cat >>conftest.
$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 $ac_includes_default
16744 if ((long long *) 0)
16746 if (sizeof (long long))
16752 rm -f conftest.
$ac_objext
16753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16754 (eval $ac_compile) 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 ac_cv_type_long_long
=yes
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.
$ac_ext >&5
16769 ac_cv_type_long_long
=no
16771 rm -f conftest.
$ac_objext conftest.
$ac_ext
16773 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16774 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16776 echo "$as_me:$LINENO: checking size of long long" >&5
16777 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16778 if test "${ac_cv_sizeof_long_long+set}" = set; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16781 if test "$ac_cv_type_long_long" = yes; then
16782 # The cast to unsigned long works around a bug in the HP C Compiler
16783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16785 # This bug is HP SR number 8606223364.
16786 if test "$cross_compiling" = yes; then
16787 # Depending upon the size, compute the lo and hi bounds.
16788 cat >conftest.
$ac_ext <<_ACEOF
16789 #line $LINENO "configure"
16792 cat confdefs.h
>>conftest.
$ac_ext
16793 cat >>conftest.
$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16799 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16806 rm -f conftest.
$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try
='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16820 cat >conftest.
$ac_ext <<_ACEOF
16821 #line $LINENO "configure"
16824 cat confdefs.h
>>conftest.
$ac_ext
16825 cat >>conftest.
$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16827 $ac_includes_default
16831 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16838 rm -f conftest.
$ac_objext
16839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16840 (eval $ac_compile) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try
='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_hi
=$ac_mid; break
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.
$ac_ext >&5
16855 ac_lo
=`expr $ac_mid + 1`
16856 if test $ac_lo -le $ac_mid; then
16860 ac_mid
=`expr 2 '*' $ac_mid + 1`
16862 rm -f conftest.
$ac_objext conftest.
$ac_ext
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.
$ac_ext >&5
16868 cat >conftest.
$ac_ext <<_ACEOF
16869 #line $LINENO "configure"
16872 cat confdefs.h
>>conftest.
$ac_ext
16873 cat >>conftest.
$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16875 $ac_includes_default
16879 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16886 rm -f conftest.
$ac_objext
16887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16888 (eval $ac_compile) 2>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try
='test -s conftest.$ac_objext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16900 cat >conftest.
$ac_ext <<_ACEOF
16901 #line $LINENO "configure"
16904 cat confdefs.h
>>conftest.
$ac_ext
16905 cat >>conftest.
$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16907 $ac_includes_default
16911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16918 rm -f conftest.
$ac_objext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16920 (eval $ac_compile) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); } &&
16924 { ac_try
='test -s conftest.$ac_objext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_lo
=$ac_mid; break
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.
$ac_ext >&5
16935 ac_hi
=`expr '(' $ac_mid ')' - 1`
16936 if test $ac_mid -le $ac_hi; then
16940 ac_mid
=`expr 2 '*' $ac_mid`
16942 rm -f conftest.
$ac_objext conftest.
$ac_ext
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.
$ac_ext >&5
16950 rm -f conftest.
$ac_objext conftest.
$ac_ext
16952 rm -f conftest.
$ac_objext conftest.
$ac_ext
16953 # Binary search between lo and hi bounds.
16954 while test "x$ac_lo" != "x$ac_hi"; do
16955 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16956 cat >conftest.
$ac_ext <<_ACEOF
16957 #line $LINENO "configure"
16960 cat confdefs.h
>>conftest.
$ac_ext
16961 cat >>conftest.
$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 $ac_includes_default
16967 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16974 rm -f conftest.
$ac_objext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } &&
16980 { ac_try
='test -s conftest.$ac_objext'
16981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982 (eval $ac_try) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); }; }; then
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.
$ac_ext >&5
16991 ac_lo
=`expr '(' $ac_mid ')' + 1`
16993 rm -f conftest.
$ac_objext conftest.
$ac_ext
16996 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16997 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16998 See \`config.log' for more details." >&5
16999 echo "$as_me: error: cannot compute sizeof (long long), 77
17000 See \`config.log' for more details." >&2;}
17001 { (exit 1); exit 1; }; } ;;
17004 if test "$cross_compiling" = yes; then
17005 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17006 See \`config.log' for more details." >&5
17007 echo "$as_me: error: cannot run test program while cross compiling
17008 See \`config.log' for more details." >&2;}
17009 { (exit 1); exit 1; }; }
17011 cat >conftest.
$ac_ext <<_ACEOF
17012 #line $LINENO "configure"
17015 cat confdefs.h
>>conftest.
$ac_ext
17016 cat >>conftest.
$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 $ac_includes_default
17019 long longval () { return (long) (sizeof (long long)); }
17020 unsigned long ulongval () { return (long) (sizeof (long long)); }
17022 #include <stdlib.h>
17027 FILE *f = fopen ("conftest.val", "w");
17030 if (((long) (sizeof (long long))) < 0)
17032 long i = longval ();
17033 if (i != ((long) (sizeof (long long))))
17035 fprintf (f, "%ld\n", i);
17039 unsigned long i = ulongval ();
17040 if (i != ((long) (sizeof (long long))))
17042 fprintf (f, "%lu\n", i);
17044 exit (ferror (f) || fclose (f) != 0);
17050 rm -f conftest
$ac_exeext
17051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17052 (eval $ac_link) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; }; then
17061 ac_cv_sizeof_long_long
=`cat conftest.val`
17063 echo "$as_me: program exited with status $ac_status" >&5
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 ( exit $ac_status )
17068 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17069 See \`config.log' for more details." >&5
17070 echo "$as_me: error: cannot compute sizeof (long long), 77
17071 See \`config.log' for more details." >&2;}
17072 { (exit 1); exit 1; }; }
17074 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17079 ac_cv_sizeof_long_long
=0
17082 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17083 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17084 cat >>confdefs.h
<<_ACEOF
17085 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17091 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17092 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17093 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17094 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 if test "$cross_compiling" = yes; then
17101 wx_cv_sizeof_wchar_t
=0
17104 wx_cv_sizeof_wchar_t
=4
17110 cat >conftest.
$ac_ext <<_ACEOF
17111 #line $LINENO "configure"
17114 cat confdefs.h
>>conftest.
$ac_ext
17115 cat >>conftest.
$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17118 /* DJGPP only has fake wchar_t: */
17120 # error "fake wchar_t"
17122 #ifdef HAVE_WCHAR_H
17124 # include <stddef.h>
17126 # include <wchar.h>
17128 #ifdef HAVE_STDLIB_H
17129 # include <stdlib.h>
17134 FILE *f=fopen("conftestval", "w");
17136 fprintf(f, "%i", sizeof(wchar_t));
17141 rm -f conftest
$ac_exeext
17142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17143 (eval $ac_link) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; }; then
17152 wx_cv_sizeof_wchar_t
=`cat conftestval`
17154 echo "$as_me: program exited with status $ac_status" >&5
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 ( exit $ac_status )
17159 wx_cv_sizeof_wchar_t
=0
17161 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17165 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17166 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17168 cat >>confdefs.h
<<_ACEOF
17169 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17173 # Check whether --enable-largefile or --disable-largefile was given.
17174 if test "${enable_largefile+set}" = set; then
17175 enableval
="$enable_largefile"
17178 if test "$enable_largefile" != no
; then
17181 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17182 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17183 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 cat >conftest.
$ac_ext <<_ACEOF
17188 #line $LINENO "configure"
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 #define _FILE_OFFSET_BITS 64
17195 #include <sys/types.h>
17200 unsigned int field: sizeof(off_t) == 8;
17207 rm -f conftest.
$ac_objext
17208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17209 (eval $ac_compile) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } &&
17213 { ac_try
='test -s conftest.$ac_objext'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17219 ac_cv_sys_file_offset_bits
=64
17221 echo "$as_me: failed program was:" >&5
17222 sed 's/^/| /' conftest.
$ac_ext >&5
17224 ac_cv_sys_file_offset_bits
=no
17226 rm -f conftest.
$ac_objext conftest.
$ac_ext
17230 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17231 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17233 if test "$ac_cv_sys_file_offset_bits" != no
; then
17235 cat >>confdefs.h
<<_ACEOF
17236 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17241 if test "x$wx_largefile" != "xyes"; then
17243 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17244 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17245 if test "${ac_cv_sys_large_files+set}" = set; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 cat >conftest.
$ac_ext <<_ACEOF
17250 #line $LINENO "configure"
17253 cat confdefs.h
>>conftest.
$ac_ext
17254 cat >>conftest.
$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17256 #define _LARGE_FILES 1
17257 #include <sys/types.h>
17262 unsigned int field: sizeof(off_t) == 8;
17269 rm -f conftest.
$ac_objext
17270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17271 (eval $ac_compile) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try
='test -s conftest.$ac_objext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 ac_cv_sys_large_files
=1
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.
$ac_ext >&5
17286 ac_cv_sys_large_files
=no
17288 rm -f conftest.
$ac_objext conftest.
$ac_ext
17292 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17293 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17295 if test "$ac_cv_sys_large_files" != no
; then
17297 cat >>confdefs.h
<<_ACEOF
17298 #define _LARGE_FILES $ac_cv_sys_large_files
17305 echo "$as_me:$LINENO: checking if large file support is available" >&5
17306 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17307 if test "x$wx_largefile" = "xyes"; then
17308 cat >>confdefs.h
<<\_ACEOF
17309 #define HAVE_LARGEFILE_SUPPORT 1
17313 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17314 echo "${ECHO_T}$wx_largefile" >&6
17318 if test "x$wx_largefile" = "xyes"; then
17319 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17320 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17322 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
17324 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17327 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17328 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17329 if test "${ac_cv_c_bigendian+set}" = set; then
17330 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 ac_cv_c_bigendian
=unknown
17333 # See if sys/param.h defines the BYTE_ORDER macro.
17334 cat >conftest.
$ac_ext <<_ACEOF
17335 #line $LINENO "configure"
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 #include <sys/types.h>
17342 #include <sys/param.h>
17347 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17348 bogus endian macros
17354 rm -f conftest.
$ac_objext
17355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try
='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 # It does; now see whether it defined to BIG_ENDIAN or not.
17367 cat >conftest.
$ac_ext <<_ACEOF
17368 #line $LINENO "configure"
17371 cat confdefs.h
>>conftest.
$ac_ext
17372 cat >>conftest.
$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 #include <sys/types.h>
17375 #include <sys/param.h>
17380 #if BYTE_ORDER != BIG_ENDIAN
17387 rm -f conftest.
$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try
='test -s conftest.$ac_objext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 ac_cv_c_bigendian
=yes
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.
$ac_ext >&5
17404 ac_cv_c_bigendian
=no
17406 rm -f conftest.
$ac_objext conftest.
$ac_ext
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.
$ac_ext >&5
17412 rm -f conftest.
$ac_objext conftest.
$ac_ext
17413 if test $ac_cv_c_bigendian = unknown
; then
17414 if test "$cross_compiling" = yes; then
17415 ac_cv_c_bigendian
=unknown
17417 cat >conftest.
$ac_ext <<_ACEOF
17418 #line $LINENO "configure"
17421 cat confdefs.h
>>conftest.
$ac_ext
17422 cat >>conftest.
$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17425 /* Are we little or big endian? From Harbison&Steele. */
17429 char c[sizeof (long)];
17432 exit (u.c[sizeof (long) - 1] == 1);
17435 rm -f conftest
$ac_exeext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17437 (eval $ac_link) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_c_bigendian
=no
17448 echo "$as_me: program exited with status $ac_status" >&5
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ( exit $ac_status )
17453 ac_cv_c_bigendian
=yes
17455 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17459 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17460 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17461 if test $ac_cv_c_bigendian = unknown
; then
17462 { 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
17463 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;}
17465 if test $ac_cv_c_bigendian = yes; then
17466 cat >>confdefs.h
<<\_ACEOF
17467 #define WORDS_BIGENDIAN 1
17474 ac_cpp
='$CXXCPP $CPPFLAGS'
17475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17478 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17479 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17480 if test -z "$CXXCPP"; then
17481 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 # Double quotes because CXXCPP needs to be expanded
17485 for CXXCPP
in "$CXX -E" "/lib/cpp"
17487 ac_preproc_ok
=false
17488 for ac_cxx_preproc_warn_flag
in '' yes
17490 # Use a header file that comes with gcc, so configuring glibc
17491 # with a fresh cross-compiler works.
17492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17493 # <limits.h> exists even on freestanding compilers.
17494 # On the NeXT, cc -E runs the code through the compiler's parser,
17495 # not just through cpp. "Syntax error" is here to catch this case.
17496 cat >conftest.
$ac_ext <<_ACEOF
17497 #line $LINENO "configure"
17500 cat confdefs.h
>>conftest.
$ac_ext
17501 cat >>conftest.
$ac_ext <<_ACEOF
17502 /* end confdefs.h. */
17504 # include <limits.h>
17506 # include <assert.h>
17510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17513 grep -v '^ *+' conftest.er1
>conftest.err
17515 cat conftest.err
>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } >/dev
/null
; then
17518 if test -s conftest.err
; then
17519 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17526 if test -z "$ac_cpp_err"; then
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.
$ac_ext >&5
17532 # Broken: fails on valid input.
17535 rm -f conftest.err conftest.
$ac_ext
17537 # OK, works on sane cases. Now check whether non-existent headers
17538 # can be detected and how.
17539 cat >conftest.
$ac_ext <<_ACEOF
17540 #line $LINENO "configure"
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 #include <ac_nonexistent.h>
17548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17551 grep -v '^ *+' conftest.er1
>conftest.err
17553 cat conftest.err
>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } >/dev
/null
; then
17556 if test -s conftest.err
; then
17557 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17564 if test -z "$ac_cpp_err"; then
17565 # Broken: success on invalid input.
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.
$ac_ext >&5
17571 # Passes both tests.
17575 rm -f conftest.err conftest.
$ac_ext
17578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17579 rm -f conftest.err conftest.
$ac_ext
17580 if $ac_preproc_ok; then
17585 ac_cv_prog_CXXCPP
=$CXXCPP
17588 CXXCPP
=$ac_cv_prog_CXXCPP
17590 ac_cv_prog_CXXCPP
=$CXXCPP
17592 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17593 echo "${ECHO_T}$CXXCPP" >&6
17594 ac_preproc_ok
=false
17595 for ac_cxx_preproc_warn_flag
in '' yes
17597 # Use a header file that comes with gcc, so configuring glibc
17598 # with a fresh cross-compiler works.
17599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17600 # <limits.h> exists even on freestanding compilers.
17601 # On the NeXT, cc -E runs the code through the compiler's parser,
17602 # not just through cpp. "Syntax error" is here to catch this case.
17603 cat >conftest.
$ac_ext <<_ACEOF
17604 #line $LINENO "configure"
17607 cat confdefs.h
>>conftest.
$ac_ext
17608 cat >>conftest.
$ac_ext <<_ACEOF
17609 /* end confdefs.h. */
17611 # include <limits.h>
17613 # include <assert.h>
17617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17618 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17620 grep -v '^ *+' conftest.er1
>conftest.err
17622 cat conftest.err
>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } >/dev
/null
; then
17625 if test -s conftest.err
; then
17626 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17633 if test -z "$ac_cpp_err"; then
17636 echo "$as_me: failed program was:" >&5
17637 sed 's/^/| /' conftest.
$ac_ext >&5
17639 # Broken: fails on valid input.
17642 rm -f conftest.err conftest.
$ac_ext
17644 # OK, works on sane cases. Now check whether non-existent headers
17645 # can be detected and how.
17646 cat >conftest.
$ac_ext <<_ACEOF
17647 #line $LINENO "configure"
17650 cat confdefs.h
>>conftest.
$ac_ext
17651 cat >>conftest.
$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17653 #include <ac_nonexistent.h>
17655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17658 grep -v '^ *+' conftest.er1
>conftest.err
17660 cat conftest.err
>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } >/dev
/null
; then
17663 if test -s conftest.err
; then
17664 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17671 if test -z "$ac_cpp_err"; then
17672 # Broken: success on invalid input.
17675 echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.
$ac_ext >&5
17678 # Passes both tests.
17682 rm -f conftest.err conftest.
$ac_ext
17685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17686 rm -f conftest.err conftest.
$ac_ext
17687 if $ac_preproc_ok; then
17690 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17691 See \`config.log' for more details." >&5
17692 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17693 See \`config.log' for more details." >&2;}
17694 { (exit 1); exit 1; }; }
17698 ac_cpp
='$CXXCPP $CPPFLAGS'
17699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17705 if test "$cross_compiling" = "yes"; then
17706 cat >>confdefs.h
<<\_ACEOF
17707 #define wxUSE_IOSTREAMH 1
17714 ac_cpp
='$CXXCPP $CPPFLAGS'
17715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17721 for ac_header
in iostream
17723 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17725 echo "$as_me:$LINENO: checking for $ac_header" >&5
17726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17733 # Is the header compilable?
17734 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17736 cat >conftest.
$ac_ext <<_ACEOF
17737 #line $LINENO "configure"
17740 cat confdefs.h
>>conftest.
$ac_ext
17741 cat >>conftest.
$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17743 $ac_includes_default
17744 #include <$ac_header>
17746 rm -f conftest.
$ac_objext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748 (eval $ac_compile) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } &&
17752 { ac_try
='test -s conftest.$ac_objext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_header_compiler
=yes
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.
$ac_ext >&5
17763 ac_header_compiler
=no
17765 rm -f conftest.
$ac_objext conftest.
$ac_ext
17766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17767 echo "${ECHO_T}$ac_header_compiler" >&6
17769 # Is the header present?
17770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17772 cat >conftest.
$ac_ext <<_ACEOF
17773 #line $LINENO "configure"
17776 cat confdefs.h
>>conftest.
$ac_ext
17777 cat >>conftest.
$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17779 #include <$ac_header>
17781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17784 grep -v '^ *+' conftest.er1
>conftest.err
17786 cat conftest.err
>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } >/dev
/null
; then
17789 if test -s conftest.err
; then
17790 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17797 if test -z "$ac_cpp_err"; then
17798 ac_header_preproc
=yes
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.
$ac_ext >&5
17803 ac_header_preproc
=no
17805 rm -f conftest.err conftest.
$ac_ext
17806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17807 echo "${ECHO_T}$ac_header_preproc" >&6
17809 # So? What about this header?
17810 case $ac_header_compiler:$ac_header_preproc in
17812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17818 ## ------------------------------------ ##
17819 ## Report this to bug-autoconf@gnu.org. ##
17820 ## ------------------------------------ ##
17823 sed "s/^/$as_me: WARNING: /" >&2
17826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17834 ## ------------------------------------ ##
17835 ## Report this to bug-autoconf@gnu.org. ##
17836 ## ------------------------------------ ##
17839 sed "s/^/$as_me: WARNING: /" >&2
17842 echo "$as_me:$LINENO: checking for $ac_header" >&5
17843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 eval "$as_ac_Header=$ac_header_preproc"
17849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17854 cat >>confdefs.h
<<_ACEOF
17855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17863 if test "$ac_cv_header_iostream" = "yes" ; then
17866 cat >>confdefs.h
<<\_ACEOF
17867 #define wxUSE_IOSTREAMH 1
17873 ac_cpp
='$CPP $CPPFLAGS'
17874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17882 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17883 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17884 if test "${wx_cv_cpp_bool+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 ac_cpp
='$CXXCPP $CPPFLAGS'
17892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17897 cat >conftest.
$ac_ext <<_ACEOF
17898 #line $LINENO "configure"
17901 cat confdefs.h
>>conftest.
$ac_ext
17902 cat >>conftest.
$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17918 rm -f conftest.
$ac_objext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } &&
17924 { ac_try
='test -s conftest.$ac_objext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.
$ac_ext >&5
17942 rm -f conftest.
$ac_objext conftest.
$ac_ext
17945 ac_cpp
='$CPP $CPPFLAGS'
17946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17952 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17953 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17955 if test "$wx_cv_cpp_bool" = "yes"; then
17956 cat >>confdefs.h
<<\_ACEOF
17957 #define HAVE_BOOL 1
17964 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17965 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17966 if test "${wx_cv_explicit+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17973 ac_cpp
='$CXXCPP $CPPFLAGS'
17974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17979 cat >conftest.
$ac_ext <<_ACEOF
17980 #line $LINENO "configure"
17983 cat confdefs.h
>>conftest.
$ac_ext
17984 cat >>conftest.
$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17987 class Foo { public: explicit Foo(int) {} };
17999 rm -f conftest.
$ac_objext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18001 (eval $ac_compile) 2>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try
='test -s conftest.$ac_objext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18012 cat >conftest.
$ac_ext <<_ACEOF
18013 #line $LINENO "configure"
18016 cat confdefs.h
>>conftest.
$ac_ext
18017 cat >>conftest.
$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18020 class Foo { public: explicit Foo(int) {} };
18021 static void TakeFoo(const Foo& foo) { }
18034 rm -f conftest.
$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } &&
18040 { ac_try
='test -s conftest.$ac_objext'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; }; then
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.
$ac_ext >&5
18054 rm -f conftest.
$ac_objext conftest.
$ac_ext
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18063 rm -f conftest.
$ac_objext conftest.
$ac_ext
18066 ac_cpp
='$CPP $CPPFLAGS'
18067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18073 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18074 echo "${ECHO_T}$wx_cv_explicit" >&6
18076 if test "$wx_cv_explicit" = "yes"; then
18077 cat >>confdefs.h
<<\_ACEOF
18078 #define HAVE_EXPLICIT 1
18084 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18085 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18086 if test "${ac_cv_cxx_const_cast+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 ac_cpp
='$CXXCPP $CPPFLAGS'
18093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18097 cat >conftest.
$ac_ext <<_ACEOF
18098 #line $LINENO "configure"
18101 cat confdefs.h
>>conftest.
$ac_ext
18102 cat >>conftest.
$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18108 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18113 rm -f conftest.
$ac_objext
18114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18115 (eval $ac_compile) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try
='test -s conftest.$ac_objext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 ac_cv_cxx_const_cast
=yes
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.
$ac_ext >&5
18130 ac_cv_cxx_const_cast
=no
18132 rm -f conftest.
$ac_objext conftest.
$ac_ext
18134 ac_cpp
='$CPP $CPPFLAGS'
18135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18141 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18142 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18143 if test "$ac_cv_cxx_const_cast" = yes; then
18145 cat >>confdefs.h
<<\_ACEOF
18146 #define HAVE_CONST_CAST
18151 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
18152 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
18153 if test "${ac_cv_cxx_static_cast+set}" = set; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18159 ac_cpp
='$CXXCPP $CPPFLAGS'
18160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18164 cat >conftest.
$ac_ext <<_ACEOF
18165 #line $LINENO "configure"
18168 cat confdefs.h
>>conftest.
$ac_ext
18169 cat >>conftest.
$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171 #include <typeinfo>
18172 class Base { public : Base () {} virtual void f () = 0; };
18173 class Derived : public Base { public : Derived () {} virtual void f () {} };
18174 int g (Derived&) { return 0; }
18179 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
18184 rm -f conftest.
$ac_objext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18186 (eval $ac_compile) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } &&
18190 { ac_try
='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18196 ac_cv_cxx_static_cast
=yes
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.
$ac_ext >&5
18201 ac_cv_cxx_static_cast
=no
18203 rm -f conftest.
$ac_objext conftest.
$ac_ext
18205 ac_cpp
='$CPP $CPPFLAGS'
18206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18212 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
18213 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
18214 if test "$ac_cv_cxx_static_cast" = yes; then
18216 cat >>confdefs.h
<<\_ACEOF
18217 #define HAVE_STATIC_CAST
18223 if test "$wxUSE_STL" = "yes"; then
18225 ac_cpp
='$CXXCPP $CPPFLAGS'
18226 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18227 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18228 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18231 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18232 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18233 cat >conftest.
$ac_ext <<_ACEOF
18234 #line $LINENO "configure"
18237 cat confdefs.h
>>conftest.
$ac_ext
18238 cat >>conftest.
$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18241 #include <functional>
18242 #include <algorithm>
18248 std::vector<int> moo;
18249 std::list<int> foo;
18250 std::vector<int>::iterator it =
18251 std::find_if(moo.begin(), moo.end(),
18252 std::bind2nd(std::less<int>(), 3));
18257 rm -f conftest.
$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } &&
18263 { ac_try
='test -s conftest.$ac_objext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 echo "$as_me:$LINENO: result: yes" >&5
18270 echo "${ECHO_T}yes" >&6
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.
$ac_ext >&5
18275 echo "$as_me:$LINENO: result: no" >&5
18276 echo "${ECHO_T}no" >&6
18277 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18278 echo "$as_me: error: Basic STL functionality missing" >&2;}
18279 { (exit 1); exit 1; }; }
18281 rm -f conftest.
$ac_objext conftest.
$ac_ext
18283 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18284 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18285 cat >conftest.
$ac_ext <<_ACEOF
18286 #line $LINENO "configure"
18289 cat confdefs.h
>>conftest.
$ac_ext
18290 cat >>conftest.
$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18301 rm -f conftest.
$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } &&
18307 { ac_try
='test -s conftest.$ac_objext'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; }; then
18313 echo "$as_me:$LINENO: result: yes" >&5
18314 echo "${ECHO_T}yes" >&6
18315 cat >>confdefs.h
<<\_ACEOF
18316 #define HAVE_STD_WSTRING 1
18320 echo "$as_me: failed program was:" >&5
18321 sed 's/^/| /' conftest.
$ac_ext >&5
18323 echo "$as_me:$LINENO: result: no" >&5
18324 echo "${ECHO_T}no" >&6
18326 rm -f conftest.
$ac_objext conftest.
$ac_ext
18328 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18329 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18330 cat >conftest.
$ac_ext <<_ACEOF
18331 #line $LINENO "configure"
18334 cat confdefs.h
>>conftest.
$ac_ext
18335 cat >>conftest.
$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18341 std::string foo, bar;
18343 foo.compare(1, 1, bar);
18344 foo.compare(1, 1, bar, 1, 1);
18346 foo.compare(1, 1, "");
18347 foo.compare(1, 1, "", 2);
18352 rm -f conftest.
$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -s conftest.$ac_objext'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; }; then
18364 echo "$as_me:$LINENO: result: yes" >&5
18365 echo "${ECHO_T}yes" >&6
18366 cat >>confdefs.h
<<\_ACEOF
18367 #define HAVE_STD_STRING_COMPARE 1
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.
$ac_ext >&5
18374 echo "$as_me:$LINENO: result: no" >&5
18375 echo "${ECHO_T}no" >&6
18377 rm -f conftest.
$ac_objext conftest.
$ac_ext
18380 ac_cpp
='$CPP $CPPFLAGS'
18381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18389 /usr/local/include \
18391 /usr/Motif-2.1/include \
18392 /usr/Motif-1.2/include \
18393 /usr/include/Motif1.2 \
18394 /opt/xpm/include/X11 \
18395 /opt/GBxpm/include/ \
18396 /opt/GBxpm/X11/include/ \
18399 /usr/openwin/include \
18403 /usr/X11R6/include \
18404 /usr/X11R6.4/include \
18405 /usr/X11R5/include \
18406 /usr/X11R4/include \
18408 /usr/include/X11R6 \
18409 /usr/include/X11R5 \
18410 /usr/include/X11R4 \
18412 /usr/local/X11R6/include \
18413 /usr/local/X11R5/include \
18414 /usr/local/X11R4/include \
18416 /usr/local/include/X11R6 \
18417 /usr/local/include/X11R5 \
18418 /usr/local/include/X11R4 \
18422 /usr/local/X11/include \
18423 /usr/local/include/X11 \
18425 /usr/X386/include \
18426 /usr/x386/include \
18427 /usr/XFree86/include/X11 \
18429 X:/XFree86/include \
18430 X:/XFree86/include/X11 \
18433 /usr/local/include/gtk \
18434 /usr/include/glib \
18435 /usr/local/include/glib \
18438 /usr/local/include/qt \
18440 /usr/include/windows \
18441 /usr/include/wine \
18442 /usr/local/include/wine \
18444 /usr/unsupported/include \
18445 /usr/athena/include \
18446 /usr/local/x11r5/include \
18447 /usr/lpp/Xamples/include \
18449 /usr/openwin/share/include"
18451 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18454 cat >confcache
<<\_ACEOF
18455 # This file is a shell script that caches the results of configure
18456 # tests run on this system so they can be shared between configure
18457 # scripts and configure runs, see configure's option --config-cache.
18458 # It is not useful on other systems. If it contains results you don't
18459 # want to keep, you may remove or edit it.
18461 # config.status only pays attention to the cache file if you give it
18462 # the --recheck option to rerun configure.
18464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18466 # following values.
18470 # The following way of writing the cache mishandles newlines in values,
18471 # but we know of no workaround that is simple, portable, and efficient.
18472 # So, don't put newlines in cache variables' values.
18473 # Ultrix sh set writes to stderr and can't be redirected directly,
18474 # and sets the high bit in the cache file unless we assign to the vars.
18477 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18479 # `set' does not quote correctly, so add quotes (double-quote
18480 # substitution turns \\\\ into \\, and sed turns \\ into \).
18483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18486 # `set' quotes correctly as required by POSIX, so do not add quotes.
18488 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18497 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18499 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18500 if test -w $cache_file; then
18501 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18502 cat confcache
>$cache_file
18504 echo "not updating unwritable cache $cache_file"
18509 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18510 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18511 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18512 if test "${wx_cv_lib_glibc21+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 cat >conftest.
$ac_ext <<_ACEOF
18517 #line $LINENO "configure"
18520 cat confdefs.h
>>conftest.
$ac_ext
18521 cat >>conftest.
$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 #include <features.h>
18528 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18529 #error not glibc2.1
18536 rm -f conftest.
$ac_objext
18537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18538 (eval $ac_compile) 2>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try
='test -s conftest.$ac_objext'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; }; then
18549 wx_cv_lib_glibc21
=yes
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.
$ac_ext >&5
18556 wx_cv_lib_glibc21
=no
18560 rm -f conftest.
$ac_objext conftest.
$ac_ext
18563 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18564 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18565 if test "$wx_cv_lib_glibc21" = "yes"; then
18566 cat >>confdefs.h
<<\_ACEOF
18567 #define wxHAVE_GLIBC2 1
18573 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18574 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18575 cat >>confdefs.h
<<\_ACEOF
18576 #define _GNU_SOURCE 1
18584 if test "$wxUSE_REGEX" != "no"; then
18585 cat >>confdefs.h
<<\_ACEOF
18586 #define wxUSE_REGEX 1
18590 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18591 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18592 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18593 wxUSE_REGEX
=builtin
18596 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18597 if test "${ac_cv_header_regex_h+set}" = set; then
18598 echo "$as_me:$LINENO: checking for regex.h" >&5
18599 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18600 if test "${ac_cv_header_regex_h+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18604 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18606 # Is the header compilable?
18607 echo "$as_me:$LINENO: checking regex.h usability" >&5
18608 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18609 cat >conftest.
$ac_ext <<_ACEOF
18610 #line $LINENO "configure"
18613 cat confdefs.h
>>conftest.
$ac_ext
18614 cat >>conftest.
$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 $ac_includes_default
18619 rm -f conftest.
$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } &&
18625 { ac_try
='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_header_compiler
=yes
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.
$ac_ext >&5
18636 ac_header_compiler
=no
18638 rm -f conftest.
$ac_objext conftest.
$ac_ext
18639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18640 echo "${ECHO_T}$ac_header_compiler" >&6
18642 # Is the header present?
18643 echo "$as_me:$LINENO: checking regex.h presence" >&5
18644 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18645 cat >conftest.
$ac_ext <<_ACEOF
18646 #line $LINENO "configure"
18649 cat confdefs.h
>>conftest.
$ac_ext
18650 cat >>conftest.
$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18657 grep -v '^ *+' conftest.er1
>conftest.err
18659 cat conftest.err
>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } >/dev
/null
; then
18662 if test -s conftest.err
; then
18663 ac_cpp_err
=$ac_c_preproc_warn_flag
18670 if test -z "$ac_cpp_err"; then
18671 ac_header_preproc
=yes
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.
$ac_ext >&5
18676 ac_header_preproc
=no
18678 rm -f conftest.err conftest.
$ac_ext
18679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18680 echo "${ECHO_T}$ac_header_preproc" >&6
18682 # So? What about this header?
18683 case $ac_header_compiler:$ac_header_preproc in
18685 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18686 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18687 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18688 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18691 ## ------------------------------------ ##
18692 ## Report this to bug-autoconf@gnu.org. ##
18693 ## ------------------------------------ ##
18696 sed "s/^/$as_me: WARNING: /" >&2
18699 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18700 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18701 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18702 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18703 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18704 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18707 ## ------------------------------------ ##
18708 ## Report this to bug-autoconf@gnu.org. ##
18709 ## ------------------------------------ ##
18712 sed "s/^/$as_me: WARNING: /" >&2
18715 echo "$as_me:$LINENO: checking for regex.h" >&5
18716 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18717 if test "${ac_cv_header_regex_h+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 ac_cv_header_regex_h
=$ac_header_preproc
18722 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18723 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18726 if test $ac_cv_header_regex_h = yes; then
18728 for ac_func
in regcomp
18730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18731 echo "$as_me:$LINENO: checking for $ac_func" >&5
18732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18733 if eval "test \"\${$as_ac_var+set}\" = set"; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 cat >conftest.
$ac_ext <<_ACEOF
18737 #line $LINENO "configure"
18740 cat confdefs.h
>>conftest.
$ac_ext
18741 cat >>conftest.
$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743 /* System header to define __stub macros and hopefully few prototypes,
18744 which can conflict with char $ac_func (); below.
18745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18746 <limits.h> exists even on freestanding compilers. */
18748 # include <limits.h>
18750 # include <assert.h>
18752 /* Override any gcc2 internal prototype to avoid an error. */
18757 /* We use char because int might match the return type of a gcc2
18758 builtin and then its argument prototype would still apply. */
18760 /* The GNU C library defines this for functions which it implements
18761 to always fail with ENOSYS. Some functions are actually named
18762 something starting with __ and the normal name is an alias. */
18763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18766 char (*f) () = $ac_func;
18775 return f != $ac_func;
18780 rm -f conftest.
$ac_objext conftest
$ac_exeext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18782 (eval $ac_link) 2>&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); } &&
18786 { ac_try
='test -s conftest$ac_exeext'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; }; then
18792 eval "$as_ac_var=yes"
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.
$ac_ext >&5
18797 eval "$as_ac_var=no"
18799 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18803 if test `eval echo '${'$as_ac_var'}'` = yes; then
18804 cat >>confdefs.h
<<_ACEOF
18805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18815 if test "x$ac_cv_func_regcomp" != "xyes"; then
18816 if test "$wxUSE_REGEX" = "sys" ; then
18817 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18818 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18819 { (exit 1); exit 1; }; }
18821 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18822 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18823 wxUSE_REGEX
=builtin
18833 if test "$wxUSE_ZLIB" != "no" ; then
18834 cat >>confdefs.h
<<\_ACEOF
18835 #define wxUSE_ZLIB 1
18839 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18840 if test "$USE_DARWIN" = 1; then
18841 system_zlib_h_ok
="yes"
18843 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18844 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18845 if test "${ac_cv_header_zlib_h+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 if test "$cross_compiling" = yes; then
18849 unset ac_cv_header_zlib_h
18852 cat >conftest.
$ac_ext <<_ACEOF
18853 #line $LINENO "configure"
18856 cat confdefs.h
>>conftest.
$ac_ext
18857 cat >>conftest.
$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18865 FILE *f=fopen("conftestval", "w");
18868 ZLIB_VERSION[0] == '1' &&
18869 (ZLIB_VERSION[2] > '1' ||
18870 (ZLIB_VERSION[2] == '1' &&
18871 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18876 rm -f conftest
$ac_exeext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18878 (eval $ac_link) 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 ac_cv_header_zlib_h
=`cat conftestval`
18889 echo "$as_me: program exited with status $ac_status" >&5
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.
$ac_ext >&5
18893 ( exit $ac_status )
18894 ac_cv_header_zlib_h
=no
18896 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18900 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18901 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18902 if test "${ac_cv_header_zlib_h+set}" = set; then
18903 echo "$as_me:$LINENO: checking for zlib.h" >&5
18904 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18905 if test "${ac_cv_header_zlib_h+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18909 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18911 # Is the header compilable?
18912 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18913 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18914 cat >conftest.
$ac_ext <<_ACEOF
18915 #line $LINENO "configure"
18918 cat confdefs.h
>>conftest.
$ac_ext
18919 cat >>conftest.
$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921 $ac_includes_default
18924 rm -f conftest.
$ac_objext
18925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18926 (eval $ac_compile) 2>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } &&
18930 { ac_try
='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_header_compiler
=yes
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.
$ac_ext >&5
18941 ac_header_compiler
=no
18943 rm -f conftest.
$ac_objext conftest.
$ac_ext
18944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18945 echo "${ECHO_T}$ac_header_compiler" >&6
18947 # Is the header present?
18948 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18949 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18950 cat >conftest.
$ac_ext <<_ACEOF
18951 #line $LINENO "configure"
18954 cat confdefs.h
>>conftest.
$ac_ext
18955 cat >>conftest.
$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18962 grep -v '^ *+' conftest.er1
>conftest.err
18964 cat conftest.err
>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } >/dev
/null
; then
18967 if test -s conftest.err
; then
18968 ac_cpp_err
=$ac_c_preproc_warn_flag
18975 if test -z "$ac_cpp_err"; then
18976 ac_header_preproc
=yes
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.
$ac_ext >&5
18981 ac_header_preproc
=no
18983 rm -f conftest.err conftest.
$ac_ext
18984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18985 echo "${ECHO_T}$ac_header_preproc" >&6
18987 # So? What about this header?
18988 case $ac_header_compiler:$ac_header_preproc in
18990 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18991 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18992 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18993 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18996 ## ------------------------------------ ##
18997 ## Report this to bug-autoconf@gnu.org. ##
18998 ## ------------------------------------ ##
19001 sed "s/^/$as_me: WARNING: /" >&2
19004 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19005 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19006 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19007 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19008 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19009 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19012 ## ------------------------------------ ##
19013 ## Report this to bug-autoconf@gnu.org. ##
19014 ## ------------------------------------ ##
19017 sed "s/^/$as_me: WARNING: /" >&2
19020 echo "$as_me:$LINENO: checking for zlib.h" >&5
19021 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19022 if test "${ac_cv_header_zlib_h+set}" = set; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19025 ac_cv_header_zlib_h
=$ac_header_preproc
19027 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19028 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19034 system_zlib_h_ok
=$ac_cv_header_zlib_h
19037 if test "$system_zlib_h_ok" = "yes"; then
19038 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19039 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19040 if test "${ac_cv_lib_z_deflate+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 ac_check_lib_save_LIBS
=$LIBS
19045 cat >conftest.
$ac_ext <<_ACEOF
19046 #line $LINENO "configure"
19049 cat confdefs.h
>>conftest.
$ac_ext
19050 cat >>conftest.
$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19053 /* Override any gcc2 internal prototype to avoid an error. */
19057 /* We use char because int might match the return type of a gcc2
19058 builtin and then its argument prototype would still apply. */
19068 rm -f conftest.
$ac_objext conftest
$ac_exeext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19070 (eval $ac_link) 2>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try
='test -s conftest$ac_exeext'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; }; then
19080 ac_cv_lib_z_deflate
=yes
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.
$ac_ext >&5
19085 ac_cv_lib_z_deflate
=no
19087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19088 LIBS
=$ac_check_lib_save_LIBS
19090 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19091 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19092 if test $ac_cv_lib_z_deflate = yes; then
19098 if test "x$ZLIB_LINK" = "x" ; then
19099 if test "$wxUSE_ZLIB" = "sys" ; then
19100 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19101 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19102 { (exit 1); exit 1; }; }
19104 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19105 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19116 if test "$wxUSE_LIBPNG" != "no" ; then
19117 cat >>confdefs.h
<<\_ACEOF
19118 #define wxUSE_LIBPNG 1
19122 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19123 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19124 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19128 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19129 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19130 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19131 wxUSE_LIBPNG
=builtin
19134 if test "$wxUSE_MGL" != 1 ; then
19135 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19136 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19137 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19138 if test "${ac_cv_header_png_h+set}" = set; then
19139 echo $ECHO_N "(cached) $ECHO_C" >&6
19141 if test "$cross_compiling" = yes; then
19142 unset ac_cv_header_png_h
19145 cat >conftest.
$ac_ext <<_ACEOF
19146 #line $LINENO "configure"
19149 cat confdefs.h
>>conftest.
$ac_ext
19150 cat >>conftest.
$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19158 FILE *f=fopen("conftestval", "w");
19161 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19166 rm -f conftest
$ac_exeext
19167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19168 (eval $ac_link) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 ac_cv_header_png_h
=`cat conftestval`
19179 echo "$as_me: program exited with status $ac_status" >&5
19180 echo "$as_me: failed program was:" >&5
19181 sed 's/^/| /' conftest.
$ac_ext >&5
19183 ( exit $ac_status )
19184 ac_cv_header_png_h
=no
19186 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19190 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19191 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19192 if test "${ac_cv_header_png_h+set}" = set; then
19193 echo "$as_me:$LINENO: checking for png.h" >&5
19194 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19195 if test "${ac_cv_header_png_h+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19199 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19201 # Is the header compilable?
19202 echo "$as_me:$LINENO: checking png.h usability" >&5
19203 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19204 cat >conftest.
$ac_ext <<_ACEOF
19205 #line $LINENO "configure"
19208 cat confdefs.h
>>conftest.
$ac_ext
19209 cat >>conftest.
$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19211 $ac_includes_default
19214 rm -f conftest.
$ac_objext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try
='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 ac_header_compiler
=yes
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.
$ac_ext >&5
19231 ac_header_compiler
=no
19233 rm -f conftest.
$ac_objext conftest.
$ac_ext
19234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19235 echo "${ECHO_T}$ac_header_compiler" >&6
19237 # Is the header present?
19238 echo "$as_me:$LINENO: checking png.h presence" >&5
19239 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19240 cat >conftest.
$ac_ext <<_ACEOF
19241 #line $LINENO "configure"
19244 cat confdefs.h
>>conftest.
$ac_ext
19245 cat >>conftest.
$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19252 grep -v '^ *+' conftest.er1
>conftest.err
19254 cat conftest.err
>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } >/dev
/null
; then
19257 if test -s conftest.err
; then
19258 ac_cpp_err
=$ac_c_preproc_warn_flag
19265 if test -z "$ac_cpp_err"; then
19266 ac_header_preproc
=yes
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 ac_header_preproc
=no
19273 rm -f conftest.err conftest.
$ac_ext
19274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19275 echo "${ECHO_T}$ac_header_preproc" >&6
19277 # So? What about this header?
19278 case $ac_header_compiler:$ac_header_preproc in
19280 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19281 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19282 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19283 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19286 ## ------------------------------------ ##
19287 ## Report this to bug-autoconf@gnu.org. ##
19288 ## ------------------------------------ ##
19291 sed "s/^/$as_me: WARNING: /" >&2
19294 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19295 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19296 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19297 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19298 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19299 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19302 ## ------------------------------------ ##
19303 ## Report this to bug-autoconf@gnu.org. ##
19304 ## ------------------------------------ ##
19307 sed "s/^/$as_me: WARNING: /" >&2
19310 echo "$as_me:$LINENO: checking for png.h" >&5
19311 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19312 if test "${ac_cv_header_png_h+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 ac_cv_header_png_h
=$ac_header_preproc
19317 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19318 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19324 if test "$ac_cv_header_png_h" = "yes"; then
19325 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19326 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19327 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19330 ac_check_lib_save_LIBS
=$LIBS
19331 LIBS
="-lpng -lz -lm $LIBS"
19332 cat >conftest.
$ac_ext <<_ACEOF
19333 #line $LINENO "configure"
19336 cat confdefs.h
>>conftest.
$ac_ext
19337 cat >>conftest.
$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19340 /* Override any gcc2 internal prototype to avoid an error. */
19344 /* We use char because int might match the return type of a gcc2
19345 builtin and then its argument prototype would still apply. */
19346 char png_check_sig ();
19355 rm -f conftest.
$ac_objext conftest
$ac_exeext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19357 (eval $ac_link) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -s conftest$ac_exeext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_lib_png_png_check_sig
=yes
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.
$ac_ext >&5
19372 ac_cv_lib_png_png_check_sig
=no
19374 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19375 LIBS
=$ac_check_lib_save_LIBS
19377 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19378 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19379 if test $ac_cv_lib_png_png_check_sig = yes; then
19385 if test "x$PNG_LINK" = "x" ; then
19386 if test "$wxUSE_LIBPNG" = "sys" ; then
19387 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19388 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19389 { (exit 1); exit 1; }; }
19391 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19392 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19393 wxUSE_LIBPNG
=builtin
19401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
19406 if test "$wxUSE_LIBJPEG" != "no" ; then
19407 cat >>confdefs.h
<<\_ACEOF
19408 #define wxUSE_LIBJPEG 1
19412 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19413 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19414 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19418 if test "$wxUSE_MGL" != 1 ; then
19419 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19420 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19421 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19422 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 cat >conftest.
$ac_ext <<_ACEOF
19426 #line $LINENO "configure"
19429 cat confdefs.h
>>conftest.
$ac_ext
19430 cat >>conftest.
$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19433 #undef HAVE_STDLIB_H
19435 #include <jpeglib.h>
19446 rm -f conftest.
$ac_objext
19447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19448 (eval $ac_compile) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } &&
19452 { ac_try
='test -s conftest.$ac_objext'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; }; then
19458 ac_cv_header_jpeglib_h
=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.
$ac_ext >&5
19463 ac_cv_header_jpeglib_h
=no
19466 rm -f conftest.
$ac_objext conftest.
$ac_ext
19470 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19471 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19473 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19474 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19475 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19476 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 ac_check_lib_save_LIBS
=$LIBS
19480 LIBS
="-ljpeg $LIBS"
19481 cat >conftest.
$ac_ext <<_ACEOF
19482 #line $LINENO "configure"
19485 cat confdefs.h
>>conftest.
$ac_ext
19486 cat >>conftest.
$ac_ext <<_ACEOF
19487 /* end confdefs.h. */
19489 /* Override any gcc2 internal prototype to avoid an error. */
19493 /* We use char because int might match the return type of a gcc2
19494 builtin and then its argument prototype would still apply. */
19495 char jpeg_read_header ();
19499 jpeg_read_header ();
19504 rm -f conftest.
$ac_objext conftest
$ac_exeext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19506 (eval $ac_link) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try
='test -s conftest$ac_exeext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 ac_cv_lib_jpeg_jpeg_read_header
=yes
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.
$ac_ext >&5
19521 ac_cv_lib_jpeg_jpeg_read_header
=no
19523 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19524 LIBS
=$ac_check_lib_save_LIBS
19526 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19527 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19528 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19529 JPEG_LINK
=" -ljpeg"
19534 if test "x$JPEG_LINK" = "x" ; then
19535 if test "$wxUSE_LIBJPEG" = "sys" ; then
19536 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19537 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19538 { (exit 1); exit 1; }; }
19540 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19541 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19542 wxUSE_LIBJPEG
=builtin
19553 TIFF_PREREQ_LINKS
=-lm
19554 if test "$wxUSE_LIBTIFF" != "no" ; then
19555 cat >>confdefs.h
<<\_ACEOF
19556 #define wxUSE_LIBTIFF 1
19560 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19561 if test "$wxUSE_LIBJPEG" = "sys"; then
19562 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19564 if test "$wxUSE_ZLIB" = "sys"; then
19565 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19567 if test "${ac_cv_header_tiffio_h+set}" = set; then
19568 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19569 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19570 if test "${ac_cv_header_tiffio_h+set}" = set; then
19571 echo $ECHO_N "(cached) $ECHO_C" >&6
19573 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19574 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19576 # Is the header compilable?
19577 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19578 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19579 cat >conftest.
$ac_ext <<_ACEOF
19580 #line $LINENO "configure"
19583 cat confdefs.h
>>conftest.
$ac_ext
19584 cat >>conftest.
$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19587 #include <tiffio.h>
19589 rm -f conftest.
$ac_objext
19590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try
='test -s conftest.$ac_objext'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; }; then
19601 ac_header_compiler
=yes
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.
$ac_ext >&5
19606 ac_header_compiler
=no
19608 rm -f conftest.
$ac_objext conftest.
$ac_ext
19609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19610 echo "${ECHO_T}$ac_header_compiler" >&6
19612 # Is the header present?
19613 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19614 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19615 cat >conftest.
$ac_ext <<_ACEOF
19616 #line $LINENO "configure"
19619 cat confdefs.h
>>conftest.
$ac_ext
19620 cat >>conftest.
$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 #include <tiffio.h>
19624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19627 grep -v '^ *+' conftest.er1
>conftest.err
19629 cat conftest.err
>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } >/dev
/null
; then
19632 if test -s conftest.err
; then
19633 ac_cpp_err
=$ac_c_preproc_warn_flag
19640 if test -z "$ac_cpp_err"; then
19641 ac_header_preproc
=yes
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.
$ac_ext >&5
19646 ac_header_preproc
=no
19648 rm -f conftest.err conftest.
$ac_ext
19649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19650 echo "${ECHO_T}$ac_header_preproc" >&6
19652 # So? What about this header?
19653 case $ac_header_compiler:$ac_header_preproc in
19655 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19656 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19657 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19658 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19661 ## ------------------------------------ ##
19662 ## Report this to bug-autoconf@gnu.org. ##
19663 ## ------------------------------------ ##
19666 sed "s/^/$as_me: WARNING: /" >&2
19669 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19670 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19671 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19672 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19673 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19674 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19677 ## ------------------------------------ ##
19678 ## Report this to bug-autoconf@gnu.org. ##
19679 ## ------------------------------------ ##
19682 sed "s/^/$as_me: WARNING: /" >&2
19685 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19686 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19687 if test "${ac_cv_header_tiffio_h+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19690 ac_cv_header_tiffio_h
=$ac_header_preproc
19692 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19693 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19696 if test $ac_cv_header_tiffio_h = yes; then
19698 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19699 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19700 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 ac_check_lib_save_LIBS
=$LIBS
19704 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19705 cat >conftest.
$ac_ext <<_ACEOF
19706 #line $LINENO "configure"
19709 cat confdefs.h
>>conftest.
$ac_ext
19710 cat >>conftest.
$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19713 /* Override any gcc2 internal prototype to avoid an error. */
19717 /* We use char because int might match the return type of a gcc2
19718 builtin and then its argument prototype would still apply. */
19728 rm -f conftest.
$ac_objext conftest
$ac_exeext
19729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19730 (eval $ac_link) 2>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try
='test -s conftest$ac_exeext'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; }; then
19740 ac_cv_lib_tiff_TIFFError
=yes
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.
$ac_ext >&5
19745 ac_cv_lib_tiff_TIFFError
=no
19747 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19748 LIBS
=$ac_check_lib_save_LIBS
19750 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19751 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19752 if test $ac_cv_lib_tiff_TIFFError = yes; then
19753 TIFF_LINK
=" -ltiff"
19762 if test "x$TIFF_LINK" = "x" ; then
19763 if test "$wxUSE_LIBTIFF" = "sys" ; then
19764 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19765 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19766 { (exit 1); exit 1; }; }
19768 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19769 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19770 wxUSE_LIBTIFF
=builtin
19779 if test "$wxUSE_EXPAT" != "no"; then
19781 cat >>confdefs.h
<<\_ACEOF
19782 #define wxUSE_EXPAT 1
19785 cat >>confdefs.h
<<\_ACEOF
19786 #define wxUSE_XML 1
19790 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19791 if test "${ac_cv_header_expat_h+set}" = set; then
19792 echo "$as_me:$LINENO: checking for expat.h" >&5
19793 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19794 if test "${ac_cv_header_expat_h+set}" = set; then
19795 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19798 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19800 # Is the header compilable?
19801 echo "$as_me:$LINENO: checking expat.h usability" >&5
19802 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19803 cat >conftest.
$ac_ext <<_ACEOF
19804 #line $LINENO "configure"
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19813 rm -f conftest.
$ac_objext
19814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19815 (eval $ac_compile) 2>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try
='test -s conftest.$ac_objext'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; }; then
19825 ac_header_compiler
=yes
19827 echo "$as_me: failed program was:" >&5
19828 sed 's/^/| /' conftest.
$ac_ext >&5
19830 ac_header_compiler
=no
19832 rm -f conftest.
$ac_objext conftest.
$ac_ext
19833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19834 echo "${ECHO_T}$ac_header_compiler" >&6
19836 # Is the header present?
19837 echo "$as_me:$LINENO: checking expat.h presence" >&5
19838 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19839 cat >conftest.
$ac_ext <<_ACEOF
19840 #line $LINENO "configure"
19843 cat confdefs.h
>>conftest.
$ac_ext
19844 cat >>conftest.
$ac_ext <<_ACEOF
19845 /* end confdefs.h. */
19848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19851 grep -v '^ *+' conftest.er1
>conftest.err
19853 cat conftest.err
>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); } >/dev
/null
; then
19856 if test -s conftest.err
; then
19857 ac_cpp_err
=$ac_c_preproc_warn_flag
19864 if test -z "$ac_cpp_err"; then
19865 ac_header_preproc
=yes
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.
$ac_ext >&5
19870 ac_header_preproc
=no
19872 rm -f conftest.err conftest.
$ac_ext
19873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19874 echo "${ECHO_T}$ac_header_preproc" >&6
19876 # So? What about this header?
19877 case $ac_header_compiler:$ac_header_preproc in
19879 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19880 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19881 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19882 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19885 ## ------------------------------------ ##
19886 ## Report this to bug-autoconf@gnu.org. ##
19887 ## ------------------------------------ ##
19890 sed "s/^/$as_me: WARNING: /" >&2
19893 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19894 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19895 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19896 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19897 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19898 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19901 ## ------------------------------------ ##
19902 ## Report this to bug-autoconf@gnu.org. ##
19903 ## ------------------------------------ ##
19906 sed "s/^/$as_me: WARNING: /" >&2
19909 echo "$as_me:$LINENO: checking for expat.h" >&5
19910 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19911 if test "${ac_cv_header_expat_h+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 ac_cv_header_expat_h
=$ac_header_preproc
19916 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19917 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19920 if test $ac_cv_header_expat_h = yes; then
19925 if test "x$found_expat_h" = "x1"; then
19926 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19927 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19928 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 ac_cpp
='$CXXCPP $CPPFLAGS'
19936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19940 cat >conftest.
$ac_ext <<_ACEOF
19941 #line $LINENO "configure"
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19956 rm -f conftest.
$ac_objext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19958 (eval $ac_compile) 2>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try
='test -s conftest.$ac_objext'
19963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19964 (eval $ac_try) 2>&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); }; }; then
19968 wx_cv_expat_is_not_broken
=yes
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.
$ac_ext >&5
19973 wx_cv_expat_is_not_broken
=no
19976 rm -f conftest.
$ac_objext conftest.
$ac_ext
19978 ac_cpp
='$CPP $CPPFLAGS'
19979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19986 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19987 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19988 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19989 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19990 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19991 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19992 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 ac_check_lib_save_LIBS
=$LIBS
19995 LIBS
="-lexpat $LIBS"
19996 cat >conftest.
$ac_ext <<_ACEOF
19997 #line $LINENO "configure"
20000 cat confdefs.h
>>conftest.
$ac_ext
20001 cat >>conftest.
$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20004 /* Override any gcc2 internal prototype to avoid an error. */
20008 /* We use char because int might match the return type of a gcc2
20009 builtin and then its argument prototype would still apply. */
20010 char XML_ParserCreate ();
20014 XML_ParserCreate ();
20019 rm -f conftest.
$ac_objext conftest
$ac_exeext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20021 (eval $ac_link) 2>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try
='test -s conftest$ac_exeext'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_cv_lib_expat_XML_ParserCreate
=yes
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.
$ac_ext >&5
20036 ac_cv_lib_expat_XML_ParserCreate
=no
20038 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20039 LIBS
=$ac_check_lib_save_LIBS
20041 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20042 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20043 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20044 EXPAT_LINK
=" -lexpat"
20049 if test "x$EXPAT_LINK" = "x" ; then
20050 if test "$wxUSE_EXPAT" = "sys" ; then
20051 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20052 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20053 { (exit 1); exit 1; }; }
20055 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20056 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20057 wxUSE_EXPAT
=builtin
20063 if test "$wxUSE_EXPAT" = "builtin" ; then
20066 subdirs
="$subdirs src/expat"
20073 if test "$wxUSE_LIBMSPACK" != "no"; then
20075 if test "${ac_cv_header_mspack_h+set}" = set; then
20076 echo "$as_me:$LINENO: checking for mspack.h" >&5
20077 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20078 if test "${ac_cv_header_mspack_h+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20082 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20084 # Is the header compilable?
20085 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20086 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20087 cat >conftest.
$ac_ext <<_ACEOF
20088 #line $LINENO "configure"
20091 cat confdefs.h
>>conftest.
$ac_ext
20092 cat >>conftest.
$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 $ac_includes_default
20095 #include <mspack.h>
20097 rm -f conftest.
$ac_objext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20099 (eval $ac_compile) 2>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); } &&
20103 { ac_try
='test -s conftest.$ac_objext'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; }; then
20109 ac_header_compiler
=yes
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.
$ac_ext >&5
20114 ac_header_compiler
=no
20116 rm -f conftest.
$ac_objext conftest.
$ac_ext
20117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20118 echo "${ECHO_T}$ac_header_compiler" >&6
20120 # Is the header present?
20121 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20122 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20123 cat >conftest.
$ac_ext <<_ACEOF
20124 #line $LINENO "configure"
20127 cat confdefs.h
>>conftest.
$ac_ext
20128 cat >>conftest.
$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 #include <mspack.h>
20132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20135 grep -v '^ *+' conftest.er1
>conftest.err
20137 cat conftest.err
>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } >/dev
/null
; then
20140 if test -s conftest.err
; then
20141 ac_cpp_err
=$ac_c_preproc_warn_flag
20148 if test -z "$ac_cpp_err"; then
20149 ac_header_preproc
=yes
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.
$ac_ext >&5
20154 ac_header_preproc
=no
20156 rm -f conftest.err conftest.
$ac_ext
20157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20158 echo "${ECHO_T}$ac_header_preproc" >&6
20160 # So? What about this header?
20161 case $ac_header_compiler:$ac_header_preproc in
20163 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20164 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20165 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20166 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20169 ## ------------------------------------ ##
20170 ## Report this to bug-autoconf@gnu.org. ##
20171 ## ------------------------------------ ##
20174 sed "s/^/$as_me: WARNING: /" >&2
20177 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20178 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20179 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20180 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20181 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20182 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20185 ## ------------------------------------ ##
20186 ## Report this to bug-autoconf@gnu.org. ##
20187 ## ------------------------------------ ##
20190 sed "s/^/$as_me: WARNING: /" >&2
20193 echo "$as_me:$LINENO: checking for mspack.h" >&5
20194 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20195 if test "${ac_cv_header_mspack_h+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 ac_cv_header_mspack_h
=$ac_header_preproc
20200 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20201 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20204 if test $ac_cv_header_mspack_h = yes; then
20209 if test "x$found_mspack_h" = "x1"; then
20210 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20211 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20212 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20215 ac_check_lib_save_LIBS
=$LIBS
20216 LIBS
="-lmspack $LIBS"
20217 cat >conftest.
$ac_ext <<_ACEOF
20218 #line $LINENO "configure"
20221 cat confdefs.h
>>conftest.
$ac_ext
20222 cat >>conftest.
$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20225 /* Override any gcc2 internal prototype to avoid an error. */
20229 /* We use char because int might match the return type of a gcc2
20230 builtin and then its argument prototype would still apply. */
20231 char mspack_create_chm_decompressor ();
20235 mspack_create_chm_decompressor ();
20240 rm -f conftest.
$ac_objext conftest
$ac_exeext
20241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20242 (eval $ac_link) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); } &&
20246 { ac_try
='test -s conftest$ac_exeext'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; }; then
20252 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.
$ac_ext >&5
20257 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
20259 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20260 LIBS
=$ac_check_lib_save_LIBS
20262 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20263 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20264 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20265 MSPACK_LINK
=" -lmspack"
20269 if test "x$MSPACK_LINK" = "x" ; then
20272 cat >>confdefs.h
<<\_ACEOF
20273 #define wxUSE_LIBMSPACK 1
20288 if test "$USE_WIN32" = 1 ; then
20290 for ac_header
in w32api.h
20292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20294 echo "$as_me:$LINENO: checking for $ac_header" >&5
20295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20302 # Is the header compilable?
20303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20305 cat >conftest.
$ac_ext <<_ACEOF
20306 #line $LINENO "configure"
20309 cat confdefs.h
>>conftest.
$ac_ext
20310 cat >>conftest.
$ac_ext <<_ACEOF
20311 /* end confdefs.h. */
20312 $ac_includes_default
20313 #include <$ac_header>
20315 rm -f conftest.
$ac_objext
20316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20317 (eval $ac_compile) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } &&
20321 { ac_try
='test -s conftest.$ac_objext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 ac_header_compiler
=yes
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.
$ac_ext >&5
20332 ac_header_compiler
=no
20334 rm -f conftest.
$ac_objext conftest.
$ac_ext
20335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20336 echo "${ECHO_T}$ac_header_compiler" >&6
20338 # Is the header present?
20339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20341 cat >conftest.
$ac_ext <<_ACEOF
20342 #line $LINENO "configure"
20345 cat confdefs.h
>>conftest.
$ac_ext
20346 cat >>conftest.
$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20348 #include <$ac_header>
20350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20353 grep -v '^ *+' conftest.er1
>conftest.err
20355 cat conftest.err
>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } >/dev
/null
; then
20358 if test -s conftest.err
; then
20359 ac_cpp_err
=$ac_c_preproc_warn_flag
20366 if test -z "$ac_cpp_err"; then
20367 ac_header_preproc
=yes
20369 echo "$as_me: failed program was:" >&5
20370 sed 's/^/| /' conftest.
$ac_ext >&5
20372 ac_header_preproc
=no
20374 rm -f conftest.err conftest.
$ac_ext
20375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20376 echo "${ECHO_T}$ac_header_preproc" >&6
20378 # So? What about this header?
20379 case $ac_header_compiler:$ac_header_preproc in
20381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20387 ## ------------------------------------ ##
20388 ## Report this to bug-autoconf@gnu.org. ##
20389 ## ------------------------------------ ##
20392 sed "s/^/$as_me: WARNING: /" >&2
20395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20403 ## ------------------------------------ ##
20404 ## Report this to bug-autoconf@gnu.org. ##
20405 ## ------------------------------------ ##
20408 sed "s/^/$as_me: WARNING: /" >&2
20411 echo "$as_me:$LINENO: checking for $ac_header" >&5
20412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20416 eval "$as_ac_Header=$ac_header_preproc"
20418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20423 cat >>confdefs.h
<<_ACEOF
20424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20431 if test "${ac_cv_header_windows_h+set}" = set; then
20432 echo "$as_me:$LINENO: checking for windows.h" >&5
20433 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20434 if test "${ac_cv_header_windows_h+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20438 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20440 # Is the header compilable?
20441 echo "$as_me:$LINENO: checking windows.h usability" >&5
20442 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20443 cat >conftest.
$ac_ext <<_ACEOF
20444 #line $LINENO "configure"
20447 cat confdefs.h
>>conftest.
$ac_ext
20448 cat >>conftest.
$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 $ac_includes_default
20451 #include <windows.h>
20453 rm -f conftest.
$ac_objext
20454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20455 (eval $ac_compile) 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try
='test -s conftest.$ac_objext'
20460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20461 (eval $ac_try) 2>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; }; then
20465 ac_header_compiler
=yes
20467 echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.
$ac_ext >&5
20470 ac_header_compiler
=no
20472 rm -f conftest.
$ac_objext conftest.
$ac_ext
20473 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20474 echo "${ECHO_T}$ac_header_compiler" >&6
20476 # Is the header present?
20477 echo "$as_me:$LINENO: checking windows.h presence" >&5
20478 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20479 cat >conftest.
$ac_ext <<_ACEOF
20480 #line $LINENO "configure"
20483 cat confdefs.h
>>conftest.
$ac_ext
20484 cat >>conftest.
$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 #include <windows.h>
20488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20491 grep -v '^ *+' conftest.er1
>conftest.err
20493 cat conftest.err
>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } >/dev
/null
; then
20496 if test -s conftest.err
; then
20497 ac_cpp_err
=$ac_c_preproc_warn_flag
20504 if test -z "$ac_cpp_err"; then
20505 ac_header_preproc
=yes
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.
$ac_ext >&5
20510 ac_header_preproc
=no
20512 rm -f conftest.err conftest.
$ac_ext
20513 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20514 echo "${ECHO_T}$ac_header_preproc" >&6
20516 # So? What about this header?
20517 case $ac_header_compiler:$ac_header_preproc in
20519 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20520 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20521 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20522 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20525 ## ------------------------------------ ##
20526 ## Report this to bug-autoconf@gnu.org. ##
20527 ## ------------------------------------ ##
20530 sed "s/^/$as_me: WARNING: /" >&2
20533 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20534 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20535 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20536 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20537 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20538 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20541 ## ------------------------------------ ##
20542 ## Report this to bug-autoconf@gnu.org. ##
20543 ## ------------------------------------ ##
20546 sed "s/^/$as_me: WARNING: /" >&2
20549 echo "$as_me:$LINENO: checking for windows.h" >&5
20550 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20551 if test "${ac_cv_header_windows_h+set}" = set; then
20552 echo $ECHO_N "(cached) $ECHO_C" >&6
20554 ac_cv_header_windows_h
=$ac_header_preproc
20556 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20557 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20560 if test $ac_cv_header_windows_h = yes; then
20564 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20565 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20566 { (exit 1); exit 1; }; }
20572 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20574 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20575 LIBS
="$LIBS -loleacc"
20580 LIBS
="$LIBS -lkernel32 -luser32"
20581 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20584 if test "$wxUSE_ODBC" = "sys" ; then
20587 if test "$wxUSE_ODBC" = "yes" ; then
20588 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20589 cat >>confdefs.h
<<\_ACEOF
20590 #define wxUSE_ODBC 1
20595 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20596 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20598 WIN32INSTALL
=win32install
20601 if test "$wxUSE_GUI" = "yes"; then
20610 if test "$wxUSE_MSW" = 1 ; then
20616 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20620 if test "$wxUSE_GTK" = 1; then
20621 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20622 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20624 gtk_version_cached
=1
20625 if test "${wx_cv_lib_gtk+set}" = set; then
20626 echo $ECHO_N "(cached) $ECHO_C" >&6
20629 gtk_version_cached
=0
20630 echo "$as_me:$LINENO: result: " >&5
20631 echo "${ECHO_T}" >&6
20634 if test "$wxUSE_THREADS" = "yes"; then
20635 GTK_MODULES
=gthread
20639 if test "x$wxUSE_GTK2" = "xyes"; then
20640 # Check whether --enable-gtktest or --disable-gtktest was given.
20641 if test "${enable_gtktest+set}" = set; then
20642 enableval
="$enable_gtktest"
20648 pkg_config_args
=gtk
+-2.0
20649 for module
in .
$GTK_MODULES
20653 pkg_config_args
="$pkg_config_args gthread-2.0"
20660 # Extract the first word of "pkg-config", so it can be a program name with args.
20661 set dummy pkg
-config; ac_word
=$2
20662 echo "$as_me:$LINENO: checking for $ac_word" >&5
20663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20664 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20665 echo $ECHO_N "(cached) $ECHO_C" >&6
20667 case $PKG_CONFIG in
20669 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20673 for as_dir
in $PATH
20676 test -z "$as_dir" && as_dir
=.
20677 for ac_exec_ext
in '' $ac_executable_extensions; do
20678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20679 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20690 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20692 if test -n "$PKG_CONFIG"; then
20693 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20694 echo "${ECHO_T}$PKG_CONFIG" >&6
20696 echo "$as_me:$LINENO: result: no" >&5
20697 echo "${ECHO_T}no" >&6
20701 if test x
$PKG_CONFIG != xno
; then
20702 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20705 echo *** pkg
-config too old
; version
0.7 or better required.
20713 min_gtk_version
=2.0.0
20714 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20715 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20717 if test x
$PKG_CONFIG != xno
; then
20718 ## don't try to run the test against uninstalled libtool libs
20719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20720 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20731 if test x
"$no_gtk" = x
; then
20732 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20733 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20734 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20736 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20738 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20740 if test "x$enable_gtktest" = "xyes" ; then
20741 ac_save_CFLAGS
="$CFLAGS"
20742 ac_save_LIBS
="$LIBS"
20743 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20744 LIBS
="$GTK_LIBS $LIBS"
20746 if test "$cross_compiling" = yes; then
20747 echo $ac_n "cross compiling; assumed OK... $ac_c"
20749 cat >conftest.
$ac_ext <<_ACEOF
20750 #line $LINENO "configure"
20753 cat confdefs.h
>>conftest.
$ac_ext
20754 cat >>conftest.
$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20757 #include <gtk/gtk.h>
20759 #include <stdlib.h>
20764 int major, minor, micro;
20767 system ("touch conf.gtktest");
20769 /* HP/UX 9 (%@#!) writes to sscanf strings */
20770 tmp_version = g_strdup("$min_gtk_version");
20771 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20772 printf("%s, bad version string\n", "$min_gtk_version");
20776 if ((gtk_major_version != $gtk_config_major_version) ||
20777 (gtk_minor_version != $gtk_config_minor_version) ||
20778 (gtk_micro_version != $gtk_config_micro_version))
20780 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20781 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20782 gtk_major_version, gtk_minor_version, gtk_micro_version);
20783 printf ("*** was found! If pkg-config was correct, then it is best\n");
20784 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20785 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20786 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20787 printf("*** required on your system.\n");
20788 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20789 printf("*** to point to the correct configuration files\n");
20791 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20792 (gtk_minor_version != GTK_MINOR_VERSION) ||
20793 (gtk_micro_version != GTK_MICRO_VERSION))
20795 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20796 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20797 printf("*** library (version %d.%d.%d)\n",
20798 gtk_major_version, gtk_minor_version, gtk_micro_version);
20802 if ((gtk_major_version > major) ||
20803 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20804 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20810 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20811 gtk_major_version, gtk_minor_version, gtk_micro_version);
20812 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20813 major, minor, micro);
20814 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20816 printf("*** If you have already installed a sufficiently new version, this error\n");
20817 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20818 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20819 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20820 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20821 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20822 printf("*** so that the correct libraries are found at run-time))\n");
20829 rm -f conftest
$ac_exeext
20830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20831 (eval $ac_link) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20836 (eval $ac_try) 2>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); }; }; then
20842 echo "$as_me: program exited with status $ac_status" >&5
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.
$ac_ext >&5
20846 ( exit $ac_status )
20849 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20851 CFLAGS
="$ac_save_CFLAGS"
20852 LIBS
="$ac_save_LIBS"
20855 if test "x$no_gtk" = x
; then
20856 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20857 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20860 echo "$as_me:$LINENO: result: no" >&5
20861 echo "${ECHO_T}no" >&6
20862 if test "$PKG_CONFIG" = "no" ; then
20863 echo "*** A new enough version of pkg-config was not found."
20864 echo "*** See http://pkgconfig.sourceforge.net"
20866 if test -f conf.gtktest
; then
20869 echo "*** Could not run GTK+ test program, checking why..."
20870 ac_save_CFLAGS
="$CFLAGS"
20871 ac_save_LIBS
="$LIBS"
20872 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20873 LIBS
="$LIBS $GTK_LIBS"
20874 cat >conftest.
$ac_ext <<_ACEOF
20875 #line $LINENO "configure"
20878 cat confdefs.h
>>conftest.
$ac_ext
20879 cat >>conftest.
$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20882 #include <gtk/gtk.h>
20888 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20893 rm -f conftest.
$ac_objext conftest
$ac_exeext
20894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20895 (eval $ac_link) 2>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try
='test -s conftest$ac_exeext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 echo "*** The test program compiled, but did not run. This usually means"
20906 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20907 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20908 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20909 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20910 echo "*** is required on your system"
20912 echo "*** If you have an old version installed, it is best to remove it, although"
20913 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20918 echo "*** The test program failed to compile or link. See the file config.log for the"
20919 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20921 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20922 CFLAGS
="$ac_save_CFLAGS"
20923 LIBS
="$ac_save_LIBS"
20936 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20937 if test "${with_gtk_prefix+set}" = set; then
20938 withval
="$with_gtk_prefix"
20939 gtk_config_prefix
="$withval"
20941 gtk_config_prefix
=""
20944 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20945 if test "${with_gtk_exec_prefix+set}" = set; then
20946 withval
="$with_gtk_exec_prefix"
20947 gtk_config_exec_prefix
="$withval"
20949 gtk_config_exec_prefix
=""
20951 # Check whether --enable-gtktest or --disable-gtktest was given.
20952 if test "${enable_gtktest+set}" = set; then
20953 enableval
="$enable_gtktest"
20959 for module
in .
$GTK_MODULES
20963 gtk_config_args
="$gtk_config_args gthread"
20968 if test x
$gtk_config_exec_prefix != x
; then
20969 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20970 if test x
${GTK_CONFIG+set} != xset
; then
20971 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20974 if test x
$gtk_config_prefix != x
; then
20975 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20976 if test x
${GTK_CONFIG+set} != xset
; then
20977 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20981 # Extract the first word of "gtk-config", so it can be a program name with args.
20982 set dummy gtk
-config; ac_word
=$2
20983 echo "$as_me:$LINENO: checking for $ac_word" >&5
20984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20985 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20986 echo $ECHO_N "(cached) $ECHO_C" >&6
20988 case $GTK_CONFIG in
20990 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20994 for as_dir
in $PATH
20997 test -z "$as_dir" && as_dir
=.
20998 for ac_exec_ext
in '' $ac_executable_extensions; do
20999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21000 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21007 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21011 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21013 if test -n "$GTK_CONFIG"; then
21014 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21015 echo "${ECHO_T}$GTK_CONFIG" >&6
21017 echo "$as_me:$LINENO: result: no" >&5
21018 echo "${ECHO_T}no" >&6
21021 min_gtk_version
=1.2.7
21022 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21023 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21025 if test "$GTK_CONFIG" = "no" ; then
21028 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21029 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21030 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21032 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21034 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21036 if test "x$enable_gtktest" = "xyes" ; then
21037 ac_save_CFLAGS
="$CFLAGS"
21038 ac_save_LIBS
="$LIBS"
21039 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21040 LIBS
="$GTK_LIBS $LIBS"
21042 if test "$cross_compiling" = yes; then
21043 echo $ac_n "cross compiling; assumed OK... $ac_c"
21045 cat >conftest.
$ac_ext <<_ACEOF
21046 #line $LINENO "configure"
21049 cat confdefs.h
>>conftest.
$ac_ext
21050 cat >>conftest.
$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21053 #include <gtk/gtk.h>
21055 #include <stdlib.h>
21060 int major, minor, micro;
21063 system ("touch conf.gtktest");
21065 /* HP/UX 9 (%@#!) writes to sscanf strings */
21066 tmp_version = g_strdup("$min_gtk_version");
21067 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21068 printf("%s, bad version string\n", "$min_gtk_version");
21072 if ((gtk_major_version != $gtk_config_major_version) ||
21073 (gtk_minor_version != $gtk_config_minor_version) ||
21074 (gtk_micro_version != $gtk_config_micro_version))
21076 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21077 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21078 gtk_major_version, gtk_minor_version, gtk_micro_version);
21079 printf ("*** was found! If gtk-config was correct, then it is best\n");
21080 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21081 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21082 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21083 printf("*** required on your system.\n");
21084 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21085 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21086 printf("*** before re-running configure\n");
21088 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21089 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21090 (gtk_minor_version != GTK_MINOR_VERSION) ||
21091 (gtk_micro_version != GTK_MICRO_VERSION))
21093 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21094 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21095 printf("*** library (version %d.%d.%d)\n",
21096 gtk_major_version, gtk_minor_version, gtk_micro_version);
21098 #endif /* defined (GTK_MAJOR_VERSION) ... */
21101 if ((gtk_major_version > major) ||
21102 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21103 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21109 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21110 gtk_major_version, gtk_minor_version, gtk_micro_version);
21111 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21112 major, minor, micro);
21113 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21115 printf("*** If you have already installed a sufficiently new version, this error\n");
21116 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21117 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21118 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21119 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21120 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21121 printf("*** so that the correct libraries are found at run-time))\n");
21128 rm -f conftest
$ac_exeext
21129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21130 (eval $ac_link) 2>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21141 echo "$as_me: program exited with status $ac_status" >&5
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.
$ac_ext >&5
21145 ( exit $ac_status )
21148 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21150 CFLAGS
="$ac_save_CFLAGS"
21151 LIBS
="$ac_save_LIBS"
21154 if test "x$no_gtk" = x
; then
21155 echo "$as_me:$LINENO: result: yes" >&5
21156 echo "${ECHO_T}yes" >&6
21157 wx_cv_lib_gtk
=1.2.7
21159 echo "$as_me:$LINENO: result: no" >&5
21160 echo "${ECHO_T}no" >&6
21161 if test "$GTK_CONFIG" = "no" ; then
21162 echo "*** The gtk-config script installed by GTK could not be found"
21163 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21164 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21165 echo "*** full path to gtk-config."
21167 if test -f conf.gtktest
; then
21170 echo "*** Could not run GTK test program, checking why..."
21171 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21172 LIBS
="$LIBS $GTK_LIBS"
21173 cat >conftest.
$ac_ext <<_ACEOF
21174 #line $LINENO "configure"
21177 cat confdefs.h
>>conftest.
$ac_ext
21178 cat >>conftest.
$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21181 #include <gtk/gtk.h>
21187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21192 rm -f conftest.
$ac_objext conftest
$ac_exeext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21194 (eval $ac_link) 2>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } &&
21198 { ac_try
='test -s conftest$ac_exeext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 echo "*** The test program compiled, but did not run. This usually means"
21205 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21206 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21207 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21208 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21209 echo "*** is required on your system"
21211 echo "*** If you have an old version installed, it is best to remove it, although"
21212 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21214 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21215 echo "*** came with the system with the command"
21217 echo "*** rpm --erase --nodeps gtk gtk-devel"
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.
$ac_ext >&5
21222 echo "*** The test program failed to compile or link. See the file config.log for the"
21223 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21224 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21225 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21227 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21228 CFLAGS
="$ac_save_CFLAGS"
21229 LIBS
="$ac_save_LIBS"
21241 if test -z "$wx_cv_lib_gtk"; then
21243 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21244 if test "${with_gtk_prefix+set}" = set; then
21245 withval
="$with_gtk_prefix"
21246 gtk_config_prefix
="$withval"
21248 gtk_config_prefix
=""
21251 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21252 if test "${with_gtk_exec_prefix+set}" = set; then
21253 withval
="$with_gtk_exec_prefix"
21254 gtk_config_exec_prefix
="$withval"
21256 gtk_config_exec_prefix
=""
21258 # Check whether --enable-gtktest or --disable-gtktest was given.
21259 if test "${enable_gtktest+set}" = set; then
21260 enableval
="$enable_gtktest"
21266 for module
in .
$GTK_MODULES
21270 gtk_config_args
="$gtk_config_args gthread"
21275 if test x
$gtk_config_exec_prefix != x
; then
21276 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21277 if test x
${GTK_CONFIG+set} != xset
; then
21278 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21281 if test x
$gtk_config_prefix != x
; then
21282 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21283 if test x
${GTK_CONFIG+set} != xset
; then
21284 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21288 # Extract the first word of "gtk-config", so it can be a program name with args.
21289 set dummy gtk
-config; ac_word
=$2
21290 echo "$as_me:$LINENO: checking for $ac_word" >&5
21291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21292 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 case $GTK_CONFIG in
21297 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21301 for as_dir
in $PATH
21304 test -z "$as_dir" && as_dir
=.
21305 for ac_exec_ext
in '' $ac_executable_extensions; do
21306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21307 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21314 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21318 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21320 if test -n "$GTK_CONFIG"; then
21321 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21322 echo "${ECHO_T}$GTK_CONFIG" >&6
21324 echo "$as_me:$LINENO: result: no" >&5
21325 echo "${ECHO_T}no" >&6
21328 min_gtk_version
=1.2.3
21329 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21330 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21332 if test "$GTK_CONFIG" = "no" ; then
21335 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21336 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21337 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21339 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21340 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21341 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21342 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21343 if test "x$enable_gtktest" = "xyes" ; then
21344 ac_save_CFLAGS
="$CFLAGS"
21345 ac_save_LIBS
="$LIBS"
21346 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21347 LIBS
="$GTK_LIBS $LIBS"
21349 if test "$cross_compiling" = yes; then
21350 echo $ac_n "cross compiling; assumed OK... $ac_c"
21352 cat >conftest.
$ac_ext <<_ACEOF
21353 #line $LINENO "configure"
21356 cat confdefs.h
>>conftest.
$ac_ext
21357 cat >>conftest.
$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21360 #include <gtk/gtk.h>
21362 #include <stdlib.h>
21367 int major, minor, micro;
21370 system ("touch conf.gtktest");
21372 /* HP/UX 9 (%@#!) writes to sscanf strings */
21373 tmp_version = g_strdup("$min_gtk_version");
21374 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21375 printf("%s, bad version string\n", "$min_gtk_version");
21379 if ((gtk_major_version != $gtk_config_major_version) ||
21380 (gtk_minor_version != $gtk_config_minor_version) ||
21381 (gtk_micro_version != $gtk_config_micro_version))
21383 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21384 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21385 gtk_major_version, gtk_minor_version, gtk_micro_version);
21386 printf ("*** was found! If gtk-config was correct, then it is best\n");
21387 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21388 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21389 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21390 printf("*** required on your system.\n");
21391 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21392 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21393 printf("*** before re-running configure\n");
21395 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21396 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21397 (gtk_minor_version != GTK_MINOR_VERSION) ||
21398 (gtk_micro_version != GTK_MICRO_VERSION))
21400 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21401 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21402 printf("*** library (version %d.%d.%d)\n",
21403 gtk_major_version, gtk_minor_version, gtk_micro_version);
21405 #endif /* defined (GTK_MAJOR_VERSION) ... */
21408 if ((gtk_major_version > major) ||
21409 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21410 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21416 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21417 gtk_major_version, gtk_minor_version, gtk_micro_version);
21418 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21419 major, minor, micro);
21420 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21422 printf("*** If you have already installed a sufficiently new version, this error\n");
21423 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21424 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21425 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21426 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21427 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21428 printf("*** so that the correct libraries are found at run-time))\n");
21435 rm -f conftest
$ac_exeext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21437 (eval $ac_link) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21448 echo "$as_me: program exited with status $ac_status" >&5
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.
$ac_ext >&5
21452 ( exit $ac_status )
21455 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21457 CFLAGS
="$ac_save_CFLAGS"
21458 LIBS
="$ac_save_LIBS"
21461 if test "x$no_gtk" = x
; then
21462 echo "$as_me:$LINENO: result: yes" >&5
21463 echo "${ECHO_T}yes" >&6
21464 wx_cv_lib_gtk
=1.2.3
21466 echo "$as_me:$LINENO: result: no" >&5
21467 echo "${ECHO_T}no" >&6
21468 if test "$GTK_CONFIG" = "no" ; then
21469 echo "*** The gtk-config script installed by GTK could not be found"
21470 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21471 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21472 echo "*** full path to gtk-config."
21474 if test -f conf.gtktest
; then
21477 echo "*** Could not run GTK test program, checking why..."
21478 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21479 LIBS
="$LIBS $GTK_LIBS"
21480 cat >conftest.
$ac_ext <<_ACEOF
21481 #line $LINENO "configure"
21484 cat confdefs.h
>>conftest.
$ac_ext
21485 cat >>conftest.
$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21488 #include <gtk/gtk.h>
21494 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21499 rm -f conftest.
$ac_objext conftest
$ac_exeext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21501 (eval $ac_link) 2>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try
='test -s conftest$ac_exeext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 echo "*** The test program compiled, but did not run. This usually means"
21512 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21513 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21514 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21515 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21516 echo "*** is required on your system"
21518 echo "*** If you have an old version installed, it is best to remove it, although"
21519 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21521 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21522 echo "*** came with the system with the command"
21524 echo "*** rpm --erase --nodeps gtk gtk-devel"
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.
$ac_ext >&5
21529 echo "*** The test program failed to compile or link. See the file config.log for the"
21530 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21531 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21532 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21534 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21535 CFLAGS
="$ac_save_CFLAGS"
21536 LIBS
="$ac_save_LIBS"
21550 if test -z "$wx_cv_lib_gtk"; then
21553 wx_cv_cflags_gtk
=$GTK_CFLAGS
21554 wx_cv_libs_gtk
=$GTK_LIBS
21561 if test "$gtk_version_cached" = 1; then
21562 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21563 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21566 case "$wx_cv_lib_gtk" in
21575 *) { { echo "$as_me:$LINENO: error:
21576 Please check that gtk-config is in path, the directory
21577 where GTK+ libraries are installed (returned by
21578 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21579 equivalent variable and GTK+ is version 1.2.3 or above.
21581 echo "$as_me: error:
21582 Please check that gtk-config is in path, the directory
21583 where GTK+ libraries are installed (returned by
21584 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21585 equivalent variable and GTK+ is version 1.2.3 or above.
21587 { (exit 1); exit 1; }; }
21591 if test "$WXGTK20" = 1; then
21592 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21596 if test -z "$PKG_CONFIG"; then
21597 # Extract the first word of "pkg-config", so it can be a program name with args.
21598 set dummy pkg
-config; ac_word
=$2
21599 echo "$as_me:$LINENO: checking for $ac_word" >&5
21600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21601 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 case $PKG_CONFIG in
21606 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21610 for as_dir
in $PATH
21613 test -z "$as_dir" && as_dir
=.
21614 for ac_exec_ext
in '' $ac_executable_extensions; do
21615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21616 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21623 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21627 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21629 if test -n "$PKG_CONFIG"; then
21630 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21631 echo "${ECHO_T}$PKG_CONFIG" >&6
21633 echo "$as_me:$LINENO: result: no" >&5
21634 echo "${ECHO_T}no" >&6
21639 if test "$PKG_CONFIG" = "no" ; then
21640 echo "*** The pkg-config script could not be found. Make sure it is"
21641 echo "*** in your path, or set the PKG_CONFIG environment variable"
21642 echo "*** to the full path to pkg-config."
21643 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21645 PKG_CONFIG_MIN_VERSION
=0.9.0
21646 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21647 echo "$as_me:$LINENO: checking for pangoft2" >&5
21648 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21650 if $PKG_CONFIG --exists "pangoft2" ; then
21651 echo "$as_me:$LINENO: result: yes" >&5
21652 echo "${ECHO_T}yes" >&6
21655 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21656 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21657 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21658 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21659 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21661 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21662 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21663 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21664 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21665 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21669 ## If we have a custom action on failure, don't print errors, but
21670 ## do set a variable so people can do so.
21671 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21678 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21679 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21683 if test $succeeded = yes; then
21685 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21686 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21690 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21691 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21692 wxUSE_PRINTING_ARCHITECTURE
="no"
21699 if test "$wxUSE_UNICODE" = "yes"; then
21700 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21701 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21706 if test "$USE_DARWIN" != 1; then
21708 for ac_func
in poll
21710 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21711 echo "$as_me:$LINENO: checking for $ac_func" >&5
21712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21713 if eval "test \"\${$as_ac_var+set}\" = set"; then
21714 echo $ECHO_N "(cached) $ECHO_C" >&6
21716 cat >conftest.
$ac_ext <<_ACEOF
21717 #line $LINENO "configure"
21720 cat confdefs.h
>>conftest.
$ac_ext
21721 cat >>conftest.
$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 /* System header to define __stub macros and hopefully few prototypes,
21724 which can conflict with char $ac_func (); below.
21725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21726 <limits.h> exists even on freestanding compilers. */
21728 # include <limits.h>
21730 # include <assert.h>
21732 /* Override any gcc2 internal prototype to avoid an error. */
21737 /* We use char because int might match the return type of a gcc2
21738 builtin and then its argument prototype would still apply. */
21740 /* The GNU C library defines this for functions which it implements
21741 to always fail with ENOSYS. Some functions are actually named
21742 something starting with __ and the normal name is an alias. */
21743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21746 char (*f) () = $ac_func;
21755 return f != $ac_func;
21760 rm -f conftest.
$ac_objext conftest
$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762 (eval $ac_link) 2>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try
='test -s conftest$ac_exeext'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; }; then
21772 eval "$as_ac_var=yes"
21774 echo "$as_me: failed program was:" >&5
21775 sed 's/^/| /' conftest.
$ac_ext >&5
21777 eval "$as_ac_var=no"
21779 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21783 if test `eval echo '${'$as_ac_var'}'` = yes; then
21784 cat >>confdefs.h
<<_ACEOF
21785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21793 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21794 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21796 AFMINSTALL
=afminstall
21800 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21801 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21802 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21803 echo $ECHO_N "(cached) $ECHO_C" >&6
21805 ac_check_lib_save_LIBS
=$LIBS
21807 cat >conftest.
$ac_ext <<_ACEOF
21808 #line $LINENO "configure"
21811 cat confdefs.h
>>conftest.
$ac_ext
21812 cat >>conftest.
$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21815 /* Override any gcc2 internal prototype to avoid an error. */
21819 /* We use char because int might match the return type of a gcc2
21820 builtin and then its argument prototype would still apply. */
21821 char gdk_im_open ();
21830 rm -f conftest.
$ac_objext conftest
$ac_exeext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21832 (eval $ac_link) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } &&
21836 { ac_try
='test -s conftest$ac_exeext'
21837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21838 (eval $ac_try) 2>&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); }; }; then
21842 ac_cv_lib_gdk_gdk_im_open
=yes
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.
$ac_ext >&5
21847 ac_cv_lib_gdk_gdk_im_open
=no
21849 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21850 LIBS
=$ac_check_lib_save_LIBS
21852 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21853 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21854 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21855 cat >>confdefs.h
<<\_ACEOF
21863 if test "$wxUSE_MGL" = 1; then
21864 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21865 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21866 if test "x$MGL_ROOT" = x
; then
21867 echo "$as_me:$LINENO: result: not found" >&5
21868 echo "${ECHO_T}not found" >&6
21869 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21870 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21871 { (exit 1); exit 1; }; }
21873 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21874 echo "${ECHO_T}$MGL_ROOT" >&6
21877 echo "$as_me:$LINENO: checking for libmgl location" >&5
21878 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21881 if test "x$wxUSE_SHARED" = xyes
; then
21882 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21884 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21888 mgl_os_candidates
="dos32/dj2"
21891 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21892 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21893 { (exit 1); exit 1; }; }
21899 for mgl_os_i
in $mgl_os_candidates ; do
21900 if test "x$mgl_os" = x
; then
21901 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21902 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21903 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21908 if test "x$mgl_lib_type" = x
; then
21909 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21910 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21911 mgl_lib_type
=release
21918 if test "x$mgl_os" = x
; then
21919 echo "$as_me:$LINENO: result: not found" >&5
21920 echo "${ECHO_T}not found" >&6
21921 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21922 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21923 { (exit 1); exit 1; }; }
21925 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21926 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21928 wxUSE_UNIVERSAL
="yes"
21930 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21931 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21933 AFMINSTALL
=afminstall
21938 if test "$wxUSE_MICROWIN" = 1; then
21939 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21940 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21941 if test "x$MICROWINDOWS" = 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 MicroWindows library. Make sure MICROWINDOWS is set." >&5
21945 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21946 { (exit 1); exit 1; }; }
21948 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21949 echo "${ECHO_T}$MICROWINDOWS" >&6
21952 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21953 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21954 echo "${ECHO_T}MicroWindows' libraries found." >&6
21956 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21957 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21958 { (exit 1); exit 1; }; }
21961 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21962 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21964 wxUSE_UNIVERSAL
="yes"
21966 AFMINSTALL
=afminstall
21968 GUIDIST
=MICROWIN_DIST
21970 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21973 if test "$wxUSE_X11" = 1; then
21974 echo "$as_me:$LINENO: checking for X" >&5
21975 echo $ECHO_N "checking for X... $ECHO_C" >&6
21978 # Check whether --with-x or --without-x was given.
21979 if test "${with_x+set}" = set; then
21983 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21984 if test "x$with_x" = xno
; then
21985 # The user explicitly disabled X.
21988 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21989 # Both variables are already set.
21992 if test "${ac_cv_have_x+set}" = set; then
21993 echo $ECHO_N "(cached) $ECHO_C" >&6
21995 # One or both of the vars are not set, and there is no cached value.
21996 ac_x_includes
=no ac_x_libraries
=no
21997 rm -fr conftest.dir
21998 if mkdir conftest.dir
; then
22000 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22001 cat >Imakefile
<<'_ACEOF'
22003 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22005 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
22006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22007 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22008 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22009 for ac_extension
in a so sl
; do
22010 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
22011 test -f $ac_im_libdir/libX11.
$ac_extension; then
22012 ac_im_usrlibdir
=$ac_im_libdir; break
22015 # Screen out bogus values from the imake configuration. They are
22016 # bogus both because they are the default anyway, and because
22017 # using them would break gcc on systems where it needs fixed includes.
22018 case $ac_im_incroot in
22020 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
22022 case $ac_im_usrlibdir in
22023 /usr
/lib
| /lib
) ;;
22024 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
22028 rm -fr conftest.dir
22031 # Standard set of common directories for X headers.
22032 # Check X11 before X11Rn because it is often a symlink to the current release.
22044 /usr/local/X11/include
22045 /usr/local/X11R6/include
22046 /usr/local/X11R5/include
22047 /usr/local/X11R4/include
22049 /usr/local/include/X11
22050 /usr/local/include/X11R6
22051 /usr/local/include/X11R5
22052 /usr/local/include/X11R4
22056 /usr/XFree86/include/X11
22060 /usr/unsupported/include
22061 /usr/athena/include
22062 /usr/local/x11r5/include
22063 /usr/lpp/Xamples/include
22065 /usr/openwin/include
22066 /usr/openwin/share/include'
22068 if test "$ac_x_includes" = no
; then
22069 # Guess where to find include files, by looking for Intrinsic.h.
22070 # First, try using that file with no special directory specified.
22071 cat >conftest.
$ac_ext <<_ACEOF
22072 #line $LINENO "configure"
22075 cat confdefs.h
>>conftest.
$ac_ext
22076 cat >>conftest.
$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 #include <X11/Intrinsic.h>
22080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22083 grep -v '^ *+' conftest.er1
>conftest.err
22085 cat conftest.err
>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } >/dev
/null
; then
22088 if test -s conftest.err
; then
22089 ac_cpp_err
=$ac_c_preproc_warn_flag
22096 if test -z "$ac_cpp_err"; then
22097 # We can compile using X headers with no special include directory.
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.
$ac_ext >&5
22103 for ac_dir
in $ac_x_header_dirs; do
22104 if test -r "$ac_dir/X11/Intrinsic.h"; then
22105 ac_x_includes
=$ac_dir
22110 rm -f conftest.err conftest.
$ac_ext
22111 fi # $ac_x_includes = no
22113 if test "$ac_x_libraries" = no
; then
22114 # Check for the libraries.
22115 # See if we find them without any special options.
22116 # Don't add to $LIBS permanently.
22119 cat >conftest.
$ac_ext <<_ACEOF
22120 #line $LINENO "configure"
22123 cat confdefs.h
>>conftest.
$ac_ext
22124 cat >>conftest.
$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22126 #include <X11/Intrinsic.h>
22135 rm -f conftest.
$ac_objext conftest
$ac_exeext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22137 (eval $ac_link) 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try
='test -s conftest$ac_exeext'
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22143 (eval $ac_try) 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; }; then
22148 # We can link X programs with no special library path.
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.
$ac_ext >&5
22155 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22157 # Don't even attempt the hair of trying to link an X program!
22158 for ac_extension
in a so sl
; do
22159 if test -r $ac_dir/libXt.
$ac_extension; then
22160 ac_x_libraries
=$ac_dir
22166 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22167 fi # $ac_x_libraries = no
22169 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
22170 # Didn't find X anywhere. Cache the known absence of X.
22171 ac_cv_have_x
="have_x=no"
22173 # Record where we found X for the cache.
22174 ac_cv_have_x
="have_x=yes \
22175 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22180 eval "$ac_cv_have_x"
22183 if test "$have_x" != yes; then
22184 echo "$as_me:$LINENO: result: $have_x" >&5
22185 echo "${ECHO_T}$have_x" >&6
22188 # If each of the values was on the command line, it overrides each guess.
22189 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
22190 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
22191 # Update the cache value to reflect the command line values.
22192 ac_cv_have_x
="have_x=yes \
22193 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22194 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22195 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22198 if test "$no_x" = yes; then
22199 # Not all programs may use this symbol, but it does not hurt to define it.
22201 cat >>confdefs.h
<<\_ACEOF
22202 #define X_DISPLAY_MISSING 1
22205 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22207 if test -n "$x_includes"; then
22208 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22211 # It would also be nice to do this for all -L options, not just this one.
22212 if test -n "$x_libraries"; then
22213 X_LIBS
="$X_LIBS -L$x_libraries"
22214 # For Solaris; some versions of Sun CC require a space after -R and
22215 # others require no space. Words are not sufficient . . . .
22216 case `(uname -sr) 2>/dev/null` in
22218 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22219 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22220 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22221 cat >conftest.
$ac_ext <<_ACEOF
22222 #line $LINENO "configure"
22225 cat confdefs.h
>>conftest.
$ac_ext
22226 cat >>conftest.
$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22237 rm -f conftest.
$ac_objext conftest
$ac_exeext
22238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22239 (eval $ac_link) 2>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try
='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.
$ac_ext >&5
22256 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22257 if test $ac_R_nospace = yes; then
22258 echo "$as_me:$LINENO: result: no" >&5
22259 echo "${ECHO_T}no" >&6
22260 X_LIBS
="$X_LIBS -R$x_libraries"
22262 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22263 cat >conftest.
$ac_ext <<_ACEOF
22264 #line $LINENO "configure"
22267 cat confdefs.h
>>conftest.
$ac_ext
22268 cat >>conftest.
$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22279 rm -f conftest.
$ac_objext conftest
$ac_exeext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22281 (eval $ac_link) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } &&
22285 { ac_try
='test -s conftest$ac_exeext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.
$ac_ext >&5
22298 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22299 if test $ac_R_space = yes; then
22300 echo "$as_me:$LINENO: result: yes" >&5
22301 echo "${ECHO_T}yes" >&6
22302 X_LIBS
="$X_LIBS -R $x_libraries"
22304 echo "$as_me:$LINENO: result: neither works" >&5
22305 echo "${ECHO_T}neither works" >&6
22308 LIBS
=$ac_xsave_LIBS
22312 # Check for system-dependent libraries X programs must link with.
22313 # Do this before checking for the system-independent R6 libraries
22314 # (-lICE), since we may need -lsocket or whatever for X linking.
22316 if test "$ISC" = yes; then
22317 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22319 # Martyn Johnson says this is needed for Ultrix, if the X
22320 # libraries were built with DECnet support. And Karl Berry says
22321 # the Alpha needs dnet_stub (dnet does not exist).
22322 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22323 cat >conftest.
$ac_ext <<_ACEOF
22324 #line $LINENO "configure"
22327 cat confdefs.h
>>conftest.
$ac_ext
22328 cat >>conftest.
$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22331 /* Override any gcc2 internal prototype to avoid an error. */
22335 /* We use char because int might match the return type of a gcc2
22336 builtin and then its argument prototype would still apply. */
22337 char XOpenDisplay ();
22346 rm -f conftest.
$ac_objext conftest
$ac_exeext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22348 (eval $ac_link) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try
='test -s conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22364 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22365 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22366 echo $ECHO_N "(cached) $ECHO_C" >&6
22368 ac_check_lib_save_LIBS
=$LIBS
22369 LIBS
="-ldnet $LIBS"
22370 cat >conftest.
$ac_ext <<_ACEOF
22371 #line $LINENO "configure"
22374 cat confdefs.h
>>conftest.
$ac_ext
22375 cat >>conftest.
$ac_ext <<_ACEOF
22376 /* end confdefs.h. */
22378 /* Override any gcc2 internal prototype to avoid an error. */
22382 /* We use char because int might match the return type of a gcc2
22383 builtin and then its argument prototype would still apply. */
22393 rm -f conftest.
$ac_objext conftest
$ac_exeext
22394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22395 (eval $ac_link) 2>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } &&
22399 { ac_try
='test -s conftest$ac_exeext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 ac_cv_lib_dnet_dnet_ntoa
=yes
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.
$ac_ext >&5
22410 ac_cv_lib_dnet_dnet_ntoa
=no
22412 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22413 LIBS
=$ac_check_lib_save_LIBS
22415 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22416 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22417 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22418 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22421 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22422 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22423 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22424 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 ac_check_lib_save_LIBS
=$LIBS
22428 LIBS
="-ldnet_stub $LIBS"
22429 cat >conftest.
$ac_ext <<_ACEOF
22430 #line $LINENO "configure"
22433 cat confdefs.h
>>conftest.
$ac_ext
22434 cat >>conftest.
$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22437 /* Override any gcc2 internal prototype to avoid an error. */
22441 /* We use char because int might match the return type of a gcc2
22442 builtin and then its argument prototype would still apply. */
22452 rm -f conftest.
$ac_objext conftest
$ac_exeext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22454 (eval $ac_link) 2>&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } &&
22458 { ac_try
='test -s conftest$ac_exeext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.
$ac_ext >&5
22469 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22471 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22472 LIBS
=$ac_check_lib_save_LIBS
22474 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22475 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22476 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22482 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22483 LIBS
="$ac_xsave_LIBS"
22485 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22486 # to get the SysV transport functions.
22487 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22489 # The nsl library prevents programs from opening the X display
22490 # on Irix 5.2, according to T.E. Dickey.
22491 # The functions gethostbyname, getservbyname, and inet_addr are
22492 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22493 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22494 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22495 if test "${ac_cv_func_gethostbyname+set}" = set; then
22496 echo $ECHO_N "(cached) $ECHO_C" >&6
22498 cat >conftest.
$ac_ext <<_ACEOF
22499 #line $LINENO "configure"
22502 cat confdefs.h
>>conftest.
$ac_ext
22503 cat >>conftest.
$ac_ext <<_ACEOF
22504 /* end confdefs.h. */
22505 /* System header to define __stub macros and hopefully few prototypes,
22506 which can conflict with char gethostbyname (); below.
22507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22508 <limits.h> exists even on freestanding compilers. */
22510 # include <limits.h>
22512 # include <assert.h>
22514 /* Override any gcc2 internal prototype to avoid an error. */
22519 /* We use char because int might match the return type of a gcc2
22520 builtin and then its argument prototype would still apply. */
22521 char gethostbyname ();
22522 /* The GNU C library defines this for functions which it implements
22523 to always fail with ENOSYS. Some functions are actually named
22524 something starting with __ and the normal name is an alias. */
22525 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22528 char (*f) () = gethostbyname;
22537 return f != gethostbyname;
22542 rm -f conftest.
$ac_objext conftest
$ac_exeext
22543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22544 (eval $ac_link) 2>&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); } &&
22548 { ac_try
='test -s conftest$ac_exeext'
22549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550 (eval $ac_try) 2>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; }; then
22554 ac_cv_func_gethostbyname
=yes
22556 echo "$as_me: failed program was:" >&5
22557 sed 's/^/| /' conftest.
$ac_ext >&5
22559 ac_cv_func_gethostbyname
=no
22561 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22563 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22566 if test $ac_cv_func_gethostbyname = no
; then
22567 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22572 ac_check_lib_save_LIBS
=$LIBS
22574 cat >conftest.
$ac_ext <<_ACEOF
22575 #line $LINENO "configure"
22578 cat confdefs.h
>>conftest.
$ac_ext
22579 cat >>conftest.
$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22582 /* Override any gcc2 internal prototype to avoid an error. */
22586 /* We use char because int might match the return type of a gcc2
22587 builtin and then its argument prototype would still apply. */
22588 char gethostbyname ();
22597 rm -f conftest.
$ac_objext conftest
$ac_exeext
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try
='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 ac_cv_lib_nsl_gethostbyname
=yes
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.
$ac_ext >&5
22614 ac_cv_lib_nsl_gethostbyname
=no
22616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22617 LIBS
=$ac_check_lib_save_LIBS
22619 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22620 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22621 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22622 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22625 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22626 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22627 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22628 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22629 echo $ECHO_N "(cached) $ECHO_C" >&6
22631 ac_check_lib_save_LIBS
=$LIBS
22633 cat >conftest.
$ac_ext <<_ACEOF
22634 #line $LINENO "configure"
22637 cat confdefs.h
>>conftest.
$ac_ext
22638 cat >>conftest.
$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22641 /* Override any gcc2 internal prototype to avoid an error. */
22645 /* We use char because int might match the return type of a gcc2
22646 builtin and then its argument prototype would still apply. */
22647 char gethostbyname ();
22656 rm -f conftest.
$ac_objext conftest
$ac_exeext
22657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22658 (eval $ac_link) 2>&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } &&
22662 { ac_try
='test -s conftest$ac_exeext'
22663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22664 (eval $ac_try) 2>&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; }; then
22668 ac_cv_lib_bsd_gethostbyname
=yes
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.
$ac_ext >&5
22673 ac_cv_lib_bsd_gethostbyname
=no
22675 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22676 LIBS
=$ac_check_lib_save_LIBS
22678 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22679 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22680 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22681 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22687 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22688 # socket/setsockopt and other routines are undefined under SCO ODT
22689 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22690 # on later versions), says Simon Leinen: it contains gethostby*
22691 # variants that don't use the name server (or something). -lsocket
22692 # must be given before -lnsl if both are needed. We assume that
22693 # if connect needs -lnsl, so does gethostbyname.
22694 echo "$as_me:$LINENO: checking for connect" >&5
22695 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22696 if test "${ac_cv_func_connect+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 cat >conftest.
$ac_ext <<_ACEOF
22700 #line $LINENO "configure"
22703 cat confdefs.h
>>conftest.
$ac_ext
22704 cat >>conftest.
$ac_ext <<_ACEOF
22705 /* end confdefs.h. */
22706 /* System header to define __stub macros and hopefully few prototypes,
22707 which can conflict with char connect (); below.
22708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22709 <limits.h> exists even on freestanding compilers. */
22711 # include <limits.h>
22713 # include <assert.h>
22715 /* Override any gcc2 internal prototype to avoid an error. */
22720 /* We use char because int might match the return type of a gcc2
22721 builtin and then its argument prototype would still apply. */
22723 /* The GNU C library defines this for functions which it implements
22724 to always fail with ENOSYS. Some functions are actually named
22725 something starting with __ and the normal name is an alias. */
22726 #if defined (__stub_connect) || defined (__stub___connect)
22729 char (*f) () = connect;
22738 return f != connect;
22743 rm -f conftest.
$ac_objext conftest
$ac_exeext
22744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22745 (eval $ac_link) 2>&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } &&
22749 { ac_try
='test -s conftest$ac_exeext'
22750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22751 (eval $ac_try) 2>&5
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); }; }; then
22755 ac_cv_func_connect
=yes
22757 echo "$as_me: failed program was:" >&5
22758 sed 's/^/| /' conftest.
$ac_ext >&5
22760 ac_cv_func_connect
=no
22762 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22764 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22765 echo "${ECHO_T}$ac_cv_func_connect" >&6
22767 if test $ac_cv_func_connect = no
; then
22768 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22769 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22770 if test "${ac_cv_lib_socket_connect+set}" = set; then
22771 echo $ECHO_N "(cached) $ECHO_C" >&6
22773 ac_check_lib_save_LIBS
=$LIBS
22774 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22775 cat >conftest.
$ac_ext <<_ACEOF
22776 #line $LINENO "configure"
22779 cat confdefs.h
>>conftest.
$ac_ext
22780 cat >>conftest.
$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22783 /* Override any gcc2 internal prototype to avoid an error. */
22787 /* We use char because int might match the return type of a gcc2
22788 builtin and then its argument prototype would still apply. */
22798 rm -f conftest.
$ac_objext conftest
$ac_exeext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22800 (eval $ac_link) 2>&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); } &&
22804 { ac_try
='test -s conftest$ac_exeext'
22805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22806 (eval $ac_try) 2>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; }; then
22810 ac_cv_lib_socket_connect
=yes
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.
$ac_ext >&5
22815 ac_cv_lib_socket_connect
=no
22817 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22818 LIBS
=$ac_check_lib_save_LIBS
22820 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22821 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22822 if test $ac_cv_lib_socket_connect = yes; then
22823 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22828 # Guillermo Gomez says -lposix is necessary on A/UX.
22829 echo "$as_me:$LINENO: checking for remove" >&5
22830 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22831 if test "${ac_cv_func_remove+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 cat >conftest.
$ac_ext <<_ACEOF
22835 #line $LINENO "configure"
22838 cat confdefs.h
>>conftest.
$ac_ext
22839 cat >>conftest.
$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841 /* System header to define __stub macros and hopefully few prototypes,
22842 which can conflict with char remove (); below.
22843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22844 <limits.h> exists even on freestanding compilers. */
22846 # include <limits.h>
22848 # include <assert.h>
22850 /* Override any gcc2 internal prototype to avoid an error. */
22855 /* We use char because int might match the return type of a gcc2
22856 builtin and then its argument prototype would still apply. */
22858 /* The GNU C library defines this for functions which it implements
22859 to always fail with ENOSYS. Some functions are actually named
22860 something starting with __ and the normal name is an alias. */
22861 #if defined (__stub_remove) || defined (__stub___remove)
22864 char (*f) () = remove;
22873 return f != remove;
22878 rm -f conftest.
$ac_objext conftest
$ac_exeext
22879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22880 (eval $ac_link) 2>&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } &&
22884 { ac_try
='test -s conftest$ac_exeext'
22885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886 (eval $ac_try) 2>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; }; then
22890 ac_cv_func_remove
=yes
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.
$ac_ext >&5
22895 ac_cv_func_remove
=no
22897 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22899 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22900 echo "${ECHO_T}$ac_cv_func_remove" >&6
22902 if test $ac_cv_func_remove = no
; then
22903 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22904 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22905 if test "${ac_cv_lib_posix_remove+set}" = set; then
22906 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 ac_check_lib_save_LIBS
=$LIBS
22909 LIBS
="-lposix $LIBS"
22910 cat >conftest.
$ac_ext <<_ACEOF
22911 #line $LINENO "configure"
22914 cat confdefs.h
>>conftest.
$ac_ext
22915 cat >>conftest.
$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22918 /* Override any gcc2 internal prototype to avoid an error. */
22922 /* We use char because int might match the return type of a gcc2
22923 builtin and then its argument prototype would still apply. */
22933 rm -f conftest.
$ac_objext conftest
$ac_exeext
22934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22935 (eval $ac_link) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } &&
22939 { ac_try
='test -s conftest$ac_exeext'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_lib_posix_remove
=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.
$ac_ext >&5
22950 ac_cv_lib_posix_remove
=no
22952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22953 LIBS
=$ac_check_lib_save_LIBS
22955 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22956 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22957 if test $ac_cv_lib_posix_remove = yes; then
22958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22963 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22964 echo "$as_me:$LINENO: checking for shmat" >&5
22965 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22966 if test "${ac_cv_func_shmat+set}" = set; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 cat >conftest.
$ac_ext <<_ACEOF
22970 #line $LINENO "configure"
22973 cat confdefs.h
>>conftest.
$ac_ext
22974 cat >>conftest.
$ac_ext <<_ACEOF
22975 /* end confdefs.h. */
22976 /* System header to define __stub macros and hopefully few prototypes,
22977 which can conflict with char shmat (); below.
22978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22979 <limits.h> exists even on freestanding compilers. */
22981 # include <limits.h>
22983 # include <assert.h>
22985 /* Override any gcc2 internal prototype to avoid an error. */
22990 /* We use char because int might match the return type of a gcc2
22991 builtin and then its argument prototype would still apply. */
22993 /* The GNU C library defines this for functions which it implements
22994 to always fail with ENOSYS. Some functions are actually named
22995 something starting with __ and the normal name is an alias. */
22996 #if defined (__stub_shmat) || defined (__stub___shmat)
22999 char (*f) () = shmat;
23013 rm -f conftest.
$ac_objext conftest
$ac_exeext
23014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23015 (eval $ac_link) 2>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } &&
23019 { ac_try
='test -s conftest$ac_exeext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 ac_cv_func_shmat
=yes
23027 echo "$as_me: failed program was:" >&5
23028 sed 's/^/| /' conftest.
$ac_ext >&5
23030 ac_cv_func_shmat
=no
23032 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23034 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23035 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23037 if test $ac_cv_func_shmat = no
; then
23038 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23039 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23040 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23041 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 ac_check_lib_save_LIBS
=$LIBS
23045 cat >conftest.
$ac_ext <<_ACEOF
23046 #line $LINENO "configure"
23049 cat confdefs.h
>>conftest.
$ac_ext
23050 cat >>conftest.
$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23053 /* Override any gcc2 internal prototype to avoid an error. */
23057 /* We use char because int might match the return type of a gcc2
23058 builtin and then its argument prototype would still apply. */
23068 rm -f conftest.
$ac_objext conftest
$ac_exeext
23069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23070 (eval $ac_link) 2>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try
='test -s conftest$ac_exeext'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; }; then
23080 ac_cv_lib_ipc_shmat
=yes
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.
$ac_ext >&5
23085 ac_cv_lib_ipc_shmat
=no
23087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23088 LIBS
=$ac_check_lib_save_LIBS
23090 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23091 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23092 if test $ac_cv_lib_ipc_shmat = yes; then
23093 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23099 # Check for libraries that X11R6 Xt/Xaw programs need.
23100 ac_save_LDFLAGS
=$LDFLAGS
23101 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23102 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23103 # check for ICE first), but we must link in the order -lSM -lICE or
23104 # we get undefined symbols. So assume we have SM if we have ICE.
23105 # These have to be linked with before -lX11, unlike the other
23106 # libraries we check for below, so use a different variable.
23107 # John Interrante, Karl Berry
23108 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23109 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23110 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 ac_check_lib_save_LIBS
=$LIBS
23114 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23115 cat >conftest.
$ac_ext <<_ACEOF
23116 #line $LINENO "configure"
23119 cat confdefs.h
>>conftest.
$ac_ext
23120 cat >>conftest.
$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23123 /* Override any gcc2 internal prototype to avoid an error. */
23127 /* We use char because int might match the return type of a gcc2
23128 builtin and then its argument prototype would still apply. */
23129 char IceConnectionNumber ();
23133 IceConnectionNumber ();
23138 rm -f conftest.
$ac_objext conftest
$ac_exeext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23140 (eval $ac_link) 2>&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } &&
23144 { ac_try
='test -s conftest$ac_exeext'
23145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23146 (eval $ac_try) 2>&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; }; then
23150 ac_cv_lib_ICE_IceConnectionNumber
=yes
23152 echo "$as_me: failed program was:" >&5
23153 sed 's/^/| /' conftest.
$ac_ext >&5
23155 ac_cv_lib_ICE_IceConnectionNumber
=no
23157 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23158 LIBS
=$ac_check_lib_save_LIBS
23160 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23161 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23162 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23163 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23166 LDFLAGS
=$ac_save_LDFLAGS
23171 if test "$no_x" = "yes"; then
23172 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23173 echo "$as_me: error: X11 not found" >&2;}
23174 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23177 GUI_TK_LIBRARY
="$X_LIBS"
23178 TOOLKIT_INCLUDE
="$X_CFLAGS"
23179 AFMINSTALL
=afminstall
23180 COMPILED_X_PROGRAM
=0
23182 if test "$wxUSE_NANOX" = "yes"; then
23183 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23184 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23185 if test "x$MICROWIN" = x
; then
23186 echo "$as_me:$LINENO: result: not found" >&5
23187 echo "${ECHO_T}not found" >&6
23188 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23189 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23190 { (exit 1); exit 1; }; }
23192 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23193 echo "${ECHO_T}$MICROWIN" >&6
23194 cat >>confdefs.h
<<\_ACEOF
23195 #define wxUSE_NANOX 1
23201 if test "$wxUSE_UNICODE" = "yes"; then
23205 if test -z "$PKG_CONFIG"; then
23206 # Extract the first word of "pkg-config", so it can be a program name with args.
23207 set dummy pkg
-config; ac_word
=$2
23208 echo "$as_me:$LINENO: checking for $ac_word" >&5
23209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23210 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23211 echo $ECHO_N "(cached) $ECHO_C" >&6
23213 case $PKG_CONFIG in
23215 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23219 for as_dir
in $PATH
23222 test -z "$as_dir" && as_dir
=.
23223 for ac_exec_ext
in '' $ac_executable_extensions; do
23224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23225 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23232 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23236 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23238 if test -n "$PKG_CONFIG"; then
23239 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23240 echo "${ECHO_T}$PKG_CONFIG" >&6
23242 echo "$as_me:$LINENO: result: no" >&5
23243 echo "${ECHO_T}no" >&6
23248 if test "$PKG_CONFIG" = "no" ; then
23249 echo "*** The pkg-config script could not be found. Make sure it is"
23250 echo "*** in your path, or set the PKG_CONFIG environment variable"
23251 echo "*** to the full path to pkg-config."
23252 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23254 PKG_CONFIG_MIN_VERSION
=0.9.0
23255 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23256 echo "$as_me:$LINENO: checking for pangox" >&5
23257 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23259 if $PKG_CONFIG --exists "pangox" ; then
23260 echo "$as_me:$LINENO: result: yes" >&5
23261 echo "${ECHO_T}yes" >&6
23264 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23265 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23266 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
23267 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23268 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23270 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23271 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23272 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
23273 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23274 echo "${ECHO_T}$PANGOX_LIBS" >&6
23278 ## If we have a custom action on failure, don't print errors, but
23279 ## do set a variable so people can do so.
23280 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
23287 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23288 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23292 if test $succeeded = yes; then
23294 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
23295 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
23299 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
23300 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
23301 { (exit 1); exit 1; }; }
23309 if test -z "$PKG_CONFIG"; then
23310 # Extract the first word of "pkg-config", so it can be a program name with args.
23311 set dummy pkg
-config; ac_word
=$2
23312 echo "$as_me:$LINENO: checking for $ac_word" >&5
23313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23314 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23317 case $PKG_CONFIG in
23319 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23323 for as_dir
in $PATH
23326 test -z "$as_dir" && as_dir
=.
23327 for ac_exec_ext
in '' $ac_executable_extensions; do
23328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23329 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23336 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23340 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23342 if test -n "$PKG_CONFIG"; then
23343 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23344 echo "${ECHO_T}$PKG_CONFIG" >&6
23346 echo "$as_me:$LINENO: result: no" >&5
23347 echo "${ECHO_T}no" >&6
23352 if test "$PKG_CONFIG" = "no" ; then
23353 echo "*** The pkg-config script could not be found. Make sure it is"
23354 echo "*** in your path, or set the PKG_CONFIG environment variable"
23355 echo "*** to the full path to pkg-config."
23356 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23358 PKG_CONFIG_MIN_VERSION
=0.9.0
23359 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23360 echo "$as_me:$LINENO: checking for pangoft2" >&5
23361 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23363 if $PKG_CONFIG --exists "pangoft2" ; then
23364 echo "$as_me:$LINENO: result: yes" >&5
23365 echo "${ECHO_T}yes" >&6
23368 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23369 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23370 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23371 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23372 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23374 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23375 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23376 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23377 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23378 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23382 ## If we have a custom action on failure, don't print errors, but
23383 ## do set a variable so people can do so.
23384 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23391 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23392 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23396 if test $succeeded = yes; then
23398 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23399 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23403 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23404 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23405 wxUSE_PRINTING_ARCHITECTURE
="no"
23413 if test -z "$PKG_CONFIG"; then
23414 # Extract the first word of "pkg-config", so it can be a program name with args.
23415 set dummy pkg
-config; ac_word
=$2
23416 echo "$as_me:$LINENO: checking for $ac_word" >&5
23417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23418 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23419 echo $ECHO_N "(cached) $ECHO_C" >&6
23421 case $PKG_CONFIG in
23423 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23427 for as_dir
in $PATH
23430 test -z "$as_dir" && as_dir
=.
23431 for ac_exec_ext
in '' $ac_executable_extensions; do
23432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23433 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23440 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23444 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23446 if test -n "$PKG_CONFIG"; then
23447 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23448 echo "${ECHO_T}$PKG_CONFIG" >&6
23450 echo "$as_me:$LINENO: result: no" >&5
23451 echo "${ECHO_T}no" >&6
23456 if test "$PKG_CONFIG" = "no" ; then
23457 echo "*** The pkg-config script could not be found. Make sure it is"
23458 echo "*** in your path, or set the PKG_CONFIG environment variable"
23459 echo "*** to the full path to pkg-config."
23460 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23462 PKG_CONFIG_MIN_VERSION
=0.9.0
23463 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23464 echo "$as_me:$LINENO: checking for pangoxft" >&5
23465 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23467 if $PKG_CONFIG --exists "pangoxft" ; then
23468 echo "$as_me:$LINENO: result: yes" >&5
23469 echo "${ECHO_T}yes" >&6
23472 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23473 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23474 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
23475 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23476 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23478 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23479 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23480 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23481 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23482 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23486 ## If we have a custom action on failure, don't print errors, but
23487 ## do set a variable so people can do so.
23488 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23495 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23496 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23500 if test $succeeded = yes; then
23502 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23503 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23507 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23508 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23515 wxUSE_UNIVERSAL
="yes"
23517 if test "$wxUSE_NANOX" = "yes"; then
23518 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23519 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"
23520 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23522 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
23525 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23530 if test "$wxUSE_MOTIF" = 1; then
23531 if test "$no_x" = yes; then
23532 # Not all programs may use this symbol, but it does not hurt to define it.
23534 cat >>confdefs.h
<<\_ACEOF
23535 #define X_DISPLAY_MISSING 1
23538 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23540 if test -n "$x_includes"; then
23541 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23544 # It would also be nice to do this for all -L options, not just this one.
23545 if test -n "$x_libraries"; then
23546 X_LIBS
="$X_LIBS -L$x_libraries"
23547 # For Solaris; some versions of Sun CC require a space after -R and
23548 # others require no space. Words are not sufficient . . . .
23549 case `(uname -sr) 2>/dev/null` in
23551 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23552 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23553 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23554 cat >conftest.
$ac_ext <<_ACEOF
23555 #line $LINENO "configure"
23558 cat confdefs.h
>>conftest.
$ac_ext
23559 cat >>conftest.
$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23570 rm -f conftest.
$ac_objext conftest
$ac_exeext
23571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23572 (eval $ac_link) 2>&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try
='test -s conftest$ac_exeext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23584 echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.
$ac_ext >&5
23589 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23590 if test $ac_R_nospace = yes; then
23591 echo "$as_me:$LINENO: result: no" >&5
23592 echo "${ECHO_T}no" >&6
23593 X_LIBS
="$X_LIBS -R$x_libraries"
23595 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23596 cat >conftest.
$ac_ext <<_ACEOF
23597 #line $LINENO "configure"
23600 cat confdefs.h
>>conftest.
$ac_ext
23601 cat >>conftest.
$ac_ext <<_ACEOF
23602 /* end confdefs.h. */
23612 rm -f conftest.
$ac_objext conftest
$ac_exeext
23613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23614 (eval $ac_link) 2>&5
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); } &&
23618 { ac_try
='test -s conftest$ac_exeext'
23619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620 (eval $ac_try) 2>&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.
$ac_ext >&5
23631 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23632 if test $ac_R_space = yes; then
23633 echo "$as_me:$LINENO: result: yes" >&5
23634 echo "${ECHO_T}yes" >&6
23635 X_LIBS
="$X_LIBS -R $x_libraries"
23637 echo "$as_me:$LINENO: result: neither works" >&5
23638 echo "${ECHO_T}neither works" >&6
23641 LIBS
=$ac_xsave_LIBS
23645 # Check for system-dependent libraries X programs must link with.
23646 # Do this before checking for the system-independent R6 libraries
23647 # (-lICE), since we may need -lsocket or whatever for X linking.
23649 if test "$ISC" = yes; then
23650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23652 # Martyn Johnson says this is needed for Ultrix, if the X
23653 # libraries were built with DECnet support. And Karl Berry says
23654 # the Alpha needs dnet_stub (dnet does not exist).
23655 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23656 cat >conftest.
$ac_ext <<_ACEOF
23657 #line $LINENO "configure"
23660 cat confdefs.h
>>conftest.
$ac_ext
23661 cat >>conftest.
$ac_ext <<_ACEOF
23662 /* end confdefs.h. */
23664 /* Override any gcc2 internal prototype to avoid an error. */
23668 /* We use char because int might match the return type of a gcc2
23669 builtin and then its argument prototype would still apply. */
23670 char XOpenDisplay ();
23679 rm -f conftest.
$ac_objext conftest
$ac_exeext
23680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23681 (eval $ac_link) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } &&
23685 { ac_try
='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.
$ac_ext >&5
23696 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23697 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23698 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23699 echo $ECHO_N "(cached) $ECHO_C" >&6
23701 ac_check_lib_save_LIBS
=$LIBS
23702 LIBS
="-ldnet $LIBS"
23703 cat >conftest.
$ac_ext <<_ACEOF
23704 #line $LINENO "configure"
23707 cat confdefs.h
>>conftest.
$ac_ext
23708 cat >>conftest.
$ac_ext <<_ACEOF
23709 /* end confdefs.h. */
23711 /* Override any gcc2 internal prototype to avoid an error. */
23715 /* We use char because int might match the return type of a gcc2
23716 builtin and then its argument prototype would still apply. */
23726 rm -f conftest.
$ac_objext conftest
$ac_exeext
23727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23728 (eval $ac_link) 2>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } &&
23732 { ac_try
='test -s conftest$ac_exeext'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; }; then
23738 ac_cv_lib_dnet_dnet_ntoa
=yes
23740 echo "$as_me: failed program was:" >&5
23741 sed 's/^/| /' conftest.
$ac_ext >&5
23743 ac_cv_lib_dnet_dnet_ntoa
=no
23745 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23746 LIBS
=$ac_check_lib_save_LIBS
23748 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23749 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23750 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23751 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23754 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23755 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23756 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23757 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 ac_check_lib_save_LIBS
=$LIBS
23761 LIBS
="-ldnet_stub $LIBS"
23762 cat >conftest.
$ac_ext <<_ACEOF
23763 #line $LINENO "configure"
23766 cat confdefs.h
>>conftest.
$ac_ext
23767 cat >>conftest.
$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23770 /* Override any gcc2 internal prototype to avoid an error. */
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23785 rm -f conftest.
$ac_objext conftest
$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try
='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.
$ac_ext >&5
23802 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23805 LIBS
=$ac_check_lib_save_LIBS
23807 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23808 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23809 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23815 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23816 LIBS
="$ac_xsave_LIBS"
23818 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23819 # to get the SysV transport functions.
23820 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23822 # The nsl library prevents programs from opening the X display
23823 # on Irix 5.2, according to T.E. Dickey.
23824 # The functions gethostbyname, getservbyname, and inet_addr are
23825 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23826 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23827 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23828 if test "${ac_cv_func_gethostbyname+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23831 cat >conftest.
$ac_ext <<_ACEOF
23832 #line $LINENO "configure"
23835 cat confdefs.h
>>conftest.
$ac_ext
23836 cat >>conftest.
$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23838 /* System header to define __stub macros and hopefully few prototypes,
23839 which can conflict with char gethostbyname (); below.
23840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23841 <limits.h> exists even on freestanding compilers. */
23843 # include <limits.h>
23845 # include <assert.h>
23847 /* Override any gcc2 internal prototype to avoid an error. */
23852 /* We use char because int might match the return type of a gcc2
23853 builtin and then its argument prototype would still apply. */
23854 char gethostbyname ();
23855 /* The GNU C library defines this for functions which it implements
23856 to always fail with ENOSYS. Some functions are actually named
23857 something starting with __ and the normal name is an alias. */
23858 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23861 char (*f) () = gethostbyname;
23870 return f != gethostbyname;
23875 rm -f conftest.
$ac_objext conftest
$ac_exeext
23876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23877 (eval $ac_link) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } &&
23881 { ac_try
='test -s conftest$ac_exeext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_cv_func_gethostbyname
=yes
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.
$ac_ext >&5
23892 ac_cv_func_gethostbyname
=no
23894 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23896 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23897 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23899 if test $ac_cv_func_gethostbyname = no
; then
23900 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23901 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23902 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23903 echo $ECHO_N "(cached) $ECHO_C" >&6
23905 ac_check_lib_save_LIBS
=$LIBS
23907 cat >conftest.
$ac_ext <<_ACEOF
23908 #line $LINENO "configure"
23911 cat confdefs.h
>>conftest.
$ac_ext
23912 cat >>conftest.
$ac_ext <<_ACEOF
23913 /* end confdefs.h. */
23915 /* Override any gcc2 internal prototype to avoid an error. */
23919 /* We use char because int might match the return type of a gcc2
23920 builtin and then its argument prototype would still apply. */
23921 char gethostbyname ();
23930 rm -f conftest.
$ac_objext conftest
$ac_exeext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23932 (eval $ac_link) 2>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } &&
23936 { ac_try
='test -s conftest$ac_exeext'
23937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938 (eval $ac_try) 2>&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); }; }; then
23942 ac_cv_lib_nsl_gethostbyname
=yes
23944 echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.
$ac_ext >&5
23947 ac_cv_lib_nsl_gethostbyname
=no
23949 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23950 LIBS
=$ac_check_lib_save_LIBS
23952 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23953 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23954 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23955 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23958 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23959 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23960 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23961 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23962 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 ac_check_lib_save_LIBS
=$LIBS
23966 cat >conftest.
$ac_ext <<_ACEOF
23967 #line $LINENO "configure"
23970 cat confdefs.h
>>conftest.
$ac_ext
23971 cat >>conftest.
$ac_ext <<_ACEOF
23972 /* end confdefs.h. */
23974 /* Override any gcc2 internal prototype to avoid an error. */
23978 /* We use char because int might match the return type of a gcc2
23979 builtin and then its argument prototype would still apply. */
23980 char gethostbyname ();
23989 rm -f conftest.
$ac_objext conftest
$ac_exeext
23990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23991 (eval $ac_link) 2>&5
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); } &&
23995 { ac_try
='test -s conftest$ac_exeext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 ac_cv_lib_bsd_gethostbyname
=yes
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.
$ac_ext >&5
24006 ac_cv_lib_bsd_gethostbyname
=no
24008 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24009 LIBS
=$ac_check_lib_save_LIBS
24011 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24012 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24013 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24020 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24021 # socket/setsockopt and other routines are undefined under SCO ODT
24022 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24023 # on later versions), says Simon Leinen: it contains gethostby*
24024 # variants that don't use the name server (or something). -lsocket
24025 # must be given before -lnsl if both are needed. We assume that
24026 # if connect needs -lnsl, so does gethostbyname.
24027 echo "$as_me:$LINENO: checking for connect" >&5
24028 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24029 if test "${ac_cv_func_connect+set}" = set; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24032 cat >conftest.
$ac_ext <<_ACEOF
24033 #line $LINENO "configure"
24036 cat confdefs.h
>>conftest.
$ac_ext
24037 cat >>conftest.
$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 /* System header to define __stub macros and hopefully few prototypes,
24040 which can conflict with char connect (); below.
24041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24042 <limits.h> exists even on freestanding compilers. */
24044 # include <limits.h>
24046 # include <assert.h>
24048 /* Override any gcc2 internal prototype to avoid an error. */
24053 /* We use char because int might match the return type of a gcc2
24054 builtin and then its argument prototype would still apply. */
24056 /* The GNU C library defines this for functions which it implements
24057 to always fail with ENOSYS. Some functions are actually named
24058 something starting with __ and the normal name is an alias. */
24059 #if defined (__stub_connect) || defined (__stub___connect)
24062 char (*f) () = connect;
24071 return f != connect;
24076 rm -f conftest.
$ac_objext conftest
$ac_exeext
24077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24078 (eval $ac_link) 2>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } &&
24082 { ac_try
='test -s conftest$ac_exeext'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; }; then
24088 ac_cv_func_connect
=yes
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.
$ac_ext >&5
24093 ac_cv_func_connect
=no
24095 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24097 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24098 echo "${ECHO_T}$ac_cv_func_connect" >&6
24100 if test $ac_cv_func_connect = no
; then
24101 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24102 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24103 if test "${ac_cv_lib_socket_connect+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24106 ac_check_lib_save_LIBS
=$LIBS
24107 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24108 cat >conftest.
$ac_ext <<_ACEOF
24109 #line $LINENO "configure"
24112 cat confdefs.h
>>conftest.
$ac_ext
24113 cat >>conftest.
$ac_ext <<_ACEOF
24114 /* end confdefs.h. */
24116 /* Override any gcc2 internal prototype to avoid an error. */
24120 /* We use char because int might match the return type of a gcc2
24121 builtin and then its argument prototype would still apply. */
24131 rm -f conftest.
$ac_objext conftest
$ac_exeext
24132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24133 (eval $ac_link) 2>&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } &&
24137 { ac_try
='test -s conftest$ac_exeext'
24138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24139 (eval $ac_try) 2>&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); }; }; then
24143 ac_cv_lib_socket_connect
=yes
24145 echo "$as_me: failed program was:" >&5
24146 sed 's/^/| /' conftest.
$ac_ext >&5
24148 ac_cv_lib_socket_connect
=no
24150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24151 LIBS
=$ac_check_lib_save_LIBS
24153 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24154 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24155 if test $ac_cv_lib_socket_connect = yes; then
24156 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24161 # Guillermo Gomez says -lposix is necessary on A/UX.
24162 echo "$as_me:$LINENO: checking for remove" >&5
24163 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24164 if test "${ac_cv_func_remove+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24167 cat >conftest.
$ac_ext <<_ACEOF
24168 #line $LINENO "configure"
24171 cat confdefs.h
>>conftest.
$ac_ext
24172 cat >>conftest.
$ac_ext <<_ACEOF
24173 /* end confdefs.h. */
24174 /* System header to define __stub macros and hopefully few prototypes,
24175 which can conflict with char remove (); below.
24176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24177 <limits.h> exists even on freestanding compilers. */
24179 # include <limits.h>
24181 # include <assert.h>
24183 /* Override any gcc2 internal prototype to avoid an error. */
24188 /* We use char because int might match the return type of a gcc2
24189 builtin and then its argument prototype would still apply. */
24191 /* The GNU C library defines this for functions which it implements
24192 to always fail with ENOSYS. Some functions are actually named
24193 something starting with __ and the normal name is an alias. */
24194 #if defined (__stub_remove) || defined (__stub___remove)
24197 char (*f) () = remove;
24206 return f != remove;
24211 rm -f conftest.
$ac_objext conftest
$ac_exeext
24212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24213 (eval $ac_link) 2>&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); } &&
24217 { ac_try
='test -s conftest$ac_exeext'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; }; then
24223 ac_cv_func_remove
=yes
24225 echo "$as_me: failed program was:" >&5
24226 sed 's/^/| /' conftest.
$ac_ext >&5
24228 ac_cv_func_remove
=no
24230 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24232 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24233 echo "${ECHO_T}$ac_cv_func_remove" >&6
24235 if test $ac_cv_func_remove = no
; then
24236 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24237 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24238 if test "${ac_cv_lib_posix_remove+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24241 ac_check_lib_save_LIBS
=$LIBS
24242 LIBS
="-lposix $LIBS"
24243 cat >conftest.
$ac_ext <<_ACEOF
24244 #line $LINENO "configure"
24247 cat confdefs.h
>>conftest.
$ac_ext
24248 cat >>conftest.
$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24251 /* Override any gcc2 internal prototype to avoid an error. */
24255 /* We use char because int might match the return type of a gcc2
24256 builtin and then its argument prototype would still apply. */
24266 rm -f conftest.
$ac_objext conftest
$ac_exeext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24268 (eval $ac_link) 2>&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } &&
24272 { ac_try
='test -s conftest$ac_exeext'
24273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24274 (eval $ac_try) 2>&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); }; }; then
24278 ac_cv_lib_posix_remove
=yes
24280 echo "$as_me: failed program was:" >&5
24281 sed 's/^/| /' conftest.
$ac_ext >&5
24283 ac_cv_lib_posix_remove
=no
24285 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24286 LIBS
=$ac_check_lib_save_LIBS
24288 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24289 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24290 if test $ac_cv_lib_posix_remove = yes; then
24291 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24296 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24297 echo "$as_me:$LINENO: checking for shmat" >&5
24298 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24299 if test "${ac_cv_func_shmat+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 cat >conftest.
$ac_ext <<_ACEOF
24303 #line $LINENO "configure"
24306 cat confdefs.h
>>conftest.
$ac_ext
24307 cat >>conftest.
$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309 /* System header to define __stub macros and hopefully few prototypes,
24310 which can conflict with char shmat (); below.
24311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24312 <limits.h> exists even on freestanding compilers. */
24314 # include <limits.h>
24316 # include <assert.h>
24318 /* Override any gcc2 internal prototype to avoid an error. */
24323 /* We use char because int might match the return type of a gcc2
24324 builtin and then its argument prototype would still apply. */
24326 /* The GNU C library defines this for functions which it implements
24327 to always fail with ENOSYS. Some functions are actually named
24328 something starting with __ and the normal name is an alias. */
24329 #if defined (__stub_shmat) || defined (__stub___shmat)
24332 char (*f) () = shmat;
24346 rm -f conftest.
$ac_objext conftest
$ac_exeext
24347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24348 (eval $ac_link) 2>&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try
='test -s conftest$ac_exeext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358 ac_cv_func_shmat
=yes
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.
$ac_ext >&5
24363 ac_cv_func_shmat
=no
24365 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24367 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24368 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24370 if test $ac_cv_func_shmat = no
; then
24371 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24372 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24373 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24376 ac_check_lib_save_LIBS
=$LIBS
24378 cat >conftest.
$ac_ext <<_ACEOF
24379 #line $LINENO "configure"
24382 cat confdefs.h
>>conftest.
$ac_ext
24383 cat >>conftest.
$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24386 /* Override any gcc2 internal prototype to avoid an error. */
24390 /* We use char because int might match the return type of a gcc2
24391 builtin and then its argument prototype would still apply. */
24401 rm -f conftest.
$ac_objext conftest
$ac_exeext
24402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24403 (eval $ac_link) 2>&5
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); } &&
24407 { ac_try
='test -s conftest$ac_exeext'
24408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24409 (eval $ac_try) 2>&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); }; }; then
24413 ac_cv_lib_ipc_shmat
=yes
24415 echo "$as_me: failed program was:" >&5
24416 sed 's/^/| /' conftest.
$ac_ext >&5
24418 ac_cv_lib_ipc_shmat
=no
24420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24421 LIBS
=$ac_check_lib_save_LIBS
24423 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24424 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24425 if test $ac_cv_lib_ipc_shmat = yes; then
24426 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24432 # Check for libraries that X11R6 Xt/Xaw programs need.
24433 ac_save_LDFLAGS
=$LDFLAGS
24434 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24435 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24436 # check for ICE first), but we must link in the order -lSM -lICE or
24437 # we get undefined symbols. So assume we have SM if we have ICE.
24438 # These have to be linked with before -lX11, unlike the other
24439 # libraries we check for below, so use a different variable.
24440 # John Interrante, Karl Berry
24441 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24442 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24443 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24444 echo $ECHO_N "(cached) $ECHO_C" >&6
24446 ac_check_lib_save_LIBS
=$LIBS
24447 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24448 cat >conftest.
$ac_ext <<_ACEOF
24449 #line $LINENO "configure"
24452 cat confdefs.h
>>conftest.
$ac_ext
24453 cat >>conftest.
$ac_ext <<_ACEOF
24454 /* end confdefs.h. */
24456 /* Override any gcc2 internal prototype to avoid an error. */
24460 /* We use char because int might match the return type of a gcc2
24461 builtin and then its argument prototype would still apply. */
24462 char IceConnectionNumber ();
24466 IceConnectionNumber ();
24471 rm -f conftest.
$ac_objext conftest
$ac_exeext
24472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24473 (eval $ac_link) 2>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); } &&
24477 { ac_try
='test -s conftest$ac_exeext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 ac_cv_lib_ICE_IceConnectionNumber
=yes
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.
$ac_ext >&5
24488 ac_cv_lib_ICE_IceConnectionNumber
=no
24490 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24491 LIBS
=$ac_check_lib_save_LIBS
24493 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24494 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24495 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24496 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24499 LDFLAGS
=$ac_save_LDFLAGS
24504 if test "$no_x" = "yes"; then
24505 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24506 echo "$as_me: error: X11 not found" >&2;}
24507 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24510 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24511 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24512 AFMINSTALL
=afminstall
24513 COMPILED_X_PROGRAM
=0
24515 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24516 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24519 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24521 if test -f "$ac_dir/Xm/Xm.h"; then
24522 ac_find_includes
=$ac_dir
24527 if test "$ac_find_includes" != "" ; then
24528 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24529 echo "${ECHO_T}found in $ac_find_includes" >&6
24531 if test "x$ac_find_includes" = "x/usr/include"; then
24532 ac_path_to_include
=""
24534 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24536 if test $result = 0; then
24537 ac_path_to_include
=""
24539 ac_path_to_include
=" -I$ac_find_includes"
24543 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24545 cat >conftest.
$ac_ext <<_ACEOF
24546 #line $LINENO "configure"
24549 cat confdefs.h
>>conftest.
$ac_ext
24550 cat >>conftest.
$ac_ext <<_ACEOF
24551 /* end confdefs.h. */
24560 version = xmUseVersion;
24566 rm -f conftest.
$ac_objext
24567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24568 (eval $ac_compile) 2>&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } &&
24572 { ac_try
='test -s conftest.$ac_objext'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; }; then
24579 echo "$as_me:$LINENO: result: found in default search path" >&5
24580 echo "${ECHO_T}found in default search path" >&6
24581 COMPILED_X_PROGRAM
=1
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.
$ac_ext >&5
24588 echo "$as_me:$LINENO: result: no" >&5
24589 echo "${ECHO_T}no" >&6
24590 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24591 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24592 { (exit 1); exit 1; }; }
24596 rm -f conftest.
$ac_objext conftest.
$ac_ext
24599 if test "$COMPILED_X_PROGRAM" = 0; then
24600 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24601 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24604 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24606 for ac_extension
in a so sl dylib
; do
24607 if test -f "$ac_dir/libXm.$ac_extension"; then
24608 ac_find_libraries
=$ac_dir
24614 if test "$ac_find_libraries" != "" ; then
24615 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24616 echo "${ECHO_T}found at $ac_find_libraries" >&6
24619 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24621 if test $result = 0; then
24624 ac_path_to_link
=" -L$ac_find_libraries"
24627 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24629 save_CFLAGS
=$CFLAGS
24630 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24632 cat >conftest.
$ac_ext <<_ACEOF
24633 #line $LINENO "configure"
24636 cat confdefs.h
>>conftest.
$ac_ext
24637 cat >>conftest.
$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24647 version = xmUseVersion;
24653 rm -f conftest.
$ac_objext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24655 (eval $ac_compile) 2>&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } &&
24659 { ac_try
='test -s conftest.$ac_objext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24666 echo "$as_me:$LINENO: result: found in default search path" >&5
24667 echo "${ECHO_T}found in default search path" >&6
24668 COMPILED_X_PROGRAM
=1
24671 echo "$as_me: failed program was:" >&5
24672 sed 's/^/| /' conftest.
$ac_ext >&5
24675 echo "$as_me:$LINENO: result: no" >&5
24676 echo "${ECHO_T}no" >&6
24677 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24678 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24679 { (exit 1); exit 1; }; }
24683 rm -f conftest.
$ac_objext conftest.
$ac_ext
24685 CFLAGS
=$save_CFLAGS
24689 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24690 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24694 for libp
in "" " -lXp"; do
24695 if test "$libs_found" = "0"; then
24696 for libsm_ice
in "" " -lSM -lICE"; do
24697 if test "$libs_found" = "0"; then
24699 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24700 save_CFLAGS
=$CFLAGS
24701 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24703 cat >conftest.
$ac_ext <<_ACEOF
24704 #line $LINENO "configure"
24707 cat confdefs.h
>>conftest.
$ac_ext
24708 cat >>conftest.
$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24712 #include <Xm/List.h>
24718 XmString string = NULL;
24721 XmListAddItem(w, string, position);
24727 rm -f conftest.
$ac_objext conftest
$ac_exeext
24728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24729 (eval $ac_link) 2>&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try
='test -s conftest$ac_exeext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24741 libsm_ice_link
="$libsm_ice"
24742 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24743 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.
$ac_ext >&5
24753 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24756 CFLAGS
=$save_CFLAGS
24762 if test "$libs_found" = "0"; then
24763 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24764 echo "${ECHO_T}can't find the right libraries" >&6
24765 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24766 echo "$as_me: error: can't link a simple motif program" >&2;}
24767 { (exit 1); exit 1; }; }
24770 save_CFLAGS
=$CFLAGS
24771 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24772 echo "$as_me:$LINENO: checking for Motif 2" >&5
24773 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24774 cat >conftest.
$ac_ext <<_ACEOF
24775 #line $LINENO "configure"
24778 cat confdefs.h
>>conftest.
$ac_ext
24779 cat >>conftest.
$ac_ext <<_ACEOF
24780 /* end confdefs.h. */
24788 #if XmVersion < 2000
24789 #error "Not Motif 2"
24796 rm -f conftest.
$ac_objext
24797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24798 (eval $ac_compile) 2>&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } &&
24802 { ac_try
='test -s conftest.$ac_objext'
24803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24804 (eval $ac_try) 2>&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); }; }; then
24809 cat >>confdefs.h
<<\_ACEOF
24810 #define __WXMOTIF20__ 1
24813 echo "$as_me:$LINENO: result: found" >&5
24814 echo "${ECHO_T}found" >&6
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.
$ac_ext >&5
24821 cat >>confdefs.h
<<\_ACEOF
24822 #define __WXMOTIF20__ 0
24825 echo "$as_me:$LINENO: result: not found" >&5
24826 echo "${ECHO_T}not found" >&6
24829 rm -f conftest.
$ac_objext conftest.
$ac_ext
24830 CFLAGS
=$save_CFLAGS
24832 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24833 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24838 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24839 if test "$wxUSE_LIBXPM" = "sys"; then
24840 echo "$as_me:$LINENO: checking for Xpm library" >&5
24841 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24844 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24846 for ac_extension
in a so sl dylib
; do
24847 if test -f "$ac_dir/libXpm.$ac_extension"; then
24848 ac_find_libraries
=$ac_dir
24854 if test "$ac_find_libraries" != "" ; then
24856 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24858 if test $result = 0; then
24861 ac_path_to_link
=" -L$ac_find_libraries"
24864 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24865 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24866 echo "${ECHO_T}found at $ac_find_libraries" >&6
24868 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24869 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24870 if test "${wx_cv_x11_xpm_h+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 save_CFLAGS
=$CFLAGS
24875 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24877 cat >conftest.
$ac_ext <<_ACEOF
24878 #line $LINENO "configure"
24881 cat confdefs.h
>>conftest.
$ac_ext
24882 cat >>conftest.
$ac_ext <<_ACEOF
24883 /* end confdefs.h. */
24885 #include <X11/xpm.h>
24892 version = XpmLibraryVersion();
24898 rm -f conftest.
$ac_objext
24899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24900 (eval $ac_compile) 2>&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); } &&
24904 { ac_try
='test -s conftest.$ac_objext'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24910 wx_cv_x11_xpm_h
=yes
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.
$ac_ext >&5
24918 rm -f conftest.
$ac_objext conftest.
$ac_ext
24920 CFLAGS
=$save_CFLAGS
24924 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24925 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24927 if test $wx_cv_x11_xpm_h = "yes"; then
24928 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
24929 cat >>confdefs.h
<<\_ACEOF
24930 #define wxHAVE_LIB_XPM 1
24934 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24935 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24941 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24942 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24943 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24946 ac_check_lib_save_LIBS
=$LIBS
24947 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24948 cat >conftest.
$ac_ext <<_ACEOF
24949 #line $LINENO "configure"
24952 cat confdefs.h
>>conftest.
$ac_ext
24953 cat >>conftest.
$ac_ext <<_ACEOF
24954 /* end confdefs.h. */
24956 /* Override any gcc2 internal prototype to avoid an error. */
24960 /* We use char because int might match the return type of a gcc2
24961 builtin and then its argument prototype would still apply. */
24962 char XShapeQueryExtension ();
24966 XShapeQueryExtension ();
24971 rm -f conftest.
$ac_objext conftest
$ac_exeext
24972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24973 (eval $ac_link) 2>&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } &&
24977 { ac_try
='test -s conftest$ac_exeext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 ac_cv_lib_Xext_XShapeQueryExtension
=yes
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.
$ac_ext >&5
24988 ac_cv_lib_Xext_XShapeQueryExtension
=no
24990 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24991 LIBS
=$ac_check_lib_save_LIBS
24993 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24994 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24995 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24997 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
25003 if test "$wxHAVE_XEXT_LIB" = 1; then
25004 save_CFLAGS
="$CFLAGS"
25005 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25007 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25008 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25009 cat >conftest.
$ac_ext <<_ACEOF
25010 #line $LINENO "configure"
25013 cat confdefs.h
>>conftest.
$ac_ext
25014 cat >>conftest.
$ac_ext <<_ACEOF
25015 /* end confdefs.h. */
25017 #include <X11/Xlib.h>
25018 #include <X11/extensions/shape.h>
25024 int dummy1, dummy2;
25025 XShapeQueryExtension((Display*)NULL,
25026 (int*)NULL, (int*)NULL);
25032 rm -f conftest.
$ac_objext
25033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25034 (eval $ac_compile) 2>&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } &&
25038 { ac_try
='test -s conftest.$ac_objext'
25039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25040 (eval $ac_try) 2>&5
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); }; }; then
25045 cat >>confdefs.h
<<\_ACEOF
25046 #define HAVE_XSHAPE 1
25049 echo "$as_me:$LINENO: result: found" >&5
25050 echo "${ECHO_T}found" >&6
25053 echo "$as_me: failed program was:" >&5
25054 sed 's/^/| /' conftest.
$ac_ext >&5
25057 echo "$as_me:$LINENO: result: not found" >&5
25058 echo "${ECHO_T}not found" >&6
25061 rm -f conftest.
$ac_objext conftest.
$ac_ext
25062 CFLAGS
="$save_CFLAGS"
25067 if test "$wxUSE_MAC" = 1; then
25068 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
25069 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
25070 if test "$GCC" = yes; then
25071 echo "$as_me:$LINENO: result: gcc" >&5
25072 echo "${ECHO_T}gcc" >&6
25073 CPPFLAGS_PASCAL
="-fpascal-strings"
25074 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
25075 echo "$as_me:$LINENO: result: xlc" >&5
25076 echo "${ECHO_T}xlc" >&6
25077 CPPFLAGS_PASCAL
="-qmacpstr"
25079 echo "$as_me:$LINENO: result: none" >&5
25080 echo "${ECHO_T}none" >&6
25083 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
25085 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
25088 WXBASEPORT
="_carbon"
25091 if test "$wxUSE_COCOA" = 1; then
25092 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
25097 if test "$wxUSE_PM" = 1; then
25102 if test "$TOOLKIT" = "PM" ; then
25105 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
25108 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
25110 if test "$wxUSE_UNIVERSAL" = "yes"; then
25111 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
25113 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
25114 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
25116 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
25117 if test "$wxUSE_X11" = 1; then
25118 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
25120 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
25122 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
25125 ALL_OBJECTS
="\$(GUIOBJS)"
25126 ALL_SOURCES
="\$(ALL_SOURCES)"
25127 ALL_HEADERS
="\$(ALL_HEADERS)"
25130 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
25132 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
25133 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
25136 if test "$wxUSE_HTML" = "yes"; then
25137 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
25140 if test "$wxUSE_LIBJPEG" = "builtin" ; then
25141 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
25143 if test "$wxUSE_LIBTIFF" = "builtin" ; then
25144 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
25146 if test "$wxUSE_LIBPNG" = "builtin" ; then
25147 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
25150 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
25151 DISTDIR
="wx\$(TOOLKIT)"
25157 if test "$USE_WIN32" = 1 ; then
25158 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
25159 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
25163 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
25164 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
25167 ALL_SOURCES
="\$(ALL_SOURCES)"
25168 ALL_HEADERS
="\$(ALL_HEADERS)"
25170 PORT_FILES
="\${top_srcdir}/src/files.lst"
25172 GUIDIST
="BASE_DIST"
25182 if test "$TOOLKIT" != "MSW" ; then
25184 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
25186 if test "${ac_cv_header_sql_h+set}" = set; then
25187 echo "$as_me:$LINENO: checking for sql.h" >&5
25188 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25189 if test "${ac_cv_header_sql_h+set}" = set; then
25190 echo $ECHO_N "(cached) $ECHO_C" >&6
25192 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25193 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25195 # Is the header compilable?
25196 echo "$as_me:$LINENO: checking sql.h usability" >&5
25197 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25198 cat >conftest.
$ac_ext <<_ACEOF
25199 #line $LINENO "configure"
25202 cat confdefs.h
>>conftest.
$ac_ext
25203 cat >>conftest.
$ac_ext <<_ACEOF
25204 /* end confdefs.h. */
25205 $ac_includes_default
25208 rm -f conftest.
$ac_objext
25209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25210 (eval $ac_compile) 2>&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } &&
25214 { ac_try
='test -s conftest.$ac_objext'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; }; then
25220 ac_header_compiler
=yes
25222 echo "$as_me: failed program was:" >&5
25223 sed 's/^/| /' conftest.
$ac_ext >&5
25225 ac_header_compiler
=no
25227 rm -f conftest.
$ac_objext conftest.
$ac_ext
25228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25229 echo "${ECHO_T}$ac_header_compiler" >&6
25231 # Is the header present?
25232 echo "$as_me:$LINENO: checking sql.h presence" >&5
25233 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25234 cat >conftest.
$ac_ext <<_ACEOF
25235 #line $LINENO "configure"
25238 cat confdefs.h
>>conftest.
$ac_ext
25239 cat >>conftest.
$ac_ext <<_ACEOF
25240 /* end confdefs.h. */
25243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25246 grep -v '^ *+' conftest.er1
>conftest.err
25248 cat conftest.err
>&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } >/dev
/null
; then
25251 if test -s conftest.err
; then
25252 ac_cpp_err
=$ac_c_preproc_warn_flag
25259 if test -z "$ac_cpp_err"; then
25260 ac_header_preproc
=yes
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.
$ac_ext >&5
25265 ac_header_preproc
=no
25267 rm -f conftest.err conftest.
$ac_ext
25268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25269 echo "${ECHO_T}$ac_header_preproc" >&6
25271 # So? What about this header?
25272 case $ac_header_compiler:$ac_header_preproc in
25274 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
25275 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25276 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25277 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25280 ## ------------------------------------ ##
25281 ## Report this to bug-autoconf@gnu.org. ##
25282 ## ------------------------------------ ##
25285 sed "s/^/$as_me: WARNING: /" >&2
25288 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
25289 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
25290 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
25291 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
25292 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25293 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25296 ## ------------------------------------ ##
25297 ## Report this to bug-autoconf@gnu.org. ##
25298 ## ------------------------------------ ##
25301 sed "s/^/$as_me: WARNING: /" >&2
25304 echo "$as_me:$LINENO: checking for sql.h" >&5
25305 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25306 if test "${ac_cv_header_sql_h+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25309 ac_cv_header_sql_h
=$ac_header_preproc
25311 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25312 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25315 if test $ac_cv_header_sql_h = yes; then
25320 if test "x$found_sql_h" = "x1" ; then
25321 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
25322 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
25323 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
25324 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 ac_check_lib_save_LIBS
=$LIBS
25327 LIBS
="-liodbc $LIBS"
25328 cat >conftest.
$ac_ext <<_ACEOF
25329 #line $LINENO "configure"
25332 cat confdefs.h
>>conftest.
$ac_ext
25333 cat >>conftest.
$ac_ext <<_ACEOF
25334 /* end confdefs.h. */
25336 /* Override any gcc2 internal prototype to avoid an error. */
25340 /* We use char because int might match the return type of a gcc2
25341 builtin and then its argument prototype would still apply. */
25342 char SQLAllocEnv ();
25351 rm -f conftest.
$ac_objext conftest
$ac_exeext
25352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25353 (eval $ac_link) 2>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } &&
25357 { ac_try
='test -s conftest$ac_exeext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 ac_cv_lib_iodbc_SQLAllocEnv
=yes
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.
$ac_ext >&5
25368 ac_cv_lib_iodbc_SQLAllocEnv
=no
25370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25371 LIBS
=$ac_check_lib_save_LIBS
25373 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
25374 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
25375 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
25376 ODBC_LINK
=" -liodbc"
25379 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
25380 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
25381 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
25382 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 ac_check_lib_save_LIBS
=$LIBS
25385 LIBS
="-lunixodbc $LIBS"
25386 cat >conftest.
$ac_ext <<_ACEOF
25387 #line $LINENO "configure"
25390 cat confdefs.h
>>conftest.
$ac_ext
25391 cat >>conftest.
$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25394 /* Override any gcc2 internal prototype to avoid an error. */
25398 /* We use char because int might match the return type of a gcc2
25399 builtin and then its argument prototype would still apply. */
25400 char SQLAllocEnv ();
25409 rm -f conftest.
$ac_objext conftest
$ac_exeext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25411 (eval $ac_link) 2>&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try
='test -s conftest$ac_exeext'
25416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25417 (eval $ac_try) 2>&5
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); }; }; then
25421 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
25423 echo "$as_me: failed program was:" >&5
25424 sed 's/^/| /' conftest.
$ac_ext >&5
25426 ac_cv_lib_unixodbc_SQLAllocEnv
=no
25428 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25429 LIBS
=$ac_check_lib_save_LIBS
25431 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
25432 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
25433 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
25434 ODBC_LINK
=" -lunixodbc"
25437 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
25438 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
25439 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 ac_check_lib_save_LIBS
=$LIBS
25443 LIBS
="-lodbc $LIBS"
25444 cat >conftest.
$ac_ext <<_ACEOF
25445 #line $LINENO "configure"
25448 cat confdefs.h
>>conftest.
$ac_ext
25449 cat >>conftest.
$ac_ext <<_ACEOF
25450 /* end confdefs.h. */
25452 /* Override any gcc2 internal prototype to avoid an error. */
25456 /* We use char because int might match the return type of a gcc2
25457 builtin and then its argument prototype would still apply. */
25458 char SQLAllocEnv ();
25467 rm -f conftest.
$ac_objext conftest
$ac_exeext
25468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25469 (eval $ac_link) 2>&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try
='test -s conftest$ac_exeext'
25474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); }; }; then
25479 ac_cv_lib_odbc_SQLAllocEnv
=yes
25481 echo "$as_me: failed program was:" >&5
25482 sed 's/^/| /' conftest.
$ac_ext >&5
25484 ac_cv_lib_odbc_SQLAllocEnv
=no
25486 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25487 LIBS
=$ac_check_lib_save_LIBS
25489 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25490 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25491 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25492 ODBC_LINK
=" -lodbc"
25502 if test "x$ODBC_LINK" = "x" ; then
25503 if test "$wxUSE_ODBC" = "sys" ; then
25504 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25505 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25506 { (exit 1); exit 1; }; }
25508 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25509 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25516 if test "$wxUSE_ODBC" != "no" ; then
25517 cat >>confdefs.h
<<\_ACEOF
25518 #define wxUSE_ODBC 1
25521 if test "$wxUSE_ODBC" = "builtin" ; then
25522 cat >>confdefs.h
<<\_ACEOF
25523 #define wxUSE_BUILTIN_IODBC 1
25527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25529 WXODBCFLAG
="-D_IODBC_"
25533 if test "$wxUSE_REGEX" = "builtin" ; then
25534 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25536 if test "$wxUSE_ZLIB" = "builtin" ; then
25537 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25540 if test "$wxUSE_DISPLAY" = "yes"; then
25541 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25542 echo "$as_me:$LINENO: checking for Xinerama" >&5
25543 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25546 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25548 for ac_extension
in a so sl dylib
; do
25549 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25550 ac_find_libraries
=$ac_dir
25556 if test "$ac_find_libraries" != "" ; then
25558 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25560 if test $result = 0; then
25563 ac_path_to_link
=" -L$ac_find_libraries"
25566 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25567 LDFLAGS
="$LDFLAGS $ac_path_to_link"
25569 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
25570 echo "$as_me:$LINENO: result: yes" >&5
25571 echo "${ECHO_T}yes" >&6
25573 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25574 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25577 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25579 for ac_extension
in a so sl dylib
; do
25580 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25581 ac_find_libraries
=$ac_dir
25587 if test "$ac_find_libraries" != "" ; then
25588 echo "$as_me:$LINENO: result: yes" >&5
25589 echo "${ECHO_T}yes" >&6
25591 for ac_header
in X
11/extensions
/xf86vmode.h
25593 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25594 echo "$as_me:$LINENO: checking for $ac_header" >&5
25595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25599 cat >conftest.
$ac_ext <<_ACEOF
25600 #line $LINENO "configure"
25603 cat confdefs.h
>>conftest.
$ac_ext
25604 cat >>conftest.
$ac_ext <<_ACEOF
25605 /* end confdefs.h. */
25607 #if HAVE_X11_XLIB_H
25608 #include <X11/Xlib.h>
25612 #include <$ac_header>
25614 rm -f conftest.
$ac_objext
25615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25616 (eval $ac_compile) 2>&5
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); } &&
25620 { ac_try
='test -s conftest.$ac_objext'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; }; then
25626 eval "$as_ac_Header=yes"
25628 echo "$as_me: failed program was:" >&5
25629 sed 's/^/| /' conftest.
$ac_ext >&5
25631 eval "$as_ac_Header=no"
25633 rm -f conftest.
$ac_objext conftest.
$ac_ext
25635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25638 cat >>confdefs.h
<<_ACEOF
25639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25642 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
25649 echo "$as_me:$LINENO: result: no" >&5
25650 echo "${ECHO_T}no" >&6
25654 echo "$as_me:$LINENO: result: no" >&5
25655 echo "${ECHO_T}no" >&6
25656 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25657 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25665 if test "$wxUSE_OPENGL" = "yes"; then
25666 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25667 OPENGL_LIBS
="-framework OpenGL -framework AGL"
25668 elif test "$wxUSE_MSW" = 1; then
25669 OPENGL_LIBS
="-lopengl32 -lglu32"
25674 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25676 if test -f "$ac_dir/GL/gl.h"; then
25677 ac_find_includes
=$ac_dir
25682 if test "$ac_find_includes" != "" ; then
25683 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25684 echo "${ECHO_T}found in $ac_find_includes" >&6
25686 if test "x$ac_find_includes" = "x/usr/include"; then
25687 ac_path_to_include
=""
25689 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25691 if test $result = 0; then
25692 ac_path_to_include
=""
25694 ac_path_to_include
=" -I$ac_find_includes"
25698 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25701 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25702 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25703 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25704 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25707 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25708 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25710 # Is the header compilable?
25711 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25712 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25713 cat >conftest.
$ac_ext <<_ACEOF
25714 #line $LINENO "configure"
25717 cat confdefs.h
>>conftest.
$ac_ext
25718 cat >>conftest.
$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 $ac_includes_default
25723 rm -f conftest.
$ac_objext
25724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25725 (eval $ac_compile) 2>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } &&
25729 { ac_try
='test -s conftest.$ac_objext'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; }; then
25735 ac_header_compiler
=yes
25737 echo "$as_me: failed program was:" >&5
25738 sed 's/^/| /' conftest.
$ac_ext >&5
25740 ac_header_compiler
=no
25742 rm -f conftest.
$ac_objext conftest.
$ac_ext
25743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25744 echo "${ECHO_T}$ac_header_compiler" >&6
25746 # Is the header present?
25747 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25748 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25749 cat >conftest.
$ac_ext <<_ACEOF
25750 #line $LINENO "configure"
25753 cat confdefs.h
>>conftest.
$ac_ext
25754 cat >>conftest.
$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25759 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25761 grep -v '^ *+' conftest.er1
>conftest.err
25763 cat conftest.err
>&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); } >/dev
/null
; then
25766 if test -s conftest.err
; then
25767 ac_cpp_err
=$ac_c_preproc_warn_flag
25774 if test -z "$ac_cpp_err"; then
25775 ac_header_preproc
=yes
25777 echo "$as_me: failed program was:" >&5
25778 sed 's/^/| /' conftest.
$ac_ext >&5
25780 ac_header_preproc
=no
25782 rm -f conftest.err conftest.
$ac_ext
25783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25784 echo "${ECHO_T}$ac_header_preproc" >&6
25786 # So? What about this header?
25787 case $ac_header_compiler:$ac_header_preproc in
25789 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25790 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25791 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25792 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25795 ## ------------------------------------ ##
25796 ## Report this to bug-autoconf@gnu.org. ##
25797 ## ------------------------------------ ##
25800 sed "s/^/$as_me: WARNING: /" >&2
25803 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25804 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25805 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25806 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25807 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25808 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25811 ## ------------------------------------ ##
25812 ## Report this to bug-autoconf@gnu.org. ##
25813 ## ------------------------------------ ##
25816 sed "s/^/$as_me: WARNING: /" >&2
25819 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25820 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25821 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 ac_cv_header_GL_gl_h
=$ac_header_preproc
25826 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25827 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25830 if test $ac_cv_header_GL_gl_h = yes; then
25834 echo "$as_me:$LINENO: checking for -lGL" >&5
25835 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25838 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25840 for ac_extension
in a so sl dylib
; do
25841 if test -f "$ac_dir/libGL.$ac_extension"; then
25842 ac_find_libraries
=$ac_dir
25848 if test "$ac_find_libraries" != "" ; then
25850 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25852 if test $result = 0; then
25855 ac_path_to_link
=" -L$ac_find_libraries"
25858 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25859 LDFLAGS_GL
="$ac_path_to_link"
25864 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25866 for ac_extension
in a so sl dylib
; do
25867 if test -f "$ac_dir/libGLU.$ac_extension"; then
25868 ac_find_libraries
=$ac_dir
25874 if test "$ac_find_libraries" != "" ; then
25876 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25878 if test $result = 0; then
25881 ac_path_to_link
=" -L$ac_find_libraries"
25884 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25885 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25886 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25890 OPENGL_LIBS
="-lGL -lGLU"
25891 echo "$as_me:$LINENO: result: yes" >&5
25892 echo "${ECHO_T}yes" >&6
25896 if test "$found_gl" != 1; then
25897 echo "$as_me:$LINENO: result: no" >&5
25898 echo "${ECHO_T}no" >&6
25899 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25900 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25903 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25905 for ac_extension
in a so sl dylib
; do
25906 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25907 ac_find_libraries
=$ac_dir
25913 if test "$ac_find_libraries" != "" ; then
25915 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25917 if test $result = 0; then
25920 ac_path_to_link
=" -L$ac_find_libraries"
25923 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25924 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25925 echo "$as_me:$LINENO: result: yes" >&5
25926 echo "${ECHO_T}yes" >&6
25928 echo "$as_me:$LINENO: result: no" >&5
25929 echo "${ECHO_T}no" >&6
25937 if test "x$OPENGL_LIBS" = "x"; then
25938 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25939 echo "$as_me: error: OpenGL libraries not available" >&2;}
25940 { (exit 1); exit 1; }; }
25944 if test "$wxUSE_OPENGL" = "yes"; then
25946 cat >>confdefs.h
<<\_ACEOF
25947 #define wxUSE_OPENGL 1
25950 cat >>confdefs.h
<<\_ACEOF
25951 #define wxUSE_GLCANVAS 1
25954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25958 if test -z "$TOOLKIT_VPATH" ; then
25959 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25962 if test -n "$TOOLKIT" ; then
25963 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25967 lib_unicode_suffix
=
25968 if test "$wxUSE_UNICODE" = "yes"; then
25969 lib_unicode_suffix
=u
25975 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25981 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25985 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25987 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25988 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25990 if test "$cross_compiling" = "yes"; then
25991 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25992 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25993 HOST_SUFFIX
="-${host_alias}"
25996 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25997 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25998 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25999 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26001 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26002 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26004 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26005 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26006 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26007 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26010 *-*-cygwin* | *-*-mingw32* )
26011 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26012 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26017 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26018 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26020 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26021 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26022 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26023 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26025 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26026 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26027 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26032 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
26033 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
26035 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
26036 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
26038 if test "$wxUSE_OPENGL" = "yes"; then
26039 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26040 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26045 if test "$wxUSE_SHARED" = "yes"; then
26047 *-pc-os2_emx | *-pc-os2-emx | \
26050 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26051 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26057 if test "$wxUSE_SHARED" = "yes"; then
26061 found_versioning
=no
26064 if test $found_versioning = no
; then
26065 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26066 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26067 if test "${wx_cv_version_script+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26071 echo "VER_1 { *; };" >conftest.sym
26072 echo "int main() { return 0; }" >conftest.cpp
26075 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26076 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26078 (eval $ac_try) 2>&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); }; } ; then
26082 if test -s conftest.stderr
; then
26083 wx_cv_version_script
=no
26085 wx_cv_version_script
=yes
26088 wx_cv_version_script
=no
26090 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26093 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26094 echo "${ECHO_T}$wx_cv_version_script" >&6
26095 if test $wx_cv_version_script = yes ; then
26096 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
26102 *-*-linux* | *-*-gnu* )
26103 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
26107 if test "$GCC" = yes ; then
26108 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
26110 saveLdflags
="$LDFLAGS"
26111 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
26112 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
26113 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
26114 cat >conftest.
$ac_ext <<_ACEOF
26115 #line $LINENO "configure"
26118 cat confdefs.h
>>conftest.
$ac_ext
26119 cat >>conftest.
$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26130 rm -f conftest.
$ac_objext conftest
$ac_exeext
26131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26132 (eval $ac_link) 2>&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } &&
26136 { ac_try
='test -s conftest$ac_exeext'
26137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138 (eval $ac_try) 2>&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); }; }; then
26143 echo "$as_me:$LINENO: result: yes" >&5
26144 echo "${ECHO_T}yes" >&6
26145 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
26148 echo "$as_me: failed program was:" >&5
26149 sed 's/^/| /' conftest.
$ac_ext >&5
26152 echo "$as_me:$LINENO: result: no" >&5
26153 echo "${ECHO_T}no" >&6
26154 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
26155 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
26156 LDFLAGS
="$saveLdflags -Wl,-R,/"
26157 cat >conftest.
$ac_ext <<_ACEOF
26158 #line $LINENO "configure"
26161 cat confdefs.h
>>conftest.
$ac_ext
26162 cat >>conftest.
$ac_ext <<_ACEOF
26163 /* end confdefs.h. */
26173 rm -f conftest.
$ac_objext conftest
$ac_exeext
26174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26175 (eval $ac_link) 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } &&
26179 { ac_try
='test -s conftest$ac_exeext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26186 echo "$as_me:$LINENO: result: yes" >&5
26187 echo "${ECHO_T}yes" >&6
26188 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.
$ac_ext >&5
26194 echo "$as_me:$LINENO: result: no" >&5
26195 echo "${ECHO_T}no" >&6
26198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26202 LDFLAGS
="$saveLdflags"
26204 SHARED_LD
="${CXX} -G -o"
26206 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
26210 powerpc
-*-darwin* )
26211 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
26212 cat <<EOF >change-install-names
26214 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
26215 inst_cmd="install_name_tool "
26216 for i in \${libnames} ; do
26217 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
26221 chmod +x change
-install-names
26226 if test "x$WX_TARGET_LIBRARY" = "x"; then
26227 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
26228 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
26231 WX_TARGET_LIBRARY_TYPE
="so"
26232 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
26235 if test "$wxUSE_SHARED" = "no"; then
26237 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
26238 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
26241 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
26242 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
26245 if test "$wxUSE_OPENGL" = "yes"; then
26246 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
26247 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
26249 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
26252 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
26253 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
26255 WX_TARGET_LIBRARY_TYPE
="a"
26256 INSTALL_LIBRARY
='$(INSTALL_DATA)'
26263 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
26264 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
26265 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
26266 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
26268 # Extract the first word of "Rez", so it can be a program name with args.
26269 set dummy Rez
; ac_word
=$2
26270 echo "$as_me:$LINENO: checking for $ac_word" >&5
26271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26272 if test "${ac_cv_prog_RESCOMP+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26275 if test -n "$RESCOMP"; then
26276 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
26278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26279 for as_dir
in $PATH
26282 test -z "$as_dir" && as_dir
=.
26283 for ac_exec_ext
in '' $ac_executable_extensions; do
26284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26285 ac_cv_prog_RESCOMP
="Rez"
26286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26292 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
26295 RESCOMP
=$ac_cv_prog_RESCOMP
26296 if test -n "$RESCOMP"; then
26297 echo "$as_me:$LINENO: result: $RESCOMP" >&5
26298 echo "${ECHO_T}$RESCOMP" >&6
26300 echo "$as_me:$LINENO: result: no" >&5
26301 echo "${ECHO_T}no" >&6
26304 # Extract the first word of "DeRez", so it can be a program name with args.
26305 set dummy DeRez
; ac_word
=$2
26306 echo "$as_me:$LINENO: checking for $ac_word" >&5
26307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26308 if test "${ac_cv_prog_DEREZ+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26311 if test -n "$DEREZ"; then
26312 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
26314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26315 for as_dir
in $PATH
26318 test -z "$as_dir" && as_dir
=.
26319 for ac_exec_ext
in '' $ac_executable_extensions; do
26320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26321 ac_cv_prog_DEREZ
="DeRez"
26322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26328 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
26331 DEREZ
=$ac_cv_prog_DEREZ
26332 if test -n "$DEREZ"; then
26333 echo "$as_me:$LINENO: result: $DEREZ" >&5
26334 echo "${ECHO_T}$DEREZ" >&6
26336 echo "$as_me:$LINENO: result: no" >&5
26337 echo "${ECHO_T}no" >&6
26340 # Extract the first word of "SetFile", so it can be a program name with args.
26341 set dummy SetFile
; ac_word
=$2
26342 echo "$as_me:$LINENO: checking for $ac_word" >&5
26343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26344 if test "${ac_cv_prog_SETFILE+set}" = set; then
26345 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 if test -n "$SETFILE"; then
26348 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
26350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26351 for as_dir
in $PATH
26354 test -z "$as_dir" && as_dir
=.
26355 for ac_exec_ext
in '' $ac_executable_extensions; do
26356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26357 ac_cv_prog_SETFILE
="SetFile"
26358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26364 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
26367 SETFILE
=$ac_cv_prog_SETFILE
26368 if test -n "$SETFILE"; then
26369 echo "$as_me:$LINENO: result: $SETFILE" >&5
26370 echo "${ECHO_T}$SETFILE" >&6
26372 echo "$as_me:$LINENO: result: no" >&5
26373 echo "${ECHO_T}no" >&6
26377 MACSETFILE
="\$(SETFILE)"
26379 if test "$wxUSE_MAC" = 1; then
26380 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
26382 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26384 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
26385 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26391 if test "$wxUSE_PM" = 1; then
26392 MACRESCOMP
="emxbind -ep"
26400 echo "$as_me:$LINENO: checking for mode_t" >&5
26401 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
26402 if test "${ac_cv_type_mode_t+set}" = set; then
26403 echo $ECHO_N "(cached) $ECHO_C" >&6
26405 cat >conftest.
$ac_ext <<_ACEOF
26406 #line $LINENO "configure"
26409 cat confdefs.h
>>conftest.
$ac_ext
26410 cat >>conftest.
$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26412 $ac_includes_default
26418 if (sizeof (mode_t))
26424 rm -f conftest.
$ac_objext
26425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26426 (eval $ac_compile) 2>&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try
='test -s conftest.$ac_objext'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; }; then
26436 ac_cv_type_mode_t
=yes
26438 echo "$as_me: failed program was:" >&5
26439 sed 's/^/| /' conftest.
$ac_ext >&5
26441 ac_cv_type_mode_t
=no
26443 rm -f conftest.
$ac_objext conftest.
$ac_ext
26445 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
26446 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
26447 if test $ac_cv_type_mode_t = yes; then
26451 cat >>confdefs.h
<<_ACEOF
26457 echo "$as_me:$LINENO: checking for off_t" >&5
26458 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
26459 if test "${ac_cv_type_off_t+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 cat >conftest.
$ac_ext <<_ACEOF
26463 #line $LINENO "configure"
26466 cat confdefs.h
>>conftest.
$ac_ext
26467 cat >>conftest.
$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26469 $ac_includes_default
26475 if (sizeof (off_t))
26481 rm -f conftest.
$ac_objext
26482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26483 (eval $ac_compile) 2>&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); } &&
26487 { ac_try
='test -s conftest.$ac_objext'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; }; then
26493 ac_cv_type_off_t
=yes
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.
$ac_ext >&5
26498 ac_cv_type_off_t
=no
26500 rm -f conftest.
$ac_objext conftest.
$ac_ext
26502 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26503 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26504 if test $ac_cv_type_off_t = yes; then
26508 cat >>confdefs.h
<<_ACEOF
26514 echo "$as_me:$LINENO: checking for pid_t" >&5
26515 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26516 if test "${ac_cv_type_pid_t+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26519 cat >conftest.
$ac_ext <<_ACEOF
26520 #line $LINENO "configure"
26523 cat confdefs.h
>>conftest.
$ac_ext
26524 cat >>conftest.
$ac_ext <<_ACEOF
26525 /* end confdefs.h. */
26526 $ac_includes_default
26532 if (sizeof (pid_t))
26538 rm -f conftest.
$ac_objext
26539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26540 (eval $ac_compile) 2>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); } &&
26544 { ac_try
='test -s conftest.$ac_objext'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; }; then
26550 ac_cv_type_pid_t
=yes
26552 echo "$as_me: failed program was:" >&5
26553 sed 's/^/| /' conftest.
$ac_ext >&5
26555 ac_cv_type_pid_t
=no
26557 rm -f conftest.
$ac_objext conftest.
$ac_ext
26559 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26560 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26561 if test $ac_cv_type_pid_t = yes; then
26565 cat >>confdefs.h
<<_ACEOF
26571 echo "$as_me:$LINENO: checking for size_t" >&5
26572 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26573 if test "${ac_cv_type_size_t+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26576 cat >conftest.
$ac_ext <<_ACEOF
26577 #line $LINENO "configure"
26580 cat confdefs.h
>>conftest.
$ac_ext
26581 cat >>conftest.
$ac_ext <<_ACEOF
26582 /* end confdefs.h. */
26583 $ac_includes_default
26589 if (sizeof (size_t))
26595 rm -f conftest.
$ac_objext
26596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26597 (eval $ac_compile) 2>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } &&
26601 { ac_try
='test -s conftest.$ac_objext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607 ac_cv_type_size_t
=yes
26609 echo "$as_me: failed program was:" >&5
26610 sed 's/^/| /' conftest.
$ac_ext >&5
26612 ac_cv_type_size_t
=no
26614 rm -f conftest.
$ac_objext conftest.
$ac_ext
26616 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26617 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26618 if test $ac_cv_type_size_t = yes; then
26622 cat >>confdefs.h
<<_ACEOF
26623 #define size_t unsigned
26628 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26629 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26630 if test "${ac_cv_type_uid_t+set}" = set; then
26631 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 cat >conftest.
$ac_ext <<_ACEOF
26634 #line $LINENO "configure"
26637 cat confdefs.h
>>conftest.
$ac_ext
26638 cat >>conftest.
$ac_ext <<_ACEOF
26639 /* end confdefs.h. */
26640 #include <sys/types.h>
26643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26644 $EGREP "uid_t" >/dev
/null
2>&1; then
26645 ac_cv_type_uid_t
=yes
26647 ac_cv_type_uid_t
=no
26652 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26653 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26654 if test $ac_cv_type_uid_t = no
; then
26656 cat >>confdefs.h
<<\_ACEOF
26661 cat >>confdefs.h
<<\_ACEOF
26671 ac_cpp
='$CXXCPP $CPPFLAGS'
26672 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26673 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26674 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26676 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26677 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26678 if test "${wx_cv_size_t_is_uint+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26682 cat >conftest.
$ac_ext <<_ACEOF
26683 #line $LINENO "configure"
26686 cat confdefs.h
>>conftest.
$ac_ext
26687 cat >>conftest.
$ac_ext <<_ACEOF
26688 /* end confdefs.h. */
26689 #include <stddef.h>
26696 struct Foo { void foo(size_t); void foo(unsigned int); };
26704 rm -f conftest.
$ac_objext
26705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26706 (eval $ac_compile) 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try
='test -s conftest.$ac_objext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26716 wx_cv_size_t_is_uint
=no
26718 echo "$as_me: failed program was:" >&5
26719 sed 's/^/| /' conftest.
$ac_ext >&5
26721 wx_cv_size_t_is_uint
=yes
26724 rm -f conftest.
$ac_objext conftest.
$ac_ext
26728 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26729 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26731 if test "$wx_cv_size_t_is_uint" = "yes"; then
26732 cat >>confdefs.h
<<\_ACEOF
26733 #define wxSIZE_T_IS_UINT 1
26737 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26738 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26739 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26742 cat >conftest.
$ac_ext <<_ACEOF
26743 #line $LINENO "configure"
26746 cat confdefs.h
>>conftest.
$ac_ext
26747 cat >>conftest.
$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26749 #include <stddef.h>
26756 struct Foo { void foo(size_t); void foo(unsigned long); };
26764 rm -f conftest.
$ac_objext
26765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26766 (eval $ac_compile) 2>&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try
='test -s conftest.$ac_objext'
26771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26772 (eval $ac_try) 2>&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); }; }; then
26776 wx_cv_size_t_is_ulong
=no
26778 echo "$as_me: failed program was:" >&5
26779 sed 's/^/| /' conftest.
$ac_ext >&5
26781 wx_cv_size_t_is_ulong
=yes
26784 rm -f conftest.
$ac_objext conftest.
$ac_ext
26787 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26788 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26790 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26791 cat >>confdefs.h
<<\_ACEOF
26792 #define wxSIZE_T_IS_ULONG 1
26799 ac_cpp
='$CPP $CPPFLAGS'
26800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26806 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26807 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26808 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26809 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 cat >conftest.
$ac_ext <<_ACEOF
26813 #line $LINENO "configure"
26816 cat confdefs.h
>>conftest.
$ac_ext
26817 cat >>conftest.
$ac_ext <<_ACEOF
26818 /* end confdefs.h. */
26832 rm -f conftest.
$ac_objext
26833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26834 (eval $ac_compile) 2>&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try
='test -s conftest.$ac_objext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26845 wx_cv_struct_pw_gecos
=yes
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.
$ac_ext >&5
26852 wx_cv_struct_pw_gecos
=no
26856 rm -f conftest.
$ac_objext conftest.
$ac_ext
26860 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26861 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26863 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26864 cat >>confdefs.h
<<\_ACEOF
26865 #define HAVE_PW_GECOS 1
26871 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26872 cat >>confdefs.h
<<\_ACEOF
26873 #define wxUSE_WCHAR_T 1
26880 for ac_func
in wcslen
26882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26883 echo "$as_me:$LINENO: checking for $ac_func" >&5
26884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26885 if eval "test \"\${$as_ac_var+set}\" = set"; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26888 cat >conftest.
$ac_ext <<_ACEOF
26889 #line $LINENO "configure"
26892 cat confdefs.h
>>conftest.
$ac_ext
26893 cat >>conftest.
$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26895 /* System header to define __stub macros and hopefully few prototypes,
26896 which can conflict with char $ac_func (); below.
26897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26898 <limits.h> exists even on freestanding compilers. */
26900 # include <limits.h>
26902 # include <assert.h>
26904 /* Override any gcc2 internal prototype to avoid an error. */
26909 /* We use char because int might match the return type of a gcc2
26910 builtin and then its argument prototype would still apply. */
26912 /* The GNU C library defines this for functions which it implements
26913 to always fail with ENOSYS. Some functions are actually named
26914 something starting with __ and the normal name is an alias. */
26915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26918 char (*f) () = $ac_func;
26927 return f != $ac_func;
26932 rm -f conftest.
$ac_objext conftest
$ac_exeext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26934 (eval $ac_link) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); } &&
26938 { ac_try
='test -s conftest$ac_exeext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 eval "$as_ac_var=yes"
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.
$ac_ext >&5
26949 eval "$as_ac_var=no"
26951 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26955 if test `eval echo '${'$as_ac_var'}'` = yes; then
26956 cat >>confdefs.h
<<_ACEOF
26957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26964 if test "$WCSLEN_FOUND" = 0; then
26965 if test "$TOOLKIT" = "MSW"; then
26966 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26967 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26968 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 ac_check_lib_save_LIBS
=$LIBS
26972 LIBS
="-lmsvcrt $LIBS"
26973 cat >conftest.
$ac_ext <<_ACEOF
26974 #line $LINENO "configure"
26977 cat confdefs.h
>>conftest.
$ac_ext
26978 cat >>conftest.
$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26981 /* Override any gcc2 internal prototype to avoid an error. */
26985 /* We use char because int might match the return type of a gcc2
26986 builtin and then its argument prototype would still apply. */
26996 rm -f conftest.
$ac_objext conftest
$ac_exeext
26997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26998 (eval $ac_link) 2>&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); } &&
27002 { ac_try
='test -s conftest$ac_exeext'
27003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27004 (eval $ac_try) 2>&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); }; }; then
27008 ac_cv_lib_msvcrt_wcslen
=yes
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.
$ac_ext >&5
27013 ac_cv_lib_msvcrt_wcslen
=no
27015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27016 LIBS
=$ac_check_lib_save_LIBS
27018 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
27019 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
27020 if test $ac_cv_lib_msvcrt_wcslen = yes; then
27025 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
27026 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
27027 if test "${ac_cv_lib_w_wcslen+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 ac_check_lib_save_LIBS
=$LIBS
27032 cat >conftest.
$ac_ext <<_ACEOF
27033 #line $LINENO "configure"
27036 cat confdefs.h
>>conftest.
$ac_ext
27037 cat >>conftest.
$ac_ext <<_ACEOF
27038 /* end confdefs.h. */
27040 /* Override any gcc2 internal prototype to avoid an error. */
27044 /* We use char because int might match the return type of a gcc2
27045 builtin and then its argument prototype would still apply. */
27055 rm -f conftest.
$ac_objext conftest
$ac_exeext
27056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27057 (eval $ac_link) 2>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); } &&
27061 { ac_try
='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_cv_lib_w_wcslen
=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.
$ac_ext >&5
27072 ac_cv_lib_w_wcslen
=no
27074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27075 LIBS
=$ac_check_lib_save_LIBS
27077 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
27078 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
27079 if test $ac_cv_lib_w_wcslen = yes; then
27089 if test "$WCSLEN_FOUND" = 1; then
27090 cat >>confdefs.h
<<\_ACEOF
27091 #define HAVE_WCSLEN 1
27097 for ac_func
in wcsrtombs
27099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27100 echo "$as_me:$LINENO: checking for $ac_func" >&5
27101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27102 if eval "test \"\${$as_ac_var+set}\" = set"; then
27103 echo $ECHO_N "(cached) $ECHO_C" >&6
27105 cat >conftest.
$ac_ext <<_ACEOF
27106 #line $LINENO "configure"
27109 cat confdefs.h
>>conftest.
$ac_ext
27110 cat >>conftest.
$ac_ext <<_ACEOF
27111 /* end confdefs.h. */
27112 /* System header to define __stub macros and hopefully few prototypes,
27113 which can conflict with char $ac_func (); below.
27114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27115 <limits.h> exists even on freestanding compilers. */
27117 # include <limits.h>
27119 # include <assert.h>
27121 /* Override any gcc2 internal prototype to avoid an error. */
27126 /* We use char because int might match the return type of a gcc2
27127 builtin and then its argument prototype would still apply. */
27129 /* The GNU C library defines this for functions which it implements
27130 to always fail with ENOSYS. Some functions are actually named
27131 something starting with __ and the normal name is an alias. */
27132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27135 char (*f) () = $ac_func;
27144 return f != $ac_func;
27149 rm -f conftest.
$ac_objext conftest
$ac_exeext
27150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27151 (eval $ac_link) 2>&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try
='test -s conftest$ac_exeext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 eval "$as_ac_var=yes"
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.
$ac_ext >&5
27166 eval "$as_ac_var=no"
27168 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27172 if test `eval echo '${'$as_ac_var'}'` = yes; then
27173 cat >>confdefs.h
<<_ACEOF
27174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27181 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
27182 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
27188 ac_cpp
='$CXXCPP $CPPFLAGS'
27189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27195 for ac_func
in vsnprintf
27197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27198 echo "$as_me:$LINENO: checking for $ac_func" >&5
27199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27200 if eval "test \"\${$as_ac_var+set}\" = set"; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 cat >conftest.
$ac_ext <<_ACEOF
27204 #line $LINENO "configure"
27207 cat confdefs.h
>>conftest.
$ac_ext
27208 cat >>conftest.
$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 /* System header to define __stub macros and hopefully few prototypes,
27211 which can conflict with char $ac_func (); below.
27212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27213 <limits.h> exists even on freestanding compilers. */
27215 # include <limits.h>
27217 # include <assert.h>
27219 /* Override any gcc2 internal prototype to avoid an error. */
27224 /* We use char because int might match the return type of a gcc2
27225 builtin and then its argument prototype would still apply. */
27227 /* The GNU C library defines this for functions which it implements
27228 to always fail with ENOSYS. Some functions are actually named
27229 something starting with __ and the normal name is an alias. */
27230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27233 char (*f) () = $ac_func;
27242 return f != $ac_func;
27247 rm -f conftest.
$ac_objext conftest
$ac_exeext
27248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27249 (eval $ac_link) 2>&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try
='test -s conftest$ac_exeext'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; }; then
27259 eval "$as_ac_var=yes"
27261 echo "$as_me: failed program was:" >&5
27262 sed 's/^/| /' conftest.
$ac_ext >&5
27264 eval "$as_ac_var=no"
27266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27270 if test `eval echo '${'$as_ac_var'}'` = yes; then
27271 cat >>confdefs.h
<<_ACEOF
27272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27279 if test "$ac_cv_func_vsnprintf" = "yes"; then
27280 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
27281 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
27282 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
27283 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 cat >conftest.
$ac_ext <<_ACEOF
27287 #line $LINENO "configure"
27290 cat confdefs.h
>>conftest.
$ac_ext
27291 cat >>conftest.
$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27295 #include <stdarg.h>
27303 vsnprintf(buf, 10u, "%s", ap);
27309 rm -f conftest.
$ac_objext
27310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27311 (eval $ac_compile) 2>&5
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try
='test -s conftest.$ac_objext'
27316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27317 (eval $ac_try) 2>&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); }; }; then
27321 wx_cv_func_vsnprintf_decl
=yes
27323 echo "$as_me: failed program was:" >&5
27324 sed 's/^/| /' conftest.
$ac_ext >&5
27326 wx_cv_func_vsnprintf_decl
=no
27329 rm -f conftest.
$ac_objext conftest.
$ac_ext
27333 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
27334 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
27336 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
27337 cat >>confdefs.h
<<\_ACEOF
27338 #define HAVE_VSNPRINTF_DECL 1
27344 if test "$wxUSE_UNICODE" = yes; then
27348 for ac_func
in fputwc wprintf vswprintf
27350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27351 echo "$as_me:$LINENO: checking for $ac_func" >&5
27352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27353 if eval "test \"\${$as_ac_var+set}\" = set"; then
27354 echo $ECHO_N "(cached) $ECHO_C" >&6
27356 cat >conftest.
$ac_ext <<_ACEOF
27357 #line $LINENO "configure"
27360 cat confdefs.h
>>conftest.
$ac_ext
27361 cat >>conftest.
$ac_ext <<_ACEOF
27362 /* end confdefs.h. */
27363 /* System header to define __stub macros and hopefully few prototypes,
27364 which can conflict with char $ac_func (); below.
27365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27366 <limits.h> exists even on freestanding compilers. */
27368 # include <limits.h>
27370 # include <assert.h>
27372 /* Override any gcc2 internal prototype to avoid an error. */
27377 /* We use char because int might match the return type of a gcc2
27378 builtin and then its argument prototype would still apply. */
27380 /* The GNU C library defines this for functions which it implements
27381 to always fail with ENOSYS. Some functions are actually named
27382 something starting with __ and the normal name is an alias. */
27383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27386 char (*f) () = $ac_func;
27395 return f != $ac_func;
27400 rm -f conftest.
$ac_objext conftest
$ac_exeext
27401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27402 (eval $ac_link) 2>&5
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); } &&
27406 { ac_try
='test -s conftest$ac_exeext'
27407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27408 (eval $ac_try) 2>&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); }; }; then
27412 eval "$as_ac_var=yes"
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.
$ac_ext >&5
27417 eval "$as_ac_var=no"
27419 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27423 if test `eval echo '${'$as_ac_var'}'` = yes; then
27424 cat >>confdefs.h
<<_ACEOF
27425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27432 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
27433 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
27434 cat >conftest.
$ac_ext <<_ACEOF
27435 #line $LINENO "configure"
27438 cat confdefs.h
>>conftest.
$ac_ext
27439 cat >>conftest.
$ac_ext <<_ACEOF
27440 /* end confdefs.h. */
27450 rm -f conftest.
$ac_objext
27451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27452 (eval $ac_compile) 2>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); } &&
27456 { ac_try
='test -s conftest.$ac_objext'
27457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27458 (eval $ac_try) 2>&5
27460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461 (exit $ac_status); }; }; then
27462 echo "$as_me:$LINENO: result: yes" >&5
27463 echo "${ECHO_T}yes" >&6
27464 cat >>confdefs.h
<<\_ACEOF
27465 #define HAVE__VSNWPRINTF 1
27469 echo "$as_me: failed program was:" >&5
27470 sed 's/^/| /' conftest.
$ac_ext >&5
27472 echo "$as_me:$LINENO: result: no" >&5
27473 echo "${ECHO_T}no" >&6
27475 rm -f conftest.
$ac_objext conftest.
$ac_ext;
27479 ac_cpp
='$CPP $CPPFLAGS'
27480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27487 if test "$TOOLKIT" != "MSW"; then
27493 ac_cpp
='$CXXCPP $CPPFLAGS'
27494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27501 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27502 if test "${with_libiconv_prefix+set}" = set; then
27503 withval
="$with_libiconv_prefix"
27505 for dir
in `echo "$withval" | tr : ' '`; do
27506 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27507 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27512 echo "$as_me:$LINENO: checking for iconv" >&5
27513 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27514 if test "${am_cv_func_iconv+set}" = set; then
27515 echo $ECHO_N "(cached) $ECHO_C" >&6
27518 am_cv_func_iconv
="no, consider installing GNU libiconv"
27520 cat >conftest.
$ac_ext <<_ACEOF
27521 #line $LINENO "configure"
27524 cat confdefs.h
>>conftest.
$ac_ext
27525 cat >>conftest.
$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27527 #include <stdlib.h>
27532 iconv_t cd = iconv_open("","");
27533 iconv(cd,NULL,NULL,NULL,NULL);
27539 rm -f conftest.
$ac_objext conftest
$ac_exeext
27540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27541 (eval $ac_link) 2>&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try
='test -s conftest$ac_exeext'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; }; then
27551 am_cv_func_iconv
=yes
27553 echo "$as_me: failed program was:" >&5
27554 sed 's/^/| /' conftest.
$ac_ext >&5
27557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27558 if test "$am_cv_func_iconv" != yes; then
27559 am_save_LIBS
="$LIBS"
27560 LIBS
="$LIBS -liconv"
27561 cat >conftest.
$ac_ext <<_ACEOF
27562 #line $LINENO "configure"
27565 cat confdefs.h
>>conftest.
$ac_ext
27566 cat >>conftest.
$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27568 #include <stdlib.h>
27573 iconv_t cd = iconv_open("","");
27574 iconv(cd,NULL,NULL,NULL,NULL);
27580 rm -f conftest.
$ac_objext conftest
$ac_exeext
27581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27582 (eval $ac_link) 2>&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } &&
27586 { ac_try
='test -s conftest$ac_exeext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27592 am_cv_lib_iconv
=yes
27593 am_cv_func_iconv
=yes
27595 echo "$as_me: failed program was:" >&5
27596 sed 's/^/| /' conftest.
$ac_ext >&5
27599 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27600 LIBS
="$am_save_LIBS"
27604 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27605 echo "${ECHO_T}$am_cv_func_iconv" >&6
27606 if test "$am_cv_func_iconv" = yes; then
27608 cat >>confdefs.h
<<\_ACEOF
27609 #define HAVE_ICONV 1
27612 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27613 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27614 if test "${wx_cv_func_iconv_const+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27617 cat >conftest.
$ac_ext <<_ACEOF
27618 #line $LINENO "configure"
27621 cat confdefs.h
>>conftest.
$ac_ext
27622 cat >>conftest.
$ac_ext <<_ACEOF
27623 /* end confdefs.h. */
27625 #include <stdlib.h>
27631 #if defined(__STDC__) || defined(__cplusplus)
27632 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27645 rm -f conftest.
$ac_objext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27647 (eval $ac_compile) 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); } &&
27651 { ac_try
='test -s conftest.$ac_objext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 wx_cv_func_iconv_const
="no"
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.
$ac_ext >&5
27662 wx_cv_func_iconv_const
="yes"
27665 rm -f conftest.
$ac_objext conftest.
$ac_ext
27668 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27669 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27672 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27673 iconv_const
="const"
27677 cat >>confdefs.h
<<_ACEOF
27678 #define ICONV_CONST $iconv_const
27683 if test "$am_cv_lib_iconv" = yes; then
27688 LIBS
="$LIBICONV $LIBS"
27690 ac_cpp
='$CPP $CPPFLAGS'
27691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27696 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27698 for ac_func
in sigaction
27700 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27701 echo "$as_me:$LINENO: checking for $ac_func" >&5
27702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27703 if eval "test \"\${$as_ac_var+set}\" = set"; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27706 cat >conftest.
$ac_ext <<_ACEOF
27707 #line $LINENO "configure"
27710 cat confdefs.h
>>conftest.
$ac_ext
27711 cat >>conftest.
$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713 /* System header to define __stub macros and hopefully few prototypes,
27714 which can conflict with char $ac_func (); below.
27715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27716 <limits.h> exists even on freestanding compilers. */
27718 # include <limits.h>
27720 # include <assert.h>
27722 /* Override any gcc2 internal prototype to avoid an error. */
27727 /* We use char because int might match the return type of a gcc2
27728 builtin and then its argument prototype would still apply. */
27730 /* The GNU C library defines this for functions which it implements
27731 to always fail with ENOSYS. Some functions are actually named
27732 something starting with __ and the normal name is an alias. */
27733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27736 char (*f) () = $ac_func;
27745 return f != $ac_func;
27750 rm -f conftest.
$ac_objext conftest
$ac_exeext
27751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27752 (eval $ac_link) 2>&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try
='test -s conftest$ac_exeext'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; }; then
27762 eval "$as_ac_var=yes"
27764 echo "$as_me: failed program was:" >&5
27765 sed 's/^/| /' conftest.
$ac_ext >&5
27767 eval "$as_ac_var=no"
27769 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27773 if test `eval echo '${'$as_ac_var'}'` = yes; then
27774 cat >>confdefs.h
<<_ACEOF
27775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27782 if test "$ac_cv_func_sigaction" = "no"; then
27783 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27784 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27785 wxUSE_ON_FATAL_EXCEPTION
=no
27788 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27792 ac_cpp
='$CXXCPP $CPPFLAGS'
27793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27798 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27799 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27800 if test "${wx_cv_type_sa_handler+set}" = set; then
27801 echo $ECHO_N "(cached) $ECHO_C" >&6
27804 cat >conftest.
$ac_ext <<_ACEOF
27805 #line $LINENO "configure"
27808 cat confdefs.h
>>conftest.
$ac_ext
27809 cat >>conftest.
$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27811 #include <signal.h>
27816 extern void testSigHandler(int);
27818 struct sigaction sa;
27819 sa.sa_handler = testSigHandler;
27825 rm -f conftest.
$ac_objext
27826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27827 (eval $ac_compile) 2>&5
27829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27830 (exit $ac_status); } &&
27831 { ac_try
='test -s conftest.$ac_objext'
27832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27833 (eval $ac_try) 2>&5
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); }; }; then
27838 wx_cv_type_sa_handler
=int
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.
$ac_ext >&5
27845 wx_cv_type_sa_handler
=void
27848 rm -f conftest.
$ac_objext conftest.
$ac_ext
27851 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27852 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27855 ac_cpp
='$CPP $CPPFLAGS'
27856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27861 cat >>confdefs.h
<<_ACEOF
27862 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27870 for ac_func
in mkstemp mktemp
27872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27873 echo "$as_me:$LINENO: checking for $ac_func" >&5
27874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27875 if eval "test \"\${$as_ac_var+set}\" = set"; then
27876 echo $ECHO_N "(cached) $ECHO_C" >&6
27878 cat >conftest.
$ac_ext <<_ACEOF
27879 #line $LINENO "configure"
27882 cat confdefs.h
>>conftest.
$ac_ext
27883 cat >>conftest.
$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885 /* System header to define __stub macros and hopefully few prototypes,
27886 which can conflict with char $ac_func (); below.
27887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27888 <limits.h> exists even on freestanding compilers. */
27890 # include <limits.h>
27892 # include <assert.h>
27894 /* Override any gcc2 internal prototype to avoid an error. */
27899 /* We use char because int might match the return type of a gcc2
27900 builtin and then its argument prototype would still apply. */
27902 /* The GNU C library defines this for functions which it implements
27903 to always fail with ENOSYS. Some functions are actually named
27904 something starting with __ and the normal name is an alias. */
27905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27908 char (*f) () = $ac_func;
27917 return f != $ac_func;
27922 rm -f conftest.
$ac_objext conftest
$ac_exeext
27923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27924 (eval $ac_link) 2>&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); } &&
27928 { ac_try
='test -s conftest$ac_exeext'
27929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930 (eval $ac_try) 2>&5
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); }; }; then
27934 eval "$as_ac_var=yes"
27936 echo "$as_me: failed program was:" >&5
27937 sed 's/^/| /' conftest.
$ac_ext >&5
27939 eval "$as_ac_var=no"
27941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27945 if test `eval echo '${'$as_ac_var'}'` = yes; then
27946 cat >>confdefs.h
<<_ACEOF
27947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27954 echo "$as_me:$LINENO: checking for statfs" >&5
27955 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27956 if test "${wx_cv_func_statfs+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27959 cat >conftest.
$ac_ext <<_ACEOF
27960 #line $LINENO "configure"
27963 cat confdefs.h
>>conftest.
$ac_ext
27964 cat >>conftest.
$ac_ext <<_ACEOF
27965 /* end confdefs.h. */
27967 #if defined(__BSD__)
27968 #include <sys/param.h>
27969 #include <sys/mount.h>
27971 #include <sys/vfs.h>
27989 rm -f conftest.
$ac_objext
27990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27991 (eval $ac_compile) 2>&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } &&
27995 { ac_try
='test -s conftest.$ac_objext'
27996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27997 (eval $ac_try) 2>&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); }; }; then
28002 wx_cv_func_statfs
=yes
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.
$ac_ext >&5
28009 wx_cv_func_statfs
=no
28013 rm -f conftest.
$ac_objext conftest.
$ac_ext
28016 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
28017 echo "${ECHO_T}$wx_cv_func_statfs" >&6
28019 if test "$wx_cv_func_statfs" = "yes"; then
28020 wx_cv_type_statvfs_t
="struct statfs"
28021 cat >>confdefs.h
<<\_ACEOF
28022 #define HAVE_STATFS 1
28026 echo "$as_me:$LINENO: checking for statvfs" >&5
28027 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
28028 if test "${wx_cv_func_statvfs+set}" = set; then
28029 echo $ECHO_N "(cached) $ECHO_C" >&6
28031 cat >conftest.
$ac_ext <<_ACEOF
28032 #line $LINENO "configure"
28035 cat confdefs.h
>>conftest.
$ac_ext
28036 cat >>conftest.
$ac_ext <<_ACEOF
28037 /* end confdefs.h. */
28039 #include <stddef.h>
28040 #include <sys/statvfs.h>
28046 statvfs("/", NULL);
28052 rm -f conftest.
$ac_objext
28053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28054 (eval $ac_compile) 2>&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); } &&
28058 { ac_try
='test -s conftest.$ac_objext'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; }; then
28064 wx_cv_func_statvfs
=yes
28066 echo "$as_me: failed program was:" >&5
28067 sed 's/^/| /' conftest.
$ac_ext >&5
28069 wx_cv_func_statvfs
=no
28072 rm -f conftest.
$ac_objext conftest.
$ac_ext
28075 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
28076 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
28078 if test "$wx_cv_func_statvfs" = "yes"; then
28082 ac_cpp
='$CXXCPP $CPPFLAGS'
28083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28088 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
28089 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
28090 if test "${wx_cv_type_statvfs_t+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 cat >conftest.
$ac_ext <<_ACEOF
28094 #line $LINENO "configure"
28097 cat confdefs.h
>>conftest.
$ac_ext
28098 cat >>conftest.
$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28101 #include <sys/statvfs.h>
28118 rm -f conftest.
$ac_objext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28120 (eval $ac_compile) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try
='test -s conftest.$ac_objext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 wx_cv_type_statvfs_t
=statvfs_t
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.
$ac_ext >&5
28136 cat >conftest.
$ac_ext <<_ACEOF
28137 #line $LINENO "configure"
28140 cat confdefs.h
>>conftest.
$ac_ext
28141 cat >>conftest.
$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28144 #include <sys/statvfs.h>
28161 rm -f conftest.
$ac_objext
28162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28163 (eval $ac_compile) 2>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); } &&
28167 { ac_try
='test -s conftest.$ac_objext'
28168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28169 (eval $ac_try) 2>&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); }; }; then
28173 wx_cv_type_statvfs_t
="struct statvfs"
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.
$ac_ext >&5
28178 wx_cv_type_statvfs_t
="unknown"
28181 rm -f conftest.
$ac_objext conftest.
$ac_ext
28185 rm -f conftest.
$ac_objext conftest.
$ac_ext
28188 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
28189 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
28192 ac_cpp
='$CPP $CPPFLAGS'
28193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28198 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28199 cat >>confdefs.h
<<\_ACEOF
28200 #define HAVE_STATVFS 1
28205 wx_cv_type_statvfs_t
="unknown"
28209 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28210 cat >>confdefs.h
<<_ACEOF
28211 #define WX_STATFS_T $wx_cv_type_statvfs_t
28215 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
28216 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
28219 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
28222 for ac_func
in fcntl flock
28224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28225 echo "$as_me:$LINENO: checking for $ac_func" >&5
28226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28227 if eval "test \"\${$as_ac_var+set}\" = set"; then
28228 echo $ECHO_N "(cached) $ECHO_C" >&6
28230 cat >conftest.
$ac_ext <<_ACEOF
28231 #line $LINENO "configure"
28234 cat confdefs.h
>>conftest.
$ac_ext
28235 cat >>conftest.
$ac_ext <<_ACEOF
28236 /* end confdefs.h. */
28237 /* System header to define __stub macros and hopefully few prototypes,
28238 which can conflict with char $ac_func (); below.
28239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28240 <limits.h> exists even on freestanding compilers. */
28242 # include <limits.h>
28244 # include <assert.h>
28246 /* Override any gcc2 internal prototype to avoid an error. */
28251 /* We use char because int might match the return type of a gcc2
28252 builtin and then its argument prototype would still apply. */
28254 /* The GNU C library defines this for functions which it implements
28255 to always fail with ENOSYS. Some functions are actually named
28256 something starting with __ and the normal name is an alias. */
28257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28260 char (*f) () = $ac_func;
28269 return f != $ac_func;
28274 rm -f conftest.
$ac_objext conftest
$ac_exeext
28275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28276 (eval $ac_link) 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } &&
28280 { ac_try
='test -s conftest$ac_exeext'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; }; then
28286 eval "$as_ac_var=yes"
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.
$ac_ext >&5
28291 eval "$as_ac_var=no"
28293 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28297 if test `eval echo '${'$as_ac_var'}'` = yes; then
28298 cat >>confdefs.h
<<_ACEOF
28299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28306 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
28307 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
28308 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
28309 wxUSE_SNGLINST_CHECKER
=no
28314 for ac_func
in timegm
28316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28317 echo "$as_me:$LINENO: checking for $ac_func" >&5
28318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28319 if eval "test \"\${$as_ac_var+set}\" = set"; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28322 cat >conftest.
$ac_ext <<_ACEOF
28323 #line $LINENO "configure"
28326 cat confdefs.h
>>conftest.
$ac_ext
28327 cat >>conftest.
$ac_ext <<_ACEOF
28328 /* end confdefs.h. */
28329 /* System header to define __stub macros and hopefully few prototypes,
28330 which can conflict with char $ac_func (); below.
28331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28332 <limits.h> exists even on freestanding compilers. */
28334 # include <limits.h>
28336 # include <assert.h>
28338 /* Override any gcc2 internal prototype to avoid an error. */
28343 /* We use char because int might match the return type of a gcc2
28344 builtin and then its argument prototype would still apply. */
28346 /* The GNU C library defines this for functions which it implements
28347 to always fail with ENOSYS. Some functions are actually named
28348 something starting with __ and the normal name is an alias. */
28349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28352 char (*f) () = $ac_func;
28361 return f != $ac_func;
28366 rm -f conftest.
$ac_objext conftest
$ac_exeext
28367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28368 (eval $ac_link) 2>&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try
='test -s conftest$ac_exeext'
28373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28374 (eval $ac_try) 2>&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); }; }; then
28378 eval "$as_ac_var=yes"
28380 echo "$as_me: failed program was:" >&5
28381 sed 's/^/| /' conftest.
$ac_ext >&5
28383 eval "$as_ac_var=no"
28385 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28389 if test `eval echo '${'$as_ac_var'}'` = yes; then
28390 cat >>confdefs.h
<<_ACEOF
28391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28400 for ac_func
in putenv setenv
28402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28403 echo "$as_me:$LINENO: checking for $ac_func" >&5
28404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28405 if eval "test \"\${$as_ac_var+set}\" = set"; then
28406 echo $ECHO_N "(cached) $ECHO_C" >&6
28408 cat >conftest.
$ac_ext <<_ACEOF
28409 #line $LINENO "configure"
28412 cat confdefs.h
>>conftest.
$ac_ext
28413 cat >>conftest.
$ac_ext <<_ACEOF
28414 /* end confdefs.h. */
28415 /* System header to define __stub macros and hopefully few prototypes,
28416 which can conflict with char $ac_func (); below.
28417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28418 <limits.h> exists even on freestanding compilers. */
28420 # include <limits.h>
28422 # include <assert.h>
28424 /* Override any gcc2 internal prototype to avoid an error. */
28429 /* We use char because int might match the return type of a gcc2
28430 builtin and then its argument prototype would still apply. */
28432 /* The GNU C library defines this for functions which it implements
28433 to always fail with ENOSYS. Some functions are actually named
28434 something starting with __ and the normal name is an alias. */
28435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28438 char (*f) () = $ac_func;
28447 return f != $ac_func;
28452 rm -f conftest.
$ac_objext conftest
$ac_exeext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28454 (eval $ac_link) 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } &&
28458 { ac_try
='test -s conftest$ac_exeext'
28459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460 (eval $ac_try) 2>&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); }; }; then
28464 eval "$as_ac_var=yes"
28466 echo "$as_me: failed program was:" >&5
28467 sed 's/^/| /' conftest.
$ac_ext >&5
28469 eval "$as_ac_var=no"
28471 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28475 if test `eval echo '${'$as_ac_var'}'` = yes; then
28476 cat >>confdefs.h
<<_ACEOF
28477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28484 HAVE_SOME_SLEEP_FUNC
=0
28485 if test "$USE_BEOS" = 1; then
28486 cat >>confdefs.h
<<\_ACEOF
28487 #define HAVE_SLEEP 1
28490 HAVE_SOME_SLEEP_FUNC
=1
28493 if test "$USE_DARWIN" = 1; then
28494 cat >>confdefs.h
<<\_ACEOF
28495 #define HAVE_USLEEP 1
28498 HAVE_SOME_SLEEP_FUNC
=1
28501 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28504 for ac_func
in nanosleep
28506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28507 echo "$as_me:$LINENO: checking for $ac_func" >&5
28508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28509 if eval "test \"\${$as_ac_var+set}\" = set"; then
28510 echo $ECHO_N "(cached) $ECHO_C" >&6
28512 cat >conftest.
$ac_ext <<_ACEOF
28513 #line $LINENO "configure"
28516 cat confdefs.h
>>conftest.
$ac_ext
28517 cat >>conftest.
$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28519 /* System header to define __stub macros and hopefully few prototypes,
28520 which can conflict with char $ac_func (); below.
28521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28522 <limits.h> exists even on freestanding compilers. */
28524 # include <limits.h>
28526 # include <assert.h>
28528 /* Override any gcc2 internal prototype to avoid an error. */
28533 /* We use char because int might match the return type of a gcc2
28534 builtin and then its argument prototype would still apply. */
28536 /* The GNU C library defines this for functions which it implements
28537 to always fail with ENOSYS. Some functions are actually named
28538 something starting with __ and the normal name is an alias. */
28539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28542 char (*f) () = $ac_func;
28551 return f != $ac_func;
28556 rm -f conftest.
$ac_objext conftest
$ac_exeext
28557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28558 (eval $ac_link) 2>&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } &&
28562 { ac_try
='test -s conftest$ac_exeext'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 eval "$as_ac_var=yes"
28570 echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.
$ac_ext >&5
28573 eval "$as_ac_var=no"
28575 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28579 if test `eval echo '${'$as_ac_var'}'` = yes; then
28580 cat >>confdefs.h
<<_ACEOF
28581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28583 cat >>confdefs.h
<<\_ACEOF
28584 #define HAVE_NANOSLEEP 1
28589 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28590 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28591 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28594 ac_check_lib_save_LIBS
=$LIBS
28595 LIBS
="-lposix4 $LIBS"
28596 cat >conftest.
$ac_ext <<_ACEOF
28597 #line $LINENO "configure"
28600 cat confdefs.h
>>conftest.
$ac_ext
28601 cat >>conftest.
$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28604 /* Override any gcc2 internal prototype to avoid an error. */
28608 /* We use char because int might match the return type of a gcc2
28609 builtin and then its argument prototype would still apply. */
28619 rm -f conftest.
$ac_objext conftest
$ac_exeext
28620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28621 (eval $ac_link) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } &&
28625 { ac_try
='test -s conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_lib_posix4_nanosleep
=yes
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.
$ac_ext >&5
28636 ac_cv_lib_posix4_nanosleep
=no
28638 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28639 LIBS
=$ac_check_lib_save_LIBS
28641 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28642 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28643 if test $ac_cv_lib_posix4_nanosleep = yes; then
28645 cat >>confdefs.h
<<\_ACEOF
28646 #define HAVE_NANOSLEEP 1
28649 POSIX4_LINK
=" -lposix4"
28654 for ac_func
in usleep
28656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28657 echo "$as_me:$LINENO: checking for $ac_func" >&5
28658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28659 if eval "test \"\${$as_ac_var+set}\" = set"; then
28660 echo $ECHO_N "(cached) $ECHO_C" >&6
28662 cat >conftest.
$ac_ext <<_ACEOF
28663 #line $LINENO "configure"
28666 cat confdefs.h
>>conftest.
$ac_ext
28667 cat >>conftest.
$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28669 /* System header to define __stub macros and hopefully few prototypes,
28670 which can conflict with char $ac_func (); below.
28671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28672 <limits.h> exists even on freestanding compilers. */
28674 # include <limits.h>
28676 # include <assert.h>
28678 /* Override any gcc2 internal prototype to avoid an error. */
28683 /* We use char because int might match the return type of a gcc2
28684 builtin and then its argument prototype would still apply. */
28686 /* The GNU C library defines this for functions which it implements
28687 to always fail with ENOSYS. Some functions are actually named
28688 something starting with __ and the normal name is an alias. */
28689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28692 char (*f) () = $ac_func;
28701 return f != $ac_func;
28706 rm -f conftest.
$ac_objext conftest
$ac_exeext
28707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28708 (eval $ac_link) 2>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } &&
28712 { ac_try
='test -s conftest$ac_exeext'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; }; then
28718 eval "$as_ac_var=yes"
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.
$ac_ext >&5
28723 eval "$as_ac_var=no"
28725 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28729 if test `eval echo '${'$as_ac_var'}'` = yes; then
28730 cat >>confdefs.h
<<_ACEOF
28731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28733 cat >>confdefs.h
<<\_ACEOF
28734 #define HAVE_USLEEP 1
28738 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28739 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28757 for ac_func
in uname gethostname
28759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28760 echo "$as_me:$LINENO: checking for $ac_func" >&5
28761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28762 if eval "test \"\${$as_ac_var+set}\" = set"; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 cat >conftest.
$ac_ext <<_ACEOF
28766 #line $LINENO "configure"
28769 cat confdefs.h
>>conftest.
$ac_ext
28770 cat >>conftest.
$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28772 /* System header to define __stub macros and hopefully few prototypes,
28773 which can conflict with char $ac_func (); below.
28774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28775 <limits.h> exists even on freestanding compilers. */
28777 # include <limits.h>
28779 # include <assert.h>
28781 /* Override any gcc2 internal prototype to avoid an error. */
28786 /* We use char because int might match the return type of a gcc2
28787 builtin and then its argument prototype would still apply. */
28789 /* The GNU C library defines this for functions which it implements
28790 to always fail with ENOSYS. Some functions are actually named
28791 something starting with __ and the normal name is an alias. */
28792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28795 char (*f) () = $ac_func;
28804 return f != $ac_func;
28809 rm -f conftest.
$ac_objext conftest
$ac_exeext
28810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28811 (eval $ac_link) 2>&5
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } &&
28815 { ac_try
='test -s conftest$ac_exeext'
28816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28817 (eval $ac_try) 2>&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); }; }; then
28821 eval "$as_ac_var=yes"
28823 echo "$as_me: failed program was:" >&5
28824 sed 's/^/| /' conftest.
$ac_ext >&5
28826 eval "$as_ac_var=no"
28828 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28832 if test `eval echo '${'$as_ac_var'}'` = yes; then
28833 cat >>confdefs.h
<<_ACEOF
28834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28844 ac_cpp
='$CXXCPP $CPPFLAGS'
28845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28851 for ac_func
in strtok_r
28853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28854 echo "$as_me:$LINENO: checking for $ac_func" >&5
28855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28856 if eval "test \"\${$as_ac_var+set}\" = set"; then
28857 echo $ECHO_N "(cached) $ECHO_C" >&6
28859 cat >conftest.
$ac_ext <<_ACEOF
28860 #line $LINENO "configure"
28863 cat confdefs.h
>>conftest.
$ac_ext
28864 cat >>conftest.
$ac_ext <<_ACEOF
28865 /* end confdefs.h. */
28866 /* System header to define __stub macros and hopefully few prototypes,
28867 which can conflict with char $ac_func (); below.
28868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28869 <limits.h> exists even on freestanding compilers. */
28871 # include <limits.h>
28873 # include <assert.h>
28875 /* Override any gcc2 internal prototype to avoid an error. */
28880 /* We use char because int might match the return type of a gcc2
28881 builtin and then its argument prototype would still apply. */
28883 /* The GNU C library defines this for functions which it implements
28884 to always fail with ENOSYS. Some functions are actually named
28885 something starting with __ and the normal name is an alias. */
28886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28889 char (*f) () = $ac_func;
28898 return f != $ac_func;
28903 rm -f conftest.
$ac_objext conftest
$ac_exeext
28904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28905 (eval $ac_link) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } &&
28909 { ac_try
='test -s conftest$ac_exeext'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 eval "$as_ac_var=yes"
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.
$ac_ext >&5
28920 eval "$as_ac_var=no"
28922 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28926 if test `eval echo '${'$as_ac_var'}'` = yes; then
28927 cat >>confdefs.h
<<_ACEOF
28928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28936 ac_cpp
='$CPP $CPPFLAGS'
28937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28944 for ac_func
in inet_addr
28946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28947 echo "$as_me:$LINENO: checking for $ac_func" >&5
28948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28949 if eval "test \"\${$as_ac_var+set}\" = set"; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28952 cat >conftest.
$ac_ext <<_ACEOF
28953 #line $LINENO "configure"
28956 cat confdefs.h
>>conftest.
$ac_ext
28957 cat >>conftest.
$ac_ext <<_ACEOF
28958 /* end confdefs.h. */
28959 /* System header to define __stub macros and hopefully few prototypes,
28960 which can conflict with char $ac_func (); below.
28961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28962 <limits.h> exists even on freestanding compilers. */
28964 # include <limits.h>
28966 # include <assert.h>
28968 /* Override any gcc2 internal prototype to avoid an error. */
28973 /* We use char because int might match the return type of a gcc2
28974 builtin and then its argument prototype would still apply. */
28976 /* The GNU C library defines this for functions which it implements
28977 to always fail with ENOSYS. Some functions are actually named
28978 something starting with __ and the normal name is an alias. */
28979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28982 char (*f) () = $ac_func;
28991 return f != $ac_func;
28996 rm -f conftest.
$ac_objext conftest
$ac_exeext
28997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28998 (eval $ac_link) 2>&5
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); } &&
29002 { ac_try
='test -s conftest$ac_exeext'
29003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29004 (eval $ac_try) 2>&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); }; }; then
29008 eval "$as_ac_var=yes"
29010 echo "$as_me: failed program was:" >&5
29011 sed 's/^/| /' conftest.
$ac_ext >&5
29013 eval "$as_ac_var=no"
29015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29019 if test `eval echo '${'$as_ac_var'}'` = yes; then
29020 cat >>confdefs.h
<<_ACEOF
29021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29023 cat >>confdefs.h
<<\_ACEOF
29024 #define HAVE_INET_ADDR 1
29029 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
29030 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
29031 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 ac_check_lib_save_LIBS
=$LIBS
29036 cat >conftest.
$ac_ext <<_ACEOF
29037 #line $LINENO "configure"
29040 cat confdefs.h
>>conftest.
$ac_ext
29041 cat >>conftest.
$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29044 /* Override any gcc2 internal prototype to avoid an error. */
29048 /* We use char because int might match the return type of a gcc2
29049 builtin and then its argument prototype would still apply. */
29059 rm -f conftest.
$ac_objext conftest
$ac_exeext
29060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29061 (eval $ac_link) 2>&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); } &&
29065 { ac_try
='test -s conftest$ac_exeext'
29066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067 (eval $ac_try) 2>&5
29069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070 (exit $ac_status); }; }; then
29071 ac_cv_lib_nsl_inet_addr
=yes
29073 echo "$as_me: failed program was:" >&5
29074 sed 's/^/| /' conftest.
$ac_ext >&5
29076 ac_cv_lib_nsl_inet_addr
=no
29078 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29079 LIBS
=$ac_check_lib_save_LIBS
29081 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
29082 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
29083 if test $ac_cv_lib_nsl_inet_addr = yes; then
29087 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
29088 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
29089 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 ac_check_lib_save_LIBS
=$LIBS
29093 LIBS
="-lresolv $LIBS"
29094 cat >conftest.
$ac_ext <<_ACEOF
29095 #line $LINENO "configure"
29098 cat confdefs.h
>>conftest.
$ac_ext
29099 cat >>conftest.
$ac_ext <<_ACEOF
29100 /* end confdefs.h. */
29102 /* Override any gcc2 internal prototype to avoid an error. */
29106 /* We use char because int might match the return type of a gcc2
29107 builtin and then its argument prototype would still apply. */
29117 rm -f conftest.
$ac_objext conftest
$ac_exeext
29118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29119 (eval $ac_link) 2>&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } &&
29123 { ac_try
='test -s conftest$ac_exeext'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; }; then
29129 ac_cv_lib_resolv_inet_addr
=yes
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.
$ac_ext >&5
29134 ac_cv_lib_resolv_inet_addr
=no
29136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29137 LIBS
=$ac_check_lib_save_LIBS
29139 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
29140 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
29141 if test $ac_cv_lib_resolv_inet_addr = yes; then
29145 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
29146 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
29147 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29150 ac_check_lib_save_LIBS
=$LIBS
29151 LIBS
="-lsocket $LIBS"
29152 cat >conftest.
$ac_ext <<_ACEOF
29153 #line $LINENO "configure"
29156 cat confdefs.h
>>conftest.
$ac_ext
29157 cat >>conftest.
$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29160 /* Override any gcc2 internal prototype to avoid an error. */
29164 /* We use char because int might match the return type of a gcc2
29165 builtin and then its argument prototype would still apply. */
29175 rm -f conftest.
$ac_objext conftest
$ac_exeext
29176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 (eval $ac_link) 2>&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } &&
29181 { ac_try
='test -s conftest$ac_exeext'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; }; then
29187 ac_cv_lib_socket_inet_addr
=yes
29189 echo "$as_me: failed program was:" >&5
29190 sed 's/^/| /' conftest.
$ac_ext >&5
29192 ac_cv_lib_socket_inet_addr
=no
29194 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29195 LIBS
=$ac_check_lib_save_LIBS
29197 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
29198 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
29199 if test $ac_cv_lib_socket_inet_addr = yes; then
29219 for ac_func
in inet_aton
29221 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29222 echo "$as_me:$LINENO: checking for $ac_func" >&5
29223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29224 if eval "test \"\${$as_ac_var+set}\" = set"; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 cat >conftest.
$ac_ext <<_ACEOF
29228 #line $LINENO "configure"
29231 cat confdefs.h
>>conftest.
$ac_ext
29232 cat >>conftest.
$ac_ext <<_ACEOF
29233 /* end confdefs.h. */
29234 /* System header to define __stub macros and hopefully few prototypes,
29235 which can conflict with char $ac_func (); below.
29236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29237 <limits.h> exists even on freestanding compilers. */
29239 # include <limits.h>
29241 # include <assert.h>
29243 /* Override any gcc2 internal prototype to avoid an error. */
29248 /* We use char because int might match the return type of a gcc2
29249 builtin and then its argument prototype would still apply. */
29251 /* The GNU C library defines this for functions which it implements
29252 to always fail with ENOSYS. Some functions are actually named
29253 something starting with __ and the normal name is an alias. */
29254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29257 char (*f) () = $ac_func;
29266 return f != $ac_func;
29271 rm -f conftest.
$ac_objext conftest
$ac_exeext
29272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29273 (eval $ac_link) 2>&5
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } &&
29277 { ac_try
='test -s conftest$ac_exeext'
29278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29279 (eval $ac_try) 2>&5
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); }; }; then
29283 eval "$as_ac_var=yes"
29285 echo "$as_me: failed program was:" >&5
29286 sed 's/^/| /' conftest.
$ac_ext >&5
29288 eval "$as_ac_var=no"
29290 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29294 if test `eval echo '${'$as_ac_var'}'` = yes; then
29295 cat >>confdefs.h
<<_ACEOF
29296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29298 cat >>confdefs.h
<<\_ACEOF
29299 #define HAVE_INET_ATON 1
29304 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
29305 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
29306 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
29307 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
29308 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 ac_check_lib_save_LIBS
=$LIBS
29311 LIBS
="-l$INET_LINK $LIBS"
29312 cat >conftest.
$ac_ext <<_ACEOF
29313 #line $LINENO "configure"
29316 cat confdefs.h
>>conftest.
$ac_ext
29317 cat >>conftest.
$ac_ext <<_ACEOF
29318 /* end confdefs.h. */
29320 /* Override any gcc2 internal prototype to avoid an error. */
29324 /* We use char because int might match the return type of a gcc2
29325 builtin and then its argument prototype would still apply. */
29335 rm -f conftest.
$ac_objext conftest
$ac_exeext
29336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29337 (eval $ac_link) 2>&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } &&
29341 { ac_try
='test -s conftest$ac_exeext'
29342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29343 (eval $ac_try) 2>&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); }; }; then
29347 eval "$as_ac_Lib=yes"
29349 echo "$as_me: failed program was:" >&5
29350 sed 's/^/| /' conftest.
$ac_ext >&5
29352 eval "$as_ac_Lib=no"
29354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29355 LIBS
=$ac_check_lib_save_LIBS
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
29359 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29360 cat >>confdefs.h
<<\_ACEOF
29361 #define HAVE_INET_ATON 1
29371 if test "x$INET_LINK" != "x"; then
29372 cat >>confdefs.h
<<\_ACEOF
29373 #define HAVE_INET_ADDR 1
29376 INET_LINK
=" -l$INET_LINK"
29384 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
29385 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
29386 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 ac_check_lib_save_LIBS
=$LIBS
29391 cat >conftest.
$ac_ext <<_ACEOF
29392 #line $LINENO "configure"
29395 cat confdefs.h
>>conftest.
$ac_ext
29396 cat >>conftest.
$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29399 /* Override any gcc2 internal prototype to avoid an error. */
29403 /* We use char because int might match the return type of a gcc2
29404 builtin and then its argument prototype would still apply. */
29414 rm -f conftest.
$ac_objext conftest
$ac_exeext
29415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29416 (eval $ac_link) 2>&5
29418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419 (exit $ac_status); } &&
29420 { ac_try
='test -s conftest$ac_exeext'
29421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422 (eval $ac_try) 2>&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; }; then
29426 ac_cv_lib_esd_esd_close
=yes
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.
$ac_ext >&5
29431 ac_cv_lib_esd_esd_close
=no
29433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29434 LIBS
=$ac_check_lib_save_LIBS
29436 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
29437 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
29438 if test $ac_cv_lib_esd_esd_close = yes; then
29441 for ac_header
in esd.h
29443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29445 echo "$as_me:$LINENO: checking for $ac_header" >&5
29446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29453 # Is the header compilable?
29454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29456 cat >conftest.
$ac_ext <<_ACEOF
29457 #line $LINENO "configure"
29460 cat confdefs.h
>>conftest.
$ac_ext
29461 cat >>conftest.
$ac_ext <<_ACEOF
29462 /* end confdefs.h. */
29463 $ac_includes_default
29464 #include <$ac_header>
29466 rm -f conftest.
$ac_objext
29467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29468 (eval $ac_compile) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try
='test -s conftest.$ac_objext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 ac_header_compiler
=yes
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.
$ac_ext >&5
29483 ac_header_compiler
=no
29485 rm -f conftest.
$ac_objext conftest.
$ac_ext
29486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29487 echo "${ECHO_T}$ac_header_compiler" >&6
29489 # Is the header present?
29490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29492 cat >conftest.
$ac_ext <<_ACEOF
29493 #line $LINENO "configure"
29496 cat confdefs.h
>>conftest.
$ac_ext
29497 cat >>conftest.
$ac_ext <<_ACEOF
29498 /* end confdefs.h. */
29499 #include <$ac_header>
29501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29502 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29504 grep -v '^ *+' conftest.er1
>conftest.err
29506 cat conftest.err
>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } >/dev
/null
; then
29509 if test -s conftest.err
; then
29510 ac_cpp_err
=$ac_c_preproc_warn_flag
29517 if test -z "$ac_cpp_err"; then
29518 ac_header_preproc
=yes
29520 echo "$as_me: failed program was:" >&5
29521 sed 's/^/| /' conftest.
$ac_ext >&5
29523 ac_header_preproc
=no
29525 rm -f conftest.err conftest.
$ac_ext
29526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29527 echo "${ECHO_T}$ac_header_preproc" >&6
29529 # So? What about this header?
29530 case $ac_header_compiler:$ac_header_preproc in
29532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29538 ## ------------------------------------ ##
29539 ## Report this to bug-autoconf@gnu.org. ##
29540 ## ------------------------------------ ##
29543 sed "s/^/$as_me: WARNING: /" >&2
29546 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29547 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29549 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29554 ## ------------------------------------ ##
29555 ## Report this to bug-autoconf@gnu.org. ##
29556 ## ------------------------------------ ##
29559 sed "s/^/$as_me: WARNING: /" >&2
29562 echo "$as_me:$LINENO: checking for $ac_header" >&5
29563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29567 eval "$as_ac_Header=$ac_header_preproc"
29569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29574 cat >>confdefs.h
<<_ACEOF
29575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29578 EXTRALIBS_ESD
="-lesd"
29589 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29590 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29591 cat >conftest.
$ac_ext <<_ACEOF
29592 #line $LINENO "configure"
29595 cat confdefs.h
>>conftest.
$ac_ext
29596 cat >>conftest.
$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29599 #include <linux/cdrom.h>
29602 #include <sys/cdio.h>
29608 struct cdrom_tocentry entry, old_entry;
29613 rm -f conftest.
$ac_objext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29615 (eval $ac_compile) 2>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); } &&
29619 { ac_try
='test -s conftest.$ac_objext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625 echo "$as_me:$LINENO: result: yes" >&5
29626 echo "${ECHO_T}yes" >&6
29627 cat >>confdefs.h
<<\_ACEOF
29628 #define HAVE_KNOWN_CDROM_INTERFACE 1
29632 echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.
$ac_ext >&5
29635 echo "$as_me:$LINENO: result: no" >&5
29636 echo "${ECHO_T}no" >&6
29638 rm -f conftest.
$ac_objext conftest.
$ac_ext
29641 cat >confcache
<<\_ACEOF
29642 # This file is a shell script that caches the results of configure
29643 # tests run on this system so they can be shared between configure
29644 # scripts and configure runs, see configure's option --config-cache.
29645 # It is not useful on other systems. If it contains results you don't
29646 # want to keep, you may remove or edit it.
29648 # config.status only pays attention to the cache file if you give it
29649 # the --recheck option to rerun configure.
29651 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29652 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29653 # following values.
29657 # The following way of writing the cache mishandles newlines in values,
29658 # but we know of no workaround that is simple, portable, and efficient.
29659 # So, don't put newlines in cache variables' values.
29660 # Ultrix sh set writes to stderr and can't be redirected directly,
29661 # and sets the high bit in the cache file unless we assign to the vars.
29664 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29666 # `set' does not quote correctly, so add quotes (double-quote
29667 # substitution turns \\\\ into \\, and sed turns \\ into \).
29670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29673 # `set' quotes correctly as required by POSIX, so do not add quotes.
29675 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29682 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29684 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29686 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29687 if test -w $cache_file; then
29688 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29689 cat confcache
>$cache_file
29691 echo "not updating unwritable cache $cache_file"
29698 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29704 if test "$wxUSE_THREADS" = "yes" ; then
29705 if test "$USE_BEOS" = 1; then
29706 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29707 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29712 if test "$wxUSE_THREADS" = "yes" ; then
29715 THREAD_OPTS
="-pthread"
29717 *-*-solaris2* | *-*-sunos4* )
29718 if test "x$GCC" = "xyes"; then
29719 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29721 THREAD_OPTS
="-mt $THREAD_OPTS"
29725 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29727 *-*-darwin* | *-*-cygwin* )
29731 THREAD_OPTS
="pthreads"
29734 if test "x$GCC" != "xyes"; then
29740 if test "x$GCC" = "xyes"; then
29746 if test "x$GCC" != "xyes"; then
29747 THREAD_OPTS
="-Ethread"
29752 THREAD_OPTS
="$THREAD_OPTS pthread none"
29755 for flag
in $THREAD_OPTS; do
29758 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29759 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29763 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29764 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29765 THREADS_CFLAGS
="$flag"
29769 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29770 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29771 THREADS_LINK
="-l$flag"
29776 save_CFLAGS
="$CFLAGS"
29777 LIBS
="$THREADS_LINK $LIBS"
29778 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29780 cat >conftest.
$ac_ext <<_ACEOF
29781 #line $LINENO "configure"
29784 cat confdefs.h
>>conftest.
$ac_ext
29785 cat >>conftest.
$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29787 #include <pthread.h>
29791 pthread_create(0,0,0,0);
29796 rm -f conftest.
$ac_objext conftest
$ac_exeext
29797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29798 (eval $ac_link) 2>&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } &&
29802 { ac_try
='test -s conftest$ac_exeext'
29803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804 (eval $ac_try) 2>&5
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); }; }; then
29810 echo "$as_me: failed program was:" >&5
29811 sed 's/^/| /' conftest.
$ac_ext >&5
29814 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29817 CFLAGS
="$save_CFLAGS"
29819 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29820 echo "${ECHO_T}$THREADS_OK" >&6
29821 if test "x$THREADS_OK" = "xyes"; then
29829 if test "x$THREADS_OK" != "xyes"; then
29831 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29832 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29834 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29835 LIBS
="$THREADS_LINK $LIBS"
29837 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29838 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29842 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29843 flag
="-D_THREAD_SAFE"
29846 flag
="-D_THREAD_SAFE"
29849 flag
="-D_REENTRANT"
29850 if test "x$GCC" != "xyes"; then
29851 flag
="$flag -D_RWSTD_MULTI_THREAD"
29854 *solaris
* | alpha
*-osf*)
29855 flag
="-D_REENTRANT"
29858 echo "$as_me:$LINENO: result: ${flag}" >&5
29859 echo "${ECHO_T}${flag}" >&6
29860 if test "x$flag" != xno
; then
29861 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29864 if test "x$THREADS_CFLAGS" != "x"; then
29865 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29866 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29871 if test "$wxUSE_THREADS" = "yes" ; then
29873 for ac_func
in thr_setconcurrency
29875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29876 echo "$as_me:$LINENO: checking for $ac_func" >&5
29877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29878 if eval "test \"\${$as_ac_var+set}\" = set"; then
29879 echo $ECHO_N "(cached) $ECHO_C" >&6
29881 cat >conftest.
$ac_ext <<_ACEOF
29882 #line $LINENO "configure"
29885 cat confdefs.h
>>conftest.
$ac_ext
29886 cat >>conftest.
$ac_ext <<_ACEOF
29887 /* end confdefs.h. */
29888 /* System header to define __stub macros and hopefully few prototypes,
29889 which can conflict with char $ac_func (); below.
29890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29891 <limits.h> exists even on freestanding compilers. */
29893 # include <limits.h>
29895 # include <assert.h>
29897 /* Override any gcc2 internal prototype to avoid an error. */
29902 /* We use char because int might match the return type of a gcc2
29903 builtin and then its argument prototype would still apply. */
29905 /* The GNU C library defines this for functions which it implements
29906 to always fail with ENOSYS. Some functions are actually named
29907 something starting with __ and the normal name is an alias. */
29908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29911 char (*f) () = $ac_func;
29920 return f != $ac_func;
29925 rm -f conftest.
$ac_objext conftest
$ac_exeext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927 (eval $ac_link) 2>&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try
='test -s conftest$ac_exeext'
29932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29933 (eval $ac_try) 2>&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); }; }; then
29937 eval "$as_ac_var=yes"
29939 echo "$as_me: failed program was:" >&5
29940 sed 's/^/| /' conftest.
$ac_ext >&5
29942 eval "$as_ac_var=no"
29944 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29948 if test `eval echo '${'$as_ac_var'}'` = yes; then
29949 cat >>confdefs.h
<<_ACEOF
29950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29958 for ac_header
in sched.h
29960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29962 echo "$as_me:$LINENO: checking for $ac_header" >&5
29963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29965 echo $ECHO_N "(cached) $ECHO_C" >&6
29967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29970 # Is the header compilable?
29971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29973 cat >conftest.
$ac_ext <<_ACEOF
29974 #line $LINENO "configure"
29977 cat confdefs.h
>>conftest.
$ac_ext
29978 cat >>conftest.
$ac_ext <<_ACEOF
29979 /* end confdefs.h. */
29980 $ac_includes_default
29981 #include <$ac_header>
29983 rm -f conftest.
$ac_objext
29984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29985 (eval $ac_compile) 2>&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); } &&
29989 { ac_try
='test -s conftest.$ac_objext'
29990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29991 (eval $ac_try) 2>&5
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); }; }; then
29995 ac_header_compiler
=yes
29997 echo "$as_me: failed program was:" >&5
29998 sed 's/^/| /' conftest.
$ac_ext >&5
30000 ac_header_compiler
=no
30002 rm -f conftest.
$ac_objext conftest.
$ac_ext
30003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30004 echo "${ECHO_T}$ac_header_compiler" >&6
30006 # Is the header present?
30007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30009 cat >conftest.
$ac_ext <<_ACEOF
30010 #line $LINENO "configure"
30013 cat confdefs.h
>>conftest.
$ac_ext
30014 cat >>conftest.
$ac_ext <<_ACEOF
30015 /* end confdefs.h. */
30016 #include <$ac_header>
30018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30021 grep -v '^ *+' conftest.er1
>conftest.err
30023 cat conftest.err
>&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); } >/dev
/null
; then
30026 if test -s conftest.err
; then
30027 ac_cpp_err
=$ac_c_preproc_warn_flag
30034 if test -z "$ac_cpp_err"; then
30035 ac_header_preproc
=yes
30037 echo "$as_me: failed program was:" >&5
30038 sed 's/^/| /' conftest.
$ac_ext >&5
30040 ac_header_preproc
=no
30042 rm -f conftest.err conftest.
$ac_ext
30043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30044 echo "${ECHO_T}$ac_header_preproc" >&6
30046 # So? What about this header?
30047 case $ac_header_compiler:$ac_header_preproc in
30049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30055 ## ------------------------------------ ##
30056 ## Report this to bug-autoconf@gnu.org. ##
30057 ## ------------------------------------ ##
30060 sed "s/^/$as_me: WARNING: /" >&2
30063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30071 ## ------------------------------------ ##
30072 ## Report this to bug-autoconf@gnu.org. ##
30073 ## ------------------------------------ ##
30076 sed "s/^/$as_me: WARNING: /" >&2
30079 echo "$as_me:$LINENO: checking for $ac_header" >&5
30080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 eval "$as_ac_Header=$ac_header_preproc"
30086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30091 cat >>confdefs.h
<<_ACEOF
30092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30099 if test "$ac_cv_header_sched_h" = "yes"; then
30100 echo "$as_me:$LINENO: checking for sched_yield" >&5
30101 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
30102 if test "${ac_cv_func_sched_yield+set}" = set; then
30103 echo $ECHO_N "(cached) $ECHO_C" >&6
30105 cat >conftest.
$ac_ext <<_ACEOF
30106 #line $LINENO "configure"
30109 cat confdefs.h
>>conftest.
$ac_ext
30110 cat >>conftest.
$ac_ext <<_ACEOF
30111 /* end confdefs.h. */
30112 /* System header to define __stub macros and hopefully few prototypes,
30113 which can conflict with char sched_yield (); below.
30114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30115 <limits.h> exists even on freestanding compilers. */
30117 # include <limits.h>
30119 # include <assert.h>
30121 /* Override any gcc2 internal prototype to avoid an error. */
30126 /* We use char because int might match the return type of a gcc2
30127 builtin and then its argument prototype would still apply. */
30128 char sched_yield ();
30129 /* The GNU C library defines this for functions which it implements
30130 to always fail with ENOSYS. Some functions are actually named
30131 something starting with __ and the normal name is an alias. */
30132 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
30135 char (*f) () = sched_yield;
30144 return f != sched_yield;
30149 rm -f conftest.
$ac_objext conftest
$ac_exeext
30150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30151 (eval $ac_link) 2>&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); } &&
30155 { ac_try
='test -s conftest$ac_exeext'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; }; then
30161 ac_cv_func_sched_yield
=yes
30163 echo "$as_me: failed program was:" >&5
30164 sed 's/^/| /' conftest.
$ac_ext >&5
30166 ac_cv_func_sched_yield
=no
30168 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30170 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
30171 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
30172 if test $ac_cv_func_sched_yield = yes; then
30173 cat >>confdefs.h
<<\_ACEOF
30174 #define HAVE_SCHED_YIELD 1
30179 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
30180 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
30181 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
30182 echo $ECHO_N "(cached) $ECHO_C" >&6
30184 ac_check_lib_save_LIBS
=$LIBS
30185 LIBS
="-lposix4 $LIBS"
30186 cat >conftest.
$ac_ext <<_ACEOF
30187 #line $LINENO "configure"
30190 cat confdefs.h
>>conftest.
$ac_ext
30191 cat >>conftest.
$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30194 /* Override any gcc2 internal prototype to avoid an error. */
30198 /* We use char because int might match the return type of a gcc2
30199 builtin and then its argument prototype would still apply. */
30200 char sched_yield ();
30209 rm -f conftest.
$ac_objext conftest
$ac_exeext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30211 (eval $ac_link) 2>&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } &&
30215 { ac_try
='test -s conftest$ac_exeext'
30216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217 (eval $ac_try) 2>&5
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; }; then
30221 ac_cv_lib_posix4_sched_yield
=yes
30223 echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.
$ac_ext >&5
30226 ac_cv_lib_posix4_sched_yield
=no
30228 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30229 LIBS
=$ac_check_lib_save_LIBS
30231 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
30232 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
30233 if test $ac_cv_lib_posix4_sched_yield = yes; then
30234 cat >>confdefs.h
<<\_ACEOF
30235 #define HAVE_SCHED_YIELD 1
30237 POSIX4_LINK
=" -lposix4"
30239 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
30240 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
30251 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
30252 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
30253 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
30254 echo $ECHO_N "(cached) $ECHO_C" >&6
30256 cat >conftest.
$ac_ext <<_ACEOF
30257 #line $LINENO "configure"
30260 cat confdefs.h
>>conftest.
$ac_ext
30261 cat >>conftest.
$ac_ext <<_ACEOF
30262 /* end confdefs.h. */
30263 /* System header to define __stub macros and hopefully few prototypes,
30264 which can conflict with char pthread_attr_getschedpolicy (); below.
30265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30266 <limits.h> exists even on freestanding compilers. */
30268 # include <limits.h>
30270 # include <assert.h>
30272 /* Override any gcc2 internal prototype to avoid an error. */
30277 /* We use char because int might match the return type of a gcc2
30278 builtin and then its argument prototype would still apply. */
30279 char pthread_attr_getschedpolicy ();
30280 /* The GNU C library defines this for functions which it implements
30281 to always fail with ENOSYS. Some functions are actually named
30282 something starting with __ and the normal name is an alias. */
30283 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
30286 char (*f) () = pthread_attr_getschedpolicy;
30295 return f != pthread_attr_getschedpolicy;
30300 rm -f conftest.
$ac_objext conftest
$ac_exeext
30301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30302 (eval $ac_link) 2>&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); } &&
30306 { ac_try
='test -s conftest$ac_exeext'
30307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308 (eval $ac_try) 2>&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); }; }; then
30312 ac_cv_func_pthread_attr_getschedpolicy
=yes
30314 echo "$as_me: failed program was:" >&5
30315 sed 's/^/| /' conftest.
$ac_ext >&5
30317 ac_cv_func_pthread_attr_getschedpolicy
=no
30319 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30321 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
30322 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
30323 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
30324 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
30325 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
30326 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
30327 echo $ECHO_N "(cached) $ECHO_C" >&6
30329 cat >conftest.
$ac_ext <<_ACEOF
30330 #line $LINENO "configure"
30333 cat confdefs.h
>>conftest.
$ac_ext
30334 cat >>conftest.
$ac_ext <<_ACEOF
30335 /* end confdefs.h. */
30336 /* System header to define __stub macros and hopefully few prototypes,
30337 which can conflict with char pthread_attr_setschedparam (); below.
30338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30339 <limits.h> exists even on freestanding compilers. */
30341 # include <limits.h>
30343 # include <assert.h>
30345 /* Override any gcc2 internal prototype to avoid an error. */
30350 /* We use char because int might match the return type of a gcc2
30351 builtin and then its argument prototype would still apply. */
30352 char pthread_attr_setschedparam ();
30353 /* The GNU C library defines this for functions which it implements
30354 to always fail with ENOSYS. Some functions are actually named
30355 something starting with __ and the normal name is an alias. */
30356 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
30359 char (*f) () = pthread_attr_setschedparam;
30368 return f != pthread_attr_setschedparam;
30373 rm -f conftest.
$ac_objext conftest
$ac_exeext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30375 (eval $ac_link) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); } &&
30379 { ac_try
='test -s conftest$ac_exeext'
30380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381 (eval $ac_try) 2>&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); }; }; then
30385 ac_cv_func_pthread_attr_setschedparam
=yes
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.
$ac_ext >&5
30390 ac_cv_func_pthread_attr_setschedparam
=no
30392 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30394 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
30395 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
30396 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
30397 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
30398 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
30399 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
30400 echo $ECHO_N "(cached) $ECHO_C" >&6
30402 cat >conftest.
$ac_ext <<_ACEOF
30403 #line $LINENO "configure"
30406 cat confdefs.h
>>conftest.
$ac_ext
30407 cat >>conftest.
$ac_ext <<_ACEOF
30408 /* end confdefs.h. */
30409 /* System header to define __stub macros and hopefully few prototypes,
30410 which can conflict with char sched_get_priority_max (); below.
30411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30412 <limits.h> exists even on freestanding compilers. */
30414 # include <limits.h>
30416 # include <assert.h>
30418 /* Override any gcc2 internal prototype to avoid an error. */
30423 /* We use char because int might match the return type of a gcc2
30424 builtin and then its argument prototype would still apply. */
30425 char sched_get_priority_max ();
30426 /* The GNU C library defines this for functions which it implements
30427 to always fail with ENOSYS. Some functions are actually named
30428 something starting with __ and the normal name is an alias. */
30429 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
30432 char (*f) () = sched_get_priority_max;
30441 return f != sched_get_priority_max;
30446 rm -f conftest.
$ac_objext conftest
$ac_exeext
30447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30448 (eval $ac_link) 2>&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } &&
30452 { ac_try
='test -s conftest$ac_exeext'
30453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30454 (eval $ac_try) 2>&5
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); }; }; then
30458 ac_cv_func_sched_get_priority_max
=yes
30460 echo "$as_me: failed program was:" >&5
30461 sed 's/^/| /' conftest.
$ac_ext >&5
30463 ac_cv_func_sched_get_priority_max
=no
30465 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30467 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
30468 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
30469 if test $ac_cv_func_sched_get_priority_max = yes; then
30472 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
30473 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
30474 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
30475 echo $ECHO_N "(cached) $ECHO_C" >&6
30477 ac_check_lib_save_LIBS
=$LIBS
30478 LIBS
="-lposix4 $LIBS"
30479 cat >conftest.
$ac_ext <<_ACEOF
30480 #line $LINENO "configure"
30483 cat confdefs.h
>>conftest.
$ac_ext
30484 cat >>conftest.
$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30487 /* Override any gcc2 internal prototype to avoid an error. */
30491 /* We use char because int might match the return type of a gcc2
30492 builtin and then its argument prototype would still apply. */
30493 char sched_get_priority_max ();
30497 sched_get_priority_max ();
30502 rm -f conftest.
$ac_objext conftest
$ac_exeext
30503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30504 (eval $ac_link) 2>&5
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); } &&
30508 { ac_try
='test -s conftest$ac_exeext'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; }; then
30514 ac_cv_lib_posix4_sched_get_priority_max
=yes
30516 echo "$as_me: failed program was:" >&5
30517 sed 's/^/| /' conftest.
$ac_ext >&5
30519 ac_cv_lib_posix4_sched_get_priority_max
=no
30521 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30522 LIBS
=$ac_check_lib_save_LIBS
30524 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30525 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30526 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30529 POSIX4_LINK
=" -lposix4"
30543 if test "$HAVE_PRIOR_FUNCS" = 1; then
30544 cat >>confdefs.h
<<\_ACEOF
30545 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30549 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30550 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30553 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30554 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30555 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30556 echo $ECHO_N "(cached) $ECHO_C" >&6
30558 cat >conftest.
$ac_ext <<_ACEOF
30559 #line $LINENO "configure"
30562 cat confdefs.h
>>conftest.
$ac_ext
30563 cat >>conftest.
$ac_ext <<_ACEOF
30564 /* end confdefs.h. */
30565 /* System header to define __stub macros and hopefully few prototypes,
30566 which can conflict with char pthread_cancel (); below.
30567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30568 <limits.h> exists even on freestanding compilers. */
30570 # include <limits.h>
30572 # include <assert.h>
30574 /* Override any gcc2 internal prototype to avoid an error. */
30579 /* We use char because int might match the return type of a gcc2
30580 builtin and then its argument prototype would still apply. */
30581 char pthread_cancel ();
30582 /* The GNU C library defines this for functions which it implements
30583 to always fail with ENOSYS. Some functions are actually named
30584 something starting with __ and the normal name is an alias. */
30585 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30588 char (*f) () = pthread_cancel;
30597 return f != pthread_cancel;
30602 rm -f conftest.
$ac_objext conftest
$ac_exeext
30603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30604 (eval $ac_link) 2>&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); } &&
30608 { ac_try
='test -s conftest$ac_exeext'
30609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30610 (eval $ac_try) 2>&5
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); }; }; then
30614 ac_cv_func_pthread_cancel
=yes
30616 echo "$as_me: failed program was:" >&5
30617 sed 's/^/| /' conftest.
$ac_ext >&5
30619 ac_cv_func_pthread_cancel
=no
30621 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30623 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30624 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30625 if test $ac_cv_func_pthread_cancel = yes; then
30626 cat >>confdefs.h
<<\_ACEOF
30627 #define HAVE_PTHREAD_CANCEL 1
30631 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30632 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30638 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30639 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30640 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30641 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 cat >conftest.
$ac_ext <<_ACEOF
30645 #line $LINENO "configure"
30648 cat confdefs.h
>>conftest.
$ac_ext
30649 cat >>conftest.
$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30651 #include <pthread.h>
30656 pthread_mutexattr_t attr;
30657 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30663 rm -f conftest.
$ac_objext
30664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30665 (eval $ac_compile) 2>&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); } &&
30669 { ac_try
='test -s conftest.$ac_objext'
30670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30671 (eval $ac_try) 2>&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); }; }; then
30676 wx_cv_type_pthread_mutexattr_t
=yes
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.
$ac_ext >&5
30683 wx_cv_type_pthread_mutexattr_t
=no
30687 rm -f conftest.
$ac_objext conftest.
$ac_ext
30690 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30691 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30693 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30694 cat >>confdefs.h
<<\_ACEOF
30695 #define HAVE_PTHREAD_MUTEXATTR_T 1
30699 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30700 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30701 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30702 echo $ECHO_N "(cached) $ECHO_C" >&6
30705 cat >conftest.
$ac_ext <<_ACEOF
30706 #line $LINENO "configure"
30709 cat confdefs.h
>>conftest.
$ac_ext
30710 cat >>conftest.
$ac_ext <<_ACEOF
30711 /* end confdefs.h. */
30712 #include <pthread.h>
30717 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30723 rm -f conftest.
$ac_objext
30724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30725 (eval $ac_compile) 2>&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } &&
30729 { ac_try
='test -s conftest.$ac_objext'
30730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 (eval $ac_try) 2>&5
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; }; then
30736 wx_cv_type_pthread_rec_mutex_init
=yes
30739 echo "$as_me: failed program was:" >&5
30740 sed 's/^/| /' conftest.
$ac_ext >&5
30743 wx_cv_type_pthread_rec_mutex_init
=no
30747 rm -f conftest.
$ac_objext conftest.
$ac_ext
30750 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30751 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30752 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30753 cat >>confdefs.h
<<\_ACEOF
30754 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30758 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30759 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30765 if test "$wxUSE_THREADS" = "yes" ; then
30768 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30769 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30770 if test "${wx_cv_cflags_mthread+set}" = set; then
30771 echo $ECHO_N "(cached) $ECHO_C" >&6
30774 CFLAGS_OLD
="$CFLAGS"
30775 CFLAGS
="$CFLAGS -mthreads"
30776 cat >conftest.
$ac_ext <<_ACEOF
30777 #line $LINENO "configure"
30780 cat confdefs.h
>>conftest.
$ac_ext
30781 cat >>conftest.
$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30792 rm -f conftest.
$ac_objext
30793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30794 (eval $ac_compile) 2>&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); } &&
30798 { ac_try
='test -s conftest.$ac_objext'
30799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30800 (eval $ac_try) 2>&5
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 wx_cv_cflags_mthread
=yes
30806 echo "$as_me: failed program was:" >&5
30807 sed 's/^/| /' conftest.
$ac_ext >&5
30809 wx_cv_cflags_mthread
=no
30812 rm -f conftest.
$ac_objext conftest.
$ac_ext
30816 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30817 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30819 if test "$wx_cv_cflags_mthread" = "yes"; then
30820 CXXFLAGS
="$CXXFLAGS -mthreads"
30821 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30822 LDFLAGS
="$LDFLAGS -mthreads"
30824 CFLAGS
="$CFLAGS_OLD"
30828 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30829 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30830 LDFLAGS
="$LDFLAGS -Zmt"
30836 if test "$wxUSE_THREADS" = "yes"; then
30837 cat >>confdefs.h
<<\_ACEOF
30838 #define wxUSE_THREADS 1
30842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30844 if test "$ac_cv_func_strtok_r" = "yes"; then
30845 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30846 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30847 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30848 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30849 echo "$as_me:$LINENO: result: yes" >&5
30850 echo "${ECHO_T}yes" >&6
30852 echo "$as_me:$LINENO: result: no" >&5
30853 echo "${ECHO_T}no" >&6
30858 if test "$WXGTK20" = 1 ; then
30859 cat >>confdefs.h
<<_ACEOF
30860 #define __WXGTK20__ $WXGTK20
30866 if test "$WXGTK12" = 1 ; then
30867 cat >>confdefs.h
<<_ACEOF
30868 #define __WXGTK12__ $WXGTK12
30873 if test "$WXGTK127" = 1 ; then
30874 cat >>confdefs.h
<<_ACEOF
30875 #define __WXGTK127__ $WXGTK127
30882 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30887 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30888 wxUSE_DEBUG_INFO
=yes
30892 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30893 cat >>confdefs.h
<<\_ACEOF
30897 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30899 if test "$wxUSE_GTK" = 1 ; then
30900 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30904 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30905 cat >>confdefs.h
<<\_ACEOF
30906 #define wxUSE_MEMORY_TRACING 1
30909 cat >>confdefs.h
<<\_ACEOF
30910 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30913 cat >>confdefs.h
<<\_ACEOF
30914 #define wxUSE_DEBUG_NEW_ALWAYS 1
30917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30920 if test "$wxUSE_DMALLOC" = "yes" ; then
30921 DMALLOC_LIBS
="-ldmalloc"
30925 if test "$wxUSE_PROFILE" = "yes" ; then
30930 CODE_GEN_FLAGS_CXX
=
30931 if test "$GCC" = "yes" ; then
30932 if test "$wxUSE_NO_RTTI" = "yes" ; then
30933 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30935 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30936 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30938 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30939 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30944 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30947 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30953 if test "$wxUSE_OPTIMISE" = "no" ; then
30954 if test "$GCC" = yes ; then
30958 if test "$GCC" = yes ; then
30962 i586
-*-*|i686
-*-* )
30963 OPTIMISE
="${OPTIMISE} "
30972 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30973 cat >>confdefs.h
<<\_ACEOF
30974 #define WXWIN_COMPATIBILITY_2_2 1
30978 WXWIN_COMPATIBILITY_2_4
="yes"
30981 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30982 cat >>confdefs.h
<<\_ACEOF
30983 #define WXWIN_COMPATIBILITY_2_4 1
30989 if test "$wxUSE_GUI" = "yes"; then
30990 cat >>confdefs.h
<<\_ACEOF
30991 #define wxUSE_GUI 1
30996 cat >>confdefs.h
<<\_ACEOF
30997 #define wxUSE_NOGUI 1
31003 if test "$wxUSE_UNIX" = "yes"; then
31004 cat >>confdefs.h
<<\_ACEOF
31005 #define wxUSE_UNIX 1
31011 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31015 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31016 if test "$USE_DARWIN" = 1; then
31020 for ac_func
in dlopen
31022 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31023 echo "$as_me:$LINENO: checking for $ac_func" >&5
31024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31025 if eval "test \"\${$as_ac_var+set}\" = set"; then
31026 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 cat >conftest.
$ac_ext <<_ACEOF
31029 #line $LINENO "configure"
31032 cat confdefs.h
>>conftest.
$ac_ext
31033 cat >>conftest.
$ac_ext <<_ACEOF
31034 /* end confdefs.h. */
31035 /* System header to define __stub macros and hopefully few prototypes,
31036 which can conflict with char $ac_func (); below.
31037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31038 <limits.h> exists even on freestanding compilers. */
31040 # include <limits.h>
31042 # include <assert.h>
31044 /* Override any gcc2 internal prototype to avoid an error. */
31049 /* We use char because int might match the return type of a gcc2
31050 builtin and then its argument prototype would still apply. */
31052 /* The GNU C library defines this for functions which it implements
31053 to always fail with ENOSYS. Some functions are actually named
31054 something starting with __ and the normal name is an alias. */
31055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31058 char (*f) () = $ac_func;
31067 return f != $ac_func;
31072 rm -f conftest.
$ac_objext conftest
$ac_exeext
31073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31074 (eval $ac_link) 2>&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); } &&
31078 { ac_try
='test -s conftest$ac_exeext'
31079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31080 (eval $ac_try) 2>&5
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); }; }; then
31084 eval "$as_ac_var=yes"
31086 echo "$as_me: failed program was:" >&5
31087 sed 's/^/| /' conftest.
$ac_ext >&5
31089 eval "$as_ac_var=no"
31091 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31095 if test `eval echo '${'$as_ac_var'}'` = yes; then
31096 cat >>confdefs.h
<<_ACEOF
31097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31100 cat >>confdefs.h
<<\_ACEOF
31101 #define HAVE_DLOPEN 1
31108 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31109 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31110 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31111 echo $ECHO_N "(cached) $ECHO_C" >&6
31113 ac_check_lib_save_LIBS
=$LIBS
31115 cat >conftest.
$ac_ext <<_ACEOF
31116 #line $LINENO "configure"
31119 cat confdefs.h
>>conftest.
$ac_ext
31120 cat >>conftest.
$ac_ext <<_ACEOF
31121 /* end confdefs.h. */
31123 /* Override any gcc2 internal prototype to avoid an error. */
31127 /* We use char because int might match the return type of a gcc2
31128 builtin and then its argument prototype would still apply. */
31138 rm -f conftest.
$ac_objext conftest
$ac_exeext
31139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31140 (eval $ac_link) 2>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try
='test -s conftest$ac_exeext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 ac_cv_lib_dl_dlopen
=yes
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.
$ac_ext >&5
31155 ac_cv_lib_dl_dlopen
=no
31157 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31158 LIBS
=$ac_check_lib_save_LIBS
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31161 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31162 if test $ac_cv_lib_dl_dlopen = yes; then
31164 cat >>confdefs.h
<<\_ACEOF
31165 #define HAVE_DLOPEN 1
31169 DL_LINK
=" -ldl$DL_LINK"
31174 for ac_func
in shl_load
31176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31177 echo "$as_me:$LINENO: checking for $ac_func" >&5
31178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31179 if eval "test \"\${$as_ac_var+set}\" = set"; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31182 cat >conftest.
$ac_ext <<_ACEOF
31183 #line $LINENO "configure"
31186 cat confdefs.h
>>conftest.
$ac_ext
31187 cat >>conftest.
$ac_ext <<_ACEOF
31188 /* end confdefs.h. */
31189 /* System header to define __stub macros and hopefully few prototypes,
31190 which can conflict with char $ac_func (); below.
31191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31192 <limits.h> exists even on freestanding compilers. */
31194 # include <limits.h>
31196 # include <assert.h>
31198 /* Override any gcc2 internal prototype to avoid an error. */
31203 /* We use char because int might match the return type of a gcc2
31204 builtin and then its argument prototype would still apply. */
31206 /* The GNU C library defines this for functions which it implements
31207 to always fail with ENOSYS. Some functions are actually named
31208 something starting with __ and the normal name is an alias. */
31209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31212 char (*f) () = $ac_func;
31221 return f != $ac_func;
31226 rm -f conftest.
$ac_objext conftest
$ac_exeext
31227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31228 (eval $ac_link) 2>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); } &&
31232 { ac_try
='test -s conftest$ac_exeext'
31233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31234 (eval $ac_try) 2>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31238 eval "$as_ac_var=yes"
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.
$ac_ext >&5
31243 eval "$as_ac_var=no"
31245 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31249 if test `eval echo '${'$as_ac_var'}'` = yes; then
31250 cat >>confdefs.h
<<_ACEOF
31251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31254 cat >>confdefs.h
<<\_ACEOF
31255 #define HAVE_SHL_LOAD 1
31262 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31263 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31264 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31265 echo $ECHO_N "(cached) $ECHO_C" >&6
31267 ac_check_lib_save_LIBS
=$LIBS
31268 LIBS
="-lshl_load $LIBS"
31269 cat >conftest.
$ac_ext <<_ACEOF
31270 #line $LINENO "configure"
31273 cat confdefs.h
>>conftest.
$ac_ext
31274 cat >>conftest.
$ac_ext <<_ACEOF
31275 /* end confdefs.h. */
31277 /* Override any gcc2 internal prototype to avoid an error. */
31281 /* We use char because int might match the return type of a gcc2
31282 builtin and then its argument prototype would still apply. */
31292 rm -f conftest.
$ac_objext conftest
$ac_exeext
31293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31294 (eval $ac_link) 2>&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try
='test -s conftest$ac_exeext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304 ac_cv_lib_shl_load_dld
=yes
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.
$ac_ext >&5
31309 ac_cv_lib_shl_load_dld
=no
31311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31312 LIBS
=$ac_check_lib_save_LIBS
31314 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31315 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31316 if test $ac_cv_lib_shl_load_dld = yes; then
31319 DL_LINK
=" -ldld$DL_LINK"
31335 if test "$HAVE_DL_FUNCS" = 1; then
31337 for ac_func
in dlerror
31339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31340 echo "$as_me:$LINENO: checking for $ac_func" >&5
31341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31342 if eval "test \"\${$as_ac_var+set}\" = set"; then
31343 echo $ECHO_N "(cached) $ECHO_C" >&6
31345 cat >conftest.
$ac_ext <<_ACEOF
31346 #line $LINENO "configure"
31349 cat confdefs.h
>>conftest.
$ac_ext
31350 cat >>conftest.
$ac_ext <<_ACEOF
31351 /* end confdefs.h. */
31352 /* System header to define __stub macros and hopefully few prototypes,
31353 which can conflict with char $ac_func (); below.
31354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31355 <limits.h> exists even on freestanding compilers. */
31357 # include <limits.h>
31359 # include <assert.h>
31361 /* Override any gcc2 internal prototype to avoid an error. */
31366 /* We use char because int might match the return type of a gcc2
31367 builtin and then its argument prototype would still apply. */
31369 /* The GNU C library defines this for functions which it implements
31370 to always fail with ENOSYS. Some functions are actually named
31371 something starting with __ and the normal name is an alias. */
31372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31375 char (*f) () = $ac_func;
31384 return f != $ac_func;
31389 rm -f conftest.
$ac_objext conftest
$ac_exeext
31390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31391 (eval $ac_link) 2>&5
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); } &&
31395 { ac_try
='test -s conftest$ac_exeext'
31396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31397 (eval $ac_try) 2>&5
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); }; }; then
31401 eval "$as_ac_var=yes"
31403 echo "$as_me: failed program was:" >&5
31404 sed 's/^/| /' conftest.
$ac_ext >&5
31406 eval "$as_ac_var=no"
31408 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31412 if test `eval echo '${'$as_ac_var'}'` = yes; then
31413 cat >>confdefs.h
<<_ACEOF
31414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31416 cat >>confdefs.h
<<\_ACEOF
31417 #define HAVE_DLERROR 1
31422 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31423 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31424 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31425 echo $ECHO_N "(cached) $ECHO_C" >&6
31427 ac_check_lib_save_LIBS
=$LIBS
31429 cat >conftest.
$ac_ext <<_ACEOF
31430 #line $LINENO "configure"
31433 cat confdefs.h
>>conftest.
$ac_ext
31434 cat >>conftest.
$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31437 /* Override any gcc2 internal prototype to avoid an error. */
31441 /* We use char because int might match the return type of a gcc2
31442 builtin and then its argument prototype would still apply. */
31452 rm -f conftest.
$ac_objext conftest
$ac_exeext
31453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31454 (eval $ac_link) 2>&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } &&
31458 { ac_try
='test -s conftest$ac_exeext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31464 ac_cv_lib_dl_dlerror
=yes
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.
$ac_ext >&5
31469 ac_cv_lib_dl_dlerror
=no
31471 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31472 LIBS
=$ac_check_lib_save_LIBS
31474 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31475 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31476 if test $ac_cv_lib_dl_dlerror = yes; then
31477 cat >>confdefs.h
<<\_ACEOF
31478 #define HAVE_DLERROR 1
31491 if test "$HAVE_DL_FUNCS" = 0; then
31492 if test "$HAVE_SHL_FUNCS" = 0; then
31493 if test "$USE_UNIX" = 1; then
31494 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31495 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31496 wxUSE_DYNAMIC_LOADER
=no
31497 wxUSE_DYNLIB_CLASS
=no
31499 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31500 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31507 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31508 cat >>confdefs.h
<<\_ACEOF
31509 #define wxUSE_DYNAMIC_LOADER 1
31513 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31514 cat >>confdefs.h
<<\_ACEOF
31515 #define wxUSE_DYNLIB_CLASS 1
31522 if test "$wxUSE_PLUGINS" = "yes" ; then
31523 if test "$wxUSE_SHARED" = "no" ; then
31524 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
31525 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
31528 if test "$wxUSE_MONOLITHIC" = "yes" ; then
31529 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
31530 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
31533 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
31534 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
31535 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
31538 if test "$wxUSE_PLUGINS" = "yes" ; then
31539 cat >>confdefs.h
<<\_ACEOF
31540 #define wxUSE_PLUGINS 1
31547 if test "$wxUSE_STL" = "yes"; then
31548 cat >>confdefs.h
<<\_ACEOF
31549 #define wxUSE_STL 1
31554 if test "$wxUSE_APPLE_IEEE" = "yes"; then
31555 cat >>confdefs.h
<<\_ACEOF
31556 #define wxUSE_APPLE_IEEE 1
31561 if test "$wxUSE_TIMER" = "yes"; then
31562 cat >>confdefs.h
<<\_ACEOF
31563 #define wxUSE_TIMER 1
31569 if test "$wxUSE_SOUND" = "yes"; then
31570 if test "$USE_UNIX" = "1" ; then
31572 for ac_header
in sys
/soundcard.h
31574 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31576 echo "$as_me:$LINENO: checking for $ac_header" >&5
31577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31579 echo $ECHO_N "(cached) $ECHO_C" >&6
31581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31584 # Is the header compilable?
31585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31587 cat >conftest.
$ac_ext <<_ACEOF
31588 #line $LINENO "configure"
31591 cat confdefs.h
>>conftest.
$ac_ext
31592 cat >>conftest.
$ac_ext <<_ACEOF
31593 /* end confdefs.h. */
31594 $ac_includes_default
31595 #include <$ac_header>
31597 rm -f conftest.
$ac_objext
31598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31599 (eval $ac_compile) 2>&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); } &&
31603 { ac_try
='test -s conftest.$ac_objext'
31604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31605 (eval $ac_try) 2>&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; }; then
31609 ac_header_compiler
=yes
31611 echo "$as_me: failed program was:" >&5
31612 sed 's/^/| /' conftest.
$ac_ext >&5
31614 ac_header_compiler
=no
31616 rm -f conftest.
$ac_objext conftest.
$ac_ext
31617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31618 echo "${ECHO_T}$ac_header_compiler" >&6
31620 # Is the header present?
31621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31623 cat >conftest.
$ac_ext <<_ACEOF
31624 #line $LINENO "configure"
31627 cat confdefs.h
>>conftest.
$ac_ext
31628 cat >>conftest.
$ac_ext <<_ACEOF
31629 /* end confdefs.h. */
31630 #include <$ac_header>
31632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31635 grep -v '^ *+' conftest.er1
>conftest.err
31637 cat conftest.err
>&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } >/dev
/null
; then
31640 if test -s conftest.err
; then
31641 ac_cpp_err
=$ac_c_preproc_warn_flag
31648 if test -z "$ac_cpp_err"; then
31649 ac_header_preproc
=yes
31651 echo "$as_me: failed program was:" >&5
31652 sed 's/^/| /' conftest.
$ac_ext >&5
31654 ac_header_preproc
=no
31656 rm -f conftest.err conftest.
$ac_ext
31657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31658 echo "${ECHO_T}$ac_header_preproc" >&6
31660 # So? What about this header?
31661 case $ac_header_compiler:$ac_header_preproc in
31663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31666 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31669 ## ------------------------------------ ##
31670 ## Report this to bug-autoconf@gnu.org. ##
31671 ## ------------------------------------ ##
31674 sed "s/^/$as_me: WARNING: /" >&2
31677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31680 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31685 ## ------------------------------------ ##
31686 ## Report this to bug-autoconf@gnu.org. ##
31687 ## ------------------------------------ ##
31690 sed "s/^/$as_me: WARNING: /" >&2
31693 echo "$as_me:$LINENO: checking for $ac_header" >&5
31694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31696 echo $ECHO_N "(cached) $ECHO_C" >&6
31698 eval "$as_ac_Header=$ac_header_preproc"
31700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31705 cat >>confdefs.h
<<_ACEOF
31706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31714 if test "$wxUSE_LIBSDL" != "no"; then
31716 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
31717 if test "${with_sdl_prefix+set}" = set; then
31718 withval
="$with_sdl_prefix"
31719 sdl_prefix
="$withval"
31724 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
31725 if test "${with_sdl_exec_prefix+set}" = set; then
31726 withval
="$with_sdl_exec_prefix"
31727 sdl_exec_prefix
="$withval"
31731 # Check whether --enable-sdltest or --disable-sdltest was given.
31732 if test "${enable_sdltest+set}" = set; then
31733 enableval
="$enable_sdltest"
31739 if test x
$sdl_exec_prefix != x
; then
31740 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
31741 if test x
${SDL_CONFIG+set} != xset
; then
31742 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
31745 if test x
$sdl_prefix != x
; then
31746 sdl_args
="$sdl_args --prefix=$sdl_prefix"
31747 if test x
${SDL_CONFIG+set} != xset
; then
31748 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
31753 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
31754 # Extract the first word of "sdl-config", so it can be a program name with args.
31755 set dummy sdl
-config; ac_word
=$2
31756 echo "$as_me:$LINENO: checking for $ac_word" >&5
31757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31758 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
31759 echo $ECHO_N "(cached) $ECHO_C" >&6
31761 case $SDL_CONFIG in
31763 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
31766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31767 for as_dir
in $PATH
31770 test -z "$as_dir" && as_dir
=.
31771 for ac_exec_ext
in '' $ac_executable_extensions; do
31772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31773 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31780 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
31784 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
31786 if test -n "$SDL_CONFIG"; then
31787 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
31788 echo "${ECHO_T}$SDL_CONFIG" >&6
31790 echo "$as_me:$LINENO: result: no" >&5
31791 echo "${ECHO_T}no" >&6
31794 min_sdl_version
=1.2.0
31795 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
31796 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
31798 if test "$SDL_CONFIG" = "no" ; then
31801 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
31802 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
31804 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
31805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31806 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
31807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31808 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
31809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31810 if test "x$enable_sdltest" = "xyes" ; then
31811 ac_save_CFLAGS
="$CFLAGS"
31812 ac_save_LIBS
="$LIBS"
31813 CFLAGS
="$CFLAGS $SDL_CFLAGS"
31814 LIBS
="$LIBS $SDL_LIBS"
31816 if test "$cross_compiling" = yes; then
31817 echo $ac_n "cross compiling; assumed OK... $ac_c"
31819 cat >conftest.
$ac_ext <<_ACEOF
31820 #line $LINENO "configure"
31823 cat confdefs.h
>>conftest.
$ac_ext
31824 cat >>conftest.
$ac_ext <<_ACEOF
31825 /* end confdefs.h. */
31828 #include <stdlib.h>
31829 #include <string.h>
31833 my_strdup (char *str)
31839 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31840 strcpy (new_str, str);
31848 int main (int argc, char *argv[])
31850 int major, minor, micro;
31853 /* This hangs on some systems (?)
31854 system ("touch conf.sdltest");
31856 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31858 /* HP/UX 9 (%@#!) writes to sscanf strings */
31859 tmp_version = my_strdup("$min_sdl_version");
31860 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31861 printf("%s, bad version string\n", "$min_sdl_version");
31865 if (($sdl_major_version > major) ||
31866 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31867 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31873 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31874 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31875 printf("*** best to upgrade to the required version.\n");
31876 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31877 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31878 printf("*** config.cache before re-running configure\n");
31885 rm -f conftest
$ac_exeext
31886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31887 (eval $ac_link) 2>&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; }; then
31898 echo "$as_me: program exited with status $ac_status" >&5
31899 echo "$as_me: failed program was:" >&5
31900 sed 's/^/| /' conftest.
$ac_ext >&5
31902 ( exit $ac_status )
31905 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31907 CFLAGS
="$ac_save_CFLAGS"
31908 LIBS
="$ac_save_LIBS"
31911 if test "x$no_sdl" = x
; then
31912 echo "$as_me:$LINENO: result: yes" >&5
31913 echo "${ECHO_T}yes" >&6
31915 EXTRALIBS_SDL
="$SDL_LIBS"
31916 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
31917 cat >>confdefs.h
<<\_ACEOF
31918 #define wxUSE_LIBSDL 1
31923 echo "$as_me:$LINENO: result: no" >&5
31924 echo "${ECHO_T}no" >&6
31925 if test "$SDL_CONFIG" = "no" ; then
31926 echo "*** The sdl-config script installed by SDL could not be found"
31927 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31928 echo "*** your path, or set the SDL_CONFIG environment variable to the"
31929 echo "*** full path to sdl-config."
31931 if test -f conf.sdltest
; then
31934 echo "*** Could not run SDL test program, checking why..."
31935 CFLAGS
="$CFLAGS $SDL_CFLAGS"
31936 LIBS
="$LIBS $SDL_LIBS"
31937 cat >conftest.
$ac_ext <<_ACEOF
31938 #line $LINENO "configure"
31941 cat confdefs.h
>>conftest.
$ac_ext
31942 cat >>conftest.
$ac_ext <<_ACEOF
31943 /* end confdefs.h. */
31948 int main(int argc, char *argv[])
31951 #define main K_and_R_C_main
31961 rm -f conftest.
$ac_objext conftest
$ac_exeext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963 (eval $ac_link) 2>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); } &&
31967 { ac_try
='test -s conftest$ac_exeext'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }; then
31973 echo "*** The test program compiled, but did not run. This usually means"
31974 echo "*** that the run-time linker is not finding SDL or finding the wrong"
31975 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
31976 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31977 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31978 echo "*** is required on your system"
31980 echo "*** If you have an old version installed, it is best to remove it, although"
31981 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31983 echo "$as_me: failed program was:" >&5
31984 sed 's/^/| /' conftest.
$ac_ext >&5
31986 echo "*** The test program failed to compile or link. See the file config.log for the"
31987 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
31988 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
31989 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
31991 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31992 CFLAGS
="$ac_save_CFLAGS"
31993 LIBS
="$ac_save_LIBS"
32004 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
32010 cat >>confdefs.h
<<\_ACEOF
32011 #define wxUSE_SOUND 1
32014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
32017 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32018 cat >>confdefs.h
<<\_ACEOF
32019 #define wxUSE_CMDLINE_PARSER 1
32024 if test "$wxUSE_STOPWATCH" = "yes"; then
32025 cat >>confdefs.h
<<\_ACEOF
32026 #define wxUSE_STOPWATCH 1
32031 if test "$wxUSE_DATETIME" = "yes"; then
32032 cat >>confdefs.h
<<\_ACEOF
32033 #define wxUSE_DATETIME 1
32038 if test "$wxUSE_FILE" = "yes"; then
32039 cat >>confdefs.h
<<\_ACEOF
32040 #define wxUSE_FILE 1
32045 if test "$wxUSE_FFILE" = "yes"; then
32046 cat >>confdefs.h
<<\_ACEOF
32047 #define wxUSE_FFILE 1
32052 if test "$wxUSE_FILESYSTEM" = "yes"; then
32053 cat >>confdefs.h
<<\_ACEOF
32054 #define wxUSE_FILESYSTEM 1
32059 if test "$wxUSE_FS_ZIP" = "yes"; then
32060 cat >>confdefs.h
<<\_ACEOF
32061 #define wxUSE_FS_ZIP 1
32066 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32067 cat >>confdefs.h
<<\_ACEOF
32068 #define wxUSE_ZIPSTREAM 1
32073 if test "$wxUSE_GZSTREAM" = "yes"; then
32074 cat >>confdefs.h
<<\_ACEOF
32075 #define wxUSE_GZSTREAM 1
32080 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32081 cat >>confdefs.h
<<\_ACEOF
32082 #define wxUSE_ON_FATAL_EXCEPTION 1
32087 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32088 cat >>confdefs.h
<<\_ACEOF
32089 #define wxUSE_SNGLINST_CHECKER 1
32094 if test "$wxUSE_BUSYINFO" = "yes"; then
32095 cat >>confdefs.h
<<\_ACEOF
32096 #define wxUSE_BUSYINFO 1
32101 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32102 cat >>confdefs.h
<<\_ACEOF
32103 #define wxUSE_STD_IOSTREAM 1
32108 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32109 cat >>confdefs.h
<<\_ACEOF
32110 #define wxUSE_TEXTBUFFER 1
32115 if test "$wxUSE_TEXTFILE" = "yes"; then
32116 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32117 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32118 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32120 cat >>confdefs.h
<<\_ACEOF
32121 #define wxUSE_TEXTFILE 1
32127 if test "$wxUSE_CONFIG" = "yes" ; then
32128 if test "$wxUSE_TEXTFILE" != "yes"; then
32129 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32130 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32132 cat >>confdefs.h
<<\_ACEOF
32133 #define wxUSE_CONFIG 1
32136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
32140 if test "$wxUSE_INTL" = "yes" ; then
32141 if test "$wxUSE_FILE" != "yes"; then
32142 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32143 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32145 cat >>confdefs.h
<<\_ACEOF
32146 #define wxUSE_INTL 1
32149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
32150 GUIDIST
="$GUIDIST INTL_DIST"
32154 if test "$wxUSE_LOG" = "yes"; then
32155 cat >>confdefs.h
<<\_ACEOF
32156 #define wxUSE_LOG 1
32160 if test "$wxUSE_LOGGUI" = "yes"; then
32161 cat >>confdefs.h
<<\_ACEOF
32162 #define wxUSE_LOGGUI 1
32167 if test "$wxUSE_LOGWINDOW" = "yes"; then
32168 cat >>confdefs.h
<<\_ACEOF
32169 #define wxUSE_LOGWINDOW 1
32174 if test "$wxUSE_LOGDIALOG" = "yes"; then
32175 cat >>confdefs.h
<<\_ACEOF
32176 #define wxUSE_LOG_DIALOG 1
32182 if test "$wxUSE_LONGLONG" = "yes"; then
32183 cat >>confdefs.h
<<\_ACEOF
32184 #define wxUSE_LONGLONG 1
32189 if test "$wxUSE_GEOMETRY" = "yes"; then
32190 cat >>confdefs.h
<<\_ACEOF
32191 #define wxUSE_GEOMETRY 1
32196 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32197 cat >>confdefs.h
<<\_ACEOF
32198 #define wxUSE_DIALUP_MANAGER 1
32201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
32204 if test "$wxUSE_STREAMS" = "yes" ; then
32205 cat >>confdefs.h
<<\_ACEOF
32206 #define wxUSE_STREAMS 1
32212 if test "$wxUSE_DATETIME" = "yes"; then
32214 for ac_func
in strptime
32216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32217 echo "$as_me:$LINENO: checking for $ac_func" >&5
32218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32219 if eval "test \"\${$as_ac_var+set}\" = set"; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32222 cat >conftest.
$ac_ext <<_ACEOF
32223 #line $LINENO "configure"
32226 cat confdefs.h
>>conftest.
$ac_ext
32227 cat >>conftest.
$ac_ext <<_ACEOF
32228 /* end confdefs.h. */
32229 /* System header to define __stub macros and hopefully few prototypes,
32230 which can conflict with char $ac_func (); below.
32231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32232 <limits.h> exists even on freestanding compilers. */
32234 # include <limits.h>
32236 # include <assert.h>
32238 /* Override any gcc2 internal prototype to avoid an error. */
32243 /* We use char because int might match the return type of a gcc2
32244 builtin and then its argument prototype would still apply. */
32246 /* The GNU C library defines this for functions which it implements
32247 to always fail with ENOSYS. Some functions are actually named
32248 something starting with __ and the normal name is an alias. */
32249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32252 char (*f) () = $ac_func;
32261 return f != $ac_func;
32266 rm -f conftest.
$ac_objext conftest
$ac_exeext
32267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32268 (eval $ac_link) 2>&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } &&
32272 { ac_try
='test -s conftest$ac_exeext'
32273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32274 (eval $ac_try) 2>&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); }; }; then
32278 eval "$as_ac_var=yes"
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.
$ac_ext >&5
32283 eval "$as_ac_var=no"
32285 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32289 if test `eval echo '${'$as_ac_var'}'` = yes; then
32290 cat >>confdefs.h
<<_ACEOF
32291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32298 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
32299 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
32300 if test "${wx_cv_var_timezone+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 cat >conftest.
$ac_ext <<_ACEOF
32305 #line $LINENO "configure"
32308 cat confdefs.h
>>conftest.
$ac_ext
32309 cat >>conftest.
$ac_ext <<_ACEOF
32310 /* end confdefs.h. */
32325 rm -f conftest.
$ac_objext
32326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32327 (eval $ac_compile) 2>&5
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); } &&
32331 { ac_try
='test -s conftest.$ac_objext'
32332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32333 (eval $ac_try) 2>&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); }; }; then
32338 wx_cv_var_timezone
=timezone
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.
$ac_ext >&5
32345 cat >conftest.
$ac_ext <<_ACEOF
32346 #line $LINENO "configure"
32349 cat confdefs.h
>>conftest.
$ac_ext
32350 cat >>conftest.
$ac_ext <<_ACEOF
32351 /* end confdefs.h. */
32366 rm -f conftest.
$ac_objext
32367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32368 (eval $ac_compile) 2>&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } &&
32372 { ac_try
='test -s conftest.$ac_objext'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; }; then
32379 wx_cv_var_timezone
=_timezone
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.
$ac_ext >&5
32386 cat >conftest.
$ac_ext <<_ACEOF
32387 #line $LINENO "configure"
32390 cat confdefs.h
>>conftest.
$ac_ext
32391 cat >>conftest.
$ac_ext <<_ACEOF
32392 /* end confdefs.h. */
32407 rm -f conftest.
$ac_objext
32408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32409 (eval $ac_compile) 2>&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); } &&
32413 { ac_try
='test -s conftest.$ac_objext'
32414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415 (eval $ac_try) 2>&5
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; }; then
32420 wx_cv_var_timezone
=__timezone
32423 echo "$as_me: failed program was:" >&5
32424 sed 's/^/| /' conftest.
$ac_ext >&5
32427 if test "$USE_DOS" = 0 ; then
32428 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
32429 echo "$as_me: WARNING: no timezone variable" >&2;}
32434 rm -f conftest.
$ac_objext conftest.
$ac_ext
32438 rm -f conftest.
$ac_objext conftest.
$ac_ext
32442 rm -f conftest.
$ac_objext conftest.
$ac_ext
32446 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
32447 echo "${ECHO_T}$wx_cv_var_timezone" >&6
32449 if test "x$wx_cv_var_timezone" != x
; then
32450 cat >>confdefs.h
<<_ACEOF
32451 #define WX_TIMEZONE $wx_cv_var_timezone
32457 for ac_func
in localtime
32459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32460 echo "$as_me:$LINENO: checking for $ac_func" >&5
32461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32462 if eval "test \"\${$as_ac_var+set}\" = set"; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 cat >conftest.
$ac_ext <<_ACEOF
32466 #line $LINENO "configure"
32469 cat confdefs.h
>>conftest.
$ac_ext
32470 cat >>conftest.
$ac_ext <<_ACEOF
32471 /* end confdefs.h. */
32472 /* System header to define __stub macros and hopefully few prototypes,
32473 which can conflict with char $ac_func (); below.
32474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32475 <limits.h> exists even on freestanding compilers. */
32477 # include <limits.h>
32479 # include <assert.h>
32481 /* Override any gcc2 internal prototype to avoid an error. */
32486 /* We use char because int might match the return type of a gcc2
32487 builtin and then its argument prototype would still apply. */
32489 /* The GNU C library defines this for functions which it implements
32490 to always fail with ENOSYS. Some functions are actually named
32491 something starting with __ and the normal name is an alias. */
32492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32495 char (*f) () = $ac_func;
32504 return f != $ac_func;
32509 rm -f conftest.
$ac_objext conftest
$ac_exeext
32510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32511 (eval $ac_link) 2>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); } &&
32515 { ac_try
='test -s conftest$ac_exeext'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; }; then
32521 eval "$as_ac_var=yes"
32523 echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.
$ac_ext >&5
32526 eval "$as_ac_var=no"
32528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32532 if test `eval echo '${'$as_ac_var'}'` = yes; then
32533 cat >>confdefs.h
<<_ACEOF
32534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32541 if test "$ac_cv_func_localtime" = "yes"; then
32542 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
32543 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
32544 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
32545 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 cat >conftest.
$ac_ext <<_ACEOF
32549 #line $LINENO "configure"
32552 cat confdefs.h
>>conftest.
$ac_ext
32553 cat >>conftest.
$ac_ext <<_ACEOF
32554 /* end confdefs.h. */
32569 rm -f conftest.
$ac_objext
32570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32571 (eval $ac_compile) 2>&5
32573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32574 (exit $ac_status); } &&
32575 { ac_try
='test -s conftest.$ac_objext'
32576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32577 (eval $ac_try) 2>&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); }; }; then
32582 wx_cv_struct_tm_has_gmtoff
=yes
32585 echo "$as_me: failed program was:" >&5
32586 sed 's/^/| /' conftest.
$ac_ext >&5
32588 wx_cv_struct_tm_has_gmtoff
=no
32591 rm -f conftest.
$ac_objext conftest.
$ac_ext
32594 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
32595 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
32598 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
32599 cat >>confdefs.h
<<\_ACEOF
32600 #define WX_GMTOFF_IN_TM 1
32607 for ac_func
in gettimeofday ftime
32609 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32610 echo "$as_me:$LINENO: checking for $ac_func" >&5
32611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32612 if eval "test \"\${$as_ac_var+set}\" = set"; then
32613 echo $ECHO_N "(cached) $ECHO_C" >&6
32615 cat >conftest.
$ac_ext <<_ACEOF
32616 #line $LINENO "configure"
32619 cat confdefs.h
>>conftest.
$ac_ext
32620 cat >>conftest.
$ac_ext <<_ACEOF
32621 /* end confdefs.h. */
32622 /* System header to define __stub macros and hopefully few prototypes,
32623 which can conflict with char $ac_func (); below.
32624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32625 <limits.h> exists even on freestanding compilers. */
32627 # include <limits.h>
32629 # include <assert.h>
32631 /* Override any gcc2 internal prototype to avoid an error. */
32636 /* We use char because int might match the return type of a gcc2
32637 builtin and then its argument prototype would still apply. */
32639 /* The GNU C library defines this for functions which it implements
32640 to always fail with ENOSYS. Some functions are actually named
32641 something starting with __ and the normal name is an alias. */
32642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32645 char (*f) () = $ac_func;
32654 return f != $ac_func;
32659 rm -f conftest.
$ac_objext conftest
$ac_exeext
32660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32661 (eval $ac_link) 2>&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } &&
32665 { ac_try
='test -s conftest$ac_exeext'
32666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32667 (eval $ac_try) 2>&5
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); }; }; then
32671 eval "$as_ac_var=yes"
32673 echo "$as_me: failed program was:" >&5
32674 sed 's/^/| /' conftest.
$ac_ext >&5
32676 eval "$as_ac_var=no"
32678 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32682 if test `eval echo '${'$as_ac_var'}'` = yes; then
32683 cat >>confdefs.h
<<_ACEOF
32684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32691 if test "$ac_cv_func_gettimeofday" = "yes"; then
32692 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
32693 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
32694 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32701 ac_cpp
='$CXXCPP $CPPFLAGS'
32702 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32707 cat >conftest.
$ac_ext <<_ACEOF
32708 #line $LINENO "configure"
32711 cat confdefs.h
>>conftest.
$ac_ext
32712 cat >>conftest.
$ac_ext <<_ACEOF
32713 /* end confdefs.h. */
32715 #include <sys/time.h>
32716 #include <unistd.h>
32723 gettimeofday(&tv, NULL);
32729 rm -f conftest.
$ac_objext
32730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32731 (eval $ac_compile) 2>&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); } &&
32735 { ac_try
='test -s conftest.$ac_objext'
32736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32737 (eval $ac_try) 2>&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); }; }; then
32741 wx_cv_func_gettimeofday_has_2_args
=yes
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.
$ac_ext >&5
32746 cat >conftest.
$ac_ext <<_ACEOF
32747 #line $LINENO "configure"
32750 cat confdefs.h
>>conftest.
$ac_ext
32751 cat >>conftest.
$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32754 #include <sys/time.h>
32755 #include <unistd.h>
32768 rm -f conftest.
$ac_objext
32769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32770 (eval $ac_compile) 2>&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } &&
32774 { ac_try
='test -s conftest.$ac_objext'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; }; then
32780 wx_cv_func_gettimeofday_has_2_args
=no
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.
$ac_ext >&5
32786 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
32787 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
32788 wx_cv_func_gettimeofday_has_2_args
=unknown
32792 rm -f conftest.
$ac_objext conftest.
$ac_ext
32795 rm -f conftest.
$ac_objext conftest.
$ac_ext
32797 ac_cpp
='$CPP $CPPFLAGS'
32798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32804 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
32805 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
32807 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
32808 cat >>confdefs.h
<<\_ACEOF
32809 #define WX_GETTIMEOFDAY_NO_TZ 1
32815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
32819 if test "$wxUSE_SOCKETS" = "yes"; then
32820 if test "$wxUSE_MGL" = "1"; then
32821 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
32822 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
32827 if test "$wxUSE_SOCKETS" = "yes"; then
32828 if test "$TOOLKIT" != "MSW"; then
32829 echo "$as_me:$LINENO: checking for socket" >&5
32830 echo $ECHO_N "checking for socket... $ECHO_C" >&6
32831 if test "${ac_cv_func_socket+set}" = set; then
32832 echo $ECHO_N "(cached) $ECHO_C" >&6
32834 cat >conftest.
$ac_ext <<_ACEOF
32835 #line $LINENO "configure"
32838 cat confdefs.h
>>conftest.
$ac_ext
32839 cat >>conftest.
$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841 /* System header to define __stub macros and hopefully few prototypes,
32842 which can conflict with char socket (); below.
32843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32844 <limits.h> exists even on freestanding compilers. */
32846 # include <limits.h>
32848 # include <assert.h>
32850 /* Override any gcc2 internal prototype to avoid an error. */
32855 /* We use char because int might match the return type of a gcc2
32856 builtin and then its argument prototype would still apply. */
32858 /* The GNU C library defines this for functions which it implements
32859 to always fail with ENOSYS. Some functions are actually named
32860 something starting with __ and the normal name is an alias. */
32861 #if defined (__stub_socket) || defined (__stub___socket)
32864 char (*f) () = socket;
32873 return f != socket;
32878 rm -f conftest.
$ac_objext conftest
$ac_exeext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32880 (eval $ac_link) 2>&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } &&
32884 { ac_try
='test -s conftest$ac_exeext'
32885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32886 (eval $ac_try) 2>&5
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; }; then
32890 ac_cv_func_socket
=yes
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.
$ac_ext >&5
32895 ac_cv_func_socket
=no
32897 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32899 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
32900 echo "${ECHO_T}$ac_cv_func_socket" >&6
32901 if test $ac_cv_func_socket = yes; then
32905 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
32906 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
32907 if test "${ac_cv_lib_socket_socket+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32910 ac_check_lib_save_LIBS
=$LIBS
32911 LIBS
="-lsocket $LIBS"
32912 cat >conftest.
$ac_ext <<_ACEOF
32913 #line $LINENO "configure"
32916 cat confdefs.h
>>conftest.
$ac_ext
32917 cat >>conftest.
$ac_ext <<_ACEOF
32918 /* end confdefs.h. */
32920 /* Override any gcc2 internal prototype to avoid an error. */
32924 /* We use char because int might match the return type of a gcc2
32925 builtin and then its argument prototype would still apply. */
32935 rm -f conftest.
$ac_objext conftest
$ac_exeext
32936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32937 (eval $ac_link) 2>&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try
='test -s conftest$ac_exeext'
32942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943 (eval $ac_try) 2>&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); }; }; then
32947 ac_cv_lib_socket_socket
=yes
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.
$ac_ext >&5
32952 ac_cv_lib_socket_socket
=no
32954 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32955 LIBS
=$ac_check_lib_save_LIBS
32957 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
32958 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
32959 if test $ac_cv_lib_socket_socket = yes; then
32960 if test "$INET_LINK" != " -lsocket"; then
32961 INET_LINK
="$INET_LINK -lsocket"
32965 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
32966 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
32979 if test "$wxUSE_SOCKETS" = "yes" ; then
32980 if test "$TOOLKIT" != "MSW"; then
32981 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
32982 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
32983 if test "${wx_cv_type_getsockname3+set}" = set; then
32984 echo $ECHO_N "(cached) $ECHO_C" >&6
32987 cat >conftest.
$ac_ext <<_ACEOF
32988 #line $LINENO "configure"
32991 cat confdefs.h
>>conftest.
$ac_ext
32992 cat >>conftest.
$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32995 #include <sys/types.h>
32996 #include <sys/socket.h>
33003 getsockname(0, 0, &len);
33009 rm -f conftest.
$ac_objext
33010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33011 (eval $ac_compile) 2>&5
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); } &&
33015 { ac_try
='test -s conftest.$ac_objext'
33016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33017 (eval $ac_try) 2>&5
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); }; }; then
33021 wx_cv_type_getsockname3
=socklen_t
33023 echo "$as_me: failed program was:" >&5
33024 sed 's/^/| /' conftest.
$ac_ext >&5
33027 CFLAGS_OLD
="$CFLAGS"
33028 if test "$GCC" = yes ; then
33029 CFLAGS
="$CFLAGS -Werror"
33032 cat >conftest.
$ac_ext <<_ACEOF
33033 #line $LINENO "configure"
33036 cat confdefs.h
>>conftest.
$ac_ext
33037 cat >>conftest.
$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33040 #include <sys/types.h>
33041 #include <sys/socket.h>
33048 getsockname(0, 0, &len);
33054 rm -f conftest.
$ac_objext
33055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33056 (eval $ac_compile) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } &&
33060 { ac_try
='test -s conftest.$ac_objext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 wx_cv_type_getsockname3
=size_t
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.
$ac_ext >&5
33071 cat >conftest.
$ac_ext <<_ACEOF
33072 #line $LINENO "configure"
33075 cat confdefs.h
>>conftest.
$ac_ext
33076 cat >>conftest.
$ac_ext <<_ACEOF
33077 /* end confdefs.h. */
33079 #include <sys/types.h>
33080 #include <sys/socket.h>
33087 getsockname(0, 0, &len);
33093 rm -f conftest.
$ac_objext
33094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33095 (eval $ac_compile) 2>&5
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); } &&
33099 { ac_try
='test -s conftest.$ac_objext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105 wx_cv_type_getsockname3
=int
33107 echo "$as_me: failed program was:" >&5
33108 sed 's/^/| /' conftest.
$ac_ext >&5
33110 wx_cv_type_getsockname3
=unknown
33113 rm -f conftest.
$ac_objext conftest.
$ac_ext
33116 rm -f conftest.
$ac_objext conftest.
$ac_ext
33118 CFLAGS
="$CFLAGS_OLD"
33122 rm -f conftest.
$ac_objext conftest.
$ac_ext
33125 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
33126 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
33128 if test "$wx_cv_type_getsockname3" = "unknown"; then
33130 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
33131 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
33133 cat >>confdefs.h
<<_ACEOF
33134 #define SOCKLEN_T $wx_cv_type_getsockname3
33141 if test "$wxUSE_SOCKETS" = "yes" ; then
33142 cat >>confdefs.h
<<\_ACEOF
33143 #define wxUSE_SOCKETS 1
33146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
33149 if test "$wxUSE_PROTOCOL" = "yes"; then
33150 if test "$wxUSE_SOCKETS" != "yes"; then
33151 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
33152 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
33157 if test "$wxUSE_PROTOCOL" = "yes"; then
33158 cat >>confdefs.h
<<\_ACEOF
33159 #define wxUSE_PROTOCOL 1
33163 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
33164 cat >>confdefs.h
<<\_ACEOF
33165 #define wxUSE_PROTOCOL_HTTP 1
33169 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
33170 cat >>confdefs.h
<<\_ACEOF
33171 #define wxUSE_PROTOCOL_FTP 1
33175 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
33176 cat >>confdefs.h
<<\_ACEOF
33177 #define wxUSE_PROTOCOL_FILE 1
33182 if test "$wxUSE_FS_INET" = "yes"; then
33183 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
33184 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
33189 if test "$wxUSE_URL" = "yes"; then
33190 if test "$wxUSE_PROTOCOL" != "yes"; then
33191 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
33192 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
33195 if test "$wxUSE_URL" = "yes"; then
33196 cat >>confdefs.h
<<\_ACEOF
33197 #define wxUSE_URL 1
33203 if test "$wxUSE_FS_INET" = "yes"; then
33204 cat >>confdefs.h
<<\_ACEOF
33205 #define wxUSE_FS_INET 1
33211 if test "$wxUSE_GUI" = "yes"; then
33213 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
33214 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
33215 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
33219 if test "$TOOLKIT" != "MSW"; then
33220 if test "$wxUSE_JOYSTICK" = "yes"; then
33222 for ac_header
in linux
/joystick.h
33224 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33226 echo "$as_me:$LINENO: checking for $ac_header" >&5
33227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33229 echo $ECHO_N "(cached) $ECHO_C" >&6
33231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33234 # Is the header compilable?
33235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33237 cat >conftest.
$ac_ext <<_ACEOF
33238 #line $LINENO "configure"
33241 cat confdefs.h
>>conftest.
$ac_ext
33242 cat >>conftest.
$ac_ext <<_ACEOF
33243 /* end confdefs.h. */
33244 $ac_includes_default
33245 #include <$ac_header>
33247 rm -f conftest.
$ac_objext
33248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33249 (eval $ac_compile) 2>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); } &&
33253 { ac_try
='test -s conftest.$ac_objext'
33254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33255 (eval $ac_try) 2>&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; }; then
33259 ac_header_compiler
=yes
33261 echo "$as_me: failed program was:" >&5
33262 sed 's/^/| /' conftest.
$ac_ext >&5
33264 ac_header_compiler
=no
33266 rm -f conftest.
$ac_objext conftest.
$ac_ext
33267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33268 echo "${ECHO_T}$ac_header_compiler" >&6
33270 # Is the header present?
33271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33273 cat >conftest.
$ac_ext <<_ACEOF
33274 #line $LINENO "configure"
33277 cat confdefs.h
>>conftest.
$ac_ext
33278 cat >>conftest.
$ac_ext <<_ACEOF
33279 /* end confdefs.h. */
33280 #include <$ac_header>
33282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33283 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33285 grep -v '^ *+' conftest.er1
>conftest.err
33287 cat conftest.err
>&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); } >/dev
/null
; then
33290 if test -s conftest.err
; then
33291 ac_cpp_err
=$ac_c_preproc_warn_flag
33298 if test -z "$ac_cpp_err"; then
33299 ac_header_preproc
=yes
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.
$ac_ext >&5
33304 ac_header_preproc
=no
33306 rm -f conftest.err conftest.
$ac_ext
33307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33308 echo "${ECHO_T}$ac_header_preproc" >&6
33310 # So? What about this header?
33311 case $ac_header_compiler:$ac_header_preproc in
33313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33319 ## ------------------------------------ ##
33320 ## Report this to bug-autoconf@gnu.org. ##
33321 ## ------------------------------------ ##
33324 sed "s/^/$as_me: WARNING: /" >&2
33327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33335 ## ------------------------------------ ##
33336 ## Report this to bug-autoconf@gnu.org. ##
33337 ## ------------------------------------ ##
33340 sed "s/^/$as_me: WARNING: /" >&2
33343 echo "$as_me:$LINENO: checking for $ac_header" >&5
33344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33346 echo $ECHO_N "(cached) $ECHO_C" >&6
33348 eval "$as_ac_Header=$ac_header_preproc"
33350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33355 cat >>confdefs.h
<<_ACEOF
33356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33363 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
33365 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
33366 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
33371 if test "$wxUSE_JOYSTICK" = "yes"; then
33372 cat >>confdefs.h
<<\_ACEOF
33373 #define wxUSE_JOYSTICK 1
33376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
33383 if test "$wxUSE_FONTMAP" = "yes" ; then
33384 cat >>confdefs.h
<<\_ACEOF
33385 #define wxUSE_FONTMAP 1
33390 if test "$wxUSE_UNICODE" = "yes" ; then
33391 cat >>confdefs.h
<<\_ACEOF
33392 #define wxUSE_UNICODE 1
33396 if test "$USE_WIN32" != 1; then
33397 wxUSE_UNICODE_MSLU
=no
33400 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
33401 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
33402 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
33403 if test "${ac_cv_lib_unicows_main+set}" = set; then
33404 echo $ECHO_N "(cached) $ECHO_C" >&6
33406 ac_check_lib_save_LIBS
=$LIBS
33407 LIBS
="-lunicows $LIBS"
33408 cat >conftest.
$ac_ext <<_ACEOF
33409 #line $LINENO "configure"
33412 cat confdefs.h
>>conftest.
$ac_ext
33413 cat >>conftest.
$ac_ext <<_ACEOF
33414 /* end confdefs.h. */
33425 rm -f conftest.
$ac_objext conftest
$ac_exeext
33426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33427 (eval $ac_link) 2>&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); } &&
33431 { ac_try
='test -s conftest$ac_exeext'
33432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33433 (eval $ac_try) 2>&5
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; }; then
33437 ac_cv_lib_unicows_main
=yes
33439 echo "$as_me: failed program was:" >&5
33440 sed 's/^/| /' conftest.
$ac_ext >&5
33442 ac_cv_lib_unicows_main
=no
33444 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33445 LIBS
=$ac_check_lib_save_LIBS
33447 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
33448 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
33449 if test $ac_cv_lib_unicows_main = yes; then
33451 cat >>confdefs.h
<<\_ACEOF
33452 #define wxUSE_UNICODE_MSLU 1
33458 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33459 Applications will only run on Windows NT/2000/XP!" >&5
33460 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33461 Applications will only run on Windows NT/2000/XP!" >&2;}
33462 wxUSE_UNICODE_MSLU
=no
33469 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
33470 cat >>confdefs.h
<<\_ACEOF
33471 #define wxUSE_EXPERIMENTAL_PRINTF 1
33477 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
33478 cat >>confdefs.h
<<\_ACEOF
33479 #define wxUSE_POSTSCRIPT 1
33484 cat >>confdefs.h
<<\_ACEOF
33485 #define wxUSE_AFM_FOR_POSTSCRIPT 1
33489 cat >>confdefs.h
<<\_ACEOF
33490 #define wxUSE_NORMALIZED_PS_FONTS 1
33495 if test "$wxUSE_CONSTRAINTS" = "yes"; then
33496 cat >>confdefs.h
<<\_ACEOF
33497 #define wxUSE_CONSTRAINTS 1
33500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
33503 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33504 cat >>confdefs.h
<<\_ACEOF
33505 #define wxUSE_MDI_ARCHITECTURE 1
33508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
33511 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
33512 cat >>confdefs.h
<<\_ACEOF
33513 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
33516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
33517 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
33522 if test "$wxUSE_HELP" = "yes"; then
33523 cat >>confdefs.h
<<\_ACEOF
33524 #define wxUSE_HELP 1
33527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
33529 if test "$wxUSE_MSW" = 1; then
33530 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
33531 cat >>confdefs.h
<<\_ACEOF
33532 #define wxUSE_MS_HTML_HELP 1
33538 if test "$wxUSE_WXHTML_HELP" = "yes"; then
33539 if test "$wxUSE_HTML" = "yes"; then
33540 cat >>confdefs.h
<<\_ACEOF
33541 #define wxUSE_WXHTML_HELP 1
33545 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
33546 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
33547 wxUSE_WXHTML_HELP
=no
33552 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33553 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33554 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
33555 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
33557 cat >>confdefs.h
<<\_ACEOF
33558 #define wxUSE_PRINTING_ARCHITECTURE 1
33562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
33565 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
33566 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
33567 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
33568 { (exit 1); exit 1; }; }
33572 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
33573 -o "$wxUSE_CLIPBOARD" = "yes" \
33574 -o "$wxUSE_OLE" = "yes" \
33575 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
33577 for ac_header
in ole2.h
33579 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33581 echo "$as_me:$LINENO: checking for $ac_header" >&5
33582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33584 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33589 # Is the header compilable?
33590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33592 cat >conftest.
$ac_ext <<_ACEOF
33593 #line $LINENO "configure"
33596 cat confdefs.h
>>conftest.
$ac_ext
33597 cat >>conftest.
$ac_ext <<_ACEOF
33598 /* end confdefs.h. */
33599 $ac_includes_default
33600 #include <$ac_header>
33602 rm -f conftest.
$ac_objext
33603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33604 (eval $ac_compile) 2>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } &&
33608 { ac_try
='test -s conftest.$ac_objext'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; }; then
33614 ac_header_compiler
=yes
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.
$ac_ext >&5
33619 ac_header_compiler
=no
33621 rm -f conftest.
$ac_objext conftest.
$ac_ext
33622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33623 echo "${ECHO_T}$ac_header_compiler" >&6
33625 # Is the header present?
33626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33628 cat >conftest.
$ac_ext <<_ACEOF
33629 #line $LINENO "configure"
33632 cat confdefs.h
>>conftest.
$ac_ext
33633 cat >>conftest.
$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33635 #include <$ac_header>
33637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33640 grep -v '^ *+' conftest.er1
>conftest.err
33642 cat conftest.err
>&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } >/dev
/null
; then
33645 if test -s conftest.err
; then
33646 ac_cpp_err
=$ac_c_preproc_warn_flag
33653 if test -z "$ac_cpp_err"; then
33654 ac_header_preproc
=yes
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.
$ac_ext >&5
33659 ac_header_preproc
=no
33661 rm -f conftest.err conftest.
$ac_ext
33662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33663 echo "${ECHO_T}$ac_header_preproc" >&6
33665 # So? What about this header?
33666 case $ac_header_compiler:$ac_header_preproc in
33668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33674 ## ------------------------------------ ##
33675 ## Report this to bug-autoconf@gnu.org. ##
33676 ## ------------------------------------ ##
33679 sed "s/^/$as_me: WARNING: /" >&2
33682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33690 ## ------------------------------------ ##
33691 ## Report this to bug-autoconf@gnu.org. ##
33692 ## ------------------------------------ ##
33695 sed "s/^/$as_me: WARNING: /" >&2
33698 echo "$as_me:$LINENO: checking for $ac_header" >&5
33699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33701 echo $ECHO_N "(cached) $ECHO_C" >&6
33703 eval "$as_ac_Header=$ac_header_preproc"
33705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33710 cat >>confdefs.h
<<_ACEOF
33711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33719 if test "$ac_cv_header_ole2_h" = "yes" ; then
33720 if test "$GCC" = yes ; then
33724 ac_cpp
='$CXXCPP $CPPFLAGS'
33725 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33730 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
33731 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
33732 cat >conftest.
$ac_ext <<_ACEOF
33733 #line $LINENO "configure"
33736 cat confdefs.h
>>conftest.
$ac_ext
33737 cat >>conftest.
$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 #include <windows.h>
33749 rm -f conftest.
$ac_objext
33750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33751 (eval $ac_compile) 2>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } &&
33755 { ac_try
='test -s conftest.$ac_objext'
33756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33757 (eval $ac_try) 2>&5
33759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33760 (exit $ac_status); }; }; then
33761 echo "$as_me:$LINENO: result: no" >&5
33762 echo "${ECHO_T}no" >&6
33764 echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.
$ac_ext >&5
33767 echo "$as_me:$LINENO: result: yes" >&5
33768 echo "${ECHO_T}yes" >&6
33769 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
33771 rm -f conftest.
$ac_objext conftest.
$ac_ext
33773 ac_cpp
='$CPP $CPPFLAGS'
33774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33778 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
33779 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
33780 if test "$wxUSE_OLE" = "yes" ; then
33781 cat >>confdefs.h
<<\_ACEOF
33782 #define wxUSE_OLE 1
33788 if test "$wxUSE_DATAOBJ" = "yes" ; then
33789 cat >>confdefs.h
<<\_ACEOF
33790 #define wxUSE_DATAOBJ 1
33795 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
33796 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
33799 wxUSE_DRAG_AND_DROP
=no
33804 if test "$wxUSE_METAFILE" = "yes"; then
33805 cat >>confdefs.h
<<\_ACEOF
33806 #define wxUSE_METAFILE 1
33810 cat >>confdefs.h
<<\_ACEOF
33811 #define wxUSE_ENH_METAFILE 1
33817 if test "$wxUSE_IPC" = "yes"; then
33818 if test "$wxUSE_SOCKETS" != "yes"; then
33819 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
33820 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
33823 cat >>confdefs.h
<<\_ACEOF
33824 #define wxUSE_IPC 1
33829 if test "$wxUSE_CLIPBOARD" = "yes"; then
33830 if test "$wxUSE_MGL" = 1; then
33831 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
33832 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
33836 if test "$wxUSE_CLIPBOARD" = "yes"; then
33837 cat >>confdefs.h
<<\_ACEOF
33838 #define wxUSE_CLIPBOARD 1
33842 cat >>confdefs.h
<<\_ACEOF
33843 #define wxUSE_DATAOBJ 1
33849 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
33850 if test "$wxUSE_GTK" = 1; then
33851 if test "$WXGTK12" != 1; then
33852 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
33853 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
33854 wxUSE_DRAG_AND_DROP
=no
33858 if test "$wxUSE_MOTIF" = 1; then
33859 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
33860 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
33861 wxUSE_DRAG_AND_DROP
=no
33864 if test "$wxUSE_X11" = 1; then
33865 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
33866 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
33867 wxUSE_DRAG_AND_DROP
=no
33870 if test "$wxUSE_MGL" = 1; then
33871 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
33872 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
33873 wxUSE_DRAG_AND_DROP
=no
33876 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
33877 cat >>confdefs.h
<<\_ACEOF
33878 #define wxUSE_DRAG_AND_DROP 1
33881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
33886 if test "$wxUSE_SPLINES" = "yes" ; then
33887 cat >>confdefs.h
<<\_ACEOF
33888 #define wxUSE_SPLINES 1
33895 if test "$wxUSE_CONTROLS" = "yes"; then
33899 if test "$wxUSE_ACCEL" = "yes"; then
33900 cat >>confdefs.h
<<\_ACEOF
33901 #define wxUSE_ACCEL 1
33907 if test "$wxUSE_BUTTON" = "yes"; then
33908 cat >>confdefs.h
<<\_ACEOF
33909 #define wxUSE_BUTTON 1
33915 if test "$wxUSE_BMPBUTTON" = "yes"; then
33916 cat >>confdefs.h
<<\_ACEOF
33917 #define wxUSE_BMPBUTTON 1
33923 if test "$wxUSE_CALCTRL" = "yes"; then
33924 cat >>confdefs.h
<<\_ACEOF
33925 #define wxUSE_CALENDARCTRL 1
33929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
33932 if test "$wxUSE_CARET" = "yes"; then
33933 cat >>confdefs.h
<<\_ACEOF
33934 #define wxUSE_CARET 1
33938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
33941 if test "$wxUSE_COMBOBOX" = "yes"; then
33942 cat >>confdefs.h
<<\_ACEOF
33943 #define wxUSE_COMBOBOX 1
33949 if test "$wxUSE_CHOICE" = "yes"; then
33950 cat >>confdefs.h
<<\_ACEOF
33951 #define wxUSE_CHOICE 1
33957 if test "$wxUSE_CHECKBOX" = "yes"; then
33958 cat >>confdefs.h
<<\_ACEOF
33959 #define wxUSE_CHECKBOX 1
33965 if test "$wxUSE_CHECKLST" = "yes"; then
33966 cat >>confdefs.h
<<\_ACEOF
33967 #define wxUSE_CHECKLISTBOX 1
33971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
33974 if test "$wxUSE_DISPLAY" = "yes"; then
33975 cat >>confdefs.h
<<\_ACEOF
33976 #define wxUSE_DISPLAY 1
33979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
33982 if test "$wxUSE_GAUGE" = "yes"; then
33983 cat >>confdefs.h
<<\_ACEOF
33984 #define wxUSE_GAUGE 1
33990 if test "$wxUSE_GRID" = "yes"; then
33991 cat >>confdefs.h
<<\_ACEOF
33992 #define wxUSE_GRID 1
33996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
33999 if test "$wxUSE_IMAGLIST" = "yes"; then
34000 cat >>confdefs.h
<<\_ACEOF
34001 #define wxUSE_IMAGLIST 1
34006 if test "$wxUSE_LISTBOOK" = "yes"; then
34007 cat >>confdefs.h
<<\_ACEOF
34008 #define wxUSE_LISTBOOK 1
34014 if test "$wxUSE_LISTBOX" = "yes"; then
34015 cat >>confdefs.h
<<\_ACEOF
34016 #define wxUSE_LISTBOX 1
34022 if test "$wxUSE_LISTCTRL" = "yes"; then
34023 if test "$wxUSE_IMAGLIST" = "yes"; then
34024 cat >>confdefs.h
<<\_ACEOF
34025 #define wxUSE_LISTCTRL 1
34029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
34031 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
34032 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
34036 if test "$wxUSE_NOTEBOOK" = "yes"; then
34037 cat >>confdefs.h
<<\_ACEOF
34038 #define wxUSE_NOTEBOOK 1
34042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
34046 if test "$wxUSE_RADIOBOX" = "yes"; then
34047 cat >>confdefs.h
<<\_ACEOF
34048 #define wxUSE_RADIOBOX 1
34054 if test "$wxUSE_RADIOBTN" = "yes"; then
34055 cat >>confdefs.h
<<\_ACEOF
34056 #define wxUSE_RADIOBTN 1
34062 if test "$wxUSE_SASH" = "yes"; then
34063 cat >>confdefs.h
<<\_ACEOF
34064 #define wxUSE_SASH 1
34067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
34070 if test "$wxUSE_SCROLLBAR" = "yes"; then
34071 cat >>confdefs.h
<<\_ACEOF
34072 #define wxUSE_SCROLLBAR 1
34076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
34079 if test "$wxUSE_SLIDER" = "yes"; then
34080 cat >>confdefs.h
<<\_ACEOF
34081 #define wxUSE_SLIDER 1
34087 if test "$wxUSE_SPINBTN" = "yes"; then
34088 cat >>confdefs.h
<<\_ACEOF
34089 #define wxUSE_SPINBTN 1
34095 if test "$wxUSE_SPINCTRL" = "yes"; then
34096 cat >>confdefs.h
<<\_ACEOF
34097 #define wxUSE_SPINCTRL 1
34103 if test "$wxUSE_SPLITTER" = "yes"; then
34104 cat >>confdefs.h
<<\_ACEOF
34105 #define wxUSE_SPLITTER 1
34108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
34111 if test "$wxUSE_STATBMP" = "yes"; then
34112 cat >>confdefs.h
<<\_ACEOF
34113 #define wxUSE_STATBMP 1
34119 if test "$wxUSE_STATBOX" = "yes"; then
34120 cat >>confdefs.h
<<\_ACEOF
34121 #define wxUSE_STATBOX 1
34127 if test "$wxUSE_STATTEXT" = "yes"; then
34128 cat >>confdefs.h
<<\_ACEOF
34129 #define wxUSE_STATTEXT 1
34135 if test "$wxUSE_STATLINE" = "yes"; then
34136 cat >>confdefs.h
<<\_ACEOF
34137 #define wxUSE_STATLINE 1
34143 if test "$wxUSE_STATUSBAR" = "yes"; then
34144 cat >>confdefs.h
<<\_ACEOF
34145 #define wxUSE_STATUSBAR 1
34150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
34153 if test "$wxUSE_TABDIALOG" = "yes"; then
34154 cat >>confdefs.h
<<\_ACEOF
34155 #define wxUSE_TAB_DIALOG 1
34158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
34161 if test "$wxUSE_TEXTCTRL" = "yes"; then
34162 cat >>confdefs.h
<<\_ACEOF
34163 #define wxUSE_TEXTCTRL 1
34167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
34170 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34171 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34172 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
34173 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
34176 if test "$wxUSE_UNIVERSAL" = "yes"; then
34177 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
34178 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
34182 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34183 cat >>confdefs.h
<<\_ACEOF
34184 #define wxUSE_TOGGLEBTN 1
34191 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
34192 cat >>confdefs.h
<<\_ACEOF
34193 #define wxUSE_TOOLBAR_SIMPLE 1
34196 wxUSE_TOOLBAR
="yes"
34200 if test "$wxUSE_TOOLBAR" = "yes"; then
34201 cat >>confdefs.h
<<\_ACEOF
34202 #define wxUSE_TOOLBAR 1
34207 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
34208 wxUSE_TOOLBAR_NATIVE
="yes"
34211 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
34212 cat >>confdefs.h
<<\_ACEOF
34213 #define wxUSE_TOOLBAR_NATIVE 1
34219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
34222 if test "$wxUSE_TOOLTIPS" = "yes"; then
34223 if test "$wxUSE_MOTIF" = 1; then
34224 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
34225 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
34227 if test "$wxUSE_UNIVERSAL" = "yes"; then
34228 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
34229 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
34231 cat >>confdefs.h
<<\_ACEOF
34232 #define wxUSE_TOOLTIPS 1
34239 if test "$wxUSE_TREECTRL" = "yes"; then
34240 if test "$wxUSE_IMAGLIST" = "yes"; then
34241 cat >>confdefs.h
<<\_ACEOF
34242 #define wxUSE_TREECTRL 1
34246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
34248 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
34249 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
34253 if test "$wxUSE_POPUPWIN" = "yes"; then
34254 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34255 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
34256 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
34258 if test "$wxUSE_PM" = 1; then
34259 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
34260 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
34262 cat >>confdefs.h
<<\_ACEOF
34263 #define wxUSE_POPUPWIN 1
34272 if test "$wxUSE_TIPWINDOW" = "yes"; then
34273 if test "$wxUSE_PM" = 1; then
34274 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
34275 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
34277 cat >>confdefs.h
<<\_ACEOF
34278 #define wxUSE_TIPWINDOW 1
34284 if test "$USES_CONTROLS" = 1; then
34285 cat >>confdefs.h
<<\_ACEOF
34286 #define wxUSE_CONTROLS 1
34292 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
34293 cat >>confdefs.h
<<\_ACEOF
34294 #define wxUSE_ACCESSIBILITY 1
34297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
34300 if test "$wxUSE_DRAGIMAGE" = "yes"; then
34301 cat >>confdefs.h
<<\_ACEOF
34302 #define wxUSE_DRAGIMAGE 1
34305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
34308 if test "$wxUSE_EXCEPTIONS" = "yes"; then
34309 cat >>confdefs.h
<<\_ACEOF
34310 #define wxUSE_EXCEPTIONS 1
34316 if test "$wxUSE_HTML" = "yes"; then
34317 cat >>confdefs.h
<<\_ACEOF
34318 #define wxUSE_HTML 1
34322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
34325 if test "$wxUSE_MENUS" = "yes"; then
34326 cat >>confdefs.h
<<\_ACEOF
34327 #define wxUSE_MENUS 1
34330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
34333 if test "$wxUSE_METAFILE" = "yes"; then
34334 cat >>confdefs.h
<<\_ACEOF
34335 #define wxUSE_METAFILE 1
34340 if test "$wxUSE_MIMETYPE" = "yes"; then
34341 cat >>confdefs.h
<<\_ACEOF
34342 #define wxUSE_MIMETYPE 1
34347 if test "$wxUSE_MINIFRAME" = "yes"; then
34348 cat >>confdefs.h
<<\_ACEOF
34349 #define wxUSE_MINIFRAME 1
34352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
34355 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
34356 cat >>confdefs.h
<<\_ACEOF
34357 #define wxUSE_SYSTEM_OPTIONS 1
34360 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
34361 "$TOOLKIT" = "MOTIF"; then
34362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
34367 if test "$wxUSE_VALIDATORS" = "yes"; then
34368 cat >>confdefs.h
<<\_ACEOF
34369 #define wxUSE_VALIDATORS 1
34372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
34375 if test "$wxUSE_PALETTE" = "yes" ; then
34376 cat >>confdefs.h
<<\_ACEOF
34377 #define wxUSE_PALETTE 1
34382 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
34383 LIBS
=" -lunicows $LIBS"
34387 if test "$wxUSE_IMAGE" = "yes" ; then
34388 cat >>confdefs.h
<<\_ACEOF
34389 #define wxUSE_IMAGE 1
34393 if test "$wxUSE_GIF" = "yes" ; then
34394 cat >>confdefs.h
<<\_ACEOF
34395 #define wxUSE_GIF 1
34400 if test "$wxUSE_PCX" = "yes" ; then
34401 cat >>confdefs.h
<<\_ACEOF
34402 #define wxUSE_PCX 1
34407 if test "$wxUSE_IFF" = "yes" ; then
34408 cat >>confdefs.h
<<\_ACEOF
34409 #define wxUSE_IFF 1
34414 if test "$wxUSE_PNM" = "yes" ; then
34415 cat >>confdefs.h
<<\_ACEOF
34416 #define wxUSE_PNM 1
34421 if test "$wxUSE_XPM" = "yes" ; then
34422 cat >>confdefs.h
<<\_ACEOF
34423 #define wxUSE_XPM 1
34428 if test "$wxUSE_ICO_CUR" = "yes" ; then
34429 cat >>confdefs.h
<<\_ACEOF
34430 #define wxUSE_ICO_CUR 1
34437 if test "$wxUSE_CHOICEDLG" = "yes"; then
34438 cat >>confdefs.h
<<\_ACEOF
34439 #define wxUSE_CHOICEDLG 1
34444 if test "$wxUSE_COLOURDLG" = "yes"; then
34445 cat >>confdefs.h
<<\_ACEOF
34446 #define wxUSE_COLOURDLG 1
34451 if test "$wxUSE_FILEDLG" = "yes"; then
34452 cat >>confdefs.h
<<\_ACEOF
34453 #define wxUSE_FILEDLG 1
34458 if test "$wxUSE_FINDREPLDLG" = "yes"; then
34459 cat >>confdefs.h
<<\_ACEOF
34460 #define wxUSE_FINDREPLDLG 1
34465 if test "$wxUSE_FONTDLG" = "yes"; then
34466 cat >>confdefs.h
<<\_ACEOF
34467 #define wxUSE_FONTDLG 1
34472 if test "$wxUSE_DIRDLG" = "yes"; then
34473 if test "$wxUSE_TREECTRL" != "yes"; then
34474 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
34475 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
34477 cat >>confdefs.h
<<\_ACEOF
34478 #define wxUSE_DIRDLG 1
34484 if test "$wxUSE_MSGDLG" = "yes"; then
34485 cat >>confdefs.h
<<\_ACEOF
34486 #define wxUSE_MSGDLG 1
34491 if test "$wxUSE_NUMBERDLG" = "yes"; then
34492 cat >>confdefs.h
<<\_ACEOF
34493 #define wxUSE_NUMBERDLG 1
34498 if test "$wxUSE_PROGRESSDLG" = "yes"; then
34499 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34500 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
34501 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
34503 cat >>confdefs.h
<<\_ACEOF
34504 #define wxUSE_PROGRESSDLG 1
34510 if test "$wxUSE_SPLASH" = "yes"; then
34511 cat >>confdefs.h
<<\_ACEOF
34512 #define wxUSE_SPLASH 1
34517 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
34518 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34519 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
34520 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
34522 cat >>confdefs.h
<<\_ACEOF
34523 #define wxUSE_STARTUP_TIPS 1
34529 if test "$wxUSE_TEXTDLG" = "yes"; then
34530 cat >>confdefs.h
<<\_ACEOF
34531 #define wxUSE_TEXTDLG 1
34536 if test "$wxUSE_WIZARDDLG" = "yes"; then
34537 cat >>confdefs.h
<<\_ACEOF
34538 #define wxUSE_WIZARDDLG 1
34541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
34545 if test "$cross_compiling" = "yes"; then
34548 OSINFO
=`uname -s -r -m`
34549 OSINFO
="\"$OSINFO\""
34552 cat >>confdefs.h
<<_ACEOF
34553 #define WXWIN_OS_DESCRIPTION $OSINFO
34558 if test "x$prefix" != "xNONE"; then
34561 wxPREFIX
=$ac_default_prefix
34564 cat >>confdefs.h
<<_ACEOF
34565 #define wxINSTALL_PREFIX "$wxPREFIX"
34569 top_builddir_wxconfig
=`pwd`
34573 CORE_BASE_LIBS
="net base"
34574 CORE_GUI_LIBS
="adv core"
34576 if test "$wxUSE_XML" = "yes" ; then
34577 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
34579 if test "$wxUSE_ODBC" != "no" ; then
34580 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
34581 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
34583 if test "$wxUSE_HTML" = "yes" ; then
34584 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
34587 if test "$wxUSE_GUI" != "yes"; then
34598 if test "$wxUSE_MAC" = 1 ; then
34599 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
34601 if test "$wxUSE_COCOA" = 1 ; then
34602 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
34606 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
34613 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34614 echo "$as_me:$LINENO: checking for $ac_func" >&5
34615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34616 if eval "test \"\${$as_ac_var+set}\" = set"; then
34617 echo $ECHO_N "(cached) $ECHO_C" >&6
34619 cat >conftest.
$ac_ext <<_ACEOF
34620 #line $LINENO "configure"
34623 cat confdefs.h
>>conftest.
$ac_ext
34624 cat >>conftest.
$ac_ext <<_ACEOF
34625 /* end confdefs.h. */
34626 /* System header to define __stub macros and hopefully few prototypes,
34627 which can conflict with char $ac_func (); below.
34628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34629 <limits.h> exists even on freestanding compilers. */
34631 # include <limits.h>
34633 # include <assert.h>
34635 /* Override any gcc2 internal prototype to avoid an error. */
34640 /* We use char because int might match the return type of a gcc2
34641 builtin and then its argument prototype would still apply. */
34643 /* The GNU C library defines this for functions which it implements
34644 to always fail with ENOSYS. Some functions are actually named
34645 something starting with __ and the normal name is an alias. */
34646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34649 char (*f) () = $ac_func;
34658 return f != $ac_func;
34663 rm -f conftest.
$ac_objext conftest
$ac_exeext
34664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34665 (eval $ac_link) 2>&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } &&
34669 { ac_try
='test -s conftest$ac_exeext'
34670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34671 (eval $ac_try) 2>&5
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); }; }; then
34675 eval "$as_ac_var=yes"
34677 echo "$as_me: failed program was:" >&5
34678 sed 's/^/| /' conftest.
$ac_ext >&5
34680 eval "$as_ac_var=no"
34682 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34686 if test `eval echo '${'$as_ac_var'}'` = yes; then
34687 cat >>confdefs.h
<<_ACEOF
34688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34695 for ac_func
in floor
34697 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34698 echo "$as_me:$LINENO: checking for $ac_func" >&5
34699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34700 if eval "test \"\${$as_ac_var+set}\" = set"; then
34701 echo $ECHO_N "(cached) $ECHO_C" >&6
34703 cat >conftest.
$ac_ext <<_ACEOF
34704 #line $LINENO "configure"
34707 cat confdefs.h
>>conftest.
$ac_ext
34708 cat >>conftest.
$ac_ext <<_ACEOF
34709 /* end confdefs.h. */
34710 /* System header to define __stub macros and hopefully few prototypes,
34711 which can conflict with char $ac_func (); below.
34712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34713 <limits.h> exists even on freestanding compilers. */
34715 # include <limits.h>
34717 # include <assert.h>
34719 /* Override any gcc2 internal prototype to avoid an error. */
34724 /* We use char because int might match the return type of a gcc2
34725 builtin and then its argument prototype would still apply. */
34727 /* The GNU C library defines this for functions which it implements
34728 to always fail with ENOSYS. Some functions are actually named
34729 something starting with __ and the normal name is an alias. */
34730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34733 char (*f) () = $ac_func;
34742 return f != $ac_func;
34747 rm -f conftest.
$ac_objext conftest
$ac_exeext
34748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34749 (eval $ac_link) 2>&5
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); } &&
34753 { ac_try
='test -s conftest$ac_exeext'
34754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34755 (eval $ac_try) 2>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); }; }; then
34759 eval "$as_ac_var=yes"
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.
$ac_ext >&5
34764 eval "$as_ac_var=no"
34766 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34770 if test `eval echo '${'$as_ac_var'}'` = yes; then
34771 cat >>confdefs.h
<<_ACEOF
34772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34778 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
34779 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
34780 if test "$have_cos" = 1 -a "$have_floor" = 1; then
34781 echo "$as_me:$LINENO: result: yes" >&5
34782 echo "${ECHO_T}yes" >&6
34784 echo "$as_me:$LINENO: result: no" >&5
34785 echo "${ECHO_T}no" >&6
34787 # use different functions to avoid configure caching
34793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34794 echo "$as_me:$LINENO: checking for $ac_func" >&5
34795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34796 if eval "test \"\${$as_ac_var+set}\" = set"; then
34797 echo $ECHO_N "(cached) $ECHO_C" >&6
34799 cat >conftest.
$ac_ext <<_ACEOF
34800 #line $LINENO "configure"
34803 cat confdefs.h
>>conftest.
$ac_ext
34804 cat >>conftest.
$ac_ext <<_ACEOF
34805 /* end confdefs.h. */
34806 /* System header to define __stub macros and hopefully few prototypes,
34807 which can conflict with char $ac_func (); below.
34808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34809 <limits.h> exists even on freestanding compilers. */
34811 # include <limits.h>
34813 # include <assert.h>
34815 /* Override any gcc2 internal prototype to avoid an error. */
34820 /* We use char because int might match the return type of a gcc2
34821 builtin and then its argument prototype would still apply. */
34823 /* The GNU C library defines this for functions which it implements
34824 to always fail with ENOSYS. Some functions are actually named
34825 something starting with __ and the normal name is an alias. */
34826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34829 char (*f) () = $ac_func;
34838 return f != $ac_func;
34843 rm -f conftest.
$ac_objext conftest
$ac_exeext
34844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34845 (eval $ac_link) 2>&5
34847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34848 (exit $ac_status); } &&
34849 { ac_try
='test -s conftest$ac_exeext'
34850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34851 (eval $ac_try) 2>&5
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); }; }; then
34855 eval "$as_ac_var=yes"
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.
$ac_ext >&5
34860 eval "$as_ac_var=no"
34862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34866 if test `eval echo '${'$as_ac_var'}'` = yes; then
34867 cat >>confdefs.h
<<_ACEOF
34868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34875 for ac_func
in ceil
34877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34878 echo "$as_me:$LINENO: checking for $ac_func" >&5
34879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34880 if eval "test \"\${$as_ac_var+set}\" = set"; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34883 cat >conftest.
$ac_ext <<_ACEOF
34884 #line $LINENO "configure"
34887 cat confdefs.h
>>conftest.
$ac_ext
34888 cat >>conftest.
$ac_ext <<_ACEOF
34889 /* end confdefs.h. */
34890 /* System header to define __stub macros and hopefully few prototypes,
34891 which can conflict with char $ac_func (); below.
34892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34893 <limits.h> exists even on freestanding compilers. */
34895 # include <limits.h>
34897 # include <assert.h>
34899 /* Override any gcc2 internal prototype to avoid an error. */
34904 /* We use char because int might match the return type of a gcc2
34905 builtin and then its argument prototype would still apply. */
34907 /* The GNU C library defines this for functions which it implements
34908 to always fail with ENOSYS. Some functions are actually named
34909 something starting with __ and the normal name is an alias. */
34910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34913 char (*f) () = $ac_func;
34922 return f != $ac_func;
34927 rm -f conftest.
$ac_objext conftest
$ac_exeext
34928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34929 (eval $ac_link) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); } &&
34933 { ac_try
='test -s conftest$ac_exeext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34939 eval "$as_ac_var=yes"
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.
$ac_ext >&5
34944 eval "$as_ac_var=no"
34946 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34950 if test `eval echo '${'$as_ac_var'}'` = yes; then
34951 cat >>confdefs.h
<<_ACEOF
34952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34958 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34959 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34960 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34961 echo "$as_me:$LINENO: result: yes" >&5
34962 echo "${ECHO_T}yes" >&6
34964 echo "$as_me:$LINENO: result: no" >&5
34965 echo "${ECHO_T}no" >&6
34966 # not sure we should warn the user, crash, etc.
34970 if test "$wxUSE_GUI" = "yes"; then
34973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
34974 drawing dynamic erase event exec font image \
34975 minimal propsize rotate shaped widgets render"
34977 if test "$wxUSE_MONOLITHIC" != "yes"; then
34978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
34981 SAMPLES_SUBDIRS
="console"
34985 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34986 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
34988 if test "$GXX" = yes ; then
34989 CXXWARNINGS
="-Wall"
34992 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34994 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34995 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34996 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34999 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
35000 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
35001 EXTRALIBS_XML
="$EXPAT_LINK"
35002 EXTRALIBS_HTML
="$MSPACK_LINK"
35003 EXTRALIBS_ODBC
="$ODBC_LINK"
35004 if test "$wxUSE_GUI" = "yes"; then
35005 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
35007 if test "$wxUSE_OPENGL" = "yes"; then
35008 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
35011 LDFLAGS
="$LDFLAGS $PROFILE"
35013 if test "$wxUSE_GTK" = 1; then
35016 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
35019 WXCONFIG_EXTRALIBS
="$LIBS"
35021 if test "$wxUSE_REGEX" = "builtin" ; then
35022 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
35024 if test "$wxUSE_EXPAT" = "builtin" ; then
35025 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
35027 if test "$wxUSE_ODBC" = "builtin" ; then
35028 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
35030 if test "$wxUSE_LIBTIFF" = "builtin" ; then
35031 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
35033 if test "$wxUSE_LIBJPEG" = "builtin" ; then
35034 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
35036 if test "$wxUSE_LIBPNG" = "builtin" ; then
35037 wxconfig_3rdparty
="$wxconfig_3rdparty png"
35039 if test "$wxUSE_ZLIB" = "builtin" ; then
35040 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
35042 if test "$wxUSE_ODBC" = "builtin" ; then
35043 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
35046 for i
in $wxconfig_3rdparty ; do
35047 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
35051 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
35065 if test $wxUSE_MONOLITHIC = "yes" ; then
35071 if test $wxUSE_PLUGINS = "yes" ; then
35077 if test $wxUSE_ODBC != "no" ; then
35083 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
35109 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
35117 if test "x$BAKEFILE_HOST" = "x"; then
35118 BAKEFILE_HOST
="${host}"
35121 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
35123 if test -n "$ac_tool_prefix"; then
35124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35125 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
35126 echo "$as_me:$LINENO: checking for $ac_word" >&5
35127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35128 if test "${ac_cv_prog_RANLIB+set}" = set; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35131 if test -n "$RANLIB"; then
35132 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
35134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35135 for as_dir
in $PATH
35138 test -z "$as_dir" && as_dir
=.
35139 for ac_exec_ext
in '' $ac_executable_extensions; do
35140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35141 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
35142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35150 RANLIB
=$ac_cv_prog_RANLIB
35151 if test -n "$RANLIB"; then
35152 echo "$as_me:$LINENO: result: $RANLIB" >&5
35153 echo "${ECHO_T}$RANLIB" >&6
35155 echo "$as_me:$LINENO: result: no" >&5
35156 echo "${ECHO_T}no" >&6
35160 if test -z "$ac_cv_prog_RANLIB"; then
35161 ac_ct_RANLIB
=$RANLIB
35162 # Extract the first word of "ranlib", so it can be a program name with args.
35163 set dummy ranlib
; ac_word
=$2
35164 echo "$as_me:$LINENO: checking for $ac_word" >&5
35165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35166 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35169 if test -n "$ac_ct_RANLIB"; then
35170 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
35172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35173 for as_dir
in $PATH
35176 test -z "$as_dir" && as_dir
=.
35177 for ac_exec_ext
in '' $ac_executable_extensions; do
35178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35179 ac_cv_prog_ac_ct_RANLIB
="ranlib"
35180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35186 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
35189 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
35190 if test -n "$ac_ct_RANLIB"; then
35191 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35192 echo "${ECHO_T}$ac_ct_RANLIB" >&6
35194 echo "$as_me:$LINENO: result: no" >&5
35195 echo "${ECHO_T}no" >&6
35198 RANLIB
=$ac_ct_RANLIB
35200 RANLIB
="$ac_cv_prog_RANLIB"
35203 # Find a good install program. We prefer a C program (faster),
35204 # so one script is as good as another. But avoid the broken or
35205 # incompatible versions:
35206 # SysV /etc/install, /usr/sbin/install
35207 # SunOS /usr/etc/install
35208 # IRIX /sbin/install
35210 # AmigaOS /C/install, which installs bootblocks on floppy discs
35211 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
35212 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
35213 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
35214 # ./install, which can be erroneously created by make from ./install.sh.
35215 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
35216 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
35217 if test -z "$INSTALL"; then
35218 if test "${ac_cv_path_install+set}" = set; then
35219 echo $ECHO_N "(cached) $ECHO_C" >&6
35221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35222 for as_dir
in $PATH
35225 test -z "$as_dir" && as_dir
=.
35226 # Account for people who put trailing slashes in PATH elements.
35228 .
/ | .
// | /cC
/* | \
35229 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
35232 # OSF1 and SCO ODT 3.0 have their own names for install.
35233 # Don't use installbsd from OSF since it installs stuff as root
35235 for ac_prog
in ginstall scoinst
install; do
35236 for ac_exec_ext
in '' $ac_executable_extensions; do
35237 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
35238 if test $ac_prog = install &&
35239 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
35240 # AIX install. It has an incompatible calling convention.
35242 elif test $ac_prog = install &&
35243 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
35244 # program-specific install script used by HP pwplus--don't use.
35247 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
35259 if test "${ac_cv_path_install+set}" = set; then
35260 INSTALL
=$ac_cv_path_install
35262 # As a last resort, use the slow shell script. We don't cache a
35263 # path for INSTALL within a source directory, because that will
35264 # break other packages using the cache if that directory is
35265 # removed, or if the path is relative.
35266 INSTALL
=$ac_install_sh
35269 echo "$as_me:$LINENO: result: $INSTALL" >&5
35270 echo "${ECHO_T}$INSTALL" >&6
35272 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
35273 # It thinks the first close brace ends the variable substitution.
35274 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
35276 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
35278 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
35280 echo "$as_me:$LINENO: checking whether ln -s works" >&5
35281 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
35283 if test "$LN_S" = "ln -s"; then
35284 echo "$as_me:$LINENO: result: yes" >&5
35285 echo "${ECHO_T}yes" >&6
35287 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
35288 echo "${ECHO_T}no, using $LN_S" >&6
35292 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35293 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35294 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35295 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35296 echo $ECHO_N "(cached) $ECHO_C" >&6
35298 cat >conftest.
make <<\_ACEOF
35300 @
echo 'ac_maketemp="$(MAKE)"'
35302 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35303 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35304 if test -n "$ac_maketemp"; then
35305 eval ac_cv_prog_make_
${ac_make}_set
=yes
35307 eval ac_cv_prog_make_
${ac_make}_set
=no
35309 rm -f conftest.
make
35311 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35312 echo "$as_me:$LINENO: result: yes" >&5
35313 echo "${ECHO_T}yes" >&6
35316 echo "$as_me:$LINENO: result: no" >&5
35317 echo "${ECHO_T}no" >&6
35318 SET_MAKE
="MAKE=${MAKE-make}"
35323 if test -n "$ac_tool_prefix"; then
35324 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
35325 set dummy
${ac_tool_prefix}ar; ac_word
=$2
35326 echo "$as_me:$LINENO: checking for $ac_word" >&5
35327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35328 if test "${ac_cv_prog_AR+set}" = set; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35331 if test -n "$AR"; then
35332 ac_cv_prog_AR
="$AR" # Let the user override the test.
35334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35335 for as_dir
in $PATH
35338 test -z "$as_dir" && as_dir
=.
35339 for ac_exec_ext
in '' $ac_executable_extensions; do
35340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35341 ac_cv_prog_AR
="${ac_tool_prefix}ar"
35342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35351 if test -n "$AR"; then
35352 echo "$as_me:$LINENO: result: $AR" >&5
35353 echo "${ECHO_T}$AR" >&6
35355 echo "$as_me:$LINENO: result: no" >&5
35356 echo "${ECHO_T}no" >&6
35360 if test -z "$ac_cv_prog_AR"; then
35362 # Extract the first word of "ar", so it can be a program name with args.
35363 set dummy
ar; ac_word
=$2
35364 echo "$as_me:$LINENO: checking for $ac_word" >&5
35365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35366 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
35367 echo $ECHO_N "(cached) $ECHO_C" >&6
35369 if test -n "$ac_ct_AR"; then
35370 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
35372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35373 for as_dir
in $PATH
35376 test -z "$as_dir" && as_dir
=.
35377 for ac_exec_ext
in '' $ac_executable_extensions; do
35378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35379 ac_cv_prog_ac_ct_AR
="ar"
35380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35386 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
35389 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
35390 if test -n "$ac_ct_AR"; then
35391 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
35392 echo "${ECHO_T}$ac_ct_AR" >&6
35394 echo "$as_me:$LINENO: result: no" >&5
35395 echo "${ECHO_T}no" >&6
35400 AR
="$ac_cv_prog_AR"
35403 if test -n "$ac_tool_prefix"; then
35404 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
35405 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
35406 echo "$as_me:$LINENO: checking for $ac_word" >&5
35407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35408 if test "${ac_cv_prog_STRIP+set}" = set; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35411 if test -n "$STRIP"; then
35412 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
35414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35415 for as_dir
in $PATH
35418 test -z "$as_dir" && as_dir
=.
35419 for ac_exec_ext
in '' $ac_executable_extensions; do
35420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35421 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
35422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35430 STRIP
=$ac_cv_prog_STRIP
35431 if test -n "$STRIP"; then
35432 echo "$as_me:$LINENO: result: $STRIP" >&5
35433 echo "${ECHO_T}$STRIP" >&6
35435 echo "$as_me:$LINENO: result: no" >&5
35436 echo "${ECHO_T}no" >&6
35440 if test -z "$ac_cv_prog_STRIP"; then
35442 # Extract the first word of "strip", so it can be a program name with args.
35443 set dummy strip
; ac_word
=$2
35444 echo "$as_me:$LINENO: checking for $ac_word" >&5
35445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35446 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 if test -n "$ac_ct_STRIP"; then
35450 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
35452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35453 for as_dir
in $PATH
35456 test -z "$as_dir" && as_dir
=.
35457 for ac_exec_ext
in '' $ac_executable_extensions; do
35458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35459 ac_cv_prog_ac_ct_STRIP
="strip"
35460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35466 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
35469 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
35470 if test -n "$ac_ct_STRIP"; then
35471 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35472 echo "${ECHO_T}$ac_ct_STRIP" >&6
35474 echo "$as_me:$LINENO: result: no" >&5
35475 echo "${ECHO_T}no" >&6
35480 STRIP
="$ac_cv_prog_STRIP"
35483 if test -n "$ac_tool_prefix"; then
35484 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
35485 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
35486 echo "$as_me:$LINENO: checking for $ac_word" >&5
35487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35488 if test "${ac_cv_prog_NM+set}" = set; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35491 if test -n "$NM"; then
35492 ac_cv_prog_NM
="$NM" # Let the user override the test.
35494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35495 for as_dir
in $PATH
35498 test -z "$as_dir" && as_dir
=.
35499 for ac_exec_ext
in '' $ac_executable_extensions; do
35500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35501 ac_cv_prog_NM
="${ac_tool_prefix}nm"
35502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35511 if test -n "$NM"; then
35512 echo "$as_me:$LINENO: result: $NM" >&5
35513 echo "${ECHO_T}$NM" >&6
35515 echo "$as_me:$LINENO: result: no" >&5
35516 echo "${ECHO_T}no" >&6
35520 if test -z "$ac_cv_prog_NM"; then
35522 # Extract the first word of "nm", so it can be a program name with args.
35523 set dummy nm
; ac_word
=$2
35524 echo "$as_me:$LINENO: checking for $ac_word" >&5
35525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35526 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 if test -n "$ac_ct_NM"; then
35530 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
35532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35533 for as_dir
in $PATH
35536 test -z "$as_dir" && as_dir
=.
35537 for ac_exec_ext
in '' $ac_executable_extensions; do
35538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35539 ac_cv_prog_ac_ct_NM
="nm"
35540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35546 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
35549 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
35550 if test -n "$ac_ct_NM"; then
35551 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
35552 echo "${ECHO_T}$ac_ct_NM" >&6
35554 echo "$as_me:$LINENO: result: no" >&5
35555 echo "${ECHO_T}no" >&6
35560 NM
="$ac_cv_prog_NM"
35564 case ${BAKEFILE_HOST} in
35566 INSTALL_DIR
="mkdir"
35568 *) INSTALL_DIR
="$INSTALL -d"
35574 case ${BAKEFILE_HOST} in
35575 *-*-cygwin* | *-*-mingw32* )
35576 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
35582 echo "$as_me:$LINENO: checking if make is GNU make" >&5
35583 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
35584 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
35585 echo $ECHO_N "(cached) $ECHO_C" >&6
35588 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
35589 egrep -s GNU
> /dev
/null
); then
35590 bakefile_cv_prog_makeisgnu
="yes"
35592 bakefile_cv_prog_makeisgnu
="no"
35596 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
35597 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
35599 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
35614 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
35615 case "${BAKEFILE_HOST}" in
35616 *-*-cygwin* | *-*-mingw32* )
35622 *-pc-os2_emx | *-pc-os2-emx )
35625 powerpc
-*-darwin* )
35634 case "$BAKEFILE_FORCE_PLATFORM" in
35652 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
35653 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
35654 { (exit 1); exit 1; }; }
35668 SO_SUFFIX_MODULE
="so"
35674 case "${BAKEFILE_HOST}" in
35677 SO_SUFFIX_MODULE
="sl"
35681 SO_SUFFIX_MODULE
="a"
35683 *-*-cygwin* | *-*-mingw32* )
35685 SO_SUFFIX_MODULE
="dll"
35693 *-pc-os2_emx | *-pc-os2-emx )
35698 powerpc
-*-darwin* )
35700 SO_SUFFIX_MODULE
="bundle"
35712 SHARED_LD_CC
="\$(CC) -shared -o"
35713 SHARED_LD_CXX
="\$(CXX) -shared -o"
35715 if test "x$GCC" = "xyes"; then
35719 case "${BAKEFILE_HOST}" in
35721 if test "x$GCC" = "xyes"; then
35722 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
35723 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
35725 LDFLAGS
="$LDFLAGS -L/usr/lib"
35727 SHARED_LD_CC
="${CC} -b -o"
35728 SHARED_LD_CXX
="${CXX} -b -o"
35734 if test "x$GCC" != "xyes"; then
35735 echo "$as_me:$LINENO: checking for Intel compiler" >&5
35736 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
35737 if test "${bakefile_cv_prog_icc+set}" = set; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35741 cat >conftest.
$ac_ext <<_ACEOF
35742 #line $LINENO "configure"
35745 cat confdefs.h
>>conftest.
$ac_ext
35746 cat >>conftest.
$ac_ext <<_ACEOF
35747 /* end confdefs.h. */
35753 #ifndef __INTEL_COMPILER
35761 rm -f conftest.
$ac_objext
35762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35763 (eval $ac_compile) 2>&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } &&
35767 { ac_try
='test -s conftest.$ac_objext'
35768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35769 (eval $ac_try) 2>&5
35771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35772 (exit $ac_status); }; }; then
35773 bakefile_cv_prog_icc
=yes
35775 echo "$as_me: failed program was:" >&5
35776 sed 's/^/| /' conftest.
$ac_ext >&5
35778 bakefile_cv_prog_icc
=no
35781 rm -f conftest.
$ac_objext conftest.
$ac_ext
35784 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
35785 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
35786 if test "$bakefile_cv_prog_icc" = "yes"; then
35793 if test "x$GCC" != xyes
; then
35794 SHARED_LD_CC
="${CC} -G -o"
35795 SHARED_LD_CXX
="${CXX} -G -o"
35801 CFLAGS
="$CFLAGS -fno-common"
35802 CXXFLAGS
="$CXXFLAGS -fno-common"
35805 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
35806 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
35807 if test "${wx_cv_gcc31+set}" = set; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35811 cat >conftest.
$ac_ext <<_ACEOF
35812 #line $LINENO "configure"
35815 cat confdefs.h
>>conftest.
$ac_ext
35816 cat >>conftest.
$ac_ext <<_ACEOF
35817 /* end confdefs.h. */
35823 #if (__GNUC__ < 3) || \
35824 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
35832 rm -f conftest.
$ac_objext
35833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35834 (eval $ac_compile) 2>&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } &&
35838 { ac_try
='test -s conftest.$ac_objext'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; }; then
35848 echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.
$ac_ext >&5
35856 rm -f conftest.
$ac_objext conftest.
$ac_ext
35859 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
35860 echo "${ECHO_T}$wx_cv_gcc31" >&6
35861 if test "$wx_cv_gcc31" = "no"; then
35862 cat <<EOF >shared-ld-sh
35864 #-----------------------------------------------------------------------------
35865 #-- Name: distrib/mac/shared-ld-sh
35866 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
35867 #-- Author: Gilles Depeyrot
35868 #-- Copyright: (c) 2002 Gilles Depeyrot
35869 #-- Licence: any use permitted
35870 #-----------------------------------------------------------------------------
35875 linking_flag="-dynamiclib"
35877 while test \${#} -gt 0; do
35884 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
35885 # collect these options and values
35886 args="\${args} \${1} \${2}"
35890 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
35891 # collect these options
35892 args="\${args} \${1}"
35895 -dynamiclib|-bundle)
35896 linking_flag="\${1}"
35900 echo "shared-ld: unhandled option '\${1}'"
35904 *.o | *.a | *.dylib)
35905 # collect object files
35906 objects="\${objects} \${1}"
35910 echo "shared-ld: unhandled argument '\${1}'"
35919 # Link one module containing all the others
35921 if test \${verbose} = 1; then
35922 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
35924 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
35926 if test \${status} != 0; then
35931 # Link the shared library from the single module created
35933 if test \${verbose} = 1; then
35934 echo "cc \${linking_flag} master.\$\$.o \${args}"
35936 c++ \${linking_flag} master.\$\$.o \${args}
35938 if test \${status} != 0; then
35943 # Remove intermediate module
35945 rm -f master.\$\$.o
35949 chmod +x shared
-ld-sh
35951 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
35952 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
35953 SHARED_LD_CXX
="$SHARED_LD_CC"
35954 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
35956 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
35957 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
35958 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
35959 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
35962 PIC_FLAG
="-dynamic -fPIC"
35966 if test "x$GCC" != "xyes"; then
35967 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
35968 set dummy makeC
++SharedLib
; ac_word
=$2
35969 echo "$as_me:$LINENO: checking for $ac_word" >&5
35970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35971 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 if test -n "$AIX_CXX_LD"; then
35975 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
35977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35978 for as_dir
in $PATH
35981 test -z "$as_dir" && as_dir
=.
35982 for ac_exec_ext
in '' $ac_executable_extensions; do
35983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35984 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
35985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35991 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
35994 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
35995 if test -n "$AIX_CXX_LD"; then
35996 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
35997 echo "${ECHO_T}$AIX_CXX_LD" >&6
35999 echo "$as_me:$LINENO: result: no" >&5
36000 echo "${ECHO_T}no" >&6
36003 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
36004 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
36009 SHARED_LD_CC
="${LD} -shared -o"
36010 SHARED_LD_CXX
="${LD} -shared -o"
36014 if test "x$GCC" != "xyes"; then
36019 *-*-cygwin* | *-*-mingw32* )
36023 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
36027 *-pc-os2_emx | *-pc-os2-emx | \
36032 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
36033 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
36034 { (exit 1); exit 1; }; }
36037 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
36038 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
36040 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
36041 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
36058 case "${BAKEFILE_HOST}" in
36060 SONAME_FLAG
="-Wl,-soname,"
36088 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
36089 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
36092 if test "x$GCC" = "xyes"; then
36095 case "${BAKEFILE_HOST}" in
36096 powerpc
-*-darwin* )
36097 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
36100 DEPSFLAG_GCC
="-MMD"
36103 echo "$as_me:$LINENO: result: gcc" >&5
36104 echo "${ECHO_T}gcc" >&6
36106 echo "$as_me:$LINENO: result: none" >&5
36107 echo "${ECHO_T}none" >&6
36110 if test $DEPS_TRACKING = 1 ; then
36114 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36115 # script. It is used to track C/C++ files dependencies in portable way.
36117 # Permission is given to use this file in any way.
36121 DEPSFLAG_GCC="$DEPSFLAG_GCC"
36125 if test \$DEPSMODE = gcc ; then
36126 \${*} \${DEPSFLAG_GCC}
36128 if test \${status} != 0 ; then
36131 # move created file to the location we want it in:
36132 while test \${#} -gt 0; do
36146 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
36147 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
36148 if test -f \$depfile ; then
36149 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36152 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
36153 if test -f \$depfile ; then
36154 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36173 case ${BAKEFILE_HOST} in
36174 *-*-cygwin* | *-*-mingw32* )
36175 if test "$build" != "$host" ; then
36176 RESCOMP
=$host_alias-windres
36178 # Extract the first word of "windres", so it can be a program name with args.
36179 set dummy windres
; ac_word
=$2
36180 echo "$as_me:$LINENO: checking for $ac_word" >&5
36181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36182 if test "${ac_cv_prog_RESCOMP+set}" = set; then
36183 echo $ECHO_N "(cached) $ECHO_C" >&6
36185 if test -n "$RESCOMP"; then
36186 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
36188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36189 for as_dir
in $PATH
36192 test -z "$as_dir" && as_dir
=.
36193 for ac_exec_ext
in '' $ac_executable_extensions; do
36194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36195 ac_cv_prog_RESCOMP
="windres"
36196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36202 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
36205 RESCOMP
=$ac_cv_prog_RESCOMP
36206 if test -n "$RESCOMP"; then
36207 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36208 echo "${ECHO_T}$RESCOMP" >&6
36210 echo "$as_me:$LINENO: result: no" >&5
36211 echo "${ECHO_T}no" >&6
36218 # Extract the first word of "Rez", so it can be a program name with args.
36219 set dummy Rez
; ac_word
=$2
36220 echo "$as_me:$LINENO: checking for $ac_word" >&5
36221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36222 if test "${ac_cv_prog_RESCOMP+set}" = set; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36225 if test -n "$RESCOMP"; then
36226 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
36228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36229 for as_dir
in $PATH
36232 test -z "$as_dir" && as_dir
=.
36233 for ac_exec_ext
in '' $ac_executable_extensions; do
36234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36235 ac_cv_prog_RESCOMP
="Rez"
36236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36242 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
36245 RESCOMP
=$ac_cv_prog_RESCOMP
36246 if test -n "$RESCOMP"; then
36247 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36248 echo "${ECHO_T}$RESCOMP" >&6
36250 echo "$as_me:$LINENO: result: no" >&5
36251 echo "${ECHO_T}no" >&6
36254 # Extract the first word of "SetFile", so it can be a program name with args.
36255 set dummy SetFile
; ac_word
=$2
36256 echo "$as_me:$LINENO: checking for $ac_word" >&5
36257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36258 if test "${ac_cv_prog_SETFILE+set}" = set; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36261 if test -n "$SETFILE"; then
36262 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
36264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36265 for as_dir
in $PATH
36268 test -z "$as_dir" && as_dir
=.
36269 for ac_exec_ext
in '' $ac_executable_extensions; do
36270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36271 ac_cv_prog_SETFILE
="SetFile"
36272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36278 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
36281 SETFILE
=$ac_cv_prog_SETFILE
36282 if test -n "$SETFILE"; then
36283 echo "$as_me:$LINENO: result: $SETFILE" >&5
36284 echo "${ECHO_T}$SETFILE" >&6
36286 echo "$as_me:$LINENO: result: no" >&5
36287 echo "${ECHO_T}no" >&6
36302 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
36303 if test "${enable_precomp_headers+set}" = set; then
36304 enableval
="$enable_precomp_headers"
36305 bk_use_pch
="$enableval"
36310 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
36311 if test "x$GCC" = "xyes"; then
36312 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
36313 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
36314 cat >conftest.
$ac_ext <<_ACEOF
36315 #line $LINENO "configure"
36318 cat confdefs.h
>>conftest.
$ac_ext
36319 cat >>conftest.
$ac_ext <<_ACEOF
36320 /* end confdefs.h. */
36326 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
36327 #error "no pch support"
36330 #error "no pch support"
36332 #if (__GNUC__ == 3) && \
36333 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
36334 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
36335 #error "no pch support"
36342 rm -f conftest.
$ac_objext
36343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36344 (eval $ac_compile) 2>&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); } &&
36348 { ac_try
='test -s conftest.$ac_objext'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; }; then
36355 echo "$as_me:$LINENO: result: yes" >&5
36356 echo "${ECHO_T}yes" >&6
36357 CPPFLAGS
="-fpch-deps $CPPFLAGS"
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.
$ac_ext >&5
36365 echo "$as_me:$LINENO: result: no" >&5
36366 echo "${ECHO_T}no" >&6
36369 rm -f conftest.
$ac_objext conftest.
$ac_ext
36370 if test $GCC_PCH = 1 ; then
36371 cat <<EOF >bk-make-pch
36374 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36375 # script. It is used to generated precompiled headers.
36377 # Permission is given to use this file in any way.
36386 while test \${#} -gt 0; do
36389 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
36390 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
36391 headerfile="\${incdir}/\${header}"
36395 compiler="\${compiler} \${1}"
36399 if test "x\${headerfile}" = "x" ; then
36400 echo "error: can't find header \${header} in include paths" >2
36402 if test -f \${outfile} ; then
36405 mkdir -p \`dirname \${outfile}\`
36407 depsfile=".deps/\`basename \${outfile}\`.d"
36409 # can do this because gcc is >= 3.4:
36410 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
36414 chmod +x bk
-make-pch
36423 COND_BUILD_DEBUG
="#"
36424 if test "x$BUILD" = "xdebug" ; then
36425 COND_BUILD_DEBUG
=""
36428 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
36429 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
36430 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
36433 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
36434 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
36435 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
36438 COND_BUILD_DEBUG_UNICODE_0
="#"
36439 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
36440 COND_BUILD_DEBUG_UNICODE_0
=""
36443 COND_BUILD_DEBUG_UNICODE_1
="#"
36444 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
36445 COND_BUILD_DEBUG_UNICODE_1
=""
36448 COND_BUILD_RELEASE
="#"
36449 if test "x$BUILD" = "xrelease" ; then
36450 COND_BUILD_RELEASE
=""
36453 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
36454 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
36455 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
36458 COND_BUILD_RELEASE_UNICODE_0
="#"
36459 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
36460 COND_BUILD_RELEASE_UNICODE_0
=""
36463 COND_BUILD_RELEASE_UNICODE_1
="#"
36464 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
36465 COND_BUILD_RELEASE_UNICODE_1
=""
36468 COND_DEBUG_FLAG_1
="#"
36469 if test "x$DEBUG_FLAG" = "x1" ; then
36470 COND_DEBUG_FLAG_1
=""
36473 COND_DEBUG_INFO_0
="#"
36474 if test "x$DEBUG_INFO" = "x0" ; then
36475 COND_DEBUG_INFO_0
=""
36478 COND_DEBUG_INFO_1
="#"
36479 if test "x$DEBUG_INFO" = "x1" ; then
36480 COND_DEBUG_INFO_1
=""
36483 COND_DEPS_TRACKING_0
="#"
36484 if test "x$DEPS_TRACKING" = "x0" ; then
36485 COND_DEPS_TRACKING_0
=""
36488 COND_DEPS_TRACKING_1
="#"
36489 if test "x$DEPS_TRACKING" = "x1" ; then
36490 COND_DEPS_TRACKING_1
=""
36494 if test "x$GCC_PCH" = "x1" ; then
36498 COND_MONOLITHIC_0
="#"
36499 if test "x$MONOLITHIC" = "x0" ; then
36500 COND_MONOLITHIC_0
=""
36503 COND_MONOLITHIC_0_SHARED_0
="#"
36504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
36505 COND_MONOLITHIC_0_SHARED_0
=""
36508 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
36509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
36510 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
36513 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
36514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36515 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
36518 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
36519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
36520 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
36523 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
36524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
36525 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
36528 COND_MONOLITHIC_0_SHARED_1
="#"
36529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
36530 COND_MONOLITHIC_0_SHARED_1
=""
36533 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
36534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
36535 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
36538 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
36539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
36543 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
36544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
36545 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
36548 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
36549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
36550 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
36553 COND_MONOLITHIC_0_USE_ODBC_1
="#"
36554 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
36555 COND_MONOLITHIC_0_USE_ODBC_1
=""
36558 COND_MONOLITHIC_1
="#"
36559 if test "x$MONOLITHIC" = "x1" ; then
36560 COND_MONOLITHIC_1
=""
36563 COND_MONOLITHIC_1_SHARED_0
="#"
36564 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
36565 COND_MONOLITHIC_1_SHARED_0
=""
36568 COND_MONOLITHIC_1_SHARED_1
="#"
36569 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
36570 COND_MONOLITHIC_1_SHARED_1
=""
36573 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
36574 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
36575 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
36578 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
36579 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
36580 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
36583 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
36584 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
36585 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
36588 COND_PLATFORM_MACOSX_1
="#"
36589 if test "x$PLATFORM_MACOSX" = "x1" ; then
36590 COND_PLATFORM_MACOSX_1
=""
36593 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
36594 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
36595 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
36598 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
36599 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
36600 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
36603 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
36604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
36605 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
36608 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
36609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
36610 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
36613 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
36614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
36615 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
36618 COND_PLATFORM_MAC_1
="#"
36619 if test "x$PLATFORM_MAC" = "x1" ; then
36620 COND_PLATFORM_MAC_1
=""
36623 COND_PLATFORM_OS2_1
="#"
36624 if test "x$PLATFORM_OS2" = "x1" ; then
36625 COND_PLATFORM_OS2_1
=""
36628 COND_PLATFORM_UNIX_0
="#"
36629 if test "x$PLATFORM_UNIX" = "x0" ; then
36630 COND_PLATFORM_UNIX_0
=""
36633 COND_PLATFORM_UNIX_1
="#"
36634 if test "x$PLATFORM_UNIX" = "x1" ; then
36635 COND_PLATFORM_UNIX_1
=""
36638 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
36639 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
36640 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
36643 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
36644 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
36645 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
36648 COND_PLATFORM_WIN32_0
="#"
36649 if test "x$PLATFORM_WIN32" = "x0" ; then
36650 COND_PLATFORM_WIN32_0
=""
36653 COND_PLATFORM_WIN32_1
="#"
36654 if test "x$PLATFORM_WIN32" = "x1" ; then
36655 COND_PLATFORM_WIN32_1
=""
36659 if test "x$SHARED" = "x0" ; then
36663 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
36664 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36665 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
36668 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
36669 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36670 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
36673 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
36674 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36675 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
36678 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
36679 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36680 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
36683 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
36684 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
36685 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
36688 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
36689 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
36690 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
36693 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
36694 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
36695 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
36698 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
36699 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
36700 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
36704 if test "x$SHARED" = "x1" ; then
36708 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
36709 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36710 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
36713 COND_TOOLKIT_COCOA
="#"
36714 if test "x$TOOLKIT" = "xCOCOA" ; then
36715 COND_TOOLKIT_COCOA
=""
36718 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
36719 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36720 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
36723 COND_TOOLKIT_GTK
="#"
36724 if test "x$TOOLKIT" = "xGTK" ; then
36725 COND_TOOLKIT_GTK
=""
36728 COND_TOOLKIT_GTK_USE_GUI_1
="#"
36729 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
36730 COND_TOOLKIT_GTK_USE_GUI_1
=""
36733 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
36734 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36735 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
36738 COND_TOOLKIT_MAC
="#"
36739 if test "x$TOOLKIT" = "xMAC" ; then
36740 COND_TOOLKIT_MAC
=""
36743 COND_TOOLKIT_MAC_USE_GUI_1
="#"
36744 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
36745 COND_TOOLKIT_MAC_USE_GUI_1
=""
36748 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
36749 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36750 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
36753 COND_TOOLKIT_MGL
="#"
36754 if test "x$TOOLKIT" = "xMGL" ; then
36755 COND_TOOLKIT_MGL
=""
36758 COND_TOOLKIT_MGL_USE_GUI_1
="#"
36759 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
36760 COND_TOOLKIT_MGL_USE_GUI_1
=""
36763 COND_TOOLKIT_MOTIF
="#"
36764 if test "x$TOOLKIT" = "xMOTIF" ; then
36765 COND_TOOLKIT_MOTIF
=""
36768 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
36769 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
36770 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
36773 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
36774 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36775 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
36778 COND_TOOLKIT_MSW
="#"
36779 if test "x$TOOLKIT" = "xMSW" ; then
36780 COND_TOOLKIT_MSW
=""
36783 COND_TOOLKIT_MSW_USE_GUI_1
="#"
36784 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
36785 COND_TOOLKIT_MSW_USE_GUI_1
=""
36788 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
36789 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36790 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
36793 COND_TOOLKIT_PM
="#"
36794 if test "x$TOOLKIT" = "xPM" ; then
36798 COND_TOOLKIT_PM_USE_GUI_1
="#"
36799 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
36800 COND_TOOLKIT_PM_USE_GUI_1
=""
36803 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
36804 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36805 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
36808 COND_TOOLKIT_X11
="#"
36809 if test "x$TOOLKIT" = "xX11" ; then
36810 COND_TOOLKIT_X11
=""
36813 COND_TOOLKIT_X11_USE_GUI_1
="#"
36814 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
36815 COND_TOOLKIT_X11_USE_GUI_1
=""
36819 if test "x$UNICODE" = "x1" ; then
36823 COND_USE_EXCEPTIONS_0
="#"
36824 if test "x$USE_EXCEPTIONS" = "x0" ; then
36825 COND_USE_EXCEPTIONS_0
=""
36828 COND_USE_EXCEPTIONS_1
="#"
36829 if test "x$USE_EXCEPTIONS" = "x1" ; then
36830 COND_USE_EXCEPTIONS_1
=""
36834 if test "x$USE_GUI" = "x0" ; then
36839 if test "x$USE_GUI" = "x1" ; then
36843 COND_USE_GUI_1_WXUNIV_0
="#"
36844 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36845 COND_USE_GUI_1_WXUNIV_0
=""
36848 COND_USE_GUI_1_WXUNIV_1
="#"
36849 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
36850 COND_USE_GUI_1_WXUNIV_1
=""
36853 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
36854 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36855 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
36858 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
36859 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36860 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
36863 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
36864 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36865 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
36868 COND_USE_ODBC_1
="#"
36869 if test "x$USE_ODBC" = "x1" ; then
36873 COND_USE_PLUGINS_0
="#"
36874 if test "x$USE_PLUGINS" = "x0" ; then
36875 COND_USE_PLUGINS_0
=""
36878 COND_USE_SOSYMLINKS_1
="#"
36879 if test "x$USE_SOSYMLINKS" = "x1" ; then
36880 COND_USE_SOSYMLINKS_1
=""
36883 COND_USE_SOVERLINUX_1
="#"
36884 if test "x$USE_SOVERLINUX" = "x1" ; then
36885 COND_USE_SOVERLINUX_1
=""
36888 COND_USE_SOVERSION_0
="#"
36889 if test "x$USE_SOVERSION" = "x0" ; then
36890 COND_USE_SOVERSION_0
=""
36893 COND_USE_SOVERSOLARIS_1
="#"
36894 if test "x$USE_SOVERSOLARIS" = "x1" ; then
36895 COND_USE_SOVERSOLARIS_1
=""
36898 COND_WITH_PLUGIN_SDL_1
="#"
36899 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
36900 COND_WITH_PLUGIN_SDL_1
=""
36903 COND_WITH_SDL_1
="#"
36904 if test "x$WITH_SDL" = "x1" ; then
36909 if test "x$WXUNIV" = "x1" ; then
36913 COND_WXUSE_EXPAT_BUILTIN
="#"
36914 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
36915 COND_WXUSE_EXPAT_BUILTIN
=""
36918 COND_WXUSE_LIBJPEG_BUILTIN
="#"
36919 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36920 COND_WXUSE_LIBJPEG_BUILTIN
=""
36923 COND_WXUSE_LIBPNG_BUILTIN
="#"
36924 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36925 COND_WXUSE_LIBPNG_BUILTIN
=""
36928 COND_WXUSE_LIBTIFF_BUILTIN
="#"
36929 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36930 COND_WXUSE_LIBTIFF_BUILTIN
=""
36933 COND_WXUSE_ODBC_BUILTIN
="#"
36934 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
36935 COND_WXUSE_ODBC_BUILTIN
=""
36938 COND_WXUSE_REGEX_BUILTIN
="#"
36939 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
36940 COND_WXUSE_REGEX_BUILTIN
=""
36943 COND_WXUSE_ZLIB_BUILTIN
="#"
36944 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
36945 COND_WXUSE_ZLIB_BUILTIN
=""
36952 if test $GCC_PCH = 1 ; then
36953 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36954 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
36957 powerpc
-*-darwin* )
36958 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36959 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
36965 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
37065 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37066 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37067 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
37068 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37071 cat >conftest.
make <<\_ACEOF
37073 @
echo 'ac_maketemp="$(MAKE)"'
37075 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37076 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37077 if test -n "$ac_maketemp"; then
37078 eval ac_cv_prog_make_
${ac_make}_set
=yes
37080 eval ac_cv_prog_make_
${ac_make}_set
=no
37082 rm -f conftest.
make
37084 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37085 echo "$as_me:$LINENO: result: yes" >&5
37086 echo "${ECHO_T}yes" >&6
37089 echo "$as_me:$LINENO: result: no" >&5
37090 echo "${ECHO_T}no" >&6
37091 SET_MAKE
="MAKE=${MAKE-make}"
37095 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
37096 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
37099 ac_config_headers
="$ac_config_headers setup.h"
37102 ac_config_files
="$ac_config_files wx-config version-script Makefile"
37105 ac_config_commands
="$ac_config_commands default"
37109 if test "$wxUSE_GUI" = "yes"; then
37110 SUBDIRS
="samples demos utils contrib"
37111 else SUBDIRS
="samples utils"
37114 for subdir
in `echo $SUBDIRS`; do
37115 if test -d ${srcdir}/${subdir} ; then
37116 if test "$wxUSE_GUI" = "yes"; then
37117 if test ${subdir} = "samples"; then
37118 makefiles
="samples/Makefile.in $makefiles"
37119 for sample
in `echo $SAMPLES_SUBDIRS`; do
37120 if test -d $srcdir/samples
/$sample; then
37121 makefiles
="samples/$sample/Makefile.in $makefiles"
37124 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
37126 else if test ${subdir} = "samples"; then
37127 makefiles
="samples/Makefile.in samples/console/Makefile.in"
37128 else makefiles
="utils/HelpGen/Makefile.in \
37129 utils/HelpGen/src/Makefile.in \
37130 utils/tex2rtf/Makefile.in \
37131 utils/tex2rtf/src/Makefile.in"
37135 for mkin
in $makefiles ; do
37136 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
37137 ac_config_files
="$ac_config_files $mk"
37144 cat >confcache
<<\_ACEOF
37145 # This file is a shell script that caches the results of configure
37146 # tests run on this system so they can be shared between configure
37147 # scripts and configure runs, see configure's option --config-cache.
37148 # It is not useful on other systems. If it contains results you don't
37149 # want to keep, you may remove or edit it.
37151 # config.status only pays attention to the cache file if you give it
37152 # the --recheck option to rerun configure.
37154 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37155 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37156 # following values.
37160 # The following way of writing the cache mishandles newlines in values,
37161 # but we know of no workaround that is simple, portable, and efficient.
37162 # So, don't put newlines in cache variables' values.
37163 # Ultrix sh set writes to stderr and can't be redirected directly,
37164 # and sets the high bit in the cache file unless we assign to the vars.
37167 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37169 # `set' does not quote correctly, so add quotes (double-quote
37170 # substitution turns \\\\ into \\, and sed turns \\ into \).
37173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37176 # `set' quotes correctly as required by POSIX, so do not add quotes.
37178 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37187 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37189 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37190 if test -w $cache_file; then
37191 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37192 cat confcache
>$cache_file
37194 echo "not updating unwritable cache $cache_file"
37199 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
37200 # Let make expand exec_prefix.
37201 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
37203 # VPATH may cause trouble with some makes, so we remove $(srcdir),
37204 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
37205 # trailing colons and then remove the whole line if VPATH becomes empty
37206 # (actually we leave an empty line to preserve line numbers).
37207 if test "x$srcdir" = x.
; then
37208 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
37209 s/:*\$(srcdir):*/:/;
37210 s/:*\${srcdir}:*/:/;
37212 s/^\([^=]*=[ ]*\):*/\1/;
37218 DEFS
=-DHAVE_CONFIG_H
37222 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
37223 # 1. Remove the extension, and $U if already installed.
37224 ac_i
=`echo "$ac_i" |
37225 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
37227 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
37228 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
37230 LIBOBJS
=$ac_libobjs
37232 LTLIBOBJS
=$ac_ltlibobjs
37236 : ${CONFIG_STATUS=./config.status}
37237 ac_clean_files_save
=$ac_clean_files
37238 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
37239 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
37240 echo "$as_me: creating $CONFIG_STATUS" >&6;}
37241 cat >$CONFIG_STATUS <<_ACEOF
37243 # Generated by $as_me.
37244 # Run this file to recreate the current configuration.
37245 # Compiler output produced by configure, useful for debugging
37246 # configure, is in config.log if it exists.
37249 ac_cs_recheck=false
37251 SHELL=\${CONFIG_SHELL-$SHELL}
37254 cat >>$CONFIG_STATUS <<\_ACEOF
37255 ## --------------------- ##
37256 ## M4sh Initialization. ##
37257 ## --------------------- ##
37259 # Be Bourne compatible
37260 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
37263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37264 # is contrary to our usage. Disable this feature.
37265 alias -g '${1+"$@"}'='"$@"'
37266 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
37270 # Support unset when possible.
37271 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37278 # Work around bugs in pre-3.0 UWIN ksh.
37279 $as_unset ENV MAIL MAILPATH
37286 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
37287 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
37288 LC_TELEPHONE LC_TIME
37290 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
37291 eval $as_var=C
; export $as_var
37297 # Required to use basename.
37298 if expr a
: '\(a\)' >/dev
/null
2>&1; then
37304 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
37305 as_basename
=basename
37311 # Name of the executable.
37312 as_me
=`$as_basename "$0" ||
37313 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37314 X"$0" : 'X\(//\)$' \| \
37315 X"$0" : 'X\(/\)$' \| \
37316 . : '\(.\)' 2>/dev/null ||
37318 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
37319 /^X\/\(\/\/\)$/{ s//\1/; q; }
37320 /^X\/\(\/\).*/{ s//\1/; q; }
37324 # PATH needs CR, and LINENO needs CR and PATH.
37325 # Avoid depending upon Character Ranges.
37326 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37327 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37328 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37329 as_cr_digits
='0123456789'
37330 as_cr_alnum
=$as_cr_Letters$as_cr_digits
37332 # The user is always right.
37333 if test "${PATH_SEPARATOR+set}" != set; then
37334 echo "#! /bin/sh" >conf$$.sh
37335 echo "exit 0" >>conf$$.sh
37337 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
37346 as_lineno_1
=$LINENO
37347 as_lineno_2
=$LINENO
37348 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
37349 test "x$as_lineno_1" != "x$as_lineno_2" &&
37350 test "x$as_lineno_3" = "x$as_lineno_2" || {
37351 # Find who we are. Look in the path if we contain no path at all
37354 *[\\/]* ) as_myself
=$0 ;;
37355 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37356 for as_dir
in $PATH
37359 test -z "$as_dir" && as_dir
=.
37360 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
37365 # We did not find ourselves, most probably we were run as `sh COMMAND'
37366 # in which case we are not to be found in the path.
37367 if test "x$as_myself" = x
; then
37370 if test ! -f "$as_myself"; then
37371 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
37372 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
37373 { (exit 1); exit 1; }; }
37375 case $CONFIG_SHELL in
37377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37378 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
37381 test -z "$as_dir" && as_dir
=.
37382 for as_base
in sh bash ksh sh5
; do
37385 if ("$as_dir/$as_base" -c '
37386 as_lineno_1=$LINENO
37387 as_lineno_2=$LINENO
37388 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37389 test "x$as_lineno_1" != "x$as_lineno_2" &&
37390 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
37391 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
37392 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
37393 CONFIG_SHELL
=$as_dir/$as_base
37394 export CONFIG_SHELL
37395 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
37403 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37404 # uniformly replaced by the line number. The first 'sed' inserts a
37405 # line-number line before each line; the second 'sed' does the real
37406 # work. The second script uses 'N' to pair each line-number line
37407 # with the numbered line, and appends trailing '-' during
37408 # substitution so that $LINENO is not a special case at line end.
37409 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37410 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37411 sed '=' <$as_myself |
37416 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37419 s,^['$as_cr_digits']*\n,,
37420 ' >$as_me.lineno
&&
37421 chmod +x
$as_me.lineno
||
37422 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37423 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37424 { (exit 1); exit 1; }; }
37426 # Don't try to exec as it changes $[0], causing all sort of problems
37427 # (the dirname of $[0] is not the place where we might find the
37428 # original and so on. Autoconf is especially sensible to this).
37430 # Exit status is that of the last command.
37435 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37436 *c
*,-n*) ECHO_N
= ECHO_C
='
37438 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
37439 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
37442 if expr a
: '\(a\)' >/dev
/null
2>&1; then
37448 rm -f conf$$ conf$$.exe conf$$.
file
37450 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
37451 # We could just check for DJGPP; but this test a) works b) is more generic
37452 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37453 if test -f conf$$.exe
; then
37454 # Don't use ln at all; we don't have any links
37459 elif ln conf$$.
file conf$$
2>/dev
/null
; then
37464 rm -f conf$$ conf$$.exe conf$$.
file
37466 if mkdir -p .
2>/dev
/null
; then
37472 as_executable_p
="test -f"
37474 # Sed expression to map a string onto a valid CPP name.
37475 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
37477 # Sed expression to map a string onto a valid variable name.
37478 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
37482 # We need space, tab and new line, in precisely that order.
37492 # Open the log real soon, to keep \$[0] and so on meaningful, and to
37493 # report actual input values of CONFIG_FILES etc. instead of their
37494 # values after options handling. Logging --version etc. is OK.
37498 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37499 ## Running $as_me. ##
37504 This file was extended by wxWindows $as_me 2.5.1, which was
37505 generated by GNU Autoconf 2.57. Invocation command line was
37507 CONFIG_FILES = $CONFIG_FILES
37508 CONFIG_HEADERS = $CONFIG_HEADERS
37509 CONFIG_LINKS = $CONFIG_LINKS
37510 CONFIG_COMMANDS = $CONFIG_COMMANDS
37514 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37518 # Files that config.status was made for.
37519 if test -n "$ac_config_files"; then
37520 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37523 if test -n "$ac_config_headers"; then
37524 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37527 if test -n "$ac_config_links"; then
37528 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37531 if test -n "$ac_config_commands"; then
37532 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37535 cat >>$CONFIG_STATUS <<\_ACEOF
37538 \`$as_me' instantiates files from templates according to the
37539 current configuration.
37541 Usage: $0 [OPTIONS] [FILE]...
37543 -h, --help print this help, then exit
37544 -V, --version print version number, then exit
37545 -q, --quiet do not print progress messages
37546 -d, --debug don't remove temporary files
37547 --recheck update $as_me by reconfiguring in the same conditions
37548 --file=FILE[:TEMPLATE]
37549 instantiate the configuration file FILE
37550 --header=FILE[:TEMPLATE]
37551 instantiate the configuration header FILE
37553 Configuration files:
37556 Configuration headers:
37559 Configuration commands:
37562 Report bugs to <bug-autoconf@gnu.org>."
37565 cat >>$CONFIG_STATUS <<_ACEOF
37567 wxWindows config.status 2.5.1
37568 configured by $0, generated by GNU Autoconf 2.57,
37569 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37571 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
37572 Free Software Foundation, Inc.
37573 This config.status script is free software; the Free Software Foundation
37574 gives unlimited permission to copy, distribute and modify it."
37579 cat >>$CONFIG_STATUS <<\_ACEOF
37580 # If no file are specified by the user, then we need to provide default
37581 # value. By we need to know if files were specified by the user.
37587 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
37588 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
37596 *) # This is not an option, so the user has probably given explicit
37599 ac_need_defaults
=false
;;
37603 # Handling of the options.
37605 cat >>$CONFIG_STATUS <<\_ACEOF
37606 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37608 --version | --vers* | -V )
37609 echo "$ac_cs_version"; exit 0 ;;
37611 # Conflict between --help and --header
37612 { { echo "$as_me:$LINENO: error: ambiguous option: $1
37613 Try \`$0 --help' for more information." >&5
37614 echo "$as_me: error: ambiguous option: $1
37615 Try \`$0 --help' for more information." >&2;}
37616 { (exit 1); exit 1; }; };;
37617 --help | --hel | -h )
37618 echo "$ac_cs_usage"; exit 0 ;;
37619 --debug | --d* | -d )
37621 --file | --fil | --fi | --f )
37623 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
37624 ac_need_defaults
=false
;;
37625 --header | --heade | --head | --hea )
37627 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
37628 ac_need_defaults
=false
;;
37629 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37630 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37633 # This is an error.
37634 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37635 Try \`$0 --help' for more information." >&5
37636 echo "$as_me: error: unrecognized option: $1
37637 Try \`$0 --help' for more information." >&2;}
37638 { (exit 1); exit 1; }; } ;;
37640 *) ac_config_targets
="$ac_config_targets $1" ;;
37646 ac_configure_extra_args
=
37648 if $ac_cs_silent; then
37650 ac_configure_extra_args
="$ac_configure_extra_args --silent"
37654 cat >>$CONFIG_STATUS <<_ACEOF
37655 if \$ac_cs_recheck; then
37656 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37657 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37662 cat >>$CONFIG_STATUS <<_ACEOF
37664 # INIT-COMMANDS section.
37668 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
37677 cat >>$CONFIG_STATUS <<\_ACEOF
37678 for ac_config_target
in $ac_config_targets
37680 case "$ac_config_target" in
37681 # Handling of arguments.
37682 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
37683 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
37684 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
37685 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
37686 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
37687 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
37688 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37689 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37690 { (exit 1); exit 1; }; };;
37694 # If the user did not use the arguments to specify the items to instantiate,
37695 # then the envvar interface is used. Set only those that are not.
37696 # We use the long form for the default assignment because of an extremely
37697 # bizarre bug on SunOS 4.1.3.
37698 if $ac_need_defaults; then
37699 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
37700 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
37701 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
37704 # Have a temporary directory for convenience. Make it in the build tree
37705 # simply because there is no reason to put it here, and in addition,
37706 # creating and moving files from /tmp can sometimes cause problems.
37707 # Create a temporary directory, and hook for its removal unless debugging.
37710 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37711 trap '{ (exit 1); exit 1; }' 1 2 13 15
37714 # Create a (secure) tmp directory for tmp files.
37717 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37718 test -n "$tmp" && test -d "$tmp"
37721 tmp
=.
/confstat$$
-$RANDOM
37722 (umask 077 && mkdir $tmp)
37725 echo "$me: cannot create a temporary directory in ." >&2
37726 { (exit 1); exit 1; }
37731 cat >>$CONFIG_STATUS <<_ACEOF
37734 # CONFIG_FILES section.
37737 # No need to generate the scripts if there are no CONFIG_FILES.
37738 # This happens for instance when ./config.status config.h
37739 if test -n "\$CONFIG_FILES"; then
37740 # Protect against being on the right side of a sed subst in config.status.
37741 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37742 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37743 s,@SHELL@,$SHELL,;t t
37744 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37745 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37746 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37747 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37748 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37749 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37750 s,@exec_prefix@,$exec_prefix,;t t
37751 s,@prefix@,$prefix,;t t
37752 s,@program_transform_name@,$program_transform_name,;t t
37753 s,@bindir@,$bindir,;t t
37754 s,@sbindir@,$sbindir,;t t
37755 s,@libexecdir@,$libexecdir,;t t
37756 s,@datadir@,$datadir,;t t
37757 s,@sysconfdir@,$sysconfdir,;t t
37758 s,@sharedstatedir@,$sharedstatedir,;t t
37759 s,@localstatedir@,$localstatedir,;t t
37760 s,@libdir@,$libdir,;t t
37761 s,@includedir@,$includedir,;t t
37762 s,@oldincludedir@,$oldincludedir,;t t
37763 s,@infodir@,$infodir,;t t
37764 s,@mandir@,$mandir,;t t
37765 s,@build_alias@,$build_alias,;t t
37766 s,@host_alias@,$host_alias,;t t
37767 s,@target_alias@,$target_alias,;t t
37768 s,@DEFS@,$DEFS,;t t
37769 s,@ECHO_C@,$ECHO_C,;t t
37770 s,@ECHO_N@,$ECHO_N,;t t
37771 s,@ECHO_T@,$ECHO_T,;t t
37772 s,@LIBS@,$LIBS,;t t
37773 s,@build@,$build,;t t
37774 s,@build_cpu@,$build_cpu,;t t
37775 s,@build_vendor@,$build_vendor,;t t
37776 s,@build_os@,$build_os,;t t
37777 s,@host@,$host,;t t
37778 s,@host_cpu@,$host_cpu,;t t
37779 s,@host_vendor@,$host_vendor,;t t
37780 s,@host_os@,$host_os,;t t
37781 s,@target@,$target,;t t
37782 s,@target_cpu@,$target_cpu,;t t
37783 s,@target_vendor@,$target_vendor,;t t
37784 s,@target_os@,$target_os,;t t
37786 s,@CFLAGS@,$CFLAGS,;t t
37787 s,@LDFLAGS@,$LDFLAGS,;t t
37788 s,@CPPFLAGS@,$CPPFLAGS,;t t
37789 s,@ac_ct_CC@,$ac_ct_CC,;t t
37790 s,@EXEEXT@,$EXEEXT,;t t
37791 s,@OBJEXT@,$OBJEXT,;t t
37793 s,@EGREP@,$EGREP,;t t
37795 s,@CXXFLAGS@,$CXXFLAGS,;t t
37796 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
37797 s,@RANLIB@,$RANLIB,;t t
37798 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37800 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37801 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37802 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37803 s,@STRIP@,$STRIP,;t t
37804 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
37805 s,@LN_S@,$LN_S,;t t
37806 s,@CXXCPP@,$CXXCPP,;t t
37807 s,@subdirs@,$subdirs,;t t
37808 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
37809 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
37810 s,@GTK_LIBS@,$GTK_LIBS,;t t
37811 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
37812 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
37813 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
37814 s,@X_CFLAGS@,$X_CFLAGS,;t t
37815 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
37816 s,@X_LIBS@,$X_LIBS,;t t
37817 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
37818 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
37819 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
37820 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
37821 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
37822 s,@RESCOMP@,$RESCOMP,;t t
37823 s,@DEREZ@,$DEREZ,;t t
37824 s,@SETFILE@,$SETFILE,;t t
37825 s,@LIBICONV@,$LIBICONV,;t t
37826 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
37827 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
37828 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
37829 s,@SDL_LIBS@,$SDL_LIBS,;t t
37830 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
37831 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
37832 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
37833 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
37834 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
37835 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
37836 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
37837 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
37838 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
37839 s,@VENDOR@,$VENDOR,;t t
37840 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
37841 s,@WXUNIV@,$WXUNIV,;t t
37842 s,@MONOLITHIC@,$MONOLITHIC,;t t
37843 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
37844 s,@EXTRALIBS@,$EXTRALIBS,;t t
37845 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
37846 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
37847 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
37848 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
37849 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
37850 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
37851 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
37852 s,@UNICODE@,$UNICODE,;t t
37853 s,@BUILD@,$BUILD,;t t
37854 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
37855 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
37856 s,@SHARED@,$SHARED,;t t
37857 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
37858 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
37859 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
37860 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
37861 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
37862 s,@SET_MAKE@,$SET_MAKE,;t t
37863 s,@MAKE_SET@,$MAKE_SET,;t t
37864 s,@ac_ct_AR@,$ac_ct_AR,;t t
37865 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37867 s,@ac_ct_NM@,$ac_ct_NM,;t t
37868 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
37869 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
37870 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
37871 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
37872 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
37873 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
37874 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
37875 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
37876 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
37877 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
37878 s,@LIBPREFIX@,$LIBPREFIX,;t t
37879 s,@DLLPREFIX@,$DLLPREFIX,;t t
37880 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
37881 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
37882 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
37883 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
37884 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
37885 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
37886 s,@PIC_FLAG@,$PIC_FLAG,;t t
37887 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
37888 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
37889 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
37890 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
37891 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
37892 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
37893 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
37894 s,@GCC_PCH@,$GCC_PCH,;t t
37895 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
37896 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
37897 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
37898 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
37899 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
37900 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
37901 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
37902 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
37903 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
37904 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
37905 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
37906 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
37907 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
37908 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
37909 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
37910 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
37911 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
37912 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
37913 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
37914 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
37915 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
37916 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
37917 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
37918 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
37919 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
37920 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
37921 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
37922 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
37923 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
37924 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
37925 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
37926 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
37927 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
37928 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
37929 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
37930 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
37931 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
37932 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
37933 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
37934 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
37935 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
37936 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
37937 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
37938 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
37939 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
37940 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
37941 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
37942 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
37943 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
37944 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37945 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37946 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37947 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
37948 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
37949 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
37950 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
37951 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
37952 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
37953 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
37954 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
37955 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
37956 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
37957 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
37958 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
37959 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
37960 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
37961 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
37962 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
37963 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
37964 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
37965 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
37966 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
37967 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
37968 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
37969 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
37970 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
37971 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
37972 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
37973 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
37974 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
37975 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
37976 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
37977 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
37978 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
37979 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
37980 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
37981 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37982 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37983 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37984 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
37985 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
37986 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
37987 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
37988 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
37989 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
37990 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
37991 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
37992 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
37993 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
37994 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
37995 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
37996 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
37997 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
37998 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
37999 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
38000 s,@PATH_IFS@,$PATH_IFS,;t t
38001 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
38002 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
38003 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
38004 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
38005 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
38006 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
38007 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
38008 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
38009 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
38010 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
38011 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
38012 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
38013 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
38014 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
38015 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
38016 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
38017 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
38018 s,@WX_ALL@,$WX_ALL,;t t
38019 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
38020 s,@SHARED_LD@,$SHARED_LD,;t t
38021 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
38022 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
38023 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
38024 s,@USE_GUI@,$USE_GUI,;t t
38025 s,@AFMINSTALL@,$AFMINSTALL,;t t
38026 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
38027 s,@TOOLKIT@,$TOOLKIT,;t t
38028 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
38029 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
38030 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
38031 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
38032 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
38033 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
38034 s,@cross_compiling@,$cross_compiling,;t t
38035 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
38036 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
38037 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
38038 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
38039 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
38040 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
38041 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
38042 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
38043 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
38044 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
38045 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
38046 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
38047 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
38048 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
38049 s,@GUIDIST@,$GUIDIST,;t t
38050 s,@PORT_FILES@,$PORT_FILES,;t t
38051 s,@DISTDIR@,$DISTDIR,;t t
38052 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
38053 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
38054 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
38055 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
38056 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
38057 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
38058 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
38059 s,@RESFLAGS@,$RESFLAGS,;t t
38060 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
38061 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
38062 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
38063 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
38064 s,@MACRESCOMP@,$MACRESCOMP,;t t
38065 s,@MACSETFILE@,$MACSETFILE,;t t
38066 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
38068 s,@DLLTOOL@,$DLLTOOL,;t t
38071 s,@MAKEINFO@,$MAKEINFO,;t t
38072 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
38073 s,@LIBOBJS@,$LIBOBJS,;t t
38074 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
38079 cat >>$CONFIG_STATUS <<\_ACEOF
38080 # Split the substitutions into bite-sized pieces for seds with
38081 # small command number limits, like on Digital OSF/1 and HP-UX.
38082 ac_max_sed_lines
=48
38083 ac_sed_frag
=1 # Number of current file.
38084 ac_beg
=1 # First line for current file.
38085 ac_end
=$ac_max_sed_lines # Line after last line for current file.
38088 while $ac_more_lines; do
38089 if test $ac_beg -gt 1; then
38090 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
38092 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
38094 if test ! -s $tmp/subs.frag
; then
38095 ac_more_lines
=false
38097 # The purpose of the label and of the branching condition is to
38098 # speed up the sed processing (if there are no `@' at all, there
38099 # is no need to browse any of the substitutions).
38100 # These are the two extra sed commands mentioned above.
38102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
38103 if test -z "$ac_sed_cmds"; then
38104 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
38106 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
38108 ac_sed_frag
=`expr $ac_sed_frag + 1`
38110 ac_end
=`expr $ac_end + $ac_max_sed_lines`
38113 if test -z "$ac_sed_cmds"; then
38116 fi # test -n "$CONFIG_FILES"
38119 cat >>$CONFIG_STATUS <<\_ACEOF
38120 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
38121 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38123 - | *:- | *:-:* ) # input from stdin
38125 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38126 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38127 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38128 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38129 * ) ac_file_in
=$ac_file.
in ;;
38132 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
38133 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
38134 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38135 X"$ac_file" : 'X\(//\)[^/]' \| \
38136 X"$ac_file" : 'X\(//\)$' \| \
38137 X"$ac_file" : 'X\(/\)' \| \
38138 . : '\(.\)' 2>/dev/null ||
38140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38142 /^X\(\/\/\)$/{ s//\1/; q; }
38143 /^X\(\/\).*/{ s//\1/; q; }
38145 { if $as_mkdir_p; then
38150 while test ! -d "$as_dir"; do
38151 as_dirs
="$as_dir $as_dirs"
38152 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38154 X"$as_dir" : 'X\(//\)[^/]' \| \
38155 X"$as_dir" : 'X\(//\)$' \| \
38156 X"$as_dir" : 'X\(/\)' \| \
38157 . : '\(.\)' 2>/dev/null ||
38159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38161 /^X\(\/\/\)$/{ s//\1/; q; }
38162 /^X\(\/\).*/{ s//\1/; q; }
38165 test ! -n "$as_dirs" || mkdir $as_dirs
38166 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38167 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38168 { (exit 1); exit 1; }; }; }
38172 if test "$ac_dir" != .
; then
38173 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38174 # A "../" for each directory in $ac_dir_suffix.
38175 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38177 ac_dir_suffix
= ac_top_builddir
=
38181 .
) # No --srcdir option. We are building in place.
38183 if test -z "$ac_top_builddir"; then
38186 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38188 [\\/]* | ?
:[\\/]* ) # Absolute path.
38189 ac_srcdir
=$srcdir$ac_dir_suffix;
38190 ac_top_srcdir
=$srcdir ;;
38191 *) # Relative path.
38192 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38193 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38195 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38197 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38198 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38199 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38200 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38204 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
38205 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
38208 if test x
"$ac_file" != x
-; then
38209 { echo "$as_me:$LINENO: creating $ac_file" >&5
38210 echo "$as_me: creating $ac_file" >&6;}
38213 # Let's still pretend it is `configure' which instantiates (i.e., don't
38214 # use $as_me), people would be surprised to read:
38215 # /* config.h. Generated by config.status. */
38216 if test x
"$ac_file" = x
-; then
38219 configure_input
="$ac_file. "
38221 configure_input
=$configure_input"Generated from `echo $ac_file_in |
38222 sed 's,.*/,,'` by configure."
38224 # First look for the input files in the build tree, otherwise in the
38226 ac_file_inputs
=`IFS=:
38227 for f in $ac_file_in; do
38229 -) echo $tmp/stdin ;;
38231 # Absolute (can't be DOS-style, as IFS=:)
38232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38233 echo "$as_me: error: cannot find input file: $f" >&2;}
38234 { (exit 1); exit 1; }; }
38237 if test -f "$f"; then
38240 elif test -f "$srcdir/$f"; then
38245 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38246 echo "$as_me: error: cannot find input file: $f" >&2;}
38247 { (exit 1); exit 1; }; }
38250 done` || { (exit 1); exit 1; }
38252 cat >>$CONFIG_STATUS <<_ACEOF
38256 cat >>$CONFIG_STATUS <<\_ACEOF
38258 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
38259 s
,@configure_input@
,$configure_input,;t t
38260 s
,@srcdir@
,$ac_srcdir,;t t
38261 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
38262 s
,@top_srcdir@
,$ac_top_srcdir,;t t
38263 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
38264 s
,@builddir@
,$ac_builddir,;t t
38265 s
,@abs_builddir@
,$ac_abs_builddir,;t t
38266 s
,@top_builddir@
,$ac_top_builddir,;t t
38267 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
38268 s
,@INSTALL@
,$ac_INSTALL,;t t
38269 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
38271 if test x"$ac_file" != x-; then
38272 mv $tmp/out $ac_file
38280 cat >>$CONFIG_STATUS <<\_ACEOF
38283 # CONFIG_HEADER section.
38286 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
38287 # NAME is the cpp macro being defined and VALUE is the value it is being given.
38289 # ac_d sets the value in "#define NAME VALUE" lines.
38290 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
38291 ac_dB
='[ ].*$,\1#\2'
38294 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
38295 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
38296 ac_uB
='$,\1#\2define\3'
38300 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
38301 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38303 - | *:- | *:-:* ) # input from stdin
38305 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38306 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38307 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38308 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38309 * ) ac_file_in
=$ac_file.
in ;;
38312 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
38313 echo "$as_me: creating $ac_file" >&6;}
38315 # First look for the input files in the build tree, otherwise in the
38317 ac_file_inputs
=`IFS=:
38318 for f in $ac_file_in; do
38320 -) echo $tmp/stdin ;;
38322 # Absolute (can't be DOS-style, as IFS=:)
38323 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38324 echo "$as_me: error: cannot find input file: $f" >&2;}
38325 { (exit 1); exit 1; }; }
38328 if test -f "$f"; then
38331 elif test -f "$srcdir/$f"; then
38336 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38337 echo "$as_me: error: cannot find input file: $f" >&2;}
38338 { (exit 1); exit 1; }; }
38341 done` || { (exit 1); exit 1; }
38342 # Remove the trailing spaces.
38343 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
38347 # Transform confdefs.h into two sed scripts, `conftest.defines' and
38348 # `conftest.undefs', that substitutes the proper values into
38349 # config.h.in to produce config.h. The first handles `#define'
38350 # templates, and the second `#undef' templates.
38351 # And first: Protect against being on the right side of a sed subst in
38352 # config.status. Protect against being in an unquoted here document
38353 # in config.status.
38354 rm -f conftest.defines conftest.undefs
38355 # Using a here document instead of a string reduces the quoting nightmare.
38356 # Putting comments in sed scripts is not portable.
38358 # `end' is used to avoid that the second main sed command (meant for
38359 # 0-ary CPP macros) applies to n-ary macro definitions.
38360 # See the Autoconf documentation for `clear'.
38361 cat >confdef2sed.
sed <<\_ACEOF
38366 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
38368 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
38371 # If some macros were called several times there might be several times
38372 # the same #defines, which is useless. Nevertheless, we may not want to
38373 # sort them, since we want the *last* AC-DEFINE to be honored.
38374 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
38375 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
38376 rm -f confdef2sed.sed
38378 # This sed command replaces #undef with comments. This is necessary, for
38379 # example, in the case of _POSIX_SOURCE, which is predefined and required
38380 # on some systems where configure will not decide to define it.
38381 cat >>conftest.undefs <<\_ACEOF
38382 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
38385 # Break up conftest.defines because some shells have a limit on the size
38386 # of here documents, and old seds have small limits too (100 cmds).
38387 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
38388 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
38389 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
38390 echo ' :' >>$CONFIG_STATUS
38391 rm -f conftest.tail
38392 while grep . conftest.defines >/dev/null
38394 # Write a limited-size here document to $tmp/defines.sed.
38395 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
38396 # Speed up: don't consider the non `#define' lines.
38397 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
38398 # Work around the forget-to-reset-the-flag bug.
38399 echo 't clr' >>$CONFIG_STATUS
38400 echo ': clr' >>$CONFIG_STATUS
38401 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
38403 sed -f $tmp/defines.sed $tmp/in >$tmp/out
38405 mv $tmp/out $tmp/in
38407 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
38408 rm -f conftest.defines
38409 mv conftest.
tail conftest.defines
38411 rm -f conftest.defines
38412 echo ' fi # grep' >>$CONFIG_STATUS
38413 echo >>$CONFIG_STATUS
38415 # Break up conftest.undefs because some shells have a limit on the size
38416 # of here documents, and old seds have small limits too (100 cmds).
38417 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38418 rm -f conftest.
tail
38419 while grep . conftest.undefs
>/dev
/null
38421 # Write a limited-size here document to $tmp/undefs.sed.
38422 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38423 # Speed up: don't consider the non
`#undef'
38424 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38425 # Work around the forget-to-reset-the-flag bug.
38426 echo 't clr' >>$CONFIG_STATUS
38427 echo ': clr' >>$CONFIG_STATUS
38428 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38430 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38432 mv $tmp/out $tmp/in
38434 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38435 rm -f conftest.undefs
38436 mv conftest.tail conftest.undefs
38438 rm -f conftest.undefs
38440 cat >>$CONFIG_STATUS <<\_ACEOF
38441 # Let's still pretend it is `configure
' which instantiates (i.e., don't
38442 # use $as_me), people would be surprised to read:
38443 # /* config.h. Generated by config.status. */
38444 if test x
"$ac_file" = x
-; then
38445 echo "/* Generated by configure. */" >$tmp/config.h
38447 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38449 cat $tmp/in >>$tmp/config.h
38451 if test x
"$ac_file" != x
-; then
38452 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
38453 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38454 echo "$as_me: $ac_file is unchanged" >&6;}
38456 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
38457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38458 X"$ac_file" : 'X\(//\)[^/]' \| \
38459 X"$ac_file" : 'X\(//\)$' \| \
38460 X"$ac_file" : 'X\(/\)' \| \
38461 . : '\(.\)' 2>/dev/null ||
38463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38465 /^X\(\/\/\)$/{ s//\1/; q; }
38466 /^X\(\/\).*/{ s//\1/; q; }
38468 { if $as_mkdir_p; then
38473 while test ! -d "$as_dir"; do
38474 as_dirs
="$as_dir $as_dirs"
38475 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38477 X"$as_dir" : 'X\(//\)[^/]' \| \
38478 X"$as_dir" : 'X\(//\)$' \| \
38479 X"$as_dir" : 'X\(/\)' \| \
38480 . : '\(.\)' 2>/dev/null ||
38482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38484 /^X\(\/\/\)$/{ s//\1/; q; }
38485 /^X\(\/\).*/{ s//\1/; q; }
38488 test ! -n "$as_dirs" || mkdir $as_dirs
38489 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38490 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38491 { (exit 1); exit 1; }; }; }
38494 mv $tmp/config.h
$ac_file
38498 rm -f $tmp/config.h
38502 cat >>$CONFIG_STATUS <<\_ACEOF
38505 # CONFIG_COMMANDS section.
38507 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
38508 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
38509 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38510 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
38511 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38512 X"$ac_dest" : 'X\(//\)[^/]' \| \
38513 X"$ac_dest" : 'X\(//\)$' \| \
38514 X"$ac_dest" : 'X\(/\)' \| \
38515 . : '\(.\)' 2>/dev/null ||
38517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38518 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38519 /^X\(\/\/\)$/{ s//\1/; q; }
38520 /^X\(\/\).*/{ s//\1/; q; }
38524 if test "$ac_dir" != .
; then
38525 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38526 # A "../" for each directory in $ac_dir_suffix.
38527 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38529 ac_dir_suffix
= ac_top_builddir
=
38533 .
) # No --srcdir option. We are building in place.
38535 if test -z "$ac_top_builddir"; then
38538 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38540 [\\/]* | ?
:[\\/]* ) # Absolute path.
38541 ac_srcdir
=$srcdir$ac_dir_suffix;
38542 ac_top_srcdir
=$srcdir ;;
38543 *) # Relative path.
38544 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38545 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38547 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38549 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38550 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38551 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38552 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38555 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
38556 echo "$as_me: executing $ac_dest commands" >&6;}
38559 if test ! -h wx
-config; then
38561 mv wx
-config wx
${TOOLCHAIN_NAME}-config
38562 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
38565 if test ! -d lib
; then
38568 if test ! -d lib
/wx
; then
38571 if test ! -d lib
/wx
/include
; then
38572 mkdir lib
/wx
/include
38574 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
38575 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
38577 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
38578 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
38580 if test -f setup.h
; then
38581 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
38588 cat >>$CONFIG_STATUS <<\_ACEOF
38590 { (exit 0); exit 0; }
38592 chmod +x
$CONFIG_STATUS
38593 ac_clean_files
=$ac_clean_files_save
38596 # configure is writing to config.log, and then calls config.status.
38597 # config.status does its own redirection, appending to config.log.
38598 # Unfortunately, on DOS this fails, as config.log is still kept open
38599 # by configure, so config.status won't be able to write to it; its
38600 # output is simply discarded. So we exec the FD to /dev/null,
38601 # effectively closing config.log, so it can be properly (re)opened and
38602 # appended to by config.status. When coming back to configure, we
38603 # need to make the FD available again.
38604 if test "$no_create" != yes; then
38606 ac_config_status_args
=
38607 test "$silent" = yes &&
38608 ac_config_status_args
="$ac_config_status_args --quiet"
38610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
38612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
38613 # would make configure fail if this is the last instruction.
38614 $ac_cs_success || { (exit 1); exit 1; }
38618 # CONFIG_SUBDIRS section.
38620 if test "$no_recursion" != yes; then
38622 # Remove --cache-file and --srcdir arguments so they do not pile up.
38623 ac_sub_configure_args
=
38625 for ac_arg
in $ac_configure_args; do
38626 if test -n "$ac_prev"; then
38631 -cache-file | --cache-file | --cache-fil | --cache-fi \
38632 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38633 ac_prev
=cache_file
;;
38634 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38635 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
38638 --config-cache | -C)
38640 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
38642 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
38644 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
38646 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
38648 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
38652 # Always prepend --prefix to ensure using the same prefix
38653 # in subdir configurations.
38654 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
38657 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
38659 # Do not complain, so a configure script can configure whichever
38660 # parts of a large source tree are present.
38661 test -d $srcdir/$ac_dir || continue
38663 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
38664 echo "$as_me: configuring in $ac_dir" >&6;}
38665 { if $as_mkdir_p; then
38670 while test ! -d "$as_dir"; do
38671 as_dirs
="$as_dir $as_dirs"
38672 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38674 X"$as_dir" : 'X\(//\)[^/]' \| \
38675 X"$as_dir" : 'X\(//\)$' \| \
38676 X"$as_dir" : 'X\(/\)' \| \
38677 . : '\(.\)' 2>/dev/null ||
38679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38681 /^X\(\/\/\)$/{ s//\1/; q; }
38682 /^X\(\/\).*/{ s//\1/; q; }
38685 test ! -n "$as_dirs" || mkdir $as_dirs
38686 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38687 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38688 { (exit 1); exit 1; }; }; }
38692 if test "$ac_dir" != .
; then
38693 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38694 # A "../" for each directory in $ac_dir_suffix.
38695 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38697 ac_dir_suffix
= ac_top_builddir
=
38701 .
) # No --srcdir option. We are building in place.
38703 if test -z "$ac_top_builddir"; then
38706 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38708 [\\/]* | ?
:[\\/]* ) # Absolute path.
38709 ac_srcdir
=$srcdir$ac_dir_suffix;
38710 ac_top_srcdir
=$srcdir ;;
38711 *) # Relative path.
38712 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38713 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38715 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38717 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38718 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38719 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38720 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38725 # Check for guested configure; otherwise get Cygnus style configure.
38726 if test -f $ac_srcdir/configure.gnu
; then
38727 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
38728 elif test -f $ac_srcdir/configure
; then
38729 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
38730 elif test -f $ac_srcdir/configure.
in; then
38731 ac_sub_configure
=$ac_configure
38733 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
38734 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
38738 # The recursion is here.
38739 if test -n "$ac_sub_configure"; then
38740 # Make the cache file name correct relative to the subdirectory.
38741 case $cache_file in
38742 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
38743 *) # Relative path.
38744 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
38747 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
38748 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
38749 # The eval makes quoting arguments work.
38750 eval $ac_sub_configure $ac_sub_configure_args \
38751 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
38752 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
38753 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
38754 { (exit 1); exit 1; }; }
38763 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
38765 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
38766 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
38768 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
38769 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
38770 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
38772 echo " What level of wxWindows compatibility should be enabled?"
38773 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
38774 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
38776 echo " Which libraries should wxWindows use?"
38777 echo " jpeg ${wxUSE_LIBJPEG-none}"
38778 echo " png ${wxUSE_LIBPNG-none}"
38779 echo " regex ${wxUSE_REGEX}"
38780 echo " tiff ${wxUSE_LIBTIFF-none}"
38781 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
38782 echo " xpm ${wxUSE_LIBXPM-none}"
38784 echo " zlib ${wxUSE_ZLIB}"
38785 echo " odbc ${wxUSE_ODBC}"
38786 echo " expat ${wxUSE_EXPAT}"
38787 echo " libmspack ${wxUSE_LIBMSPACK}"
38788 echo " sdl ${wxUSE_LIBSDL}"