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 CPPUNIT_CFLAGS CPPUNIT_LIBS 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 DLLIMP_SUFFIX LIBPREFIX LIBEXT 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_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG 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-gpe use GNOME PDA Environment features
if possible
876 --enable-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL
for containers
880 --enable-omf use OMF object format
881 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C
++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWindows
2.2 compatibility
892 --disable-compat24 disable wxWindows
2.4 compatibility
893 --enable-rpath=DIR output the rpath flag from wx
-config
894 --enable-intl use internationalization system
895 --enable-config use wxConfig
(and derived
) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP
(requires wxProtocol
898 --enable-http use wxHTTP
(requires wxProtocol
899 --enable-fileproto use wxFileProto class
(requires wxProtocol
900 --enable-sockets use socket
/network classes
901 --enable-ole use OLE classes
(Win32 only
)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication
(wxSocket etc.
)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
906 --enable-cmdline use wxCmdLineParser class
907 --enable-datetime use wxDateTime class
908 --enable-dialupman use dialup network classes
909 --enable-dynlib use wxLibrary class
for DLL loading
910 --enable-dynamicloader use
(new
) wxDynamicLibrary class
911 --enable-exceptions build exception
-safe library
912 --enable-ffile use wxFFile class
913 --enable-file use wxFile class
914 --enable-filesystem use virtual
file systems classes
915 --enable-fontmap use font encodings conversion classes
916 --enable-fs_inet use virtual HTTP
/FTP filesystems
917 --enable-fs_zip use virtual ZIP filesystems
918 --enable-geometry use geometry class
919 --enable-log use logging system
920 --enable-longlong use wxLongLong class
921 --enable-mimetype use wxMimeTypesManager
922 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
923 --enable-snglinst use wxSingleInstanceChecker class
924 --enable-streams use wxStream etc classes
925 --enable-std_iostreams use standard C
++ stream classes
926 --enable-stopwatch use wxStopWatch class
927 --enable-sysoptions use wxSystemOptions
928 --enable-textbuf use wxTextBuffer class
929 --enable-textfile use wxTextFile class
930 --enable-timer use wxTimer class
931 --enable-unicode compile wxString with Unicode support
932 --enable-sound use wxSound class
933 --enable-wxprintfv use wxWindows implementation of vprintf
()
934 --enable-zipstream use wxZipInputStream
935 --enable-url use wxURL class
936 --enable-protocol use wxProtocol class
937 --enable-protocol-http HTTP support
in wxProtocol
938 --enable-protocol-ftp FTP support
in wxProtocol
939 --enable-protocol-file FILE support
in wxProtocol
940 --enable-threads use threads
941 --enable-docview use document view architecture
942 --enable-help use
help subsystem
943 --enable-mshtmlhelp use MS HTML Help
(win32
)
944 --enable-html use wxHTML sub
-library
945 --enable-htmlhelp use wxHTML
-based help
946 --enable-constraints use layout
-constraints system
947 --enable-printarch use printing architecture
948 --enable-mdi use multiple document interface architecture
949 --enable-mdidoc use docview architecture with MDI
950 --enable-loggui use standard GUI logger
951 --enable-logwin use wxLogWindow
952 --enable-logdialog use wxLogDialog
953 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
954 --enable-prologio not available
; see contrib
955 --enable-resources not available
; see contrib
956 --enable-clipboard use wxClipboard class
957 --enable-dnd use Drag
'n'Drop classes
958 --enable-metafile use win32 metafiles
959 --enable-controls use all usual controls
960 --enable-accel use accelerators
961 --enable-button use wxButton class
962 --enable-bmpbutton use wxBitmapButton class
963 --enable-calendar use wxCalendarCtrl class
964 --enable-caret use wxCaret class
965 --enable-checkbox use wxCheckBox class
966 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
967 --enable-choice use wxChoice class
968 --enable-combobox use wxComboBox class
969 --enable-display use wxDisplay class
970 --enable-gauge use wxGauge class
971 --enable-grid use wxGrid class
972 --enable-imaglist use wxImageList class
973 --enable-listbook use wxListbook class
974 --enable-listbox use wxListBox class
975 --enable-listctrl use wxListCtrl class
976 --enable-notebook use wxNotebook class
977 --enable-radiobox use wxRadioBox class
978 --enable-radiobtn use wxRadioButton class
979 --enable-sash use wxSashWindow class
980 --enable-scrollbar use wxScrollBar class and scrollable windows
981 --enable-slider use wxSlider class
982 --enable-spinbtn use wxSpinButton class
983 --enable-spinctrl use wxSpinCtrl class
984 --enable-splitter use wxSplitterWindow class
985 --enable-statbmp use wxStaticBitmap class
986 --enable-statbox use wxStaticBox class
987 --enable-statline use wxStaticLine class
988 --enable-stattext use wxStaticText class
989 --enable-statusbar use wxStatusBar class
990 --enable-tabdialog use wxTabControl class
991 --enable-textctrl use wxTextCtrl class
992 --enable-togglebtn use wxToggleButton class
993 --enable-toolbar use wxToolBar class
994 --enable-tbarnative use native wxToolBar class
995 --enable-tbarsmpl use wxToolBarSimple class
996 --enable-treectrl use wxTreeCtrl class
997 --enable-tipwindow use wxTipWindow class
998 --enable-popupwin use wxPopUpWindow class
999 --enable-commondlg use all common dialogs
1000 --enable-choicedlg use wxChoiceDialog
1001 --enable-coldlg use wxColourDialog
1002 --enable-filedlg use wxFileDialog
1003 --enable-finddlg use wxFindReplaceDialog
1004 --enable-fontdlg use wxFontDialog
1005 --enable-dirdlg use wxDirDialog
1006 --enable-msgdlg use wxMessageDialog
1007 --enable-numberdlg use wxNumberEntryDialog
1008 --enable-splash use wxSplashScreen
1009 --enable-textdlg use wxTextDialog
1010 --enable-tipdlg use startup tips
1011 --enable-progressdlg use wxProgressDialog
1012 --enable-wizarddlg use wxWizard
1013 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1014 --enable-miniframe use wxMiniFrame class
1015 --enable-tooltips use wxToolTip class
1016 --enable-splines use spline drawing code
1017 --enable-validators use wxValidator and derived classes
1018 --enable-busyinfo use wxBusyInfo
1019 --enable-joystick use wxJoystick
(Linux only
)
1020 --enable-metafiles use wxMetaFile
(Windows only
)
1021 --enable-dragimage use wxDragImage
1022 --enable-accessibility enable accessibility support
1023 --enable-palette use wxPalette class
1024 --enable-image use wxImage class
1025 --enable-gif use gif images
(GIF
file format
)
1026 --enable-pcx use pcx images
(PCX
file format
)
1027 --enable-iff use iff images
(IFF
file format
)
1028 --enable-pnm use pnm images
(PNM
file format
)
1029 --enable-xpm use xpm images
(XPM
file format
)
1030 --enable-icocur use Windows ICO and CUR formats
1031 --enable-official_build official build of wxWindows
(win32 DLL only
)
1032 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1033 --disable-largefile omit support
for large files
1034 --disable-gtktest do not try to compile and run a
test GTK
+ program
1035 --disable-gtktest Do not try to compile and run a
test GTK program
1036 --disable-sdltest Do not try to compile and run a
test SDL program
1037 --enable-omf use OMF object format
(OS
/2)
1038 --disable-precomp-headers don
't use precompiled headers even if compiler can
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1044 --with-motif use Motif/Lesstif
1045 --with-mac use Mac OS X
1046 --with-cocoa use Cocoa
1047 --with-wine use Wine
1048 --with-msw use MS-Windows
1049 --with-pm use OS/2 Presentation Manager
1050 --with-mgl use SciTech MGL
1051 --with-microwin use MicroWindows
1053 --with-libpng use libpng (PNG image format)
1054 --with-libjpeg use libjpeg (JPEG file format)
1055 --with-libtiff use libtiff (TIFF file format)
1056 --with-libxpm use libxpm (XPM file format)
1057 --with-libmspack use libmspack (CHM help files loading)
1058 --with-sdl use SDL for audio on Unix
1059 --with-opengl use OpenGL (or Mesa)
1060 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1061 --with-regex enable support for wxRegEx class
1062 --with-zlib use zlib for LZW compression
1063 --with-odbc use the IODBC and wxODBC classes
1064 --with-expat enable XML support using expat parser
1065 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1066 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1067 --with-x use the X Window System
1068 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1069 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1070 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1072 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1074 Some influential environment variables:
1075 CC C compiler command
1076 CFLAGS C compiler flags
1077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1078 nonstandard directory <lib dir>
1079 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1080 headers in a nonstandard directory <include dir>
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1084 CXXCPP C++ preprocessor
1086 Use these variables to override the choices made by `configure' or to
help
1087 it to
find libraries and programs with nonstandard names
/locations.
1089 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1096 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1097 test -d $ac_dir || continue
1100 if test "$ac_dir" != .
; then
1101 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105 ac_dir_suffix
= ac_top_builddir
=
1109 .
) # No --srcdir option. We are building in place.
1111 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1116 [\\/]* | ?
:[\\/]* ) # Absolute path.
1117 ac_srcdir
=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir
=$srcdir ;;
1120 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1123 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1125 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
1126 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1127 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1128 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1131 # Check for guested configure; otherwise get Cygnus style configure.
1132 if test -f $ac_srcdir/configure.gnu
; then
1134 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1135 elif test -f $ac_srcdir/configure
; then
1137 $SHELL $ac_srcdir/configure
--help=recursive
1138 elif test -f $ac_srcdir/configure.ac
||
1139 test -f $ac_srcdir/configure.
in; then
1141 $ac_configure --help
1143 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1149 test -n "$ac_init_help" && exit 0
1150 if $ac_init_version; then
1152 wxWindows configure
2.5.1
1153 generated by GNU Autoconf
2.57
1155 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1156 Free Software Foundation
, Inc.
1157 This configure
script is free software
; the Free Software Foundation
1158 gives unlimited permission to copy
, distribute and modify it.
1164 This file contains any messages produced by compilers while
1165 running configure, to aid debugging if configure makes a mistake.
1167 It was created by wxWindows $as_me 2.5.1, which was
1168 generated by GNU Autoconf 2.57. Invocation command line was
1179 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1180 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1181 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1182 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1183 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1185 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1186 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1188 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1189 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1190 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1191 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1192 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1193 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1194 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1202 test -z "$as_dir" && as_dir
=.
1203 echo "PATH: $as_dir"
1218 # Keep a trace of the command line.
1219 # Strip out --no-create and --no-recursion so they do not pile up.
1220 # Strip out --silent because we don't want to record it for future runs.
1221 # Also quote any args containing shell meta-characters.
1222 # Make two passes to allow for proper duplicate-argument suppression.
1227 ac_must_keep_next
=false
1233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1235 | -silent | --silent | --silen | --sile | --sil)
1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1241 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1243 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1244 if test $ac_must_keep_next = true
; then
1245 ac_must_keep_next
=false
# Got value, back to normal.
1248 *=* | --config-cache | -C | -disable-* | --disable-* \
1249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1251 | -with-* | --with-* | -without-* | --without-* | --x)
1252 case "$ac_configure_args0 " in
1253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1256 -* ) ac_must_keep_next
=true
;;
1259 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1260 # Get rid of the leading space.
1266 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1267 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1269 # When interrupted or exit'd, cleanup temporary files, and complete
1270 # config.log. We remove comments because anyway the quotes in there
1271 # would cause problems or look ugly.
1272 # WARNING: Be sure not to use single quotes in there, as some shells,
1273 # such as our DU 5.0 friend, will then `close' the trap.
1274 trap 'exit_status=$?
1275 # Save into config.log some information that might help in debugging.
1280 ## ---------------- ##
1281 ## Cache variables. ##
1282 ## ---------------- ##
1285 # The following way of writing the cache mishandles newlines in values,
1288 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1291 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1296 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1303 ## ----------------- ##
1304 ## Output variables. ##
1305 ## ----------------- ##
1308 for ac_var in $ac_subst_vars
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1315 if test -n "$ac_subst_files"; then
1322 for ac_var in $ac_subst_files
1324 eval ac_val=$`echo $ac_var`
1325 echo "$ac_var='"'"'$ac_val'"'"'"
1330 if test -s confdefs.h; then
1337 sed "/^$/d" confdefs.h | sort
1340 test "$ac_signal" != 0 &&
1341 echo "$as_me: caught signal $ac_signal"
1342 echo "$as_me: exit $exit_status"
1344 rm -f core core.* *.core &&
1345 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1348 for ac_signal
in 1 2 13 15; do
1349 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1354 rm -rf conftest
* confdefs.h
1355 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1358 # Predefined preprocessor variables.
1360 cat >>confdefs.h
<<_ACEOF
1361 #define PACKAGE_NAME "$PACKAGE_NAME"
1365 cat >>confdefs.h
<<_ACEOF
1366 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1370 cat >>confdefs.h
<<_ACEOF
1371 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1375 cat >>confdefs.h
<<_ACEOF
1376 #define PACKAGE_STRING "$PACKAGE_STRING"
1380 cat >>confdefs.h
<<_ACEOF
1381 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1385 # Let the site file select an alternate cache file if it wants to.
1386 # Prefer explicitly selected file to automatically selected ones.
1387 if test -z "$CONFIG_SITE"; then
1388 if test "x$prefix" != xNONE
; then
1389 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1391 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1394 for ac_site_file
in $CONFIG_SITE; do
1395 if test -r "$ac_site_file"; then
1396 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1397 echo "$as_me: loading site script $ac_site_file" >&6;}
1398 sed 's/^/| /' "$ac_site_file" >&5
1403 if test -r "$cache_file"; then
1404 # Some versions of bash will fail to source /dev/null (special
1405 # files actually), so we avoid doing that.
1406 if test -f "$cache_file"; then
1407 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1408 echo "$as_me: loading cache $cache_file" >&6;}
1410 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1411 *) . .
/$cache_file;;
1415 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1416 echo "$as_me: creating cache $cache_file" >&6;}
1420 # Check that the precious variables saved in the cache have kept the same
1422 ac_cache_corrupted
=false
1423 for ac_var
in `(set) 2>&1 |
1424 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1425 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1426 eval ac_new_set
=\
$ac_env_${ac_var}_set
1427 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1428 eval ac_new_val
="\$ac_env_${ac_var}_value"
1429 case $ac_old_set,$ac_new_set in
1431 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1432 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1433 ac_cache_corrupted
=: ;;
1435 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1436 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1437 ac_cache_corrupted
=: ;;
1440 if test "x$ac_old_val" != "x$ac_new_val"; then
1441 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1442 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1443 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1444 echo "$as_me: former value: $ac_old_val" >&2;}
1445 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1446 echo "$as_me: current value: $ac_new_val" >&2;}
1447 ac_cache_corrupted
=:
1450 # Pass precious variables to config.status.
1451 if test "$ac_new_set" = set; then
1453 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1454 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1455 *) ac_arg
=$ac_var=$ac_new_val ;;
1457 case " $ac_configure_args " in
1458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1459 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1463 if $ac_cache_corrupted; then
1464 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1465 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1466 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1467 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1468 { (exit 1); exit 1; }; }
1472 ac_cpp
='$CPP $CPPFLAGS'
1473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1507 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1508 if test -f $ac_dir/install-sh; then
1510 ac_install_sh
="$ac_aux_dir/install-sh -c"
1512 elif test -f $ac_dir/install.sh
; then
1514 ac_install_sh
="$ac_aux_dir/install.sh -c"
1516 elif test -f $ac_dir/shtool
; then
1518 ac_install_sh
="$ac_aux_dir/shtool install -c"
1522 if test -z "$ac_aux_dir"; then
1523 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1524 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1525 { (exit 1); exit 1; }; }
1527 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1528 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1529 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1531 # Make sure we can run config.sub.
1532 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1533 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1534 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1535 { (exit 1); exit 1; }; }
1537 echo "$as_me:$LINENO: checking build system type" >&5
1538 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1539 if test "${ac_cv_build+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 ac_cv_build_alias
=$build_alias
1543 test -z "$ac_cv_build_alias" &&
1544 ac_cv_build_alias
=`$ac_config_guess`
1545 test -z "$ac_cv_build_alias" &&
1546 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1547 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1548 { (exit 1); exit 1; }; }
1549 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1550 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1551 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1552 { (exit 1); exit 1; }; }
1555 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1556 echo "${ECHO_T}$ac_cv_build" >&6
1558 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1559 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1560 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1563 echo "$as_me:$LINENO: checking host system type" >&5
1564 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1565 if test "${ac_cv_host+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 ac_cv_host_alias
=$host_alias
1569 test -z "$ac_cv_host_alias" &&
1570 ac_cv_host_alias
=$ac_cv_build_alias
1571 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1572 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1573 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1574 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1578 echo "${ECHO_T}$ac_cv_host" >&6
1580 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1581 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1582 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1585 echo "$as_me:$LINENO: checking target system type" >&5
1586 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1587 if test "${ac_cv_target+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 ac_cv_target_alias
=$target_alias
1591 test "x$ac_cv_target_alias" = "x" &&
1592 ac_cv_target_alias
=$ac_cv_host_alias
1593 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1594 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1595 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1596 { (exit 1); exit 1; }; }
1599 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1600 echo "${ECHO_T}$ac_cv_target" >&6
1601 target
=$ac_cv_target
1602 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1603 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1604 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1607 # The aliases save the names the user supplied, while $host etc.
1608 # will get canonicalized.
1609 test -n "$target_alias" &&
1610 test "$program_prefix$program_suffix$program_transform_name" = \
1612 program_prefix
=${target_alias}-
1616 WX_MAJOR_VERSION_NUMBER
=2
1617 WX_MINOR_VERSION_NUMBER
=5
1620 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1621 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1623 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1639 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1645 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1651 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1653 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1655 DEFAULT_wxUSE_COCOA
=0
1659 DEFAULT_wxUSE_MICROWIN
=0
1660 DEFAULT_wxUSE_MOTIF
=0
1665 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1666 DEFAULT_DEFAULT_wxUSE_GTK
=0
1667 DEFAULT_DEFAULT_wxUSE_MAC
=0
1668 DEFAULT_DEFAULT_wxUSE_MGL
=0
1669 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1670 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1671 DEFAULT_DEFAULT_wxUSE_MSW
=0
1672 DEFAULT_DEFAULT_wxUSE_PM
=0
1673 DEFAULT_DEFAULT_wxUSE_X11
=0
1678 SAMPLES_RPATH_POSTLINK
=
1683 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1684 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1686 cat >>confdefs.h
<<\_ACEOF
1693 cat >>confdefs.h
<<\_ACEOF
1698 if test "x$TMP" = "xalpha"; then
1700 cat >>confdefs.h
<<\_ACEOF
1705 DEFAULT_DEFAULT_wxUSE_GTK
=1
1707 *-*-gnu* | *-*-k*bsd
*-gnu )
1710 if test "x$TMP" = "xalpha"; then
1712 cat >>confdefs.h
<<\_ACEOF
1717 DEFAULT_DEFAULT_wxUSE_GTK
=1
1719 *-*-irix5* | *-*-irix6* )
1722 cat >>confdefs.h
<<\_ACEOF
1726 cat >>confdefs.h
<<\_ACEOF
1730 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1736 cat >>confdefs.h
<<\_ACEOF
1740 cat >>confdefs.h
<<\_ACEOF
1741 #define __SOLARIS__ 1
1744 cat >>confdefs.h
<<\_ACEOF
1748 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1749 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1755 cat >>confdefs.h
<<\_ACEOF
1759 cat >>confdefs.h
<<\_ACEOF
1763 cat >>confdefs.h
<<\_ACEOF
1767 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1772 cat >>confdefs.h
<<\_ACEOF
1773 #define __FREEBSD__ 1
1776 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_GTK
=1
1785 cat >>confdefs.h
<<\_ACEOF
1786 #define __OPENBSD__ 1
1789 cat >>confdefs.h
<<\_ACEOF
1793 DEFAULT_DEFAULT_wxUSE_GTK
=1
1798 cat >>confdefs.h
<<\_ACEOF
1799 #define __NETBSD__ 1
1802 cat >>confdefs.h
<<\_ACEOF
1806 DEFAULT_DEFAULT_wxUSE_GTK
=1
1811 cat >>confdefs.h
<<\_ACEOF
1815 cat >>confdefs.h
<<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1825 cat >>confdefs.h
<<\_ACEOF
1829 cat >>confdefs.h
<<\_ACEOF
1833 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1838 cat >>confdefs.h
<<\_ACEOF
1842 cat >>confdefs.h
<<\_ACEOF
1846 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1853 cat >>confdefs.h
<<\_ACEOF
1857 cat >>confdefs.h
<<\_ACEOF
1861 cat >>confdefs.h
<<\_ACEOF
1865 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1872 cat >>confdefs.h
<<\_ACEOF
1873 #define __UNIXWARE__ 1
1878 *-*-cygwin* | *-*-mingw32* )
1882 DEFAULT_DEFAULT_wxUSE_MSW
=1
1888 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MGL
=1
1894 LIBS
="$LIBS -lstdc++"
1897 *-pc-os2_emx | *-pc-os2-emx )
1898 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1908 DEFAULT_DEFAULT_wxUSE_PM
=1
1910 LDFLAGS
="$LDFLAGS -Zcrtdll"
1911 ac_executable_extensions
=".exe"
1912 export ac_executable_extensions
1916 for ac_dir
in $PATH; do
1918 if test -z "$ac_TEMP_PATH"; then
1919 ac_TEMP_PATH
="$ac_dir"
1921 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1924 export PATH
="$ac_TEMP_PATH"
1932 cat >>confdefs.h
<<\_ACEOF
1936 cat >>confdefs.h
<<\_ACEOF
1937 #define __DARWIN__ 1
1940 cat >>confdefs.h
<<\_ACEOF
1941 #define __POWERPC__ 1
1944 cat >>confdefs.h
<<\_ACEOF
1945 #define TARGET_CARBON 1
1948 DEFAULT_DEFAULT_wxUSE_MAC
=1
1953 cat >>confdefs.h
<<\_ACEOF
1960 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1961 echo "$as_me: error: unknown system type ${host}." >&2;}
1962 { (exit 1); exit 1; }; }
1968 wx_arg_cache_file
="configarg.cache"
1969 echo "loading argument cache $wx_arg_cache_file"
1970 rm -f ${wx_arg_cache_file}.tmp
1971 touch ${wx_arg_cache_file}.tmp
1972 touch ${wx_arg_cache_file}
1976 if test $DEBUG_CONFIGURE = 1; then
1977 DEFAULT_wxUSE_UNIVERSAL
=no
1978 DEFAULT_wxUSE_STL
=no
1980 DEFAULT_wxUSE_NANOX
=no
1982 DEFAULT_wxUSE_THREADS
=yes
1984 DEFAULT_wxUSE_SHARED
=yes
1985 DEFAULT_wxUSE_OPTIMISE
=no
1986 DEFAULT_wxUSE_PROFILE
=no
1987 DEFAULT_wxUSE_NO_DEPS
=no
1988 DEFAULT_wxUSE_NO_RTTI
=no
1989 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1990 DEFAULT_wxUSE_PERMISSIVE
=no
1991 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1992 DEFAULT_wxUSE_DEBUG_INFO
=yes
1993 DEFAULT_wxUSE_DEBUG_GDB
=yes
1994 DEFAULT_wxUSE_MEM_TRACING
=no
1995 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1996 DEFAULT_wxUSE_DMALLOC
=no
1997 DEFAULT_wxUSE_APPLE_IEEE
=no
1999 DEFAULT_wxUSE_EXCEPTIONS
=no
2000 DEFAULT_wxUSE_LOG
=yes
2001 DEFAULT_wxUSE_LOGWINDOW
=no
2002 DEFAULT_wxUSE_LOGGUI
=no
2003 DEFAULT_wxUSE_LOGDIALOG
=no
2005 DEFAULT_wxUSE_GUI
=yes
2006 DEFAULT_wxUSE_CONTROLS
=no
2008 DEFAULT_wxUSE_REGEX
=no
2009 DEFAULT_wxUSE_XML
=no
2010 DEFAULT_wxUSE_EXPAT
=no
2011 DEFAULT_wxUSE_ZLIB
=no
2012 DEFAULT_wxUSE_LIBPNG
=no
2013 DEFAULT_wxUSE_LIBJPEG
=no
2014 DEFAULT_wxUSE_LIBTIFF
=no
2015 DEFAULT_wxUSE_LIBXPM
=no
2016 DEFAULT_wxUSE_LIBMSPACK
=no
2017 DEFAULT_wxUSE_LIBSDL
=no
2018 DEFAULT_wxUSE_ODBC
=no
2019 DEFAULT_wxUSE_OPENGL
=no
2021 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2022 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2023 DEFAULT_wxUSE_STD_IOSTREAM
=no
2024 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2025 DEFAULT_wxUSE_DATETIME
=no
2026 DEFAULT_wxUSE_TIMER
=no
2027 DEFAULT_wxUSE_STOPWATCH
=no
2028 DEFAULT_wxUSE_FILE
=no
2029 DEFAULT_wxUSE_FFILE
=no
2030 DEFAULT_wxUSE_TEXTBUFFER
=no
2031 DEFAULT_wxUSE_TEXTFILE
=no
2032 DEFAULT_wxUSE_SOUND
=no
2033 DEFAULT_wxUSE_INTL
=no
2034 DEFAULT_wxUSE_CONFIG
=no
2035 DEFAULT_wxUSE_FONTMAP
=no
2036 DEFAULT_wxUSE_STREAMS
=no
2037 DEFAULT_wxUSE_SOCKETS
=no
2038 DEFAULT_wxUSE_OLE
=no
2039 DEFAULT_wxUSE_DATAOBJ
=no
2040 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2041 DEFAULT_wxUSE_JOYSTICK
=no
2042 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2043 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2044 DEFAULT_wxUSE_LONGLONG
=no
2045 DEFAULT_wxUSE_GEOMETRY
=no
2047 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2048 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2049 DEFAULT_wxUSE_POSTSCRIPT
=no
2051 DEFAULT_wxUSE_CLIPBOARD
=no
2052 DEFAULT_wxUSE_TOOLTIPS
=no
2053 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2054 DEFAULT_wxUSE_DRAGIMAGE
=no
2055 DEFAULT_wxUSE_SPLINES
=no
2057 DEFAULT_wxUSE_MDI
=no
2058 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2059 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2060 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2062 DEFAULT_wxUSE_RESOURCES
=no
2063 DEFAULT_wxUSE_CONSTRAINTS
=no
2064 DEFAULT_wxUSE_IPC
=no
2065 DEFAULT_wxUSE_HELP
=no
2066 DEFAULT_wxUSE_MS_HTML_HELP
=no
2067 DEFAULT_wxUSE_WXHTML_HELP
=no
2068 DEFAULT_wxUSE_TREELAYOUT
=no
2069 DEFAULT_wxUSE_METAFILE
=no
2070 DEFAULT_wxUSE_MIMETYPE
=no
2071 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2072 DEFAULT_wxUSE_PROTOCOL
=no
2073 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2074 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2075 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2076 DEFAULT_wxUSE_URL
=no
2078 DEFAULT_wxUSE_COMMONDLGS
=no
2079 DEFAULT_wxUSE_CHOICEDLG
=no
2080 DEFAULT_wxUSE_COLOURDLG
=no
2081 DEFAULT_wxUSE_DIRDLG
=no
2082 DEFAULT_wxUSE_FILEDLG
=no
2083 DEFAULT_wxUSE_FINDREPLDLG
=no
2084 DEFAULT_wxUSE_FONTDLG
=no
2085 DEFAULT_wxUSE_MSGDLG
=no
2086 DEFAULT_wxUSE_NUMBERDLG
=no
2087 DEFAULT_wxUSE_TEXTDLG
=no
2088 DEFAULT_wxUSE_SPLASH
=no
2089 DEFAULT_wxUSE_STARTUP_TIPS
=no
2090 DEFAULT_wxUSE_PROGRESSDLG
=no
2091 DEFAULT_wxUSE_WIZARDDLG
=no
2093 DEFAULT_wxUSE_MENUS
=no
2094 DEFAULT_wxUSE_MINIFRAME
=no
2095 DEFAULT_wxUSE_HTML
=no
2096 DEFAULT_wxUSE_FILESYSTEM
=no
2097 DEFAULT_wxUSE_FS_INET
=no
2098 DEFAULT_wxUSE_FS_ZIP
=no
2099 DEFAULT_wxUSE_BUSYINFO
=no
2100 DEFAULT_wxUSE_ZIPSTREAM
=no
2101 DEFAULT_wxUSE_VALIDATORS
=no
2103 DEFAULT_wxUSE_ACCEL
=no
2104 DEFAULT_wxUSE_BUTTON
=no
2105 DEFAULT_wxUSE_BMPBUTTON
=no
2106 DEFAULT_wxUSE_CALCTRL
=no
2107 DEFAULT_wxUSE_CARET
=no
2108 DEFAULT_wxUSE_CHECKBOX
=no
2109 DEFAULT_wxUSE_CHECKLST
=no
2110 DEFAULT_wxUSE_CHOICE
=no
2111 DEFAULT_wxUSE_COMBOBOX
=no
2112 DEFAULT_wxUSE_DISPLAY
=no
2113 DEFAULT_wxUSE_GAUGE
=no
2114 DEFAULT_wxUSE_GRID
=no
2115 DEFAULT_wxUSE_IMAGLIST
=no
2116 DEFAULT_wxUSE_LISTBOOK
=no
2117 DEFAULT_wxUSE_LISTBOX
=no
2118 DEFAULT_wxUSE_LISTCTRL
=no
2119 DEFAULT_wxUSE_NOTEBOOK
=no
2120 DEFAULT_wxUSE_RADIOBOX
=no
2121 DEFAULT_wxUSE_RADIOBTN
=no
2122 DEFAULT_wxUSE_SASH
=no
2123 DEFAULT_wxUSE_SCROLLBAR
=no
2124 DEFAULT_wxUSE_SLIDER
=no
2125 DEFAULT_wxUSE_SPINBTN
=no
2126 DEFAULT_wxUSE_SPINCTRL
=no
2127 DEFAULT_wxUSE_SPLITTER
=no
2128 DEFAULT_wxUSE_STATBMP
=no
2129 DEFAULT_wxUSE_STATBOX
=no
2130 DEFAULT_wxUSE_STATLINE
=no
2131 DEFAULT_wxUSE_STATTEXT
=no
2132 DEFAULT_wxUSE_STATUSBAR
=yes
2133 DEFAULT_wxUSE_TABDIALOG
=no
2134 DEFAULT_wxUSE_TEXTCTRL
=no
2135 DEFAULT_wxUSE_TOGGLEBTN
=no
2136 DEFAULT_wxUSE_TOOLBAR
=no
2137 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2138 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2139 DEFAULT_wxUSE_TREECTRL
=no
2140 DEFAULT_wxUSE_POPUPWIN
=no
2141 DEFAULT_wxUSE_TIPWINDOW
=no
2143 DEFAULT_wxUSE_UNICODE
=no
2144 DEFAULT_wxUSE_UNICODE_MSLU
=no
2145 DEFAULT_wxUSE_WCSRTOMBS
=no
2147 DEFAULT_wxUSE_PALETTE
=no
2148 DEFAULT_wxUSE_IMAGE
=no
2149 DEFAULT_wxUSE_GIF
=no
2150 DEFAULT_wxUSE_PCX
=no
2151 DEFAULT_wxUSE_PNM
=no
2152 DEFAULT_wxUSE_IFF
=no
2153 DEFAULT_wxUSE_XPM
=no
2154 DEFAULT_wxUSE_ICO_CUR
=no
2155 DEFAULT_wxUSE_ACCESSIBILITY
=no
2157 DEFAULT_wxUSE_MONOLITHIC
=no
2158 DEFAULT_wxUSE_PLUGINS
=no
2159 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2161 DEFAULT_wxUSE_UNIVERSAL
=no
2162 DEFAULT_wxUSE_STL
=no
2164 DEFAULT_wxUSE_NANOX
=no
2166 DEFAULT_wxUSE_THREADS
=yes
2168 DEFAULT_wxUSE_SHARED
=yes
2169 DEFAULT_wxUSE_OPTIMISE
=yes
2170 DEFAULT_wxUSE_PROFILE
=no
2171 DEFAULT_wxUSE_NO_DEPS
=no
2172 DEFAULT_wxUSE_NO_RTTI
=no
2173 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2174 DEFAULT_wxUSE_PERMISSIVE
=no
2175 DEFAULT_wxUSE_DEBUG_FLAG
=no
2176 DEFAULT_wxUSE_DEBUG_INFO
=no
2177 DEFAULT_wxUSE_DEBUG_GDB
=no
2178 DEFAULT_wxUSE_MEM_TRACING
=no
2179 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2180 DEFAULT_wxUSE_DMALLOC
=no
2181 DEFAULT_wxUSE_APPLE_IEEE
=yes
2183 DEFAULT_wxUSE_EXCEPTIONS
=yes
2184 DEFAULT_wxUSE_LOG
=yes
2185 DEFAULT_wxUSE_LOGWINDOW
=yes
2186 DEFAULT_wxUSE_LOGGUI
=yes
2187 DEFAULT_wxUSE_LOGDIALOG
=yes
2189 DEFAULT_wxUSE_GUI
=yes
2191 DEFAULT_wxUSE_REGEX
=yes
2192 DEFAULT_wxUSE_XML
=yes
2193 DEFAULT_wxUSE_EXPAT
=yes
2194 DEFAULT_wxUSE_ZLIB
=yes
2195 DEFAULT_wxUSE_LIBPNG
=yes
2196 DEFAULT_wxUSE_LIBJPEG
=yes
2197 DEFAULT_wxUSE_LIBTIFF
=yes
2198 DEFAULT_wxUSE_LIBXPM
=yes
2199 DEFAULT_wxUSE_LIBMSPACK
=yes
2200 DEFAULT_wxUSE_LIBSDL
=no
2201 DEFAULT_wxUSE_ODBC
=no
2202 DEFAULT_wxUSE_OPENGL
=no
2204 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2205 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2206 DEFAULT_wxUSE_STD_IOSTREAM
=no
2207 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2208 DEFAULT_wxUSE_DATETIME
=yes
2209 DEFAULT_wxUSE_TIMER
=yes
2210 DEFAULT_wxUSE_STOPWATCH
=yes
2211 DEFAULT_wxUSE_FILE
=yes
2212 DEFAULT_wxUSE_FFILE
=yes
2213 DEFAULT_wxUSE_TEXTBUFFER
=yes
2214 DEFAULT_wxUSE_TEXTFILE
=yes
2215 DEFAULT_wxUSE_SOUND
=yes
2216 DEFAULT_wxUSE_INTL
=yes
2217 DEFAULT_wxUSE_CONFIG
=yes
2218 DEFAULT_wxUSE_FONTMAP
=yes
2219 DEFAULT_wxUSE_STREAMS
=yes
2220 DEFAULT_wxUSE_SOCKETS
=yes
2221 DEFAULT_wxUSE_OLE
=yes
2222 DEFAULT_wxUSE_DATAOBJ
=yes
2223 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2224 DEFAULT_wxUSE_JOYSTICK
=yes
2225 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2226 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2227 DEFAULT_wxUSE_LONGLONG
=yes
2228 DEFAULT_wxUSE_GEOMETRY
=yes
2230 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2231 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2232 DEFAULT_wxUSE_POSTSCRIPT
=yes
2234 DEFAULT_wxUSE_CLIPBOARD
=yes
2235 DEFAULT_wxUSE_TOOLTIPS
=yes
2236 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2237 DEFAULT_wxUSE_DRAGIMAGE
=yes
2238 DEFAULT_wxUSE_SPLINES
=yes
2240 DEFAULT_wxUSE_MDI
=yes
2241 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2242 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2243 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2245 DEFAULT_wxUSE_RESOURCES
=no
2246 DEFAULT_wxUSE_CONSTRAINTS
=yes
2247 DEFAULT_wxUSE_IPC
=yes
2248 DEFAULT_wxUSE_HELP
=yes
2249 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2250 DEFAULT_wxUSE_WXHTML_HELP
=yes
2251 DEFAULT_wxUSE_TREELAYOUT
=yes
2252 DEFAULT_wxUSE_METAFILE
=yes
2253 DEFAULT_wxUSE_MIMETYPE
=yes
2254 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2255 DEFAULT_wxUSE_PROTOCOL
=yes
2256 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2257 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2258 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2259 DEFAULT_wxUSE_URL
=yes
2261 DEFAULT_wxUSE_COMMONDLGS
=yes
2262 DEFAULT_wxUSE_CHOICEDLG
=yes
2263 DEFAULT_wxUSE_COLOURDLG
=yes
2264 DEFAULT_wxUSE_DIRDLG
=yes
2265 DEFAULT_wxUSE_FILEDLG
=yes
2266 DEFAULT_wxUSE_FINDREPLDLG
=yes
2267 DEFAULT_wxUSE_FONTDLG
=yes
2268 DEFAULT_wxUSE_MSGDLG
=yes
2269 DEFAULT_wxUSE_NUMBERDLG
=yes
2270 DEFAULT_wxUSE_TEXTDLG
=yes
2271 DEFAULT_wxUSE_SPLASH
=yes
2272 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2273 DEFAULT_wxUSE_PROGRESSDLG
=yes
2274 DEFAULT_wxUSE_WIZARDDLG
=yes
2276 DEFAULT_wxUSE_MENUS
=yes
2277 DEFAULT_wxUSE_MINIFRAME
=yes
2278 DEFAULT_wxUSE_HTML
=yes
2279 DEFAULT_wxUSE_FILESYSTEM
=yes
2280 DEFAULT_wxUSE_FS_INET
=yes
2281 DEFAULT_wxUSE_FS_ZIP
=yes
2282 DEFAULT_wxUSE_BUSYINFO
=yes
2283 DEFAULT_wxUSE_ZIPSTREAM
=yes
2284 DEFAULT_wxUSE_VALIDATORS
=yes
2286 DEFAULT_wxUSE_ACCEL
=yes
2287 DEFAULT_wxUSE_BUTTON
=yes
2288 DEFAULT_wxUSE_BMPBUTTON
=yes
2289 DEFAULT_wxUSE_CALCTRL
=yes
2290 DEFAULT_wxUSE_CARET
=yes
2291 DEFAULT_wxUSE_CHECKBOX
=yes
2292 DEFAULT_wxUSE_CHECKLST
=yes
2293 DEFAULT_wxUSE_CHOICE
=yes
2294 DEFAULT_wxUSE_COMBOBOX
=yes
2295 DEFAULT_wxUSE_DISPLAY
=yes
2296 DEFAULT_wxUSE_GAUGE
=yes
2297 DEFAULT_wxUSE_GRID
=yes
2298 DEFAULT_wxUSE_IMAGLIST
=yes
2299 DEFAULT_wxUSE_LISTBOOK
=yes
2300 DEFAULT_wxUSE_LISTBOX
=yes
2301 DEFAULT_wxUSE_LISTCTRL
=yes
2302 DEFAULT_wxUSE_NOTEBOOK
=yes
2303 DEFAULT_wxUSE_RADIOBOX
=yes
2304 DEFAULT_wxUSE_RADIOBTN
=yes
2305 DEFAULT_wxUSE_SASH
=yes
2306 DEFAULT_wxUSE_SCROLLBAR
=yes
2307 DEFAULT_wxUSE_SLIDER
=yes
2308 DEFAULT_wxUSE_SPINBTN
=yes
2309 DEFAULT_wxUSE_SPINCTRL
=yes
2310 DEFAULT_wxUSE_SPLITTER
=yes
2311 DEFAULT_wxUSE_STATBMP
=yes
2312 DEFAULT_wxUSE_STATBOX
=yes
2313 DEFAULT_wxUSE_STATLINE
=yes
2314 DEFAULT_wxUSE_STATTEXT
=yes
2315 DEFAULT_wxUSE_STATUSBAR
=yes
2316 DEFAULT_wxUSE_TABDIALOG
=no
2317 DEFAULT_wxUSE_TEXTCTRL
=yes
2318 DEFAULT_wxUSE_TOGGLEBTN
=yes
2319 DEFAULT_wxUSE_TOOLBAR
=yes
2320 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2321 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2322 DEFAULT_wxUSE_TREECTRL
=yes
2323 DEFAULT_wxUSE_POPUPWIN
=yes
2324 DEFAULT_wxUSE_TIPWINDOW
=yes
2326 DEFAULT_wxUSE_UNICODE
=no
2327 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2328 DEFAULT_wxUSE_WCSRTOMBS
=no
2330 DEFAULT_wxUSE_PALETTE
=yes
2331 DEFAULT_wxUSE_IMAGE
=yes
2332 DEFAULT_wxUSE_GIF
=yes
2333 DEFAULT_wxUSE_PCX
=yes
2334 DEFAULT_wxUSE_IFF
=no
2335 DEFAULT_wxUSE_PNM
=yes
2336 DEFAULT_wxUSE_XPM
=yes
2337 DEFAULT_wxUSE_ICO_CUR
=yes
2338 DEFAULT_wxUSE_ACCESSIBILITY
=no
2340 DEFAULT_wxUSE_MONOLITHIC
=no
2341 DEFAULT_wxUSE_PLUGINS
=no
2342 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2347 for toolkit
in `echo $ALL_TOOLKITS`; do
2348 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2349 if test "x$LINE" != "x" ; then
2350 has_toolkit_in_cache
=1
2351 eval "DEFAULT_$LINE"
2352 eval "CACHE_$toolkit=1"
2359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2360 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2362 # Check whether --enable-gui or --disable-gui was given.
2363 if test "${enable_gui+set}" = set; then
2364 enableval
="$enable_gui"
2366 if test "$enableval" = yes; then
2367 ac_cv_use_gui
='wxUSE_GUI=yes'
2369 ac_cv_use_gui
='wxUSE_GUI=no'
2374 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2375 if test "x$LINE" != x
; then
2376 eval "DEFAULT_$LINE"
2381 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2385 eval "$ac_cv_use_gui"
2386 if test "$no_cache" != 1; then
2387 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2390 if test "$wxUSE_GUI" = yes; then
2391 echo "$as_me:$LINENO: result: yes" >&5
2392 echo "${ECHO_T}yes" >&6
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2403 # Check whether --enable-monolithic or --disable-monolithic was given.
2404 if test "${enable_monolithic+set}" = set; then
2405 enableval
="$enable_monolithic"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2410 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2415 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x
; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2426 eval "$ac_cv_use_monolithic"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2431 if test "$wxUSE_MONOLITHIC" = yes; then
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2442 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2444 # Check whether --enable-plugins or --disable-plugins was given.
2445 if test "${enable_plugins+set}" = set; then
2446 enableval
="$enable_plugins"
2448 if test "$enableval" = yes; then
2449 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2451 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2456 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2457 if test "x$LINE" != x
; then
2458 eval "DEFAULT_$LINE"
2463 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2467 eval "$ac_cv_use_plugins"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_PLUGINS" = yes; then
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2476 echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6
2481 if test "$wxUSE_GUI" = "yes"; then
2485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2486 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2488 # Check whether --enable-universal or --disable-universal was given.
2489 if test "${enable_universal+set}" = set; then
2490 enableval
="$enable_universal"
2492 if test "$enableval" = yes; then
2493 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2495 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2500 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2501 if test "x$LINE" != x
; then
2502 eval "DEFAULT_$LINE"
2507 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2511 eval "$ac_cv_use_universal"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_UNIVERSAL" = yes; then
2517 echo "$as_me:$LINENO: result: yes" >&5
2518 echo "${ECHO_T}yes" >&6
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2525 # Check whether --with-gtk or --without-gtk was given.
2526 if test "${with_gtk+set}" = set; then
2528 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2531 # Check whether --with-motif or --without-motif was given.
2532 if test "${with_motif+set}" = set; then
2533 withval
="$with_motif"
2534 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2537 # Check whether --with-mac or --without-mac was given.
2538 if test "${with_mac+set}" = set; then
2540 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2543 # Check whether --with-cocoa or --without-cocoa was given.
2544 if test "${with_cocoa+set}" = set; then
2545 withval
="$with_cocoa"
2546 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2549 # Check whether --with-wine or --without-wine was given.
2550 if test "${with_wine+set}" = set; then
2551 withval
="$with_wine"
2552 wxUSE_WINE
="$withval" CACHE_WINE
=1
2555 # Check whether --with-msw or --without-msw was given.
2556 if test "${with_msw+set}" = set; then
2558 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2561 # Check whether --with-pm or --without-pm was given.
2562 if test "${with_pm+set}" = set; then
2564 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2567 # Check whether --with-mgl or --without-mgl was given.
2568 if test "${with_mgl+set}" = set; then
2570 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2573 # Check whether --with-microwin or --without-microwin was given.
2574 if test "${with_microwin+set}" = set; then
2575 withval
="$with_microwin"
2576 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2579 # Check whether --with-x11 or --without-x11 was given.
2580 if test "${with_x11+set}" = set; then
2582 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2587 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2589 # Check whether --enable-nanox or --disable-nanox was given.
2590 if test "${enable_nanox+set}" = set; then
2591 enableval
="$enable_nanox"
2593 if test "$enableval" = yes; then
2594 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2596 ac_cv_use_nanox
='wxUSE_NANOX=no'
2601 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2602 if test "x$LINE" != x
; then
2603 eval "DEFAULT_$LINE"
2608 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2612 eval "$ac_cv_use_nanox"
2613 if test "$no_cache" != 1; then
2614 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2617 if test "$wxUSE_NANOX" = yes; then
2618 echo "$as_me:$LINENO: result: yes" >&5
2619 echo "${ECHO_T}yes" >&6
2621 echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6
2628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2629 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2631 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2632 if test "${enable_gtk2+set}" = set; then
2633 enableval
="$enable_gtk2"
2635 if test "$enableval" = yes; then
2636 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2638 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2643 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x
; then
2645 eval "DEFAULT_$LINE"
2650 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2654 eval "$ac_cv_use_gtk2"
2655 if test "$no_cache" != 1; then
2656 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2659 if test "$wxUSE_GTK2" = yes; then
2660 echo "$as_me:$LINENO: result: yes" >&5
2661 echo "${ECHO_T}yes" >&6
2663 echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2670 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2672 # Check whether --enable-gpe or --disable-gpe was given.
2673 if test "${enable_gpe+set}" = set; then
2674 enableval
="$enable_gpe"
2676 if test "$enableval" = yes; then
2677 ac_cv_use_gpe
='wxUSE_GPE=yes'
2679 ac_cv_use_gpe
='wxUSE_GPE=no'
2684 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x
; then
2686 eval "DEFAULT_$LINE"
2691 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2695 eval "$ac_cv_use_gpe"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_GPE" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2710 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2711 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2714 # Check whether --with-libpng or --without-libpng was given.
2715 if test "${with_libpng+set}" = set; then
2716 withval
="$with_libpng"
2718 if test "$withval" = yes; then
2719 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2720 elif test "$withval" = no
; then
2721 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2722 elif test "$withval" = sys
; then
2723 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2724 elif test "$withval" = builtin; then
2725 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2727 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2728 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2729 { (exit 1); exit 1; }; }
2734 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x
; then
2736 eval "DEFAULT_$LINE"
2741 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2745 eval "$ac_cv_use_libpng"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2750 if test "$wxUSE_LIBPNG" = yes; then
2751 echo "$as_me:$LINENO: result: yes" >&5
2752 echo "${ECHO_T}yes" >&6
2753 elif test "$wxUSE_LIBPNG" = no
; then
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2756 elif test "$wxUSE_LIBPNG" = sys
; then
2757 echo "$as_me:$LINENO: result: system version" >&5
2758 echo "${ECHO_T}system version" >&6
2759 elif test "$wxUSE_LIBPNG" = builtin; then
2760 echo "$as_me:$LINENO: result: builtin version" >&5
2761 echo "${ECHO_T}builtin version" >&6
2763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2764 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2765 { (exit 1); exit 1; }; }
2769 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2770 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2773 # Check whether --with-libjpeg or --without-libjpeg was given.
2774 if test "${with_libjpeg+set}" = set; then
2775 withval
="$with_libjpeg"
2777 if test "$withval" = yes; then
2778 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2779 elif test "$withval" = no
; then
2780 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2781 elif test "$withval" = sys
; then
2782 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2783 elif test "$withval" = builtin; then
2784 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2787 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2788 { (exit 1); exit 1; }; }
2793 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x
; then
2795 eval "DEFAULT_$LINE"
2800 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2804 eval "$ac_cv_use_libjpeg"
2805 if test "$no_cache" != 1; then
2806 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2809 if test "$wxUSE_LIBJPEG" = yes; then
2810 echo "$as_me:$LINENO: result: yes" >&5
2811 echo "${ECHO_T}yes" >&6
2812 elif test "$wxUSE_LIBJPEG" = no
; then
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2815 elif test "$wxUSE_LIBJPEG" = sys
; then
2816 echo "$as_me:$LINENO: result: system version" >&5
2817 echo "${ECHO_T}system version" >&6
2818 elif test "$wxUSE_LIBJPEG" = builtin; then
2819 echo "$as_me:$LINENO: result: builtin version" >&5
2820 echo "${ECHO_T}builtin version" >&6
2822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2823 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2824 { (exit 1); exit 1; }; }
2828 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2829 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2832 # Check whether --with-libtiff or --without-libtiff was given.
2833 if test "${with_libtiff+set}" = set; then
2834 withval
="$with_libtiff"
2836 if test "$withval" = yes; then
2837 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2838 elif test "$withval" = no
; then
2839 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2840 elif test "$withval" = sys
; then
2841 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2842 elif test "$withval" = builtin; then
2843 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2845 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2846 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2847 { (exit 1); exit 1; }; }
2852 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2853 if test "x$LINE" != x
; then
2854 eval "DEFAULT_$LINE"
2859 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2863 eval "$ac_cv_use_libtiff"
2864 if test "$no_cache" != 1; then
2865 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2868 if test "$wxUSE_LIBTIFF" = yes; then
2869 echo "$as_me:$LINENO: result: yes" >&5
2870 echo "${ECHO_T}yes" >&6
2871 elif test "$wxUSE_LIBTIFF" = no
; then
2872 echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6
2874 elif test "$wxUSE_LIBTIFF" = sys
; then
2875 echo "$as_me:$LINENO: result: system version" >&5
2876 echo "${ECHO_T}system version" >&6
2877 elif test "$wxUSE_LIBTIFF" = builtin; then
2878 echo "$as_me:$LINENO: result: builtin version" >&5
2879 echo "${ECHO_T}builtin version" >&6
2881 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2882 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2883 { (exit 1); exit 1; }; }
2887 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2888 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2891 # Check whether --with-libxpm or --without-libxpm was given.
2892 if test "${with_libxpm+set}" = set; then
2893 withval
="$with_libxpm"
2895 if test "$withval" = yes; then
2896 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2897 elif test "$withval" = no
; then
2898 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2899 elif test "$withval" = sys
; then
2900 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2901 elif test "$withval" = builtin; then
2902 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2904 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2905 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2906 { (exit 1); exit 1; }; }
2911 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x
; then
2913 eval "DEFAULT_$LINE"
2918 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2922 eval "$ac_cv_use_libxpm"
2923 if test "$no_cache" != 1; then
2924 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2927 if test "$wxUSE_LIBXPM" = yes; then
2928 echo "$as_me:$LINENO: result: yes" >&5
2929 echo "${ECHO_T}yes" >&6
2930 elif test "$wxUSE_LIBXPM" = no
; then
2931 echo "$as_me:$LINENO: result: no" >&5
2932 echo "${ECHO_T}no" >&6
2933 elif test "$wxUSE_LIBXPM" = sys
; then
2934 echo "$as_me:$LINENO: result: system version" >&5
2935 echo "${ECHO_T}system version" >&6
2936 elif test "$wxUSE_LIBXPM" = builtin; then
2937 echo "$as_me:$LINENO: result: builtin version" >&5
2938 echo "${ECHO_T}builtin version" >&6
2940 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2941 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2942 { (exit 1); exit 1; }; }
2946 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2947 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2950 # Check whether --with-libmspack or --without-libmspack was given.
2951 if test "${with_libmspack+set}" = set; then
2952 withval
="$with_libmspack"
2954 if test "$withval" = yes; then
2955 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2957 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2962 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x
; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2973 eval "$ac_cv_use_libmspack"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_LIBMSPACK" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2987 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2988 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2991 # Check whether --with-sdl or --without-sdl was given.
2992 if test "${with_sdl+set}" = set; then
2995 if test "$withval" = yes; then
2996 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
2998 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3003 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x
; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3014 eval "$ac_cv_use_sdl"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3019 if test "$wxUSE_LIBSDL" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3028 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3029 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3032 # Check whether --with-opengl or --without-opengl was given.
3033 if test "${with_opengl+set}" = set; then
3034 withval
="$with_opengl"
3036 if test "$withval" = yes; then
3037 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3039 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3044 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x
; then
3046 eval "DEFAULT_$LINE"
3051 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3055 eval "$ac_cv_use_opengl"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3060 if test "$wxUSE_OPENGL" = yes; then
3061 echo "$as_me:$LINENO: result: yes" >&5
3062 echo "${ECHO_T}yes" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3072 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3073 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3076 # Check whether --with-dmalloc or --without-dmalloc was given.
3077 if test "${with_dmalloc+set}" = set; then
3078 withval
="$with_dmalloc"
3080 if test "$withval" = yes; then
3081 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3083 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3088 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3089 if test "x$LINE" != x
; then
3090 eval "DEFAULT_$LINE"
3095 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3099 eval "$ac_cv_use_dmalloc"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3104 if test "$wxUSE_DMALLOC" = yes; then
3105 echo "$as_me:$LINENO: result: yes" >&5
3106 echo "${ECHO_T}yes" >&6
3108 echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6
3113 echo "$as_me:$LINENO: checking for --with-regex" >&5
3114 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3117 # Check whether --with-regex or --without-regex was given.
3118 if test "${with_regex+set}" = set; then
3119 withval
="$with_regex"
3121 if test "$withval" = yes; then
3122 ac_cv_use_regex
='wxUSE_REGEX=yes'
3123 elif test "$withval" = no
; then
3124 ac_cv_use_regex
='wxUSE_REGEX=no'
3125 elif test "$withval" = sys
; then
3126 ac_cv_use_regex
='wxUSE_REGEX=sys'
3127 elif test "$withval" = builtin; then
3128 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3130 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3131 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3132 { (exit 1); exit 1; }; }
3137 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3148 eval "$ac_cv_use_regex"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_REGEX" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3156 elif test "$wxUSE_REGEX" = no
; then
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3159 elif test "$wxUSE_REGEX" = sys
; then
3160 echo "$as_me:$LINENO: result: system version" >&5
3161 echo "${ECHO_T}system version" >&6
3162 elif test "$wxUSE_REGEX" = builtin; then
3163 echo "$as_me:$LINENO: result: builtin version" >&5
3164 echo "${ECHO_T}builtin version" >&6
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3172 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3173 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3176 # Check whether --with-zlib or --without-zlib was given.
3177 if test "${with_zlib+set}" = set; then
3178 withval
="$with_zlib"
3180 if test "$withval" = yes; then
3181 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3182 elif test "$withval" = no
; then
3183 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3184 elif test "$withval" = sys
; then
3185 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3186 elif test "$withval" = builtin; then
3187 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3189 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3190 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3191 { (exit 1); exit 1; }; }
3196 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x
; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3207 eval "$ac_cv_use_zlib"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_ZLIB" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3215 elif test "$wxUSE_ZLIB" = no
; then
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3218 elif test "$wxUSE_ZLIB" = sys
; then
3219 echo "$as_me:$LINENO: result: system version" >&5
3220 echo "${ECHO_T}system version" >&6
3221 elif test "$wxUSE_ZLIB" = builtin; then
3222 echo "$as_me:$LINENO: result: builtin version" >&5
3223 echo "${ECHO_T}builtin version" >&6
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3231 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3232 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3235 # Check whether --with-odbc or --without-odbc was given.
3236 if test "${with_odbc+set}" = set; then
3237 withval
="$with_odbc"
3239 if test "$withval" = yes; then
3240 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3241 elif test "$withval" = no
; then
3242 ac_cv_use_odbc
='wxUSE_ODBC=no'
3243 elif test "$withval" = sys
; then
3244 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3245 elif test "$withval" = builtin; then
3246 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3248 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3249 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3250 { (exit 1); exit 1; }; }
3255 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x
; then
3257 eval "DEFAULT_$LINE"
3262 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3266 eval "$ac_cv_use_odbc"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3271 if test "$wxUSE_ODBC" = yes; then
3272 echo "$as_me:$LINENO: result: yes" >&5
3273 echo "${ECHO_T}yes" >&6
3274 elif test "$wxUSE_ODBC" = no
; then
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3277 elif test "$wxUSE_ODBC" = sys
; then
3278 echo "$as_me:$LINENO: result: system version" >&5
3279 echo "${ECHO_T}system version" >&6
3280 elif test "$wxUSE_ODBC" = builtin; then
3281 echo "$as_me:$LINENO: result: builtin version" >&5
3282 echo "${ECHO_T}builtin version" >&6
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3290 echo "$as_me:$LINENO: checking for --with-expat" >&5
3291 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3294 # Check whether --with-expat or --without-expat was given.
3295 if test "${with_expat+set}" = set; then
3296 withval
="$with_expat"
3298 if test "$withval" = yes; then
3299 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3300 elif test "$withval" = no
; then
3301 ac_cv_use_expat
='wxUSE_EXPAT=no'
3302 elif test "$withval" = sys
; then
3303 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3304 elif test "$withval" = builtin; then
3305 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3307 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3308 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3309 { (exit 1); exit 1; }; }
3314 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3315 if test "x$LINE" != x
; then
3316 eval "DEFAULT_$LINE"
3321 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3325 eval "$ac_cv_use_expat"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3330 if test "$wxUSE_EXPAT" = yes; then
3331 echo "$as_me:$LINENO: result: yes" >&5
3332 echo "${ECHO_T}yes" >&6
3333 elif test "$wxUSE_EXPAT" = no
; then
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3336 elif test "$wxUSE_EXPAT" = sys
; then
3337 echo "$as_me:$LINENO: result: system version" >&5
3338 echo "${ECHO_T}system version" >&6
3339 elif test "$wxUSE_EXPAT" = builtin; then
3340 echo "$as_me:$LINENO: result: builtin version" >&5
3341 echo "${ECHO_T}builtin version" >&6
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3353 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3355 # Check whether --enable-shared or --disable-shared was given.
3356 if test "${enable_shared+set}" = set; then
3357 enableval
="$enable_shared"
3359 if test "$enableval" = yes; then
3360 ac_cv_use_shared
='wxUSE_SHARED=yes'
3362 ac_cv_use_shared
='wxUSE_SHARED=no'
3367 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x
; then
3369 eval "DEFAULT_$LINE"
3374 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3378 eval "$ac_cv_use_shared"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_SHARED" = yes; then
3384 echo "$as_me:$LINENO: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3396 # Check whether --enable-optimise or --disable-optimise was given.
3397 if test "${enable_optimise+set}" = set; then
3398 enableval
="$enable_optimise"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3403 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3408 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3419 eval "$ac_cv_use_optimise"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_OPTIMISE" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3437 # Check whether --enable-debug or --disable-debug was given.
3438 if test "${enable_debug+set}" = set; then
3439 enableval
="$enable_debug"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3444 ac_cv_use_debug
='wxUSE_DEBUG=no'
3449 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x
; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3460 eval "$ac_cv_use_debug"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_DEBUG" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3478 # Check whether --enable-stl or --disable-stl was given.
3479 if test "${enable_stl+set}" = set; then
3480 enableval
="$enable_stl"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_stl
='wxUSE_STL=yes'
3485 ac_cv_use_stl
='wxUSE_STL=no'
3490 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x
; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3501 eval "$ac_cv_use_stl"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_STL" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3514 if test "$USE_OS2" = "1"; then
3517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3520 # Check whether --enable-omf or --disable-omf was given.
3521 if test "${enable_omf+set}" = set; then
3522 enableval
="$enable_omf"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_omf
='wxUSE_OMF=yes'
3527 ac_cv_use_omf
='wxUSE_OMF=no'
3532 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3543 eval "$ac_cv_use_omf"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_OMF" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3558 if test "$wxUSE_DEBUG" = "yes"; then
3559 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3560 DEFAULT_wxUSE_DEBUG_INFO
=yes
3562 elif test "$wxUSE_DEBUG" = "no"; then
3563 DEFAULT_wxUSE_DEBUG_FLAG
=no
3564 DEFAULT_wxUSE_DEBUG_INFO
=no
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3573 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3574 if test "${enable_debug_flag+set}" = set; then
3575 enableval
="$enable_debug_flag"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3580 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3585 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3596 eval "$ac_cv_use_debug_flag"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_DEBUG_FLAG" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3614 # Check whether --enable-debug_info or --disable-debug_info was given.
3615 if test "${enable_debug_info+set}" = set; then
3616 enableval
="$enable_debug_info"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3621 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3626 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3637 eval "$ac_cv_use_debug_info"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_DEBUG_INFO" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3653 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3655 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3656 if test "${enable_debug_gdb+set}" = set; then
3657 enableval
="$enable_debug_gdb"
3659 if test "$enableval" = yes; then
3660 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3662 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3667 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x
; then
3669 eval "DEFAULT_$LINE"
3674 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3678 eval "$ac_cv_use_debug_gdb"
3679 if test "$no_cache" != 1; then
3680 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3683 if test "$wxUSE_DEBUG_GDB" = yes; then
3684 echo "$as_me:$LINENO: result: yes" >&5
3685 echo "${ECHO_T}yes" >&6
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3694 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3696 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3697 if test "${enable_debug_cntxt+set}" = set; then
3698 enableval
="$enable_debug_cntxt"
3700 if test "$enableval" = yes; then
3701 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3703 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3708 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x
; then
3710 eval "DEFAULT_$LINE"
3715 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3719 eval "$ac_cv_use_debug_cntxt"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3735 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3737 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3738 if test "${enable_mem_tracing+set}" = set; then
3739 enableval
="$enable_mem_tracing"
3741 if test "$enableval" = yes; then
3742 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3744 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3749 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x
; then
3751 eval "DEFAULT_$LINE"
3756 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3760 eval "$ac_cv_use_mem_tracing"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3765 if test "$wxUSE_MEM_TRACING" = yes; then
3766 echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6
3769 echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6
3775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3776 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3778 # Check whether --enable-profile or --disable-profile was given.
3779 if test "${enable_profile+set}" = set; then
3780 enableval
="$enable_profile"
3782 if test "$enableval" = yes; then
3783 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3785 ac_cv_use_profile
='wxUSE_PROFILE=no'
3790 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3791 if test "x$LINE" != x
; then
3792 eval "DEFAULT_$LINE"
3797 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3801 eval "$ac_cv_use_profile"
3802 if test "$no_cache" != 1; then
3803 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3806 if test "$wxUSE_PROFILE" = yes; then
3807 echo "$as_me:$LINENO: result: yes" >&5
3808 echo "${ECHO_T}yes" >&6
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3817 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3819 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3820 if test "${enable_no_rtti+set}" = set; then
3821 enableval
="$enable_no_rtti"
3823 if test "$enableval" = yes; then
3824 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3826 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3831 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x
; then
3833 eval "DEFAULT_$LINE"
3838 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3842 eval "$ac_cv_use_no_rtti"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_NO_RTTI" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6
3851 echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3858 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3860 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3861 if test "${enable_no_exceptions+set}" = set; then
3862 enableval
="$enable_no_exceptions"
3864 if test "$enableval" = yes; then
3865 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3867 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3872 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x
; then
3874 eval "DEFAULT_$LINE"
3879 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3883 eval "$ac_cv_use_no_exceptions"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3888 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3899 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3901 # Check whether --enable-permissive or --disable-permissive was given.
3902 if test "${enable_permissive+set}" = set; then
3903 enableval
="$enable_permissive"
3905 if test "$enableval" = yes; then
3906 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3908 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3913 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x
; then
3915 eval "DEFAULT_$LINE"
3920 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3924 eval "$ac_cv_use_permissive"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_PERMISSIVE" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931 echo "${ECHO_T}yes" >&6
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3942 # Check whether --enable-no_deps or --disable-no_deps was given.
3943 if test "${enable_no_deps+set}" = set; then
3944 enableval
="$enable_no_deps"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3949 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3954 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3965 eval "$ac_cv_use_no_deps"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_NO_DEPS" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3982 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3984 # Check whether --enable-compat22 or --disable-compat22 was given.
3985 if test "${enable_compat22+set}" = set; then
3986 enableval
="$enable_compat22"
3988 if test "$enableval" = yes; then
3989 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3991 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3996 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x
; then
3998 eval "DEFAULT_$LINE"
4003 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4007 eval "$ac_cv_use_compat22"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4012 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4013 echo "$as_me:$LINENO: result: yes" >&5
4014 echo "${ECHO_T}yes" >&6
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4021 enablestring
=disable
4022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4023 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4025 # Check whether --enable-compat24 or --disable-compat24 was given.
4026 if test "${enable_compat24+set}" = set; then
4027 enableval
="$enable_compat24"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4032 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4037 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x
; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4048 eval "$ac_cv_use_compat24"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4053 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4054 echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4062 # Check whether --enable-rpath or --disable-rpath was given.
4063 if test "${enable_rpath+set}" = set; then
4064 enableval
="$enable_rpath"
4065 wxRPATH_DIR
="$enableval"
4068 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4069 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4077 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4079 # Check whether --enable-intl or --disable-intl was given.
4080 if test "${enable_intl+set}" = set; then
4081 enableval
="$enable_intl"
4083 if test "$enableval" = yes; then
4084 ac_cv_use_intl
='wxUSE_INTL=yes'
4086 ac_cv_use_intl
='wxUSE_INTL=no'
4091 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4092 if test "x$LINE" != x
; then
4093 eval "DEFAULT_$LINE"
4098 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4102 eval "$ac_cv_use_intl"
4103 if test "$no_cache" != 1; then
4104 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4107 if test "$wxUSE_INTL" = yes; then
4108 echo "$as_me:$LINENO: result: yes" >&5
4109 echo "${ECHO_T}yes" >&6
4111 echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4118 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4120 # Check whether --enable-config or --disable-config was given.
4121 if test "${enable_config+set}" = set; then
4122 enableval
="$enable_config"
4124 if test "$enableval" = yes; then
4125 ac_cv_use_config
='wxUSE_CONFIG=yes'
4127 ac_cv_use_config
='wxUSE_CONFIG=no'
4132 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x
; then
4134 eval "DEFAULT_$LINE"
4139 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4143 eval "$ac_cv_use_config"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4148 if test "$wxUSE_CONFIG" = yes; then
4149 echo "$as_me:$LINENO: result: yes" >&5
4150 echo "${ECHO_T}yes" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4160 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4162 # Check whether --enable-protocols or --disable-protocols was given.
4163 if test "${enable_protocols+set}" = set; then
4164 enableval
="$enable_protocols"
4166 if test "$enableval" = yes; then
4167 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4169 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4174 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x
; then
4176 eval "DEFAULT_$LINE"
4181 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4185 eval "$ac_cv_use_protocols"
4186 if test "$no_cache" != 1; then
4187 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4190 if test "$wxUSE_PROTOCOL" = yes; then
4191 echo "$as_me:$LINENO: result: yes" >&5
4192 echo "${ECHO_T}yes" >&6
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4201 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4203 # Check whether --enable-ftp or --disable-ftp was given.
4204 if test "${enable_ftp+set}" = set; then
4205 enableval
="$enable_ftp"
4207 if test "$enableval" = yes; then
4208 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4210 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4215 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x
; then
4217 eval "DEFAULT_$LINE"
4222 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4226 eval "$ac_cv_use_ftp"
4227 if test "$no_cache" != 1; then
4228 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4231 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4232 echo "$as_me:$LINENO: result: yes" >&5
4233 echo "${ECHO_T}yes" >&6
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4244 # Check whether --enable-http or --disable-http was given.
4245 if test "${enable_http+set}" = set; then
4246 enableval
="$enable_http"
4248 if test "$enableval" = yes; then
4249 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4251 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4256 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x
; then
4258 eval "DEFAULT_$LINE"
4263 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4267 eval "$ac_cv_use_http"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4285 # Check whether --enable-fileproto or --disable-fileproto was given.
4286 if test "${enable_fileproto+set}" = set; then
4287 enableval
="$enable_fileproto"
4289 if test "$enableval" = yes; then
4290 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4292 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4297 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x
; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4308 eval "$ac_cv_use_fileproto"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4326 # Check whether --enable-sockets or --disable-sockets was given.
4327 if test "${enable_sockets+set}" = set; then
4328 enableval
="$enable_sockets"
4330 if test "$enableval" = yes; then
4331 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4333 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4338 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x
; then
4340 eval "DEFAULT_$LINE"
4345 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4349 eval "$ac_cv_use_sockets"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4354 if test "$wxUSE_SOCKETS" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4367 # Check whether --enable-ole or --disable-ole was given.
4368 if test "${enable_ole+set}" = set; then
4369 enableval
="$enable_ole"
4371 if test "$enableval" = yes; then
4372 ac_cv_use_ole
='wxUSE_OLE=yes'
4374 ac_cv_use_ole
='wxUSE_OLE=no'
4379 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x
; then
4381 eval "DEFAULT_$LINE"
4386 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4390 eval "$ac_cv_use_ole"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4395 if test "$wxUSE_OLE" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4408 # Check whether --enable-dataobj or --disable-dataobj was given.
4409 if test "${enable_dataobj+set}" = set; then
4410 enableval
="$enable_dataobj"
4412 if test "$enableval" = yes; then
4413 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4415 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4420 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x
; then
4422 eval "DEFAULT_$LINE"
4427 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4431 eval "$ac_cv_use_dataobj"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_DATAOBJ" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4450 # Check whether --enable-ipc or --disable-ipc was given.
4451 if test "${enable_ipc+set}" = set; then
4452 enableval
="$enable_ipc"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_ipc
='wxUSE_IPC=yes'
4457 ac_cv_use_ipc
='wxUSE_IPC=no'
4462 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x
; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4473 eval "$ac_cv_use_ipc"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_IPC" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4492 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4493 if test "${enable_apple_ieee+set}" = set; then
4494 enableval
="$enable_apple_ieee"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4499 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4504 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4515 eval "$ac_cv_use_apple_ieee"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_APPLE_IEEE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4533 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4534 if test "${enable_catch_segvs+set}" = set; then
4535 enableval
="$enable_catch_segvs"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4540 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4545 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4556 eval "$ac_cv_use_catch_segvs"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4574 # Check whether --enable-cmdline or --disable-cmdline was given.
4575 if test "${enable_cmdline+set}" = set; then
4576 enableval
="$enable_cmdline"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4581 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4586 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4597 eval "$ac_cv_use_cmdline"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4615 # Check whether --enable-datetime or --disable-datetime was given.
4616 if test "${enable_datetime+set}" = set; then
4617 enableval
="$enable_datetime"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4622 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4627 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4638 eval "$ac_cv_use_datetime"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_DATETIME" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4656 # Check whether --enable-dialupman or --disable-dialupman was given.
4657 if test "${enable_dialupman+set}" = set; then
4658 enableval
="$enable_dialupman"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4663 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4668 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4679 eval "$ac_cv_use_dialupman"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4697 # Check whether --enable-dynlib or --disable-dynlib was given.
4698 if test "${enable_dynlib+set}" = set; then
4699 enableval
="$enable_dynlib"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4704 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4709 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4720 eval "$ac_cv_use_dynlib"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4738 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4739 if test "${enable_dynamicloader+set}" = set; then
4740 enableval
="$enable_dynamicloader"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4745 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4750 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4761 eval "$ac_cv_use_dynamicloader"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4779 # Check whether --enable-exceptions or --disable-exceptions was given.
4780 if test "${enable_exceptions+set}" = set; then
4781 enableval
="$enable_exceptions"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4786 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4791 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4802 eval "$ac_cv_use_exceptions"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_EXCEPTIONS" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4820 # Check whether --enable-ffile or --disable-ffile was given.
4821 if test "${enable_ffile+set}" = set; then
4822 enableval
="$enable_ffile"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4827 ac_cv_use_ffile
='wxUSE_FFILE=no'
4832 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4843 eval "$ac_cv_use_ffile"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_FFILE" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4861 # Check whether --enable-file or --disable-file was given.
4862 if test "${enable_file+set}" = set; then
4863 enableval
="$enable_file"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_file
='wxUSE_FILE=yes'
4868 ac_cv_use_file
='wxUSE_FILE=no'
4873 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x
; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4884 eval "$ac_cv_use_file"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4889 if test "$wxUSE_FILE" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4902 # Check whether --enable-filesystem or --disable-filesystem was given.
4903 if test "${enable_filesystem+set}" = set; then
4904 enableval
="$enable_filesystem"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4909 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4914 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x
; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4925 eval "$ac_cv_use_filesystem"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_FILESYSTEM" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4943 # Check whether --enable-fontmap or --disable-fontmap was given.
4944 if test "${enable_fontmap+set}" = set; then
4945 enableval
="$enable_fontmap"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4950 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4955 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4966 eval "$ac_cv_use_fontmap"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_FONTMAP" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4984 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4985 if test "${enable_fs_inet+set}" = set; then
4986 enableval
="$enable_fs_inet"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4991 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4996 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5007 eval "$ac_cv_use_fs_inet"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_FS_INET" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5025 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5026 if test "${enable_fs_zip+set}" = set; then
5027 enableval
="$enable_fs_zip"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5032 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5037 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5048 eval "$ac_cv_use_fs_zip"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_FS_ZIP" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5066 # Check whether --enable-geometry or --disable-geometry was given.
5067 if test "${enable_geometry+set}" = set; then
5068 enableval
="$enable_geometry"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5073 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5078 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5089 eval "$ac_cv_use_geometry"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_GEOMETRY" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5107 # Check whether --enable-log or --disable-log was given.
5108 if test "${enable_log+set}" = set; then
5109 enableval
="$enable_log"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_log
='wxUSE_LOG=yes'
5114 ac_cv_use_log
='wxUSE_LOG=no'
5119 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x
; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5130 eval "$ac_cv_use_log"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_LOG" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5148 # Check whether --enable-longlong or --disable-longlong was given.
5149 if test "${enable_longlong+set}" = set; then
5150 enableval
="$enable_longlong"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5155 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5160 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x
; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5171 eval "$ac_cv_use_longlong"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_LONGLONG" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5189 # Check whether --enable-mimetype or --disable-mimetype was given.
5190 if test "${enable_mimetype+set}" = set; then
5191 enableval
="$enable_mimetype"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5196 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5201 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5212 eval "$ac_cv_use_mimetype"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5217 if test "$wxUSE_MIMETYPE" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5230 # Check whether --enable-mslu or --disable-mslu was given.
5231 if test "${enable_mslu+set}" = set; then
5232 enableval
="$enable_mslu"
5234 if test "$enableval" = yes; then
5235 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5237 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5242 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x
; then
5244 eval "DEFAULT_$LINE"
5249 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5253 eval "$ac_cv_use_mslu"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_UNICODE_MSLU" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5271 # Check whether --enable-snglinst or --disable-snglinst was given.
5272 if test "${enable_snglinst+set}" = set; then
5273 enableval
="$enable_snglinst"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5278 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5283 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x
; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5294 eval "$ac_cv_use_snglinst"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5299 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5312 # Check whether --enable-streams or --disable-streams was given.
5313 if test "${enable_streams+set}" = set; then
5314 enableval
="$enable_streams"
5316 if test "$enableval" = yes; then
5317 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5319 ac_cv_use_streams
='wxUSE_STREAMS=no'
5324 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x
; then
5326 eval "DEFAULT_$LINE"
5331 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5335 eval "$ac_cv_use_streams"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_STREAMS" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5353 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5354 if test "${enable_std_iostreams+set}" = set; then
5355 enableval
="$enable_std_iostreams"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5360 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5365 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5376 eval "$ac_cv_use_std_iostreams"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_STD_IOSTREAM" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5394 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5395 if test "${enable_stopwatch+set}" = set; then
5396 enableval
="$enable_stopwatch"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5401 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5406 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x
; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5417 eval "$ac_cv_use_stopwatch"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5422 if test "$wxUSE_STOPWATCH" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5435 # Check whether --enable-system_options or --disable-system_options was given.
5436 if test "${enable_system_options+set}" = set; then
5437 enableval
="$enable_system_options"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5442 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5447 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5458 eval "$ac_cv_use_system_options"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5476 # Check whether --enable-textbuf or --disable-textbuf was given.
5477 if test "${enable_textbuf+set}" = set; then
5478 enableval
="$enable_textbuf"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5483 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5488 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5499 eval "$ac_cv_use_textbuf"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_TEXTBUFFER" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5517 # Check whether --enable-textfile or --disable-textfile was given.
5518 if test "${enable_textfile+set}" = set; then
5519 enableval
="$enable_textfile"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5524 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5529 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x
; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5540 eval "$ac_cv_use_textfile"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_TEXTFILE" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5558 # Check whether --enable-timer or --disable-timer was given.
5559 if test "${enable_timer+set}" = set; then
5560 enableval
="$enable_timer"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_timer
='wxUSE_TIMER=yes'
5565 ac_cv_use_timer
='wxUSE_TIMER=no'
5570 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5581 eval "$ac_cv_use_timer"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_TIMER" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5599 # Check whether --enable-unicode or --disable-unicode was given.
5600 if test "${enable_unicode+set}" = set; then
5601 enableval
="$enable_unicode"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5606 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5611 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5622 eval "$ac_cv_use_unicode"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_UNICODE" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5640 # Check whether --enable-sound or --disable-sound was given.
5641 if test "${enable_sound+set}" = set; then
5642 enableval
="$enable_sound"
5644 if test "$enableval" = yes; then
5645 ac_cv_use_sound
='wxUSE_SOUND=yes'
5647 ac_cv_use_sound
='wxUSE_SOUND=no'
5652 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x
; then
5654 eval "DEFAULT_$LINE"
5659 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5663 eval "$ac_cv_use_sound"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5668 if test "$wxUSE_SOUND" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5681 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5682 if test "${enable_wxprintfv+set}" = set; then
5683 enableval
="$enable_wxprintfv"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5688 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5693 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x
; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5704 eval "$ac_cv_use_wxprintfv"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5722 # Check whether --enable-zipstream or --disable-zipstream was given.
5723 if test "${enable_zipstream+set}" = set; then
5724 enableval
="$enable_zipstream"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5729 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5734 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x
; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5745 eval "$ac_cv_use_zipstream"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_ZIPSTREAM" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5764 # Check whether --enable-url or --disable-url was given.
5765 if test "${enable_url+set}" = set; then
5766 enableval
="$enable_url"
5768 if test "$enableval" = yes; then
5769 ac_cv_use_url
='wxUSE_URL=yes'
5771 ac_cv_use_url
='wxUSE_URL=no'
5776 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x
; then
5778 eval "DEFAULT_$LINE"
5783 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5787 eval "$ac_cv_use_url"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_URL" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5805 # Check whether --enable-protocol or --disable-protocol was given.
5806 if test "${enable_protocol+set}" = set; then
5807 enableval
="$enable_protocol"
5809 if test "$enableval" = yes; then
5810 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5812 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5817 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x
; then
5819 eval "DEFAULT_$LINE"
5824 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5828 eval "$ac_cv_use_protocol"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5833 if test "$wxUSE_PROTOCOL" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5846 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5847 if test "${enable_protocol_http+set}" = set; then
5848 enableval
="$enable_protocol_http"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5853 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5858 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5869 eval "$ac_cv_use_protocol_http"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5887 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5888 if test "${enable_protocol_ftp+set}" = set; then
5889 enableval
="$enable_protocol_ftp"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5894 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5899 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x
; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5910 eval "$ac_cv_use_protocol_ftp"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5928 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5929 if test "${enable_protocol_file+set}" = set; then
5930 enableval
="$enable_protocol_file"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5935 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5940 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5951 eval "$ac_cv_use_protocol_file"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_PROTOCOL_FILE" = 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
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5972 # Check whether --enable-threads or --disable-threads was given.
5973 if test "${enable_threads+set}" = set; then
5974 enableval
="$enable_threads"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_threads
='wxUSE_THREADS=yes'
5979 ac_cv_use_threads
='wxUSE_THREADS=no'
5984 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x
; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5995 eval "$ac_cv_use_threads"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_THREADS" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002 echo "${ECHO_T}yes" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6009 if test "$wxUSE_GUI" = "yes"; then
6014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6017 # Check whether --enable-docview or --disable-docview was given.
6018 if test "${enable_docview+set}" = set; then
6019 enableval
="$enable_docview"
6021 if test "$enableval" = yes; then
6022 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6024 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6029 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x
; then
6031 eval "DEFAULT_$LINE"
6036 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6040 eval "$ac_cv_use_docview"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6046 echo "$as_me:$LINENO: result: yes" >&5
6047 echo "${ECHO_T}yes" >&6
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6058 # Check whether --enable-help or --disable-help was given.
6059 if test "${enable_help+set}" = set; then
6060 enableval
="$enable_help"
6062 if test "$enableval" = yes; then
6063 ac_cv_use_help
='wxUSE_HELP=yes'
6065 ac_cv_use_help
='wxUSE_HELP=no'
6070 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x
; then
6072 eval "DEFAULT_$LINE"
6077 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6081 eval "$ac_cv_use_help"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6086 if test "$wxUSE_HELP" = yes; then
6087 echo "$as_me:$LINENO: result: yes" >&5
6088 echo "${ECHO_T}yes" >&6
6090 echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6099 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6100 if test "${enable_mshtmlhelp+set}" = set; then
6101 enableval
="$enable_mshtmlhelp"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6106 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6111 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6122 eval "$ac_cv_use_mshtmlhelp"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_MS_HTML_HELP" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6140 # Check whether --enable-html or --disable-html was given.
6141 if test "${enable_html+set}" = set; then
6142 enableval
="$enable_html"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_html
='wxUSE_HTML=yes'
6147 ac_cv_use_html
='wxUSE_HTML=no'
6152 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6163 eval "$ac_cv_use_html"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_HTML" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6181 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6182 if test "${enable_htmlhelp+set}" = set; then
6183 enableval
="$enable_htmlhelp"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6188 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6193 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6204 eval "$ac_cv_use_htmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_WXHTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6222 # Check whether --enable-constraints or --disable-constraints was given.
6223 if test "${enable_constraints+set}" = set; then
6224 enableval
="$enable_constraints"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6229 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6234 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6245 eval "$ac_cv_use_constraints"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_CONSTRAINTS" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6263 # Check whether --enable-printarch or --disable-printarch was given.
6264 if test "${enable_printarch+set}" = set; then
6265 enableval
="$enable_printarch"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6270 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6275 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6286 eval "$ac_cv_use_printarch"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6304 # Check whether --enable-mdi or --disable-mdi was given.
6305 if test "${enable_mdi+set}" = set; then
6306 enableval
="$enable_mdi"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_mdi
='wxUSE_MDI=yes'
6311 ac_cv_use_mdi
='wxUSE_MDI=no'
6316 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6327 eval "$ac_cv_use_mdi"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_MDI" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6345 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6346 if test "${enable_mdidoc+set}" = set; then
6347 enableval
="$enable_mdidoc"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6352 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6357 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6368 eval "$ac_cv_use_mdidoc"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6386 # Check whether --enable-loggui or --disable-loggui was given.
6387 if test "${enable_loggui+set}" = set; then
6388 enableval
="$enable_loggui"
6390 if test "$enableval" = yes; then
6391 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6393 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6398 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x
; then
6400 eval "DEFAULT_$LINE"
6405 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6409 eval "$ac_cv_use_loggui"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6414 if test "$wxUSE_LOGGUI" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6427 # Check whether --enable-logwin or --disable-logwin was given.
6428 if test "${enable_logwin+set}" = set; then
6429 enableval
="$enable_logwin"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6434 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6439 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x
; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6450 eval "$ac_cv_use_logwin"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6455 if test "$wxUSE_LOGWINDOW" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6468 # Check whether --enable-logdialog or --disable-logdialog was given.
6469 if test "${enable_logdialog+set}" = set; then
6470 enableval
="$enable_logdialog"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6475 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6480 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6491 eval "$ac_cv_use_logdialog"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6496 if test "$wxUSE_LOGDIALOG" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6510 # Check whether --enable-postscript or --disable-postscript was given.
6511 if test "${enable_postscript+set}" = set; then
6512 enableval
="$enable_postscript"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6517 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6522 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6533 eval "$ac_cv_use_postscript"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_POSTSCRIPT" = 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
6551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6554 # Check whether --enable-prologio or --disable-prologio was given.
6555 if test "${enable_prologio+set}" = set; then
6556 enableval
="$enable_prologio"
6558 if test "$enableval" = yes; then
6559 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6561 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6566 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6567 if test "x$LINE" != x
; then
6568 eval "DEFAULT_$LINE"
6573 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6577 eval "$ac_cv_use_prologio"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6582 if test "$wxUSE_PROLOGIO" = yes; then
6583 echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6
6586 echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6595 # Check whether --enable-resources or --disable-resources was given.
6596 if test "${enable_resources+set}" = set; then
6597 enableval
="$enable_resources"
6599 if test "$enableval" = yes; then
6600 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6602 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6607 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x
; then
6609 eval "DEFAULT_$LINE"
6614 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6618 eval "$ac_cv_use_resources"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_RESOURCES" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6638 # Check whether --enable-clipboard or --disable-clipboard was given.
6639 if test "${enable_clipboard+set}" = set; then
6640 enableval
="$enable_clipboard"
6642 if test "$enableval" = yes; then
6643 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6645 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6650 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x
; then
6652 eval "DEFAULT_$LINE"
6657 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6661 eval "$ac_cv_use_clipboard"
6662 if test "$no_cache" != 1; then
6663 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6666 if test "$wxUSE_CLIPBOARD" = yes; then
6667 echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6
6670 echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6679 # Check whether --enable-dnd or --disable-dnd was given.
6680 if test "${enable_dnd+set}" = set; then
6681 enableval
="$enable_dnd"
6683 if test "$enableval" = yes; then
6684 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6686 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6691 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x
; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6702 eval "$ac_cv_use_dnd"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_DRAG_AND_DROP" = 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
6717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6720 # Check whether --enable-metafile or --disable-metafile was given.
6721 if test "${enable_metafile+set}" = set; then
6722 enableval
="$enable_metafile"
6724 if test "$enableval" = yes; then
6725 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6727 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6732 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x
; then
6734 eval "DEFAULT_$LINE"
6739 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6743 eval "$ac_cv_use_metafile"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6748 if test "$wxUSE_METAFILE" = yes; then
6749 echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6
6752 echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6764 # Check whether --enable-controls or --disable-controls was given.
6765 if test "${enable_controls+set}" = set; then
6766 enableval
="$enable_controls"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6771 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6776 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x
; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6787 eval "$ac_cv_use_controls"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6792 if test "$wxUSE_CONTROLS" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6801 if test "$wxUSE_CONTROLS" = "yes"; then
6802 DEFAULT_wxUSE_ACCEL
=yes
6803 DEFAULT_wxUSE_BMPBUTTON
=yes
6804 DEFAULT_wxUSE_BUTTON
=yes
6805 DEFAULT_wxUSE_CALCTRL
=no
6806 DEFAULT_wxUSE_CARET
=yes
6807 DEFAULT_wxUSE_COMBOBOX
=yes
6808 DEFAULT_wxUSE_CHECKBOX
=yes
6809 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6810 DEFAULT_wxUSE_CHOICE
=yes
6811 DEFAULT_wxUSE_GAUGE
=yes
6812 DEFAULT_wxUSE_GRID
=yes
6813 DEFAULT_wxUSE_IMAGLIST
=yes
6814 DEFAULT_wxUSE_LISTBOOK
=yes
6815 DEFAULT_wxUSE_LISTBOX
=yes
6816 DEFAULT_wxUSE_LISTCTRL
=yes
6817 DEFAULT_wxUSE_NOTEBOOK
=yes
6818 DEFAULT_wxUSE_RADIOBOX
=yes
6819 DEFAULT_wxUSE_RADIOBTN
=yes
6820 DEFAULT_wxUSE_SASH
=yes
6821 DEFAULT_wxUSE_SCROLLBAR
=yes
6822 DEFAULT_wxUSE_SLIDER
=yes
6823 DEFAULT_wxUSE_SPINBTN
=yes
6824 DEFAULT_wxUSE_SPINCTRL
=yes
6825 DEFAULT_wxUSE_SPLITTER
=yes
6826 DEFAULT_wxUSE_STATBMP
=yes
6827 DEFAULT_wxUSE_STATBOX
=yes
6828 DEFAULT_wxUSE_STATLINE
=yes
6829 DEFAULT_wxUSE_STATUSBAR
=yes
6830 DEFAULT_wxUSE_TAB_DIALOG
=yes
6831 DEFAULT_wxUSE_TOGGLEBTN
=yes
6832 DEFAULT_wxUSE_TOOLBAR
=yes
6833 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6834 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6835 DEFAULT_wxUSE_TOOLTIPS
=yes
6836 DEFAULT_wxUSE_TREECTRL
=yes
6837 DEFAULT_wxUSE_POPUPWIN
=yes
6838 DEFAULT_wxUSE_TIPWINDOW
=yes
6839 elif test "$wxUSE_CONTROLS" = "no"; then
6840 DEFAULT_wxUSE_ACCEL
=no
6841 DEFAULT_wxUSE_BMPBUTTON
=no
6842 DEFAULT_wxUSE_BUTTON
=no
6843 DEFAULT_wxUSE_CALCTRL
=no
6844 DEFAULT_wxUSE_CARET
=no
6845 DEFAULT_wxUSE_COMBOBOX
=no
6846 DEFAULT_wxUSE_CHECKBOX
=no
6847 DEFAULT_wxUSE_CHECKLISTBOX
=no
6848 DEFAULT_wxUSE_CHOICE
=no
6849 DEFAULT_wxUSE_GAUGE
=no
6850 DEFAULT_wxUSE_GRID
=no
6851 DEFAULT_wxUSE_IMAGLIST
=no
6852 DEFAULT_wxUSE_LISTBOOK
=no
6853 DEFAULT_wxUSE_LISTBOX
=no
6854 DEFAULT_wxUSE_LISTCTRL
=no
6855 DEFAULT_wxUSE_NOTEBOOK
=no
6856 DEFAULT_wxUSE_RADIOBOX
=no
6857 DEFAULT_wxUSE_RADIOBTN
=no
6858 DEFAULT_wxUSE_SASH
=no
6859 DEFAULT_wxUSE_SCROLLBAR
=no
6860 DEFAULT_wxUSE_SLIDER
=no
6861 DEFAULT_wxUSE_SPINBTN
=no
6862 DEFAULT_wxUSE_SPINCTRL
=no
6863 DEFAULT_wxUSE_SPLITTER
=no
6864 DEFAULT_wxUSE_STATBMP
=no
6865 DEFAULT_wxUSE_STATBOX
=no
6866 DEFAULT_wxUSE_STATLINE
=no
6867 DEFAULT_wxUSE_STATUSBAR
=no
6868 DEFAULT_wxUSE_TAB_DIALOG
=no
6869 DEFAULT_wxUSE_TOGGLEBTN
=no
6870 DEFAULT_wxUSE_TOOLBAR
=no
6871 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6872 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6873 DEFAULT_wxUSE_TOOLTIPS
=no
6874 DEFAULT_wxUSE_TREECTRL
=no
6875 DEFAULT_wxUSE_POPUPWIN
=no
6876 DEFAULT_wxUSE_TIPWINDOW
=no
6879 ## FIXME: This is a blatant hack
6880 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6881 wxUSE_PRINTING_ARCHITECTURE
=no
6882 wxUSE_DRAG_AND_DROP
=no
6883 # Generic notebook requires tab dialog
6884 DEFAULT_wxUSE_TABDIALOG
=yes
6885 DEFAULT_wxUSE_SCROLLBAR
=no
6886 DEFAULT_wxUSE_TOOLTIPS
=no
6887 DEFAULT_wxUSE_DRAGIMAGE
=no
6892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6895 # Check whether --enable-accel or --disable-accel was given.
6896 if test "${enable_accel+set}" = set; then
6897 enableval
="$enable_accel"
6899 if test "$enableval" = yes; then
6900 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6902 ac_cv_use_accel
='wxUSE_ACCEL=no'
6907 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x
; then
6909 eval "DEFAULT_$LINE"
6914 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6918 eval "$ac_cv_use_accel"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6923 if test "$wxUSE_ACCEL" = yes; then
6924 echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6927 echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6936 # Check whether --enable-button or --disable-button was given.
6937 if test "${enable_button+set}" = set; then
6938 enableval
="$enable_button"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_button
='wxUSE_BUTTON=yes'
6943 ac_cv_use_button
='wxUSE_BUTTON=no'
6948 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x
; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6959 eval "$ac_cv_use_button"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6964 if test "$wxUSE_BUTTON" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6977 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6978 if test "${enable_bmpbutton+set}" = set; then
6979 enableval
="$enable_bmpbutton"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6984 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6989 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x
; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7000 eval "$ac_cv_use_bmpbutton"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_BMPBUTTON" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7018 # Check whether --enable-calendar or --disable-calendar was given.
7019 if test "${enable_calendar+set}" = set; then
7020 enableval
="$enable_calendar"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7025 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7030 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x
; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7041 eval "$ac_cv_use_calendar"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_CALCTRL" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7059 # Check whether --enable-caret or --disable-caret was given.
7060 if test "${enable_caret+set}" = set; then
7061 enableval
="$enable_caret"
7063 if test "$enableval" = yes; then
7064 ac_cv_use_caret
='wxUSE_CARET=yes'
7066 ac_cv_use_caret
='wxUSE_CARET=no'
7071 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x
; then
7073 eval "DEFAULT_$LINE"
7078 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7082 eval "$ac_cv_use_caret"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_CARET" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7100 # Check whether --enable-checkbox or --disable-checkbox was given.
7101 if test "${enable_checkbox+set}" = set; then
7102 enableval
="$enable_checkbox"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7107 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7112 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x
; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7123 eval "$ac_cv_use_checkbox"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7128 if test "$wxUSE_CHECKBOX" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7141 # Check whether --enable-checklst or --disable-checklst was given.
7142 if test "${enable_checklst+set}" = set; then
7143 enableval
="$enable_checklst"
7145 if test "$enableval" = yes; then
7146 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7148 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7153 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x
; then
7155 eval "DEFAULT_$LINE"
7160 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7164 eval "$ac_cv_use_checklst"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_CHECKLST" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7182 # Check whether --enable-choice or --disable-choice was given.
7183 if test "${enable_choice+set}" = set; then
7184 enableval
="$enable_choice"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7189 ac_cv_use_choice
='wxUSE_CHOICE=no'
7194 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x
; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7205 eval "$ac_cv_use_choice"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_CHOICE" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7223 # Check whether --enable-combobox or --disable-combobox was given.
7224 if test "${enable_combobox+set}" = set; then
7225 enableval
="$enable_combobox"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7230 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7235 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x
; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7246 eval "$ac_cv_use_combobox"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_COMBOBOX" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7264 # Check whether --enable-display or --disable-display was given.
7265 if test "${enable_display+set}" = set; then
7266 enableval
="$enable_display"
7268 if test "$enableval" = yes; then
7269 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7271 ac_cv_use_display
='wxUSE_DISPLAY=no'
7276 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x
; then
7278 eval "DEFAULT_$LINE"
7283 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7287 eval "$ac_cv_use_display"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_DISPLAY" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7305 # Check whether --enable-gauge or --disable-gauge was given.
7306 if test "${enable_gauge+set}" = set; then
7307 enableval
="$enable_gauge"
7309 if test "$enableval" = yes; then
7310 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7312 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7317 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x
; then
7319 eval "DEFAULT_$LINE"
7324 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7328 eval "$ac_cv_use_gauge"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_GAUGE" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7346 # Check whether --enable-grid or --disable-grid was given.
7347 if test "${enable_grid+set}" = set; then
7348 enableval
="$enable_grid"
7350 if test "$enableval" = yes; then
7351 ac_cv_use_grid
='wxUSE_GRID=yes'
7353 ac_cv_use_grid
='wxUSE_GRID=no'
7358 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x
; then
7360 eval "DEFAULT_$LINE"
7365 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7369 eval "$ac_cv_use_grid"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_GRID" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7387 # Check whether --enable-imaglist or --disable-imaglist was given.
7388 if test "${enable_imaglist+set}" = set; then
7389 enableval
="$enable_imaglist"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7394 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7399 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x
; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7410 eval "$ac_cv_use_imaglist"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_IMAGLIST" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7428 # Check whether --enable-listbook or --disable-listbook was given.
7429 if test "${enable_listbook+set}" = set; then
7430 enableval
="$enable_listbook"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7435 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7440 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x
; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7451 eval "$ac_cv_use_listbook"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_LISTBOOK" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7469 # Check whether --enable-listbox or --disable-listbox was given.
7470 if test "${enable_listbox+set}" = set; then
7471 enableval
="$enable_listbox"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7476 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7481 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x
; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7492 eval "$ac_cv_use_listbox"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_LISTBOX" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7510 # Check whether --enable-listctrl or --disable-listctrl was given.
7511 if test "${enable_listctrl+set}" = set; then
7512 enableval
="$enable_listctrl"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7517 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7522 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7533 eval "$ac_cv_use_listctrl"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_LISTCTRL" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7551 # Check whether --enable-notebook or --disable-notebook was given.
7552 if test "${enable_notebook+set}" = set; then
7553 enableval
="$enable_notebook"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7558 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7563 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x
; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7574 eval "$ac_cv_use_notebook"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_NOTEBOOK" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7592 # Check whether --enable-radiobox or --disable-radiobox was given.
7593 if test "${enable_radiobox+set}" = set; then
7594 enableval
="$enable_radiobox"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7599 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7604 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x
; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7615 eval "$ac_cv_use_radiobox"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_RADIOBOX" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7633 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7634 if test "${enable_radiobtn+set}" = set; then
7635 enableval
="$enable_radiobtn"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7640 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7645 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x
; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7656 eval "$ac_cv_use_radiobtn"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_RADIOBTN" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7674 # Check whether --enable-sash or --disable-sash was given.
7675 if test "${enable_sash+set}" = set; then
7676 enableval
="$enable_sash"
7678 if test "$enableval" = yes; then
7679 ac_cv_use_sash
='wxUSE_SASH=yes'
7681 ac_cv_use_sash
='wxUSE_SASH=no'
7686 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x
; then
7688 eval "DEFAULT_$LINE"
7693 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7697 eval "$ac_cv_use_sash"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7702 if test "$wxUSE_SASH" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7715 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7716 if test "${enable_scrollbar+set}" = set; then
7717 enableval
="$enable_scrollbar"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7722 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7727 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x
; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7738 eval "$ac_cv_use_scrollbar"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7743 if test "$wxUSE_SCROLLBAR" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7756 # Check whether --enable-slider or --disable-slider was given.
7757 if test "${enable_slider+set}" = set; then
7758 enableval
="$enable_slider"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7763 ac_cv_use_slider
='wxUSE_SLIDER=no'
7768 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7779 eval "$ac_cv_use_slider"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_SLIDER" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7797 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7798 if test "${enable_spinbtn+set}" = set; then
7799 enableval
="$enable_spinbtn"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7804 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7809 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x
; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7820 eval "$ac_cv_use_spinbtn"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_SPINBTN" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7838 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7839 if test "${enable_spinctrl+set}" = set; then
7840 enableval
="$enable_spinctrl"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7845 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7850 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x
; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7861 eval "$ac_cv_use_spinctrl"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_SPINCTRL" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7879 # Check whether --enable-splitter or --disable-splitter was given.
7880 if test "${enable_splitter+set}" = set; then
7881 enableval
="$enable_splitter"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7886 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7891 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x
; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7902 eval "$ac_cv_use_splitter"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7907 if test "$wxUSE_SPLITTER" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7920 # Check whether --enable-statbmp or --disable-statbmp was given.
7921 if test "${enable_statbmp+set}" = set; then
7922 enableval
="$enable_statbmp"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7927 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7932 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7943 eval "$ac_cv_use_statbmp"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7948 if test "$wxUSE_STATBMP" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7961 # Check whether --enable-statbox or --disable-statbox was given.
7962 if test "${enable_statbox+set}" = set; then
7963 enableval
="$enable_statbox"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7968 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7973 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x
; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7984 eval "$ac_cv_use_statbox"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_STATBOX" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8002 # Check whether --enable-statline or --disable-statline was given.
8003 if test "${enable_statline+set}" = set; then
8004 enableval
="$enable_statline"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8009 ac_cv_use_statline
='wxUSE_STATLINE=no'
8014 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8025 eval "$ac_cv_use_statline"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_STATLINE" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8043 # Check whether --enable-stattext or --disable-stattext was given.
8044 if test "${enable_stattext+set}" = set; then
8045 enableval
="$enable_stattext"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8050 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8055 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x
; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8066 eval "$ac_cv_use_stattext"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8071 if test "$wxUSE_STATTEXT" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8084 # Check whether --enable-statusbar or --disable-statusbar was given.
8085 if test "${enable_statusbar+set}" = set; then
8086 enableval
="$enable_statusbar"
8088 if test "$enableval" = yes; then
8089 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8091 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8096 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x
; then
8098 eval "DEFAULT_$LINE"
8103 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8107 eval "$ac_cv_use_statusbar"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_STATUSBAR" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8125 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8126 if test "${enable_tabdialog+set}" = set; then
8127 enableval
="$enable_tabdialog"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8132 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8137 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x
; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8148 eval "$ac_cv_use_tabdialog"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8153 if test "$wxUSE_TABDIALOG" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8166 # Check whether --enable-textctrl or --disable-textctrl was given.
8167 if test "${enable_textctrl+set}" = set; then
8168 enableval
="$enable_textctrl"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8173 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8178 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8189 eval "$ac_cv_use_textctrl"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_TEXTCTRL" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8207 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8208 if test "${enable_togglebtn+set}" = set; then
8209 enableval
="$enable_togglebtn"
8211 if test "$enableval" = yes; then
8212 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8214 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8219 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x
; then
8221 eval "DEFAULT_$LINE"
8226 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8230 eval "$ac_cv_use_togglebtn"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_TOGGLEBTN" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8248 # Check whether --enable-toolbar or --disable-toolbar was given.
8249 if test "${enable_toolbar+set}" = set; then
8250 enableval
="$enable_toolbar"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8255 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8260 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8271 eval "$ac_cv_use_toolbar"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8276 if test "$wxUSE_TOOLBAR" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8289 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8290 if test "${enable_tbarnative+set}" = set; then
8291 enableval
="$enable_tbarnative"
8293 if test "$enableval" = yes; then
8294 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8296 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8301 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x
; then
8303 eval "DEFAULT_$LINE"
8308 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8312 eval "$ac_cv_use_tbarnative"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8330 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8331 if test "${enable_tbarsmpl+set}" = set; then
8332 enableval
="$enable_tbarsmpl"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8337 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8342 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x
; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8353 eval "$ac_cv_use_tbarsmpl"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8358 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8371 # Check whether --enable-treectrl or --disable-treectrl was given.
8372 if test "${enable_treectrl+set}" = set; then
8373 enableval
="$enable_treectrl"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8378 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8383 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x
; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8394 eval "$ac_cv_use_treectrl"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_TREECTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8412 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8413 if test "${enable_tipwindow+set}" = set; then
8414 enableval
="$enable_tipwindow"
8416 if test "$enableval" = yes; then
8417 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8419 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8424 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x
; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8435 eval "$ac_cv_use_tipwindow"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_TIPWINDOW" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8453 # Check whether --enable-popupwin or --disable-popupwin was given.
8454 if test "${enable_popupwin+set}" = set; then
8455 enableval
="$enable_popupwin"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8460 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8465 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x
; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8476 eval "$ac_cv_use_popupwin"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_POPUPWIN" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8496 # Check whether --enable-commondlg or --disable-commondlg was given.
8497 if test "${enable_commondlg+set}" = set; then
8498 enableval
="$enable_commondlg"
8500 if test "$enableval" = yes; then
8501 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8503 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8508 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x
; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8519 eval "$ac_cv_use_commondlg"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8524 if test "$wxUSE_COMMONDLGS" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8537 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8538 if test "${enable_choicedlg+set}" = set; then
8539 enableval
="$enable_choicedlg"
8541 if test "$enableval" = yes; then
8542 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8544 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8549 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x
; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8560 eval "$ac_cv_use_choicedlg"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8565 if test "$wxUSE_CHOICEDLG" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8578 # Check whether --enable-coldlg or --disable-coldlg was given.
8579 if test "${enable_coldlg+set}" = set; then
8580 enableval
="$enable_coldlg"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8585 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8590 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x
; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8601 eval "$ac_cv_use_coldlg"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8606 if test "$wxUSE_COLOURDLG" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8619 # Check whether --enable-filedlg or --disable-filedlg was given.
8620 if test "${enable_filedlg+set}" = set; then
8621 enableval
="$enable_filedlg"
8623 if test "$enableval" = yes; then
8624 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8626 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8631 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x
; then
8633 eval "DEFAULT_$LINE"
8638 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8642 eval "$ac_cv_use_filedlg"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_FILEDLG" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8660 # Check whether --enable-finddlg or --disable-finddlg was given.
8661 if test "${enable_finddlg+set}" = set; then
8662 enableval
="$enable_finddlg"
8664 if test "$enableval" = yes; then
8665 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8667 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8672 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x
; then
8674 eval "DEFAULT_$LINE"
8679 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8683 eval "$ac_cv_use_finddlg"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8688 if test "$wxUSE_FINDREPLDLG" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8701 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8702 if test "${enable_fontdlg+set}" = set; then
8703 enableval
="$enable_fontdlg"
8705 if test "$enableval" = yes; then
8706 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8708 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8713 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x
; then
8715 eval "DEFAULT_$LINE"
8720 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8724 eval "$ac_cv_use_fontdlg"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8729 if test "$wxUSE_FONTDLG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8742 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8743 if test "${enable_dirdlg+set}" = set; then
8744 enableval
="$enable_dirdlg"
8746 if test "$enableval" = yes; then
8747 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8749 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8754 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x
; then
8756 eval "DEFAULT_$LINE"
8761 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8765 eval "$ac_cv_use_dirdlg"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8770 if test "$wxUSE_DIRDLG" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8783 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8784 if test "${enable_msgdlg+set}" = set; then
8785 enableval
="$enable_msgdlg"
8787 if test "$enableval" = yes; then
8788 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8790 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8795 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x
; then
8797 eval "DEFAULT_$LINE"
8802 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8806 eval "$ac_cv_use_msgdlg"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8811 if test "$wxUSE_MSGDLG" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8824 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8825 if test "${enable_numberdlg+set}" = set; then
8826 enableval
="$enable_numberdlg"
8828 if test "$enableval" = yes; then
8829 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8831 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8836 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x
; then
8838 eval "DEFAULT_$LINE"
8843 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8847 eval "$ac_cv_use_numberdlg"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8852 if test "$wxUSE_NUMBERDLG" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8865 # Check whether --enable-splash or --disable-splash was given.
8866 if test "${enable_splash+set}" = set; then
8867 enableval
="$enable_splash"
8869 if test "$enableval" = yes; then
8870 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8872 ac_cv_use_splash
='wxUSE_SPLASH=no'
8877 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x
; then
8879 eval "DEFAULT_$LINE"
8884 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8888 eval "$ac_cv_use_splash"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8893 if test "$wxUSE_SPLASH" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8906 # Check whether --enable-textdlg or --disable-textdlg was given.
8907 if test "${enable_textdlg+set}" = set; then
8908 enableval
="$enable_textdlg"
8910 if test "$enableval" = yes; then
8911 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8913 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8918 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x
; then
8920 eval "DEFAULT_$LINE"
8925 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8929 eval "$ac_cv_use_textdlg"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8934 if test "$wxUSE_TEXTDLG" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8947 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8948 if test "${enable_tipdlg+set}" = set; then
8949 enableval
="$enable_tipdlg"
8951 if test "$enableval" = yes; then
8952 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8954 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8959 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x
; then
8961 eval "DEFAULT_$LINE"
8966 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8970 eval "$ac_cv_use_tipdlg"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8975 if test "$wxUSE_STARTUP_TIPS" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8988 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8989 if test "${enable_progressdlg+set}" = set; then
8990 enableval
="$enable_progressdlg"
8992 if test "$enableval" = yes; then
8993 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8995 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9000 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x
; then
9002 eval "DEFAULT_$LINE"
9007 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9011 eval "$ac_cv_use_progressdlg"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9016 if test "$wxUSE_PROGRESSDLG" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9029 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9030 if test "${enable_wizarddlg+set}" = set; then
9031 enableval
="$enable_wizarddlg"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9036 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9041 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x
; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9052 eval "$ac_cv_use_wizarddlg"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_WIZARDDLG" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9072 # Check whether --enable-menus or --disable-menus was given.
9073 if test "${enable_menus+set}" = set; then
9074 enableval
="$enable_menus"
9076 if test "$enableval" = yes; then
9077 ac_cv_use_menus
='wxUSE_MENUS=yes'
9079 ac_cv_use_menus
='wxUSE_MENUS=no'
9084 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9085 if test "x$LINE" != x
; then
9086 eval "DEFAULT_$LINE"
9091 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9095 eval "$ac_cv_use_menus"
9096 if test "$no_cache" != 1; then
9097 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9100 if test "$wxUSE_MENUS" = yes; then
9101 echo "$as_me:$LINENO: result: yes" >&5
9102 echo "${ECHO_T}yes" >&6
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9113 # Check whether --enable-miniframe or --disable-miniframe was given.
9114 if test "${enable_miniframe+set}" = set; then
9115 enableval
="$enable_miniframe"
9117 if test "$enableval" = yes; then
9118 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9120 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9125 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x
; then
9127 eval "DEFAULT_$LINE"
9132 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9136 eval "$ac_cv_use_miniframe"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9141 if test "$wxUSE_MINIFRAME" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9154 # Check whether --enable-tooltips or --disable-tooltips was given.
9155 if test "${enable_tooltips+set}" = set; then
9156 enableval
="$enable_tooltips"
9158 if test "$enableval" = yes; then
9159 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9161 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9166 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x
; then
9168 eval "DEFAULT_$LINE"
9173 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9177 eval "$ac_cv_use_tooltips"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9182 if test "$wxUSE_TOOLTIPS" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9195 # Check whether --enable-splines or --disable-splines was given.
9196 if test "${enable_splines+set}" = set; then
9197 enableval
="$enable_splines"
9199 if test "$enableval" = yes; then
9200 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9202 ac_cv_use_splines
='wxUSE_SPLINES=no'
9207 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x
; then
9209 eval "DEFAULT_$LINE"
9214 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9218 eval "$ac_cv_use_splines"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9223 if test "$wxUSE_SPLINES" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9236 # Check whether --enable-validators or --disable-validators was given.
9237 if test "${enable_validators+set}" = set; then
9238 enableval
="$enable_validators"
9240 if test "$enableval" = yes; then
9241 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9243 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9248 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x
; then
9250 eval "DEFAULT_$LINE"
9255 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9259 eval "$ac_cv_use_validators"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9264 if test "$wxUSE_VALIDATORS" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9277 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9278 if test "${enable_busyinfo+set}" = set; then
9279 enableval
="$enable_busyinfo"
9281 if test "$enableval" = yes; then
9282 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9284 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9289 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x
; then
9291 eval "DEFAULT_$LINE"
9296 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9300 eval "$ac_cv_use_busyinfo"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9305 if test "$wxUSE_BUSYINFO" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9318 # Check whether --enable-joystick or --disable-joystick was given.
9319 if test "${enable_joystick+set}" = set; then
9320 enableval
="$enable_joystick"
9322 if test "$enableval" = yes; then
9323 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9325 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9330 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x
; then
9332 eval "DEFAULT_$LINE"
9337 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9341 eval "$ac_cv_use_joystick"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9346 if test "$wxUSE_JOYSTICK" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9359 # Check whether --enable-metafile or --disable-metafile was given.
9360 if test "${enable_metafile+set}" = set; then
9361 enableval
="$enable_metafile"
9363 if test "$enableval" = yes; then
9364 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9366 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9371 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x
; then
9373 eval "DEFAULT_$LINE"
9378 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9382 eval "$ac_cv_use_metafile"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9387 if test "$wxUSE_METAFILE" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9400 # Check whether --enable-dragimage or --disable-dragimage was given.
9401 if test "${enable_dragimage+set}" = set; then
9402 enableval
="$enable_dragimage"
9404 if test "$enableval" = yes; then
9405 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9407 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9412 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x
; then
9414 eval "DEFAULT_$LINE"
9419 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9423 eval "$ac_cv_use_dragimage"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9428 if test "$wxUSE_DRAGIMAGE" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9441 # Check whether --enable-accessibility or --disable-accessibility was given.
9442 if test "${enable_accessibility+set}" = set; then
9443 enableval
="$enable_accessibility"
9445 if test "$enableval" = yes; then
9446 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9448 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9453 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x
; then
9455 eval "DEFAULT_$LINE"
9460 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9464 eval "$ac_cv_use_accessibility"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9469 if test "$wxUSE_ACCESSIBILITY" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9484 # Check whether --enable-palette or --disable-palette was given.
9485 if test "${enable_palette+set}" = set; then
9486 enableval
="$enable_palette"
9488 if test "$enableval" = yes; then
9489 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9491 ac_cv_use_palette
='wxUSE_PALETTE=no'
9496 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9497 if test "x$LINE" != x
; then
9498 eval "DEFAULT_$LINE"
9503 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9507 eval "$ac_cv_use_palette"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9512 if test "$wxUSE_PALETTE" = yes; then
9513 echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6
9516 echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6
9522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9525 # Check whether --enable-image or --disable-image was given.
9526 if test "${enable_image+set}" = set; then
9527 enableval
="$enable_image"
9529 if test "$enableval" = yes; then
9530 ac_cv_use_image
='wxUSE_IMAGE=yes'
9532 ac_cv_use_image
='wxUSE_IMAGE=no'
9537 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9538 if test "x$LINE" != x
; then
9539 eval "DEFAULT_$LINE"
9544 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9548 eval "$ac_cv_use_image"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9553 if test "$wxUSE_IMAGE" = yes; then
9554 echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6
9557 echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6
9563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9566 # Check whether --enable-gif or --disable-gif was given.
9567 if test "${enable_gif+set}" = set; then
9568 enableval
="$enable_gif"
9570 if test "$enableval" = yes; then
9571 ac_cv_use_gif
='wxUSE_GIF=yes'
9573 ac_cv_use_gif
='wxUSE_GIF=no'
9578 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9579 if test "x$LINE" != x
; then
9580 eval "DEFAULT_$LINE"
9585 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9589 eval "$ac_cv_use_gif"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9594 if test "$wxUSE_GIF" = yes; then
9595 echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6
9598 echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9607 # Check whether --enable-pcx or --disable-pcx was given.
9608 if test "${enable_pcx+set}" = set; then
9609 enableval
="$enable_pcx"
9611 if test "$enableval" = yes; then
9612 ac_cv_use_pcx
='wxUSE_PCX=yes'
9614 ac_cv_use_pcx
='wxUSE_PCX=no'
9619 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x
; then
9621 eval "DEFAULT_$LINE"
9626 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9630 eval "$ac_cv_use_pcx"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9635 if test "$wxUSE_PCX" = yes; then
9636 echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9639 echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9648 # Check whether --enable-iff or --disable-iff was given.
9649 if test "${enable_iff+set}" = set; then
9650 enableval
="$enable_iff"
9652 if test "$enableval" = yes; then
9653 ac_cv_use_iff
='wxUSE_IFF=yes'
9655 ac_cv_use_iff
='wxUSE_IFF=no'
9660 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x
; then
9662 eval "DEFAULT_$LINE"
9667 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9671 eval "$ac_cv_use_iff"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9676 if test "$wxUSE_IFF" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9689 # Check whether --enable-pnm or --disable-pnm was given.
9690 if test "${enable_pnm+set}" = set; then
9691 enableval
="$enable_pnm"
9693 if test "$enableval" = yes; then
9694 ac_cv_use_pnm
='wxUSE_PNM=yes'
9696 ac_cv_use_pnm
='wxUSE_PNM=no'
9701 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x
; then
9703 eval "DEFAULT_$LINE"
9708 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9712 eval "$ac_cv_use_pnm"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9717 if test "$wxUSE_PNM" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9730 # Check whether --enable-xpm or --disable-xpm was given.
9731 if test "${enable_xpm+set}" = set; then
9732 enableval
="$enable_xpm"
9734 if test "$enableval" = yes; then
9735 ac_cv_use_xpm
='wxUSE_XPM=yes'
9737 ac_cv_use_xpm
='wxUSE_XPM=no'
9742 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x
; then
9744 eval "DEFAULT_$LINE"
9749 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9753 eval "$ac_cv_use_xpm"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9758 if test "$wxUSE_XPM" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9771 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9772 if test "${enable_ico_cur+set}" = set; then
9773 enableval
="$enable_ico_cur"
9775 if test "$enableval" = yes; then
9776 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9778 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9783 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x
; then
9785 eval "DEFAULT_$LINE"
9790 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9794 eval "$ac_cv_use_ico_cur"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9799 if test "$wxUSE_ICO_CUR" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9816 # Check whether --enable-official_build or --disable-official_build was given.
9817 if test "${enable_official_build+set}" = set; then
9818 enableval
="$enable_official_build"
9820 if test "$enableval" = yes; then
9821 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9823 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9828 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9829 if test "x$LINE" != x
; then
9830 eval "DEFAULT_$LINE"
9835 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9839 eval "$ac_cv_use_official_build"
9840 if test "$no_cache" != 1; then
9841 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9844 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9845 echo "$as_me:$LINENO: result: yes" >&5
9846 echo "${ECHO_T}yes" >&6
9848 echo "$as_me:$LINENO: result: no" >&5
9849 echo "${ECHO_T}no" >&6
9852 # Check whether --enable-vendor or --disable-vendor was given.
9853 if test "${enable_vendor+set}" = set; then
9854 enableval
="$enable_vendor"
9857 if test "x$VENDOR" = "x"; then
9862 *-pc-os2_emx | *-pc-os2-emx )
9872 echo "saving argument cache $wx_arg_cache_file"
9873 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9877 echo "$as_me:$LINENO: checking for toolkit" >&5
9878 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9880 # In Wine, we need to default to MSW, not GTK or MOTIF
9881 if test "$wxUSE_WINE" = "yes"; then
9882 DEFAULT_DEFAULT_wxUSE_GTK
=0
9883 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9884 DEFAULT_DEFAULT_wxUSE_MSW
=1
9888 if test "$wxUSE_GUI" = "yes"; then
9890 if test "$USE_BEOS" = 1; then
9891 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9892 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9893 { (exit 1); exit 1; }; }
9896 if test "$TOOLKIT_GIVEN" = 1; then
9897 for toolkit
in `echo $ALL_TOOLKITS`; do
9899 eval "value=\$${var}"
9900 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9903 for toolkit
in `echo $ALL_TOOLKITS`; do
9904 if test "$has_toolkit_in_cache" != 1; then
9905 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9907 var
=DEFAULT_wxUSE_
$toolkit
9909 eval "wxUSE_$toolkit=\$${var}"
9913 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9914 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9915 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9918 *-pc-os2_emx | *-pc-os2-emx )
9919 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9922 case "$NUM_TOOLKITS" in
9926 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9927 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9928 { (exit 1); exit 1; }; }
9931 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9932 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9933 { (exit 1); exit 1; }; }
9936 for toolkit
in `echo $ALL_TOOLKITS`; do
9938 eval "value=\$${var}"
9939 if test "x$value" != x
; then
9940 cache_var
=CACHE_
$toolkit
9941 eval "cache=\$${cache_var}"
9942 if test "$cache" = 1; then
9943 echo "$var=$value" >> ${wx_arg_cache_file}
9945 if test "$value" = 1; then
9946 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9947 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9948 echo "${ECHO_T}$toolkit_echo" >&6
9953 if test "x$host_alias" != "x"; then
9954 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9955 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9957 echo "$as_me:$LINENO: result: base only" >&5
9958 echo "${ECHO_T}base only" >&6
9966 if test "$wxUSE_MSW" = 1 ; then
9977 if test "$wxUSE_WINE" = "yes"; then
9982 LDFLAGS_GUI
="-mwindows"
9985 if test "$wants_win32" = 1 ; then
9988 cat >>confdefs.h
<<\_ACEOF
9992 cat >>confdefs.h
<<\_ACEOF
9996 cat >>confdefs.h
<<\_ACEOF
9997 #define __WINDOWS__ 1
10000 cat >>confdefs.h
<<\_ACEOF
10001 #define __GNUWIN32__ 1
10004 cat >>confdefs.h
<<\_ACEOF
10008 cat >>confdefs.h
<<\_ACEOF
10009 #define WINVER 0x0400
10013 if test "$doesnt_want_win32" = 1 ; then
10018 if test "$USE_UNIX" = 1 ; then
10020 cat >>confdefs.h
<<\_ACEOF
10027 cat >confcache
<<\_ACEOF
10028 # This file is a shell script that caches the results of configure
10029 # tests run on this system so they can be shared between configure
10030 # scripts and configure runs, see configure's option --config-cache.
10031 # It is not useful on other systems. If it contains results you don't
10032 # want to keep, you may remove or edit it.
10034 # config.status only pays attention to the cache file if you give it
10035 # the --recheck option to rerun configure.
10037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10039 # following values.
10043 # The following way of writing the cache mishandles newlines in values,
10044 # but we know of no workaround that is simple, portable, and efficient.
10045 # So, don't put newlines in cache variables' values.
10046 # Ultrix sh set writes to stderr and can't be redirected directly,
10047 # and sets the high bit in the cache file unless we assign to the vars.
10050 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10052 # `set' does not quote correctly, so add quotes (double-quote
10053 # substitution turns \\\\ into \\, and sed turns \\ into \).
10056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10059 # `set' quotes correctly as required by POSIX, so do not add quotes.
10061 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10070 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10072 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10073 if test -w $cache_file; then
10074 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10075 cat confcache
>$cache_file
10077 echo "not updating unwritable cache $cache_file"
10082 if test "$build" != "$host" ; then
10083 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10085 CXX
=$host_alias-c++
10087 RANLIB
=$host_alias-ranlib
10088 DLLTOOL
=$host_alias-dlltool
10089 RESCOMP
=$host_alias-windres
10092 STRIP
=$host_alias-strip
10094 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10095 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10096 { (exit 1); exit 1; }; }
10102 ac_cpp
='$CPP $CPPFLAGS'
10103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10106 if test -n "$ac_tool_prefix"; then
10107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10108 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10109 echo "$as_me:$LINENO: checking for $ac_word" >&5
10110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10111 if test "${ac_cv_prog_CC+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 if test -n "$CC"; then
10115 ac_cv_prog_CC
="$CC" # Let the user override the test.
10117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10118 for as_dir
in $PATH
10121 test -z "$as_dir" && as_dir
=.
10122 for ac_exec_ext
in '' $ac_executable_extensions; do
10123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10124 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10134 if test -n "$CC"; then
10135 echo "$as_me:$LINENO: result: $CC" >&5
10136 echo "${ECHO_T}$CC" >&6
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10143 if test -z "$ac_cv_prog_CC"; then
10145 # Extract the first word of "gcc", so it can be a program name with args.
10146 set dummy gcc
; ac_word
=$2
10147 echo "$as_me:$LINENO: checking for $ac_word" >&5
10148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 if test -n "$ac_ct_CC"; then
10153 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10156 for as_dir
in $PATH
10159 test -z "$as_dir" && as_dir
=.
10160 for ac_exec_ext
in '' $ac_executable_extensions; do
10161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10162 ac_cv_prog_ac_ct_CC
="gcc"
10163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10171 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10172 if test -n "$ac_ct_CC"; then
10173 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10174 echo "${ECHO_T}$ac_ct_CC" >&6
10176 echo "$as_me:$LINENO: result: no" >&5
10177 echo "${ECHO_T}no" >&6
10182 CC
="$ac_cv_prog_CC"
10185 if test -z "$CC"; then
10186 if test -n "$ac_tool_prefix"; then
10187 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10188 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10189 echo "$as_me:$LINENO: checking for $ac_word" >&5
10190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10191 if test "${ac_cv_prog_CC+set}" = set; then
10192 echo $ECHO_N "(cached) $ECHO_C" >&6
10194 if test -n "$CC"; then
10195 ac_cv_prog_CC
="$CC" # Let the user override the test.
10197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10198 for as_dir
in $PATH
10201 test -z "$as_dir" && as_dir
=.
10202 for ac_exec_ext
in '' $ac_executable_extensions; do
10203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10204 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 if test -n "$CC"; then
10215 echo "$as_me:$LINENO: result: $CC" >&5
10216 echo "${ECHO_T}$CC" >&6
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10223 if test -z "$ac_cv_prog_CC"; then
10225 # Extract the first word of "cc", so it can be a program name with args.
10226 set dummy cc
; ac_word
=$2
10227 echo "$as_me:$LINENO: checking for $ac_word" >&5
10228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10230 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 if test -n "$ac_ct_CC"; then
10233 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10236 for as_dir
in $PATH
10239 test -z "$as_dir" && as_dir
=.
10240 for ac_exec_ext
in '' $ac_executable_extensions; do
10241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10242 ac_cv_prog_ac_ct_CC
="cc"
10243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10252 if test -n "$ac_ct_CC"; then
10253 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10254 echo "${ECHO_T}$ac_ct_CC" >&6
10256 echo "$as_me:$LINENO: result: no" >&5
10257 echo "${ECHO_T}no" >&6
10262 CC
="$ac_cv_prog_CC"
10266 if test -z "$CC"; then
10267 # Extract the first word of "cc", so it can be a program name with args.
10268 set dummy cc
; ac_word
=$2
10269 echo "$as_me:$LINENO: checking for $ac_word" >&5
10270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10271 if test "${ac_cv_prog_CC+set}" = set; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 if test -n "$CC"; then
10275 ac_cv_prog_CC
="$CC" # Let the user override the test.
10277 ac_prog_rejected
=no
10278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10279 for as_dir
in $PATH
10282 test -z "$as_dir" && as_dir
=.
10283 for ac_exec_ext
in '' $ac_executable_extensions; do
10284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10286 ac_prog_rejected
=yes
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 if test $ac_prog_rejected = yes; then
10297 # We found a bogon in the path, so make sure we never use it.
10298 set dummy
$ac_cv_prog_CC
10300 if test $# != 0; then
10301 # We chose a different compiler from the bogus one.
10302 # However, it has the same basename, so the bogon will be chosen
10303 # first if we set CC to just the basename; use the full file name.
10305 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10311 if test -n "$CC"; then
10312 echo "$as_me:$LINENO: result: $CC" >&5
10313 echo "${ECHO_T}$CC" >&6
10315 echo "$as_me:$LINENO: result: no" >&5
10316 echo "${ECHO_T}no" >&6
10320 if test -z "$CC"; then
10321 if test -n "$ac_tool_prefix"; then
10324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10325 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10326 echo "$as_me:$LINENO: checking for $ac_word" >&5
10327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10328 if test "${ac_cv_prog_CC+set}" = set; then
10329 echo $ECHO_N "(cached) $ECHO_C" >&6
10331 if test -n "$CC"; then
10332 ac_cv_prog_CC
="$CC" # Let the user override the test.
10334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10335 for as_dir
in $PATH
10338 test -z "$as_dir" && as_dir
=.
10339 for ac_exec_ext
in '' $ac_executable_extensions; do
10340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10341 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10351 if test -n "$CC"; then
10352 echo "$as_me:$LINENO: result: $CC" >&5
10353 echo "${ECHO_T}$CC" >&6
10355 echo "$as_me:$LINENO: result: no" >&5
10356 echo "${ECHO_T}no" >&6
10359 test -n "$CC" && break
10362 if test -z "$CC"; then
10366 # Extract the first word of "$ac_prog", so it can be a program name with args.
10367 set dummy
$ac_prog; ac_word
=$2
10368 echo "$as_me:$LINENO: checking for $ac_word" >&5
10369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 if test -n "$ac_ct_CC"; then
10374 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10377 for as_dir
in $PATH
10380 test -z "$as_dir" && as_dir
=.
10381 for ac_exec_ext
in '' $ac_executable_extensions; do
10382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10383 ac_cv_prog_ac_ct_CC
="$ac_prog"
10384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10392 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10393 if test -n "$ac_ct_CC"; then
10394 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10395 echo "${ECHO_T}$ac_ct_CC" >&6
10397 echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6
10401 test -n "$ac_ct_CC" && break
10410 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10411 See \`config.log' for more details." >&5
10412 echo "$as_me: error: no acceptable C compiler found in \$PATH
10413 See \`config.log' for more details." >&2;}
10414 { (exit 1); exit 1; }; }
10416 # Provide some information about the compiler.
10417 echo "$as_me:$LINENO:" \
10418 "checking for C compiler version" >&5
10419 ac_compiler
=`set X $ac_compile; echo $2`
10420 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10421 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }
10425 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10426 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }
10430 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10431 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }
10436 cat >conftest.
$ac_ext <<_ACEOF
10437 #line $LINENO "configure"
10440 cat confdefs.h
>>conftest.
$ac_ext
10441 cat >>conftest.
$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10452 ac_clean_files_save
=$ac_clean_files
10453 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10454 # Try to create an executable without -o first, disregard a.out.
10455 # It will help us diagnose broken compilers, and finding out an intuition
10457 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10458 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10459 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10460 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10461 (eval $ac_link_default) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }; then
10465 # Find the output, starting from the most likely. This scheme is
10466 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10469 # Be careful to initialize this variable, since it used to be cached.
10470 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10472 # b.out is created by i960 compilers.
10473 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10475 test -f "$ac_file" || continue
10477 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10480 # This is the source file.
10483 # We found the default executable, but exeext='' is most
10487 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10488 # FIXME: I believe we export ac_cv_exeext for Libtool,
10489 # but it would be cool to find out if it's true. Does anybody
10490 # maintain Libtool? --akim.
10491 export ac_cv_exeext
10498 echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.
$ac_ext >&5
10501 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10502 See \`config.log' for more details." >&5
10503 echo "$as_me: error: C compiler cannot create executables
10504 See \`config.log' for more details." >&2;}
10505 { (exit 77); exit 77; }; }
10508 ac_exeext
=$ac_cv_exeext
10509 echo "$as_me:$LINENO: result: $ac_file" >&5
10510 echo "${ECHO_T}$ac_file" >&6
10512 # Check the compiler produces executables we can run. If not, either
10513 # the compiler is broken, or we cross compile.
10514 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10515 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10516 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10517 # If not cross compiling, check that we can run a simple program.
10518 if test "$cross_compiling" != yes; then
10519 if { ac_try
='./$ac_file'
10520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521 (eval $ac_try) 2>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; }; then
10527 if test "$cross_compiling" = maybe
; then
10528 cross_compiling
=yes
10530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10531 If you meant to cross compile, use \`--host'.
10532 See \`config.log' for more details." >&5
10533 echo "$as_me: error: cannot run C compiled programs.
10534 If you meant to cross compile, use \`--host'.
10535 See \`config.log' for more details." >&2;}
10536 { (exit 1); exit 1; }; }
10540 echo "$as_me:$LINENO: result: yes" >&5
10541 echo "${ECHO_T}yes" >&6
10543 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10544 ac_clean_files
=$ac_clean_files_save
10545 # Check the compiler produces executables we can run. If not, either
10546 # the compiler is broken, or we cross compile.
10547 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10549 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10550 echo "${ECHO_T}$cross_compiling" >&6
10552 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10555 (eval $ac_link) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; then
10559 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10560 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10561 # work properly (i.e., refer to `conftest.exe'), while it won't with
10563 for ac_file
in conftest.exe conftest conftest.
*; do
10564 test -f "$ac_file" || continue
10566 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10567 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10568 export ac_cv_exeext
10574 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10575 See \`config.log' for more details." >&5
10576 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10577 See \`config.log' for more details." >&2;}
10578 { (exit 1); exit 1; }; }
10581 rm -f conftest
$ac_cv_exeext
10582 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10583 echo "${ECHO_T}$ac_cv_exeext" >&6
10585 rm -f conftest.
$ac_ext
10586 EXEEXT
=$ac_cv_exeext
10588 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10589 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10590 if test "${ac_cv_objext+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 cat >conftest.
$ac_ext <<_ACEOF
10594 #line $LINENO "configure"
10597 cat confdefs.h
>>conftest.
$ac_ext
10598 cat >>conftest.
$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10609 rm -f conftest.o conftest.obj
10610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10611 (eval $ac_compile) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; then
10615 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10617 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10618 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10623 echo "$as_me: failed program was:" >&5
10624 sed 's/^/| /' conftest.
$ac_ext >&5
10626 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10627 See \`config.log' for more details." >&5
10628 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10629 See \`config.log' for more details." >&2;}
10630 { (exit 1); exit 1; }; }
10633 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10635 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10636 echo "${ECHO_T}$ac_cv_objext" >&6
10637 OBJEXT
=$ac_cv_objext
10639 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10640 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10641 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 cat >conftest.
$ac_ext <<_ACEOF
10645 #line $LINENO "configure"
10648 cat confdefs.h
>>conftest.
$ac_ext
10649 cat >>conftest.
$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10663 rm -f conftest.
$ac_objext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10665 (eval $ac_compile) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try
='test -s conftest.$ac_objext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 ac_compiler_gnu
=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10682 rm -f conftest.
$ac_objext conftest.
$ac_ext
10683 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10686 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10687 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10688 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10689 ac_test_CFLAGS
=${CFLAGS+set}
10690 ac_save_CFLAGS
=$CFLAGS
10692 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10693 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10694 if test "${ac_cv_prog_cc_g+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10697 cat >conftest.
$ac_ext <<_ACEOF
10698 #line $LINENO "configure"
10701 cat confdefs.h
>>conftest.
$ac_ext
10702 cat >>conftest.
$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10713 rm -f conftest.
$ac_objext
10714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10715 (eval $ac_compile) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } &&
10719 { ac_try
='test -s conftest.$ac_objext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 ac_cv_prog_cc_g
=yes
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.
$ac_ext >&5
10732 rm -f conftest.
$ac_objext conftest.
$ac_ext
10734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10735 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10736 if test "$ac_test_CFLAGS" = set; then
10737 CFLAGS
=$ac_save_CFLAGS
10738 elif test $ac_cv_prog_cc_g = yes; then
10739 if test "$GCC" = yes; then
10745 if test "$GCC" = yes; then
10751 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10752 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10753 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 ac_cv_prog_cc_stdc
=no
10758 cat >conftest.
$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10762 cat confdefs.h
>>conftest.
$ac_ext
10763 cat >>conftest.
$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #include <stdarg.h>
10767 #include <sys/types.h>
10768 #include <sys/stat.h>
10769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10770 struct buf { int x; };
10771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10772 static char *e (p, i)
10778 static char *f (char * (*g) (char **, int), char **p, ...)
10783 s = g (p, va_arg (v,int));
10787 int test (int i, double x);
10788 struct s1 {int (*f) (int a);};
10789 struct s2 {int (*f) (double a);};
10790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10801 # Don't try gcc -ansi; that turns off useful extensions and
10802 # breaks some systems' header files.
10803 # AIX -qlanglvl=ansi
10804 # Ultrix and OSF/1 -std1
10805 # HP-UX 10.20 and later -Ae
10806 # HP-UX older versions -Aa -D_HPUX_SOURCE
10807 # SVR4 -Xc -D__EXTENSIONS__
10808 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10810 CC
="$ac_save_CC $ac_arg"
10811 rm -f conftest.
$ac_objext
10812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10813 (eval $ac_compile) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } &&
10817 { ac_try
='test -s conftest.$ac_objext'
10818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; }; then
10823 ac_cv_prog_cc_stdc
=$ac_arg
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.
$ac_ext >&5
10830 rm -f conftest.
$ac_objext
10832 rm -f conftest.
$ac_ext conftest.
$ac_objext
10837 case "x$ac_cv_prog_cc_stdc" in
10839 echo "$as_me:$LINENO: result: none needed" >&5
10840 echo "${ECHO_T}none needed" >&6 ;;
10842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10844 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10847 # Some people use a C++ compiler to compile C. Since we use `exit',
10848 # in C++ we need to declare it. In case someone uses the same compiler
10849 # for both compiling C and C++ we need to have the C++ compiler decide
10850 # the declaration of exit, since it's the most demanding environment.
10851 cat >conftest.
$ac_ext <<_ACEOF
10852 #ifndef __cplusplus
10856 rm -f conftest.
$ac_objext
10857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10858 (eval $ac_compile) 2>&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try
='test -s conftest.$ac_objext'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 for ac_declaration
in \
10870 'extern "C" void std::exit (int) throw (); using std::exit;' \
10871 'extern "C" void std::exit (int); using std::exit;' \
10872 'extern "C" void exit (int) throw ();' \
10873 'extern "C" void exit (int);' \
10876 cat >conftest.
$ac_ext <<_ACEOF
10877 #line $LINENO "configure"
10880 cat confdefs.h
>>conftest.
$ac_ext
10881 cat >>conftest.
$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10884 #include <stdlib.h>
10893 rm -f conftest.
$ac_objext
10894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10895 (eval $ac_compile) 2>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); } &&
10899 { ac_try
='test -s conftest.$ac_objext'
10900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901 (eval $ac_try) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; }; then
10907 echo "$as_me: failed program was:" >&5
10908 sed 's/^/| /' conftest.
$ac_ext >&5
10912 rm -f conftest.
$ac_objext conftest.
$ac_ext
10913 cat >conftest.
$ac_ext <<_ACEOF
10914 #line $LINENO "configure"
10917 cat confdefs.h
>>conftest.
$ac_ext
10918 cat >>conftest.
$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10929 rm -f conftest.
$ac_objext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10931 (eval $ac_compile) 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } &&
10935 { ac_try
='test -s conftest.$ac_objext'
10936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10937 (eval $ac_try) 2>&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; }; then
10943 echo "$as_me: failed program was:" >&5
10944 sed 's/^/| /' conftest.
$ac_ext >&5
10947 rm -f conftest.
$ac_objext conftest.
$ac_ext
10950 if test -n "$ac_declaration"; then
10951 echo '#ifdef __cplusplus' >>confdefs.h
10952 echo $ac_declaration >>confdefs.h
10953 echo '#endif' >>confdefs.h
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.
$ac_ext >&5
10961 rm -f conftest.
$ac_objext conftest.
$ac_ext
10963 ac_cpp
='$CPP $CPPFLAGS'
10964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10971 ac_cpp
='$CPP $CPPFLAGS'
10972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10975 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10976 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10977 # On Suns, sometimes $CPP names a directory.
10978 if test -n "$CPP" && test -d "$CPP"; then
10981 if test -z "$CPP"; then
10982 if test "${ac_cv_prog_CPP+set}" = set; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 # Double quotes because CPP needs to be expanded
10986 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10988 ac_preproc_ok
=false
10989 for ac_c_preproc_warn_flag
in '' yes
10991 # Use a header file that comes with gcc, so configuring glibc
10992 # with a fresh cross-compiler works.
10993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10994 # <limits.h> exists even on freestanding compilers.
10995 # On the NeXT, cc -E runs the code through the compiler's parser,
10996 # not just through cpp. "Syntax error" is here to catch this case.
10997 cat >conftest.
$ac_ext <<_ACEOF
10998 #line $LINENO "configure"
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11005 # include <limits.h>
11007 # include <assert.h>
11011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11014 grep -v '^ *+' conftest.er1
>conftest.err
11016 cat conftest.err
>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } >/dev
/null
; then
11019 if test -s conftest.err
; then
11020 ac_cpp_err
=$ac_c_preproc_warn_flag
11027 if test -z "$ac_cpp_err"; then
11030 echo "$as_me: failed program was:" >&5
11031 sed 's/^/| /' conftest.
$ac_ext >&5
11033 # Broken: fails on valid input.
11036 rm -f conftest.err conftest.
$ac_ext
11038 # OK, works on sane cases. Now check whether non-existent headers
11039 # can be detected and how.
11040 cat >conftest.
$ac_ext <<_ACEOF
11041 #line $LINENO "configure"
11044 cat confdefs.h
>>conftest.
$ac_ext
11045 cat >>conftest.
$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11047 #include <ac_nonexistent.h>
11049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11052 grep -v '^ *+' conftest.er1
>conftest.err
11054 cat conftest.err
>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); } >/dev
/null
; then
11057 if test -s conftest.err
; then
11058 ac_cpp_err
=$ac_c_preproc_warn_flag
11065 if test -z "$ac_cpp_err"; then
11066 # Broken: success on invalid input.
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.
$ac_ext >&5
11072 # Passes both tests.
11076 rm -f conftest.err conftest.
$ac_ext
11079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11080 rm -f conftest.err conftest.
$ac_ext
11081 if $ac_preproc_ok; then
11086 ac_cv_prog_CPP
=$CPP
11089 CPP
=$ac_cv_prog_CPP
11091 ac_cv_prog_CPP
=$CPP
11093 echo "$as_me:$LINENO: result: $CPP" >&5
11094 echo "${ECHO_T}$CPP" >&6
11095 ac_preproc_ok
=false
11096 for ac_c_preproc_warn_flag
in '' yes
11098 # Use a header file that comes with gcc, so configuring glibc
11099 # with a fresh cross-compiler works.
11100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11101 # <limits.h> exists even on freestanding compilers.
11102 # On the NeXT, cc -E runs the code through the compiler's parser,
11103 # not just through cpp. "Syntax error" is here to catch this case.
11104 cat >conftest.
$ac_ext <<_ACEOF
11105 #line $LINENO "configure"
11108 cat confdefs.h
>>conftest.
$ac_ext
11109 cat >>conftest.
$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11112 # include <limits.h>
11114 # include <assert.h>
11118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11121 grep -v '^ *+' conftest.er1
>conftest.err
11123 cat conftest.err
>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } >/dev
/null
; then
11126 if test -s conftest.err
; then
11127 ac_cpp_err
=$ac_c_preproc_warn_flag
11134 if test -z "$ac_cpp_err"; then
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.
$ac_ext >&5
11140 # Broken: fails on valid input.
11143 rm -f conftest.err conftest.
$ac_ext
11145 # OK, works on sane cases. Now check whether non-existent headers
11146 # can be detected and how.
11147 cat >conftest.
$ac_ext <<_ACEOF
11148 #line $LINENO "configure"
11151 cat confdefs.h
>>conftest.
$ac_ext
11152 cat >>conftest.
$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11154 #include <ac_nonexistent.h>
11156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11157 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11159 grep -v '^ *+' conftest.er1
>conftest.err
11161 cat conftest.err
>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } >/dev
/null
; then
11164 if test -s conftest.err
; then
11165 ac_cpp_err
=$ac_c_preproc_warn_flag
11172 if test -z "$ac_cpp_err"; then
11173 # Broken: success on invalid input.
11176 echo "$as_me: failed program was:" >&5
11177 sed 's/^/| /' conftest.
$ac_ext >&5
11179 # Passes both tests.
11183 rm -f conftest.err conftest.
$ac_ext
11186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11187 rm -f conftest.err conftest.
$ac_ext
11188 if $ac_preproc_ok; then
11191 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11192 See \`config.log' for more details." >&5
11193 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11194 See \`config.log' for more details." >&2;}
11195 { (exit 1); exit 1; }; }
11199 ac_cpp
='$CPP $CPPFLAGS'
11200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11205 echo "$as_me:$LINENO: checking for egrep" >&5
11206 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11207 if test "${ac_cv_prog_egrep+set}" = set; then
11208 echo $ECHO_N "(cached) $ECHO_C" >&6
11210 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11211 then ac_cv_prog_egrep
='grep -E'
11212 else ac_cv_prog_egrep
='egrep'
11215 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11216 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11217 EGREP
=$ac_cv_prog_egrep
11220 if test $ac_cv_c_compiler_gnu = yes; then
11221 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11222 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11223 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 ac_pattern
="Autoconf.*'x'"
11227 cat >conftest.
$ac_ext <<_ACEOF
11228 #line $LINENO "configure"
11231 cat confdefs.h
>>conftest.
$ac_ext
11232 cat >>conftest.
$ac_ext <<_ACEOF
11233 /* end confdefs.h. */
11237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11238 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11239 ac_cv_prog_gcc_traditional
=yes
11241 ac_cv_prog_gcc_traditional
=no
11246 if test $ac_cv_prog_gcc_traditional = no
; then
11247 cat >conftest.
$ac_ext <<_ACEOF
11248 #line $LINENO "configure"
11251 cat confdefs.h
>>conftest.
$ac_ext
11252 cat >>conftest.
$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11254 #include <termio.h>
11257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11258 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11259 ac_cv_prog_gcc_traditional
=yes
11265 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11266 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11267 if test $ac_cv_prog_gcc_traditional = yes; then
11268 CC
="$CC -traditional"
11276 ac_cpp
='$CXXCPP $CPPFLAGS'
11277 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11278 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11279 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11282 CXXFLAGS
=${CXXFLAGS:=}
11284 ac_cpp
='$CXXCPP $CPPFLAGS'
11285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11288 if test -n "$ac_tool_prefix"; then
11289 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11292 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11293 echo "$as_me:$LINENO: checking for $ac_word" >&5
11294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11295 if test "${ac_cv_prog_CXX+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 if test -n "$CXX"; then
11299 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11302 for as_dir
in $PATH
11305 test -z "$as_dir" && as_dir
=.
11306 for ac_exec_ext
in '' $ac_executable_extensions; do
11307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11308 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11317 CXX
=$ac_cv_prog_CXX
11318 if test -n "$CXX"; then
11319 echo "$as_me:$LINENO: result: $CXX" >&5
11320 echo "${ECHO_T}$CXX" >&6
11322 echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6
11326 test -n "$CXX" && break
11329 if test -z "$CXX"; then
11331 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11333 # Extract the first word of "$ac_prog", so it can be a program name with args.
11334 set dummy
$ac_prog; ac_word
=$2
11335 echo "$as_me:$LINENO: checking for $ac_word" >&5
11336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11337 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 if test -n "$ac_ct_CXX"; then
11341 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11344 for as_dir
in $PATH
11347 test -z "$as_dir" && as_dir
=.
11348 for ac_exec_ext
in '' $ac_executable_extensions; do
11349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11350 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11359 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11360 if test -n "$ac_ct_CXX"; then
11361 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11362 echo "${ECHO_T}$ac_ct_CXX" >&6
11364 echo "$as_me:$LINENO: result: no" >&5
11365 echo "${ECHO_T}no" >&6
11368 test -n "$ac_ct_CXX" && break
11370 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11376 # Provide some information about the compiler.
11377 echo "$as_me:$LINENO:" \
11378 "checking for C++ compiler version" >&5
11379 ac_compiler
=`set X $ac_compile; echo $2`
11380 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11381 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }
11385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11386 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }
11390 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11391 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }
11396 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11397 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11398 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 cat >conftest.
$ac_ext <<_ACEOF
11402 #line $LINENO "configure"
11405 cat confdefs.h
>>conftest.
$ac_ext
11406 cat >>conftest.
$ac_ext <<_ACEOF
11407 /* end confdefs.h. */
11420 rm -f conftest.
$ac_objext
11421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11422 (eval $ac_compile) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); } &&
11426 { ac_try
='test -s conftest.$ac_objext'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; }; then
11432 ac_compiler_gnu
=yes
11434 echo "$as_me: failed program was:" >&5
11435 sed 's/^/| /' conftest.
$ac_ext >&5
11439 rm -f conftest.
$ac_objext conftest.
$ac_ext
11440 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11443 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11444 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11445 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11446 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11447 ac_save_CXXFLAGS
=$CXXFLAGS
11449 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11450 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11451 if test "${ac_cv_prog_cxx_g+set}" = set; then
11452 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 cat >conftest.
$ac_ext <<_ACEOF
11455 #line $LINENO "configure"
11458 cat confdefs.h
>>conftest.
$ac_ext
11459 cat >>conftest.
$ac_ext <<_ACEOF
11460 /* end confdefs.h. */
11470 rm -f conftest.
$ac_objext
11471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11472 (eval $ac_compile) 2>&5
11474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475 (exit $ac_status); } &&
11476 { ac_try
='test -s conftest.$ac_objext'
11477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11478 (eval $ac_try) 2>&5
11480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11481 (exit $ac_status); }; }; then
11482 ac_cv_prog_cxx_g
=yes
11484 echo "$as_me: failed program was:" >&5
11485 sed 's/^/| /' conftest.
$ac_ext >&5
11487 ac_cv_prog_cxx_g
=no
11489 rm -f conftest.
$ac_objext conftest.
$ac_ext
11491 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11492 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11493 if test "$ac_test_CXXFLAGS" = set; then
11494 CXXFLAGS
=$ac_save_CXXFLAGS
11495 elif test $ac_cv_prog_cxx_g = yes; then
11496 if test "$GXX" = yes; then
11502 if test "$GXX" = yes; then
11508 for ac_declaration
in \
11510 'extern "C" void std::exit (int) throw (); using std::exit;' \
11511 'extern "C" void std::exit (int); using std::exit;' \
11512 'extern "C" void exit (int) throw ();' \
11513 'extern "C" void exit (int);' \
11516 cat >conftest.
$ac_ext <<_ACEOF
11517 #line $LINENO "configure"
11520 cat confdefs.h
>>conftest.
$ac_ext
11521 cat >>conftest.
$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11524 #include <stdlib.h>
11533 rm -f conftest.
$ac_objext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11535 (eval $ac_compile) 2>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try
='test -s conftest.$ac_objext'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; }; then
11547 echo "$as_me: failed program was:" >&5
11548 sed 's/^/| /' conftest.
$ac_ext >&5
11552 rm -f conftest.
$ac_objext conftest.
$ac_ext
11553 cat >conftest.
$ac_ext <<_ACEOF
11554 #line $LINENO "configure"
11557 cat confdefs.h
>>conftest.
$ac_ext
11558 cat >>conftest.
$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11569 rm -f conftest.
$ac_objext
11570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11571 (eval $ac_compile) 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); } &&
11575 { ac_try
='test -s conftest.$ac_objext'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; }; then
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.
$ac_ext >&5
11587 rm -f conftest.
$ac_objext conftest.
$ac_ext
11590 if test -n "$ac_declaration"; then
11591 echo '#ifdef __cplusplus' >>confdefs.h
11592 echo $ac_declaration >>confdefs.h
11593 echo '#endif' >>confdefs.h
11597 ac_cpp
='$CXXCPP $CPPFLAGS'
11598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11604 ac_cpp
='$CPP $CPPFLAGS'
11605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11610 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11611 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11612 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11613 if test "$GCC" = "yes" ; then
11614 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11615 sed -n '1,/End of search list\./p' | \
11616 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11617 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11619 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11620 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11622 if test -n "$ac_tool_prefix"; then
11623 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11624 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11625 echo "$as_me:$LINENO: checking for $ac_word" >&5
11626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11627 if test "${ac_cv_prog_RANLIB+set}" = set; then
11628 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 if test -n "$RANLIB"; then
11631 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11634 for as_dir
in $PATH
11637 test -z "$as_dir" && as_dir
=.
11638 for ac_exec_ext
in '' $ac_executable_extensions; do
11639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11640 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11649 RANLIB
=$ac_cv_prog_RANLIB
11650 if test -n "$RANLIB"; then
11651 echo "$as_me:$LINENO: result: $RANLIB" >&5
11652 echo "${ECHO_T}$RANLIB" >&6
11654 echo "$as_me:$LINENO: result: no" >&5
11655 echo "${ECHO_T}no" >&6
11659 if test -z "$ac_cv_prog_RANLIB"; then
11660 ac_ct_RANLIB
=$RANLIB
11661 # Extract the first word of "ranlib", so it can be a program name with args.
11662 set dummy ranlib
; ac_word
=$2
11663 echo "$as_me:$LINENO: checking for $ac_word" >&5
11664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 if test -n "$ac_ct_RANLIB"; then
11669 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11672 for as_dir
in $PATH
11675 test -z "$as_dir" && as_dir
=.
11676 for ac_exec_ext
in '' $ac_executable_extensions; do
11677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11678 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11685 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11688 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11689 if test -n "$ac_ct_RANLIB"; then
11690 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11691 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11693 echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6
11697 RANLIB
=$ac_ct_RANLIB
11699 RANLIB
="$ac_cv_prog_RANLIB"
11703 # Extract the first word of "ar", so it can be a program name with args.
11704 set dummy
ar; ac_word
=$2
11705 echo "$as_me:$LINENO: checking for $ac_word" >&5
11706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11707 if test "${ac_cv_prog_AR+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 if test -n "$AR"; then
11711 ac_cv_prog_AR
="$AR" # Let the user override the test.
11713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11714 for as_dir
in $PATH
11717 test -z "$as_dir" && as_dir
=.
11718 for ac_exec_ext
in '' $ac_executable_extensions; do
11719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11730 if test -n "$AR"; then
11731 echo "$as_me:$LINENO: result: $AR" >&5
11732 echo "${ECHO_T}$AR" >&6
11734 echo "$as_me:$LINENO: result: no" >&5
11735 echo "${ECHO_T}no" >&6
11738 if test "x$AR" = "x" ; then
11739 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11740 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11741 { (exit 1); exit 1; }; }
11744 # Find a good install program. We prefer a C program (faster),
11745 # so one script is as good as another. But avoid the broken or
11746 # incompatible versions:
11747 # SysV /etc/install, /usr/sbin/install
11748 # SunOS /usr/etc/install
11749 # IRIX /sbin/install
11751 # AmigaOS /C/install, which installs bootblocks on floppy discs
11752 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11753 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11754 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11755 # ./install, which can be erroneously created by make from ./install.sh.
11756 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11757 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11758 if test -z "$INSTALL"; then
11759 if test "${ac_cv_path_install+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11763 for as_dir
in $PATH
11766 test -z "$as_dir" && as_dir
=.
11767 # Account for people who put trailing slashes in PATH elements.
11769 .
/ | .
// | /cC
/* | \
11770 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11773 # OSF1 and SCO ODT 3.0 have their own names for install.
11774 # Don't use installbsd from OSF since it installs stuff as root
11776 for ac_prog
in ginstall scoinst
install; do
11777 for ac_exec_ext
in '' $ac_executable_extensions; do
11778 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11779 if test $ac_prog = install &&
11780 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11781 # AIX install. It has an incompatible calling convention.
11783 elif test $ac_prog = install &&
11784 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11785 # program-specific install script used by HP pwplus--don't use.
11788 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11800 if test "${ac_cv_path_install+set}" = set; then
11801 INSTALL
=$ac_cv_path_install
11803 # As a last resort, use the slow shell script. We don't cache a
11804 # path for INSTALL within a source directory, because that will
11805 # break other packages using the cache if that directory is
11806 # removed, or if the path is relative.
11807 INSTALL
=$ac_install_sh
11810 echo "$as_me:$LINENO: result: $INSTALL" >&5
11811 echo "${ECHO_T}$INSTALL" >&6
11813 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11814 # It thinks the first close brace ends the variable substitution.
11815 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11817 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11819 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11825 ?
:* ) # Drive letter, considered as absolute.
11828 INSTALL
=`pwd`/${INSTALL} ;;
11833 INSTALL_DIR
="mkdir"
11836 *) INSTALL_DIR
="$INSTALL -d"
11843 powerpc
-*-darwin* )
11844 INSTALL_PROGRAM
="cp -fp"
11845 INSTALL_DATA
="cp -fp"
11851 # Extract the first word of "strip", so it can be a program name with args.
11852 set dummy strip
; ac_word
=$2
11853 echo "$as_me:$LINENO: checking for $ac_word" >&5
11854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11855 if test "${ac_cv_prog_STRIP+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 if test -n "$STRIP"; then
11859 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11862 for as_dir
in $PATH
11865 test -z "$as_dir" && as_dir
=.
11866 for ac_exec_ext
in '' $ac_executable_extensions; do
11867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11868 ac_cv_prog_STRIP
="strip"
11869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11875 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11878 STRIP
=$ac_cv_prog_STRIP
11879 if test -n "$STRIP"; then
11880 echo "$as_me:$LINENO: result: $STRIP" >&5
11881 echo "${ECHO_T}$STRIP" >&6
11883 echo "$as_me:$LINENO: result: no" >&5
11884 echo "${ECHO_T}no" >&6
11888 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11889 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11890 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11895 egrep -s GNU
> /dev
/null
); then
11896 wx_cv_prog_makeisgnu
="yes"
11898 wx_cv_prog_makeisgnu
="no"
11902 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11903 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11905 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11913 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11914 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11915 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11916 if test "${wx_cv_prog_makevpath+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 cat - << EOF > confMake
11926 if test ! -d sub
; then
11929 echo dummy
> sub
/file
11930 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11932 rm -f sub
/file check final_file confMake
11934 if test "$RESULT" = 0; then
11935 wx_cv_prog_makevpath
="yes"
11937 wx_cv_prog_makevpath
="no"
11941 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11942 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11944 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11945 { { echo "$as_me:$LINENO: error:
11946 You need a make-utility that is able to use the variable
11948 If your version of make does not support VPATH correctly,
11949 please install GNU-make (possibly as gmake), and start
11950 configure with the following command:
11951 export MAKE=gmake; ./configure for sh-type shells
11952 setenv MAKE gmake; ./configure for csh-type shells
11953 Also please do remember to use gmake in this case every time
11954 you are trying to compile.
11956 echo "$as_me: error:
11957 You need a make-utility that is able to use the variable
11959 If your version of make does not support VPATH correctly,
11960 please install GNU-make (possibly as gmake), and start
11961 configure with the following command:
11962 export MAKE=gmake; ./configure for sh-type shells
11963 setenv MAKE gmake; ./configure for csh-type shells
11964 Also please do remember to use gmake in this case every time
11965 you are trying to compile.
11967 { (exit 1); exit 1; }; }
11969 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11970 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11972 if test "$LN_S" = "ln -s"; then
11973 echo "$as_me:$LINENO: result: yes" >&5
11974 echo "${ECHO_T}yes" >&6
11976 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11977 echo "${ECHO_T}no, using $LN_S" >&6
11983 *-pc-os2_emx | *-pc-os2-emx )
11984 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11985 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11986 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11987 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 ac_check_lib_save_LIBS
=$LIBS
11991 LIBS
="-lcExt $LIBS"
11992 cat >conftest.
$ac_ext <<_ACEOF
11993 #line $LINENO "configure"
11996 cat confdefs.h
>>conftest.
$ac_ext
11997 cat >>conftest.
$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
12000 /* Override any gcc2 internal prototype to avoid an error. */
12004 /* We use char because int might match the return type of a gcc2
12005 builtin and then its argument prototype would still apply. */
12015 rm -f conftest.
$ac_objext conftest
$ac_exeext
12016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12017 (eval $ac_link) 2>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try
='test -s conftest$ac_exeext'
12022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023 (eval $ac_try) 2>&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); }; }; then
12027 ac_cv_lib_cExt_drand48
=yes
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.
$ac_ext >&5
12032 ac_cv_lib_cExt_drand48
=no
12034 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12035 LIBS
=$ac_check_lib_save_LIBS
12037 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12038 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12039 if test $ac_cv_lib_cExt_drand48 = yes; then
12040 LIBS
="$LIBS -lcExt"
12044 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12046 echo "$as_me:$LINENO: checking for gcc version" >&5
12047 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12048 if test "${wx_cv_gccversion+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 cat >conftest.
$ac_ext <<_ACEOF
12053 #line $LINENO "configure"
12056 cat confdefs.h
>>conftest.
$ac_ext
12057 cat >>conftest.
$ac_ext <<_ACEOF
12058 /* end confdefs.h. */
12072 rm -f conftest.
$ac_objext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12074 (eval $ac_compile) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } &&
12078 { ac_try
='test -s conftest.$ac_objext'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; }; then
12085 cat >conftest.
$ac_ext <<_ACEOF
12086 #line $LINENO "configure"
12089 cat confdefs.h
>>conftest.
$ac_ext
12090 cat >>conftest.
$ac_ext <<_ACEOF
12091 /* end confdefs.h. */
12097 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12098 #error intermediate gcc
12105 rm -f conftest.
$ac_objext
12106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12107 (eval $ac_compile) 2>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try
='test -s conftest.$ac_objext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12118 wx_cv_gccversion
=Innotek
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.
$ac_ext >&5
12129 rm -f conftest.
$ac_objext conftest.
$ac_ext
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.
$ac_ext >&5
12140 rm -f conftest.
$ac_objext conftest.
$ac_ext
12143 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12144 echo "${ECHO_T}$wx_cv_gccversion" >&6
12145 if test "$wx_cv_gccversion" = "2"; then
12146 LIBS
="$LIBS -lstdcpp"
12147 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12149 if test "$wx_cv_gccversion" = "3"; then
12150 LIBS
="$LIBS -lstdcxx"
12151 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12153 LIBS
="$LIBS -lstdc++"
12156 if test "$wxUSE_OMF" = "yes"; then
12157 LDFLAGS
="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12165 ac_cpp
='$CXXCPP $CPPFLAGS'
12166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12172 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12173 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12174 if test "${ac_cv_string_strcasecmp+set}" = set; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12178 cat >conftest.
$ac_ext <<_ACEOF
12179 #line $LINENO "configure"
12182 cat confdefs.h
>>conftest.
$ac_ext
12183 cat >>conftest.
$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12186 #include <string.h>
12192 strcasecmp("foo", "bar");
12198 rm -f conftest.
$ac_objext conftest
$ac_exeext
12199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12200 (eval $ac_link) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try
='test -s conftest$ac_exeext'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; }; then
12210 ac_cv_string_strcasecmp
=yes
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.
$ac_ext >&5
12215 ac_cv_string_strcasecmp
=no
12218 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12221 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12222 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12224 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12225 cat >>confdefs.h
<<\_ACEOF
12226 #define HAVE_STRCASECMP_IN_STRING_H 1
12230 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12231 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12232 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 cat >conftest.
$ac_ext <<_ACEOF
12237 #line $LINENO "configure"
12240 cat confdefs.h
>>conftest.
$ac_ext
12241 cat >>conftest.
$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12244 #include <strings.h>
12250 strcasecmp("foo", "bar");
12256 rm -f conftest.
$ac_objext conftest
$ac_exeext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12258 (eval $ac_link) 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } &&
12262 { ac_try
='test -s conftest$ac_exeext'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; }; then
12268 ac_cv_strings_strcasecmp
=yes
12270 echo "$as_me: failed program was:" >&5
12271 sed 's/^/| /' conftest.
$ac_ext >&5
12273 ac_cv_strings_strcasecmp
=no
12276 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12279 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12280 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12282 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12283 cat >>confdefs.h
<<\_ACEOF
12284 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12288 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12289 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12290 { (exit 1); exit 1; }; }
12295 ac_cpp
='$CPP $CPPFLAGS'
12296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12304 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12305 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12306 if test "${ac_cv_header_stdc+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 cat >conftest.
$ac_ext <<_ACEOF
12310 #line $LINENO "configure"
12313 cat confdefs.h
>>conftest.
$ac_ext
12314 cat >>conftest.
$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12316 #include <stdlib.h>
12317 #include <stdarg.h>
12318 #include <string.h>
12329 rm -f conftest.
$ac_objext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12331 (eval $ac_compile) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try
='test -s conftest.$ac_objext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_cv_header_stdc
=yes
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.
$ac_ext >&5
12346 ac_cv_header_stdc
=no
12348 rm -f conftest.
$ac_objext conftest.
$ac_ext
12350 if test $ac_cv_header_stdc = yes; then
12351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12352 cat >conftest.
$ac_ext <<_ACEOF
12353 #line $LINENO "configure"
12356 cat confdefs.h
>>conftest.
$ac_ext
12357 cat >>conftest.
$ac_ext <<_ACEOF
12358 /* end confdefs.h. */
12359 #include <string.h>
12362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12363 $EGREP "memchr" >/dev
/null
2>&1; then
12366 ac_cv_header_stdc
=no
12372 if test $ac_cv_header_stdc = yes; then
12373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12374 cat >conftest.
$ac_ext <<_ACEOF
12375 #line $LINENO "configure"
12378 cat confdefs.h
>>conftest.
$ac_ext
12379 cat >>conftest.
$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12381 #include <stdlib.h>
12384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12385 $EGREP "free" >/dev
/null
2>&1; then
12388 ac_cv_header_stdc
=no
12394 if test $ac_cv_header_stdc = yes; then
12395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12396 if test "$cross_compiling" = yes; then
12399 cat >conftest.
$ac_ext <<_ACEOF
12400 #line $LINENO "configure"
12403 cat confdefs.h
>>conftest.
$ac_ext
12404 cat >>conftest.
$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12407 #if ((' ' & 0x0FF) == 0x020)
12408 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12409 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12411 # define ISLOWER(c) \
12412 (('a' <= (c) && (c) <= 'i') \
12413 || ('j' <= (c) && (c) <= 'r') \
12414 || ('s' <= (c) && (c) <= 'z'))
12415 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12418 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12423 for (i = 0; i < 256; i++)
12424 if (XOR (islower (i), ISLOWER (i))
12425 || toupper (i) != TOUPPER (i))
12430 rm -f conftest
$ac_exeext
12431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12432 (eval $ac_link) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12437 (eval $ac_try) 2>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); }; }; then
12443 echo "$as_me: program exited with status $ac_status" >&5
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.
$ac_ext >&5
12447 ( exit $ac_status )
12448 ac_cv_header_stdc
=no
12450 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12454 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12455 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12456 if test $ac_cv_header_stdc = yes; then
12458 cat >>confdefs.h
<<\_ACEOF
12459 #define STDC_HEADERS 1
12464 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12474 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12475 inttypes.h stdint.h unistd.h
12477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12478 echo "$as_me:$LINENO: checking for $ac_header" >&5
12479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12481 echo $ECHO_N "(cached) $ECHO_C" >&6
12483 cat >conftest.
$ac_ext <<_ACEOF
12484 #line $LINENO "configure"
12487 cat confdefs.h
>>conftest.
$ac_ext
12488 cat >>conftest.
$ac_ext <<_ACEOF
12489 /* end confdefs.h. */
12490 $ac_includes_default
12492 #include <$ac_header>
12494 rm -f conftest.
$ac_objext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496 (eval $ac_compile) 2>&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); } &&
12500 { ac_try
='test -s conftest.$ac_objext'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }; }; then
12506 eval "$as_ac_Header=yes"
12508 echo "$as_me: failed program was:" >&5
12509 sed 's/^/| /' conftest.
$ac_ext >&5
12511 eval "$as_ac_Header=no"
12513 rm -f conftest.
$ac_objext conftest.
$ac_ext
12515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12518 cat >>confdefs.h
<<_ACEOF
12519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12528 for ac_header
in stdlib.h
12530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12532 echo "$as_me:$LINENO: checking for $ac_header" >&5
12533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12540 # Is the header compilable?
12541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12543 cat >conftest.
$ac_ext <<_ACEOF
12544 #line $LINENO "configure"
12547 cat confdefs.h
>>conftest.
$ac_ext
12548 cat >>conftest.
$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12550 $ac_includes_default
12551 #include <$ac_header>
12553 rm -f conftest.
$ac_objext
12554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12555 (eval $ac_compile) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try
='test -s conftest.$ac_objext'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12565 ac_header_compiler
=yes
12567 echo "$as_me: failed program was:" >&5
12568 sed 's/^/| /' conftest.
$ac_ext >&5
12570 ac_header_compiler
=no
12572 rm -f conftest.
$ac_objext conftest.
$ac_ext
12573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12574 echo "${ECHO_T}$ac_header_compiler" >&6
12576 # Is the header present?
12577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12579 cat >conftest.
$ac_ext <<_ACEOF
12580 #line $LINENO "configure"
12583 cat confdefs.h
>>conftest.
$ac_ext
12584 cat >>conftest.
$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12586 #include <$ac_header>
12588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1
>conftest.err
12593 cat conftest.err
>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } >/dev
/null
; then
12596 if test -s conftest.err
; then
12597 ac_cpp_err
=$ac_c_preproc_warn_flag
12604 if test -z "$ac_cpp_err"; then
12605 ac_header_preproc
=yes
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.
$ac_ext >&5
12610 ac_header_preproc
=no
12612 rm -f conftest.err conftest.
$ac_ext
12613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12614 echo "${ECHO_T}$ac_header_preproc" >&6
12616 # So? What about this header?
12617 case $ac_header_compiler:$ac_header_preproc in
12619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12625 ## ------------------------------------ ##
12626 ## Report this to bug-autoconf@gnu.org. ##
12627 ## ------------------------------------ ##
12630 sed "s/^/$as_me: WARNING: /" >&2
12633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12641 ## ------------------------------------ ##
12642 ## Report this to bug-autoconf@gnu.org. ##
12643 ## ------------------------------------ ##
12646 sed "s/^/$as_me: WARNING: /" >&2
12649 echo "$as_me:$LINENO: checking for $ac_header" >&5
12650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12652 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 eval "$as_ac_Header=$ac_header_preproc"
12656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12661 cat >>confdefs.h
<<_ACEOF
12662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12670 for ac_header
in malloc.h
12672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12674 echo "$as_me:$LINENO: checking for $ac_header" >&5
12675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12682 # Is the header compilable?
12683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12685 cat >conftest.
$ac_ext <<_ACEOF
12686 #line $LINENO "configure"
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 $ac_includes_default
12693 #include <$ac_header>
12695 rm -f conftest.
$ac_objext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } &&
12701 { ac_try
='test -s conftest.$ac_objext'
12702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703 (eval $ac_try) 2>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); }; }; then
12707 ac_header_compiler
=yes
12709 echo "$as_me: failed program was:" >&5
12710 sed 's/^/| /' conftest.
$ac_ext >&5
12712 ac_header_compiler
=no
12714 rm -f conftest.
$ac_objext conftest.
$ac_ext
12715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12716 echo "${ECHO_T}$ac_header_compiler" >&6
12718 # Is the header present?
12719 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12721 cat >conftest.
$ac_ext <<_ACEOF
12722 #line $LINENO "configure"
12725 cat confdefs.h
>>conftest.
$ac_ext
12726 cat >>conftest.
$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12728 #include <$ac_header>
12730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12733 grep -v '^ *+' conftest.er1
>conftest.err
12735 cat conftest.err
>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } >/dev
/null
; then
12738 if test -s conftest.err
; then
12739 ac_cpp_err
=$ac_c_preproc_warn_flag
12746 if test -z "$ac_cpp_err"; then
12747 ac_header_preproc
=yes
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.
$ac_ext >&5
12752 ac_header_preproc
=no
12754 rm -f conftest.err conftest.
$ac_ext
12755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12756 echo "${ECHO_T}$ac_header_preproc" >&6
12758 # So? What about this header?
12759 case $ac_header_compiler:$ac_header_preproc in
12761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12767 ## ------------------------------------ ##
12768 ## Report this to bug-autoconf@gnu.org. ##
12769 ## ------------------------------------ ##
12772 sed "s/^/$as_me: WARNING: /" >&2
12775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12783 ## ------------------------------------ ##
12784 ## Report this to bug-autoconf@gnu.org. ##
12785 ## ------------------------------------ ##
12788 sed "s/^/$as_me: WARNING: /" >&2
12791 echo "$as_me:$LINENO: checking for $ac_header" >&5
12792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 eval "$as_ac_Header=$ac_header_preproc"
12798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12803 cat >>confdefs.h
<<_ACEOF
12804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12812 for ac_header
in unistd.h
12814 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12816 echo "$as_me:$LINENO: checking for $ac_header" >&5
12817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12819 echo $ECHO_N "(cached) $ECHO_C" >&6
12821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12824 # Is the header compilable?
12825 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12826 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12827 cat >conftest.
$ac_ext <<_ACEOF
12828 #line $LINENO "configure"
12831 cat confdefs.h
>>conftest.
$ac_ext
12832 cat >>conftest.
$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 $ac_includes_default
12835 #include <$ac_header>
12837 rm -f conftest.
$ac_objext
12838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839 (eval $ac_compile) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } &&
12843 { ac_try
='test -s conftest.$ac_objext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 ac_header_compiler
=yes
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.
$ac_ext >&5
12854 ac_header_compiler
=no
12856 rm -f conftest.
$ac_objext conftest.
$ac_ext
12857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12858 echo "${ECHO_T}$ac_header_compiler" >&6
12860 # Is the header present?
12861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12863 cat >conftest.
$ac_ext <<_ACEOF
12864 #line $LINENO "configure"
12867 cat confdefs.h
>>conftest.
$ac_ext
12868 cat >>conftest.
$ac_ext <<_ACEOF
12869 /* end confdefs.h. */
12870 #include <$ac_header>
12872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12873 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12875 grep -v '^ *+' conftest.er1
>conftest.err
12877 cat conftest.err
>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); } >/dev
/null
; then
12880 if test -s conftest.err
; then
12881 ac_cpp_err
=$ac_c_preproc_warn_flag
12888 if test -z "$ac_cpp_err"; then
12889 ac_header_preproc
=yes
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.
$ac_ext >&5
12894 ac_header_preproc
=no
12896 rm -f conftest.err conftest.
$ac_ext
12897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12898 echo "${ECHO_T}$ac_header_preproc" >&6
12900 # So? What about this header?
12901 case $ac_header_compiler:$ac_header_preproc in
12903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12909 ## ------------------------------------ ##
12910 ## Report this to bug-autoconf@gnu.org. ##
12911 ## ------------------------------------ ##
12914 sed "s/^/$as_me: WARNING: /" >&2
12917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12925 ## ------------------------------------ ##
12926 ## Report this to bug-autoconf@gnu.org. ##
12927 ## ------------------------------------ ##
12930 sed "s/^/$as_me: WARNING: /" >&2
12933 echo "$as_me:$LINENO: checking for $ac_header" >&5
12934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 eval "$as_ac_Header=$ac_header_preproc"
12940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12945 cat >>confdefs.h
<<_ACEOF
12946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12954 for ac_header
in wchar.h
12956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12958 echo "$as_me:$LINENO: checking for $ac_header" >&5
12959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12966 # Is the header compilable?
12967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12969 cat >conftest.
$ac_ext <<_ACEOF
12970 #line $LINENO "configure"
12973 cat confdefs.h
>>conftest.
$ac_ext
12974 cat >>conftest.
$ac_ext <<_ACEOF
12975 /* end confdefs.h. */
12976 $ac_includes_default
12977 #include <$ac_header>
12979 rm -f conftest.
$ac_objext
12980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12981 (eval $ac_compile) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try
='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 ac_header_compiler
=yes
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.
$ac_ext >&5
12996 ac_header_compiler
=no
12998 rm -f conftest.
$ac_objext conftest.
$ac_ext
12999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13000 echo "${ECHO_T}$ac_header_compiler" >&6
13002 # Is the header present?
13003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13005 cat >conftest.
$ac_ext <<_ACEOF
13006 #line $LINENO "configure"
13009 cat confdefs.h
>>conftest.
$ac_ext
13010 cat >>conftest.
$ac_ext <<_ACEOF
13011 /* end confdefs.h. */
13012 #include <$ac_header>
13014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13017 grep -v '^ *+' conftest.er1
>conftest.err
13019 cat conftest.err
>&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } >/dev
/null
; then
13022 if test -s conftest.err
; then
13023 ac_cpp_err
=$ac_c_preproc_warn_flag
13030 if test -z "$ac_cpp_err"; then
13031 ac_header_preproc
=yes
13033 echo "$as_me: failed program was:" >&5
13034 sed 's/^/| /' conftest.
$ac_ext >&5
13036 ac_header_preproc
=no
13038 rm -f conftest.err conftest.
$ac_ext
13039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13040 echo "${ECHO_T}$ac_header_preproc" >&6
13042 # So? What about this header?
13043 case $ac_header_compiler:$ac_header_preproc in
13045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13051 ## ------------------------------------ ##
13052 ## Report this to bug-autoconf@gnu.org. ##
13053 ## ------------------------------------ ##
13056 sed "s/^/$as_me: WARNING: /" >&2
13059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13067 ## ------------------------------------ ##
13068 ## Report this to bug-autoconf@gnu.org. ##
13069 ## ------------------------------------ ##
13072 sed "s/^/$as_me: WARNING: /" >&2
13075 echo "$as_me:$LINENO: checking for $ac_header" >&5
13076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13080 eval "$as_ac_Header=$ac_header_preproc"
13082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13087 cat >>confdefs.h
<<_ACEOF
13088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13096 if test "$ac_cv_header_wchar_h" != "yes"; then
13098 for ac_header
in wcstr.h
13100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13102 echo "$as_me:$LINENO: checking for $ac_header" >&5
13103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13105 echo $ECHO_N "(cached) $ECHO_C" >&6
13107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13110 # Is the header compilable?
13111 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13113 cat >conftest.
$ac_ext <<_ACEOF
13114 #line $LINENO "configure"
13117 cat confdefs.h
>>conftest.
$ac_ext
13118 cat >>conftest.
$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13120 $ac_includes_default
13121 #include <$ac_header>
13123 rm -f conftest.
$ac_objext
13124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13125 (eval $ac_compile) 2>&5
13127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13128 (exit $ac_status); } &&
13129 { ac_try
='test -s conftest.$ac_objext'
13130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13131 (eval $ac_try) 2>&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); }; }; then
13135 ac_header_compiler
=yes
13137 echo "$as_me: failed program was:" >&5
13138 sed 's/^/| /' conftest.
$ac_ext >&5
13140 ac_header_compiler
=no
13142 rm -f conftest.
$ac_objext conftest.
$ac_ext
13143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13144 echo "${ECHO_T}$ac_header_compiler" >&6
13146 # Is the header present?
13147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13149 cat >conftest.
$ac_ext <<_ACEOF
13150 #line $LINENO "configure"
13153 cat confdefs.h
>>conftest.
$ac_ext
13154 cat >>conftest.
$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13156 #include <$ac_header>
13158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13161 grep -v '^ *+' conftest.er1
>conftest.err
13163 cat conftest.err
>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); } >/dev
/null
; then
13166 if test -s conftest.err
; then
13167 ac_cpp_err
=$ac_c_preproc_warn_flag
13174 if test -z "$ac_cpp_err"; then
13175 ac_header_preproc
=yes
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.
$ac_ext >&5
13180 ac_header_preproc
=no
13182 rm -f conftest.err conftest.
$ac_ext
13183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13184 echo "${ECHO_T}$ac_header_preproc" >&6
13186 # So? What about this header?
13187 case $ac_header_compiler:$ac_header_preproc in
13189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13192 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13195 ## ------------------------------------ ##
13196 ## Report this to bug-autoconf@gnu.org. ##
13197 ## ------------------------------------ ##
13200 sed "s/^/$as_me: WARNING: /" >&2
13203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13211 ## ------------------------------------ ##
13212 ## Report this to bug-autoconf@gnu.org. ##
13213 ## ------------------------------------ ##
13216 sed "s/^/$as_me: WARNING: /" >&2
13219 echo "$as_me:$LINENO: checking for $ac_header" >&5
13220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13224 eval "$as_ac_Header=$ac_header_preproc"
13226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13231 cat >>confdefs.h
<<_ACEOF
13232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13242 for ac_header
in fnmatch.h
13244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13254 # Is the header compilable?
13255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13257 cat >conftest.
$ac_ext <<_ACEOF
13258 #line $LINENO "configure"
13261 cat confdefs.h
>>conftest.
$ac_ext
13262 cat >>conftest.
$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13264 $ac_includes_default
13265 #include <$ac_header>
13267 rm -f conftest.
$ac_objext
13268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13269 (eval $ac_compile) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try
='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_header_compiler
=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ac_header_compiler
=no
13286 rm -f conftest.
$ac_objext conftest.
$ac_ext
13287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13288 echo "${ECHO_T}$ac_header_compiler" >&6
13290 # Is the header present?
13291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13293 cat >conftest.
$ac_ext <<_ACEOF
13294 #line $LINENO "configure"
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 #include <$ac_header>
13302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13305 grep -v '^ *+' conftest.er1
>conftest.err
13307 cat conftest.err
>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } >/dev
/null
; then
13310 if test -s conftest.err
; then
13311 ac_cpp_err
=$ac_c_preproc_warn_flag
13318 if test -z "$ac_cpp_err"; then
13319 ac_header_preproc
=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 ac_header_preproc
=no
13326 rm -f conftest.err conftest.
$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13328 echo "${ECHO_T}$ac_header_preproc" >&6
13330 # So? What about this header?
13331 case $ac_header_compiler:$ac_header_preproc in
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13339 ## ------------------------------------ ##
13340 ## Report this to bug-autoconf@gnu.org. ##
13341 ## ------------------------------------ ##
13344 sed "s/^/$as_me: WARNING: /" >&2
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13355 ## ------------------------------------ ##
13356 ## Report this to bug-autoconf@gnu.org. ##
13357 ## ------------------------------------ ##
13360 sed "s/^/$as_me: WARNING: /" >&2
13363 echo "$as_me:$LINENO: checking for $ac_header" >&5
13364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 eval "$as_ac_Header=$ac_header_preproc"
13370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13375 cat >>confdefs.h
<<_ACEOF
13376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13384 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13386 for ac_func
in fnmatch
13388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13389 echo "$as_me:$LINENO: checking for $ac_func" >&5
13390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13391 if eval "test \"\${$as_ac_var+set}\" = set"; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 cat >conftest.
$ac_ext <<_ACEOF
13395 #line $LINENO "configure"
13398 cat confdefs.h
>>conftest.
$ac_ext
13399 cat >>conftest.
$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 /* System header to define __stub macros and hopefully few prototypes,
13402 which can conflict with char $ac_func (); below.
13403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13404 <limits.h> exists even on freestanding compilers. */
13406 # include <limits.h>
13408 # include <assert.h>
13410 /* Override any gcc2 internal prototype to avoid an error. */
13415 /* We use char because int might match the return type of a gcc2
13416 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13424 char (*f) () = $ac_func;
13433 return f != $ac_func;
13438 rm -f conftest.
$ac_objext conftest
$ac_exeext
13439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13440 (eval $ac_link) 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); } &&
13444 { ac_try
='test -s conftest$ac_exeext'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; }; then
13450 eval "$as_ac_var=yes"
13452 echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.
$ac_ext >&5
13455 eval "$as_ac_var=no"
13457 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13461 if test `eval echo '${'$as_ac_var'}'` = yes; then
13462 cat >>confdefs.h
<<_ACEOF
13463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13472 for ac_header
in langinfo.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
13615 *-pc-os2_emx | *-pc-os2-emx )
13616 if test $ac_cv_header_langinfo_h = "yes"; then
13617 LIBS
="$LIBS -lintl"
13622 if test "$wxUSE_GUI" = "yes"; then
13623 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13625 for ac_header
in X
11/Xlib.h
13627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13629 echo "$as_me:$LINENO: checking for $ac_header" >&5
13630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13637 # Is the header compilable?
13638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13640 cat >conftest.
$ac_ext <<_ACEOF
13641 #line $LINENO "configure"
13644 cat confdefs.h
>>conftest.
$ac_ext
13645 cat >>conftest.
$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 $ac_includes_default
13648 #include <$ac_header>
13650 rm -f conftest.
$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } &&
13656 { ac_try
='test -s conftest.$ac_objext'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; }; then
13662 ac_header_compiler
=yes
13664 echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.
$ac_ext >&5
13667 ac_header_compiler
=no
13669 rm -f conftest.
$ac_objext conftest.
$ac_ext
13670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13671 echo "${ECHO_T}$ac_header_compiler" >&6
13673 # Is the header present?
13674 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13675 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13676 cat >conftest.
$ac_ext <<_ACEOF
13677 #line $LINENO "configure"
13680 cat confdefs.h
>>conftest.
$ac_ext
13681 cat >>conftest.
$ac_ext <<_ACEOF
13682 /* end confdefs.h. */
13683 #include <$ac_header>
13685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13688 grep -v '^ *+' conftest.er1
>conftest.err
13690 cat conftest.err
>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } >/dev
/null
; then
13693 if test -s conftest.err
; then
13694 ac_cpp_err
=$ac_c_preproc_warn_flag
13701 if test -z "$ac_cpp_err"; then
13702 ac_header_preproc
=yes
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.
$ac_ext >&5
13707 ac_header_preproc
=no
13709 rm -f conftest.err conftest.
$ac_ext
13710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13711 echo "${ECHO_T}$ac_header_preproc" >&6
13713 # So? What about this header?
13714 case $ac_header_compiler:$ac_header_preproc in
13716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13722 ## ------------------------------------ ##
13723 ## Report this to bug-autoconf@gnu.org. ##
13724 ## ------------------------------------ ##
13727 sed "s/^/$as_me: WARNING: /" >&2
13730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13738 ## ------------------------------------ ##
13739 ## Report this to bug-autoconf@gnu.org. ##
13740 ## ------------------------------------ ##
13743 sed "s/^/$as_me: WARNING: /" >&2
13746 echo "$as_me:$LINENO: checking for $ac_header" >&5
13747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 eval "$as_ac_Header=$ac_header_preproc"
13753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13758 cat >>confdefs.h
<<_ACEOF
13759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13767 for ac_header
in X
11/XKBlib.h
13769 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13770 echo "$as_me:$LINENO: checking for $ac_header" >&5
13771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 cat >conftest.
$ac_ext <<_ACEOF
13776 #line $LINENO "configure"
13779 cat confdefs.h
>>conftest.
$ac_ext
13780 cat >>conftest.
$ac_ext <<_ACEOF
13781 /* end confdefs.h. */
13783 #if HAVE_X11_XLIB_H
13784 #include <X11/Xlib.h>
13788 #include <$ac_header>
13790 rm -f conftest.
$ac_objext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13792 (eval $ac_compile) 2>&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } &&
13796 { ac_try
='test -s conftest.$ac_objext'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; }; then
13802 eval "$as_ac_Header=yes"
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.
$ac_ext >&5
13807 eval "$as_ac_Header=no"
13809 rm -f conftest.
$ac_objext conftest.
$ac_ext
13811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13814 cat >>confdefs.h
<<_ACEOF
13815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13826 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13827 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13828 if test "${ac_cv_c_const+set}" = set; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 cat >conftest.
$ac_ext <<_ACEOF
13832 #line $LINENO "configure"
13835 cat confdefs.h
>>conftest.
$ac_ext
13836 cat >>conftest.
$ac_ext <<_ACEOF
13837 /* end confdefs.h. */
13842 /* FIXME: Include the comments suggested by Paul. */
13843 #ifndef __cplusplus
13844 /* Ultrix mips cc rejects this. */
13845 typedef int charset[2];
13847 /* SunOS 4.1.1 cc rejects this. */
13848 char const *const *ccp;
13850 /* NEC SVR4.0.2 mips cc rejects this. */
13851 struct point {int x, y;};
13852 static struct point const zero = {0,0};
13853 /* AIX XL C 1.02.0.0 rejects this.
13854 It does not let you subtract one const X* pointer from another in
13855 an arm of an if-expression whose if-part is not a constant
13857 const char *g = "string";
13858 ccp = &g + (g ? g-g : 0);
13859 /* HPUX 7.0 cc rejects these. */
13862 ccp = (char const *const *) p;
13863 { /* SCO 3.2v4 cc rejects this. */
13865 char const *s = 0 ? (char *) 0 : (char const *) 0;
13869 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13870 int x[] = {25, 17};
13871 const int *foo = &x[0];
13874 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13875 typedef const int *iptr;
13879 { /* AIX XL C 1.02.0.0 rejects this saying
13880 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13881 struct s { int j; const int *ap[3]; };
13882 struct s *b; b->j = 5;
13884 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13885 const int foo = 10;
13893 rm -f conftest.
$ac_objext
13894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13895 (eval $ac_compile) 2>&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); } &&
13899 { ac_try
='test -s conftest.$ac_objext'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; }; then
13907 echo "$as_me: failed program was:" >&5
13908 sed 's/^/| /' conftest.
$ac_ext >&5
13912 rm -f conftest.
$ac_objext conftest.
$ac_ext
13914 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13915 echo "${ECHO_T}$ac_cv_c_const" >&6
13916 if test $ac_cv_c_const = no
; then
13918 cat >>confdefs.h
<<\_ACEOF
13924 echo "$as_me:$LINENO: checking for inline" >&5
13925 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13926 if test "${ac_cv_c_inline+set}" = set; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 for ac_kw
in inline __inline__ __inline
; do
13931 cat >conftest.
$ac_ext <<_ACEOF
13932 #line $LINENO "configure"
13935 cat confdefs.h
>>conftest.
$ac_ext
13936 cat >>conftest.
$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 #ifndef __cplusplus
13940 static $ac_kw foo_t static_foo () {return 0; }
13941 $ac_kw foo_t foo () {return 0; }
13945 rm -f conftest.
$ac_objext
13946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13947 (eval $ac_compile) 2>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try
='test -s conftest.$ac_objext'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13957 ac_cv_c_inline
=$ac_kw; break
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.
$ac_ext >&5
13963 rm -f conftest.
$ac_objext conftest.
$ac_ext
13967 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13968 echo "${ECHO_T}$ac_cv_c_inline" >&6
13969 case $ac_cv_c_inline in
13972 cat >>confdefs.h
<<\_ACEOF
13976 *) cat >>confdefs.h
<<_ACEOF
13977 #define inline $ac_cv_c_inline
13983 echo "$as_me:$LINENO: checking for char" >&5
13984 echo $ECHO_N "checking for char... $ECHO_C" >&6
13985 if test "${ac_cv_type_char+set}" = set; then
13986 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 cat >conftest.
$ac_ext <<_ACEOF
13989 #line $LINENO "configure"
13992 cat confdefs.h
>>conftest.
$ac_ext
13993 cat >>conftest.
$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995 $ac_includes_default
14007 rm -f conftest.
$ac_objext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14009 (eval $ac_compile) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try
='test -s conftest.$ac_objext'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; }; then
14019 ac_cv_type_char
=yes
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.
$ac_ext >&5
14026 rm -f conftest.
$ac_objext conftest.
$ac_ext
14028 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14029 echo "${ECHO_T}$ac_cv_type_char" >&6
14031 echo "$as_me:$LINENO: checking size of char" >&5
14032 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14033 if test "${ac_cv_sizeof_char+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 if test "$ac_cv_type_char" = yes; then
14037 # The cast to unsigned long works around a bug in the HP C Compiler
14038 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14039 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14040 # This bug is HP SR number 8606223364.
14041 if test "$cross_compiling" = yes; then
14042 # Depending upon the size, compute the lo and hi bounds.
14043 cat >conftest.
$ac_ext <<_ACEOF
14044 #line $LINENO "configure"
14047 cat confdefs.h
>>conftest.
$ac_ext
14048 cat >>conftest.
$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 $ac_includes_default
14054 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14061 rm -f conftest.
$ac_objext
14062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14063 (eval $ac_compile) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } &&
14067 { ac_try
='test -s conftest.$ac_objext'
14068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14069 (eval $ac_try) 2>&5
14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 (exit $ac_status); }; }; then
14075 cat >conftest.
$ac_ext <<_ACEOF
14076 #line $LINENO "configure"
14079 cat confdefs.h
>>conftest.
$ac_ext
14080 cat >>conftest.
$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082 $ac_includes_default
14086 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14093 rm -f conftest.
$ac_objext
14094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14095 (eval $ac_compile) 2>&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); } &&
14099 { ac_try
='test -s conftest.$ac_objext'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; }; then
14105 ac_hi
=$ac_mid; break
14107 echo "$as_me: failed program was:" >&5
14108 sed 's/^/| /' conftest.
$ac_ext >&5
14110 ac_lo
=`expr $ac_mid + 1`
14111 if test $ac_lo -le $ac_mid; then
14115 ac_mid
=`expr 2 '*' $ac_mid + 1`
14117 rm -f conftest.
$ac_objext conftest.
$ac_ext
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.
$ac_ext >&5
14123 cat >conftest.
$ac_ext <<_ACEOF
14124 #line $LINENO "configure"
14127 cat confdefs.h
>>conftest.
$ac_ext
14128 cat >>conftest.
$ac_ext <<_ACEOF
14129 /* end confdefs.h. */
14130 $ac_includes_default
14134 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14141 rm -f conftest.
$ac_objext
14142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14143 (eval $ac_compile) 2>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try
='test -s conftest.$ac_objext'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; }; then
14155 cat >conftest.
$ac_ext <<_ACEOF
14156 #line $LINENO "configure"
14159 cat confdefs.h
>>conftest.
$ac_ext
14160 cat >>conftest.
$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 $ac_includes_default
14166 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14173 rm -f conftest.
$ac_objext
14174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 (eval $ac_compile) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_lo
=$ac_mid; break
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.
$ac_ext >&5
14190 ac_hi
=`expr '(' $ac_mid ')' - 1`
14191 if test $ac_mid -le $ac_hi; then
14195 ac_mid
=`expr 2 '*' $ac_mid`
14197 rm -f conftest.
$ac_objext conftest.
$ac_ext
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.
$ac_ext >&5
14205 rm -f conftest.
$ac_objext conftest.
$ac_ext
14207 rm -f conftest.
$ac_objext conftest.
$ac_ext
14208 # Binary search between lo and hi bounds.
14209 while test "x$ac_lo" != "x$ac_hi"; do
14210 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14211 cat >conftest.
$ac_ext <<_ACEOF
14212 #line $LINENO "configure"
14215 cat confdefs.h
>>conftest.
$ac_ext
14216 cat >>conftest.
$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14218 $ac_includes_default
14222 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14229 rm -f conftest.
$ac_objext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14231 (eval $ac_compile) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } &&
14235 { ac_try
='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14246 ac_lo
=`expr '(' $ac_mid ')' + 1`
14248 rm -f conftest.
$ac_objext conftest.
$ac_ext
14251 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14252 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14253 See \`config.log' for more details." >&5
14254 echo "$as_me: error: cannot compute sizeof (char), 77
14255 See \`config.log' for more details." >&2;}
14256 { (exit 1); exit 1; }; } ;;
14259 if test "$cross_compiling" = yes; then
14260 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14261 See \`config.log' for more details." >&5
14262 echo "$as_me: error: cannot run test program while cross compiling
14263 See \`config.log' for more details." >&2;}
14264 { (exit 1); exit 1; }; }
14266 cat >conftest.
$ac_ext <<_ACEOF
14267 #line $LINENO "configure"
14270 cat confdefs.h
>>conftest.
$ac_ext
14271 cat >>conftest.
$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14273 $ac_includes_default
14274 long longval () { return (long) (sizeof (char)); }
14275 unsigned long ulongval () { return (long) (sizeof (char)); }
14277 #include <stdlib.h>
14282 FILE *f = fopen ("conftest.val", "w");
14285 if (((long) (sizeof (char))) < 0)
14287 long i = longval ();
14288 if (i != ((long) (sizeof (char))))
14290 fprintf (f, "%ld\n", i);
14294 unsigned long i = ulongval ();
14295 if (i != ((long) (sizeof (char))))
14297 fprintf (f, "%lu\n", i);
14299 exit (ferror (f) || fclose (f) != 0);
14305 rm -f conftest
$ac_exeext
14306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14307 (eval $ac_link) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; }; then
14316 ac_cv_sizeof_char
=`cat conftest.val`
14318 echo "$as_me: program exited with status $ac_status" >&5
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.
$ac_ext >&5
14322 ( exit $ac_status )
14323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14324 See \`config.log' for more details." >&5
14325 echo "$as_me: error: cannot compute sizeof (char), 77
14326 See \`config.log' for more details." >&2;}
14327 { (exit 1); exit 1; }; }
14329 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14334 ac_cv_sizeof_char
=0
14337 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14338 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14339 cat >>confdefs.h
<<_ACEOF
14340 #define SIZEOF_CHAR $ac_cv_sizeof_char
14344 echo "$as_me:$LINENO: checking for short" >&5
14345 echo $ECHO_N "checking for short... $ECHO_C" >&6
14346 if test "${ac_cv_type_short+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 cat >conftest.
$ac_ext <<_ACEOF
14350 #line $LINENO "configure"
14353 cat confdefs.h
>>conftest.
$ac_ext
14354 cat >>conftest.
$ac_ext <<_ACEOF
14355 /* end confdefs.h. */
14356 $ac_includes_default
14362 if (sizeof (short))
14368 rm -f conftest.
$ac_objext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); } &&
14374 { ac_try
='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 ac_cv_type_short
=yes
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.
$ac_ext >&5
14385 ac_cv_type_short
=no
14387 rm -f conftest.
$ac_objext conftest.
$ac_ext
14389 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14390 echo "${ECHO_T}$ac_cv_type_short" >&6
14392 echo "$as_me:$LINENO: checking size of short" >&5
14393 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14394 if test "${ac_cv_sizeof_short+set}" = set; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14397 if test "$ac_cv_type_short" = yes; then
14398 # The cast to unsigned long works around a bug in the HP C Compiler
14399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14401 # This bug is HP SR number 8606223364.
14402 if test "$cross_compiling" = yes; then
14403 # Depending upon the size, compute the lo and hi bounds.
14404 cat >conftest.
$ac_ext <<_ACEOF
14405 #line $LINENO "configure"
14408 cat confdefs.h
>>conftest.
$ac_ext
14409 cat >>conftest.
$ac_ext <<_ACEOF
14410 /* end confdefs.h. */
14411 $ac_includes_default
14415 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14422 rm -f conftest.
$ac_objext
14423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14424 (eval $ac_compile) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try
='test -s conftest.$ac_objext'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; }; then
14436 cat >conftest.
$ac_ext <<_ACEOF
14437 #line $LINENO "configure"
14440 cat confdefs.h
>>conftest.
$ac_ext
14441 cat >>conftest.
$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 $ac_includes_default
14447 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14454 rm -f conftest.
$ac_objext
14455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 (eval $ac_compile) 2>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try
='test -s conftest.$ac_objext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14466 ac_hi
=$ac_mid; break
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.
$ac_ext >&5
14471 ac_lo
=`expr $ac_mid + 1`
14472 if test $ac_lo -le $ac_mid; then
14476 ac_mid
=`expr 2 '*' $ac_mid + 1`
14478 rm -f conftest.
$ac_objext conftest.
$ac_ext
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.
$ac_ext >&5
14484 cat >conftest.
$ac_ext <<_ACEOF
14485 #line $LINENO "configure"
14488 cat confdefs.h
>>conftest.
$ac_ext
14489 cat >>conftest.
$ac_ext <<_ACEOF
14490 /* end confdefs.h. */
14491 $ac_includes_default
14495 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14502 rm -f conftest.
$ac_objext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14504 (eval $ac_compile) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try
='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14516 cat >conftest.
$ac_ext <<_ACEOF
14517 #line $LINENO "configure"
14520 cat confdefs.h
>>conftest.
$ac_ext
14521 cat >>conftest.
$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14523 $ac_includes_default
14527 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14534 rm -f conftest.
$ac_objext
14535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536 (eval $ac_compile) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try
='test -s conftest.$ac_objext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 ac_lo
=$ac_mid; break
14548 echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.
$ac_ext >&5
14551 ac_hi
=`expr '(' $ac_mid ')' - 1`
14552 if test $ac_mid -le $ac_hi; then
14556 ac_mid
=`expr 2 '*' $ac_mid`
14558 rm -f conftest.
$ac_objext conftest.
$ac_ext
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.
$ac_ext >&5
14566 rm -f conftest.
$ac_objext conftest.
$ac_ext
14568 rm -f conftest.
$ac_objext conftest.
$ac_ext
14569 # Binary search between lo and hi bounds.
14570 while test "x$ac_lo" != "x$ac_hi"; do
14571 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14572 cat >conftest.
$ac_ext <<_ACEOF
14573 #line $LINENO "configure"
14576 cat confdefs.h
>>conftest.
$ac_ext
14577 cat >>conftest.
$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 $ac_includes_default
14583 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14590 rm -f conftest.
$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try
='test -s conftest.$ac_objext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.
$ac_ext >&5
14607 ac_lo
=`expr '(' $ac_mid ')' + 1`
14609 rm -f conftest.
$ac_objext conftest.
$ac_ext
14612 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14613 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14614 See \`config.log' for more details." >&5
14615 echo "$as_me: error: cannot compute sizeof (short), 77
14616 See \`config.log' for more details." >&2;}
14617 { (exit 1); exit 1; }; } ;;
14620 if test "$cross_compiling" = yes; then
14621 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14622 See \`config.log' for more details." >&5
14623 echo "$as_me: error: cannot run test program while cross compiling
14624 See \`config.log' for more details." >&2;}
14625 { (exit 1); exit 1; }; }
14627 cat >conftest.
$ac_ext <<_ACEOF
14628 #line $LINENO "configure"
14631 cat confdefs.h
>>conftest.
$ac_ext
14632 cat >>conftest.
$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 $ac_includes_default
14635 long longval () { return (long) (sizeof (short)); }
14636 unsigned long ulongval () { return (long) (sizeof (short)); }
14638 #include <stdlib.h>
14643 FILE *f = fopen ("conftest.val", "w");
14646 if (((long) (sizeof (short))) < 0)
14648 long i = longval ();
14649 if (i != ((long) (sizeof (short))))
14651 fprintf (f, "%ld\n", i);
14655 unsigned long i = ulongval ();
14656 if (i != ((long) (sizeof (short))))
14658 fprintf (f, "%lu\n", i);
14660 exit (ferror (f) || fclose (f) != 0);
14666 rm -f conftest
$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 (eval $ac_link) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 ac_cv_sizeof_short
=`cat conftest.val`
14679 echo "$as_me: program exited with status $ac_status" >&5
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.
$ac_ext >&5
14683 ( exit $ac_status )
14684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14685 See \`config.log' for more details." >&5
14686 echo "$as_me: error: cannot compute sizeof (short), 77
14687 See \`config.log' for more details." >&2;}
14688 { (exit 1); exit 1; }; }
14690 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14695 ac_cv_sizeof_short
=0
14698 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14699 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14700 cat >>confdefs.h
<<_ACEOF
14701 #define SIZEOF_SHORT $ac_cv_sizeof_short
14705 echo "$as_me:$LINENO: checking for void *" >&5
14706 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14707 if test "${ac_cv_type_void_p+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 cat >conftest.
$ac_ext <<_ACEOF
14711 #line $LINENO "configure"
14714 cat confdefs.h
>>conftest.
$ac_ext
14715 cat >>conftest.
$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14717 $ac_includes_default
14723 if (sizeof (void *))
14729 rm -f conftest.
$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); } &&
14735 { ac_try
='test -s conftest.$ac_objext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_cv_type_void_p
=yes
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.
$ac_ext >&5
14746 ac_cv_type_void_p
=no
14748 rm -f conftest.
$ac_objext conftest.
$ac_ext
14750 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14751 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14753 echo "$as_me:$LINENO: checking size of void *" >&5
14754 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14755 if test "${ac_cv_sizeof_void_p+set}" = set; then
14756 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 if test "$ac_cv_type_void_p" = yes; then
14759 # The cast to unsigned long works around a bug in the HP C Compiler
14760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14761 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14762 # This bug is HP SR number 8606223364.
14763 if test "$cross_compiling" = yes; then
14764 # Depending upon the size, compute the lo and hi bounds.
14765 cat >conftest.
$ac_ext <<_ACEOF
14766 #line $LINENO "configure"
14769 cat confdefs.h
>>conftest.
$ac_ext
14770 cat >>conftest.
$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14772 $ac_includes_default
14776 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14783 rm -f conftest.
$ac_objext
14784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14785 (eval $ac_compile) 2>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } &&
14789 { ac_try
='test -s conftest.$ac_objext'
14790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791 (eval $ac_try) 2>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); }; }; then
14797 cat >conftest.
$ac_ext <<_ACEOF
14798 #line $LINENO "configure"
14801 cat confdefs.h
>>conftest.
$ac_ext
14802 cat >>conftest.
$ac_ext <<_ACEOF
14803 /* end confdefs.h. */
14804 $ac_includes_default
14808 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14815 rm -f conftest.
$ac_objext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); } &&
14821 { ac_try
='test -s conftest.$ac_objext'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 ac_hi
=$ac_mid; break
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.
$ac_ext >&5
14832 ac_lo
=`expr $ac_mid + 1`
14833 if test $ac_lo -le $ac_mid; then
14837 ac_mid
=`expr 2 '*' $ac_mid + 1`
14839 rm -f conftest.
$ac_objext conftest.
$ac_ext
14842 echo "$as_me: failed program was:" >&5
14843 sed 's/^/| /' conftest.
$ac_ext >&5
14845 cat >conftest.
$ac_ext <<_ACEOF
14846 #line $LINENO "configure"
14849 cat confdefs.h
>>conftest.
$ac_ext
14850 cat >>conftest.
$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14852 $ac_includes_default
14856 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14863 rm -f conftest.
$ac_objext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } &&
14869 { ac_try
='test -s conftest.$ac_objext'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; }; then
14877 cat >conftest.
$ac_ext <<_ACEOF
14878 #line $LINENO "configure"
14881 cat confdefs.h
>>conftest.
$ac_ext
14882 cat >>conftest.
$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 $ac_includes_default
14888 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14895 rm -f conftest.
$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try
='test -s conftest.$ac_objext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_lo
=$ac_mid; break
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.
$ac_ext >&5
14912 ac_hi
=`expr '(' $ac_mid ')' - 1`
14913 if test $ac_mid -le $ac_hi; then
14917 ac_mid
=`expr 2 '*' $ac_mid`
14919 rm -f conftest.
$ac_objext conftest.
$ac_ext
14922 echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.
$ac_ext >&5
14927 rm -f conftest.
$ac_objext conftest.
$ac_ext
14929 rm -f conftest.
$ac_objext conftest.
$ac_ext
14930 # Binary search between lo and hi bounds.
14931 while test "x$ac_lo" != "x$ac_hi"; do
14932 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14933 cat >conftest.
$ac_ext <<_ACEOF
14934 #line $LINENO "configure"
14937 cat confdefs.h
>>conftest.
$ac_ext
14938 cat >>conftest.
$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14940 $ac_includes_default
14944 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14951 rm -f conftest.
$ac_objext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14953 (eval $ac_compile) 2>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } &&
14957 { ac_try
='test -s conftest.$ac_objext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.
$ac_ext >&5
14968 ac_lo
=`expr '(' $ac_mid ')' + 1`
14970 rm -f conftest.
$ac_objext conftest.
$ac_ext
14973 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14974 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14975 See \`config.log' for more details." >&5
14976 echo "$as_me: error: cannot compute sizeof (void *), 77
14977 See \`config.log' for more details." >&2;}
14978 { (exit 1); exit 1; }; } ;;
14981 if test "$cross_compiling" = yes; then
14982 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14983 See \`config.log' for more details." >&5
14984 echo "$as_me: error: cannot run test program while cross compiling
14985 See \`config.log' for more details." >&2;}
14986 { (exit 1); exit 1; }; }
14988 cat >conftest.
$ac_ext <<_ACEOF
14989 #line $LINENO "configure"
14992 cat confdefs.h
>>conftest.
$ac_ext
14993 cat >>conftest.
$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
14995 $ac_includes_default
14996 long longval () { return (long) (sizeof (void *)); }
14997 unsigned long ulongval () { return (long) (sizeof (void *)); }
14999 #include <stdlib.h>
15004 FILE *f = fopen ("conftest.val", "w");
15007 if (((long) (sizeof (void *))) < 0)
15009 long i = longval ();
15010 if (i != ((long) (sizeof (void *))))
15012 fprintf (f, "%ld\n", i);
15016 unsigned long i = ulongval ();
15017 if (i != ((long) (sizeof (void *))))
15019 fprintf (f, "%lu\n", i);
15021 exit (ferror (f) || fclose (f) != 0);
15027 rm -f conftest
$ac_exeext
15028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15029 (eval $ac_link) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 ac_cv_sizeof_void_p
=`cat conftest.val`
15040 echo "$as_me: program exited with status $ac_status" >&5
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.
$ac_ext >&5
15044 ( exit $ac_status )
15045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15046 See \`config.log' for more details." >&5
15047 echo "$as_me: error: cannot compute sizeof (void *), 77
15048 See \`config.log' for more details." >&2;}
15049 { (exit 1); exit 1; }; }
15051 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15056 ac_cv_sizeof_void_p
=0
15059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15060 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15061 cat >>confdefs.h
<<_ACEOF
15062 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15066 echo "$as_me:$LINENO: checking for int" >&5
15067 echo $ECHO_N "checking for int... $ECHO_C" >&6
15068 if test "${ac_cv_type_int+set}" = set; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 cat >conftest.
$ac_ext <<_ACEOF
15072 #line $LINENO "configure"
15075 cat confdefs.h
>>conftest.
$ac_ext
15076 cat >>conftest.
$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15078 $ac_includes_default
15090 rm -f conftest.
$ac_objext
15091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15092 (eval $ac_compile) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try
='test -s conftest.$ac_objext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.
$ac_ext >&5
15109 rm -f conftest.
$ac_objext conftest.
$ac_ext
15111 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15112 echo "${ECHO_T}$ac_cv_type_int" >&6
15114 echo "$as_me:$LINENO: checking size of int" >&5
15115 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15116 if test "${ac_cv_sizeof_int+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 if test "$ac_cv_type_int" = yes; then
15120 # The cast to unsigned long works around a bug in the HP C Compiler
15121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15122 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15123 # This bug is HP SR number 8606223364.
15124 if test "$cross_compiling" = yes; then
15125 # Depending upon the size, compute the lo and hi bounds.
15126 cat >conftest.
$ac_ext <<_ACEOF
15127 #line $LINENO "configure"
15130 cat confdefs.h
>>conftest.
$ac_ext
15131 cat >>conftest.
$ac_ext <<_ACEOF
15132 /* end confdefs.h. */
15133 $ac_includes_default
15137 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15144 rm -f conftest.
$ac_objext
15145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15146 (eval $ac_compile) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } &&
15150 { ac_try
='test -s conftest.$ac_objext'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; }; then
15158 cat >conftest.
$ac_ext <<_ACEOF
15159 #line $LINENO "configure"
15162 cat confdefs.h
>>conftest.
$ac_ext
15163 cat >>conftest.
$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15165 $ac_includes_default
15169 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15176 rm -f conftest.
$ac_objext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try
='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 ac_hi
=$ac_mid; break
15190 echo "$as_me: failed program was:" >&5
15191 sed 's/^/| /' conftest.
$ac_ext >&5
15193 ac_lo
=`expr $ac_mid + 1`
15194 if test $ac_lo -le $ac_mid; then
15198 ac_mid
=`expr 2 '*' $ac_mid + 1`
15200 rm -f conftest.
$ac_objext conftest.
$ac_ext
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15206 cat >conftest.
$ac_ext <<_ACEOF
15207 #line $LINENO "configure"
15210 cat confdefs.h
>>conftest.
$ac_ext
15211 cat >>conftest.
$ac_ext <<_ACEOF
15212 /* end confdefs.h. */
15213 $ac_includes_default
15217 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15224 rm -f conftest.
$ac_objext
15225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15226 (eval $ac_compile) 2>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try
='test -s conftest.$ac_objext'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; }; then
15238 cat >conftest.
$ac_ext <<_ACEOF
15239 #line $LINENO "configure"
15242 cat confdefs.h
>>conftest.
$ac_ext
15243 cat >>conftest.
$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15245 $ac_includes_default
15249 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15256 rm -f conftest.
$ac_objext
15257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15258 (eval $ac_compile) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try
='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_lo
=$ac_mid; break
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.
$ac_ext >&5
15273 ac_hi
=`expr '(' $ac_mid ')' - 1`
15274 if test $ac_mid -le $ac_hi; then
15278 ac_mid
=`expr 2 '*' $ac_mid`
15280 rm -f conftest.
$ac_objext conftest.
$ac_ext
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.
$ac_ext >&5
15288 rm -f conftest.
$ac_objext conftest.
$ac_ext
15290 rm -f conftest.
$ac_objext conftest.
$ac_ext
15291 # Binary search between lo and hi bounds.
15292 while test "x$ac_lo" != "x$ac_hi"; do
15293 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15294 cat >conftest.
$ac_ext <<_ACEOF
15295 #line $LINENO "configure"
15298 cat confdefs.h
>>conftest.
$ac_ext
15299 cat >>conftest.
$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301 $ac_includes_default
15305 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15312 rm -f conftest.
$ac_objext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15314 (eval $ac_compile) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try
='test -s conftest.$ac_objext'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; }; then
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15329 ac_lo
=`expr '(' $ac_mid ')' + 1`
15331 rm -f conftest.
$ac_objext conftest.
$ac_ext
15334 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15335 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15336 See \`config.log' for more details." >&5
15337 echo "$as_me: error: cannot compute sizeof (int), 77
15338 See \`config.log' for more details." >&2;}
15339 { (exit 1); exit 1; }; } ;;
15342 if test "$cross_compiling" = yes; then
15343 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15344 See \`config.log' for more details." >&5
15345 echo "$as_me: error: cannot run test program while cross compiling
15346 See \`config.log' for more details." >&2;}
15347 { (exit 1); exit 1; }; }
15349 cat >conftest.
$ac_ext <<_ACEOF
15350 #line $LINENO "configure"
15353 cat confdefs.h
>>conftest.
$ac_ext
15354 cat >>conftest.
$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15356 $ac_includes_default
15357 long longval () { return (long) (sizeof (int)); }
15358 unsigned long ulongval () { return (long) (sizeof (int)); }
15360 #include <stdlib.h>
15365 FILE *f = fopen ("conftest.val", "w");
15368 if (((long) (sizeof (int))) < 0)
15370 long i = longval ();
15371 if (i != ((long) (sizeof (int))))
15373 fprintf (f, "%ld\n", i);
15377 unsigned long i = ulongval ();
15378 if (i != ((long) (sizeof (int))))
15380 fprintf (f, "%lu\n", i);
15382 exit (ferror (f) || fclose (f) != 0);
15388 rm -f conftest
$ac_exeext
15389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15390 (eval $ac_link) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15399 ac_cv_sizeof_int
=`cat conftest.val`
15401 echo "$as_me: program exited with status $ac_status" >&5
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15405 ( exit $ac_status )
15406 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15407 See \`config.log' for more details." >&5
15408 echo "$as_me: error: cannot compute sizeof (int), 77
15409 See \`config.log' for more details." >&2;}
15410 { (exit 1); exit 1; }; }
15412 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15420 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15421 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15422 cat >>confdefs.h
<<_ACEOF
15423 #define SIZEOF_INT $ac_cv_sizeof_int
15427 echo "$as_me:$LINENO: checking for long" >&5
15428 echo $ECHO_N "checking for long... $ECHO_C" >&6
15429 if test "${ac_cv_type_long+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 cat >conftest.
$ac_ext <<_ACEOF
15433 #line $LINENO "configure"
15436 cat confdefs.h
>>conftest.
$ac_ext
15437 cat >>conftest.
$ac_ext <<_ACEOF
15438 /* end confdefs.h. */
15439 $ac_includes_default
15451 rm -f conftest.
$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try
='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 ac_cv_type_long
=yes
15465 echo "$as_me: failed program was:" >&5
15466 sed 's/^/| /' conftest.
$ac_ext >&5
15470 rm -f conftest.
$ac_objext conftest.
$ac_ext
15472 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15473 echo "${ECHO_T}$ac_cv_type_long" >&6
15475 echo "$as_me:$LINENO: checking size of long" >&5
15476 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15477 if test "${ac_cv_sizeof_long+set}" = set; then
15478 echo $ECHO_N "(cached) $ECHO_C" >&6
15480 if test "$ac_cv_type_long" = yes; then
15481 # The cast to unsigned long works around a bug in the HP C Compiler
15482 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15483 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15484 # This bug is HP SR number 8606223364.
15485 if test "$cross_compiling" = yes; then
15486 # Depending upon the size, compute the lo and hi bounds.
15487 cat >conftest.
$ac_ext <<_ACEOF
15488 #line $LINENO "configure"
15491 cat confdefs.h
>>conftest.
$ac_ext
15492 cat >>conftest.
$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15494 $ac_includes_default
15498 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15505 rm -f conftest.
$ac_objext
15506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15507 (eval $ac_compile) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); } &&
15511 { ac_try
='test -s conftest.$ac_objext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15519 cat >conftest.
$ac_ext <<_ACEOF
15520 #line $LINENO "configure"
15523 cat confdefs.h
>>conftest.
$ac_ext
15524 cat >>conftest.
$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15526 $ac_includes_default
15530 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15537 rm -f conftest.
$ac_objext
15538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15539 (eval $ac_compile) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } &&
15543 { ac_try
='test -s conftest.$ac_objext'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; }; then
15549 ac_hi
=$ac_mid; break
15551 echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.
$ac_ext >&5
15554 ac_lo
=`expr $ac_mid + 1`
15555 if test $ac_lo -le $ac_mid; then
15559 ac_mid
=`expr 2 '*' $ac_mid + 1`
15561 rm -f conftest.
$ac_objext conftest.
$ac_ext
15564 echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.
$ac_ext >&5
15567 cat >conftest.
$ac_ext <<_ACEOF
15568 #line $LINENO "configure"
15571 cat confdefs.h
>>conftest.
$ac_ext
15572 cat >>conftest.
$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15578 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15585 rm -f conftest.
$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try
='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15599 cat >conftest.
$ac_ext <<_ACEOF
15600 #line $LINENO "configure"
15603 cat confdefs.h
>>conftest.
$ac_ext
15604 cat >>conftest.
$ac_ext <<_ACEOF
15605 /* end confdefs.h. */
15606 $ac_includes_default
15610 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15617 rm -f conftest.
$ac_objext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15619 (eval $ac_compile) 2>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try
='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_lo
=$ac_mid; break
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.
$ac_ext >&5
15634 ac_hi
=`expr '(' $ac_mid ')' - 1`
15635 if test $ac_mid -le $ac_hi; then
15639 ac_mid
=`expr 2 '*' $ac_mid`
15641 rm -f conftest.
$ac_objext conftest.
$ac_ext
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15649 rm -f conftest.
$ac_objext conftest.
$ac_ext
15651 rm -f conftest.
$ac_objext conftest.
$ac_ext
15652 # Binary search between lo and hi bounds.
15653 while test "x$ac_lo" != "x$ac_hi"; do
15654 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15655 cat >conftest.
$ac_ext <<_ACEOF
15656 #line $LINENO "configure"
15659 cat confdefs.h
>>conftest.
$ac_ext
15660 cat >>conftest.
$ac_ext <<_ACEOF
15661 /* end confdefs.h. */
15662 $ac_includes_default
15666 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15673 rm -f conftest.
$ac_objext
15674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15675 (eval $ac_compile) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } &&
15679 { ac_try
='test -s conftest.$ac_objext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15690 ac_lo
=`expr '(' $ac_mid ')' + 1`
15692 rm -f conftest.
$ac_objext conftest.
$ac_ext
15695 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15696 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15697 See \`config.log' for more details." >&5
15698 echo "$as_me: error: cannot compute sizeof (long), 77
15699 See \`config.log' for more details." >&2;}
15700 { (exit 1); exit 1; }; } ;;
15703 if test "$cross_compiling" = yes; then
15704 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15705 See \`config.log' for more details." >&5
15706 echo "$as_me: error: cannot run test program while cross compiling
15707 See \`config.log' for more details." >&2;}
15708 { (exit 1); exit 1; }; }
15710 cat >conftest.
$ac_ext <<_ACEOF
15711 #line $LINENO "configure"
15714 cat confdefs.h
>>conftest.
$ac_ext
15715 cat >>conftest.
$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 $ac_includes_default
15718 long longval () { return (long) (sizeof (long)); }
15719 unsigned long ulongval () { return (long) (sizeof (long)); }
15721 #include <stdlib.h>
15726 FILE *f = fopen ("conftest.val", "w");
15729 if (((long) (sizeof (long))) < 0)
15731 long i = longval ();
15732 if (i != ((long) (sizeof (long))))
15734 fprintf (f, "%ld\n", i);
15738 unsigned long i = ulongval ();
15739 if (i != ((long) (sizeof (long))))
15741 fprintf (f, "%lu\n", i);
15743 exit (ferror (f) || fclose (f) != 0);
15749 rm -f conftest
$ac_exeext
15750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15751 (eval $ac_link) 2>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; }; then
15760 ac_cv_sizeof_long
=`cat conftest.val`
15762 echo "$as_me: program exited with status $ac_status" >&5
15763 echo "$as_me: failed program was:" >&5
15764 sed 's/^/| /' conftest.
$ac_ext >&5
15766 ( exit $ac_status )
15767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15768 See \`config.log' for more details." >&5
15769 echo "$as_me: error: cannot compute sizeof (long), 77
15770 See \`config.log' for more details." >&2;}
15771 { (exit 1); exit 1; }; }
15773 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15778 ac_cv_sizeof_long
=0
15781 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15782 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15783 cat >>confdefs.h
<<_ACEOF
15784 #define SIZEOF_LONG $ac_cv_sizeof_long
15788 echo "$as_me:$LINENO: checking for size_t" >&5
15789 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15790 if test "${ac_cv_type_size_t+set}" = set; then
15791 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 cat >conftest.
$ac_ext <<_ACEOF
15794 #line $LINENO "configure"
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 $ac_includes_default
15806 if (sizeof (size_t))
15812 rm -f conftest.
$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -s conftest.$ac_objext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15824 ac_cv_type_size_t
=yes
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_cv_type_size_t
=no
15831 rm -f conftest.
$ac_objext conftest.
$ac_ext
15833 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15834 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15836 echo "$as_me:$LINENO: checking size of size_t" >&5
15837 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
15838 if test "${ac_cv_sizeof_size_t+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 if test "$ac_cv_type_size_t" = yes; then
15842 # The cast to unsigned long works around a bug in the HP C Compiler
15843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15845 # This bug is HP SR number 8606223364.
15846 if test "$cross_compiling" = yes; then
15847 # Depending upon the size, compute the lo and hi bounds.
15848 cat >conftest.
$ac_ext <<_ACEOF
15849 #line $LINENO "configure"
15852 cat confdefs.h
>>conftest.
$ac_ext
15853 cat >>conftest.
$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 $ac_includes_default
15859 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
15866 rm -f conftest.
$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } &&
15872 { ac_try
='test -s conftest.$ac_objext'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; }; then
15880 cat >conftest.
$ac_ext <<_ACEOF
15881 #line $LINENO "configure"
15884 cat confdefs.h
>>conftest.
$ac_ext
15885 cat >>conftest.
$ac_ext <<_ACEOF
15886 /* end confdefs.h. */
15887 $ac_includes_default
15891 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15898 rm -f conftest.
$ac_objext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } &&
15904 { ac_try
='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_hi
=$ac_mid; break
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.
$ac_ext >&5
15915 ac_lo
=`expr $ac_mid + 1`
15916 if test $ac_lo -le $ac_mid; then
15920 ac_mid
=`expr 2 '*' $ac_mid + 1`
15922 rm -f conftest.
$ac_objext conftest.
$ac_ext
15925 echo "$as_me: failed program was:" >&5
15926 sed 's/^/| /' conftest.
$ac_ext >&5
15928 cat >conftest.
$ac_ext <<_ACEOF
15929 #line $LINENO "configure"
15932 cat confdefs.h
>>conftest.
$ac_ext
15933 cat >>conftest.
$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 $ac_includes_default
15939 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
15946 rm -f conftest.
$ac_objext
15947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15948 (eval $ac_compile) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } &&
15952 { ac_try
='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15960 cat >conftest.
$ac_ext <<_ACEOF
15961 #line $LINENO "configure"
15964 cat confdefs.h
>>conftest.
$ac_ext
15965 cat >>conftest.
$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15967 $ac_includes_default
15971 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
15978 rm -f conftest.
$ac_objext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try
='test -s conftest.$ac_objext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; }; then
15990 ac_lo
=$ac_mid; break
15992 echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.
$ac_ext >&5
15995 ac_hi
=`expr '(' $ac_mid ')' - 1`
15996 if test $ac_mid -le $ac_hi; then
16000 ac_mid
=`expr 2 '*' $ac_mid`
16002 rm -f conftest.
$ac_objext conftest.
$ac_ext
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.
$ac_ext >&5
16010 rm -f conftest.
$ac_objext conftest.
$ac_ext
16012 rm -f conftest.
$ac_objext conftest.
$ac_ext
16013 # Binary search between lo and hi bounds.
16014 while test "x$ac_lo" != "x$ac_hi"; do
16015 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16016 cat >conftest.
$ac_ext <<_ACEOF
16017 #line $LINENO "configure"
16020 cat confdefs.h
>>conftest.
$ac_ext
16021 cat >>conftest.
$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023 $ac_includes_default
16027 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16034 rm -f conftest.
$ac_objext
16035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16036 (eval $ac_compile) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try
='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16051 ac_lo
=`expr '(' $ac_mid ')' + 1`
16053 rm -f conftest.
$ac_objext conftest.
$ac_ext
16056 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16057 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16058 See \`config.log' for more details." >&5
16059 echo "$as_me: error: cannot compute sizeof (size_t), 77
16060 See \`config.log' for more details." >&2;}
16061 { (exit 1); exit 1; }; } ;;
16064 if test "$cross_compiling" = yes; then
16065 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16066 See \`config.log' for more details." >&5
16067 echo "$as_me: error: cannot run test program while cross compiling
16068 See \`config.log' for more details." >&2;}
16069 { (exit 1); exit 1; }; }
16071 cat >conftest.
$ac_ext <<_ACEOF
16072 #line $LINENO "configure"
16075 cat confdefs.h
>>conftest.
$ac_ext
16076 cat >>conftest.
$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078 $ac_includes_default
16079 long longval () { return (long) (sizeof (size_t)); }
16080 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16082 #include <stdlib.h>
16087 FILE *f = fopen ("conftest.val", "w");
16090 if (((long) (sizeof (size_t))) < 0)
16092 long i = longval ();
16093 if (i != ((long) (sizeof (size_t))))
16095 fprintf (f, "%ld\n", i);
16099 unsigned long i = ulongval ();
16100 if (i != ((long) (sizeof (size_t))))
16102 fprintf (f, "%lu\n", i);
16104 exit (ferror (f) || fclose (f) != 0);
16110 rm -f conftest
$ac_exeext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16112 (eval $ac_link) 2>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_sizeof_size_t
=`cat conftest.val`
16123 echo "$as_me: program exited with status $ac_status" >&5
16124 echo "$as_me: failed program was:" >&5
16125 sed 's/^/| /' conftest.
$ac_ext >&5
16127 ( exit $ac_status )
16128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16129 See \`config.log' for more details." >&5
16130 echo "$as_me: error: cannot compute sizeof (size_t), 77
16131 See \`config.log' for more details." >&2;}
16132 { (exit 1); exit 1; }; }
16134 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16139 ac_cv_sizeof_size_t
=0
16142 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16143 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16144 cat >>confdefs.h
<<_ACEOF
16145 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16152 echo "$as_me:$LINENO: checking for long long" >&5
16153 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16154 if test "${ac_cv_type_long_long+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 cat >conftest.
$ac_ext <<_ACEOF
16158 #line $LINENO "configure"
16161 cat confdefs.h
>>conftest.
$ac_ext
16162 cat >>conftest.
$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164 $ac_includes_default
16168 if ((long long *) 0)
16170 if (sizeof (long long))
16176 rm -f conftest.
$ac_objext
16177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16178 (eval $ac_compile) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try
='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 ac_cv_type_long_long
=yes
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.
$ac_ext >&5
16193 ac_cv_type_long_long
=no
16195 rm -f conftest.
$ac_objext conftest.
$ac_ext
16197 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16198 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16200 echo "$as_me:$LINENO: checking size of long long" >&5
16201 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16202 if test "${ac_cv_sizeof_long_long+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 if test "$ac_cv_type_long_long" = yes; then
16206 # The cast to unsigned long works around a bug in the HP C Compiler
16207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16209 # This bug is HP SR number 8606223364.
16210 if test "$cross_compiling" = yes; then
16211 # Depending upon the size, compute the lo and hi bounds.
16212 cat >conftest.
$ac_ext <<_ACEOF
16213 #line $LINENO "configure"
16216 cat confdefs.h
>>conftest.
$ac_ext
16217 cat >>conftest.
$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 $ac_includes_default
16223 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16230 rm -f conftest.
$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232 (eval $ac_compile) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); } &&
16236 { ac_try
='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16244 cat >conftest.
$ac_ext <<_ACEOF
16245 #line $LINENO "configure"
16248 cat confdefs.h
>>conftest.
$ac_ext
16249 cat >>conftest.
$ac_ext <<_ACEOF
16250 /* end confdefs.h. */
16251 $ac_includes_default
16255 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16262 rm -f conftest.
$ac_objext
16263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16264 (eval $ac_compile) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } &&
16268 { ac_try
='test -s conftest.$ac_objext'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; }; then
16274 ac_hi
=$ac_mid; break
16276 echo "$as_me: failed program was:" >&5
16277 sed 's/^/| /' conftest.
$ac_ext >&5
16279 ac_lo
=`expr $ac_mid + 1`
16280 if test $ac_lo -le $ac_mid; then
16284 ac_mid
=`expr 2 '*' $ac_mid + 1`
16286 rm -f conftest.
$ac_objext conftest.
$ac_ext
16289 echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.
$ac_ext >&5
16292 cat >conftest.
$ac_ext <<_ACEOF
16293 #line $LINENO "configure"
16296 cat confdefs.h
>>conftest.
$ac_ext
16297 cat >>conftest.
$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 $ac_includes_default
16303 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16310 rm -f conftest.
$ac_objext
16311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16312 (eval $ac_compile) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } &&
16316 { ac_try
='test -s conftest.$ac_objext'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16324 cat >conftest.
$ac_ext <<_ACEOF
16325 #line $LINENO "configure"
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 $ac_includes_default
16335 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16342 rm -f conftest.
$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try
='test -s conftest.$ac_objext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 ac_lo
=$ac_mid; break
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.
$ac_ext >&5
16359 ac_hi
=`expr '(' $ac_mid ')' - 1`
16360 if test $ac_mid -le $ac_hi; then
16364 ac_mid
=`expr 2 '*' $ac_mid`
16366 rm -f conftest.
$ac_objext conftest.
$ac_ext
16369 echo "$as_me: failed program was:" >&5
16370 sed 's/^/| /' conftest.
$ac_ext >&5
16374 rm -f conftest.
$ac_objext conftest.
$ac_ext
16376 rm -f conftest.
$ac_objext conftest.
$ac_ext
16377 # Binary search between lo and hi bounds.
16378 while test "x$ac_lo" != "x$ac_hi"; do
16379 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16380 cat >conftest.
$ac_ext <<_ACEOF
16381 #line $LINENO "configure"
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16391 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16398 rm -f conftest.
$ac_objext
16399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16400 (eval $ac_compile) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try
='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 ac_lo
=`expr '(' $ac_mid ')' + 1`
16417 rm -f conftest.
$ac_objext conftest.
$ac_ext
16420 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16421 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16422 See \`config.log' for more details." >&5
16423 echo "$as_me: error: cannot compute sizeof (long long), 77
16424 See \`config.log' for more details." >&2;}
16425 { (exit 1); exit 1; }; } ;;
16428 if test "$cross_compiling" = yes; then
16429 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16430 See \`config.log' for more details." >&5
16431 echo "$as_me: error: cannot run test program while cross compiling
16432 See \`config.log' for more details." >&2;}
16433 { (exit 1); exit 1; }; }
16435 cat >conftest.
$ac_ext <<_ACEOF
16436 #line $LINENO "configure"
16439 cat confdefs.h
>>conftest.
$ac_ext
16440 cat >>conftest.
$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16442 $ac_includes_default
16443 long longval () { return (long) (sizeof (long long)); }
16444 unsigned long ulongval () { return (long) (sizeof (long long)); }
16446 #include <stdlib.h>
16451 FILE *f = fopen ("conftest.val", "w");
16454 if (((long) (sizeof (long long))) < 0)
16456 long i = longval ();
16457 if (i != ((long) (sizeof (long long))))
16459 fprintf (f, "%ld\n", i);
16463 unsigned long i = ulongval ();
16464 if (i != ((long) (sizeof (long long))))
16466 fprintf (f, "%lu\n", i);
16468 exit (ferror (f) || fclose (f) != 0);
16474 rm -f conftest
$ac_exeext
16475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16476 (eval $ac_link) 2>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16481 (eval $ac_try) 2>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; }; then
16485 ac_cv_sizeof_long_long
=`cat conftest.val`
16487 echo "$as_me: program exited with status $ac_status" >&5
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.
$ac_ext >&5
16491 ( exit $ac_status )
16492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16493 See \`config.log' for more details." >&5
16494 echo "$as_me: error: cannot compute sizeof (long long), 77
16495 See \`config.log' for more details." >&2;}
16496 { (exit 1); exit 1; }; }
16498 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16503 ac_cv_sizeof_long_long
=0
16506 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16507 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16508 cat >>confdefs.h
<<_ACEOF
16509 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16515 echo "$as_me:$LINENO: checking for long long" >&5
16516 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16517 if test "${ac_cv_type_long_long+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 cat >conftest.
$ac_ext <<_ACEOF
16521 #line $LINENO "configure"
16524 cat confdefs.h
>>conftest.
$ac_ext
16525 cat >>conftest.
$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 $ac_includes_default
16531 if ((long long *) 0)
16533 if (sizeof (long long))
16539 rm -f conftest.
$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); } &&
16545 { ac_try
='test -s conftest.$ac_objext'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 ac_cv_type_long_long
=yes
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.
$ac_ext >&5
16556 ac_cv_type_long_long
=no
16558 rm -f conftest.
$ac_objext conftest.
$ac_ext
16560 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16561 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16563 echo "$as_me:$LINENO: checking size of long long" >&5
16564 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16565 if test "${ac_cv_sizeof_long_long+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16568 if test "$ac_cv_type_long_long" = yes; then
16569 # The cast to unsigned long works around a bug in the HP C Compiler
16570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16572 # This bug is HP SR number 8606223364.
16573 if test "$cross_compiling" = yes; then
16574 # Depending upon the size, compute the lo and hi bounds.
16575 cat >conftest.
$ac_ext <<_ACEOF
16576 #line $LINENO "configure"
16579 cat confdefs.h
>>conftest.
$ac_ext
16580 cat >>conftest.
$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582 $ac_includes_default
16586 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16593 rm -f conftest.
$ac_objext
16594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16595 (eval $ac_compile) 2>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } &&
16599 { ac_try
='test -s conftest.$ac_objext'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; }; then
16607 cat >conftest.
$ac_ext <<_ACEOF
16608 #line $LINENO "configure"
16611 cat confdefs.h
>>conftest.
$ac_ext
16612 cat >>conftest.
$ac_ext <<_ACEOF
16613 /* end confdefs.h. */
16614 $ac_includes_default
16618 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16625 rm -f conftest.
$ac_objext
16626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16627 (eval $ac_compile) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try
='test -s conftest.$ac_objext'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; }; then
16637 ac_hi
=$ac_mid; break
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.
$ac_ext >&5
16642 ac_lo
=`expr $ac_mid + 1`
16643 if test $ac_lo -le $ac_mid; then
16647 ac_mid
=`expr 2 '*' $ac_mid + 1`
16649 rm -f conftest.
$ac_objext conftest.
$ac_ext
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.
$ac_ext >&5
16655 cat >conftest.
$ac_ext <<_ACEOF
16656 #line $LINENO "configure"
16659 cat confdefs.h
>>conftest.
$ac_ext
16660 cat >>conftest.
$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662 $ac_includes_default
16666 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16673 rm -f conftest.
$ac_objext
16674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16675 (eval $ac_compile) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); } &&
16679 { ac_try
='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16687 cat >conftest.
$ac_ext <<_ACEOF
16688 #line $LINENO "configure"
16691 cat confdefs.h
>>conftest.
$ac_ext
16692 cat >>conftest.
$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16698 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16705 rm -f conftest.
$ac_objext
16706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16707 (eval $ac_compile) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); } &&
16711 { ac_try
='test -s conftest.$ac_objext'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; }; then
16717 ac_lo
=$ac_mid; break
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.
$ac_ext >&5
16722 ac_hi
=`expr '(' $ac_mid ')' - 1`
16723 if test $ac_mid -le $ac_hi; then
16727 ac_mid
=`expr 2 '*' $ac_mid`
16729 rm -f conftest.
$ac_objext conftest.
$ac_ext
16732 echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.
$ac_ext >&5
16737 rm -f conftest.
$ac_objext conftest.
$ac_ext
16739 rm -f conftest.
$ac_objext conftest.
$ac_ext
16740 # Binary search between lo and hi bounds.
16741 while test "x$ac_lo" != "x$ac_hi"; do
16742 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16743 cat >conftest.
$ac_ext <<_ACEOF
16744 #line $LINENO "configure"
16747 cat confdefs.h
>>conftest.
$ac_ext
16748 cat >>conftest.
$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750 $ac_includes_default
16754 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16761 rm -f conftest.
$ac_objext
16762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16763 (eval $ac_compile) 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } &&
16767 { ac_try
='test -s conftest.$ac_objext'
16768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16769 (eval $ac_try) 2>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); }; }; then
16775 echo "$as_me: failed program was:" >&5
16776 sed 's/^/| /' conftest.
$ac_ext >&5
16778 ac_lo
=`expr '(' $ac_mid ')' + 1`
16780 rm -f conftest.
$ac_objext conftest.
$ac_ext
16783 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16784 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16785 See \`config.log' for more details." >&5
16786 echo "$as_me: error: cannot compute sizeof (long long), 77
16787 See \`config.log' for more details." >&2;}
16788 { (exit 1); exit 1; }; } ;;
16791 if test "$cross_compiling" = yes; then
16792 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16793 See \`config.log' for more details." >&5
16794 echo "$as_me: error: cannot run test program while cross compiling
16795 See \`config.log' for more details." >&2;}
16796 { (exit 1); exit 1; }; }
16798 cat >conftest.
$ac_ext <<_ACEOF
16799 #line $LINENO "configure"
16802 cat confdefs.h
>>conftest.
$ac_ext
16803 cat >>conftest.
$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 $ac_includes_default
16806 long longval () { return (long) (sizeof (long long)); }
16807 unsigned long ulongval () { return (long) (sizeof (long long)); }
16809 #include <stdlib.h>
16814 FILE *f = fopen ("conftest.val", "w");
16817 if (((long) (sizeof (long long))) < 0)
16819 long i = longval ();
16820 if (i != ((long) (sizeof (long long))))
16822 fprintf (f, "%ld\n", i);
16826 unsigned long i = ulongval ();
16827 if (i != ((long) (sizeof (long long))))
16829 fprintf (f, "%lu\n", i);
16831 exit (ferror (f) || fclose (f) != 0);
16837 rm -f conftest
$ac_exeext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16839 (eval $ac_link) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 ac_cv_sizeof_long_long
=`cat conftest.val`
16850 echo "$as_me: program exited with status $ac_status" >&5
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16854 ( exit $ac_status )
16855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16856 See \`config.log' for more details." >&5
16857 echo "$as_me: error: cannot compute sizeof (long long), 77
16858 See \`config.log' for more details." >&2;}
16859 { (exit 1); exit 1; }; }
16861 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16866 ac_cv_sizeof_long_long
=0
16869 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16870 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16871 cat >>confdefs.h
<<_ACEOF
16872 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16876 if test "$ac_cv_sizeof_long_long" != "0"; then
16877 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16881 echo "$as_me:$LINENO: checking for long long" >&5
16882 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16883 if test "${ac_cv_type_long_long+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 cat >conftest.
$ac_ext <<_ACEOF
16887 #line $LINENO "configure"
16890 cat confdefs.h
>>conftest.
$ac_ext
16891 cat >>conftest.
$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 $ac_includes_default
16897 if ((long long *) 0)
16899 if (sizeof (long long))
16905 rm -f conftest.
$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } &&
16911 { ac_try
='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 ac_cv_type_long_long
=yes
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.
$ac_ext >&5
16922 ac_cv_type_long_long
=no
16924 rm -f conftest.
$ac_objext conftest.
$ac_ext
16926 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16927 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16929 echo "$as_me:$LINENO: checking size of long long" >&5
16930 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16931 if test "${ac_cv_sizeof_long_long+set}" = set; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 if test "$ac_cv_type_long_long" = yes; then
16935 # The cast to unsigned long works around a bug in the HP C Compiler
16936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16938 # This bug is HP SR number 8606223364.
16939 if test "$cross_compiling" = yes; then
16940 # Depending upon the size, compute the lo and hi bounds.
16941 cat >conftest.
$ac_ext <<_ACEOF
16942 #line $LINENO "configure"
16945 cat confdefs.h
>>conftest.
$ac_ext
16946 cat >>conftest.
$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 $ac_includes_default
16952 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16959 rm -f conftest.
$ac_objext
16960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16961 (eval $ac_compile) 2>&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); } &&
16965 { ac_try
='test -s conftest.$ac_objext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16973 cat >conftest.
$ac_ext <<_ACEOF
16974 #line $LINENO "configure"
16977 cat confdefs.h
>>conftest.
$ac_ext
16978 cat >>conftest.
$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 $ac_includes_default
16984 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16991 rm -f conftest.
$ac_objext
16992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16993 (eval $ac_compile) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try
='test -s conftest.$ac_objext'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17003 ac_hi
=$ac_mid; break
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 ac_lo
=`expr $ac_mid + 1`
17009 if test $ac_lo -le $ac_mid; then
17013 ac_mid
=`expr 2 '*' $ac_mid + 1`
17015 rm -f conftest.
$ac_objext conftest.
$ac_ext
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.
$ac_ext >&5
17021 cat >conftest.
$ac_ext <<_ACEOF
17022 #line $LINENO "configure"
17025 cat confdefs.h
>>conftest.
$ac_ext
17026 cat >>conftest.
$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028 $ac_includes_default
17032 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17039 rm -f conftest.
$ac_objext
17040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17041 (eval $ac_compile) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try
='test -s conftest.$ac_objext'
17046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; }; then
17053 cat >conftest.
$ac_ext <<_ACEOF
17054 #line $LINENO "configure"
17057 cat confdefs.h
>>conftest.
$ac_ext
17058 cat >>conftest.
$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 $ac_includes_default
17064 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17071 rm -f conftest.
$ac_objext
17072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17073 (eval $ac_compile) 2>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } &&
17077 { ac_try
='test -s conftest.$ac_objext'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; }; then
17083 ac_lo
=$ac_mid; break
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.
$ac_ext >&5
17088 ac_hi
=`expr '(' $ac_mid ')' - 1`
17089 if test $ac_mid -le $ac_hi; then
17093 ac_mid
=`expr 2 '*' $ac_mid`
17095 rm -f conftest.
$ac_objext conftest.
$ac_ext
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.
$ac_ext >&5
17103 rm -f conftest.
$ac_objext conftest.
$ac_ext
17105 rm -f conftest.
$ac_objext conftest.
$ac_ext
17106 # Binary search between lo and hi bounds.
17107 while test "x$ac_lo" != "x$ac_hi"; do
17108 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17109 cat >conftest.
$ac_ext <<_ACEOF
17110 #line $LINENO "configure"
17113 cat confdefs.h
>>conftest.
$ac_ext
17114 cat >>conftest.
$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116 $ac_includes_default
17120 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17127 rm -f conftest.
$ac_objext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17129 (eval $ac_compile) 2>&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); } &&
17133 { ac_try
='test -s conftest.$ac_objext'
17134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17135 (eval $ac_try) 2>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }; }; then
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.
$ac_ext >&5
17144 ac_lo
=`expr '(' $ac_mid ')' + 1`
17146 rm -f conftest.
$ac_objext conftest.
$ac_ext
17149 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17150 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17151 See \`config.log' for more details." >&5
17152 echo "$as_me: error: cannot compute sizeof (long long), 77
17153 See \`config.log' for more details." >&2;}
17154 { (exit 1); exit 1; }; } ;;
17157 if test "$cross_compiling" = yes; then
17158 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17159 See \`config.log' for more details." >&5
17160 echo "$as_me: error: cannot run test program while cross compiling
17161 See \`config.log' for more details." >&2;}
17162 { (exit 1); exit 1; }; }
17164 cat >conftest.
$ac_ext <<_ACEOF
17165 #line $LINENO "configure"
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171 $ac_includes_default
17172 long longval () { return (long) (sizeof (long long)); }
17173 unsigned long ulongval () { return (long) (sizeof (long long)); }
17175 #include <stdlib.h>
17180 FILE *f = fopen ("conftest.val", "w");
17183 if (((long) (sizeof (long long))) < 0)
17185 long i = longval ();
17186 if (i != ((long) (sizeof (long long))))
17188 fprintf (f, "%ld\n", i);
17192 unsigned long i = ulongval ();
17193 if (i != ((long) (sizeof (long long))))
17195 fprintf (f, "%lu\n", i);
17197 exit (ferror (f) || fclose (f) != 0);
17203 rm -f conftest
$ac_exeext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17205 (eval $ac_link) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_cv_sizeof_long_long
=`cat conftest.val`
17216 echo "$as_me: program exited with status $ac_status" >&5
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.
$ac_ext >&5
17220 ( exit $ac_status )
17221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17222 See \`config.log' for more details." >&5
17223 echo "$as_me: error: cannot compute sizeof (long long), 77
17224 See \`config.log' for more details." >&2;}
17225 { (exit 1); exit 1; }; }
17227 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17232 ac_cv_sizeof_long_long
=0
17235 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17236 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17237 cat >>confdefs.h
<<_ACEOF
17238 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17244 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17245 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17246 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17250 if test "$cross_compiling" = yes; then
17254 wx_cv_sizeof_wchar_t
=0
17257 wx_cv_sizeof_wchar_t
=4
17263 cat >conftest.
$ac_ext <<_ACEOF
17264 #line $LINENO "configure"
17267 cat confdefs.h
>>conftest.
$ac_ext
17268 cat >>conftest.
$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17271 /* DJGPP only has fake wchar_t: */
17273 # error "fake wchar_t"
17275 #ifdef HAVE_WCHAR_H
17277 # include <stddef.h>
17279 # include <wchar.h>
17281 #ifdef HAVE_STDLIB_H
17282 # include <stdlib.h>
17287 FILE *f=fopen("conftestval", "w");
17289 fprintf(f, "%i", sizeof(wchar_t));
17294 rm -f conftest
$ac_exeext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17296 (eval $ac_link) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; }; then
17305 wx_cv_sizeof_wchar_t
=`cat conftestval`
17307 echo "$as_me: program exited with status $ac_status" >&5
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.
$ac_ext >&5
17311 ( exit $ac_status )
17312 wx_cv_sizeof_wchar_t
=0
17314 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17318 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17319 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17321 cat >>confdefs.h
<<_ACEOF
17322 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17326 # Check whether --enable-largefile or --disable-largefile was given.
17327 if test "${enable_largefile+set}" = set; then
17328 enableval
="$enable_largefile"
17331 if test "$enable_largefile" != no
; then
17334 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17335 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17336 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 cat >conftest.
$ac_ext <<_ACEOF
17341 #line $LINENO "configure"
17344 cat confdefs.h
>>conftest.
$ac_ext
17345 cat >>conftest.
$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347 #define _FILE_OFFSET_BITS 64
17348 #include <sys/types.h>
17353 unsigned int field: sizeof(off_t) == 8;
17360 rm -f conftest.
$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try
='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17372 ac_cv_sys_file_offset_bits
=64
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.
$ac_ext >&5
17377 ac_cv_sys_file_offset_bits
=no
17379 rm -f conftest.
$ac_objext conftest.
$ac_ext
17383 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17384 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17386 if test "$ac_cv_sys_file_offset_bits" != no
; then
17388 cat >>confdefs.h
<<_ACEOF
17389 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17394 if test "x$wx_largefile" != "xyes"; then
17396 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17397 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17398 if test "${ac_cv_sys_large_files+set}" = set; then
17399 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 cat >conftest.
$ac_ext <<_ACEOF
17403 #line $LINENO "configure"
17406 cat confdefs.h
>>conftest.
$ac_ext
17407 cat >>conftest.
$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 #define _LARGE_FILES 1
17410 #include <sys/types.h>
17415 unsigned int field: sizeof(off_t) == 8;
17422 rm -f conftest.
$ac_objext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17424 (eval $ac_compile) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } &&
17428 { ac_try
='test -s conftest.$ac_objext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 ac_cv_sys_large_files
=1
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.
$ac_ext >&5
17439 ac_cv_sys_large_files
=no
17441 rm -f conftest.
$ac_objext conftest.
$ac_ext
17445 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17446 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17448 if test "$ac_cv_sys_large_files" != no
; then
17450 cat >>confdefs.h
<<_ACEOF
17451 #define _LARGE_FILES $ac_cv_sys_large_files
17458 echo "$as_me:$LINENO: checking if large file support is available" >&5
17459 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17460 if test "x$wx_largefile" = "xyes"; then
17461 cat >>confdefs.h
<<\_ACEOF
17462 #define HAVE_LARGEFILE_SUPPORT 1
17466 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17467 echo "${ECHO_T}$wx_largefile" >&6
17471 if test "x$wx_largefile" = "xyes"; then
17472 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17473 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17475 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
17477 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17480 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17481 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17482 if test "${ac_cv_c_bigendian+set}" = set; then
17483 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 ac_cv_c_bigendian
=unknown
17486 # See if sys/param.h defines the BYTE_ORDER macro.
17487 cat >conftest.
$ac_ext <<_ACEOF
17488 #line $LINENO "configure"
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 #include <sys/types.h>
17495 #include <sys/param.h>
17500 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17501 bogus endian macros
17507 rm -f conftest.
$ac_objext
17508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17509 (eval $ac_compile) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } &&
17513 { ac_try
='test -s conftest.$ac_objext'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; }; then
17519 # It does; now see whether it defined to BIG_ENDIAN or not.
17520 cat >conftest.
$ac_ext <<_ACEOF
17521 #line $LINENO "configure"
17524 cat confdefs.h
>>conftest.
$ac_ext
17525 cat >>conftest.
$ac_ext <<_ACEOF
17526 /* end confdefs.h. */
17527 #include <sys/types.h>
17528 #include <sys/param.h>
17533 #if BYTE_ORDER != BIG_ENDIAN
17540 rm -f conftest.
$ac_objext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17542 (eval $ac_compile) 2>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try
='test -s conftest.$ac_objext'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; }; then
17552 ac_cv_c_bigendian
=yes
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.
$ac_ext >&5
17557 ac_cv_c_bigendian
=no
17559 rm -f conftest.
$ac_objext conftest.
$ac_ext
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.
$ac_ext >&5
17565 rm -f conftest.
$ac_objext conftest.
$ac_ext
17566 if test $ac_cv_c_bigendian = unknown
; then
17567 if test "$cross_compiling" = yes; then
17568 ac_cv_c_bigendian
=unknown
17570 cat >conftest.
$ac_ext <<_ACEOF
17571 #line $LINENO "configure"
17574 cat confdefs.h
>>conftest.
$ac_ext
17575 cat >>conftest.
$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17578 /* Are we little or big endian? From Harbison&Steele. */
17582 char c[sizeof (long)];
17585 exit (u.c[sizeof (long) - 1] == 1);
17588 rm -f conftest
$ac_exeext
17589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17590 (eval $ac_link) 2>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 ac_cv_c_bigendian
=no
17601 echo "$as_me: program exited with status $ac_status" >&5
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.
$ac_ext >&5
17605 ( exit $ac_status )
17606 ac_cv_c_bigendian
=yes
17608 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17612 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17613 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17614 if test $ac_cv_c_bigendian = unknown
; then
17615 { 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
17616 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;}
17618 if test $ac_cv_c_bigendian = yes; then
17619 cat >>confdefs.h
<<\_ACEOF
17620 #define WORDS_BIGENDIAN 1
17627 ac_cpp
='$CXXCPP $CPPFLAGS'
17628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17631 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17632 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17633 if test -z "$CXXCPP"; then
17634 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 # Double quotes because CXXCPP needs to be expanded
17638 for CXXCPP
in "$CXX -E" "/lib/cpp"
17640 ac_preproc_ok
=false
17641 for ac_cxx_preproc_warn_flag
in '' yes
17643 # Use a header file that comes with gcc, so configuring glibc
17644 # with a fresh cross-compiler works.
17645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17646 # <limits.h> exists even on freestanding compilers.
17647 # On the NeXT, cc -E runs the code through the compiler's parser,
17648 # not just through cpp. "Syntax error" is here to catch this case.
17649 cat >conftest.
$ac_ext <<_ACEOF
17650 #line $LINENO "configure"
17653 cat confdefs.h
>>conftest.
$ac_ext
17654 cat >>conftest.
$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17657 # include <limits.h>
17659 # include <assert.h>
17663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17666 grep -v '^ *+' conftest.er1
>conftest.err
17668 cat conftest.err
>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } >/dev
/null
; then
17671 if test -s conftest.err
; then
17672 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17679 if test -z "$ac_cpp_err"; then
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.
$ac_ext >&5
17685 # Broken: fails on valid input.
17688 rm -f conftest.err conftest.
$ac_ext
17690 # OK, works on sane cases. Now check whether non-existent headers
17691 # can be detected and how.
17692 cat >conftest.
$ac_ext <<_ACEOF
17693 #line $LINENO "configure"
17696 cat confdefs.h
>>conftest.
$ac_ext
17697 cat >>conftest.
$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699 #include <ac_nonexistent.h>
17701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } >/dev
/null
; then
17709 if test -s conftest.err
; then
17710 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17717 if test -z "$ac_cpp_err"; then
17718 # Broken: success on invalid input.
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.
$ac_ext >&5
17724 # Passes both tests.
17728 rm -f conftest.err conftest.
$ac_ext
17731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17732 rm -f conftest.err conftest.
$ac_ext
17733 if $ac_preproc_ok; then
17738 ac_cv_prog_CXXCPP
=$CXXCPP
17741 CXXCPP
=$ac_cv_prog_CXXCPP
17743 ac_cv_prog_CXXCPP
=$CXXCPP
17745 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17746 echo "${ECHO_T}$CXXCPP" >&6
17747 ac_preproc_ok
=false
17748 for ac_cxx_preproc_warn_flag
in '' yes
17750 # Use a header file that comes with gcc, so configuring glibc
17751 # with a fresh cross-compiler works.
17752 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17753 # <limits.h> exists even on freestanding compilers.
17754 # On the NeXT, cc -E runs the code through the compiler's parser,
17755 # not just through cpp. "Syntax error" is here to catch this case.
17756 cat >conftest.
$ac_ext <<_ACEOF
17757 #line $LINENO "configure"
17760 cat confdefs.h
>>conftest.
$ac_ext
17761 cat >>conftest.
$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17764 # include <limits.h>
17766 # include <assert.h>
17770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17773 grep -v '^ *+' conftest.er1
>conftest.err
17775 cat conftest.err
>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); } >/dev
/null
; then
17778 if test -s conftest.err
; then
17779 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17786 if test -z "$ac_cpp_err"; then
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.
$ac_ext >&5
17792 # Broken: fails on valid input.
17795 rm -f conftest.err conftest.
$ac_ext
17797 # OK, works on sane cases. Now check whether non-existent headers
17798 # can be detected and how.
17799 cat >conftest.
$ac_ext <<_ACEOF
17800 #line $LINENO "configure"
17803 cat confdefs.h
>>conftest.
$ac_ext
17804 cat >>conftest.
$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 #include <ac_nonexistent.h>
17808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17811 grep -v '^ *+' conftest.er1
>conftest.err
17813 cat conftest.err
>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } >/dev
/null
; then
17816 if test -s conftest.err
; then
17817 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17824 if test -z "$ac_cpp_err"; then
17825 # Broken: success on invalid input.
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.
$ac_ext >&5
17831 # Passes both tests.
17835 rm -f conftest.err conftest.
$ac_ext
17838 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17839 rm -f conftest.err conftest.
$ac_ext
17840 if $ac_preproc_ok; then
17843 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17844 See \`config.log' for more details." >&5
17845 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17846 See \`config.log' for more details." >&2;}
17847 { (exit 1); exit 1; }; }
17851 ac_cpp
='$CXXCPP $CPPFLAGS'
17852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17861 ac_cpp
='$CXXCPP $CPPFLAGS'
17862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17868 for ac_header
in iostream
17870 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17872 echo "$as_me:$LINENO: checking for $ac_header" >&5
17873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17880 # Is the header compilable?
17881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17883 cat >conftest.
$ac_ext <<_ACEOF
17884 #line $LINENO "configure"
17887 cat confdefs.h
>>conftest.
$ac_ext
17888 cat >>conftest.
$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 $ac_includes_default
17891 #include <$ac_header>
17893 rm -f conftest.
$ac_objext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17895 (eval $ac_compile) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try
='test -s conftest.$ac_objext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 ac_header_compiler
=yes
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.
$ac_ext >&5
17910 ac_header_compiler
=no
17912 rm -f conftest.
$ac_objext conftest.
$ac_ext
17913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17914 echo "${ECHO_T}$ac_header_compiler" >&6
17916 # Is the header present?
17917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17919 cat >conftest.
$ac_ext <<_ACEOF
17920 #line $LINENO "configure"
17923 cat confdefs.h
>>conftest.
$ac_ext
17924 cat >>conftest.
$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 #include <$ac_header>
17928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17931 grep -v '^ *+' conftest.er1
>conftest.err
17933 cat conftest.err
>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } >/dev
/null
; then
17936 if test -s conftest.err
; then
17937 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17944 if test -z "$ac_cpp_err"; then
17945 ac_header_preproc
=yes
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.
$ac_ext >&5
17950 ac_header_preproc
=no
17952 rm -f conftest.err conftest.
$ac_ext
17953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17954 echo "${ECHO_T}$ac_header_preproc" >&6
17956 # So? What about this header?
17957 case $ac_header_compiler:$ac_header_preproc in
17959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17965 ## ------------------------------------ ##
17966 ## Report this to bug-autoconf@gnu.org. ##
17967 ## ------------------------------------ ##
17970 sed "s/^/$as_me: WARNING: /" >&2
17973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17981 ## ------------------------------------ ##
17982 ## Report this to bug-autoconf@gnu.org. ##
17983 ## ------------------------------------ ##
17986 sed "s/^/$as_me: WARNING: /" >&2
17989 echo "$as_me:$LINENO: checking for $ac_header" >&5
17990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 eval "$as_ac_Header=$ac_header_preproc"
17996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18001 cat >>confdefs.h
<<_ACEOF
18002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18010 if test "$ac_cv_header_iostream" = "yes" ; then
18013 cat >>confdefs.h
<<\_ACEOF
18014 #define wxUSE_IOSTREAMH 1
18020 ac_cpp
='$CPP $CPPFLAGS'
18021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18028 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18029 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18030 if test "${wx_cv_cpp_bool+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18037 ac_cpp
='$CXXCPP $CPPFLAGS'
18038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18043 cat >conftest.
$ac_ext <<_ACEOF
18044 #line $LINENO "configure"
18047 cat confdefs.h
>>conftest.
$ac_ext
18048 cat >>conftest.
$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18064 rm -f conftest.
$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try
='test -s conftest.$ac_objext'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; }; then
18080 echo "$as_me: failed program was:" >&5
18081 sed 's/^/| /' conftest.
$ac_ext >&5
18088 rm -f conftest.
$ac_objext conftest.
$ac_ext
18091 ac_cpp
='$CPP $CPPFLAGS'
18092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18098 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18099 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18101 if test "$wx_cv_cpp_bool" = "yes"; then
18102 cat >>confdefs.h
<<\_ACEOF
18103 #define HAVE_BOOL 1
18110 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18111 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18112 if test "${wx_cv_explicit+set}" = set; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 ac_cpp
='$CXXCPP $CPPFLAGS'
18120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18125 cat >conftest.
$ac_ext <<_ACEOF
18126 #line $LINENO "configure"
18129 cat confdefs.h
>>conftest.
$ac_ext
18130 cat >>conftest.
$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18133 class Foo { public: explicit Foo(int) {} };
18145 rm -f conftest.
$ac_objext
18146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18147 (eval $ac_compile) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } &&
18151 { ac_try
='test -s conftest.$ac_objext'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; }; then
18158 cat >conftest.
$ac_ext <<_ACEOF
18159 #line $LINENO "configure"
18162 cat confdefs.h
>>conftest.
$ac_ext
18163 cat >>conftest.
$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18166 class Foo { public: explicit Foo(int) {} };
18167 static void TakeFoo(const Foo& foo) { }
18180 rm -f conftest.
$ac_objext
18181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18182 (eval $ac_compile) 2>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); } &&
18186 { ac_try
='test -s conftest.$ac_objext'
18187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18188 (eval $ac_try) 2>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; }; then
18194 echo "$as_me: failed program was:" >&5
18195 sed 's/^/| /' conftest.
$ac_ext >&5
18200 rm -f conftest.
$ac_objext conftest.
$ac_ext
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.
$ac_ext >&5
18209 rm -f conftest.
$ac_objext conftest.
$ac_ext
18212 ac_cpp
='$CPP $CPPFLAGS'
18213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18219 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18220 echo "${ECHO_T}$wx_cv_explicit" >&6
18222 if test "$wx_cv_explicit" = "yes"; then
18223 cat >>confdefs.h
<<\_ACEOF
18224 #define HAVE_EXPLICIT 1
18230 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18231 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18232 if test "${ac_cv_cxx_const_cast+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18238 ac_cpp
='$CXXCPP $CPPFLAGS'
18239 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18243 cat >conftest.
$ac_ext <<_ACEOF
18244 #line $LINENO "configure"
18247 cat confdefs.h
>>conftest.
$ac_ext
18248 cat >>conftest.
$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18254 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18259 rm -f conftest.
$ac_objext
18260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18261 (eval $ac_compile) 2>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try
='test -s conftest.$ac_objext'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_cv_cxx_const_cast
=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ac_cv_cxx_const_cast
=no
18278 rm -f conftest.
$ac_objext conftest.
$ac_ext
18280 ac_cpp
='$CPP $CPPFLAGS'
18281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18287 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18288 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18289 if test "$ac_cv_cxx_const_cast" = yes; then
18291 cat >>confdefs.h
<<\_ACEOF
18292 #define HAVE_CONST_CAST
18297 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
18298 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
18299 if test "${ac_cv_cxx_static_cast+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18305 ac_cpp
='$CXXCPP $CPPFLAGS'
18306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18310 cat >conftest.
$ac_ext <<_ACEOF
18311 #line $LINENO "configure"
18314 cat confdefs.h
>>conftest.
$ac_ext
18315 cat >>conftest.
$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #include <typeinfo>
18318 class Base { public : Base () {} virtual void f () = 0; };
18319 class Derived : public Base { public : Derived () {} virtual void f () {} };
18320 int g (Derived&) { return 0; }
18325 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
18330 rm -f conftest.
$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } &&
18336 { ac_try
='test -s conftest.$ac_objext'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; }; then
18342 ac_cv_cxx_static_cast
=yes
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.
$ac_ext >&5
18347 ac_cv_cxx_static_cast
=no
18349 rm -f conftest.
$ac_objext conftest.
$ac_ext
18351 ac_cpp
='$CPP $CPPFLAGS'
18352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18358 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
18359 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
18360 if test "$ac_cv_cxx_static_cast" = yes; then
18362 cat >>confdefs.h
<<\_ACEOF
18363 #define HAVE_STATIC_CAST
18369 if test "$wxUSE_STL" = "yes"; then
18371 ac_cpp
='$CXXCPP $CPPFLAGS'
18372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18377 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18378 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18379 cat >conftest.
$ac_ext <<_ACEOF
18380 #line $LINENO "configure"
18383 cat confdefs.h
>>conftest.
$ac_ext
18384 cat >>conftest.
$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18387 #include <functional>
18388 #include <algorithm>
18394 std::vector<int> moo;
18395 std::list<int> foo;
18396 std::vector<int>::iterator it =
18397 std::find_if(moo.begin(), moo.end(),
18398 std::bind2nd(std::less<int>(), 3));
18403 rm -f conftest.
$ac_objext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18405 (eval $ac_compile) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } &&
18409 { ac_try
='test -s conftest.$ac_objext'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; }; then
18415 echo "$as_me:$LINENO: result: yes" >&5
18416 echo "${ECHO_T}yes" >&6
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.
$ac_ext >&5
18421 echo "$as_me:$LINENO: result: no" >&5
18422 echo "${ECHO_T}no" >&6
18423 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18424 echo "$as_me: error: Basic STL functionality missing" >&2;}
18425 { (exit 1); exit 1; }; }
18427 rm -f conftest.
$ac_objext conftest.
$ac_ext
18429 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18430 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18431 cat >conftest.
$ac_ext <<_ACEOF
18432 #line $LINENO "configure"
18435 cat confdefs.h
>>conftest.
$ac_ext
18436 cat >>conftest.
$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18447 rm -f conftest.
$ac_objext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18449 (eval $ac_compile) 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } &&
18453 { ac_try
='test -s conftest.$ac_objext'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; }; then
18459 echo "$as_me:$LINENO: result: yes" >&5
18460 echo "${ECHO_T}yes" >&6
18461 cat >>confdefs.h
<<\_ACEOF
18462 #define HAVE_STD_WSTRING 1
18466 echo "$as_me: failed program was:" >&5
18467 sed 's/^/| /' conftest.
$ac_ext >&5
18469 echo "$as_me:$LINENO: result: no" >&5
18470 echo "${ECHO_T}no" >&6
18472 rm -f conftest.
$ac_objext conftest.
$ac_ext
18474 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18475 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18476 cat >conftest.
$ac_ext <<_ACEOF
18477 #line $LINENO "configure"
18480 cat confdefs.h
>>conftest.
$ac_ext
18481 cat >>conftest.
$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18487 std::string foo, bar;
18489 foo.compare(1, 1, bar);
18490 foo.compare(1, 1, bar, 1, 1);
18492 foo.compare(1, 1, "");
18493 foo.compare(1, 1, "", 2);
18498 rm -f conftest.
$ac_objext
18499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18500 (eval $ac_compile) 2>&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); } &&
18504 { ac_try
='test -s conftest.$ac_objext'
18505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18506 (eval $ac_try) 2>&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); }; }; then
18510 echo "$as_me:$LINENO: result: yes" >&5
18511 echo "${ECHO_T}yes" >&6
18512 cat >>confdefs.h
<<\_ACEOF
18513 #define HAVE_STD_STRING_COMPARE 1
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.
$ac_ext >&5
18520 echo "$as_me:$LINENO: result: no" >&5
18521 echo "${ECHO_T}no" >&6
18523 rm -f conftest.
$ac_objext conftest.
$ac_ext
18526 ac_cpp
='$CPP $CPPFLAGS'
18527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18535 /usr/local/include \
18537 /usr/Motif-2.1/include \
18538 /usr/Motif-1.2/include \
18539 /usr/include/Motif1.2 \
18540 /opt/xpm/include/X11 \
18541 /opt/GBxpm/include/ \
18542 /opt/GBxpm/X11/include/ \
18545 /usr/openwin/include \
18549 /usr/X11R6/include \
18550 /usr/X11R6.4/include \
18551 /usr/X11R5/include \
18552 /usr/X11R4/include \
18554 /usr/include/X11R6 \
18555 /usr/include/X11R5 \
18556 /usr/include/X11R4 \
18558 /usr/local/X11R6/include \
18559 /usr/local/X11R5/include \
18560 /usr/local/X11R4/include \
18562 /usr/local/include/X11R6 \
18563 /usr/local/include/X11R5 \
18564 /usr/local/include/X11R4 \
18568 /usr/local/X11/include \
18569 /usr/local/include/X11 \
18571 /usr/X386/include \
18572 /usr/x386/include \
18573 /usr/XFree86/include/X11 \
18575 X:/XFree86/include \
18576 X:/XFree86/include/X11 \
18579 /usr/local/include/gtk \
18580 /usr/include/glib \
18581 /usr/local/include/glib \
18584 /usr/local/include/qt \
18586 /usr/local/arm/3.3.2/include \
18588 /usr/include/windows \
18589 /usr/include/wine \
18590 /usr/local/include/wine \
18592 /usr/unsupported/include \
18593 /usr/athena/include \
18594 /usr/local/x11r5/include \
18595 /usr/lpp/Xamples/include \
18597 /usr/openwin/share/include"
18599 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18602 cat >confcache
<<\_ACEOF
18603 # This file is a shell script that caches the results of configure
18604 # tests run on this system so they can be shared between configure
18605 # scripts and configure runs, see configure's option --config-cache.
18606 # It is not useful on other systems. If it contains results you don't
18607 # want to keep, you may remove or edit it.
18609 # config.status only pays attention to the cache file if you give it
18610 # the --recheck option to rerun configure.
18612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18614 # following values.
18618 # The following way of writing the cache mishandles newlines in values,
18619 # but we know of no workaround that is simple, portable, and efficient.
18620 # So, don't put newlines in cache variables' values.
18621 # Ultrix sh set writes to stderr and can't be redirected directly,
18622 # and sets the high bit in the cache file unless we assign to the vars.
18625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18627 # `set' does not quote correctly, so add quotes (double-quote
18628 # substitution turns \\\\ into \\, and sed turns \\ into \).
18631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18634 # `set' quotes correctly as required by POSIX, so do not add quotes.
18636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18647 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18648 if test -w $cache_file; then
18649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18650 cat confcache
>$cache_file
18652 echo "not updating unwritable cache $cache_file"
18657 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18658 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18659 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18660 if test "${wx_cv_lib_glibc21+set}" = set; then
18661 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 cat >conftest.
$ac_ext <<_ACEOF
18665 #line $LINENO "configure"
18668 cat confdefs.h
>>conftest.
$ac_ext
18669 cat >>conftest.
$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 #include <features.h>
18676 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18677 #error not glibc2.1
18684 rm -f conftest.
$ac_objext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686 (eval $ac_compile) 2>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } &&
18690 { ac_try
='test -s conftest.$ac_objext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18697 wx_cv_lib_glibc21
=yes
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.
$ac_ext >&5
18704 wx_cv_lib_glibc21
=no
18708 rm -f conftest.
$ac_objext conftest.
$ac_ext
18711 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18712 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18713 if test "$wx_cv_lib_glibc21" = "yes"; then
18714 cat >>confdefs.h
<<\_ACEOF
18715 #define wxHAVE_GLIBC2 1
18721 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18722 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18723 cat >>confdefs.h
<<\_ACEOF
18724 #define _GNU_SOURCE 1
18732 if test "$wxUSE_REGEX" != "no"; then
18733 cat >>confdefs.h
<<\_ACEOF
18734 #define wxUSE_REGEX 1
18738 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18739 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
18740 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
18741 wxUSE_REGEX
=builtin
18744 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18745 if test "${ac_cv_header_regex_h+set}" = set; then
18746 echo "$as_me:$LINENO: checking for regex.h" >&5
18747 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18748 if test "${ac_cv_header_regex_h+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18752 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18754 # Is the header compilable?
18755 echo "$as_me:$LINENO: checking regex.h usability" >&5
18756 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18757 cat >conftest.
$ac_ext <<_ACEOF
18758 #line $LINENO "configure"
18761 cat confdefs.h
>>conftest.
$ac_ext
18762 cat >>conftest.
$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18767 rm -f conftest.
$ac_objext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18769 (eval $ac_compile) 2>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try
='test -s conftest.$ac_objext'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 ac_header_compiler
=yes
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.
$ac_ext >&5
18784 ac_header_compiler
=no
18786 rm -f conftest.
$ac_objext conftest.
$ac_ext
18787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18788 echo "${ECHO_T}$ac_header_compiler" >&6
18790 # Is the header present?
18791 echo "$as_me:$LINENO: checking regex.h presence" >&5
18792 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18793 cat >conftest.
$ac_ext <<_ACEOF
18794 #line $LINENO "configure"
18797 cat confdefs.h
>>conftest.
$ac_ext
18798 cat >>conftest.
$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18805 grep -v '^ *+' conftest.er1
>conftest.err
18807 cat conftest.err
>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } >/dev
/null
; then
18810 if test -s conftest.err
; then
18811 ac_cpp_err
=$ac_c_preproc_warn_flag
18818 if test -z "$ac_cpp_err"; then
18819 ac_header_preproc
=yes
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.
$ac_ext >&5
18824 ac_header_preproc
=no
18826 rm -f conftest.err conftest.
$ac_ext
18827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18828 echo "${ECHO_T}$ac_header_preproc" >&6
18830 # So? What about this header?
18831 case $ac_header_compiler:$ac_header_preproc in
18833 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18834 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18835 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18836 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18839 ## ------------------------------------ ##
18840 ## Report this to bug-autoconf@gnu.org. ##
18841 ## ------------------------------------ ##
18844 sed "s/^/$as_me: WARNING: /" >&2
18847 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18848 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18849 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18850 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18851 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18852 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18855 ## ------------------------------------ ##
18856 ## Report this to bug-autoconf@gnu.org. ##
18857 ## ------------------------------------ ##
18860 sed "s/^/$as_me: WARNING: /" >&2
18863 echo "$as_me:$LINENO: checking for regex.h" >&5
18864 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18865 if test "${ac_cv_header_regex_h+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 ac_cv_header_regex_h
=$ac_header_preproc
18870 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18871 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18874 if test $ac_cv_header_regex_h = yes; then
18876 for ac_func
in regcomp
18878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18879 echo "$as_me:$LINENO: checking for $ac_func" >&5
18880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18881 if eval "test \"\${$as_ac_var+set}\" = set"; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 cat >conftest.
$ac_ext <<_ACEOF
18885 #line $LINENO "configure"
18888 cat confdefs.h
>>conftest.
$ac_ext
18889 cat >>conftest.
$ac_ext <<_ACEOF
18890 /* end confdefs.h. */
18891 /* System header to define __stub macros and hopefully few prototypes,
18892 which can conflict with char $ac_func (); below.
18893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18894 <limits.h> exists even on freestanding compilers. */
18896 # include <limits.h>
18898 # include <assert.h>
18900 /* Override any gcc2 internal prototype to avoid an error. */
18905 /* We use char because int might match the return type of a gcc2
18906 builtin and then its argument prototype would still apply. */
18908 /* The GNU C library defines this for functions which it implements
18909 to always fail with ENOSYS. Some functions are actually named
18910 something starting with __ and the normal name is an alias. */
18911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18914 char (*f) () = $ac_func;
18923 return f != $ac_func;
18928 rm -f conftest.
$ac_objext conftest
$ac_exeext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18930 (eval $ac_link) 2>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } &&
18934 { ac_try
='test -s conftest$ac_exeext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 eval "$as_ac_var=yes"
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.
$ac_ext >&5
18945 eval "$as_ac_var=no"
18947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18951 if test `eval echo '${'$as_ac_var'}'` = yes; then
18952 cat >>confdefs.h
<<_ACEOF
18953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18963 if test "x$ac_cv_func_regcomp" != "xyes"; then
18964 if test "$wxUSE_REGEX" = "sys" ; then
18965 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18966 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18967 { (exit 1); exit 1; }; }
18969 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18970 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18971 wxUSE_REGEX
=builtin
18975 cat >>confdefs.h
<<\_ACEOF
18976 #define WX_NO_REGEX_ADVANCED 1
18985 if test "$wxUSE_ZLIB" != "no" ; then
18986 cat >>confdefs.h
<<\_ACEOF
18987 #define wxUSE_ZLIB 1
18991 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18992 if test "$USE_DARWIN" = 1; then
18993 system_zlib_h_ok
="yes"
18995 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18996 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18997 if test "${ac_cv_header_zlib_h+set}" = set; then
18998 echo $ECHO_N "(cached) $ECHO_C" >&6
19000 if test "$cross_compiling" = yes; then
19001 unset ac_cv_header_zlib_h
19004 cat >conftest.
$ac_ext <<_ACEOF
19005 #line $LINENO "configure"
19008 cat confdefs.h
>>conftest.
$ac_ext
19009 cat >>conftest.
$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19017 FILE *f=fopen("conftestval", "w");
19020 ZLIB_VERSION[0] == '1' &&
19021 (ZLIB_VERSION[2] > '1' ||
19022 (ZLIB_VERSION[2] == '1' &&
19023 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19028 rm -f conftest
$ac_exeext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19030 (eval $ac_link) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19039 ac_cv_header_zlib_h
=`cat conftestval`
19041 echo "$as_me: program exited with status $ac_status" >&5
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.
$ac_ext >&5
19045 ( exit $ac_status )
19046 ac_cv_header_zlib_h
=no
19048 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19052 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19053 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19054 if test "${ac_cv_header_zlib_h+set}" = set; then
19055 echo "$as_me:$LINENO: checking for zlib.h" >&5
19056 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19057 if test "${ac_cv_header_zlib_h+set}" = set; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19061 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19063 # Is the header compilable?
19064 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19065 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19066 cat >conftest.
$ac_ext <<_ACEOF
19067 #line $LINENO "configure"
19070 cat confdefs.h
>>conftest.
$ac_ext
19071 cat >>conftest.
$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 $ac_includes_default
19076 rm -f conftest.
$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078 (eval $ac_compile) 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try
='test -s conftest.$ac_objext'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 ac_header_compiler
=yes
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.
$ac_ext >&5
19093 ac_header_compiler
=no
19095 rm -f conftest.
$ac_objext conftest.
$ac_ext
19096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19097 echo "${ECHO_T}$ac_header_compiler" >&6
19099 # Is the header present?
19100 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19101 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19102 cat >conftest.
$ac_ext <<_ACEOF
19103 #line $LINENO "configure"
19106 cat confdefs.h
>>conftest.
$ac_ext
19107 cat >>conftest.
$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19114 grep -v '^ *+' conftest.er1
>conftest.err
19116 cat conftest.err
>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } >/dev
/null
; then
19119 if test -s conftest.err
; then
19120 ac_cpp_err
=$ac_c_preproc_warn_flag
19127 if test -z "$ac_cpp_err"; then
19128 ac_header_preproc
=yes
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.
$ac_ext >&5
19133 ac_header_preproc
=no
19135 rm -f conftest.err conftest.
$ac_ext
19136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19137 echo "${ECHO_T}$ac_header_preproc" >&6
19139 # So? What about this header?
19140 case $ac_header_compiler:$ac_header_preproc in
19142 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19143 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19144 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19145 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19148 ## ------------------------------------ ##
19149 ## Report this to bug-autoconf@gnu.org. ##
19150 ## ------------------------------------ ##
19153 sed "s/^/$as_me: WARNING: /" >&2
19156 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19157 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19158 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19159 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19160 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19161 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19164 ## ------------------------------------ ##
19165 ## Report this to bug-autoconf@gnu.org. ##
19166 ## ------------------------------------ ##
19169 sed "s/^/$as_me: WARNING: /" >&2
19172 echo "$as_me:$LINENO: checking for zlib.h" >&5
19173 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19174 if test "${ac_cv_header_zlib_h+set}" = set; then
19175 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 ac_cv_header_zlib_h
=$ac_header_preproc
19179 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19180 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19186 system_zlib_h_ok
=$ac_cv_header_zlib_h
19189 if test "$system_zlib_h_ok" = "yes"; then
19190 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19191 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19192 if test "${ac_cv_lib_z_deflate+set}" = set; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 ac_check_lib_save_LIBS
=$LIBS
19197 cat >conftest.
$ac_ext <<_ACEOF
19198 #line $LINENO "configure"
19201 cat confdefs.h
>>conftest.
$ac_ext
19202 cat >>conftest.
$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19205 /* Override any gcc2 internal prototype to avoid an error. */
19209 /* We use char because int might match the return type of a gcc2
19210 builtin and then its argument prototype would still apply. */
19220 rm -f conftest.
$ac_objext conftest
$ac_exeext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19222 (eval $ac_link) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } &&
19226 { ac_try
='test -s conftest$ac_exeext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 ac_cv_lib_z_deflate
=yes
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.
$ac_ext >&5
19237 ac_cv_lib_z_deflate
=no
19239 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19240 LIBS
=$ac_check_lib_save_LIBS
19242 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19243 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19244 if test $ac_cv_lib_z_deflate = yes; then
19250 if test "x$ZLIB_LINK" = "x" ; then
19251 if test "$wxUSE_ZLIB" = "sys" ; then
19252 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19253 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19254 { (exit 1); exit 1; }; }
19256 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19257 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19268 if test "$wxUSE_LIBPNG" != "no" ; then
19269 cat >>confdefs.h
<<\_ACEOF
19270 #define wxUSE_LIBPNG 1
19274 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19275 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19276 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19280 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19281 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19282 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19283 wxUSE_LIBPNG
=builtin
19286 if test "$wxUSE_MGL" != 1 ; then
19287 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19288 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19289 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19290 if test "${ac_cv_header_png_h+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 if test "$cross_compiling" = yes; then
19294 unset ac_cv_header_png_h
19297 cat >conftest.
$ac_ext <<_ACEOF
19298 #line $LINENO "configure"
19301 cat confdefs.h
>>conftest.
$ac_ext
19302 cat >>conftest.
$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19310 FILE *f=fopen("conftestval", "w");
19313 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19318 rm -f conftest
$ac_exeext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19320 (eval $ac_link) 2>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; }; then
19329 ac_cv_header_png_h
=`cat conftestval`
19331 echo "$as_me: program exited with status $ac_status" >&5
19332 echo "$as_me: failed program was:" >&5
19333 sed 's/^/| /' conftest.
$ac_ext >&5
19335 ( exit $ac_status )
19336 ac_cv_header_png_h
=no
19338 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19342 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19343 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19344 if test "${ac_cv_header_png_h+set}" = set; then
19345 echo "$as_me:$LINENO: checking for png.h" >&5
19346 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19347 if test "${ac_cv_header_png_h+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19351 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19353 # Is the header compilable?
19354 echo "$as_me:$LINENO: checking png.h usability" >&5
19355 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19356 cat >conftest.
$ac_ext <<_ACEOF
19357 #line $LINENO "configure"
19360 cat confdefs.h
>>conftest.
$ac_ext
19361 cat >>conftest.
$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 $ac_includes_default
19366 rm -f conftest.
$ac_objext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19368 (eval $ac_compile) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try
='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_header_compiler
=yes
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.
$ac_ext >&5
19383 ac_header_compiler
=no
19385 rm -f conftest.
$ac_objext conftest.
$ac_ext
19386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19387 echo "${ECHO_T}$ac_header_compiler" >&6
19389 # Is the header present?
19390 echo "$as_me:$LINENO: checking png.h presence" >&5
19391 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19392 cat >conftest.
$ac_ext <<_ACEOF
19393 #line $LINENO "configure"
19396 cat confdefs.h
>>conftest.
$ac_ext
19397 cat >>conftest.
$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19404 grep -v '^ *+' conftest.er1
>conftest.err
19406 cat conftest.err
>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } >/dev
/null
; then
19409 if test -s conftest.err
; then
19410 ac_cpp_err
=$ac_c_preproc_warn_flag
19417 if test -z "$ac_cpp_err"; then
19418 ac_header_preproc
=yes
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.
$ac_ext >&5
19423 ac_header_preproc
=no
19425 rm -f conftest.err conftest.
$ac_ext
19426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19427 echo "${ECHO_T}$ac_header_preproc" >&6
19429 # So? What about this header?
19430 case $ac_header_compiler:$ac_header_preproc in
19432 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19433 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19434 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19435 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19438 ## ------------------------------------ ##
19439 ## Report this to bug-autoconf@gnu.org. ##
19440 ## ------------------------------------ ##
19443 sed "s/^/$as_me: WARNING: /" >&2
19446 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19447 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19448 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19449 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19450 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19451 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19454 ## ------------------------------------ ##
19455 ## Report this to bug-autoconf@gnu.org. ##
19456 ## ------------------------------------ ##
19459 sed "s/^/$as_me: WARNING: /" >&2
19462 echo "$as_me:$LINENO: checking for png.h" >&5
19463 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19464 if test "${ac_cv_header_png_h+set}" = set; then
19465 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 ac_cv_header_png_h
=$ac_header_preproc
19469 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19470 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19476 if test "$ac_cv_header_png_h" = "yes"; then
19477 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19478 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19479 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19480 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 ac_check_lib_save_LIBS
=$LIBS
19483 LIBS
="-lpng -lz -lm $LIBS"
19484 cat >conftest.
$ac_ext <<_ACEOF
19485 #line $LINENO "configure"
19488 cat confdefs.h
>>conftest.
$ac_ext
19489 cat >>conftest.
$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19492 /* Override any gcc2 internal prototype to avoid an error. */
19496 /* We use char because int might match the return type of a gcc2
19497 builtin and then its argument prototype would still apply. */
19498 char png_check_sig ();
19507 rm -f conftest.
$ac_objext conftest
$ac_exeext
19508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19509 (eval $ac_link) 2>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try
='test -s conftest$ac_exeext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19519 ac_cv_lib_png_png_check_sig
=yes
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.
$ac_ext >&5
19524 ac_cv_lib_png_png_check_sig
=no
19526 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19527 LIBS
=$ac_check_lib_save_LIBS
19529 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19530 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19531 if test $ac_cv_lib_png_png_check_sig = yes; then
19532 PNG_LINK
=" -lpng -lz"
19537 if test "x$PNG_LINK" = "x" ; then
19538 if test "$wxUSE_LIBPNG" = "sys" ; then
19539 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19540 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19541 { (exit 1); exit 1; }; }
19543 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19544 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19545 wxUSE_LIBPNG
=builtin
19553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
19558 if test "$wxUSE_LIBJPEG" != "no" ; then
19559 cat >>confdefs.h
<<\_ACEOF
19560 #define wxUSE_LIBJPEG 1
19564 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19565 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19566 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19570 if test "$wxUSE_MGL" != 1 ; then
19571 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19572 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19573 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19574 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19577 cat >conftest.
$ac_ext <<_ACEOF
19578 #line $LINENO "configure"
19581 cat confdefs.h
>>conftest.
$ac_ext
19582 cat >>conftest.
$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19585 #undef HAVE_STDLIB_H
19587 #include <jpeglib.h>
19598 rm -f conftest.
$ac_objext
19599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19600 (eval $ac_compile) 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); } &&
19604 { ac_try
='test -s conftest.$ac_objext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19610 ac_cv_header_jpeglib_h
=yes
19612 echo "$as_me: failed program was:" >&5
19613 sed 's/^/| /' conftest.
$ac_ext >&5
19615 ac_cv_header_jpeglib_h
=no
19618 rm -f conftest.
$ac_objext conftest.
$ac_ext
19622 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19623 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19625 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19626 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19627 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19628 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 ac_check_lib_save_LIBS
=$LIBS
19632 LIBS
="-ljpeg $LIBS"
19633 cat >conftest.
$ac_ext <<_ACEOF
19634 #line $LINENO "configure"
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19641 /* Override any gcc2 internal prototype to avoid an error. */
19645 /* We use char because int might match the return type of a gcc2
19646 builtin and then its argument prototype would still apply. */
19647 char jpeg_read_header ();
19651 jpeg_read_header ();
19656 rm -f conftest.
$ac_objext conftest
$ac_exeext
19657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19658 (eval $ac_link) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } &&
19662 { ac_try
='test -s conftest$ac_exeext'
19663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664 (eval $ac_try) 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; }; then
19668 ac_cv_lib_jpeg_jpeg_read_header
=yes
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.
$ac_ext >&5
19673 ac_cv_lib_jpeg_jpeg_read_header
=no
19675 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19676 LIBS
=$ac_check_lib_save_LIBS
19678 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19679 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19680 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19681 JPEG_LINK
=" -ljpeg"
19686 if test "x$JPEG_LINK" = "x" ; then
19687 if test "$wxUSE_LIBJPEG" = "sys" ; then
19688 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19689 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19690 { (exit 1); exit 1; }; }
19692 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19693 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19694 wxUSE_LIBJPEG
=builtin
19705 TIFF_PREREQ_LINKS
=-lm
19706 if test "$wxUSE_LIBTIFF" != "no" ; then
19707 cat >>confdefs.h
<<\_ACEOF
19708 #define wxUSE_LIBTIFF 1
19712 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19713 if test "$wxUSE_LIBJPEG" = "sys"; then
19714 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19716 if test "$wxUSE_ZLIB" = "sys"; then
19717 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19719 if test "${ac_cv_header_tiffio_h+set}" = set; then
19720 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19721 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19722 if test "${ac_cv_header_tiffio_h+set}" = set; then
19723 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19726 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19728 # Is the header compilable?
19729 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19730 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19731 cat >conftest.
$ac_ext <<_ACEOF
19732 #line $LINENO "configure"
19735 cat confdefs.h
>>conftest.
$ac_ext
19736 cat >>conftest.
$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19738 $ac_includes_default
19739 #include <tiffio.h>
19741 rm -f conftest.
$ac_objext
19742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19743 (eval $ac_compile) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try
='test -s conftest.$ac_objext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 ac_header_compiler
=yes
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.
$ac_ext >&5
19758 ac_header_compiler
=no
19760 rm -f conftest.
$ac_objext conftest.
$ac_ext
19761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19762 echo "${ECHO_T}$ac_header_compiler" >&6
19764 # Is the header present?
19765 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19766 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19767 cat >conftest.
$ac_ext <<_ACEOF
19768 #line $LINENO "configure"
19771 cat confdefs.h
>>conftest.
$ac_ext
19772 cat >>conftest.
$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 #include <tiffio.h>
19776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19779 grep -v '^ *+' conftest.er1
>conftest.err
19781 cat conftest.err
>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); } >/dev
/null
; then
19784 if test -s conftest.err
; then
19785 ac_cpp_err
=$ac_c_preproc_warn_flag
19792 if test -z "$ac_cpp_err"; then
19793 ac_header_preproc
=yes
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.
$ac_ext >&5
19798 ac_header_preproc
=no
19800 rm -f conftest.err conftest.
$ac_ext
19801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19802 echo "${ECHO_T}$ac_header_preproc" >&6
19804 # So? What about this header?
19805 case $ac_header_compiler:$ac_header_preproc in
19807 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19808 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19810 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19813 ## ------------------------------------ ##
19814 ## Report this to bug-autoconf@gnu.org. ##
19815 ## ------------------------------------ ##
19818 sed "s/^/$as_me: WARNING: /" >&2
19821 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19822 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19823 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19824 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19825 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19826 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19829 ## ------------------------------------ ##
19830 ## Report this to bug-autoconf@gnu.org. ##
19831 ## ------------------------------------ ##
19834 sed "s/^/$as_me: WARNING: /" >&2
19837 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19838 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19839 if test "${ac_cv_header_tiffio_h+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 ac_cv_header_tiffio_h
=$ac_header_preproc
19844 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19845 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19848 if test $ac_cv_header_tiffio_h = yes; then
19850 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19851 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19852 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19853 echo $ECHO_N "(cached) $ECHO_C" >&6
19855 ac_check_lib_save_LIBS
=$LIBS
19856 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19857 cat >conftest.
$ac_ext <<_ACEOF
19858 #line $LINENO "configure"
19861 cat confdefs.h
>>conftest.
$ac_ext
19862 cat >>conftest.
$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19865 /* Override any gcc2 internal prototype to avoid an error. */
19869 /* We use char because int might match the return type of a gcc2
19870 builtin and then its argument prototype would still apply. */
19880 rm -f conftest.
$ac_objext conftest
$ac_exeext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19882 (eval $ac_link) 2>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try
='test -s conftest$ac_exeext'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; }; then
19892 ac_cv_lib_tiff_TIFFError
=yes
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.
$ac_ext >&5
19897 ac_cv_lib_tiff_TIFFError
=no
19899 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19900 LIBS
=$ac_check_lib_save_LIBS
19902 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19903 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19904 if test $ac_cv_lib_tiff_TIFFError = yes; then
19905 TIFF_LINK
=" -ltiff"
19914 if test "x$TIFF_LINK" = "x" ; then
19915 if test "$wxUSE_LIBTIFF" = "sys" ; then
19916 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19917 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19918 { (exit 1); exit 1; }; }
19920 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19921 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19922 wxUSE_LIBTIFF
=builtin
19931 if test "$wxUSE_EXPAT" != "no"; then
19933 cat >>confdefs.h
<<\_ACEOF
19934 #define wxUSE_EXPAT 1
19937 cat >>confdefs.h
<<\_ACEOF
19938 #define wxUSE_XML 1
19942 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19943 if test "${ac_cv_header_expat_h+set}" = set; then
19944 echo "$as_me:$LINENO: checking for expat.h" >&5
19945 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19946 if test "${ac_cv_header_expat_h+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19950 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19952 # Is the header compilable?
19953 echo "$as_me:$LINENO: checking expat.h usability" >&5
19954 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19955 cat >conftest.
$ac_ext <<_ACEOF
19956 #line $LINENO "configure"
19959 cat confdefs.h
>>conftest.
$ac_ext
19960 cat >>conftest.
$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19965 rm -f conftest.
$ac_objext
19966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19967 (eval $ac_compile) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } &&
19971 { ac_try
='test -s conftest.$ac_objext'
19972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19973 (eval $ac_try) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; }; then
19977 ac_header_compiler
=yes
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.
$ac_ext >&5
19982 ac_header_compiler
=no
19984 rm -f conftest.
$ac_objext conftest.
$ac_ext
19985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19986 echo "${ECHO_T}$ac_header_compiler" >&6
19988 # Is the header present?
19989 echo "$as_me:$LINENO: checking expat.h presence" >&5
19990 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19991 cat >conftest.
$ac_ext <<_ACEOF
19992 #line $LINENO "configure"
19995 cat confdefs.h
>>conftest.
$ac_ext
19996 cat >>conftest.
$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
20000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20003 grep -v '^ *+' conftest.er1
>conftest.err
20005 cat conftest.err
>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } >/dev
/null
; then
20008 if test -s conftest.err
; then
20009 ac_cpp_err
=$ac_c_preproc_warn_flag
20016 if test -z "$ac_cpp_err"; then
20017 ac_header_preproc
=yes
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.
$ac_ext >&5
20022 ac_header_preproc
=no
20024 rm -f conftest.err conftest.
$ac_ext
20025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20026 echo "${ECHO_T}$ac_header_preproc" >&6
20028 # So? What about this header?
20029 case $ac_header_compiler:$ac_header_preproc in
20031 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20032 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20033 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20034 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20037 ## ------------------------------------ ##
20038 ## Report this to bug-autoconf@gnu.org. ##
20039 ## ------------------------------------ ##
20042 sed "s/^/$as_me: WARNING: /" >&2
20045 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20046 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20047 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20048 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20049 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20050 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20053 ## ------------------------------------ ##
20054 ## Report this to bug-autoconf@gnu.org. ##
20055 ## ------------------------------------ ##
20058 sed "s/^/$as_me: WARNING: /" >&2
20061 echo "$as_me:$LINENO: checking for expat.h" >&5
20062 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20063 if test "${ac_cv_header_expat_h+set}" = set; then
20064 echo $ECHO_N "(cached) $ECHO_C" >&6
20066 ac_cv_header_expat_h
=$ac_header_preproc
20068 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20069 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20072 if test $ac_cv_header_expat_h = yes; then
20077 if test "x$found_expat_h" = "x1"; then
20078 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20079 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20080 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 ac_cpp
='$CXXCPP $CPPFLAGS'
20088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20092 cat >conftest.
$ac_ext <<_ACEOF
20093 #line $LINENO "configure"
20096 cat confdefs.h
>>conftest.
$ac_ext
20097 cat >>conftest.
$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20108 rm -f conftest.
$ac_objext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20110 (eval $ac_compile) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } &&
20114 { ac_try
='test -s conftest.$ac_objext'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; }; then
20120 wx_cv_expat_is_not_broken
=yes
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.
$ac_ext >&5
20125 wx_cv_expat_is_not_broken
=no
20128 rm -f conftest.
$ac_objext conftest.
$ac_ext
20130 ac_cpp
='$CPP $CPPFLAGS'
20131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20138 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20139 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20140 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20141 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20142 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20143 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 ac_check_lib_save_LIBS
=$LIBS
20147 LIBS
="-lexpat $LIBS"
20148 cat >conftest.
$ac_ext <<_ACEOF
20149 #line $LINENO "configure"
20152 cat confdefs.h
>>conftest.
$ac_ext
20153 cat >>conftest.
$ac_ext <<_ACEOF
20154 /* end confdefs.h. */
20156 /* Override any gcc2 internal prototype to avoid an error. */
20160 /* We use char because int might match the return type of a gcc2
20161 builtin and then its argument prototype would still apply. */
20162 char XML_ParserCreate ();
20166 XML_ParserCreate ();
20171 rm -f conftest.
$ac_objext conftest
$ac_exeext
20172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20173 (eval $ac_link) 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); } &&
20177 { ac_try
='test -s conftest$ac_exeext'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20183 ac_cv_lib_expat_XML_ParserCreate
=yes
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.
$ac_ext >&5
20188 ac_cv_lib_expat_XML_ParserCreate
=no
20190 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20191 LIBS
=$ac_check_lib_save_LIBS
20193 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20194 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20195 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20196 EXPAT_LINK
=" -lexpat"
20201 if test "x$EXPAT_LINK" = "x" ; then
20202 if test "$wxUSE_EXPAT" = "sys" ; then
20203 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20204 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20205 { (exit 1); exit 1; }; }
20207 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20208 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20209 wxUSE_EXPAT
=builtin
20215 if test "$wxUSE_EXPAT" = "builtin" ; then
20218 subdirs
="$subdirs src/expat"
20225 if test "$wxUSE_LIBMSPACK" != "no"; then
20227 if test "${ac_cv_header_mspack_h+set}" = set; then
20228 echo "$as_me:$LINENO: checking for mspack.h" >&5
20229 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20230 if test "${ac_cv_header_mspack_h+set}" = set; then
20231 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20234 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20236 # Is the header compilable?
20237 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20238 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20239 cat >conftest.
$ac_ext <<_ACEOF
20240 #line $LINENO "configure"
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 #include <mspack.h>
20249 rm -f conftest.
$ac_objext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20251 (eval $ac_compile) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } &&
20255 { ac_try
='test -s conftest.$ac_objext'
20256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20257 (eval $ac_try) 2>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); }; }; then
20261 ac_header_compiler
=yes
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.
$ac_ext >&5
20266 ac_header_compiler
=no
20268 rm -f conftest.
$ac_objext conftest.
$ac_ext
20269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20270 echo "${ECHO_T}$ac_header_compiler" >&6
20272 # Is the header present?
20273 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20274 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20275 cat >conftest.
$ac_ext <<_ACEOF
20276 #line $LINENO "configure"
20279 cat confdefs.h
>>conftest.
$ac_ext
20280 cat >>conftest.
$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20282 #include <mspack.h>
20284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20285 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20287 grep -v '^ *+' conftest.er1
>conftest.err
20289 cat conftest.err
>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } >/dev
/null
; then
20292 if test -s conftest.err
; then
20293 ac_cpp_err
=$ac_c_preproc_warn_flag
20300 if test -z "$ac_cpp_err"; then
20301 ac_header_preproc
=yes
20303 echo "$as_me: failed program was:" >&5
20304 sed 's/^/| /' conftest.
$ac_ext >&5
20306 ac_header_preproc
=no
20308 rm -f conftest.err conftest.
$ac_ext
20309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20310 echo "${ECHO_T}$ac_header_preproc" >&6
20312 # So? What about this header?
20313 case $ac_header_compiler:$ac_header_preproc in
20315 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20316 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20317 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20318 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20321 ## ------------------------------------ ##
20322 ## Report this to bug-autoconf@gnu.org. ##
20323 ## ------------------------------------ ##
20326 sed "s/^/$as_me: WARNING: /" >&2
20329 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20330 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20331 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20332 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20333 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20334 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20337 ## ------------------------------------ ##
20338 ## Report this to bug-autoconf@gnu.org. ##
20339 ## ------------------------------------ ##
20342 sed "s/^/$as_me: WARNING: /" >&2
20345 echo "$as_me:$LINENO: checking for mspack.h" >&5
20346 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20347 if test "${ac_cv_header_mspack_h+set}" = set; then
20348 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 ac_cv_header_mspack_h
=$ac_header_preproc
20352 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20353 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20356 if test $ac_cv_header_mspack_h = yes; then
20361 if test "x$found_mspack_h" = "x1"; then
20362 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20363 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20364 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20365 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 ac_check_lib_save_LIBS
=$LIBS
20368 LIBS
="-lmspack $LIBS"
20369 cat >conftest.
$ac_ext <<_ACEOF
20370 #line $LINENO "configure"
20373 cat confdefs.h
>>conftest.
$ac_ext
20374 cat >>conftest.
$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20377 /* Override any gcc2 internal prototype to avoid an error. */
20381 /* We use char because int might match the return type of a gcc2
20382 builtin and then its argument prototype would still apply. */
20383 char mspack_create_chm_decompressor ();
20387 mspack_create_chm_decompressor ();
20392 rm -f conftest.
$ac_objext conftest
$ac_exeext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20394 (eval $ac_link) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } &&
20398 { ac_try
='test -s conftest$ac_exeext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.
$ac_ext >&5
20409 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
20411 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20412 LIBS
=$ac_check_lib_save_LIBS
20414 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20415 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20416 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20417 MSPACK_LINK
=" -lmspack"
20421 if test "x$MSPACK_LINK" = "x" ; then
20424 cat >>confdefs.h
<<\_ACEOF
20425 #define wxUSE_LIBMSPACK 1
20440 if test "$USE_WIN32" = 1 ; then
20442 for ac_header
in w32api.h
20444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20446 echo "$as_me:$LINENO: checking for $ac_header" >&5
20447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20449 echo $ECHO_N "(cached) $ECHO_C" >&6
20451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20454 # Is the header compilable?
20455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20457 cat >conftest.
$ac_ext <<_ACEOF
20458 #line $LINENO "configure"
20461 cat confdefs.h
>>conftest.
$ac_ext
20462 cat >>conftest.
$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20465 #include <$ac_header>
20467 rm -f conftest.
$ac_objext
20468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20469 (eval $ac_compile) 2>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } &&
20473 { ac_try
='test -s conftest.$ac_objext'
20474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20475 (eval $ac_try) 2>&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); }; }; then
20479 ac_header_compiler
=yes
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.
$ac_ext >&5
20484 ac_header_compiler
=no
20486 rm -f conftest.
$ac_objext conftest.
$ac_ext
20487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20488 echo "${ECHO_T}$ac_header_compiler" >&6
20490 # Is the header present?
20491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20493 cat >conftest.
$ac_ext <<_ACEOF
20494 #line $LINENO "configure"
20497 cat confdefs.h
>>conftest.
$ac_ext
20498 cat >>conftest.
$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 #include <$ac_header>
20502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20505 grep -v '^ *+' conftest.er1
>conftest.err
20507 cat conftest.err
>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } >/dev
/null
; then
20510 if test -s conftest.err
; then
20511 ac_cpp_err
=$ac_c_preproc_warn_flag
20518 if test -z "$ac_cpp_err"; then
20519 ac_header_preproc
=yes
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.
$ac_ext >&5
20524 ac_header_preproc
=no
20526 rm -f conftest.err conftest.
$ac_ext
20527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20528 echo "${ECHO_T}$ac_header_preproc" >&6
20530 # So? What about this header?
20531 case $ac_header_compiler:$ac_header_preproc in
20533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20539 ## ------------------------------------ ##
20540 ## Report this to bug-autoconf@gnu.org. ##
20541 ## ------------------------------------ ##
20544 sed "s/^/$as_me: WARNING: /" >&2
20547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20555 ## ------------------------------------ ##
20556 ## Report this to bug-autoconf@gnu.org. ##
20557 ## ------------------------------------ ##
20560 sed "s/^/$as_me: WARNING: /" >&2
20563 echo "$as_me:$LINENO: checking for $ac_header" >&5
20564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20568 eval "$as_ac_Header=$ac_header_preproc"
20570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20575 cat >>confdefs.h
<<_ACEOF
20576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20583 if test "${ac_cv_header_windows_h+set}" = set; then
20584 echo "$as_me:$LINENO: checking for windows.h" >&5
20585 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20586 if test "${ac_cv_header_windows_h+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20590 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20592 # Is the header compilable?
20593 echo "$as_me:$LINENO: checking windows.h usability" >&5
20594 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20595 cat >conftest.
$ac_ext <<_ACEOF
20596 #line $LINENO "configure"
20599 cat confdefs.h
>>conftest.
$ac_ext
20600 cat >>conftest.
$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20602 $ac_includes_default
20603 #include <windows.h>
20605 rm -f conftest.
$ac_objext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20607 (eval $ac_compile) 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try
='test -s conftest.$ac_objext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; }; then
20617 ac_header_compiler
=yes
20619 echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.
$ac_ext >&5
20622 ac_header_compiler
=no
20624 rm -f conftest.
$ac_objext conftest.
$ac_ext
20625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20626 echo "${ECHO_T}$ac_header_compiler" >&6
20628 # Is the header present?
20629 echo "$as_me:$LINENO: checking windows.h presence" >&5
20630 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20631 cat >conftest.
$ac_ext <<_ACEOF
20632 #line $LINENO "configure"
20635 cat confdefs.h
>>conftest.
$ac_ext
20636 cat >>conftest.
$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 #include <windows.h>
20640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20643 grep -v '^ *+' conftest.er1
>conftest.err
20645 cat conftest.err
>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } >/dev
/null
; then
20648 if test -s conftest.err
; then
20649 ac_cpp_err
=$ac_c_preproc_warn_flag
20656 if test -z "$ac_cpp_err"; then
20657 ac_header_preproc
=yes
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.
$ac_ext >&5
20662 ac_header_preproc
=no
20664 rm -f conftest.err conftest.
$ac_ext
20665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20666 echo "${ECHO_T}$ac_header_preproc" >&6
20668 # So? What about this header?
20669 case $ac_header_compiler:$ac_header_preproc in
20671 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20672 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20673 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20674 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20677 ## ------------------------------------ ##
20678 ## Report this to bug-autoconf@gnu.org. ##
20679 ## ------------------------------------ ##
20682 sed "s/^/$as_me: WARNING: /" >&2
20685 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20686 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20687 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20688 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20689 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20690 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20693 ## ------------------------------------ ##
20694 ## Report this to bug-autoconf@gnu.org. ##
20695 ## ------------------------------------ ##
20698 sed "s/^/$as_me: WARNING: /" >&2
20701 echo "$as_me:$LINENO: checking for windows.h" >&5
20702 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20703 if test "${ac_cv_header_windows_h+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20706 ac_cv_header_windows_h
=$ac_header_preproc
20708 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20709 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20712 if test $ac_cv_header_windows_h = yes; then
20716 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20717 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20718 { (exit 1); exit 1; }; }
20724 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20726 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20727 LIBS
="$LIBS -loleacc"
20732 LIBS
="$LIBS -lkernel32 -luser32"
20733 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20736 if test "$wxUSE_ODBC" = "sys" ; then
20739 if test "$wxUSE_ODBC" = "yes" ; then
20740 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20741 cat >>confdefs.h
<<\_ACEOF
20742 #define wxUSE_ODBC 1
20747 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20748 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20750 WIN32INSTALL
=win32install
20753 if test "$wxUSE_GUI" = "yes"; then
20763 if test "$wxUSE_MSW" = 1 ; then
20769 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20773 if test "$wxUSE_GTK" = 1; then
20774 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20775 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20777 gtk_version_cached
=1
20778 if test "${wx_cv_lib_gtk+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20782 gtk_version_cached
=0
20783 echo "$as_me:$LINENO: result: " >&5
20784 echo "${ECHO_T}" >&6
20787 if test "$wxUSE_THREADS" = "yes"; then
20788 GTK_MODULES
=gthread
20792 if test "x$wxUSE_GTK2" = "xyes"; then
20793 # Check whether --enable-gtktest or --disable-gtktest was given.
20794 if test "${enable_gtktest+set}" = set; then
20795 enableval
="$enable_gtktest"
20801 pkg_config_args
=gtk
+-2.0
20802 for module
in .
$GTK_MODULES
20806 pkg_config_args
="$pkg_config_args gthread-2.0"
20813 # Extract the first word of "pkg-config", so it can be a program name with args.
20814 set dummy pkg
-config; ac_word
=$2
20815 echo "$as_me:$LINENO: checking for $ac_word" >&5
20816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20817 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 case $PKG_CONFIG in
20822 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20826 for as_dir
in $PATH
20829 test -z "$as_dir" && as_dir
=.
20830 for ac_exec_ext
in '' $ac_executable_extensions; do
20831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20832 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20839 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20843 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20845 if test -n "$PKG_CONFIG"; then
20846 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20847 echo "${ECHO_T}$PKG_CONFIG" >&6
20849 echo "$as_me:$LINENO: result: no" >&5
20850 echo "${ECHO_T}no" >&6
20854 if test x
$PKG_CONFIG != xno
; then
20855 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20858 echo "*** pkg-config too old; version 0.7 or better required."
20866 min_gtk_version
=2.0.0
20867 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20868 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20870 if test x
$PKG_CONFIG != xno
; then
20871 ## don't try to run the test against uninstalled libtool libs
20872 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20873 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20877 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20884 if test x
"$no_gtk" = x
; then
20885 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20886 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20887 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20888 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20889 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20891 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20893 if test "x$enable_gtktest" = "xyes" ; then
20894 ac_save_CFLAGS
="$CFLAGS"
20895 ac_save_LIBS
="$LIBS"
20896 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20897 LIBS
="$GTK_LIBS $LIBS"
20899 if test "$cross_compiling" = yes; then
20900 echo $ac_n "cross compiling; assumed OK... $ac_c"
20902 cat >conftest.
$ac_ext <<_ACEOF
20903 #line $LINENO "configure"
20906 cat confdefs.h
>>conftest.
$ac_ext
20907 cat >>conftest.
$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20910 #include <gtk/gtk.h>
20912 #include <stdlib.h>
20917 int major, minor, micro;
20920 system ("touch conf.gtktest");
20922 /* HP/UX 9 (%@#!) writes to sscanf strings */
20923 tmp_version = g_strdup("$min_gtk_version");
20924 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20925 printf("%s, bad version string\n", "$min_gtk_version");
20929 if ((gtk_major_version != $gtk_config_major_version) ||
20930 (gtk_minor_version != $gtk_config_minor_version) ||
20931 (gtk_micro_version != $gtk_config_micro_version))
20933 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20934 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20935 gtk_major_version, gtk_minor_version, gtk_micro_version);
20936 printf ("*** was found! If pkg-config was correct, then it is best\n");
20937 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20938 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20939 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20940 printf("*** required on your system.\n");
20941 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20942 printf("*** to point to the correct configuration files\n");
20944 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20945 (gtk_minor_version != GTK_MINOR_VERSION) ||
20946 (gtk_micro_version != GTK_MICRO_VERSION))
20948 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20949 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20950 printf("*** library (version %d.%d.%d)\n",
20951 gtk_major_version, gtk_minor_version, gtk_micro_version);
20955 if ((gtk_major_version > major) ||
20956 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20957 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20963 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20964 gtk_major_version, gtk_minor_version, gtk_micro_version);
20965 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20966 major, minor, micro);
20967 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20969 printf("*** If you have already installed a sufficiently new version, this error\n");
20970 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20971 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20972 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20973 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20974 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20975 printf("*** so that the correct libraries are found at run-time))\n");
20982 rm -f conftest
$ac_exeext
20983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20984 (eval $ac_link) 2>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; }; then
20995 echo "$as_me: program exited with status $ac_status" >&5
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.
$ac_ext >&5
20999 ( exit $ac_status )
21002 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21004 CFLAGS
="$ac_save_CFLAGS"
21005 LIBS
="$ac_save_LIBS"
21008 if test "x$no_gtk" = x
; then
21009 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21010 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21013 echo "$as_me:$LINENO: result: no" >&5
21014 echo "${ECHO_T}no" >&6
21015 if test "$PKG_CONFIG" = "no" ; then
21016 echo "*** A new enough version of pkg-config was not found."
21017 echo "*** See http://pkgconfig.sourceforge.net"
21019 if test -f conf.gtktest
; then
21022 echo "*** Could not run GTK+ test program, checking why..."
21023 ac_save_CFLAGS
="$CFLAGS"
21024 ac_save_LIBS
="$LIBS"
21025 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21026 LIBS
="$LIBS $GTK_LIBS"
21027 cat >conftest.
$ac_ext <<_ACEOF
21028 #line $LINENO "configure"
21031 cat confdefs.h
>>conftest.
$ac_ext
21032 cat >>conftest.
$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21035 #include <gtk/gtk.h>
21041 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21046 rm -f conftest.
$ac_objext conftest
$ac_exeext
21047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21048 (eval $ac_link) 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } &&
21052 { ac_try
='test -s conftest$ac_exeext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 echo "*** The test program compiled, but did not run. This usually means"
21059 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21060 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21061 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21062 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21063 echo "*** is required on your system"
21065 echo "*** If you have an old version installed, it is best to remove it, although"
21066 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.
$ac_ext >&5
21071 echo "*** The test program failed to compile or link. See the file config.log for the"
21072 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21075 CFLAGS
="$ac_save_CFLAGS"
21076 LIBS
="$ac_save_LIBS"
21089 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21090 if test "${with_gtk_prefix+set}" = set; then
21091 withval
="$with_gtk_prefix"
21092 gtk_config_prefix
="$withval"
21094 gtk_config_prefix
=""
21097 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21098 if test "${with_gtk_exec_prefix+set}" = set; then
21099 withval
="$with_gtk_exec_prefix"
21100 gtk_config_exec_prefix
="$withval"
21102 gtk_config_exec_prefix
=""
21104 # Check whether --enable-gtktest or --disable-gtktest was given.
21105 if test "${enable_gtktest+set}" = set; then
21106 enableval
="$enable_gtktest"
21112 for module
in .
$GTK_MODULES
21116 gtk_config_args
="$gtk_config_args gthread"
21121 if test x
$gtk_config_exec_prefix != x
; then
21122 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21123 if test x
${GTK_CONFIG+set} != xset
; then
21124 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21127 if test x
$gtk_config_prefix != x
; then
21128 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21129 if test x
${GTK_CONFIG+set} != xset
; then
21130 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21134 # Extract the first word of "gtk-config", so it can be a program name with args.
21135 set dummy gtk
-config; ac_word
=$2
21136 echo "$as_me:$LINENO: checking for $ac_word" >&5
21137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21138 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21141 case $GTK_CONFIG in
21143 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21147 for as_dir
in $PATH
21150 test -z "$as_dir" && as_dir
=.
21151 for ac_exec_ext
in '' $ac_executable_extensions; do
21152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21153 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21160 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21164 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21166 if test -n "$GTK_CONFIG"; then
21167 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21168 echo "${ECHO_T}$GTK_CONFIG" >&6
21170 echo "$as_me:$LINENO: result: no" >&5
21171 echo "${ECHO_T}no" >&6
21174 min_gtk_version
=1.2.7
21175 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21176 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21178 if test "$GTK_CONFIG" = "no" ; then
21181 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21182 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21183 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21184 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21185 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21187 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21189 if test "x$enable_gtktest" = "xyes" ; then
21190 ac_save_CFLAGS
="$CFLAGS"
21191 ac_save_LIBS
="$LIBS"
21192 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21193 LIBS
="$GTK_LIBS $LIBS"
21195 if test "$cross_compiling" = yes; then
21196 echo $ac_n "cross compiling; assumed OK... $ac_c"
21198 cat >conftest.
$ac_ext <<_ACEOF
21199 #line $LINENO "configure"
21202 cat confdefs.h
>>conftest.
$ac_ext
21203 cat >>conftest.
$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21206 #include <gtk/gtk.h>
21208 #include <stdlib.h>
21213 int major, minor, micro;
21216 system ("touch conf.gtktest");
21218 /* HP/UX 9 (%@#!) writes to sscanf strings */
21219 tmp_version = g_strdup("$min_gtk_version");
21220 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21221 printf("%s, bad version string\n", "$min_gtk_version");
21225 if ((gtk_major_version != $gtk_config_major_version) ||
21226 (gtk_minor_version != $gtk_config_minor_version) ||
21227 (gtk_micro_version != $gtk_config_micro_version))
21229 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21230 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21231 gtk_major_version, gtk_minor_version, gtk_micro_version);
21232 printf ("*** was found! If gtk-config was correct, then it is best\n");
21233 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21234 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21235 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21236 printf("*** required on your system.\n");
21237 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21238 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21239 printf("*** before re-running configure\n");
21241 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21242 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21243 (gtk_minor_version != GTK_MINOR_VERSION) ||
21244 (gtk_micro_version != GTK_MICRO_VERSION))
21246 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21247 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21248 printf("*** library (version %d.%d.%d)\n",
21249 gtk_major_version, gtk_minor_version, gtk_micro_version);
21251 #endif /* defined (GTK_MAJOR_VERSION) ... */
21254 if ((gtk_major_version > major) ||
21255 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21256 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21262 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21263 gtk_major_version, gtk_minor_version, gtk_micro_version);
21264 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21265 major, minor, micro);
21266 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21268 printf("*** If you have already installed a sufficiently new version, this error\n");
21269 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21270 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21271 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21272 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21273 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21274 printf("*** so that the correct libraries are found at run-time))\n");
21281 rm -f conftest
$ac_exeext
21282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21283 (eval $ac_link) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21288 (eval $ac_try) 2>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21294 echo "$as_me: program exited with status $ac_status" >&5
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 ( exit $ac_status )
21301 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21303 CFLAGS
="$ac_save_CFLAGS"
21304 LIBS
="$ac_save_LIBS"
21307 if test "x$no_gtk" = x
; then
21308 echo "$as_me:$LINENO: result: yes" >&5
21309 echo "${ECHO_T}yes" >&6
21310 wx_cv_lib_gtk
=1.2.7
21312 echo "$as_me:$LINENO: result: no" >&5
21313 echo "${ECHO_T}no" >&6
21314 if test "$GTK_CONFIG" = "no" ; then
21315 echo "*** The gtk-config script installed by GTK could not be found"
21316 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21317 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21318 echo "*** full path to gtk-config."
21320 if test -f conf.gtktest
; then
21323 echo "*** Could not run GTK test program, checking why..."
21324 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21325 LIBS
="$LIBS $GTK_LIBS"
21326 cat >conftest.
$ac_ext <<_ACEOF
21327 #line $LINENO "configure"
21330 cat confdefs.h
>>conftest.
$ac_ext
21331 cat >>conftest.
$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21334 #include <gtk/gtk.h>
21340 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21345 rm -f conftest.
$ac_objext conftest
$ac_exeext
21346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21347 (eval $ac_link) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } &&
21351 { ac_try
='test -s conftest$ac_exeext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 echo "*** The test program compiled, but did not run. This usually means"
21358 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21359 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21360 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21361 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21362 echo "*** is required on your system"
21364 echo "*** If you have an old version installed, it is best to remove it, although"
21365 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21367 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21368 echo "*** came with the system with the command"
21370 echo "*** rpm --erase --nodeps gtk gtk-devel"
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.
$ac_ext >&5
21375 echo "*** The test program failed to compile or link. See the file config.log for the"
21376 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21377 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21378 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21380 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21381 CFLAGS
="$ac_save_CFLAGS"
21382 LIBS
="$ac_save_LIBS"
21394 if test -z "$wx_cv_lib_gtk"; then
21396 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21397 if test "${with_gtk_prefix+set}" = set; then
21398 withval
="$with_gtk_prefix"
21399 gtk_config_prefix
="$withval"
21401 gtk_config_prefix
=""
21404 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21405 if test "${with_gtk_exec_prefix+set}" = set; then
21406 withval
="$with_gtk_exec_prefix"
21407 gtk_config_exec_prefix
="$withval"
21409 gtk_config_exec_prefix
=""
21411 # Check whether --enable-gtktest or --disable-gtktest was given.
21412 if test "${enable_gtktest+set}" = set; then
21413 enableval
="$enable_gtktest"
21419 for module
in .
$GTK_MODULES
21423 gtk_config_args
="$gtk_config_args gthread"
21428 if test x
$gtk_config_exec_prefix != x
; then
21429 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21430 if test x
${GTK_CONFIG+set} != xset
; then
21431 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21434 if test x
$gtk_config_prefix != x
; then
21435 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21436 if test x
${GTK_CONFIG+set} != xset
; then
21437 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21441 # Extract the first word of "gtk-config", so it can be a program name with args.
21442 set dummy gtk
-config; ac_word
=$2
21443 echo "$as_me:$LINENO: checking for $ac_word" >&5
21444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21445 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21446 echo $ECHO_N "(cached) $ECHO_C" >&6
21448 case $GTK_CONFIG in
21450 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21454 for as_dir
in $PATH
21457 test -z "$as_dir" && as_dir
=.
21458 for ac_exec_ext
in '' $ac_executable_extensions; do
21459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21460 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21467 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21471 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21473 if test -n "$GTK_CONFIG"; then
21474 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21475 echo "${ECHO_T}$GTK_CONFIG" >&6
21477 echo "$as_me:$LINENO: result: no" >&5
21478 echo "${ECHO_T}no" >&6
21481 min_gtk_version
=1.2.3
21482 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21483 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21485 if test "$GTK_CONFIG" = "no" ; then
21488 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21489 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21490 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21491 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21492 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21494 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21496 if test "x$enable_gtktest" = "xyes" ; then
21497 ac_save_CFLAGS
="$CFLAGS"
21498 ac_save_LIBS
="$LIBS"
21499 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21500 LIBS
="$GTK_LIBS $LIBS"
21502 if test "$cross_compiling" = yes; then
21503 echo $ac_n "cross compiling; assumed OK... $ac_c"
21505 cat >conftest.
$ac_ext <<_ACEOF
21506 #line $LINENO "configure"
21509 cat confdefs.h
>>conftest.
$ac_ext
21510 cat >>conftest.
$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21513 #include <gtk/gtk.h>
21515 #include <stdlib.h>
21520 int major, minor, micro;
21523 system ("touch conf.gtktest");
21525 /* HP/UX 9 (%@#!) writes to sscanf strings */
21526 tmp_version = g_strdup("$min_gtk_version");
21527 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21528 printf("%s, bad version string\n", "$min_gtk_version");
21532 if ((gtk_major_version != $gtk_config_major_version) ||
21533 (gtk_minor_version != $gtk_config_minor_version) ||
21534 (gtk_micro_version != $gtk_config_micro_version))
21536 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21537 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21538 gtk_major_version, gtk_minor_version, gtk_micro_version);
21539 printf ("*** was found! If gtk-config was correct, then it is best\n");
21540 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21541 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21542 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21543 printf("*** required on your system.\n");
21544 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21545 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21546 printf("*** before re-running configure\n");
21548 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21549 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21550 (gtk_minor_version != GTK_MINOR_VERSION) ||
21551 (gtk_micro_version != GTK_MICRO_VERSION))
21553 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21554 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21555 printf("*** library (version %d.%d.%d)\n",
21556 gtk_major_version, gtk_minor_version, gtk_micro_version);
21558 #endif /* defined (GTK_MAJOR_VERSION) ... */
21561 if ((gtk_major_version > major) ||
21562 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21563 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21569 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21570 gtk_major_version, gtk_minor_version, gtk_micro_version);
21571 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21572 major, minor, micro);
21573 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21575 printf("*** If you have already installed a sufficiently new version, this error\n");
21576 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21577 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21578 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21579 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21580 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21581 printf("*** so that the correct libraries are found at run-time))\n");
21588 rm -f conftest
$ac_exeext
21589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21590 (eval $ac_link) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21601 echo "$as_me: program exited with status $ac_status" >&5
21602 echo "$as_me: failed program was:" >&5
21603 sed 's/^/| /' conftest.
$ac_ext >&5
21605 ( exit $ac_status )
21608 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21610 CFLAGS
="$ac_save_CFLAGS"
21611 LIBS
="$ac_save_LIBS"
21614 if test "x$no_gtk" = x
; then
21615 echo "$as_me:$LINENO: result: yes" >&5
21616 echo "${ECHO_T}yes" >&6
21617 wx_cv_lib_gtk
=1.2.3
21619 echo "$as_me:$LINENO: result: no" >&5
21620 echo "${ECHO_T}no" >&6
21621 if test "$GTK_CONFIG" = "no" ; then
21622 echo "*** The gtk-config script installed by GTK could not be found"
21623 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21624 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21625 echo "*** full path to gtk-config."
21627 if test -f conf.gtktest
; then
21630 echo "*** Could not run GTK test program, checking why..."
21631 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21632 LIBS
="$LIBS $GTK_LIBS"
21633 cat >conftest.
$ac_ext <<_ACEOF
21634 #line $LINENO "configure"
21637 cat confdefs.h
>>conftest.
$ac_ext
21638 cat >>conftest.
$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21641 #include <gtk/gtk.h>
21647 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21652 rm -f conftest.
$ac_objext conftest
$ac_exeext
21653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21654 (eval $ac_link) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } &&
21658 { ac_try
='test -s conftest$ac_exeext'
21659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21660 (eval $ac_try) 2>&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 echo "*** The test program compiled, but did not run. This usually means"
21665 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21666 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21667 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21668 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21669 echo "*** is required on your system"
21671 echo "*** If you have an old version installed, it is best to remove it, although"
21672 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21674 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21675 echo "*** came with the system with the command"
21677 echo "*** rpm --erase --nodeps gtk gtk-devel"
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.
$ac_ext >&5
21682 echo "*** The test program failed to compile or link. See the file config.log for the"
21683 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21684 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21685 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21687 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21688 CFLAGS
="$ac_save_CFLAGS"
21689 LIBS
="$ac_save_LIBS"
21703 if test -z "$wx_cv_lib_gtk"; then
21706 wx_cv_cflags_gtk
=$GTK_CFLAGS
21707 wx_cv_libs_gtk
=$GTK_LIBS
21714 if test "$gtk_version_cached" = 1; then
21715 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21716 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21719 case "$wx_cv_lib_gtk" in
21728 *) { { echo "$as_me:$LINENO: error:
21729 Please check that gtk-config is in path, the directory
21730 where GTK+ libraries are installed (returned by
21731 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21732 equivalent variable and GTK+ is version 1.2.3 or above.
21734 echo "$as_me: error:
21735 Please check that gtk-config is in path, the directory
21736 where GTK+ libraries are installed (returned by
21737 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21738 equivalent variable and GTK+ is version 1.2.3 or above.
21740 { (exit 1); exit 1; }; }
21744 if test "$WXGTK20" = 1; then
21745 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21749 if test -z "$PKG_CONFIG"; then
21750 # Extract the first word of "pkg-config", so it can be a program name with args.
21751 set dummy pkg
-config; ac_word
=$2
21752 echo "$as_me:$LINENO: checking for $ac_word" >&5
21753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21754 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 case $PKG_CONFIG in
21759 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21763 for as_dir
in $PATH
21766 test -z "$as_dir" && as_dir
=.
21767 for ac_exec_ext
in '' $ac_executable_extensions; do
21768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21769 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21776 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21780 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21782 if test -n "$PKG_CONFIG"; then
21783 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21784 echo "${ECHO_T}$PKG_CONFIG" >&6
21786 echo "$as_me:$LINENO: result: no" >&5
21787 echo "${ECHO_T}no" >&6
21792 if test "$PKG_CONFIG" = "no" ; then
21793 echo "*** The pkg-config script could not be found. Make sure it is"
21794 echo "*** in your path, or set the PKG_CONFIG environment variable"
21795 echo "*** to the full path to pkg-config."
21796 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21798 PKG_CONFIG_MIN_VERSION
=0.9.0
21799 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21800 echo "$as_me:$LINENO: checking for pangoft2" >&5
21801 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21803 if $PKG_CONFIG --exists "pangoft2" ; then
21804 echo "$as_me:$LINENO: result: yes" >&5
21805 echo "${ECHO_T}yes" >&6
21808 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21809 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21810 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21811 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21812 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21814 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21815 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21816 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21817 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21818 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21822 ## If we have a custom action on failure, don't print errors, but
21823 ## do set a variable so people can do so.
21824 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21831 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21832 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21836 if test $succeeded = yes; then
21838 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21839 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21843 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21844 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21845 wxUSE_PRINTING_ARCHITECTURE
="no"
21852 if test "$wxUSE_UNICODE" = "yes"; then
21853 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21854 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21859 if test "$USE_DARWIN" != 1; then
21861 for ac_func
in poll
21863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21864 echo "$as_me:$LINENO: checking for $ac_func" >&5
21865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21866 if eval "test \"\${$as_ac_var+set}\" = set"; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 cat >conftest.
$ac_ext <<_ACEOF
21870 #line $LINENO "configure"
21873 cat confdefs.h
>>conftest.
$ac_ext
21874 cat >>conftest.
$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 /* System header to define __stub macros and hopefully few prototypes,
21877 which can conflict with char $ac_func (); below.
21878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21879 <limits.h> exists even on freestanding compilers. */
21881 # include <limits.h>
21883 # include <assert.h>
21885 /* Override any gcc2 internal prototype to avoid an error. */
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21893 /* The GNU C library defines this for functions which it implements
21894 to always fail with ENOSYS. Some functions are actually named
21895 something starting with __ and the normal name is an alias. */
21896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21899 char (*f) () = $ac_func;
21908 return f != $ac_func;
21913 rm -f conftest.
$ac_objext conftest
$ac_exeext
21914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21915 (eval $ac_link) 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try
='test -s conftest$ac_exeext'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 eval "$as_ac_var=yes"
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.
$ac_ext >&5
21930 eval "$as_ac_var=no"
21932 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21936 if test `eval echo '${'$as_ac_var'}'` = yes; then
21937 cat >>confdefs.h
<<_ACEOF
21938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21946 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21947 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21949 AFMINSTALL
=afminstall
21953 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21954 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21955 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21956 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 ac_check_lib_save_LIBS
=$LIBS
21960 cat >conftest.
$ac_ext <<_ACEOF
21961 #line $LINENO "configure"
21964 cat confdefs.h
>>conftest.
$ac_ext
21965 cat >>conftest.
$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21968 /* Override any gcc2 internal prototype to avoid an error. */
21972 /* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21974 char gdk_im_open ();
21983 rm -f conftest.
$ac_objext conftest
$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try
='test -s conftest$ac_exeext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 ac_cv_lib_gdk_gdk_im_open
=yes
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.
$ac_ext >&5
22000 ac_cv_lib_gdk_gdk_im_open
=no
22002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22003 LIBS
=$ac_check_lib_save_LIBS
22005 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22006 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22007 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22008 cat >>confdefs.h
<<\_ACEOF
22016 if test "$wxUSE_GPE" = "yes"; then
22017 echo "$as_me:$LINENO: checking for gpewidget library" >&5
22018 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
22021 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22023 for ac_extension
in a so sl dylib
; do
22024 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
22025 ac_find_libraries
=$ac_dir
22031 if test "$ac_find_libraries" != "" ; then
22033 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22035 if test $result = 0; then
22038 ac_path_to_link
=" -L$ac_find_libraries"
22041 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
22043 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22044 echo "${ECHO_T}found at $ac_find_libraries" >&6
22046 echo "$as_me:$LINENO: result: not found" >&5
22047 echo "${ECHO_T}not found" >&6
22053 if test "$wxUSE_MGL" = 1; then
22054 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22055 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22056 if test "x$MGL_ROOT" = x
; then
22057 echo "$as_me:$LINENO: result: not found" >&5
22058 echo "${ECHO_T}not found" >&6
22059 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22060 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22061 { (exit 1); exit 1; }; }
22063 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22064 echo "${ECHO_T}$MGL_ROOT" >&6
22067 echo "$as_me:$LINENO: checking for libmgl location" >&5
22068 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22071 if test "x$wxUSE_SHARED" = xyes
; then
22072 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22074 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22078 mgl_os_candidates
="dos32/dj2"
22081 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22082 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22083 { (exit 1); exit 1; }; }
22089 for mgl_os_i
in $mgl_os_candidates ; do
22090 if test "x$mgl_os" = x
; then
22091 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22092 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
22093 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
22098 if test "x$mgl_lib_type" = x
; then
22099 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
22100 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
22101 mgl_lib_type
=release
22108 if test "x$mgl_os" = x
; then
22109 echo "$as_me:$LINENO: result: not found" >&5
22110 echo "${ECHO_T}not found" >&6
22111 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22112 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22113 { (exit 1); exit 1; }; }
22115 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22116 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22118 wxUSE_UNIVERSAL
="yes"
22120 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
22121 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22123 AFMINSTALL
=afminstall
22128 if test "$wxUSE_MICROWIN" = 1; then
22129 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22130 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22131 if test "x$MICROWINDOWS" = x
; then
22132 echo "$as_me:$LINENO: result: not found" >&5
22133 echo "${ECHO_T}not found" >&6
22134 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22135 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22136 { (exit 1); exit 1; }; }
22138 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22139 echo "${ECHO_T}$MICROWINDOWS" >&6
22142 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
22143 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22144 echo "${ECHO_T}MicroWindows' libraries found." >&6
22146 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22147 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22148 { (exit 1); exit 1; }; }
22151 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
22152 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22154 wxUSE_UNIVERSAL
="yes"
22156 AFMINSTALL
=afminstall
22158 GUIDIST
=MICROWIN_DIST
22160 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22163 if test "$wxUSE_X11" = 1; then
22164 echo "$as_me:$LINENO: checking for X" >&5
22165 echo $ECHO_N "checking for X... $ECHO_C" >&6
22168 # Check whether --with-x or --without-x was given.
22169 if test "${with_x+set}" = set; then
22173 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22174 if test "x$with_x" = xno
; then
22175 # The user explicitly disabled X.
22178 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
22179 # Both variables are already set.
22182 if test "${ac_cv_have_x+set}" = set; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22185 # One or both of the vars are not set, and there is no cached value.
22186 ac_x_includes
=no ac_x_libraries
=no
22187 rm -fr conftest.dir
22188 if mkdir conftest.dir
; then
22190 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22191 cat >Imakefile
<<'_ACEOF'
22193 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22195 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
22196 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22197 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22198 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22199 for ac_extension
in a so sl
; do
22200 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
22201 test -f $ac_im_libdir/libX11.
$ac_extension; then
22202 ac_im_usrlibdir
=$ac_im_libdir; break
22205 # Screen out bogus values from the imake configuration. They are
22206 # bogus both because they are the default anyway, and because
22207 # using them would break gcc on systems where it needs fixed includes.
22208 case $ac_im_incroot in
22210 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
22212 case $ac_im_usrlibdir in
22213 /usr
/lib
| /lib
) ;;
22214 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
22218 rm -fr conftest.dir
22221 # Standard set of common directories for X headers.
22222 # Check X11 before X11Rn because it is often a symlink to the current release.
22234 /usr/local/X11/include
22235 /usr/local/X11R6/include
22236 /usr/local/X11R5/include
22237 /usr/local/X11R4/include
22239 /usr/local/include/X11
22240 /usr/local/include/X11R6
22241 /usr/local/include/X11R5
22242 /usr/local/include/X11R4
22246 /usr/XFree86/include/X11
22250 /usr/unsupported/include
22251 /usr/athena/include
22252 /usr/local/x11r5/include
22253 /usr/lpp/Xamples/include
22255 /usr/openwin/include
22256 /usr/openwin/share/include'
22258 if test "$ac_x_includes" = no
; then
22259 # Guess where to find include files, by looking for Intrinsic.h.
22260 # First, try using that file with no special directory specified.
22261 cat >conftest.
$ac_ext <<_ACEOF
22262 #line $LINENO "configure"
22265 cat confdefs.h
>>conftest.
$ac_ext
22266 cat >>conftest.
$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 #include <X11/Intrinsic.h>
22270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22273 grep -v '^ *+' conftest.er1
>conftest.err
22275 cat conftest.err
>&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } >/dev
/null
; then
22278 if test -s conftest.err
; then
22279 ac_cpp_err
=$ac_c_preproc_warn_flag
22286 if test -z "$ac_cpp_err"; then
22287 # We can compile using X headers with no special include directory.
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.
$ac_ext >&5
22293 for ac_dir
in $ac_x_header_dirs; do
22294 if test -r "$ac_dir/X11/Intrinsic.h"; then
22295 ac_x_includes
=$ac_dir
22300 rm -f conftest.err conftest.
$ac_ext
22301 fi # $ac_x_includes = no
22303 if test "$ac_x_libraries" = no
; then
22304 # Check for the libraries.
22305 # See if we find them without any special options.
22306 # Don't add to $LIBS permanently.
22309 cat >conftest.
$ac_ext <<_ACEOF
22310 #line $LINENO "configure"
22313 cat confdefs.h
>>conftest.
$ac_ext
22314 cat >>conftest.
$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 #include <X11/Intrinsic.h>
22325 rm -f conftest.
$ac_objext conftest
$ac_exeext
22326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22327 (eval $ac_link) 2>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } &&
22331 { ac_try
='test -s conftest$ac_exeext'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; }; then
22338 # We can link X programs with no special library path.
22341 echo "$as_me: failed program was:" >&5
22342 sed 's/^/| /' conftest.
$ac_ext >&5
22345 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22347 # Don't even attempt the hair of trying to link an X program!
22348 for ac_extension
in a so sl
; do
22349 if test -r $ac_dir/libXt.
$ac_extension; then
22350 ac_x_libraries
=$ac_dir
22356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22357 fi # $ac_x_libraries = no
22359 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
22360 # Didn't find X anywhere. Cache the known absence of X.
22361 ac_cv_have_x
="have_x=no"
22363 # Record where we found X for the cache.
22364 ac_cv_have_x
="have_x=yes \
22365 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22370 eval "$ac_cv_have_x"
22373 if test "$have_x" != yes; then
22374 echo "$as_me:$LINENO: result: $have_x" >&5
22375 echo "${ECHO_T}$have_x" >&6
22378 # If each of the values was on the command line, it overrides each guess.
22379 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
22380 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
22381 # Update the cache value to reflect the command line values.
22382 ac_cv_have_x
="have_x=yes \
22383 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22384 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22385 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22388 if test "$no_x" = yes; then
22389 # Not all programs may use this symbol, but it does not hurt to define it.
22391 cat >>confdefs.h
<<\_ACEOF
22392 #define X_DISPLAY_MISSING 1
22395 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22397 if test -n "$x_includes"; then
22398 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22401 # It would also be nice to do this for all -L options, not just this one.
22402 if test -n "$x_libraries"; then
22403 X_LIBS
="$X_LIBS -L$x_libraries"
22404 # For Solaris; some versions of Sun CC require a space after -R and
22405 # others require no space. Words are not sufficient . . . .
22406 case `(uname -sr) 2>/dev/null` in
22408 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22409 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22410 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22411 cat >conftest.
$ac_ext <<_ACEOF
22412 #line $LINENO "configure"
22415 cat confdefs.h
>>conftest.
$ac_ext
22416 cat >>conftest.
$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22427 rm -f conftest.
$ac_objext conftest
$ac_exeext
22428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22429 (eval $ac_link) 2>&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); } &&
22433 { ac_try
='test -s conftest$ac_exeext'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435 (eval $ac_try) 2>&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; }; then
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.
$ac_ext >&5
22446 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22447 if test $ac_R_nospace = yes; then
22448 echo "$as_me:$LINENO: result: no" >&5
22449 echo "${ECHO_T}no" >&6
22450 X_LIBS
="$X_LIBS -R$x_libraries"
22452 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22453 cat >conftest.
$ac_ext <<_ACEOF
22454 #line $LINENO "configure"
22457 cat confdefs.h
>>conftest.
$ac_ext
22458 cat >>conftest.
$ac_ext <<_ACEOF
22459 /* end confdefs.h. */
22469 rm -f conftest.
$ac_objext conftest
$ac_exeext
22470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22471 (eval $ac_link) 2>&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try
='test -s conftest$ac_exeext'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; }; then
22483 echo "$as_me: failed program was:" >&5
22484 sed 's/^/| /' conftest.
$ac_ext >&5
22488 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22489 if test $ac_R_space = yes; then
22490 echo "$as_me:$LINENO: result: yes" >&5
22491 echo "${ECHO_T}yes" >&6
22492 X_LIBS
="$X_LIBS -R $x_libraries"
22494 echo "$as_me:$LINENO: result: neither works" >&5
22495 echo "${ECHO_T}neither works" >&6
22498 LIBS
=$ac_xsave_LIBS
22502 # Check for system-dependent libraries X programs must link with.
22503 # Do this before checking for the system-independent R6 libraries
22504 # (-lICE), since we may need -lsocket or whatever for X linking.
22506 if test "$ISC" = yes; then
22507 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22509 # Martyn Johnson says this is needed for Ultrix, if the X
22510 # libraries were built with DECnet support. And Karl Berry says
22511 # the Alpha needs dnet_stub (dnet does not exist).
22512 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22513 cat >conftest.
$ac_ext <<_ACEOF
22514 #line $LINENO "configure"
22517 cat confdefs.h
>>conftest.
$ac_ext
22518 cat >>conftest.
$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22521 /* Override any gcc2 internal prototype to avoid an error. */
22525 /* We use char because int might match the return type of a gcc2
22526 builtin and then its argument prototype would still apply. */
22527 char XOpenDisplay ();
22536 rm -f conftest.
$ac_objext conftest
$ac_exeext
22537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22538 (eval $ac_link) 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); } &&
22542 { ac_try
='test -s conftest$ac_exeext'
22543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22544 (eval $ac_try) 2>&5
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); }; }; then
22550 echo "$as_me: failed program was:" >&5
22551 sed 's/^/| /' conftest.
$ac_ext >&5
22553 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22554 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22555 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22556 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 ac_check_lib_save_LIBS
=$LIBS
22559 LIBS
="-ldnet $LIBS"
22560 cat >conftest.
$ac_ext <<_ACEOF
22561 #line $LINENO "configure"
22564 cat confdefs.h
>>conftest.
$ac_ext
22565 cat >>conftest.
$ac_ext <<_ACEOF
22566 /* end confdefs.h. */
22568 /* Override any gcc2 internal prototype to avoid an error. */
22572 /* We use char because int might match the return type of a gcc2
22573 builtin and then its argument prototype would still apply. */
22583 rm -f conftest.
$ac_objext conftest
$ac_exeext
22584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22585 (eval $ac_link) 2>&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } &&
22589 { ac_try
='test -s conftest$ac_exeext'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; }; then
22595 ac_cv_lib_dnet_dnet_ntoa
=yes
22597 echo "$as_me: failed program was:" >&5
22598 sed 's/^/| /' conftest.
$ac_ext >&5
22600 ac_cv_lib_dnet_dnet_ntoa
=no
22602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22603 LIBS
=$ac_check_lib_save_LIBS
22605 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22606 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22607 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22608 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22611 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22612 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22613 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22614 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22615 echo $ECHO_N "(cached) $ECHO_C" >&6
22617 ac_check_lib_save_LIBS
=$LIBS
22618 LIBS
="-ldnet_stub $LIBS"
22619 cat >conftest.
$ac_ext <<_ACEOF
22620 #line $LINENO "configure"
22623 cat confdefs.h
>>conftest.
$ac_ext
22624 cat >>conftest.
$ac_ext <<_ACEOF
22625 /* end confdefs.h. */
22627 /* Override any gcc2 internal prototype to avoid an error. */
22631 /* We use char because int might match the return type of a gcc2
22632 builtin and then its argument prototype would still apply. */
22642 rm -f conftest.
$ac_objext conftest
$ac_exeext
22643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22644 (eval $ac_link) 2>&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } &&
22648 { ac_try
='test -s conftest$ac_exeext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.
$ac_ext >&5
22659 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22661 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22662 LIBS
=$ac_check_lib_save_LIBS
22664 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22665 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22666 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22667 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22672 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22673 LIBS
="$ac_xsave_LIBS"
22675 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22676 # to get the SysV transport functions.
22677 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22679 # The nsl library prevents programs from opening the X display
22680 # on Irix 5.2, according to T.E. Dickey.
22681 # The functions gethostbyname, getservbyname, and inet_addr are
22682 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22683 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22684 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22685 if test "${ac_cv_func_gethostbyname+set}" = set; then
22686 echo $ECHO_N "(cached) $ECHO_C" >&6
22688 cat >conftest.
$ac_ext <<_ACEOF
22689 #line $LINENO "configure"
22692 cat confdefs.h
>>conftest.
$ac_ext
22693 cat >>conftest.
$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695 /* System header to define __stub macros and hopefully few prototypes,
22696 which can conflict with char gethostbyname (); below.
22697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22698 <limits.h> exists even on freestanding compilers. */
22700 # include <limits.h>
22702 # include <assert.h>
22704 /* Override any gcc2 internal prototype to avoid an error. */
22709 /* We use char because int might match the return type of a gcc2
22710 builtin and then its argument prototype would still apply. */
22711 char gethostbyname ();
22712 /* The GNU C library defines this for functions which it implements
22713 to always fail with ENOSYS. Some functions are actually named
22714 something starting with __ and the normal name is an alias. */
22715 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22718 char (*f) () = gethostbyname;
22727 return f != gethostbyname;
22732 rm -f conftest.
$ac_objext conftest
$ac_exeext
22733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22734 (eval $ac_link) 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); } &&
22738 { ac_try
='test -s conftest$ac_exeext'
22739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 (eval $ac_try) 2>&5
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; }; then
22744 ac_cv_func_gethostbyname
=yes
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.
$ac_ext >&5
22749 ac_cv_func_gethostbyname
=no
22751 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22753 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22754 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22756 if test $ac_cv_func_gethostbyname = no
; then
22757 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22758 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22759 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22760 echo $ECHO_N "(cached) $ECHO_C" >&6
22762 ac_check_lib_save_LIBS
=$LIBS
22764 cat >conftest.
$ac_ext <<_ACEOF
22765 #line $LINENO "configure"
22768 cat confdefs.h
>>conftest.
$ac_ext
22769 cat >>conftest.
$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22772 /* Override any gcc2 internal prototype to avoid an error. */
22776 /* We use char because int might match the return type of a gcc2
22777 builtin and then its argument prototype would still apply. */
22778 char gethostbyname ();
22787 rm -f conftest.
$ac_objext conftest
$ac_exeext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22789 (eval $ac_link) 2>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } &&
22793 { ac_try
='test -s conftest$ac_exeext'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; }; then
22799 ac_cv_lib_nsl_gethostbyname
=yes
22801 echo "$as_me: failed program was:" >&5
22802 sed 's/^/| /' conftest.
$ac_ext >&5
22804 ac_cv_lib_nsl_gethostbyname
=no
22806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22807 LIBS
=$ac_check_lib_save_LIBS
22809 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22810 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22811 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22812 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22815 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22816 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22817 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22818 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22819 echo $ECHO_N "(cached) $ECHO_C" >&6
22821 ac_check_lib_save_LIBS
=$LIBS
22823 cat >conftest.
$ac_ext <<_ACEOF
22824 #line $LINENO "configure"
22827 cat confdefs.h
>>conftest.
$ac_ext
22828 cat >>conftest.
$ac_ext <<_ACEOF
22829 /* end confdefs.h. */
22831 /* Override any gcc2 internal prototype to avoid an error. */
22835 /* We use char because int might match the return type of a gcc2
22836 builtin and then its argument prototype would still apply. */
22837 char gethostbyname ();
22846 rm -f conftest.
$ac_objext conftest
$ac_exeext
22847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22848 (eval $ac_link) 2>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } &&
22852 { ac_try
='test -s conftest$ac_exeext'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 ac_cv_lib_bsd_gethostbyname
=yes
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.
$ac_ext >&5
22863 ac_cv_lib_bsd_gethostbyname
=no
22865 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22866 LIBS
=$ac_check_lib_save_LIBS
22868 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22869 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22870 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22871 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22877 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22878 # socket/setsockopt and other routines are undefined under SCO ODT
22879 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22880 # on later versions), says Simon Leinen: it contains gethostby*
22881 # variants that don't use the name server (or something). -lsocket
22882 # must be given before -lnsl if both are needed. We assume that
22883 # if connect needs -lnsl, so does gethostbyname.
22884 echo "$as_me:$LINENO: checking for connect" >&5
22885 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22886 if test "${ac_cv_func_connect+set}" = set; then
22887 echo $ECHO_N "(cached) $ECHO_C" >&6
22889 cat >conftest.
$ac_ext <<_ACEOF
22890 #line $LINENO "configure"
22893 cat confdefs.h
>>conftest.
$ac_ext
22894 cat >>conftest.
$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 /* System header to define __stub macros and hopefully few prototypes,
22897 which can conflict with char connect (); below.
22898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22899 <limits.h> exists even on freestanding compilers. */
22901 # include <limits.h>
22903 # include <assert.h>
22905 /* Override any gcc2 internal prototype to avoid an error. */
22910 /* We use char because int might match the return type of a gcc2
22911 builtin and then its argument prototype would still apply. */
22913 /* The GNU C library defines this for functions which it implements
22914 to always fail with ENOSYS. Some functions are actually named
22915 something starting with __ and the normal name is an alias. */
22916 #if defined (__stub_connect) || defined (__stub___connect)
22919 char (*f) () = connect;
22928 return f != connect;
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_func_connect
=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.
$ac_ext >&5
22950 ac_cv_func_connect
=no
22952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22954 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22955 echo "${ECHO_T}$ac_cv_func_connect" >&6
22957 if test $ac_cv_func_connect = no
; then
22958 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22959 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22960 if test "${ac_cv_lib_socket_connect+set}" = set; then
22961 echo $ECHO_N "(cached) $ECHO_C" >&6
22963 ac_check_lib_save_LIBS
=$LIBS
22964 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22965 cat >conftest.
$ac_ext <<_ACEOF
22966 #line $LINENO "configure"
22969 cat confdefs.h
>>conftest.
$ac_ext
22970 cat >>conftest.
$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22973 /* Override any gcc2 internal prototype to avoid an error. */
22977 /* We use char because int might match the return type of a gcc2
22978 builtin and then its argument prototype would still apply. */
22988 rm -f conftest.
$ac_objext conftest
$ac_exeext
22989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22990 (eval $ac_link) 2>&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } &&
22994 { ac_try
='test -s conftest$ac_exeext'
22995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996 (eval $ac_try) 2>&5
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; }; then
23000 ac_cv_lib_socket_connect
=yes
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.
$ac_ext >&5
23005 ac_cv_lib_socket_connect
=no
23007 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23008 LIBS
=$ac_check_lib_save_LIBS
23010 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23011 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23012 if test $ac_cv_lib_socket_connect = yes; then
23013 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23018 # Guillermo Gomez says -lposix is necessary on A/UX.
23019 echo "$as_me:$LINENO: checking for remove" >&5
23020 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23021 if test "${ac_cv_func_remove+set}" = set; then
23022 echo $ECHO_N "(cached) $ECHO_C" >&6
23024 cat >conftest.
$ac_ext <<_ACEOF
23025 #line $LINENO "configure"
23028 cat confdefs.h
>>conftest.
$ac_ext
23029 cat >>conftest.
$ac_ext <<_ACEOF
23030 /* end confdefs.h. */
23031 /* System header to define __stub macros and hopefully few prototypes,
23032 which can conflict with char remove (); below.
23033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23034 <limits.h> exists even on freestanding compilers. */
23036 # include <limits.h>
23038 # include <assert.h>
23040 /* Override any gcc2 internal prototype to avoid an error. */
23045 /* We use char because int might match the return type of a gcc2
23046 builtin and then its argument prototype would still apply. */
23048 /* The GNU C library defines this for functions which it implements
23049 to always fail with ENOSYS. Some functions are actually named
23050 something starting with __ and the normal name is an alias. */
23051 #if defined (__stub_remove) || defined (__stub___remove)
23054 char (*f) () = remove;
23063 return f != remove;
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_func_remove
=yes
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.
$ac_ext >&5
23085 ac_cv_func_remove
=no
23087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23089 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23090 echo "${ECHO_T}$ac_cv_func_remove" >&6
23092 if test $ac_cv_func_remove = no
; then
23093 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23094 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23095 if test "${ac_cv_lib_posix_remove+set}" = set; then
23096 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 ac_check_lib_save_LIBS
=$LIBS
23099 LIBS
="-lposix $LIBS"
23100 cat >conftest.
$ac_ext <<_ACEOF
23101 #line $LINENO "configure"
23104 cat confdefs.h
>>conftest.
$ac_ext
23105 cat >>conftest.
$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23108 /* Override any gcc2 internal prototype to avoid an error. */
23112 /* We use char because int might match the return type of a gcc2
23113 builtin and then its argument prototype would still apply. */
23123 rm -f conftest.
$ac_objext conftest
$ac_exeext
23124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23125 (eval $ac_link) 2>&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } &&
23129 { ac_try
='test -s conftest$ac_exeext'
23130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23131 (eval $ac_try) 2>&5
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); }; }; then
23135 ac_cv_lib_posix_remove
=yes
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.
$ac_ext >&5
23140 ac_cv_lib_posix_remove
=no
23142 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23143 LIBS
=$ac_check_lib_save_LIBS
23145 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23146 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23147 if test $ac_cv_lib_posix_remove = yes; then
23148 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23153 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23154 echo "$as_me:$LINENO: checking for shmat" >&5
23155 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23156 if test "${ac_cv_func_shmat+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 cat >conftest.
$ac_ext <<_ACEOF
23160 #line $LINENO "configure"
23163 cat confdefs.h
>>conftest.
$ac_ext
23164 cat >>conftest.
$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166 /* System header to define __stub macros and hopefully few prototypes,
23167 which can conflict with char shmat (); below.
23168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23169 <limits.h> exists even on freestanding compilers. */
23171 # include <limits.h>
23173 # include <assert.h>
23175 /* Override any gcc2 internal prototype to avoid an error. */
23180 /* We use char because int might match the return type of a gcc2
23181 builtin and then its argument prototype would still apply. */
23183 /* The GNU C library defines this for functions which it implements
23184 to always fail with ENOSYS. Some functions are actually named
23185 something starting with __ and the normal name is an alias. */
23186 #if defined (__stub_shmat) || defined (__stub___shmat)
23189 char (*f) () = shmat;
23203 rm -f conftest.
$ac_objext conftest
$ac_exeext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23205 (eval $ac_link) 2>&5
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); } &&
23209 { ac_try
='test -s conftest$ac_exeext'
23210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23211 (eval $ac_try) 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); }; }; then
23215 ac_cv_func_shmat
=yes
23217 echo "$as_me: failed program was:" >&5
23218 sed 's/^/| /' conftest.
$ac_ext >&5
23220 ac_cv_func_shmat
=no
23222 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23224 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23225 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23227 if test $ac_cv_func_shmat = no
; then
23228 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23229 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23230 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23231 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 ac_check_lib_save_LIBS
=$LIBS
23235 cat >conftest.
$ac_ext <<_ACEOF
23236 #line $LINENO "configure"
23239 cat confdefs.h
>>conftest.
$ac_ext
23240 cat >>conftest.
$ac_ext <<_ACEOF
23241 /* end confdefs.h. */
23243 /* Override any gcc2 internal prototype to avoid an error. */
23247 /* We use char because int might match the return type of a gcc2
23248 builtin and then its argument prototype would still apply. */
23258 rm -f conftest.
$ac_objext conftest
$ac_exeext
23259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23260 (eval $ac_link) 2>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } &&
23264 { ac_try
='test -s conftest$ac_exeext'
23265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23266 (eval $ac_try) 2>&5
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); }; }; then
23270 ac_cv_lib_ipc_shmat
=yes
23272 echo "$as_me: failed program was:" >&5
23273 sed 's/^/| /' conftest.
$ac_ext >&5
23275 ac_cv_lib_ipc_shmat
=no
23277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23278 LIBS
=$ac_check_lib_save_LIBS
23280 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23281 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23282 if test $ac_cv_lib_ipc_shmat = yes; then
23283 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23289 # Check for libraries that X11R6 Xt/Xaw programs need.
23290 ac_save_LDFLAGS
=$LDFLAGS
23291 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23292 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23293 # check for ICE first), but we must link in the order -lSM -lICE or
23294 # we get undefined symbols. So assume we have SM if we have ICE.
23295 # These have to be linked with before -lX11, unlike the other
23296 # libraries we check for below, so use a different variable.
23297 # John Interrante, Karl Berry
23298 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23299 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23300 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23301 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 ac_check_lib_save_LIBS
=$LIBS
23304 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23305 cat >conftest.
$ac_ext <<_ACEOF
23306 #line $LINENO "configure"
23309 cat confdefs.h
>>conftest.
$ac_ext
23310 cat >>conftest.
$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23313 /* Override any gcc2 internal prototype to avoid an error. */
23317 /* We use char because int might match the return type of a gcc2
23318 builtin and then its argument prototype would still apply. */
23319 char IceConnectionNumber ();
23323 IceConnectionNumber ();
23328 rm -f conftest.
$ac_objext conftest
$ac_exeext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23330 (eval $ac_link) 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try
='test -s conftest$ac_exeext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_lib_ICE_IceConnectionNumber
=yes
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.
$ac_ext >&5
23345 ac_cv_lib_ICE_IceConnectionNumber
=no
23347 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23348 LIBS
=$ac_check_lib_save_LIBS
23350 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23351 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23352 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23353 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23356 LDFLAGS
=$ac_save_LDFLAGS
23361 if test "$no_x" = "yes"; then
23362 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23363 echo "$as_me: error: X11 not found" >&2;}
23364 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23367 GUI_TK_LIBRARY
="$X_LIBS"
23368 TOOLKIT_INCLUDE
="$X_CFLAGS"
23369 AFMINSTALL
=afminstall
23370 COMPILED_X_PROGRAM
=0
23372 if test "$wxUSE_NANOX" = "yes"; then
23373 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23374 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23375 if test "x$MICROWIN" = x
; then
23376 echo "$as_me:$LINENO: result: not found" >&5
23377 echo "${ECHO_T}not found" >&6
23378 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23379 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23380 { (exit 1); exit 1; }; }
23382 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23383 echo "${ECHO_T}$MICROWIN" >&6
23384 cat >>confdefs.h
<<\_ACEOF
23385 #define wxUSE_NANOX 1
23391 if test "$wxUSE_UNICODE" = "yes"; then
23395 if test -z "$PKG_CONFIG"; then
23396 # Extract the first word of "pkg-config", so it can be a program name with args.
23397 set dummy pkg
-config; ac_word
=$2
23398 echo "$as_me:$LINENO: checking for $ac_word" >&5
23399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23400 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23401 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 case $PKG_CONFIG in
23405 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23409 for as_dir
in $PATH
23412 test -z "$as_dir" && as_dir
=.
23413 for ac_exec_ext
in '' $ac_executable_extensions; do
23414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23415 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23422 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23426 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23428 if test -n "$PKG_CONFIG"; then
23429 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23430 echo "${ECHO_T}$PKG_CONFIG" >&6
23432 echo "$as_me:$LINENO: result: no" >&5
23433 echo "${ECHO_T}no" >&6
23438 if test "$PKG_CONFIG" = "no" ; then
23439 echo "*** The pkg-config script could not be found. Make sure it is"
23440 echo "*** in your path, or set the PKG_CONFIG environment variable"
23441 echo "*** to the full path to pkg-config."
23442 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23444 PKG_CONFIG_MIN_VERSION
=0.9.0
23445 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23446 echo "$as_me:$LINENO: checking for pangox" >&5
23447 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23449 if $PKG_CONFIG --exists "pangox" ; then
23450 echo "$as_me:$LINENO: result: yes" >&5
23451 echo "${ECHO_T}yes" >&6
23454 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23455 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23456 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
23457 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23458 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23460 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23461 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23462 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
23463 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23464 echo "${ECHO_T}$PANGOX_LIBS" >&6
23468 ## If we have a custom action on failure, don't print errors, but
23469 ## do set a variable so people can do so.
23470 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
23477 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23478 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23482 if test $succeeded = yes; then
23484 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
23485 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
23489 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
23490 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
23491 { (exit 1); exit 1; }; }
23499 if test -z "$PKG_CONFIG"; then
23500 # Extract the first word of "pkg-config", so it can be a program name with args.
23501 set dummy pkg
-config; ac_word
=$2
23502 echo "$as_me:$LINENO: checking for $ac_word" >&5
23503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23504 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 case $PKG_CONFIG in
23509 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23513 for as_dir
in $PATH
23516 test -z "$as_dir" && as_dir
=.
23517 for ac_exec_ext
in '' $ac_executable_extensions; do
23518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23519 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23526 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23530 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23532 if test -n "$PKG_CONFIG"; then
23533 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23534 echo "${ECHO_T}$PKG_CONFIG" >&6
23536 echo "$as_me:$LINENO: result: no" >&5
23537 echo "${ECHO_T}no" >&6
23542 if test "$PKG_CONFIG" = "no" ; then
23543 echo "*** The pkg-config script could not be found. Make sure it is"
23544 echo "*** in your path, or set the PKG_CONFIG environment variable"
23545 echo "*** to the full path to pkg-config."
23546 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23548 PKG_CONFIG_MIN_VERSION
=0.9.0
23549 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23550 echo "$as_me:$LINENO: checking for pangoft2" >&5
23551 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23553 if $PKG_CONFIG --exists "pangoft2" ; then
23554 echo "$as_me:$LINENO: result: yes" >&5
23555 echo "${ECHO_T}yes" >&6
23558 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23559 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23560 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23561 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23562 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23564 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23565 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23566 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23567 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23568 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23572 ## If we have a custom action on failure, don't print errors, but
23573 ## do set a variable so people can do so.
23574 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23581 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23582 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23586 if test $succeeded = yes; then
23588 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23589 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23593 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23594 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23595 wxUSE_PRINTING_ARCHITECTURE
="no"
23603 if test -z "$PKG_CONFIG"; then
23604 # Extract the first word of "pkg-config", so it can be a program name with args.
23605 set dummy pkg
-config; ac_word
=$2
23606 echo "$as_me:$LINENO: checking for $ac_word" >&5
23607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23609 echo $ECHO_N "(cached) $ECHO_C" >&6
23611 case $PKG_CONFIG in
23613 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23617 for as_dir
in $PATH
23620 test -z "$as_dir" && as_dir
=.
23621 for ac_exec_ext
in '' $ac_executable_extensions; do
23622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23623 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23630 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23634 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23636 if test -n "$PKG_CONFIG"; then
23637 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23638 echo "${ECHO_T}$PKG_CONFIG" >&6
23640 echo "$as_me:$LINENO: result: no" >&5
23641 echo "${ECHO_T}no" >&6
23646 if test "$PKG_CONFIG" = "no" ; then
23647 echo "*** The pkg-config script could not be found. Make sure it is"
23648 echo "*** in your path, or set the PKG_CONFIG environment variable"
23649 echo "*** to the full path to pkg-config."
23650 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23652 PKG_CONFIG_MIN_VERSION
=0.9.0
23653 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23654 echo "$as_me:$LINENO: checking for pangoxft" >&5
23655 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23657 if $PKG_CONFIG --exists "pangoxft" ; then
23658 echo "$as_me:$LINENO: result: yes" >&5
23659 echo "${ECHO_T}yes" >&6
23662 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23663 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23664 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
23665 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23666 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23668 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23669 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23670 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23671 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23672 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23676 ## If we have a custom action on failure, don't print errors, but
23677 ## do set a variable so people can do so.
23678 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23685 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23686 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23690 if test $succeeded = yes; then
23692 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23693 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23697 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23698 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23705 wxUSE_UNIVERSAL
="yes"
23707 if test "$wxUSE_NANOX" = "yes"; then
23708 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23709 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"
23710 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23712 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
23715 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23720 if test "$wxUSE_MOTIF" = 1; then
23721 if test "$no_x" = yes; then
23722 # Not all programs may use this symbol, but it does not hurt to define it.
23724 cat >>confdefs.h
<<\_ACEOF
23725 #define X_DISPLAY_MISSING 1
23728 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23730 if test -n "$x_includes"; then
23731 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23734 # It would also be nice to do this for all -L options, not just this one.
23735 if test -n "$x_libraries"; then
23736 X_LIBS
="$X_LIBS -L$x_libraries"
23737 # For Solaris; some versions of Sun CC require a space after -R and
23738 # others require no space. Words are not sufficient . . . .
23739 case `(uname -sr) 2>/dev/null` in
23741 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23742 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23743 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23744 cat >conftest.
$ac_ext <<_ACEOF
23745 #line $LINENO "configure"
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23760 rm -f conftest.
$ac_objext conftest
$ac_exeext
23761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23762 (eval $ac_link) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); } &&
23766 { ac_try
='test -s conftest$ac_exeext'
23767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23768 (eval $ac_try) 2>&5
23770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23771 (exit $ac_status); }; }; then
23774 echo "$as_me: failed program was:" >&5
23775 sed 's/^/| /' conftest.
$ac_ext >&5
23779 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23780 if test $ac_R_nospace = yes; then
23781 echo "$as_me:$LINENO: result: no" >&5
23782 echo "${ECHO_T}no" >&6
23783 X_LIBS
="$X_LIBS -R$x_libraries"
23785 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23786 cat >conftest.
$ac_ext <<_ACEOF
23787 #line $LINENO "configure"
23790 cat confdefs.h
>>conftest.
$ac_ext
23791 cat >>conftest.
$ac_ext <<_ACEOF
23792 /* end confdefs.h. */
23802 rm -f conftest.
$ac_objext conftest
$ac_exeext
23803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23804 (eval $ac_link) 2>&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } &&
23808 { ac_try
='test -s conftest$ac_exeext'
23809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23810 (eval $ac_try) 2>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); }; }; then
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.
$ac_ext >&5
23821 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23822 if test $ac_R_space = yes; then
23823 echo "$as_me:$LINENO: result: yes" >&5
23824 echo "${ECHO_T}yes" >&6
23825 X_LIBS
="$X_LIBS -R $x_libraries"
23827 echo "$as_me:$LINENO: result: neither works" >&5
23828 echo "${ECHO_T}neither works" >&6
23831 LIBS
=$ac_xsave_LIBS
23835 # Check for system-dependent libraries X programs must link with.
23836 # Do this before checking for the system-independent R6 libraries
23837 # (-lICE), since we may need -lsocket or whatever for X linking.
23839 if test "$ISC" = yes; then
23840 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23842 # Martyn Johnson says this is needed for Ultrix, if the X
23843 # libraries were built with DECnet support. And Karl Berry says
23844 # the Alpha needs dnet_stub (dnet does not exist).
23845 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23846 cat >conftest.
$ac_ext <<_ACEOF
23847 #line $LINENO "configure"
23850 cat confdefs.h
>>conftest.
$ac_ext
23851 cat >>conftest.
$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23854 /* Override any gcc2 internal prototype to avoid an error. */
23858 /* We use char because int might match the return type of a gcc2
23859 builtin and then its argument prototype would still apply. */
23860 char XOpenDisplay ();
23869 rm -f conftest.
$ac_objext conftest
$ac_exeext
23870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23871 (eval $ac_link) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try
='test -s conftest$ac_exeext'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; }; then
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.
$ac_ext >&5
23886 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23887 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23888 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23889 echo $ECHO_N "(cached) $ECHO_C" >&6
23891 ac_check_lib_save_LIBS
=$LIBS
23892 LIBS
="-ldnet $LIBS"
23893 cat >conftest.
$ac_ext <<_ACEOF
23894 #line $LINENO "configure"
23897 cat confdefs.h
>>conftest.
$ac_ext
23898 cat >>conftest.
$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23901 /* Override any gcc2 internal prototype to avoid an error. */
23905 /* We use char because int might match the return type of a gcc2
23906 builtin and then its argument prototype would still apply. */
23916 rm -f conftest.
$ac_objext conftest
$ac_exeext
23917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23918 (eval $ac_link) 2>&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } &&
23922 { ac_try
='test -s conftest$ac_exeext'
23923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23924 (eval $ac_try) 2>&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); }; }; then
23928 ac_cv_lib_dnet_dnet_ntoa
=yes
23930 echo "$as_me: failed program was:" >&5
23931 sed 's/^/| /' conftest.
$ac_ext >&5
23933 ac_cv_lib_dnet_dnet_ntoa
=no
23935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23936 LIBS
=$ac_check_lib_save_LIBS
23938 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23939 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23940 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23941 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23944 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23945 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23946 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23947 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23948 echo $ECHO_N "(cached) $ECHO_C" >&6
23950 ac_check_lib_save_LIBS
=$LIBS
23951 LIBS
="-ldnet_stub $LIBS"
23952 cat >conftest.
$ac_ext <<_ACEOF
23953 #line $LINENO "configure"
23956 cat confdefs.h
>>conftest.
$ac_ext
23957 cat >>conftest.
$ac_ext <<_ACEOF
23958 /* end confdefs.h. */
23960 /* Override any gcc2 internal prototype to avoid an error. */
23964 /* We use char because int might match the return type of a gcc2
23965 builtin and then its argument prototype would still apply. */
23975 rm -f conftest.
$ac_objext conftest
$ac_exeext
23976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23977 (eval $ac_link) 2>&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); } &&
23981 { ac_try
='test -s conftest$ac_exeext'
23982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983 (eval $ac_try) 2>&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); }; }; then
23987 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23989 echo "$as_me: failed program was:" >&5
23990 sed 's/^/| /' conftest.
$ac_ext >&5
23992 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23994 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23995 LIBS
=$ac_check_lib_save_LIBS
23997 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23998 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23999 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24005 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24006 LIBS
="$ac_xsave_LIBS"
24008 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24009 # to get the SysV transport functions.
24010 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24012 # The nsl library prevents programs from opening the X display
24013 # on Irix 5.2, according to T.E. Dickey.
24014 # The functions gethostbyname, getservbyname, and inet_addr are
24015 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24016 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24017 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24018 if test "${ac_cv_func_gethostbyname+set}" = set; then
24019 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 cat >conftest.
$ac_ext <<_ACEOF
24022 #line $LINENO "configure"
24025 cat confdefs.h
>>conftest.
$ac_ext
24026 cat >>conftest.
$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 /* System header to define __stub macros and hopefully few prototypes,
24029 which can conflict with char gethostbyname (); below.
24030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24031 <limits.h> exists even on freestanding compilers. */
24033 # include <limits.h>
24035 # include <assert.h>
24037 /* Override any gcc2 internal prototype to avoid an error. */
24042 /* We use char because int might match the return type of a gcc2
24043 builtin and then its argument prototype would still apply. */
24044 char gethostbyname ();
24045 /* The GNU C library defines this for functions which it implements
24046 to always fail with ENOSYS. Some functions are actually named
24047 something starting with __ and the normal name is an alias. */
24048 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24051 char (*f) () = gethostbyname;
24060 return f != gethostbyname;
24065 rm -f conftest.
$ac_objext conftest
$ac_exeext
24066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24067 (eval $ac_link) 2>&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); } &&
24071 { ac_try
='test -s conftest$ac_exeext'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; }; then
24077 ac_cv_func_gethostbyname
=yes
24079 echo "$as_me: failed program was:" >&5
24080 sed 's/^/| /' conftest.
$ac_ext >&5
24082 ac_cv_func_gethostbyname
=no
24084 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24086 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24087 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24089 if test $ac_cv_func_gethostbyname = no
; then
24090 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24091 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24092 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 ac_check_lib_save_LIBS
=$LIBS
24097 cat >conftest.
$ac_ext <<_ACEOF
24098 #line $LINENO "configure"
24101 cat confdefs.h
>>conftest.
$ac_ext
24102 cat >>conftest.
$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24105 /* Override any gcc2 internal prototype to avoid an error. */
24109 /* We use char because int might match the return type of a gcc2
24110 builtin and then its argument prototype would still apply. */
24111 char gethostbyname ();
24120 rm -f conftest.
$ac_objext conftest
$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>&5
24124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 (exit $ac_status); } &&
24126 { ac_try
='test -s conftest$ac_exeext'
24127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128 (eval $ac_try) 2>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; }; then
24132 ac_cv_lib_nsl_gethostbyname
=yes
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.
$ac_ext >&5
24137 ac_cv_lib_nsl_gethostbyname
=no
24139 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24140 LIBS
=$ac_check_lib_save_LIBS
24142 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24143 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24144 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24145 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24148 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24149 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24150 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24151 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24152 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 ac_check_lib_save_LIBS
=$LIBS
24156 cat >conftest.
$ac_ext <<_ACEOF
24157 #line $LINENO "configure"
24160 cat confdefs.h
>>conftest.
$ac_ext
24161 cat >>conftest.
$ac_ext <<_ACEOF
24162 /* end confdefs.h. */
24164 /* Override any gcc2 internal prototype to avoid an error. */
24168 /* We use char because int might match the return type of a gcc2
24169 builtin and then its argument prototype would still apply. */
24170 char gethostbyname ();
24179 rm -f conftest.
$ac_objext conftest
$ac_exeext
24180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24181 (eval $ac_link) 2>&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try
='test -s conftest$ac_exeext'
24186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187 (eval $ac_try) 2>&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; }; then
24191 ac_cv_lib_bsd_gethostbyname
=yes
24193 echo "$as_me: failed program was:" >&5
24194 sed 's/^/| /' conftest.
$ac_ext >&5
24196 ac_cv_lib_bsd_gethostbyname
=no
24198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24199 LIBS
=$ac_check_lib_save_LIBS
24201 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24202 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24203 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24204 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24210 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24211 # socket/setsockopt and other routines are undefined under SCO ODT
24212 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24213 # on later versions), says Simon Leinen: it contains gethostby*
24214 # variants that don't use the name server (or something). -lsocket
24215 # must be given before -lnsl if both are needed. We assume that
24216 # if connect needs -lnsl, so does gethostbyname.
24217 echo "$as_me:$LINENO: checking for connect" >&5
24218 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24219 if test "${ac_cv_func_connect+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 cat >conftest.
$ac_ext <<_ACEOF
24223 #line $LINENO "configure"
24226 cat confdefs.h
>>conftest.
$ac_ext
24227 cat >>conftest.
$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229 /* System header to define __stub macros and hopefully few prototypes,
24230 which can conflict with char connect (); below.
24231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24232 <limits.h> exists even on freestanding compilers. */
24234 # include <limits.h>
24236 # include <assert.h>
24238 /* Override any gcc2 internal prototype to avoid an error. */
24243 /* We use char because int might match the return type of a gcc2
24244 builtin and then its argument prototype would still apply. */
24246 /* The GNU C library defines this for functions which it implements
24247 to always fail with ENOSYS. Some functions are actually named
24248 something starting with __ and the normal name is an alias. */
24249 #if defined (__stub_connect) || defined (__stub___connect)
24252 char (*f) () = connect;
24261 return f != connect;
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_func_connect
=yes
24280 echo "$as_me: failed program was:" >&5
24281 sed 's/^/| /' conftest.
$ac_ext >&5
24283 ac_cv_func_connect
=no
24285 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24287 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24288 echo "${ECHO_T}$ac_cv_func_connect" >&6
24290 if test $ac_cv_func_connect = no
; then
24291 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24292 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24293 if test "${ac_cv_lib_socket_connect+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24296 ac_check_lib_save_LIBS
=$LIBS
24297 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24298 cat >conftest.
$ac_ext <<_ACEOF
24299 #line $LINENO "configure"
24302 cat confdefs.h
>>conftest.
$ac_ext
24303 cat >>conftest.
$ac_ext <<_ACEOF
24304 /* end confdefs.h. */
24306 /* Override any gcc2 internal prototype to avoid an error. */
24310 /* We use char because int might match the return type of a gcc2
24311 builtin and then its argument prototype would still apply. */
24321 rm -f conftest.
$ac_objext conftest
$ac_exeext
24322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24323 (eval $ac_link) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } &&
24327 { ac_try
='test -s conftest$ac_exeext'
24328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24329 (eval $ac_try) 2>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); }; }; then
24333 ac_cv_lib_socket_connect
=yes
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.
$ac_ext >&5
24338 ac_cv_lib_socket_connect
=no
24340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24341 LIBS
=$ac_check_lib_save_LIBS
24343 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24344 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24345 if test $ac_cv_lib_socket_connect = yes; then
24346 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24351 # Guillermo Gomez says -lposix is necessary on A/UX.
24352 echo "$as_me:$LINENO: checking for remove" >&5
24353 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24354 if test "${ac_cv_func_remove+set}" = set; then
24355 echo $ECHO_N "(cached) $ECHO_C" >&6
24357 cat >conftest.
$ac_ext <<_ACEOF
24358 #line $LINENO "configure"
24361 cat confdefs.h
>>conftest.
$ac_ext
24362 cat >>conftest.
$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24364 /* System header to define __stub macros and hopefully few prototypes,
24365 which can conflict with char remove (); below.
24366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24367 <limits.h> exists even on freestanding compilers. */
24369 # include <limits.h>
24371 # include <assert.h>
24373 /* Override any gcc2 internal prototype to avoid an error. */
24378 /* We use char because int might match the return type of a gcc2
24379 builtin and then its argument prototype would still apply. */
24381 /* The GNU C library defines this for functions which it implements
24382 to always fail with ENOSYS. Some functions are actually named
24383 something starting with __ and the normal name is an alias. */
24384 #if defined (__stub_remove) || defined (__stub___remove)
24387 char (*f) () = remove;
24396 return f != remove;
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_func_remove
=yes
24415 echo "$as_me: failed program was:" >&5
24416 sed 's/^/| /' conftest.
$ac_ext >&5
24418 ac_cv_func_remove
=no
24420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24422 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24423 echo "${ECHO_T}$ac_cv_func_remove" >&6
24425 if test $ac_cv_func_remove = no
; then
24426 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24427 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24428 if test "${ac_cv_lib_posix_remove+set}" = set; then
24429 echo $ECHO_N "(cached) $ECHO_C" >&6
24431 ac_check_lib_save_LIBS
=$LIBS
24432 LIBS
="-lposix $LIBS"
24433 cat >conftest.
$ac_ext <<_ACEOF
24434 #line $LINENO "configure"
24437 cat confdefs.h
>>conftest.
$ac_ext
24438 cat >>conftest.
$ac_ext <<_ACEOF
24439 /* end confdefs.h. */
24441 /* Override any gcc2 internal prototype to avoid an error. */
24445 /* We use char because int might match the return type of a gcc2
24446 builtin and then its argument prototype would still apply. */
24456 rm -f conftest.
$ac_objext conftest
$ac_exeext
24457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24458 (eval $ac_link) 2>&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } &&
24462 { ac_try
='test -s conftest$ac_exeext'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; }; then
24468 ac_cv_lib_posix_remove
=yes
24470 echo "$as_me: failed program was:" >&5
24471 sed 's/^/| /' conftest.
$ac_ext >&5
24473 ac_cv_lib_posix_remove
=no
24475 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24476 LIBS
=$ac_check_lib_save_LIBS
24478 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24479 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24480 if test $ac_cv_lib_posix_remove = yes; then
24481 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24486 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24487 echo "$as_me:$LINENO: checking for shmat" >&5
24488 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24489 if test "${ac_cv_func_shmat+set}" = set; then
24490 echo $ECHO_N "(cached) $ECHO_C" >&6
24492 cat >conftest.
$ac_ext <<_ACEOF
24493 #line $LINENO "configure"
24496 cat confdefs.h
>>conftest.
$ac_ext
24497 cat >>conftest.
$ac_ext <<_ACEOF
24498 /* end confdefs.h. */
24499 /* System header to define __stub macros and hopefully few prototypes,
24500 which can conflict with char shmat (); below.
24501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24502 <limits.h> exists even on freestanding compilers. */
24504 # include <limits.h>
24506 # include <assert.h>
24508 /* Override any gcc2 internal prototype to avoid an error. */
24513 /* We use char because int might match the return type of a gcc2
24514 builtin and then its argument prototype would still apply. */
24516 /* The GNU C library defines this for functions which it implements
24517 to always fail with ENOSYS. Some functions are actually named
24518 something starting with __ and the normal name is an alias. */
24519 #if defined (__stub_shmat) || defined (__stub___shmat)
24522 char (*f) () = shmat;
24536 rm -f conftest.
$ac_objext conftest
$ac_exeext
24537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24538 (eval $ac_link) 2>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); } &&
24542 { ac_try
='test -s conftest$ac_exeext'
24543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544 (eval $ac_try) 2>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); }; }; then
24548 ac_cv_func_shmat
=yes
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.
$ac_ext >&5
24553 ac_cv_func_shmat
=no
24555 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24557 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24558 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24560 if test $ac_cv_func_shmat = no
; then
24561 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24562 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24563 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 ac_check_lib_save_LIBS
=$LIBS
24568 cat >conftest.
$ac_ext <<_ACEOF
24569 #line $LINENO "configure"
24572 cat confdefs.h
>>conftest.
$ac_ext
24573 cat >>conftest.
$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24576 /* Override any gcc2 internal prototype to avoid an error. */
24580 /* We use char because int might match the return type of a gcc2
24581 builtin and then its argument prototype would still apply. */
24591 rm -f conftest.
$ac_objext conftest
$ac_exeext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24593 (eval $ac_link) 2>&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try
='test -s conftest$ac_exeext'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_cv_lib_ipc_shmat
=yes
24605 echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.
$ac_ext >&5
24608 ac_cv_lib_ipc_shmat
=no
24610 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24611 LIBS
=$ac_check_lib_save_LIBS
24613 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24614 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24615 if test $ac_cv_lib_ipc_shmat = yes; then
24616 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24622 # Check for libraries that X11R6 Xt/Xaw programs need.
24623 ac_save_LDFLAGS
=$LDFLAGS
24624 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24625 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24626 # check for ICE first), but we must link in the order -lSM -lICE or
24627 # we get undefined symbols. So assume we have SM if we have ICE.
24628 # These have to be linked with before -lX11, unlike the other
24629 # libraries we check for below, so use a different variable.
24630 # John Interrante, Karl Berry
24631 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24632 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24633 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24634 echo $ECHO_N "(cached) $ECHO_C" >&6
24636 ac_check_lib_save_LIBS
=$LIBS
24637 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24638 cat >conftest.
$ac_ext <<_ACEOF
24639 #line $LINENO "configure"
24642 cat confdefs.h
>>conftest.
$ac_ext
24643 cat >>conftest.
$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24646 /* Override any gcc2 internal prototype to avoid an error. */
24650 /* We use char because int might match the return type of a gcc2
24651 builtin and then its argument prototype would still apply. */
24652 char IceConnectionNumber ();
24656 IceConnectionNumber ();
24661 rm -f conftest.
$ac_objext conftest
$ac_exeext
24662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24663 (eval $ac_link) 2>&5
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); } &&
24667 { ac_try
='test -s conftest$ac_exeext'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; }; then
24673 ac_cv_lib_ICE_IceConnectionNumber
=yes
24675 echo "$as_me: failed program was:" >&5
24676 sed 's/^/| /' conftest.
$ac_ext >&5
24678 ac_cv_lib_ICE_IceConnectionNumber
=no
24680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24681 LIBS
=$ac_check_lib_save_LIBS
24683 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24684 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24685 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24686 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24689 LDFLAGS
=$ac_save_LDFLAGS
24694 if test "$no_x" = "yes"; then
24695 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24696 echo "$as_me: error: X11 not found" >&2;}
24697 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24700 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24701 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24702 AFMINSTALL
=afminstall
24703 COMPILED_X_PROGRAM
=0
24705 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24706 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24709 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24711 if test -f "$ac_dir/Xm/Xm.h"; then
24712 ac_find_includes
=$ac_dir
24717 if test "$ac_find_includes" != "" ; then
24718 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24719 echo "${ECHO_T}found in $ac_find_includes" >&6
24721 if test "x$ac_find_includes" = "x/usr/include"; then
24722 ac_path_to_include
=""
24724 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24726 if test $result = 0; then
24727 ac_path_to_include
=""
24729 ac_path_to_include
=" -I$ac_find_includes"
24733 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24735 cat >conftest.
$ac_ext <<_ACEOF
24736 #line $LINENO "configure"
24739 cat confdefs.h
>>conftest.
$ac_ext
24740 cat >>conftest.
$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24750 version = xmUseVersion;
24756 rm -f conftest.
$ac_objext
24757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24758 (eval $ac_compile) 2>&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } &&
24762 { ac_try
='test -s conftest.$ac_objext'
24763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24764 (eval $ac_try) 2>&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); }; }; then
24769 echo "$as_me:$LINENO: result: found in default search path" >&5
24770 echo "${ECHO_T}found in default search path" >&6
24771 COMPILED_X_PROGRAM
=1
24774 echo "$as_me: failed program was:" >&5
24775 sed 's/^/| /' conftest.
$ac_ext >&5
24778 echo "$as_me:$LINENO: result: no" >&5
24779 echo "${ECHO_T}no" >&6
24780 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24781 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24782 { (exit 1); exit 1; }; }
24786 rm -f conftest.
$ac_objext conftest.
$ac_ext
24789 if test "$COMPILED_X_PROGRAM" = 0; then
24790 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24791 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24794 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24796 for ac_extension
in a so sl dylib
; do
24797 if test -f "$ac_dir/libXm.$ac_extension"; then
24798 ac_find_libraries
=$ac_dir
24804 if test "$ac_find_libraries" != "" ; then
24805 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24806 echo "${ECHO_T}found at $ac_find_libraries" >&6
24809 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24811 if test $result = 0; then
24814 ac_path_to_link
=" -L$ac_find_libraries"
24817 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24819 save_CFLAGS
=$CFLAGS
24820 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24822 cat >conftest.
$ac_ext <<_ACEOF
24823 #line $LINENO "configure"
24826 cat confdefs.h
>>conftest.
$ac_ext
24827 cat >>conftest.
$ac_ext <<_ACEOF
24828 /* end confdefs.h. */
24837 version = xmUseVersion;
24843 rm -f conftest.
$ac_objext
24844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24845 (eval $ac_compile) 2>&5
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); } &&
24849 { ac_try
='test -s conftest.$ac_objext'
24850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24851 (eval $ac_try) 2>&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); }; }; then
24856 echo "$as_me:$LINENO: result: found in default search path" >&5
24857 echo "${ECHO_T}found in default search path" >&6
24858 COMPILED_X_PROGRAM
=1
24861 echo "$as_me: failed program was:" >&5
24862 sed 's/^/| /' conftest.
$ac_ext >&5
24865 echo "$as_me:$LINENO: result: no" >&5
24866 echo "${ECHO_T}no" >&6
24867 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24868 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24869 { (exit 1); exit 1; }; }
24873 rm -f conftest.
$ac_objext conftest.
$ac_ext
24875 CFLAGS
=$save_CFLAGS
24879 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24880 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24884 for libp
in "" " -lXp"; do
24885 if test "$libs_found" = "0"; then
24886 for libsm_ice
in "" " -lSM -lICE"; do
24887 if test "$libs_found" = "0"; then
24889 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24890 save_CFLAGS
=$CFLAGS
24891 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24893 cat >conftest.
$ac_ext <<_ACEOF
24894 #line $LINENO "configure"
24897 cat confdefs.h
>>conftest.
$ac_ext
24898 cat >>conftest.
$ac_ext <<_ACEOF
24899 /* end confdefs.h. */
24902 #include <Xm/List.h>
24908 XmString string = NULL;
24911 XmListAddItem(w, string, position);
24917 rm -f conftest.
$ac_objext conftest
$ac_exeext
24918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24919 (eval $ac_link) 2>&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); } &&
24923 { ac_try
='test -s conftest$ac_exeext'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; }; then
24931 libsm_ice_link
="$libsm_ice"
24932 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24933 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.
$ac_ext >&5
24943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24946 CFLAGS
=$save_CFLAGS
24952 if test "$libs_found" = "0"; then
24953 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24954 echo "${ECHO_T}can't find the right libraries" >&6
24955 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24956 echo "$as_me: error: can't link a simple motif program" >&2;}
24957 { (exit 1); exit 1; }; }
24960 save_CFLAGS
=$CFLAGS
24961 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24962 echo "$as_me:$LINENO: checking for Motif 2" >&5
24963 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24964 cat >conftest.
$ac_ext <<_ACEOF
24965 #line $LINENO "configure"
24968 cat confdefs.h
>>conftest.
$ac_ext
24969 cat >>conftest.
$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24978 #if XmVersion < 2000
24979 #error "Not Motif 2"
24986 rm -f conftest.
$ac_objext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24988 (eval $ac_compile) 2>&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try
='test -s conftest.$ac_objext'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; }; then
24999 cat >>confdefs.h
<<\_ACEOF
25000 #define __WXMOTIF20__ 1
25003 echo "$as_me:$LINENO: result: found" >&5
25004 echo "${ECHO_T}found" >&6
25007 echo "$as_me: failed program was:" >&5
25008 sed 's/^/| /' conftest.
$ac_ext >&5
25011 cat >>confdefs.h
<<\_ACEOF
25012 #define __WXMOTIF20__ 0
25015 echo "$as_me:$LINENO: result: not found" >&5
25016 echo "${ECHO_T}not found" >&6
25019 rm -f conftest.
$ac_objext conftest.
$ac_ext
25020 CFLAGS
=$save_CFLAGS
25022 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25023 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25028 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25029 if test "$wxUSE_LIBXPM" = "sys"; then
25030 echo "$as_me:$LINENO: checking for Xpm library" >&5
25031 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25034 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25036 for ac_extension
in a so sl dylib
; do
25037 if test -f "$ac_dir/libXpm.$ac_extension"; then
25038 ac_find_libraries
=$ac_dir
25044 if test "$ac_find_libraries" != "" ; then
25046 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25048 if test $result = 0; then
25051 ac_path_to_link
=" -L$ac_find_libraries"
25054 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25055 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25056 echo "${ECHO_T}found at $ac_find_libraries" >&6
25058 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25059 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25060 if test "${wx_cv_x11_xpm_h+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25064 save_CFLAGS
=$CFLAGS
25065 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25067 cat >conftest.
$ac_ext <<_ACEOF
25068 #line $LINENO "configure"
25071 cat confdefs.h
>>conftest.
$ac_ext
25072 cat >>conftest.
$ac_ext <<_ACEOF
25073 /* end confdefs.h. */
25075 #include <X11/xpm.h>
25082 version = XpmLibraryVersion();
25088 rm -f conftest.
$ac_objext
25089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25090 (eval $ac_compile) 2>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } &&
25094 { ac_try
='test -s conftest.$ac_objext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25100 wx_cv_x11_xpm_h
=yes
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.
$ac_ext >&5
25108 rm -f conftest.
$ac_objext conftest.
$ac_ext
25110 CFLAGS
=$save_CFLAGS
25114 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25115 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25117 if test $wx_cv_x11_xpm_h = "yes"; then
25118 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
25119 cat >>confdefs.h
<<\_ACEOF
25120 #define wxHAVE_LIB_XPM 1
25124 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25125 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25131 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25132 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25133 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25134 echo $ECHO_N "(cached) $ECHO_C" >&6
25136 ac_check_lib_save_LIBS
=$LIBS
25137 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25138 cat >conftest.
$ac_ext <<_ACEOF
25139 #line $LINENO "configure"
25142 cat confdefs.h
>>conftest.
$ac_ext
25143 cat >>conftest.
$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25146 /* Override any gcc2 internal prototype to avoid an error. */
25150 /* We use char because int might match the return type of a gcc2
25151 builtin and then its argument prototype would still apply. */
25152 char XShapeQueryExtension ();
25156 XShapeQueryExtension ();
25161 rm -f conftest.
$ac_objext conftest
$ac_exeext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25163 (eval $ac_link) 2>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } &&
25167 { ac_try
='test -s conftest$ac_exeext'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 ac_cv_lib_Xext_XShapeQueryExtension
=yes
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.
$ac_ext >&5
25178 ac_cv_lib_Xext_XShapeQueryExtension
=no
25180 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25181 LIBS
=$ac_check_lib_save_LIBS
25183 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25184 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25185 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25187 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
25193 if test "$wxHAVE_XEXT_LIB" = 1; then
25194 save_CFLAGS
="$CFLAGS"
25195 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25197 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25198 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25199 cat >conftest.
$ac_ext <<_ACEOF
25200 #line $LINENO "configure"
25203 cat confdefs.h
>>conftest.
$ac_ext
25204 cat >>conftest.
$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25207 #include <X11/Xlib.h>
25208 #include <X11/extensions/shape.h>
25214 int dummy1, dummy2;
25215 XShapeQueryExtension((Display*)NULL,
25216 (int*)NULL, (int*)NULL);
25222 rm -f conftest.
$ac_objext
25223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25224 (eval $ac_compile) 2>&5
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); } &&
25228 { ac_try
='test -s conftest.$ac_objext'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; }; then
25235 cat >>confdefs.h
<<\_ACEOF
25236 #define HAVE_XSHAPE 1
25239 echo "$as_me:$LINENO: result: found" >&5
25240 echo "${ECHO_T}found" >&6
25243 echo "$as_me: failed program was:" >&5
25244 sed 's/^/| /' conftest.
$ac_ext >&5
25247 echo "$as_me:$LINENO: result: not found" >&5
25248 echo "${ECHO_T}not found" >&6
25251 rm -f conftest.
$ac_objext conftest.
$ac_ext
25252 CFLAGS
="$save_CFLAGS"
25257 if test "$wxUSE_MAC" = 1; then
25258 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
25259 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
25260 if test "$GCC" = yes; then
25261 echo "$as_me:$LINENO: result: gcc" >&5
25262 echo "${ECHO_T}gcc" >&6
25263 CPPFLAGS_PASCAL
="-fpascal-strings"
25264 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
25265 echo "$as_me:$LINENO: result: xlc" >&5
25266 echo "${ECHO_T}xlc" >&6
25267 CPPFLAGS_PASCAL
="-qmacpstr"
25269 echo "$as_me:$LINENO: result: none" >&5
25270 echo "${ECHO_T}none" >&6
25273 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
25275 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
25278 WXBASEPORT
="_carbon"
25281 if test "$wxUSE_COCOA" = 1; then
25282 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
25287 if test "$wxUSE_PM" = 1; then
25292 if test "$TOOLKIT" = "PM" ; then
25295 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
25298 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
25300 if test "$wxUSE_UNIVERSAL" = "yes"; then
25301 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
25303 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
25304 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
25306 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
25307 if test "$wxUSE_X11" = 1; then
25308 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
25310 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
25312 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
25315 ALL_OBJECTS
="\$(GUIOBJS)"
25316 ALL_SOURCES
="\$(ALL_SOURCES)"
25317 ALL_HEADERS
="\$(ALL_HEADERS)"
25320 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
25322 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
25323 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
25326 if test "$wxUSE_HTML" = "yes"; then
25327 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
25330 if test "$wxUSE_LIBJPEG" = "builtin" ; then
25331 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
25333 if test "$wxUSE_LIBTIFF" = "builtin" ; then
25334 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
25336 if test "$wxUSE_LIBPNG" = "builtin" ; then
25337 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
25340 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
25341 DISTDIR
="wx\$(TOOLKIT)"
25347 if test "$USE_WIN32" = 1 ; then
25348 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
25349 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
25353 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
25354 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
25357 ALL_SOURCES
="\$(ALL_SOURCES)"
25358 ALL_HEADERS
="\$(ALL_HEADERS)"
25360 PORT_FILES
="\${top_srcdir}/src/files.lst"
25362 GUIDIST
="BASE_DIST"
25372 if test "$TOOLKIT" != "MSW" ; then
25374 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
25376 if test "${ac_cv_header_sql_h+set}" = set; then
25377 echo "$as_me:$LINENO: checking for sql.h" >&5
25378 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25379 if test "${ac_cv_header_sql_h+set}" = set; then
25380 echo $ECHO_N "(cached) $ECHO_C" >&6
25382 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25383 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25385 # Is the header compilable?
25386 echo "$as_me:$LINENO: checking sql.h usability" >&5
25387 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25388 cat >conftest.
$ac_ext <<_ACEOF
25389 #line $LINENO "configure"
25392 cat confdefs.h
>>conftest.
$ac_ext
25393 cat >>conftest.
$ac_ext <<_ACEOF
25394 /* end confdefs.h. */
25395 $ac_includes_default
25398 rm -f conftest.
$ac_objext
25399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25400 (eval $ac_compile) 2>&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } &&
25404 { ac_try
='test -s conftest.$ac_objext'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; }; then
25410 ac_header_compiler
=yes
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.
$ac_ext >&5
25415 ac_header_compiler
=no
25417 rm -f conftest.
$ac_objext conftest.
$ac_ext
25418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25419 echo "${ECHO_T}$ac_header_compiler" >&6
25421 # Is the header present?
25422 echo "$as_me:$LINENO: checking sql.h presence" >&5
25423 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25424 cat >conftest.
$ac_ext <<_ACEOF
25425 #line $LINENO "configure"
25428 cat confdefs.h
>>conftest.
$ac_ext
25429 cat >>conftest.
$ac_ext <<_ACEOF
25430 /* end confdefs.h. */
25433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25436 grep -v '^ *+' conftest.er1
>conftest.err
25438 cat conftest.err
>&5
25439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25440 (exit $ac_status); } >/dev
/null
; then
25441 if test -s conftest.err
; then
25442 ac_cpp_err
=$ac_c_preproc_warn_flag
25449 if test -z "$ac_cpp_err"; then
25450 ac_header_preproc
=yes
25452 echo "$as_me: failed program was:" >&5
25453 sed 's/^/| /' conftest.
$ac_ext >&5
25455 ac_header_preproc
=no
25457 rm -f conftest.err conftest.
$ac_ext
25458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25459 echo "${ECHO_T}$ac_header_preproc" >&6
25461 # So? What about this header?
25462 case $ac_header_compiler:$ac_header_preproc in
25464 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
25465 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25466 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25467 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25470 ## ------------------------------------ ##
25471 ## Report this to bug-autoconf@gnu.org. ##
25472 ## ------------------------------------ ##
25475 sed "s/^/$as_me: WARNING: /" >&2
25478 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
25479 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
25480 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
25481 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
25482 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25483 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25486 ## ------------------------------------ ##
25487 ## Report this to bug-autoconf@gnu.org. ##
25488 ## ------------------------------------ ##
25491 sed "s/^/$as_me: WARNING: /" >&2
25494 echo "$as_me:$LINENO: checking for sql.h" >&5
25495 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25496 if test "${ac_cv_header_sql_h+set}" = set; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 ac_cv_header_sql_h
=$ac_header_preproc
25501 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25502 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25505 if test $ac_cv_header_sql_h = yes; then
25510 if test "x$found_sql_h" = "x1" ; then
25511 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
25512 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
25513 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
25514 echo $ECHO_N "(cached) $ECHO_C" >&6
25516 ac_check_lib_save_LIBS
=$LIBS
25517 LIBS
="-liodbc $LIBS"
25518 cat >conftest.
$ac_ext <<_ACEOF
25519 #line $LINENO "configure"
25522 cat confdefs.h
>>conftest.
$ac_ext
25523 cat >>conftest.
$ac_ext <<_ACEOF
25524 /* end confdefs.h. */
25526 /* Override any gcc2 internal prototype to avoid an error. */
25530 /* We use char because int might match the return type of a gcc2
25531 builtin and then its argument prototype would still apply. */
25532 char SQLAllocEnv ();
25541 rm -f conftest.
$ac_objext conftest
$ac_exeext
25542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25543 (eval $ac_link) 2>&5
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); } &&
25547 { ac_try
='test -s conftest$ac_exeext'
25548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25549 (eval $ac_try) 2>&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); }; }; then
25553 ac_cv_lib_iodbc_SQLAllocEnv
=yes
25555 echo "$as_me: failed program was:" >&5
25556 sed 's/^/| /' conftest.
$ac_ext >&5
25558 ac_cv_lib_iodbc_SQLAllocEnv
=no
25560 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25561 LIBS
=$ac_check_lib_save_LIBS
25563 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
25564 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
25565 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
25566 ODBC_LINK
=" -liodbc"
25569 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
25570 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
25571 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
25572 echo $ECHO_N "(cached) $ECHO_C" >&6
25574 ac_check_lib_save_LIBS
=$LIBS
25575 LIBS
="-lunixodbc $LIBS"
25576 cat >conftest.
$ac_ext <<_ACEOF
25577 #line $LINENO "configure"
25580 cat confdefs.h
>>conftest.
$ac_ext
25581 cat >>conftest.
$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25584 /* Override any gcc2 internal prototype to avoid an error. */
25588 /* We use char because int might match the return type of a gcc2
25589 builtin and then its argument prototype would still apply. */
25590 char SQLAllocEnv ();
25599 rm -f conftest.
$ac_objext conftest
$ac_exeext
25600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25601 (eval $ac_link) 2>&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } &&
25605 { ac_try
='test -s conftest$ac_exeext'
25606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25607 (eval $ac_try) 2>&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); }; }; then
25611 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.
$ac_ext >&5
25616 ac_cv_lib_unixodbc_SQLAllocEnv
=no
25618 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25619 LIBS
=$ac_check_lib_save_LIBS
25621 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
25622 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
25623 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
25624 ODBC_LINK
=" -lunixodbc"
25627 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
25628 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
25629 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 ac_check_lib_save_LIBS
=$LIBS
25633 LIBS
="-lodbc $LIBS"
25634 cat >conftest.
$ac_ext <<_ACEOF
25635 #line $LINENO "configure"
25638 cat confdefs.h
>>conftest.
$ac_ext
25639 cat >>conftest.
$ac_ext <<_ACEOF
25640 /* end confdefs.h. */
25642 /* Override any gcc2 internal prototype to avoid an error. */
25646 /* We use char because int might match the return type of a gcc2
25647 builtin and then its argument prototype would still apply. */
25648 char SQLAllocEnv ();
25657 rm -f conftest.
$ac_objext conftest
$ac_exeext
25658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25659 (eval $ac_link) 2>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } &&
25663 { ac_try
='test -s conftest$ac_exeext'
25664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665 (eval $ac_try) 2>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; }; then
25669 ac_cv_lib_odbc_SQLAllocEnv
=yes
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.
$ac_ext >&5
25674 ac_cv_lib_odbc_SQLAllocEnv
=no
25676 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25677 LIBS
=$ac_check_lib_save_LIBS
25679 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25680 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25681 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25682 ODBC_LINK
=" -lodbc"
25692 if test "x$ODBC_LINK" = "x" ; then
25693 if test "$wxUSE_ODBC" = "sys" ; then
25694 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25695 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25696 { (exit 1); exit 1; }; }
25698 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25699 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25706 if test "$wxUSE_ODBC" != "no" ; then
25707 cat >>confdefs.h
<<\_ACEOF
25708 #define wxUSE_ODBC 1
25711 if test "$wxUSE_ODBC" = "builtin" ; then
25712 cat >>confdefs.h
<<\_ACEOF
25713 #define wxUSE_BUILTIN_IODBC 1
25717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25719 WXODBCFLAG
="-D_IODBC_"
25723 if test "$wxUSE_REGEX" = "builtin" ; then
25724 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25726 if test "$wxUSE_ZLIB" = "builtin" ; then
25727 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25731 if test "$wxUSE_DISPLAY" = "yes"; then
25732 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25733 echo "$as_me:$LINENO: checking for Xinerama" >&5
25734 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25737 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25739 for ac_extension
in a so sl dylib
; do
25740 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25741 ac_find_libraries
=$ac_dir
25747 if test "$ac_find_libraries" != "" ; then
25749 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25751 if test $result = 0; then
25754 ac_path_to_link
=" -L$ac_find_libraries"
25757 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25758 LDFLAGS
="$LDFLAGS $ac_path_to_link"
25760 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
25761 echo "$as_me:$LINENO: result: yes" >&5
25762 echo "${ECHO_T}yes" >&6
25764 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25765 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25768 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25770 for ac_extension
in a so sl dylib
; do
25771 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25772 ac_find_libraries
=$ac_dir
25778 if test "$ac_find_libraries" != "" ; then
25779 echo "$as_me:$LINENO: result: yes" >&5
25780 echo "${ECHO_T}yes" >&6
25782 for ac_header
in X
11/extensions
/xf86vmode.h
25784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25785 echo "$as_me:$LINENO: checking for $ac_header" >&5
25786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25790 cat >conftest.
$ac_ext <<_ACEOF
25791 #line $LINENO "configure"
25794 cat confdefs.h
>>conftest.
$ac_ext
25795 cat >>conftest.
$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25798 #if HAVE_X11_XLIB_H
25799 #include <X11/Xlib.h>
25803 #include <$ac_header>
25805 rm -f conftest.
$ac_objext
25806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25807 (eval $ac_compile) 2>&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } &&
25811 { ac_try
='test -s conftest.$ac_objext'
25812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813 (eval $ac_try) 2>&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); }; }; then
25817 eval "$as_ac_Header=yes"
25819 echo "$as_me: failed program was:" >&5
25820 sed 's/^/| /' conftest.
$ac_ext >&5
25822 eval "$as_ac_Header=no"
25824 rm -f conftest.
$ac_objext conftest.
$ac_ext
25826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25829 cat >>confdefs.h
<<_ACEOF
25830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25833 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
25840 echo "$as_me:$LINENO: result: no" >&5
25841 echo "${ECHO_T}no" >&6
25845 echo "$as_me:$LINENO: result: no" >&5
25846 echo "${ECHO_T}no" >&6
25847 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
25848 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
25851 elif test "$wxUSE_MSW" = 1; then
25854 for ac_header
in multimon.h ddraw.h
25856 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25858 echo "$as_me:$LINENO: checking for $ac_header" >&5
25859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25861 echo $ECHO_N "(cached) $ECHO_C" >&6
25863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25866 # Is the header compilable?
25867 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25869 cat >conftest.
$ac_ext <<_ACEOF
25870 #line $LINENO "configure"
25873 cat confdefs.h
>>conftest.
$ac_ext
25874 cat >>conftest.
$ac_ext <<_ACEOF
25875 /* end confdefs.h. */
25876 $ac_includes_default
25877 #include <$ac_header>
25879 rm -f conftest.
$ac_objext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25881 (eval $ac_compile) 2>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } &&
25885 { ac_try
='test -s conftest.$ac_objext'
25886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25887 (eval $ac_try) 2>&5
25889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890 (exit $ac_status); }; }; then
25891 ac_header_compiler
=yes
25893 echo "$as_me: failed program was:" >&5
25894 sed 's/^/| /' conftest.
$ac_ext >&5
25896 ac_header_compiler
=no
25898 rm -f conftest.
$ac_objext conftest.
$ac_ext
25899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25900 echo "${ECHO_T}$ac_header_compiler" >&6
25902 # Is the header present?
25903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25905 cat >conftest.
$ac_ext <<_ACEOF
25906 #line $LINENO "configure"
25909 cat confdefs.h
>>conftest.
$ac_ext
25910 cat >>conftest.
$ac_ext <<_ACEOF
25911 /* end confdefs.h. */
25912 #include <$ac_header>
25914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25917 grep -v '^ *+' conftest.er1
>conftest.err
25919 cat conftest.err
>&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); } >/dev
/null
; then
25922 if test -s conftest.err
; then
25923 ac_cpp_err
=$ac_c_preproc_warn_flag
25930 if test -z "$ac_cpp_err"; then
25931 ac_header_preproc
=yes
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.
$ac_ext >&5
25936 ac_header_preproc
=no
25938 rm -f conftest.err conftest.
$ac_ext
25939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25940 echo "${ECHO_T}$ac_header_preproc" >&6
25942 # So? What about this header?
25943 case $ac_header_compiler:$ac_header_preproc in
25945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25951 ## ------------------------------------ ##
25952 ## Report this to bug-autoconf@gnu.org. ##
25953 ## ------------------------------------ ##
25956 sed "s/^/$as_me: WARNING: /" >&2
25959 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25960 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25961 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25962 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25967 ## ------------------------------------ ##
25968 ## Report this to bug-autoconf@gnu.org. ##
25969 ## ------------------------------------ ##
25972 sed "s/^/$as_me: WARNING: /" >&2
25975 echo "$as_me:$LINENO: checking for $ac_header" >&5
25976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25978 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 eval "$as_ac_Header=$ac_header_preproc"
25982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25987 cat >>confdefs.h
<<_ACEOF
25988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25994 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
25995 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
26006 if test "$wxUSE_OPENGL" = "yes"; then
26007 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26008 OPENGL_LIBS
="-framework OpenGL -framework AGL"
26009 elif test "$wxUSE_MSW" = 1; then
26010 OPENGL_LIBS
="-lopengl32 -lglu32"
26015 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26017 if test -f "$ac_dir/GL/gl.h"; then
26018 ac_find_includes
=$ac_dir
26023 if test "$ac_find_includes" != "" ; then
26024 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26025 echo "${ECHO_T}found in $ac_find_includes" >&6
26027 if test "x$ac_find_includes" = "x/usr/include"; then
26028 ac_path_to_include
=""
26030 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
26032 if test $result = 0; then
26033 ac_path_to_include
=""
26035 ac_path_to_include
=" -I$ac_find_includes"
26039 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
26042 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26043 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26044 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26045 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26049 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26051 # Is the header compilable?
26052 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26053 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26054 cat >conftest.
$ac_ext <<_ACEOF
26055 #line $LINENO "configure"
26058 cat confdefs.h
>>conftest.
$ac_ext
26059 cat >>conftest.
$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26061 $ac_includes_default
26064 rm -f conftest.
$ac_objext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26066 (eval $ac_compile) 2>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); } &&
26070 { ac_try
='test -s conftest.$ac_objext'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; }; then
26076 ac_header_compiler
=yes
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.
$ac_ext >&5
26081 ac_header_compiler
=no
26083 rm -f conftest.
$ac_objext conftest.
$ac_ext
26084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26085 echo "${ECHO_T}$ac_header_compiler" >&6
26087 # Is the header present?
26088 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26089 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26090 cat >conftest.
$ac_ext <<_ACEOF
26091 #line $LINENO "configure"
26094 cat confdefs.h
>>conftest.
$ac_ext
26095 cat >>conftest.
$ac_ext <<_ACEOF
26096 /* end confdefs.h. */
26099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26102 grep -v '^ *+' conftest.er1
>conftest.err
26104 cat conftest.err
>&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } >/dev
/null
; then
26107 if test -s conftest.err
; then
26108 ac_cpp_err
=$ac_c_preproc_warn_flag
26115 if test -z "$ac_cpp_err"; then
26116 ac_header_preproc
=yes
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.
$ac_ext >&5
26121 ac_header_preproc
=no
26123 rm -f conftest.err conftest.
$ac_ext
26124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26125 echo "${ECHO_T}$ac_header_preproc" >&6
26127 # So? What about this header?
26128 case $ac_header_compiler:$ac_header_preproc in
26130 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26131 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26132 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26133 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26136 ## ------------------------------------ ##
26137 ## Report this to bug-autoconf@gnu.org. ##
26138 ## ------------------------------------ ##
26141 sed "s/^/$as_me: WARNING: /" >&2
26144 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26145 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26146 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26147 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26148 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26149 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26152 ## ------------------------------------ ##
26153 ## Report this to bug-autoconf@gnu.org. ##
26154 ## ------------------------------------ ##
26157 sed "s/^/$as_me: WARNING: /" >&2
26160 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26161 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26162 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26163 echo $ECHO_N "(cached) $ECHO_C" >&6
26165 ac_cv_header_GL_gl_h
=$ac_header_preproc
26167 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26168 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26171 if test $ac_cv_header_GL_gl_h = yes; then
26175 echo "$as_me:$LINENO: checking for -lGL" >&5
26176 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26179 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26181 for ac_extension
in a so sl dylib
; do
26182 if test -f "$ac_dir/libGL.$ac_extension"; then
26183 ac_find_libraries
=$ac_dir
26189 if test "$ac_find_libraries" != "" ; then
26191 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26193 if test $result = 0; then
26196 ac_path_to_link
=" -L$ac_find_libraries"
26199 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26200 LDFLAGS_GL
="$ac_path_to_link"
26205 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26207 for ac_extension
in a so sl dylib
; do
26208 if test -f "$ac_dir/libGLU.$ac_extension"; then
26209 ac_find_libraries
=$ac_dir
26215 if test "$ac_find_libraries" != "" ; then
26217 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26219 if test $result = 0; then
26222 ac_path_to_link
=" -L$ac_find_libraries"
26225 if test "$ac_path_to_link" != " -L/usr/lib" -a \
26226 "$ac_path_to_link" != "$LDFLAGS_GL"; then
26227 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
26231 OPENGL_LIBS
="-lGL -lGLU"
26232 echo "$as_me:$LINENO: result: yes" >&5
26233 echo "${ECHO_T}yes" >&6
26237 if test "$found_gl" != 1; then
26238 echo "$as_me:$LINENO: result: no" >&5
26239 echo "${ECHO_T}no" >&6
26240 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
26241 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
26244 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26246 for ac_extension
in a so sl dylib
; do
26247 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
26248 ac_find_libraries
=$ac_dir
26254 if test "$ac_find_libraries" != "" ; then
26256 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26258 if test $result = 0; then
26261 ac_path_to_link
=" -L$ac_find_libraries"
26264 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
26265 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
26266 echo "$as_me:$LINENO: result: yes" >&5
26267 echo "${ECHO_T}yes" >&6
26269 echo "$as_me:$LINENO: result: no" >&5
26270 echo "${ECHO_T}no" >&6
26278 if test "x$OPENGL_LIBS" = "x"; then
26279 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
26280 echo "$as_me: error: OpenGL libraries not available" >&2;}
26281 { (exit 1); exit 1; }; }
26285 if test "$wxUSE_OPENGL" = "yes"; then
26287 cat >>confdefs.h
<<\_ACEOF
26288 #define wxUSE_OPENGL 1
26291 cat >>confdefs.h
<<\_ACEOF
26292 #define wxUSE_GLCANVAS 1
26295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
26299 if test -z "$TOOLKIT_VPATH" ; then
26300 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
26303 if test -n "$TOOLKIT" ; then
26304 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
26308 lib_unicode_suffix
=
26309 if test "$wxUSE_UNICODE" = "yes"; then
26310 lib_unicode_suffix
=u
26316 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
26322 if test "$wxUSE_DEBUG_INFO" = "yes"; then
26326 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
26328 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
26329 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
26331 if test "$cross_compiling" = "yes"; then
26332 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
26333 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
26334 HOST_SUFFIX
="-${host_alias}"
26337 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
26338 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
26339 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
26340 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26342 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26343 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26345 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26346 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26347 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26348 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26351 *-*-cygwin* | *-*-mingw32* )
26352 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26353 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26358 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26359 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26361 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26362 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26363 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26364 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26366 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26367 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26368 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26373 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
26374 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
26376 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
26377 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
26379 if test "$wxUSE_OPENGL" = "yes"; then
26380 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26381 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26386 if test "$wxUSE_SHARED" = "yes"; then
26390 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26391 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26397 if test "$wxUSE_SHARED" = "yes"; then
26401 found_versioning
=no
26404 if test $found_versioning = no
; then
26405 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26406 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26407 if test "${wx_cv_version_script+set}" = set; then
26408 echo $ECHO_N "(cached) $ECHO_C" >&6
26411 echo "VER_1 { *; };" >conftest.sym
26412 echo "int main() { return 0; }" >conftest.cpp
26415 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26416 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418 (eval $ac_try) 2>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; } ; then
26422 if test -s conftest.stderr
; then
26423 wx_cv_version_script
=no
26425 wx_cv_version_script
=yes
26428 wx_cv_version_script
=no
26430 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26433 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26434 echo "${ECHO_T}$wx_cv_version_script" >&6
26435 if test $wx_cv_version_script = yes ; then
26436 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
26442 *-*-linux* | *-*-gnu* )
26443 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
26447 if test "$GCC" = yes ; then
26448 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
26450 saveLdflags
="$LDFLAGS"
26451 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
26452 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
26453 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
26454 cat >conftest.
$ac_ext <<_ACEOF
26455 #line $LINENO "configure"
26458 cat confdefs.h
>>conftest.
$ac_ext
26459 cat >>conftest.
$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26470 rm -f conftest.
$ac_objext conftest
$ac_exeext
26471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26472 (eval $ac_link) 2>&5
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); } &&
26476 { ac_try
='test -s conftest$ac_exeext'
26477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26478 (eval $ac_try) 2>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); }; }; then
26483 echo "$as_me:$LINENO: result: yes" >&5
26484 echo "${ECHO_T}yes" >&6
26485 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.
$ac_ext >&5
26492 echo "$as_me:$LINENO: result: no" >&5
26493 echo "${ECHO_T}no" >&6
26494 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
26495 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
26496 LDFLAGS
="$saveLdflags -Wl,-R,/"
26497 cat >conftest.
$ac_ext <<_ACEOF
26498 #line $LINENO "configure"
26501 cat confdefs.h
>>conftest.
$ac_ext
26502 cat >>conftest.
$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26513 rm -f conftest.
$ac_objext conftest
$ac_exeext
26514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26515 (eval $ac_link) 2>&5
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); } &&
26519 { ac_try
='test -s conftest$ac_exeext'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; }; then
26526 echo "$as_me:$LINENO: result: yes" >&5
26527 echo "${ECHO_T}yes" >&6
26528 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.
$ac_ext >&5
26534 echo "$as_me:$LINENO: result: no" >&5
26535 echo "${ECHO_T}no" >&6
26538 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26541 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26542 LDFLAGS
="$saveLdflags"
26544 SHARED_LD
="${CXX} -G -o"
26546 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
26550 powerpc
-*-darwin* )
26551 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
26552 cat <<EOF >change-install-names
26554 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
26555 inst_cmd="install_name_tool "
26556 for i in \${libnames} ; do
26557 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
26561 chmod +x change
-install-names
26564 *-*-cygwin* | *-*-mingw32* )
26565 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
26570 if test "x$WX_TARGET_LIBRARY" = "x"; then
26571 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
26572 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
26575 WX_TARGET_LIBRARY_TYPE
="so"
26576 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
26579 if test "$wxUSE_SHARED" = "no"; then
26581 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
26582 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
26585 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
26586 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
26589 if test "$wxUSE_OPENGL" = "yes"; then
26590 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
26591 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
26593 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
26596 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
26597 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
26599 WX_TARGET_LIBRARY_TYPE
="a"
26600 INSTALL_LIBRARY
='$(INSTALL_DATA)'
26607 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
26608 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
26609 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
26610 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
26612 # Extract the first word of "Rez", so it can be a program name with args.
26613 set dummy Rez
; ac_word
=$2
26614 echo "$as_me:$LINENO: checking for $ac_word" >&5
26615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26616 if test "${ac_cv_prog_RESCOMP+set}" = set; then
26617 echo $ECHO_N "(cached) $ECHO_C" >&6
26619 if test -n "$RESCOMP"; then
26620 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
26622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26623 for as_dir
in $PATH
26626 test -z "$as_dir" && as_dir
=.
26627 for ac_exec_ext
in '' $ac_executable_extensions; do
26628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26629 ac_cv_prog_RESCOMP
="Rez"
26630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26636 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
26639 RESCOMP
=$ac_cv_prog_RESCOMP
26640 if test -n "$RESCOMP"; then
26641 echo "$as_me:$LINENO: result: $RESCOMP" >&5
26642 echo "${ECHO_T}$RESCOMP" >&6
26644 echo "$as_me:$LINENO: result: no" >&5
26645 echo "${ECHO_T}no" >&6
26648 # Extract the first word of "DeRez", so it can be a program name with args.
26649 set dummy DeRez
; ac_word
=$2
26650 echo "$as_me:$LINENO: checking for $ac_word" >&5
26651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26652 if test "${ac_cv_prog_DEREZ+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 if test -n "$DEREZ"; then
26656 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
26658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26659 for as_dir
in $PATH
26662 test -z "$as_dir" && as_dir
=.
26663 for ac_exec_ext
in '' $ac_executable_extensions; do
26664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26665 ac_cv_prog_DEREZ
="DeRez"
26666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26672 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
26675 DEREZ
=$ac_cv_prog_DEREZ
26676 if test -n "$DEREZ"; then
26677 echo "$as_me:$LINENO: result: $DEREZ" >&5
26678 echo "${ECHO_T}$DEREZ" >&6
26680 echo "$as_me:$LINENO: result: no" >&5
26681 echo "${ECHO_T}no" >&6
26684 # Extract the first word of "SetFile", so it can be a program name with args.
26685 set dummy SetFile
; ac_word
=$2
26686 echo "$as_me:$LINENO: checking for $ac_word" >&5
26687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26688 if test "${ac_cv_prog_SETFILE+set}" = set; then
26689 echo $ECHO_N "(cached) $ECHO_C" >&6
26691 if test -n "$SETFILE"; then
26692 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
26694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26695 for as_dir
in $PATH
26698 test -z "$as_dir" && as_dir
=.
26699 for ac_exec_ext
in '' $ac_executable_extensions; do
26700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26701 ac_cv_prog_SETFILE
="SetFile"
26702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26708 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
26711 SETFILE
=$ac_cv_prog_SETFILE
26712 if test -n "$SETFILE"; then
26713 echo "$as_me:$LINENO: result: $SETFILE" >&5
26714 echo "${ECHO_T}$SETFILE" >&6
26716 echo "$as_me:$LINENO: result: no" >&5
26717 echo "${ECHO_T}no" >&6
26721 MACSETFILE
="\$(SETFILE)"
26723 if test "$wxUSE_MAC" = 1; then
26724 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
26726 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26728 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
26729 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26735 if test "$wxUSE_PM" = 1; then
26736 MACRESCOMP
="emxbind -ep"
26744 echo "$as_me:$LINENO: checking for mode_t" >&5
26745 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
26746 if test "${ac_cv_type_mode_t+set}" = set; then
26747 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 cat >conftest.
$ac_ext <<_ACEOF
26750 #line $LINENO "configure"
26753 cat confdefs.h
>>conftest.
$ac_ext
26754 cat >>conftest.
$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26756 $ac_includes_default
26762 if (sizeof (mode_t))
26768 rm -f conftest.
$ac_objext
26769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26770 (eval $ac_compile) 2>&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } &&
26774 { ac_try
='test -s conftest.$ac_objext'
26775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26776 (eval $ac_try) 2>&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); }; }; then
26780 ac_cv_type_mode_t
=yes
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.
$ac_ext >&5
26785 ac_cv_type_mode_t
=no
26787 rm -f conftest.
$ac_objext conftest.
$ac_ext
26789 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
26790 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
26791 if test $ac_cv_type_mode_t = yes; then
26795 cat >>confdefs.h
<<_ACEOF
26801 echo "$as_me:$LINENO: checking for off_t" >&5
26802 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
26803 if test "${ac_cv_type_off_t+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 cat >conftest.
$ac_ext <<_ACEOF
26807 #line $LINENO "configure"
26810 cat confdefs.h
>>conftest.
$ac_ext
26811 cat >>conftest.
$ac_ext <<_ACEOF
26812 /* end confdefs.h. */
26813 $ac_includes_default
26819 if (sizeof (off_t))
26825 rm -f conftest.
$ac_objext
26826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26827 (eval $ac_compile) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); } &&
26831 { ac_try
='test -s conftest.$ac_objext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26837 ac_cv_type_off_t
=yes
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.
$ac_ext >&5
26842 ac_cv_type_off_t
=no
26844 rm -f conftest.
$ac_objext conftest.
$ac_ext
26846 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26847 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26848 if test $ac_cv_type_off_t = yes; then
26852 cat >>confdefs.h
<<_ACEOF
26858 echo "$as_me:$LINENO: checking for pid_t" >&5
26859 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26860 if test "${ac_cv_type_pid_t+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 cat >conftest.
$ac_ext <<_ACEOF
26864 #line $LINENO "configure"
26867 cat confdefs.h
>>conftest.
$ac_ext
26868 cat >>conftest.
$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26870 $ac_includes_default
26876 if (sizeof (pid_t))
26882 rm -f conftest.
$ac_objext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26884 (eval $ac_compile) 2>&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try
='test -s conftest.$ac_objext'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; }; then
26894 ac_cv_type_pid_t
=yes
26896 echo "$as_me: failed program was:" >&5
26897 sed 's/^/| /' conftest.
$ac_ext >&5
26899 ac_cv_type_pid_t
=no
26901 rm -f conftest.
$ac_objext conftest.
$ac_ext
26903 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26904 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26905 if test $ac_cv_type_pid_t = yes; then
26909 cat >>confdefs.h
<<_ACEOF
26915 echo "$as_me:$LINENO: checking for size_t" >&5
26916 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26917 if test "${ac_cv_type_size_t+set}" = set; then
26918 echo $ECHO_N "(cached) $ECHO_C" >&6
26920 cat >conftest.
$ac_ext <<_ACEOF
26921 #line $LINENO "configure"
26924 cat confdefs.h
>>conftest.
$ac_ext
26925 cat >>conftest.
$ac_ext <<_ACEOF
26926 /* end confdefs.h. */
26927 $ac_includes_default
26933 if (sizeof (size_t))
26939 rm -f conftest.
$ac_objext
26940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26941 (eval $ac_compile) 2>&5
26943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944 (exit $ac_status); } &&
26945 { ac_try
='test -s conftest.$ac_objext'
26946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26947 (eval $ac_try) 2>&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); }; }; then
26951 ac_cv_type_size_t
=yes
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.
$ac_ext >&5
26956 ac_cv_type_size_t
=no
26958 rm -f conftest.
$ac_objext conftest.
$ac_ext
26960 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26961 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26962 if test $ac_cv_type_size_t = yes; then
26966 cat >>confdefs.h
<<_ACEOF
26967 #define size_t unsigned
26972 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26973 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26974 if test "${ac_cv_type_uid_t+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 cat >conftest.
$ac_ext <<_ACEOF
26978 #line $LINENO "configure"
26981 cat confdefs.h
>>conftest.
$ac_ext
26982 cat >>conftest.
$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 #include <sys/types.h>
26987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26988 $EGREP "uid_t" >/dev
/null
2>&1; then
26989 ac_cv_type_uid_t
=yes
26991 ac_cv_type_uid_t
=no
26996 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26997 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26998 if test $ac_cv_type_uid_t = no
; then
27000 cat >>confdefs.h
<<\_ACEOF
27005 cat >>confdefs.h
<<\_ACEOF
27015 ac_cpp
='$CXXCPP $CPPFLAGS'
27016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27020 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27021 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27022 if test "${wx_cv_size_t_is_uint+set}" = set; then
27023 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 cat >conftest.
$ac_ext <<_ACEOF
27027 #line $LINENO "configure"
27030 cat confdefs.h
>>conftest.
$ac_ext
27031 cat >>conftest.
$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27033 #include <stddef.h>
27040 struct Foo { void foo(size_t); void foo(unsigned int); };
27048 rm -f conftest.
$ac_objext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27050 (eval $ac_compile) 2>&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } &&
27054 { ac_try
='test -s conftest.$ac_objext'
27055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27056 (eval $ac_try) 2>&5
27058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059 (exit $ac_status); }; }; then
27060 wx_cv_size_t_is_uint
=no
27062 echo "$as_me: failed program was:" >&5
27063 sed 's/^/| /' conftest.
$ac_ext >&5
27065 wx_cv_size_t_is_uint
=yes
27068 rm -f conftest.
$ac_objext conftest.
$ac_ext
27072 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27073 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27075 if test "$wx_cv_size_t_is_uint" = "yes"; then
27076 cat >>confdefs.h
<<\_ACEOF
27077 #define wxSIZE_T_IS_UINT 1
27081 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27082 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27083 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 cat >conftest.
$ac_ext <<_ACEOF
27087 #line $LINENO "configure"
27090 cat confdefs.h
>>conftest.
$ac_ext
27091 cat >>conftest.
$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #include <stddef.h>
27100 struct Foo { void foo(size_t); void foo(unsigned long); };
27108 rm -f conftest.
$ac_objext
27109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27110 (eval $ac_compile) 2>&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); } &&
27114 { ac_try
='test -s conftest.$ac_objext'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; }; then
27120 wx_cv_size_t_is_ulong
=no
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.
$ac_ext >&5
27125 wx_cv_size_t_is_ulong
=yes
27128 rm -f conftest.
$ac_objext conftest.
$ac_ext
27131 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27132 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27134 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27135 cat >>confdefs.h
<<\_ACEOF
27136 #define wxSIZE_T_IS_ULONG 1
27143 ac_cpp
='$CPP $CPPFLAGS'
27144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27150 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
27151 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
27152 if test "${wx_cv_struct_pw_gecos+set}" = set; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27156 cat >conftest.
$ac_ext <<_ACEOF
27157 #line $LINENO "configure"
27160 cat confdefs.h
>>conftest.
$ac_ext
27161 cat >>conftest.
$ac_ext <<_ACEOF
27162 /* end confdefs.h. */
27176 rm -f conftest.
$ac_objext
27177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27178 (eval $ac_compile) 2>&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } &&
27182 { ac_try
='test -s conftest.$ac_objext'
27183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27184 (eval $ac_try) 2>&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); }; }; then
27189 wx_cv_struct_pw_gecos
=yes
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.
$ac_ext >&5
27196 wx_cv_struct_pw_gecos
=no
27200 rm -f conftest.
$ac_objext conftest.
$ac_ext
27204 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
27205 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
27207 if test "$wx_cv_struct_pw_gecos" = "yes"; then
27208 cat >>confdefs.h
<<\_ACEOF
27209 #define HAVE_PW_GECOS 1
27215 if test "$wx_cv_sizeof_wchar_t" != "0"; then
27216 cat >>confdefs.h
<<\_ACEOF
27217 #define wxUSE_WCHAR_T 1
27224 for ac_func
in wcslen
27226 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27227 echo "$as_me:$LINENO: checking for $ac_func" >&5
27228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27229 if eval "test \"\${$as_ac_var+set}\" = set"; then
27230 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 cat >conftest.
$ac_ext <<_ACEOF
27233 #line $LINENO "configure"
27236 cat confdefs.h
>>conftest.
$ac_ext
27237 cat >>conftest.
$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27239 /* System header to define __stub macros and hopefully few prototypes,
27240 which can conflict with char $ac_func (); below.
27241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27242 <limits.h> exists even on freestanding compilers. */
27244 # include <limits.h>
27246 # include <assert.h>
27248 /* Override any gcc2 internal prototype to avoid an error. */
27253 /* We use char because int might match the return type of a gcc2
27254 builtin and then its argument prototype would still apply. */
27256 /* The GNU C library defines this for functions which it implements
27257 to always fail with ENOSYS. Some functions are actually named
27258 something starting with __ and the normal name is an alias. */
27259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27262 char (*f) () = $ac_func;
27271 return f != $ac_func;
27276 rm -f conftest.
$ac_objext conftest
$ac_exeext
27277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27278 (eval $ac_link) 2>&5
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); } &&
27282 { ac_try
='test -s conftest$ac_exeext'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; }; then
27288 eval "$as_ac_var=yes"
27290 echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.
$ac_ext >&5
27293 eval "$as_ac_var=no"
27295 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27299 if test `eval echo '${'$as_ac_var'}'` = yes; then
27300 cat >>confdefs.h
<<_ACEOF
27301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27308 if test "$WCSLEN_FOUND" = 0; then
27309 if test "$TOOLKIT" = "MSW"; then
27310 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
27311 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
27312 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
27313 echo $ECHO_N "(cached) $ECHO_C" >&6
27315 ac_check_lib_save_LIBS
=$LIBS
27316 LIBS
="-lmsvcrt $LIBS"
27317 cat >conftest.
$ac_ext <<_ACEOF
27318 #line $LINENO "configure"
27321 cat confdefs.h
>>conftest.
$ac_ext
27322 cat >>conftest.
$ac_ext <<_ACEOF
27323 /* end confdefs.h. */
27325 /* Override any gcc2 internal prototype to avoid an error. */
27329 /* We use char because int might match the return type of a gcc2
27330 builtin and then its argument prototype would still apply. */
27340 rm -f conftest.
$ac_objext conftest
$ac_exeext
27341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27342 (eval $ac_link) 2>&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } &&
27346 { ac_try
='test -s conftest$ac_exeext'
27347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27348 (eval $ac_try) 2>&5
27350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351 (exit $ac_status); }; }; then
27352 ac_cv_lib_msvcrt_wcslen
=yes
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.
$ac_ext >&5
27357 ac_cv_lib_msvcrt_wcslen
=no
27359 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27360 LIBS
=$ac_check_lib_save_LIBS
27362 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
27363 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
27364 if test $ac_cv_lib_msvcrt_wcslen = yes; then
27369 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
27370 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
27371 if test "${ac_cv_lib_w_wcslen+set}" = set; then
27372 echo $ECHO_N "(cached) $ECHO_C" >&6
27374 ac_check_lib_save_LIBS
=$LIBS
27376 cat >conftest.
$ac_ext <<_ACEOF
27377 #line $LINENO "configure"
27380 cat confdefs.h
>>conftest.
$ac_ext
27381 cat >>conftest.
$ac_ext <<_ACEOF
27382 /* end confdefs.h. */
27384 /* Override any gcc2 internal prototype to avoid an error. */
27388 /* We use char because int might match the return type of a gcc2
27389 builtin and then its argument prototype would still apply. */
27399 rm -f conftest.
$ac_objext conftest
$ac_exeext
27400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27401 (eval $ac_link) 2>&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); } &&
27405 { ac_try
='test -s conftest$ac_exeext'
27406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407 (eval $ac_try) 2>&5
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); }; }; then
27411 ac_cv_lib_w_wcslen
=yes
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.
$ac_ext >&5
27416 ac_cv_lib_w_wcslen
=no
27418 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27419 LIBS
=$ac_check_lib_save_LIBS
27421 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
27422 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
27423 if test $ac_cv_lib_w_wcslen = yes; then
27433 if test "$WCSLEN_FOUND" = 1; then
27434 cat >>confdefs.h
<<\_ACEOF
27435 #define HAVE_WCSLEN 1
27440 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
27441 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
27445 for ac_func
in wcsrtombs
27447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27448 echo "$as_me:$LINENO: checking for $ac_func" >&5
27449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27450 if eval "test \"\${$as_ac_var+set}\" = set"; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27453 cat >conftest.
$ac_ext <<_ACEOF
27454 #line $LINENO "configure"
27457 cat confdefs.h
>>conftest.
$ac_ext
27458 cat >>conftest.
$ac_ext <<_ACEOF
27459 /* end confdefs.h. */
27460 /* System header to define __stub macros and hopefully few prototypes,
27461 which can conflict with char $ac_func (); below.
27462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27463 <limits.h> exists even on freestanding compilers. */
27465 # include <limits.h>
27467 # include <assert.h>
27469 /* Override any gcc2 internal prototype to avoid an error. */
27474 /* We use char because int might match the return type of a gcc2
27475 builtin and then its argument prototype would still apply. */
27477 /* The GNU C library defines this for functions which it implements
27478 to always fail with ENOSYS. Some functions are actually named
27479 something starting with __ and the normal name is an alias. */
27480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27483 char (*f) () = $ac_func;
27492 return f != $ac_func;
27497 rm -f conftest.
$ac_objext conftest
$ac_exeext
27498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27499 (eval $ac_link) 2>&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } &&
27503 { ac_try
='test -s conftest$ac_exeext'
27504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27505 (eval $ac_try) 2>&5
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); }; }; then
27509 eval "$as_ac_var=yes"
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.
$ac_ext >&5
27514 eval "$as_ac_var=no"
27516 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27520 if test `eval echo '${'$as_ac_var'}'` = yes; then
27521 cat >>confdefs.h
<<_ACEOF
27522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27529 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
27530 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
27536 ac_cpp
='$CXXCPP $CPPFLAGS'
27537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27543 for ac_func
in vsnprintf
27545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27546 echo "$as_me:$LINENO: checking for $ac_func" >&5
27547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27548 if eval "test \"\${$as_ac_var+set}\" = set"; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27551 cat >conftest.
$ac_ext <<_ACEOF
27552 #line $LINENO "configure"
27555 cat confdefs.h
>>conftest.
$ac_ext
27556 cat >>conftest.
$ac_ext <<_ACEOF
27557 /* end confdefs.h. */
27558 /* System header to define __stub macros and hopefully few prototypes,
27559 which can conflict with char $ac_func (); below.
27560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27561 <limits.h> exists even on freestanding compilers. */
27563 # include <limits.h>
27565 # include <assert.h>
27567 /* Override any gcc2 internal prototype to avoid an error. */
27572 /* We use char because int might match the return type of a gcc2
27573 builtin and then its argument prototype would still apply. */
27575 /* The GNU C library defines this for functions which it implements
27576 to always fail with ENOSYS. Some functions are actually named
27577 something starting with __ and the normal name is an alias. */
27578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27581 char (*f) () = $ac_func;
27590 return f != $ac_func;
27595 rm -f conftest.
$ac_objext conftest
$ac_exeext
27596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27597 (eval $ac_link) 2>&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } &&
27601 { ac_try
='test -s conftest$ac_exeext'
27602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603 (eval $ac_try) 2>&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); }; }; then
27607 eval "$as_ac_var=yes"
27609 echo "$as_me: failed program was:" >&5
27610 sed 's/^/| /' conftest.
$ac_ext >&5
27612 eval "$as_ac_var=no"
27614 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27618 if test `eval echo '${'$as_ac_var'}'` = yes; then
27619 cat >>confdefs.h
<<_ACEOF
27620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27627 if test "$ac_cv_func_vsnprintf" = "yes"; then
27628 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
27629 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
27630 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
27631 echo $ECHO_N "(cached) $ECHO_C" >&6
27634 cat >conftest.
$ac_ext <<_ACEOF
27635 #line $LINENO "configure"
27638 cat confdefs.h
>>conftest.
$ac_ext
27639 cat >>conftest.
$ac_ext <<_ACEOF
27640 /* end confdefs.h. */
27643 #include <stdarg.h>
27651 vsnprintf(buf, 10u, "%s", ap);
27657 rm -f conftest.
$ac_objext
27658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27659 (eval $ac_compile) 2>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } &&
27663 { ac_try
='test -s conftest.$ac_objext'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; }; then
27669 wx_cv_func_vsnprintf_decl
=yes
27671 echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.
$ac_ext >&5
27674 wx_cv_func_vsnprintf_decl
=no
27677 rm -f conftest.
$ac_objext conftest.
$ac_ext
27681 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
27682 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
27684 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
27685 cat >>confdefs.h
<<\_ACEOF
27686 #define HAVE_VSNPRINTF_DECL 1
27692 if test "$wxUSE_UNICODE" = yes; then
27696 for ac_func
in fputwc wprintf vswprintf
27698 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27699 echo "$as_me:$LINENO: checking for $ac_func" >&5
27700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27701 if eval "test \"\${$as_ac_var+set}\" = set"; then
27702 echo $ECHO_N "(cached) $ECHO_C" >&6
27704 cat >conftest.
$ac_ext <<_ACEOF
27705 #line $LINENO "configure"
27708 cat confdefs.h
>>conftest.
$ac_ext
27709 cat >>conftest.
$ac_ext <<_ACEOF
27710 /* end confdefs.h. */
27711 /* System header to define __stub macros and hopefully few prototypes,
27712 which can conflict with char $ac_func (); below.
27713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27714 <limits.h> exists even on freestanding compilers. */
27716 # include <limits.h>
27718 # include <assert.h>
27720 /* Override any gcc2 internal prototype to avoid an error. */
27725 /* We use char because int might match the return type of a gcc2
27726 builtin and then its argument prototype would still apply. */
27728 /* The GNU C library defines this for functions which it implements
27729 to always fail with ENOSYS. Some functions are actually named
27730 something starting with __ and the normal name is an alias. */
27731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27734 char (*f) () = $ac_func;
27743 return f != $ac_func;
27748 rm -f conftest.
$ac_objext conftest
$ac_exeext
27749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27750 (eval $ac_link) 2>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); } &&
27754 { ac_try
='test -s conftest$ac_exeext'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; }; then
27760 eval "$as_ac_var=yes"
27762 echo "$as_me: failed program was:" >&5
27763 sed 's/^/| /' conftest.
$ac_ext >&5
27765 eval "$as_ac_var=no"
27767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27771 if test `eval echo '${'$as_ac_var'}'` = yes; then
27772 cat >>confdefs.h
<<_ACEOF
27773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27780 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
27781 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
27782 cat >conftest.
$ac_ext <<_ACEOF
27783 #line $LINENO "configure"
27786 cat confdefs.h
>>conftest.
$ac_ext
27787 cat >>conftest.
$ac_ext <<_ACEOF
27788 /* end confdefs.h. */
27798 rm -f conftest.
$ac_objext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27800 (eval $ac_compile) 2>&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } &&
27804 { ac_try
='test -s conftest.$ac_objext'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; }; then
27810 echo "$as_me:$LINENO: result: yes" >&5
27811 echo "${ECHO_T}yes" >&6
27812 cat >>confdefs.h
<<\_ACEOF
27813 #define HAVE__VSNWPRINTF 1
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.
$ac_ext >&5
27820 echo "$as_me:$LINENO: result: no" >&5
27821 echo "${ECHO_T}no" >&6
27823 rm -f conftest.
$ac_objext conftest.
$ac_ext;
27827 ac_cpp
='$CPP $CPPFLAGS'
27828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27835 if test "$TOOLKIT" != "MSW"; then
27841 ac_cpp
='$CXXCPP $CPPFLAGS'
27842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27849 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27850 if test "${with_libiconv_prefix+set}" = set; then
27851 withval
="$with_libiconv_prefix"
27853 for dir
in `echo "$withval" | tr : ' '`; do
27854 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27855 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27860 echo "$as_me:$LINENO: checking for iconv" >&5
27861 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27862 if test "${am_cv_func_iconv+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27866 am_cv_func_iconv
="no, consider installing GNU libiconv"
27868 cat >conftest.
$ac_ext <<_ACEOF
27869 #line $LINENO "configure"
27872 cat confdefs.h
>>conftest.
$ac_ext
27873 cat >>conftest.
$ac_ext <<_ACEOF
27874 /* end confdefs.h. */
27875 #include <stdlib.h>
27880 iconv_t cd = iconv_open("","");
27881 iconv(cd,NULL,NULL,NULL,NULL);
27887 rm -f conftest.
$ac_objext conftest
$ac_exeext
27888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27889 (eval $ac_link) 2>&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); } &&
27893 { ac_try
='test -s conftest$ac_exeext'
27894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27895 (eval $ac_try) 2>&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); }; }; then
27899 am_cv_func_iconv
=yes
27901 echo "$as_me: failed program was:" >&5
27902 sed 's/^/| /' conftest.
$ac_ext >&5
27905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27906 if test "$am_cv_func_iconv" != yes; then
27907 am_save_LIBS
="$LIBS"
27908 LIBS
="$LIBS -liconv"
27909 cat >conftest.
$ac_ext <<_ACEOF
27910 #line $LINENO "configure"
27913 cat confdefs.h
>>conftest.
$ac_ext
27914 cat >>conftest.
$ac_ext <<_ACEOF
27915 /* end confdefs.h. */
27916 #include <stdlib.h>
27921 iconv_t cd = iconv_open("","");
27922 iconv(cd,NULL,NULL,NULL,NULL);
27928 rm -f conftest.
$ac_objext conftest
$ac_exeext
27929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27930 (eval $ac_link) 2>&5
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); } &&
27934 { ac_try
='test -s conftest$ac_exeext'
27935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27936 (eval $ac_try) 2>&5
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); }; }; then
27940 am_cv_lib_iconv
=yes
27941 am_cv_func_iconv
=yes
27943 echo "$as_me: failed program was:" >&5
27944 sed 's/^/| /' conftest.
$ac_ext >&5
27947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27948 LIBS
="$am_save_LIBS"
27952 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27953 echo "${ECHO_T}$am_cv_func_iconv" >&6
27954 if test "$am_cv_func_iconv" = yes; then
27956 cat >>confdefs.h
<<\_ACEOF
27957 #define HAVE_ICONV 1
27960 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27961 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27962 if test "${wx_cv_func_iconv_const+set}" = set; then
27963 echo $ECHO_N "(cached) $ECHO_C" >&6
27965 cat >conftest.
$ac_ext <<_ACEOF
27966 #line $LINENO "configure"
27969 cat confdefs.h
>>conftest.
$ac_ext
27970 cat >>conftest.
$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27973 #include <stdlib.h>
27979 #if defined(__STDC__) || defined(__cplusplus)
27980 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27993 rm -f conftest.
$ac_objext
27994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27995 (eval $ac_compile) 2>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); } &&
27999 { ac_try
='test -s conftest.$ac_objext'
28000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28001 (eval $ac_try) 2>&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); }; }; then
28005 wx_cv_func_iconv_const
="no"
28007 echo "$as_me: failed program was:" >&5
28008 sed 's/^/| /' conftest.
$ac_ext >&5
28010 wx_cv_func_iconv_const
="yes"
28013 rm -f conftest.
$ac_objext conftest.
$ac_ext
28016 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
28017 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
28020 if test "x$wx_cv_func_iconv_const" = "xyes"; then
28021 iconv_const
="const"
28025 cat >>confdefs.h
<<_ACEOF
28026 #define ICONV_CONST $iconv_const
28031 if test "$am_cv_lib_iconv" = yes; then
28036 LIBS
="$LIBICONV $LIBS"
28038 ac_cpp
='$CPP $CPPFLAGS'
28039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28044 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
28046 for ac_func
in sigaction
28048 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28049 echo "$as_me:$LINENO: checking for $ac_func" >&5
28050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28051 if eval "test \"\${$as_ac_var+set}\" = set"; then
28052 echo $ECHO_N "(cached) $ECHO_C" >&6
28054 cat >conftest.
$ac_ext <<_ACEOF
28055 #line $LINENO "configure"
28058 cat confdefs.h
>>conftest.
$ac_ext
28059 cat >>conftest.
$ac_ext <<_ACEOF
28060 /* end confdefs.h. */
28061 /* System header to define __stub macros and hopefully few prototypes,
28062 which can conflict with char $ac_func (); below.
28063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28064 <limits.h> exists even on freestanding compilers. */
28066 # include <limits.h>
28068 # include <assert.h>
28070 /* Override any gcc2 internal prototype to avoid an error. */
28075 /* We use char because int might match the return type of a gcc2
28076 builtin and then its argument prototype would still apply. */
28078 /* The GNU C library defines this for functions which it implements
28079 to always fail with ENOSYS. Some functions are actually named
28080 something starting with __ and the normal name is an alias. */
28081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28084 char (*f) () = $ac_func;
28093 return f != $ac_func;
28098 rm -f conftest.
$ac_objext conftest
$ac_exeext
28099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28100 (eval $ac_link) 2>&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); } &&
28104 { ac_try
='test -s conftest$ac_exeext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28110 eval "$as_ac_var=yes"
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.
$ac_ext >&5
28115 eval "$as_ac_var=no"
28117 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28121 if test `eval echo '${'$as_ac_var'}'` = yes; then
28122 cat >>confdefs.h
<<_ACEOF
28123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28130 if test "$ac_cv_func_sigaction" = "no"; then
28131 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
28132 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
28133 wxUSE_ON_FATAL_EXCEPTION
=no
28136 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
28140 ac_cpp
='$CXXCPP $CPPFLAGS'
28141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28146 echo "$as_me:$LINENO: checking for sa_handler type" >&5
28147 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
28148 if test "${wx_cv_type_sa_handler+set}" = set; then
28149 echo $ECHO_N "(cached) $ECHO_C" >&6
28152 cat >conftest.
$ac_ext <<_ACEOF
28153 #line $LINENO "configure"
28156 cat confdefs.h
>>conftest.
$ac_ext
28157 cat >>conftest.
$ac_ext <<_ACEOF
28158 /* end confdefs.h. */
28159 #include <signal.h>
28164 extern void testSigHandler(int);
28166 struct sigaction sa;
28167 sa.sa_handler = testSigHandler;
28173 rm -f conftest.
$ac_objext
28174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28175 (eval $ac_compile) 2>&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); } &&
28179 { ac_try
='test -s conftest.$ac_objext'
28180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28181 (eval $ac_try) 2>&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; }; then
28186 wx_cv_type_sa_handler
=int
28189 echo "$as_me: failed program was:" >&5
28190 sed 's/^/| /' conftest.
$ac_ext >&5
28193 wx_cv_type_sa_handler
=void
28196 rm -f conftest.
$ac_objext conftest.
$ac_ext
28199 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
28200 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
28203 ac_cpp
='$CPP $CPPFLAGS'
28204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28209 cat >>confdefs.h
<<_ACEOF
28210 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
28218 for ac_func
in mkstemp mktemp
28220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28221 echo "$as_me:$LINENO: checking for $ac_func" >&5
28222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28223 if eval "test \"\${$as_ac_var+set}\" = set"; then
28224 echo $ECHO_N "(cached) $ECHO_C" >&6
28226 cat >conftest.
$ac_ext <<_ACEOF
28227 #line $LINENO "configure"
28230 cat confdefs.h
>>conftest.
$ac_ext
28231 cat >>conftest.
$ac_ext <<_ACEOF
28232 /* end confdefs.h. */
28233 /* System header to define __stub macros and hopefully few prototypes,
28234 which can conflict with char $ac_func (); below.
28235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28236 <limits.h> exists even on freestanding compilers. */
28238 # include <limits.h>
28240 # include <assert.h>
28242 /* Override any gcc2 internal prototype to avoid an error. */
28247 /* We use char because int might match the return type of a gcc2
28248 builtin and then its argument prototype would still apply. */
28250 /* The GNU C library defines this for functions which it implements
28251 to always fail with ENOSYS. Some functions are actually named
28252 something starting with __ and the normal name is an alias. */
28253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28256 char (*f) () = $ac_func;
28265 return f != $ac_func;
28270 rm -f conftest.
$ac_objext conftest
$ac_exeext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try
='test -s conftest$ac_exeext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 eval "$as_ac_var=yes"
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.
$ac_ext >&5
28287 eval "$as_ac_var=no"
28289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28293 if test `eval echo '${'$as_ac_var'}'` = yes; then
28294 cat >>confdefs.h
<<_ACEOF
28295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28302 echo "$as_me:$LINENO: checking for statfs" >&5
28303 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
28304 if test "${wx_cv_func_statfs+set}" = set; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28307 cat >conftest.
$ac_ext <<_ACEOF
28308 #line $LINENO "configure"
28311 cat confdefs.h
>>conftest.
$ac_ext
28312 cat >>conftest.
$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28315 #if defined(__BSD__)
28316 #include <sys/param.h>
28317 #include <sys/mount.h>
28319 #include <sys/vfs.h>
28337 rm -f conftest.
$ac_objext
28338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28339 (eval $ac_compile) 2>&5
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); } &&
28343 { ac_try
='test -s conftest.$ac_objext'
28344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28345 (eval $ac_try) 2>&5
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); }; }; then
28350 wx_cv_func_statfs
=yes
28353 echo "$as_me: failed program was:" >&5
28354 sed 's/^/| /' conftest.
$ac_ext >&5
28357 wx_cv_func_statfs
=no
28361 rm -f conftest.
$ac_objext conftest.
$ac_ext
28364 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
28365 echo "${ECHO_T}$wx_cv_func_statfs" >&6
28367 if test "$wx_cv_func_statfs" = "yes"; then
28368 wx_cv_type_statvfs_t
="struct statfs"
28369 cat >>confdefs.h
<<\_ACEOF
28370 #define HAVE_STATFS 1
28374 echo "$as_me:$LINENO: checking for statvfs" >&5
28375 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
28376 if test "${wx_cv_func_statvfs+set}" = set; then
28377 echo $ECHO_N "(cached) $ECHO_C" >&6
28379 cat >conftest.
$ac_ext <<_ACEOF
28380 #line $LINENO "configure"
28383 cat confdefs.h
>>conftest.
$ac_ext
28384 cat >>conftest.
$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28387 #include <stddef.h>
28388 #include <sys/statvfs.h>
28394 statvfs("/", NULL);
28400 rm -f conftest.
$ac_objext
28401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28402 (eval $ac_compile) 2>&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); } &&
28406 { ac_try
='test -s conftest.$ac_objext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 wx_cv_func_statvfs
=yes
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.
$ac_ext >&5
28417 wx_cv_func_statvfs
=no
28420 rm -f conftest.
$ac_objext conftest.
$ac_ext
28423 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
28424 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
28426 if test "$wx_cv_func_statvfs" = "yes"; then
28430 ac_cpp
='$CXXCPP $CPPFLAGS'
28431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28436 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
28437 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
28438 if test "${wx_cv_type_statvfs_t+set}" = set; then
28439 echo $ECHO_N "(cached) $ECHO_C" >&6
28441 cat >conftest.
$ac_ext <<_ACEOF
28442 #line $LINENO "configure"
28445 cat confdefs.h
>>conftest.
$ac_ext
28446 cat >>conftest.
$ac_ext <<_ACEOF
28447 /* end confdefs.h. */
28449 #include <sys/statvfs.h>
28466 rm -f conftest.
$ac_objext
28467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28468 (eval $ac_compile) 2>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); } &&
28472 { ac_try
='test -s conftest.$ac_objext'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; }; then
28478 wx_cv_type_statvfs_t
=statvfs_t
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.
$ac_ext >&5
28484 cat >conftest.
$ac_ext <<_ACEOF
28485 #line $LINENO "configure"
28488 cat confdefs.h
>>conftest.
$ac_ext
28489 cat >>conftest.
$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28492 #include <sys/statvfs.h>
28509 rm -f conftest.
$ac_objext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28511 (eval $ac_compile) 2>&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); } &&
28515 { ac_try
='test -s conftest.$ac_objext'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; }; then
28521 wx_cv_type_statvfs_t
="struct statvfs"
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.
$ac_ext >&5
28526 wx_cv_type_statvfs_t
="unknown"
28529 rm -f conftest.
$ac_objext conftest.
$ac_ext
28533 rm -f conftest.
$ac_objext conftest.
$ac_ext
28536 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
28537 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
28540 ac_cpp
='$CPP $CPPFLAGS'
28541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28546 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28547 cat >>confdefs.h
<<\_ACEOF
28548 #define HAVE_STATVFS 1
28553 wx_cv_type_statvfs_t
="unknown"
28557 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28558 cat >>confdefs.h
<<_ACEOF
28559 #define WX_STATFS_T $wx_cv_type_statvfs_t
28563 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
28564 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
28567 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
28570 for ac_func
in fcntl flock
28572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28573 echo "$as_me:$LINENO: checking for $ac_func" >&5
28574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28575 if eval "test \"\${$as_ac_var+set}\" = set"; then
28576 echo $ECHO_N "(cached) $ECHO_C" >&6
28578 cat >conftest.
$ac_ext <<_ACEOF
28579 #line $LINENO "configure"
28582 cat confdefs.h
>>conftest.
$ac_ext
28583 cat >>conftest.
$ac_ext <<_ACEOF
28584 /* end confdefs.h. */
28585 /* System header to define __stub macros and hopefully few prototypes,
28586 which can conflict with char $ac_func (); below.
28587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28588 <limits.h> exists even on freestanding compilers. */
28590 # include <limits.h>
28592 # include <assert.h>
28594 /* Override any gcc2 internal prototype to avoid an error. */
28599 /* We use char because int might match the return type of a gcc2
28600 builtin and then its argument prototype would still apply. */
28602 /* The GNU C library defines this for functions which it implements
28603 to always fail with ENOSYS. Some functions are actually named
28604 something starting with __ and the normal name is an alias. */
28605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28608 char (*f) () = $ac_func;
28617 return f != $ac_func;
28622 rm -f conftest.
$ac_objext conftest
$ac_exeext
28623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28624 (eval $ac_link) 2>&5
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); } &&
28628 { ac_try
='test -s conftest$ac_exeext'
28629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28630 (eval $ac_try) 2>&5
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; }; then
28634 eval "$as_ac_var=yes"
28636 echo "$as_me: failed program was:" >&5
28637 sed 's/^/| /' conftest.
$ac_ext >&5
28639 eval "$as_ac_var=no"
28641 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28645 if test `eval echo '${'$as_ac_var'}'` = yes; then
28646 cat >>confdefs.h
<<_ACEOF
28647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28654 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
28655 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
28656 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
28657 wxUSE_SNGLINST_CHECKER
=no
28662 for ac_func
in timegm
28664 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28665 echo "$as_me:$LINENO: checking for $ac_func" >&5
28666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28667 if eval "test \"\${$as_ac_var+set}\" = set"; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28670 cat >conftest.
$ac_ext <<_ACEOF
28671 #line $LINENO "configure"
28674 cat confdefs.h
>>conftest.
$ac_ext
28675 cat >>conftest.
$ac_ext <<_ACEOF
28676 /* end confdefs.h. */
28677 /* System header to define __stub macros and hopefully few prototypes,
28678 which can conflict with char $ac_func (); below.
28679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28680 <limits.h> exists even on freestanding compilers. */
28682 # include <limits.h>
28684 # include <assert.h>
28686 /* Override any gcc2 internal prototype to avoid an error. */
28691 /* We use char because int might match the return type of a gcc2
28692 builtin and then its argument prototype would still apply. */
28694 /* The GNU C library defines this for functions which it implements
28695 to always fail with ENOSYS. Some functions are actually named
28696 something starting with __ and the normal name is an alias. */
28697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28700 char (*f) () = $ac_func;
28709 return f != $ac_func;
28714 rm -f conftest.
$ac_objext conftest
$ac_exeext
28715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28716 (eval $ac_link) 2>&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); } &&
28720 { ac_try
='test -s conftest$ac_exeext'
28721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28722 (eval $ac_try) 2>&5
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); }; }; then
28726 eval "$as_ac_var=yes"
28728 echo "$as_me: failed program was:" >&5
28729 sed 's/^/| /' conftest.
$ac_ext >&5
28731 eval "$as_ac_var=no"
28733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28737 if test `eval echo '${'$as_ac_var'}'` = yes; then
28738 cat >>confdefs.h
<<_ACEOF
28739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28748 for ac_func
in putenv setenv
28750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28751 echo "$as_me:$LINENO: checking for $ac_func" >&5
28752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28753 if eval "test \"\${$as_ac_var+set}\" = set"; then
28754 echo $ECHO_N "(cached) $ECHO_C" >&6
28756 cat >conftest.
$ac_ext <<_ACEOF
28757 #line $LINENO "configure"
28760 cat confdefs.h
>>conftest.
$ac_ext
28761 cat >>conftest.
$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28763 /* System header to define __stub macros and hopefully few prototypes,
28764 which can conflict with char $ac_func (); below.
28765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28766 <limits.h> exists even on freestanding compilers. */
28768 # include <limits.h>
28770 # include <assert.h>
28772 /* Override any gcc2 internal prototype to avoid an error. */
28777 /* We use char because int might match the return type of a gcc2
28778 builtin and then its argument prototype would still apply. */
28780 /* The GNU C library defines this for functions which it implements
28781 to always fail with ENOSYS. Some functions are actually named
28782 something starting with __ and the normal name is an alias. */
28783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28786 char (*f) () = $ac_func;
28795 return f != $ac_func;
28800 rm -f conftest.
$ac_objext conftest
$ac_exeext
28801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28802 (eval $ac_link) 2>&5
28804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28805 (exit $ac_status); } &&
28806 { ac_try
='test -s conftest$ac_exeext'
28807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28808 (eval $ac_try) 2>&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); }; }; then
28812 eval "$as_ac_var=yes"
28814 echo "$as_me: failed program was:" >&5
28815 sed 's/^/| /' conftest.
$ac_ext >&5
28817 eval "$as_ac_var=no"
28819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28823 if test `eval echo '${'$as_ac_var'}'` = yes; then
28824 cat >>confdefs.h
<<_ACEOF
28825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28832 HAVE_SOME_SLEEP_FUNC
=0
28833 if test "$USE_BEOS" = 1; then
28834 cat >>confdefs.h
<<\_ACEOF
28835 #define HAVE_SLEEP 1
28838 HAVE_SOME_SLEEP_FUNC
=1
28841 if test "$USE_DARWIN" = 1; then
28842 cat >>confdefs.h
<<\_ACEOF
28843 #define HAVE_USLEEP 1
28846 HAVE_SOME_SLEEP_FUNC
=1
28849 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28852 for ac_func
in nanosleep
28854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28855 echo "$as_me:$LINENO: checking for $ac_func" >&5
28856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28857 if eval "test \"\${$as_ac_var+set}\" = set"; then
28858 echo $ECHO_N "(cached) $ECHO_C" >&6
28860 cat >conftest.
$ac_ext <<_ACEOF
28861 #line $LINENO "configure"
28864 cat confdefs.h
>>conftest.
$ac_ext
28865 cat >>conftest.
$ac_ext <<_ACEOF
28866 /* end confdefs.h. */
28867 /* System header to define __stub macros and hopefully few prototypes,
28868 which can conflict with char $ac_func (); below.
28869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28870 <limits.h> exists even on freestanding compilers. */
28872 # include <limits.h>
28874 # include <assert.h>
28876 /* Override any gcc2 internal prototype to avoid an error. */
28881 /* We use char because int might match the return type of a gcc2
28882 builtin and then its argument prototype would still apply. */
28884 /* The GNU C library defines this for functions which it implements
28885 to always fail with ENOSYS. Some functions are actually named
28886 something starting with __ and the normal name is an alias. */
28887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28890 char (*f) () = $ac_func;
28899 return f != $ac_func;
28904 rm -f conftest.
$ac_objext conftest
$ac_exeext
28905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28906 (eval $ac_link) 2>&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } &&
28910 { ac_try
='test -s conftest$ac_exeext'
28911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912 (eval $ac_try) 2>&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; }; then
28916 eval "$as_ac_var=yes"
28918 echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.
$ac_ext >&5
28921 eval "$as_ac_var=no"
28923 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28927 if test `eval echo '${'$as_ac_var'}'` = yes; then
28928 cat >>confdefs.h
<<_ACEOF
28929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28931 cat >>confdefs.h
<<\_ACEOF
28932 #define HAVE_NANOSLEEP 1
28937 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28938 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28939 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28942 ac_check_lib_save_LIBS
=$LIBS
28943 LIBS
="-lposix4 $LIBS"
28944 cat >conftest.
$ac_ext <<_ACEOF
28945 #line $LINENO "configure"
28948 cat confdefs.h
>>conftest.
$ac_ext
28949 cat >>conftest.
$ac_ext <<_ACEOF
28950 /* end confdefs.h. */
28952 /* Override any gcc2 internal prototype to avoid an error. */
28956 /* We use char because int might match the return type of a gcc2
28957 builtin and then its argument prototype would still apply. */
28967 rm -f conftest.
$ac_objext conftest
$ac_exeext
28968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28969 (eval $ac_link) 2>&5
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); } &&
28973 { ac_try
='test -s conftest$ac_exeext'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; }; then
28979 ac_cv_lib_posix4_nanosleep
=yes
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.
$ac_ext >&5
28984 ac_cv_lib_posix4_nanosleep
=no
28986 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28987 LIBS
=$ac_check_lib_save_LIBS
28989 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28990 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28991 if test $ac_cv_lib_posix4_nanosleep = yes; then
28993 cat >>confdefs.h
<<\_ACEOF
28994 #define HAVE_NANOSLEEP 1
28997 POSIX4_LINK
=" -lposix4"
29002 for ac_func
in usleep
29004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29005 echo "$as_me:$LINENO: checking for $ac_func" >&5
29006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29007 if eval "test \"\${$as_ac_var+set}\" = set"; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29010 cat >conftest.
$ac_ext <<_ACEOF
29011 #line $LINENO "configure"
29014 cat confdefs.h
>>conftest.
$ac_ext
29015 cat >>conftest.
$ac_ext <<_ACEOF
29016 /* end confdefs.h. */
29017 /* System header to define __stub macros and hopefully few prototypes,
29018 which can conflict with char $ac_func (); below.
29019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29020 <limits.h> exists even on freestanding compilers. */
29022 # include <limits.h>
29024 # include <assert.h>
29026 /* Override any gcc2 internal prototype to avoid an error. */
29031 /* We use char because int might match the return type of a gcc2
29032 builtin and then its argument prototype would still apply. */
29034 /* The GNU C library defines this for functions which it implements
29035 to always fail with ENOSYS. Some functions are actually named
29036 something starting with __ and the normal name is an alias. */
29037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29040 char (*f) () = $ac_func;
29049 return f != $ac_func;
29054 rm -f conftest.
$ac_objext conftest
$ac_exeext
29055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29056 (eval $ac_link) 2>&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); } &&
29060 { ac_try
='test -s conftest$ac_exeext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 eval "$as_ac_var=yes"
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.
$ac_ext >&5
29071 eval "$as_ac_var=no"
29073 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29077 if test `eval echo '${'$as_ac_var'}'` = yes; then
29078 cat >>confdefs.h
<<_ACEOF
29079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29081 cat >>confdefs.h
<<\_ACEOF
29082 #define HAVE_USLEEP 1
29086 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
29087 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
29105 for ac_func
in uname gethostname
29107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29108 echo "$as_me:$LINENO: checking for $ac_func" >&5
29109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29110 if eval "test \"\${$as_ac_var+set}\" = set"; then
29111 echo $ECHO_N "(cached) $ECHO_C" >&6
29113 cat >conftest.
$ac_ext <<_ACEOF
29114 #line $LINENO "configure"
29117 cat confdefs.h
>>conftest.
$ac_ext
29118 cat >>conftest.
$ac_ext <<_ACEOF
29119 /* end confdefs.h. */
29120 /* System header to define __stub macros and hopefully few prototypes,
29121 which can conflict with char $ac_func (); below.
29122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29123 <limits.h> exists even on freestanding compilers. */
29125 # include <limits.h>
29127 # include <assert.h>
29129 /* Override any gcc2 internal prototype to avoid an error. */
29134 /* We use char because int might match the return type of a gcc2
29135 builtin and then its argument prototype would still apply. */
29137 /* The GNU C library defines this for functions which it implements
29138 to always fail with ENOSYS. Some functions are actually named
29139 something starting with __ and the normal name is an alias. */
29140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29143 char (*f) () = $ac_func;
29152 return f != $ac_func;
29157 rm -f conftest.
$ac_objext conftest
$ac_exeext
29158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29159 (eval $ac_link) 2>&5
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); } &&
29163 { ac_try
='test -s conftest$ac_exeext'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; }; then
29169 eval "$as_ac_var=yes"
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.
$ac_ext >&5
29174 eval "$as_ac_var=no"
29176 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29180 if test `eval echo '${'$as_ac_var'}'` = yes; then
29181 cat >>confdefs.h
<<_ACEOF
29182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29192 ac_cpp
='$CXXCPP $CPPFLAGS'
29193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29199 for ac_func
in strtok_r
29201 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29202 echo "$as_me:$LINENO: checking for $ac_func" >&5
29203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29204 if eval "test \"\${$as_ac_var+set}\" = set"; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29207 cat >conftest.
$ac_ext <<_ACEOF
29208 #line $LINENO "configure"
29211 cat confdefs.h
>>conftest.
$ac_ext
29212 cat >>conftest.
$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214 /* System header to define __stub macros and hopefully few prototypes,
29215 which can conflict with char $ac_func (); below.
29216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29217 <limits.h> exists even on freestanding compilers. */
29219 # include <limits.h>
29221 # include <assert.h>
29223 /* Override any gcc2 internal prototype to avoid an error. */
29228 /* We use char because int might match the return type of a gcc2
29229 builtin and then its argument prototype would still apply. */
29231 /* The GNU C library defines this for functions which it implements
29232 to always fail with ENOSYS. Some functions are actually named
29233 something starting with __ and the normal name is an alias. */
29234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29237 char (*f) () = $ac_func;
29246 return f != $ac_func;
29251 rm -f conftest.
$ac_objext conftest
$ac_exeext
29252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29253 (eval $ac_link) 2>&5
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } &&
29257 { ac_try
='test -s conftest$ac_exeext'
29258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29259 (eval $ac_try) 2>&5
29261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 (exit $ac_status); }; }; then
29263 eval "$as_ac_var=yes"
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.
$ac_ext >&5
29268 eval "$as_ac_var=no"
29270 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29274 if test `eval echo '${'$as_ac_var'}'` = yes; then
29275 cat >>confdefs.h
<<_ACEOF
29276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29284 ac_cpp
='$CPP $CPPFLAGS'
29285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29292 for ac_func
in inet_addr
29294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29295 echo "$as_me:$LINENO: checking for $ac_func" >&5
29296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29297 if eval "test \"\${$as_ac_var+set}\" = set"; then
29298 echo $ECHO_N "(cached) $ECHO_C" >&6
29300 cat >conftest.
$ac_ext <<_ACEOF
29301 #line $LINENO "configure"
29304 cat confdefs.h
>>conftest.
$ac_ext
29305 cat >>conftest.
$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29307 /* System header to define __stub macros and hopefully few prototypes,
29308 which can conflict with char $ac_func (); below.
29309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29310 <limits.h> exists even on freestanding compilers. */
29312 # include <limits.h>
29314 # include <assert.h>
29316 /* Override any gcc2 internal prototype to avoid an error. */
29321 /* We use char because int might match the return type of a gcc2
29322 builtin and then its argument prototype would still apply. */
29324 /* The GNU C library defines this for functions which it implements
29325 to always fail with ENOSYS. Some functions are actually named
29326 something starting with __ and the normal name is an alias. */
29327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29330 char (*f) () = $ac_func;
29339 return f != $ac_func;
29344 rm -f conftest.
$ac_objext conftest
$ac_exeext
29345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29346 (eval $ac_link) 2>&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try
='test -s conftest$ac_exeext'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; }; then
29356 eval "$as_ac_var=yes"
29358 echo "$as_me: failed program was:" >&5
29359 sed 's/^/| /' conftest.
$ac_ext >&5
29361 eval "$as_ac_var=no"
29363 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29367 if test `eval echo '${'$as_ac_var'}'` = yes; then
29368 cat >>confdefs.h
<<_ACEOF
29369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29371 cat >>confdefs.h
<<\_ACEOF
29372 #define HAVE_INET_ADDR 1
29377 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
29378 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
29379 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
29380 echo $ECHO_N "(cached) $ECHO_C" >&6
29382 ac_check_lib_save_LIBS
=$LIBS
29384 cat >conftest.
$ac_ext <<_ACEOF
29385 #line $LINENO "configure"
29388 cat confdefs.h
>>conftest.
$ac_ext
29389 cat >>conftest.
$ac_ext <<_ACEOF
29390 /* end confdefs.h. */
29392 /* Override any gcc2 internal prototype to avoid an error. */
29396 /* We use char because int might match the return type of a gcc2
29397 builtin and then its argument prototype would still apply. */
29407 rm -f conftest.
$ac_objext conftest
$ac_exeext
29408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29409 (eval $ac_link) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); } &&
29413 { ac_try
='test -s conftest$ac_exeext'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; }; then
29419 ac_cv_lib_nsl_inet_addr
=yes
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.
$ac_ext >&5
29424 ac_cv_lib_nsl_inet_addr
=no
29426 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29427 LIBS
=$ac_check_lib_save_LIBS
29429 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
29430 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
29431 if test $ac_cv_lib_nsl_inet_addr = yes; then
29435 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
29436 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
29437 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 ac_check_lib_save_LIBS
=$LIBS
29441 LIBS
="-lresolv $LIBS"
29442 cat >conftest.
$ac_ext <<_ACEOF
29443 #line $LINENO "configure"
29446 cat confdefs.h
>>conftest.
$ac_ext
29447 cat >>conftest.
$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29450 /* Override any gcc2 internal prototype to avoid an error. */
29454 /* We use char because int might match the return type of a gcc2
29455 builtin and then its argument prototype would still apply. */
29465 rm -f conftest.
$ac_objext conftest
$ac_exeext
29466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29467 (eval $ac_link) 2>&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } &&
29471 { ac_try
='test -s conftest$ac_exeext'
29472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29473 (eval $ac_try) 2>&5
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); }; }; then
29477 ac_cv_lib_resolv_inet_addr
=yes
29479 echo "$as_me: failed program was:" >&5
29480 sed 's/^/| /' conftest.
$ac_ext >&5
29482 ac_cv_lib_resolv_inet_addr
=no
29484 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29485 LIBS
=$ac_check_lib_save_LIBS
29487 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
29488 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
29489 if test $ac_cv_lib_resolv_inet_addr = yes; then
29493 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
29494 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
29495 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
29496 echo $ECHO_N "(cached) $ECHO_C" >&6
29498 ac_check_lib_save_LIBS
=$LIBS
29499 LIBS
="-lsocket $LIBS"
29500 cat >conftest.
$ac_ext <<_ACEOF
29501 #line $LINENO "configure"
29504 cat confdefs.h
>>conftest.
$ac_ext
29505 cat >>conftest.
$ac_ext <<_ACEOF
29506 /* end confdefs.h. */
29508 /* Override any gcc2 internal prototype to avoid an error. */
29512 /* We use char because int might match the return type of a gcc2
29513 builtin and then its argument prototype would still apply. */
29523 rm -f conftest.
$ac_objext conftest
$ac_exeext
29524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29525 (eval $ac_link) 2>&5
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); } &&
29529 { ac_try
='test -s conftest$ac_exeext'
29530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29531 (eval $ac_try) 2>&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); }; }; then
29535 ac_cv_lib_socket_inet_addr
=yes
29537 echo "$as_me: failed program was:" >&5
29538 sed 's/^/| /' conftest.
$ac_ext >&5
29540 ac_cv_lib_socket_inet_addr
=no
29542 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29543 LIBS
=$ac_check_lib_save_LIBS
29545 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
29546 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
29547 if test $ac_cv_lib_socket_inet_addr = yes; then
29567 for ac_func
in inet_aton
29569 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29570 echo "$as_me:$LINENO: checking for $ac_func" >&5
29571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29572 if eval "test \"\${$as_ac_var+set}\" = set"; then
29573 echo $ECHO_N "(cached) $ECHO_C" >&6
29575 cat >conftest.
$ac_ext <<_ACEOF
29576 #line $LINENO "configure"
29579 cat confdefs.h
>>conftest.
$ac_ext
29580 cat >>conftest.
$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582 /* System header to define __stub macros and hopefully few prototypes,
29583 which can conflict with char $ac_func (); below.
29584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29585 <limits.h> exists even on freestanding compilers. */
29587 # include <limits.h>
29589 # include <assert.h>
29591 /* Override any gcc2 internal prototype to avoid an error. */
29596 /* We use char because int might match the return type of a gcc2
29597 builtin and then its argument prototype would still apply. */
29599 /* The GNU C library defines this for functions which it implements
29600 to always fail with ENOSYS. Some functions are actually named
29601 something starting with __ and the normal name is an alias. */
29602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29605 char (*f) () = $ac_func;
29614 return f != $ac_func;
29619 rm -f conftest.
$ac_objext conftest
$ac_exeext
29620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29621 (eval $ac_link) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); } &&
29625 { ac_try
='test -s conftest$ac_exeext'
29626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29627 (eval $ac_try) 2>&5
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); }; }; then
29631 eval "$as_ac_var=yes"
29633 echo "$as_me: failed program was:" >&5
29634 sed 's/^/| /' conftest.
$ac_ext >&5
29636 eval "$as_ac_var=no"
29638 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29642 if test `eval echo '${'$as_ac_var'}'` = yes; then
29643 cat >>confdefs.h
<<_ACEOF
29644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29646 cat >>confdefs.h
<<\_ACEOF
29647 #define HAVE_INET_ATON 1
29652 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
29653 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
29654 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
29655 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 ac_check_lib_save_LIBS
=$LIBS
29659 LIBS
="-l$INET_LINK $LIBS"
29660 cat >conftest.
$ac_ext <<_ACEOF
29661 #line $LINENO "configure"
29664 cat confdefs.h
>>conftest.
$ac_ext
29665 cat >>conftest.
$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29668 /* Override any gcc2 internal prototype to avoid an error. */
29672 /* We use char because int might match the return type of a gcc2
29673 builtin and then its argument prototype would still apply. */
29683 rm -f conftest.
$ac_objext conftest
$ac_exeext
29684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29685 (eval $ac_link) 2>&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } &&
29689 { ac_try
='test -s conftest$ac_exeext'
29690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29691 (eval $ac_try) 2>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; }; then
29695 eval "$as_ac_Lib=yes"
29697 echo "$as_me: failed program was:" >&5
29698 sed 's/^/| /' conftest.
$ac_ext >&5
29700 eval "$as_ac_Lib=no"
29702 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29703 LIBS
=$ac_check_lib_save_LIBS
29705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
29706 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
29707 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29708 cat >>confdefs.h
<<\_ACEOF
29709 #define HAVE_INET_ATON 1
29719 if test "x$INET_LINK" != "x"; then
29720 cat >>confdefs.h
<<\_ACEOF
29721 #define HAVE_INET_ADDR 1
29724 INET_LINK
=" -l$INET_LINK"
29732 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
29733 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
29734 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29737 ac_check_lib_save_LIBS
=$LIBS
29739 cat >conftest.
$ac_ext <<_ACEOF
29740 #line $LINENO "configure"
29743 cat confdefs.h
>>conftest.
$ac_ext
29744 cat >>conftest.
$ac_ext <<_ACEOF
29745 /* end confdefs.h. */
29747 /* Override any gcc2 internal prototype to avoid an error. */
29751 /* We use char because int might match the return type of a gcc2
29752 builtin and then its argument prototype would still apply. */
29762 rm -f conftest.
$ac_objext conftest
$ac_exeext
29763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29764 (eval $ac_link) 2>&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
29768 { ac_try
='test -s conftest$ac_exeext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29774 ac_cv_lib_esd_esd_close
=yes
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.
$ac_ext >&5
29779 ac_cv_lib_esd_esd_close
=no
29781 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29782 LIBS
=$ac_check_lib_save_LIBS
29784 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
29785 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
29786 if test $ac_cv_lib_esd_esd_close = yes; then
29789 for ac_header
in esd.h
29791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29793 echo "$as_me:$LINENO: checking for $ac_header" >&5
29794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29796 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29801 # Is the header compilable?
29802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29804 cat >conftest.
$ac_ext <<_ACEOF
29805 #line $LINENO "configure"
29808 cat confdefs.h
>>conftest.
$ac_ext
29809 cat >>conftest.
$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 $ac_includes_default
29812 #include <$ac_header>
29814 rm -f conftest.
$ac_objext
29815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29816 (eval $ac_compile) 2>&5
29818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29819 (exit $ac_status); } &&
29820 { ac_try
='test -s conftest.$ac_objext'
29821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29822 (eval $ac_try) 2>&5
29824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29825 (exit $ac_status); }; }; then
29826 ac_header_compiler
=yes
29828 echo "$as_me: failed program was:" >&5
29829 sed 's/^/| /' conftest.
$ac_ext >&5
29831 ac_header_compiler
=no
29833 rm -f conftest.
$ac_objext conftest.
$ac_ext
29834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29835 echo "${ECHO_T}$ac_header_compiler" >&6
29837 # Is the header present?
29838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29840 cat >conftest.
$ac_ext <<_ACEOF
29841 #line $LINENO "configure"
29844 cat confdefs.h
>>conftest.
$ac_ext
29845 cat >>conftest.
$ac_ext <<_ACEOF
29846 /* end confdefs.h. */
29847 #include <$ac_header>
29849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29852 grep -v '^ *+' conftest.er1
>conftest.err
29854 cat conftest.err
>&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } >/dev
/null
; then
29857 if test -s conftest.err
; then
29858 ac_cpp_err
=$ac_c_preproc_warn_flag
29865 if test -z "$ac_cpp_err"; then
29866 ac_header_preproc
=yes
29868 echo "$as_me: failed program was:" >&5
29869 sed 's/^/| /' conftest.
$ac_ext >&5
29871 ac_header_preproc
=no
29873 rm -f conftest.err conftest.
$ac_ext
29874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29875 echo "${ECHO_T}$ac_header_preproc" >&6
29877 # So? What about this header?
29878 case $ac_header_compiler:$ac_header_preproc in
29880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29886 ## ------------------------------------ ##
29887 ## Report this to bug-autoconf@gnu.org. ##
29888 ## ------------------------------------ ##
29891 sed "s/^/$as_me: WARNING: /" >&2
29894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29902 ## ------------------------------------ ##
29903 ## Report this to bug-autoconf@gnu.org. ##
29904 ## ------------------------------------ ##
29907 sed "s/^/$as_me: WARNING: /" >&2
29910 echo "$as_me:$LINENO: checking for $ac_header" >&5
29911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29913 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 eval "$as_ac_Header=$ac_header_preproc"
29917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29922 cat >>confdefs.h
<<_ACEOF
29923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29926 EXTRALIBS_ESD
="-lesd"
29937 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29938 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29939 cat >conftest.
$ac_ext <<_ACEOF
29940 #line $LINENO "configure"
29943 cat confdefs.h
>>conftest.
$ac_ext
29944 cat >>conftest.
$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29947 #include <linux/cdrom.h>
29950 #include <sys/cdio.h>
29956 struct cdrom_tocentry entry, old_entry;
29961 rm -f conftest.
$ac_objext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29963 (eval $ac_compile) 2>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); } &&
29967 { ac_try
='test -s conftest.$ac_objext'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; }; then
29973 echo "$as_me:$LINENO: result: yes" >&5
29974 echo "${ECHO_T}yes" >&6
29975 cat >>confdefs.h
<<\_ACEOF
29976 #define HAVE_KNOWN_CDROM_INTERFACE 1
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.
$ac_ext >&5
29983 echo "$as_me:$LINENO: result: no" >&5
29984 echo "${ECHO_T}no" >&6
29986 rm -f conftest.
$ac_objext conftest.
$ac_ext
29989 cat >confcache
<<\_ACEOF
29990 # This file is a shell script that caches the results of configure
29991 # tests run on this system so they can be shared between configure
29992 # scripts and configure runs, see configure's option --config-cache.
29993 # It is not useful on other systems. If it contains results you don't
29994 # want to keep, you may remove or edit it.
29996 # config.status only pays attention to the cache file if you give it
29997 # the --recheck option to rerun configure.
29999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30001 # following values.
30005 # The following way of writing the cache mishandles newlines in values,
30006 # but we know of no workaround that is simple, portable, and efficient.
30007 # So, don't put newlines in cache variables' values.
30008 # Ultrix sh set writes to stderr and can't be redirected directly,
30009 # and sets the high bit in the cache file unless we assign to the vars.
30012 case `(ac_space=' '; set | grep ac_space) 2>&1` in
30014 # `set' does not quote correctly, so add quotes (double-quote
30015 # substitution turns \\\\ into \\, and sed turns \\ into \).
30018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30021 # `set' quotes correctly as required by POSIX, so do not add quotes.
30023 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
30030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30032 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30034 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
30035 if test -w $cache_file; then
30036 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
30037 cat confcache
>$cache_file
30039 echo "not updating unwritable cache $cache_file"
30046 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
30052 if test "$wxUSE_THREADS" = "yes" ; then
30053 if test "$USE_BEOS" = 1; then
30054 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
30055 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
30060 if test "$wxUSE_THREADS" = "yes" ; then
30063 THREAD_OPTS
="-pthread"
30065 *-*-solaris2* | *-*-sunos4* )
30066 if test "x$GCC" = "xyes"; then
30067 THREAD_OPTS
="-pthreads $THREAD_OPTS"
30069 THREAD_OPTS
="-mt $THREAD_OPTS"
30073 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
30075 *-*-darwin* | *-*-cygwin* )
30079 THREAD_OPTS
="pthreads"
30082 if test "x$GCC" != "xyes"; then
30088 if test "x$GCC" = "xyes"; then
30094 if test "x$GCC" != "xyes"; then
30095 THREAD_OPTS
="-Ethread"
30100 THREAD_OPTS
="$THREAD_OPTS pthread none"
30103 for flag
in $THREAD_OPTS; do
30106 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
30107 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
30111 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
30112 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
30113 THREADS_CFLAGS
="$flag"
30117 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
30118 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
30119 THREADS_LINK
="-l$flag"
30124 save_CFLAGS
="$CFLAGS"
30125 LIBS
="$THREADS_LINK $LIBS"
30126 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
30128 cat >conftest.
$ac_ext <<_ACEOF
30129 #line $LINENO "configure"
30132 cat confdefs.h
>>conftest.
$ac_ext
30133 cat >>conftest.
$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135 #include <pthread.h>
30139 pthread_create(0,0,0,0);
30144 rm -f conftest.
$ac_objext conftest
$ac_exeext
30145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30146 (eval $ac_link) 2>&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } &&
30150 { ac_try
='test -s conftest$ac_exeext'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; }; then
30158 echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.
$ac_ext >&5
30162 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30165 CFLAGS
="$save_CFLAGS"
30167 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
30168 echo "${ECHO_T}$THREADS_OK" >&6
30169 if test "x$THREADS_OK" = "xyes"; then
30177 if test "x$THREADS_OK" != "xyes"; then
30179 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
30180 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
30182 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
30183 LIBS
="$THREADS_LINK $LIBS"
30185 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
30186 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
30190 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
30191 flag
="-D_THREAD_SAFE"
30194 flag
="-D_THREAD_SAFE"
30197 flag
="-D_REENTRANT"
30198 if test "x$GCC" != "xyes"; then
30199 flag
="$flag -D_RWSTD_MULTI_THREAD"
30204 *solaris
* | alpha
*-osf*)
30205 flag
="-D_REENTRANT"
30208 echo "$as_me:$LINENO: result: ${flag}" >&5
30209 echo "${ECHO_T}${flag}" >&6
30210 if test "x$flag" != xno
; then
30211 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
30214 if test "x$THREADS_CFLAGS" != "x"; then
30215 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
30216 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
30221 if test "$wxUSE_THREADS" = "yes" ; then
30223 for ac_func
in thr_setconcurrency
30225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30226 echo "$as_me:$LINENO: checking for $ac_func" >&5
30227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30228 if eval "test \"\${$as_ac_var+set}\" = set"; then
30229 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 cat >conftest.
$ac_ext <<_ACEOF
30232 #line $LINENO "configure"
30235 cat confdefs.h
>>conftest.
$ac_ext
30236 cat >>conftest.
$ac_ext <<_ACEOF
30237 /* end confdefs.h. */
30238 /* System header to define __stub macros and hopefully few prototypes,
30239 which can conflict with char $ac_func (); below.
30240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30241 <limits.h> exists even on freestanding compilers. */
30243 # include <limits.h>
30245 # include <assert.h>
30247 /* Override any gcc2 internal prototype to avoid an error. */
30252 /* We use char because int might match the return type of a gcc2
30253 builtin and then its argument prototype would still apply. */
30255 /* The GNU C library defines this for functions which it implements
30256 to always fail with ENOSYS. Some functions are actually named
30257 something starting with __ and the normal name is an alias. */
30258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30261 char (*f) () = $ac_func;
30270 return f != $ac_func;
30275 rm -f conftest.
$ac_objext conftest
$ac_exeext
30276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30277 (eval $ac_link) 2>&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try
='test -s conftest$ac_exeext'
30282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30283 (eval $ac_try) 2>&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); }; }; then
30287 eval "$as_ac_var=yes"
30289 echo "$as_me: failed program was:" >&5
30290 sed 's/^/| /' conftest.
$ac_ext >&5
30292 eval "$as_ac_var=no"
30294 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30298 if test `eval echo '${'$as_ac_var'}'` = yes; then
30299 cat >>confdefs.h
<<_ACEOF
30300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30308 for ac_header
in sched.h
30310 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30312 echo "$as_me:$LINENO: checking for $ac_header" >&5
30313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30315 echo $ECHO_N "(cached) $ECHO_C" >&6
30317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30320 # Is the header compilable?
30321 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30323 cat >conftest.
$ac_ext <<_ACEOF
30324 #line $LINENO "configure"
30327 cat confdefs.h
>>conftest.
$ac_ext
30328 cat >>conftest.
$ac_ext <<_ACEOF
30329 /* end confdefs.h. */
30330 $ac_includes_default
30331 #include <$ac_header>
30333 rm -f conftest.
$ac_objext
30334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30335 (eval $ac_compile) 2>&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } &&
30339 { ac_try
='test -s conftest.$ac_objext'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; }; then
30345 ac_header_compiler
=yes
30347 echo "$as_me: failed program was:" >&5
30348 sed 's/^/| /' conftest.
$ac_ext >&5
30350 ac_header_compiler
=no
30352 rm -f conftest.
$ac_objext conftest.
$ac_ext
30353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30354 echo "${ECHO_T}$ac_header_compiler" >&6
30356 # Is the header present?
30357 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30358 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30359 cat >conftest.
$ac_ext <<_ACEOF
30360 #line $LINENO "configure"
30363 cat confdefs.h
>>conftest.
$ac_ext
30364 cat >>conftest.
$ac_ext <<_ACEOF
30365 /* end confdefs.h. */
30366 #include <$ac_header>
30368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30371 grep -v '^ *+' conftest.er1
>conftest.err
30373 cat conftest.err
>&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } >/dev
/null
; then
30376 if test -s conftest.err
; then
30377 ac_cpp_err
=$ac_c_preproc_warn_flag
30384 if test -z "$ac_cpp_err"; then
30385 ac_header_preproc
=yes
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.
$ac_ext >&5
30390 ac_header_preproc
=no
30392 rm -f conftest.err conftest.
$ac_ext
30393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30394 echo "${ECHO_T}$ac_header_preproc" >&6
30396 # So? What about this header?
30397 case $ac_header_compiler:$ac_header_preproc in
30399 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30400 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30405 ## ------------------------------------ ##
30406 ## Report this to bug-autoconf@gnu.org. ##
30407 ## ------------------------------------ ##
30410 sed "s/^/$as_me: WARNING: /" >&2
30413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30421 ## ------------------------------------ ##
30422 ## Report this to bug-autoconf@gnu.org. ##
30423 ## ------------------------------------ ##
30426 sed "s/^/$as_me: WARNING: /" >&2
30429 echo "$as_me:$LINENO: checking for $ac_header" >&5
30430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30432 echo $ECHO_N "(cached) $ECHO_C" >&6
30434 eval "$as_ac_Header=$ac_header_preproc"
30436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30441 cat >>confdefs.h
<<_ACEOF
30442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30449 if test "$ac_cv_header_sched_h" = "yes"; then
30450 echo "$as_me:$LINENO: checking for sched_yield" >&5
30451 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
30452 if test "${ac_cv_func_sched_yield+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 cat >conftest.
$ac_ext <<_ACEOF
30456 #line $LINENO "configure"
30459 cat confdefs.h
>>conftest.
$ac_ext
30460 cat >>conftest.
$ac_ext <<_ACEOF
30461 /* end confdefs.h. */
30462 /* System header to define __stub macros and hopefully few prototypes,
30463 which can conflict with char sched_yield (); below.
30464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30465 <limits.h> exists even on freestanding compilers. */
30467 # include <limits.h>
30469 # include <assert.h>
30471 /* Override any gcc2 internal prototype to avoid an error. */
30476 /* We use char because int might match the return type of a gcc2
30477 builtin and then its argument prototype would still apply. */
30478 char sched_yield ();
30479 /* The GNU C library defines this for functions which it implements
30480 to always fail with ENOSYS. Some functions are actually named
30481 something starting with __ and the normal name is an alias. */
30482 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
30485 char (*f) () = sched_yield;
30494 return f != sched_yield;
30499 rm -f conftest.
$ac_objext conftest
$ac_exeext
30500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30501 (eval $ac_link) 2>&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); } &&
30505 { ac_try
='test -s conftest$ac_exeext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 ac_cv_func_sched_yield
=yes
30513 echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.
$ac_ext >&5
30516 ac_cv_func_sched_yield
=no
30518 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30520 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
30521 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
30522 if test $ac_cv_func_sched_yield = yes; then
30523 cat >>confdefs.h
<<\_ACEOF
30524 #define HAVE_SCHED_YIELD 1
30529 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
30530 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
30531 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
30532 echo $ECHO_N "(cached) $ECHO_C" >&6
30534 ac_check_lib_save_LIBS
=$LIBS
30535 LIBS
="-lposix4 $LIBS"
30536 cat >conftest.
$ac_ext <<_ACEOF
30537 #line $LINENO "configure"
30540 cat confdefs.h
>>conftest.
$ac_ext
30541 cat >>conftest.
$ac_ext <<_ACEOF
30542 /* end confdefs.h. */
30544 /* Override any gcc2 internal prototype to avoid an error. */
30548 /* We use char because int might match the return type of a gcc2
30549 builtin and then its argument prototype would still apply. */
30550 char sched_yield ();
30559 rm -f conftest.
$ac_objext conftest
$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } &&
30565 { ac_try
='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 ac_cv_lib_posix4_sched_yield
=yes
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.
$ac_ext >&5
30576 ac_cv_lib_posix4_sched_yield
=no
30578 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30579 LIBS
=$ac_check_lib_save_LIBS
30581 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
30582 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
30583 if test $ac_cv_lib_posix4_sched_yield = yes; then
30584 cat >>confdefs.h
<<\_ACEOF
30585 #define HAVE_SCHED_YIELD 1
30587 POSIX4_LINK
=" -lposix4"
30589 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
30590 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
30601 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
30602 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
30603 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 cat >conftest.
$ac_ext <<_ACEOF
30607 #line $LINENO "configure"
30610 cat confdefs.h
>>conftest.
$ac_ext
30611 cat >>conftest.
$ac_ext <<_ACEOF
30612 /* end confdefs.h. */
30613 /* System header to define __stub macros and hopefully few prototypes,
30614 which can conflict with char pthread_attr_getschedpolicy (); below.
30615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30616 <limits.h> exists even on freestanding compilers. */
30618 # include <limits.h>
30620 # include <assert.h>
30622 /* Override any gcc2 internal prototype to avoid an error. */
30627 /* We use char because int might match the return type of a gcc2
30628 builtin and then its argument prototype would still apply. */
30629 char pthread_attr_getschedpolicy ();
30630 /* The GNU C library defines this for functions which it implements
30631 to always fail with ENOSYS. Some functions are actually named
30632 something starting with __ and the normal name is an alias. */
30633 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
30636 char (*f) () = pthread_attr_getschedpolicy;
30645 return f != pthread_attr_getschedpolicy;
30650 rm -f conftest.
$ac_objext conftest
$ac_exeext
30651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30652 (eval $ac_link) 2>&5
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); } &&
30656 { ac_try
='test -s conftest$ac_exeext'
30657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30658 (eval $ac_try) 2>&5
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; }; then
30662 ac_cv_func_pthread_attr_getschedpolicy
=yes
30664 echo "$as_me: failed program was:" >&5
30665 sed 's/^/| /' conftest.
$ac_ext >&5
30667 ac_cv_func_pthread_attr_getschedpolicy
=no
30669 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30671 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
30672 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
30673 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
30674 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
30675 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
30676 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
30677 echo $ECHO_N "(cached) $ECHO_C" >&6
30679 cat >conftest.
$ac_ext <<_ACEOF
30680 #line $LINENO "configure"
30683 cat confdefs.h
>>conftest.
$ac_ext
30684 cat >>conftest.
$ac_ext <<_ACEOF
30685 /* end confdefs.h. */
30686 /* System header to define __stub macros and hopefully few prototypes,
30687 which can conflict with char pthread_attr_setschedparam (); below.
30688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30689 <limits.h> exists even on freestanding compilers. */
30691 # include <limits.h>
30693 # include <assert.h>
30695 /* Override any gcc2 internal prototype to avoid an error. */
30700 /* We use char because int might match the return type of a gcc2
30701 builtin and then its argument prototype would still apply. */
30702 char pthread_attr_setschedparam ();
30703 /* The GNU C library defines this for functions which it implements
30704 to always fail with ENOSYS. Some functions are actually named
30705 something starting with __ and the normal name is an alias. */
30706 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
30709 char (*f) () = pthread_attr_setschedparam;
30718 return f != pthread_attr_setschedparam;
30723 rm -f conftest.
$ac_objext conftest
$ac_exeext
30724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30725 (eval $ac_link) 2>&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } &&
30729 { ac_try
='test -s conftest$ac_exeext'
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
30735 ac_cv_func_pthread_attr_setschedparam
=yes
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.
$ac_ext >&5
30740 ac_cv_func_pthread_attr_setschedparam
=no
30742 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30744 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
30745 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
30746 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
30747 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
30748 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
30749 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30752 cat >conftest.
$ac_ext <<_ACEOF
30753 #line $LINENO "configure"
30756 cat confdefs.h
>>conftest.
$ac_ext
30757 cat >>conftest.
$ac_ext <<_ACEOF
30758 /* end confdefs.h. */
30759 /* System header to define __stub macros and hopefully few prototypes,
30760 which can conflict with char sched_get_priority_max (); below.
30761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30762 <limits.h> exists even on freestanding compilers. */
30764 # include <limits.h>
30766 # include <assert.h>
30768 /* Override any gcc2 internal prototype to avoid an error. */
30773 /* We use char because int might match the return type of a gcc2
30774 builtin and then its argument prototype would still apply. */
30775 char sched_get_priority_max ();
30776 /* The GNU C library defines this for functions which it implements
30777 to always fail with ENOSYS. Some functions are actually named
30778 something starting with __ and the normal name is an alias. */
30779 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
30782 char (*f) () = sched_get_priority_max;
30791 return f != sched_get_priority_max;
30796 rm -f conftest.
$ac_objext conftest
$ac_exeext
30797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30798 (eval $ac_link) 2>&5
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); } &&
30802 { ac_try
='test -s conftest$ac_exeext'
30803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30804 (eval $ac_try) 2>&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); }; }; then
30808 ac_cv_func_sched_get_priority_max
=yes
30810 echo "$as_me: failed program was:" >&5
30811 sed 's/^/| /' conftest.
$ac_ext >&5
30813 ac_cv_func_sched_get_priority_max
=no
30815 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30817 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
30818 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
30819 if test $ac_cv_func_sched_get_priority_max = yes; then
30822 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
30823 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
30824 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
30825 echo $ECHO_N "(cached) $ECHO_C" >&6
30827 ac_check_lib_save_LIBS
=$LIBS
30828 LIBS
="-lposix4 $LIBS"
30829 cat >conftest.
$ac_ext <<_ACEOF
30830 #line $LINENO "configure"
30833 cat confdefs.h
>>conftest.
$ac_ext
30834 cat >>conftest.
$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30837 /* Override any gcc2 internal prototype to avoid an error. */
30841 /* We use char because int might match the return type of a gcc2
30842 builtin and then its argument prototype would still apply. */
30843 char sched_get_priority_max ();
30847 sched_get_priority_max ();
30852 rm -f conftest.
$ac_objext conftest
$ac_exeext
30853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30854 (eval $ac_link) 2>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } &&
30858 { ac_try
='test -s conftest$ac_exeext'
30859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30860 (eval $ac_try) 2>&5
30862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30863 (exit $ac_status); }; }; then
30864 ac_cv_lib_posix4_sched_get_priority_max
=yes
30866 echo "$as_me: failed program was:" >&5
30867 sed 's/^/| /' conftest.
$ac_ext >&5
30869 ac_cv_lib_posix4_sched_get_priority_max
=no
30871 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30872 LIBS
=$ac_check_lib_save_LIBS
30874 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30875 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30876 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30879 POSIX4_LINK
=" -lposix4"
30893 if test "$HAVE_PRIOR_FUNCS" = 1; then
30894 cat >>confdefs.h
<<\_ACEOF
30895 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30899 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30900 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30903 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30904 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30905 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30906 echo $ECHO_N "(cached) $ECHO_C" >&6
30908 cat >conftest.
$ac_ext <<_ACEOF
30909 #line $LINENO "configure"
30912 cat confdefs.h
>>conftest.
$ac_ext
30913 cat >>conftest.
$ac_ext <<_ACEOF
30914 /* end confdefs.h. */
30915 /* System header to define __stub macros and hopefully few prototypes,
30916 which can conflict with char pthread_cancel (); below.
30917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30918 <limits.h> exists even on freestanding compilers. */
30920 # include <limits.h>
30922 # include <assert.h>
30924 /* Override any gcc2 internal prototype to avoid an error. */
30929 /* We use char because int might match the return type of a gcc2
30930 builtin and then its argument prototype would still apply. */
30931 char pthread_cancel ();
30932 /* The GNU C library defines this for functions which it implements
30933 to always fail with ENOSYS. Some functions are actually named
30934 something starting with __ and the normal name is an alias. */
30935 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30938 char (*f) () = pthread_cancel;
30947 return f != pthread_cancel;
30952 rm -f conftest.
$ac_objext conftest
$ac_exeext
30953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30954 (eval $ac_link) 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); } &&
30958 { ac_try
='test -s conftest$ac_exeext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 ac_cv_func_pthread_cancel
=yes
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.
$ac_ext >&5
30969 ac_cv_func_pthread_cancel
=no
30971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30973 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30974 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30975 if test $ac_cv_func_pthread_cancel = yes; then
30976 cat >>confdefs.h
<<\_ACEOF
30977 #define HAVE_PTHREAD_CANCEL 1
30981 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30982 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30988 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30989 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30990 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30991 echo $ECHO_N "(cached) $ECHO_C" >&6
30994 cat >conftest.
$ac_ext <<_ACEOF
30995 #line $LINENO "configure"
30998 cat confdefs.h
>>conftest.
$ac_ext
30999 cat >>conftest.
$ac_ext <<_ACEOF
31000 /* end confdefs.h. */
31001 #include <pthread.h>
31006 pthread_mutexattr_t attr;
31007 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31013 rm -f conftest.
$ac_objext
31014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31015 (eval $ac_compile) 2>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } &&
31019 { ac_try
='test -s conftest.$ac_objext'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; }; then
31026 wx_cv_type_pthread_mutexattr_t
=yes
31029 echo "$as_me: failed program was:" >&5
31030 sed 's/^/| /' conftest.
$ac_ext >&5
31033 wx_cv_type_pthread_mutexattr_t
=no
31037 rm -f conftest.
$ac_objext conftest.
$ac_ext
31040 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
31041 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
31043 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
31044 cat >>confdefs.h
<<\_ACEOF
31045 #define HAVE_PTHREAD_MUTEXATTR_T 1
31049 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
31050 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
31051 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
31052 echo $ECHO_N "(cached) $ECHO_C" >&6
31055 cat >conftest.
$ac_ext <<_ACEOF
31056 #line $LINENO "configure"
31059 cat confdefs.h
>>conftest.
$ac_ext
31060 cat >>conftest.
$ac_ext <<_ACEOF
31061 /* end confdefs.h. */
31062 #include <pthread.h>
31067 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
31073 rm -f conftest.
$ac_objext
31074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31075 (eval $ac_compile) 2>&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); } &&
31079 { ac_try
='test -s conftest.$ac_objext'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; }; then
31086 wx_cv_type_pthread_rec_mutex_init
=yes
31089 echo "$as_me: failed program was:" >&5
31090 sed 's/^/| /' conftest.
$ac_ext >&5
31093 wx_cv_type_pthread_rec_mutex_init
=no
31097 rm -f conftest.
$ac_objext conftest.
$ac_ext
31100 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
31101 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
31102 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
31103 cat >>confdefs.h
<<\_ACEOF
31104 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
31108 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
31109 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
31115 if test "$wxUSE_THREADS" = "yes" ; then
31118 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
31119 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
31120 if test "${wx_cv_cflags_mthread+set}" = set; then
31121 echo $ECHO_N "(cached) $ECHO_C" >&6
31124 CFLAGS_OLD
="$CFLAGS"
31125 CFLAGS
="$CFLAGS -mthreads"
31126 cat >conftest.
$ac_ext <<_ACEOF
31127 #line $LINENO "configure"
31130 cat confdefs.h
>>conftest.
$ac_ext
31131 cat >>conftest.
$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31142 rm -f conftest.
$ac_objext
31143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31144 (eval $ac_compile) 2>&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } &&
31148 { ac_try
='test -s conftest.$ac_objext'
31149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31150 (eval $ac_try) 2>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); }; }; then
31154 wx_cv_cflags_mthread
=yes
31156 echo "$as_me: failed program was:" >&5
31157 sed 's/^/| /' conftest.
$ac_ext >&5
31159 wx_cv_cflags_mthread
=no
31162 rm -f conftest.
$ac_objext conftest.
$ac_ext
31166 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
31167 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
31169 if test "$wx_cv_cflags_mthread" = "yes"; then
31170 CXXFLAGS
="$CXXFLAGS -mthreads"
31171 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
31172 LDFLAGS
="$LDFLAGS -mthreads"
31174 CFLAGS
="$CFLAGS_OLD"
31178 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
31179 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
31180 LDFLAGS
="$LDFLAGS -Zmt"
31186 if test "$wxUSE_THREADS" = "yes"; then
31187 cat >>confdefs.h
<<\_ACEOF
31188 #define wxUSE_THREADS 1
31192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
31194 if test "$ac_cv_func_strtok_r" = "yes"; then
31195 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
31196 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
31197 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
31198 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
31199 echo "$as_me:$LINENO: result: yes" >&5
31200 echo "${ECHO_T}yes" >&6
31202 echo "$as_me:$LINENO: result: no" >&5
31203 echo "${ECHO_T}no" >&6
31208 if test "$WXGTK20" = 1 ; then
31209 cat >>confdefs.h
<<_ACEOF
31210 #define __WXGTK20__ $WXGTK20
31216 if test "$WXGTK12" = 1 ; then
31217 cat >>confdefs.h
<<_ACEOF
31218 #define __WXGTK12__ $WXGTK12
31223 if test "$WXGTK127" = 1 ; then
31224 cat >>confdefs.h
<<_ACEOF
31225 #define __WXGTK127__ $WXGTK127
31230 if test "$WXGPE" = 1 ; then
31231 cat >>confdefs.h
<<_ACEOF
31232 #define __WXGPE__ $WXGPE
31239 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
31244 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
31245 wxUSE_DEBUG_INFO
=yes
31249 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
31250 cat >>confdefs.h
<<\_ACEOF
31254 WXDEBUG_DEFINE
="-D__WXDEBUG__"
31256 if test "$wxUSE_GTK" = 1 ; then
31257 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
31261 if test "$wxUSE_MEM_TRACING" = "yes" ; then
31262 cat >>confdefs.h
<<\_ACEOF
31263 #define wxUSE_MEMORY_TRACING 1
31266 cat >>confdefs.h
<<\_ACEOF
31267 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
31270 cat >>confdefs.h
<<\_ACEOF
31271 #define wxUSE_DEBUG_NEW_ALWAYS 1
31274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
31277 if test "$wxUSE_DMALLOC" = "yes" ; then
31278 DMALLOC_LIBS
="-ldmalloc"
31282 if test "$wxUSE_PROFILE" = "yes" ; then
31287 CODE_GEN_FLAGS_CXX
=
31288 if test "$GCC" = "yes" ; then
31289 if test "$wxUSE_NO_RTTI" = "yes" ; then
31290 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
31292 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
31293 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
31295 if test "$wxUSE_PERMISSIVE" = "yes" ; then
31296 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
31301 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
31304 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
31310 if test "$wxUSE_OPTIMISE" = "no" ; then
31311 if test "$GCC" = yes ; then
31315 if test "$GCC" = yes ; then
31319 i586
-*-*|i686
-*-* )
31320 OPTIMISE
="${OPTIMISE} "
31329 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
31330 cat >>confdefs.h
<<\_ACEOF
31331 #define WXWIN_COMPATIBILITY_2_2 1
31335 WXWIN_COMPATIBILITY_2_4
="yes"
31338 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
31339 cat >>confdefs.h
<<\_ACEOF
31340 #define WXWIN_COMPATIBILITY_2_4 1
31346 if test "$wxUSE_GUI" = "yes"; then
31347 cat >>confdefs.h
<<\_ACEOF
31348 #define wxUSE_GUI 1
31353 cat >>confdefs.h
<<\_ACEOF
31354 #define wxUSE_NOGUI 1
31360 if test "$wxUSE_UNIX" = "yes"; then
31361 cat >>confdefs.h
<<\_ACEOF
31362 #define wxUSE_UNIX 1
31368 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31372 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31373 if test "$USE_DARWIN" = 1; then
31377 for ac_func
in dlopen
31379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31380 echo "$as_me:$LINENO: checking for $ac_func" >&5
31381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31382 if eval "test \"\${$as_ac_var+set}\" = set"; then
31383 echo $ECHO_N "(cached) $ECHO_C" >&6
31385 cat >conftest.
$ac_ext <<_ACEOF
31386 #line $LINENO "configure"
31389 cat confdefs.h
>>conftest.
$ac_ext
31390 cat >>conftest.
$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392 /* System header to define __stub macros and hopefully few prototypes,
31393 which can conflict with char $ac_func (); below.
31394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31395 <limits.h> exists even on freestanding compilers. */
31397 # include <limits.h>
31399 # include <assert.h>
31401 /* Override any gcc2 internal prototype to avoid an error. */
31406 /* We use char because int might match the return type of a gcc2
31407 builtin and then its argument prototype would still apply. */
31409 /* The GNU C library defines this for functions which it implements
31410 to always fail with ENOSYS. Some functions are actually named
31411 something starting with __ and the normal name is an alias. */
31412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31415 char (*f) () = $ac_func;
31424 return f != $ac_func;
31429 rm -f conftest.
$ac_objext conftest
$ac_exeext
31430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31431 (eval $ac_link) 2>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } &&
31435 { ac_try
='test -s conftest$ac_exeext'
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; }; then
31441 eval "$as_ac_var=yes"
31443 echo "$as_me: failed program was:" >&5
31444 sed 's/^/| /' conftest.
$ac_ext >&5
31446 eval "$as_ac_var=no"
31448 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31452 if test `eval echo '${'$as_ac_var'}'` = yes; then
31453 cat >>confdefs.h
<<_ACEOF
31454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31457 cat >>confdefs.h
<<\_ACEOF
31458 #define HAVE_DLOPEN 1
31465 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31466 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31467 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31470 ac_check_lib_save_LIBS
=$LIBS
31472 cat >conftest.
$ac_ext <<_ACEOF
31473 #line $LINENO "configure"
31476 cat confdefs.h
>>conftest.
$ac_ext
31477 cat >>conftest.
$ac_ext <<_ACEOF
31478 /* end confdefs.h. */
31480 /* Override any gcc2 internal prototype to avoid an error. */
31484 /* We use char because int might match the return type of a gcc2
31485 builtin and then its argument prototype would still apply. */
31495 rm -f conftest.
$ac_objext conftest
$ac_exeext
31496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31497 (eval $ac_link) 2>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } &&
31501 { ac_try
='test -s conftest$ac_exeext'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; }; then
31507 ac_cv_lib_dl_dlopen
=yes
31509 echo "$as_me: failed program was:" >&5
31510 sed 's/^/| /' conftest.
$ac_ext >&5
31512 ac_cv_lib_dl_dlopen
=no
31514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31515 LIBS
=$ac_check_lib_save_LIBS
31517 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31518 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31519 if test $ac_cv_lib_dl_dlopen = yes; then
31521 cat >>confdefs.h
<<\_ACEOF
31522 #define HAVE_DLOPEN 1
31526 DL_LINK
=" -ldl$DL_LINK"
31531 for ac_func
in shl_load
31533 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31534 echo "$as_me:$LINENO: checking for $ac_func" >&5
31535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31536 if eval "test \"\${$as_ac_var+set}\" = set"; then
31537 echo $ECHO_N "(cached) $ECHO_C" >&6
31539 cat >conftest.
$ac_ext <<_ACEOF
31540 #line $LINENO "configure"
31543 cat confdefs.h
>>conftest.
$ac_ext
31544 cat >>conftest.
$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31546 /* System header to define __stub macros and hopefully few prototypes,
31547 which can conflict with char $ac_func (); below.
31548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31549 <limits.h> exists even on freestanding compilers. */
31551 # include <limits.h>
31553 # include <assert.h>
31555 /* Override any gcc2 internal prototype to avoid an error. */
31560 /* We use char because int might match the return type of a gcc2
31561 builtin and then its argument prototype would still apply. */
31563 /* The GNU C library defines this for functions which it implements
31564 to always fail with ENOSYS. Some functions are actually named
31565 something starting with __ and the normal name is an alias. */
31566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31569 char (*f) () = $ac_func;
31578 return f != $ac_func;
31583 rm -f conftest.
$ac_objext conftest
$ac_exeext
31584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31585 (eval $ac_link) 2>&5
31587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31588 (exit $ac_status); } &&
31589 { ac_try
='test -s conftest$ac_exeext'
31590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 (eval $ac_try) 2>&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); }; }; then
31595 eval "$as_ac_var=yes"
31597 echo "$as_me: failed program was:" >&5
31598 sed 's/^/| /' conftest.
$ac_ext >&5
31600 eval "$as_ac_var=no"
31602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31606 if test `eval echo '${'$as_ac_var'}'` = yes; then
31607 cat >>confdefs.h
<<_ACEOF
31608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31611 cat >>confdefs.h
<<\_ACEOF
31612 #define HAVE_SHL_LOAD 1
31619 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31620 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31621 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31622 echo $ECHO_N "(cached) $ECHO_C" >&6
31624 ac_check_lib_save_LIBS
=$LIBS
31625 LIBS
="-lshl_load $LIBS"
31626 cat >conftest.
$ac_ext <<_ACEOF
31627 #line $LINENO "configure"
31630 cat confdefs.h
>>conftest.
$ac_ext
31631 cat >>conftest.
$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31634 /* Override any gcc2 internal prototype to avoid an error. */
31638 /* We use char because int might match the return type of a gcc2
31639 builtin and then its argument prototype would still apply. */
31649 rm -f conftest.
$ac_objext conftest
$ac_exeext
31650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31651 (eval $ac_link) 2>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); } &&
31655 { ac_try
='test -s conftest$ac_exeext'
31656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31657 (eval $ac_try) 2>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); }; }; then
31661 ac_cv_lib_shl_load_dld
=yes
31663 echo "$as_me: failed program was:" >&5
31664 sed 's/^/| /' conftest.
$ac_ext >&5
31666 ac_cv_lib_shl_load_dld
=no
31668 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31669 LIBS
=$ac_check_lib_save_LIBS
31671 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31672 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31673 if test $ac_cv_lib_shl_load_dld = yes; then
31676 DL_LINK
=" -ldld$DL_LINK"
31692 if test "$HAVE_DL_FUNCS" = 1; then
31694 for ac_func
in dlerror
31696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31697 echo "$as_me:$LINENO: checking for $ac_func" >&5
31698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31699 if eval "test \"\${$as_ac_var+set}\" = set"; then
31700 echo $ECHO_N "(cached) $ECHO_C" >&6
31702 cat >conftest.
$ac_ext <<_ACEOF
31703 #line $LINENO "configure"
31706 cat confdefs.h
>>conftest.
$ac_ext
31707 cat >>conftest.
$ac_ext <<_ACEOF
31708 /* end confdefs.h. */
31709 /* System header to define __stub macros and hopefully few prototypes,
31710 which can conflict with char $ac_func (); below.
31711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31712 <limits.h> exists even on freestanding compilers. */
31714 # include <limits.h>
31716 # include <assert.h>
31718 /* Override any gcc2 internal prototype to avoid an error. */
31723 /* We use char because int might match the return type of a gcc2
31724 builtin and then its argument prototype would still apply. */
31726 /* The GNU C library defines this for functions which it implements
31727 to always fail with ENOSYS. Some functions are actually named
31728 something starting with __ and the normal name is an alias. */
31729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31732 char (*f) () = $ac_func;
31741 return f != $ac_func;
31746 rm -f conftest.
$ac_objext conftest
$ac_exeext
31747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31748 (eval $ac_link) 2>&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); } &&
31752 { ac_try
='test -s conftest$ac_exeext'
31753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31754 (eval $ac_try) 2>&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); }; }; then
31758 eval "$as_ac_var=yes"
31760 echo "$as_me: failed program was:" >&5
31761 sed 's/^/| /' conftest.
$ac_ext >&5
31763 eval "$as_ac_var=no"
31765 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31769 if test `eval echo '${'$as_ac_var'}'` = yes; then
31770 cat >>confdefs.h
<<_ACEOF
31771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31773 cat >>confdefs.h
<<\_ACEOF
31774 #define HAVE_DLERROR 1
31779 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31780 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31781 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31782 echo $ECHO_N "(cached) $ECHO_C" >&6
31784 ac_check_lib_save_LIBS
=$LIBS
31786 cat >conftest.
$ac_ext <<_ACEOF
31787 #line $LINENO "configure"
31790 cat confdefs.h
>>conftest.
$ac_ext
31791 cat >>conftest.
$ac_ext <<_ACEOF
31792 /* end confdefs.h. */
31794 /* Override any gcc2 internal prototype to avoid an error. */
31798 /* We use char because int might match the return type of a gcc2
31799 builtin and then its argument prototype would still apply. */
31809 rm -f conftest.
$ac_objext conftest
$ac_exeext
31810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31811 (eval $ac_link) 2>&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } &&
31815 { ac_try
='test -s conftest$ac_exeext'
31816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817 (eval $ac_try) 2>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; }; then
31821 ac_cv_lib_dl_dlerror
=yes
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.
$ac_ext >&5
31826 ac_cv_lib_dl_dlerror
=no
31828 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31829 LIBS
=$ac_check_lib_save_LIBS
31831 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31832 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31833 if test $ac_cv_lib_dl_dlerror = yes; then
31834 cat >>confdefs.h
<<\_ACEOF
31835 #define HAVE_DLERROR 1
31848 if test "$HAVE_DL_FUNCS" = 0; then
31849 if test "$HAVE_SHL_FUNCS" = 0; then
31850 if test "$USE_UNIX" = 1; then
31851 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31852 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31853 wxUSE_DYNAMIC_LOADER
=no
31854 wxUSE_DYNLIB_CLASS
=no
31856 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31857 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31864 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31865 cat >>confdefs.h
<<\_ACEOF
31866 #define wxUSE_DYNAMIC_LOADER 1
31870 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31871 cat >>confdefs.h
<<\_ACEOF
31872 #define wxUSE_DYNLIB_CLASS 1
31879 if test "$wxUSE_PLUGINS" = "yes" ; then
31880 if test "$wxUSE_SHARED" = "no" ; then
31881 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
31882 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
31885 if test "$wxUSE_MONOLITHIC" = "yes" ; then
31886 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
31887 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
31890 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
31891 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
31892 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
31895 if test "$wxUSE_PLUGINS" = "yes" ; then
31896 cat >>confdefs.h
<<\_ACEOF
31897 #define wxUSE_PLUGINS 1
31904 if test "$wxUSE_STL" = "yes"; then
31905 cat >>confdefs.h
<<\_ACEOF
31906 #define wxUSE_STL 1
31911 if test "$wxUSE_APPLE_IEEE" = "yes"; then
31912 cat >>confdefs.h
<<\_ACEOF
31913 #define wxUSE_APPLE_IEEE 1
31918 if test "$wxUSE_TIMER" = "yes"; then
31919 cat >>confdefs.h
<<\_ACEOF
31920 #define wxUSE_TIMER 1
31926 if test "$wxUSE_SOUND" = "yes"; then
31927 if test "$USE_UNIX" = "1" ; then
31929 for ac_header
in sys
/soundcard.h
31931 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31933 echo "$as_me:$LINENO: checking for $ac_header" >&5
31934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31936 echo $ECHO_N "(cached) $ECHO_C" >&6
31938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31941 # Is the header compilable?
31942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31944 cat >conftest.
$ac_ext <<_ACEOF
31945 #line $LINENO "configure"
31948 cat confdefs.h
>>conftest.
$ac_ext
31949 cat >>conftest.
$ac_ext <<_ACEOF
31950 /* end confdefs.h. */
31951 $ac_includes_default
31952 #include <$ac_header>
31954 rm -f conftest.
$ac_objext
31955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31956 (eval $ac_compile) 2>&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); } &&
31960 { ac_try
='test -s conftest.$ac_objext'
31961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962 (eval $ac_try) 2>&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); }; }; then
31966 ac_header_compiler
=yes
31968 echo "$as_me: failed program was:" >&5
31969 sed 's/^/| /' conftest.
$ac_ext >&5
31971 ac_header_compiler
=no
31973 rm -f conftest.
$ac_objext conftest.
$ac_ext
31974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31975 echo "${ECHO_T}$ac_header_compiler" >&6
31977 # Is the header present?
31978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31980 cat >conftest.
$ac_ext <<_ACEOF
31981 #line $LINENO "configure"
31984 cat confdefs.h
>>conftest.
$ac_ext
31985 cat >>conftest.
$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987 #include <$ac_header>
31989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31992 grep -v '^ *+' conftest.er1
>conftest.err
31994 cat conftest.err
>&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); } >/dev
/null
; then
31997 if test -s conftest.err
; then
31998 ac_cpp_err
=$ac_c_preproc_warn_flag
32005 if test -z "$ac_cpp_err"; then
32006 ac_header_preproc
=yes
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.
$ac_ext >&5
32011 ac_header_preproc
=no
32013 rm -f conftest.err conftest.
$ac_ext
32014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32015 echo "${ECHO_T}$ac_header_preproc" >&6
32017 # So? What about this header?
32018 case $ac_header_compiler:$ac_header_preproc in
32020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32026 ## ------------------------------------ ##
32027 ## Report this to bug-autoconf@gnu.org. ##
32028 ## ------------------------------------ ##
32031 sed "s/^/$as_me: WARNING: /" >&2
32034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32042 ## ------------------------------------ ##
32043 ## Report this to bug-autoconf@gnu.org. ##
32044 ## ------------------------------------ ##
32047 sed "s/^/$as_me: WARNING: /" >&2
32050 echo "$as_me:$LINENO: checking for $ac_header" >&5
32051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32053 echo $ECHO_N "(cached) $ECHO_C" >&6
32055 eval "$as_ac_Header=$ac_header_preproc"
32057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32062 cat >>confdefs.h
<<_ACEOF
32063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32071 if test "$wxUSE_LIBSDL" != "no"; then
32073 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
32074 if test "${with_sdl_prefix+set}" = set; then
32075 withval
="$with_sdl_prefix"
32076 sdl_prefix
="$withval"
32081 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
32082 if test "${with_sdl_exec_prefix+set}" = set; then
32083 withval
="$with_sdl_exec_prefix"
32084 sdl_exec_prefix
="$withval"
32088 # Check whether --enable-sdltest or --disable-sdltest was given.
32089 if test "${enable_sdltest+set}" = set; then
32090 enableval
="$enable_sdltest"
32096 if test x
$sdl_exec_prefix != x
; then
32097 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
32098 if test x
${SDL_CONFIG+set} != xset
; then
32099 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
32102 if test x
$sdl_prefix != x
; then
32103 sdl_args
="$sdl_args --prefix=$sdl_prefix"
32104 if test x
${SDL_CONFIG+set} != xset
; then
32105 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
32110 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
32111 # Extract the first word of "sdl-config", so it can be a program name with args.
32112 set dummy sdl
-config; ac_word
=$2
32113 echo "$as_me:$LINENO: checking for $ac_word" >&5
32114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32115 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 case $SDL_CONFIG in
32120 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
32123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32124 for as_dir
in $PATH
32127 test -z "$as_dir" && as_dir
=.
32128 for ac_exec_ext
in '' $ac_executable_extensions; do
32129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32130 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32137 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
32141 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
32143 if test -n "$SDL_CONFIG"; then
32144 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
32145 echo "${ECHO_T}$SDL_CONFIG" >&6
32147 echo "$as_me:$LINENO: result: no" >&5
32148 echo "${ECHO_T}no" >&6
32151 min_sdl_version
=1.2.0
32152 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
32153 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
32155 if test "$SDL_CONFIG" = "no" ; then
32158 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
32159 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
32161 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
32162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32163 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
32164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32165 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
32166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32167 if test "x$enable_sdltest" = "xyes" ; then
32168 ac_save_CFLAGS
="$CFLAGS"
32169 ac_save_LIBS
="$LIBS"
32170 CFLAGS
="$CFLAGS $SDL_CFLAGS"
32171 LIBS
="$LIBS $SDL_LIBS"
32173 if test "$cross_compiling" = yes; then
32174 echo $ac_n "cross compiling; assumed OK... $ac_c"
32176 cat >conftest.
$ac_ext <<_ACEOF
32177 #line $LINENO "configure"
32180 cat confdefs.h
>>conftest.
$ac_ext
32181 cat >>conftest.
$ac_ext <<_ACEOF
32182 /* end confdefs.h. */
32185 #include <stdlib.h>
32186 #include <string.h>
32190 my_strdup (char *str)
32196 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
32197 strcpy (new_str, str);
32205 int main (int argc, char *argv[])
32207 int major, minor, micro;
32210 /* This hangs on some systems (?)
32211 system ("touch conf.sdltest");
32213 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
32215 /* HP/UX 9 (%@#!) writes to sscanf strings */
32216 tmp_version = my_strdup("$min_sdl_version");
32217 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32218 printf("%s, bad version string\n", "$min_sdl_version");
32222 if (($sdl_major_version > major) ||
32223 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
32224 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
32230 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
32231 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
32232 printf("*** best to upgrade to the required version.\n");
32233 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
32234 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
32235 printf("*** config.cache before re-running configure\n");
32242 rm -f conftest
$ac_exeext
32243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32244 (eval $ac_link) 2>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32255 echo "$as_me: program exited with status $ac_status" >&5
32256 echo "$as_me: failed program was:" >&5
32257 sed 's/^/| /' conftest.
$ac_ext >&5
32259 ( exit $ac_status )
32262 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32264 CFLAGS
="$ac_save_CFLAGS"
32265 LIBS
="$ac_save_LIBS"
32268 if test "x$no_sdl" = x
; then
32269 echo "$as_me:$LINENO: result: yes" >&5
32270 echo "${ECHO_T}yes" >&6
32272 EXTRALIBS_SDL
="$SDL_LIBS"
32273 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
32274 cat >>confdefs.h
<<\_ACEOF
32275 #define wxUSE_LIBSDL 1
32280 echo "$as_me:$LINENO: result: no" >&5
32281 echo "${ECHO_T}no" >&6
32282 if test "$SDL_CONFIG" = "no" ; then
32283 echo "*** The sdl-config script installed by SDL could not be found"
32284 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
32285 echo "*** your path, or set the SDL_CONFIG environment variable to the"
32286 echo "*** full path to sdl-config."
32288 if test -f conf.sdltest
; then
32291 echo "*** Could not run SDL test program, checking why..."
32292 CFLAGS
="$CFLAGS $SDL_CFLAGS"
32293 LIBS
="$LIBS $SDL_LIBS"
32294 cat >conftest.
$ac_ext <<_ACEOF
32295 #line $LINENO "configure"
32298 cat confdefs.h
>>conftest.
$ac_ext
32299 cat >>conftest.
$ac_ext <<_ACEOF
32300 /* end confdefs.h. */
32305 int main(int argc, char *argv[])
32308 #define main K_and_R_C_main
32318 rm -f conftest.
$ac_objext conftest
$ac_exeext
32319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32320 (eval $ac_link) 2>&5
32322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32323 (exit $ac_status); } &&
32324 { ac_try
='test -s conftest$ac_exeext'
32325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32326 (eval $ac_try) 2>&5
32328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32329 (exit $ac_status); }; }; then
32330 echo "*** The test program compiled, but did not run. This usually means"
32331 echo "*** that the run-time linker is not finding SDL or finding the wrong"
32332 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
32333 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32334 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32335 echo "*** is required on your system"
32337 echo "*** If you have an old version installed, it is best to remove it, although"
32338 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.
$ac_ext >&5
32343 echo "*** The test program failed to compile or link. See the file config.log for the"
32344 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
32345 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
32346 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
32348 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32349 CFLAGS
="$ac_save_CFLAGS"
32350 LIBS
="$ac_save_LIBS"
32361 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
32367 cat >>confdefs.h
<<\_ACEOF
32368 #define wxUSE_SOUND 1
32371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
32374 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32375 cat >>confdefs.h
<<\_ACEOF
32376 #define wxUSE_CMDLINE_PARSER 1
32381 if test "$wxUSE_STOPWATCH" = "yes"; then
32382 cat >>confdefs.h
<<\_ACEOF
32383 #define wxUSE_STOPWATCH 1
32388 if test "$wxUSE_DATETIME" = "yes"; then
32389 cat >>confdefs.h
<<\_ACEOF
32390 #define wxUSE_DATETIME 1
32395 if test "$wxUSE_FILE" = "yes"; then
32396 cat >>confdefs.h
<<\_ACEOF
32397 #define wxUSE_FILE 1
32402 if test "$wxUSE_FFILE" = "yes"; then
32403 cat >>confdefs.h
<<\_ACEOF
32404 #define wxUSE_FFILE 1
32409 if test "$wxUSE_FILESYSTEM" = "yes"; then
32410 cat >>confdefs.h
<<\_ACEOF
32411 #define wxUSE_FILESYSTEM 1
32416 if test "$wxUSE_FS_ZIP" = "yes"; then
32417 cat >>confdefs.h
<<\_ACEOF
32418 #define wxUSE_FS_ZIP 1
32423 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32424 cat >>confdefs.h
<<\_ACEOF
32425 #define wxUSE_ZIPSTREAM 1
32430 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32431 cat >>confdefs.h
<<\_ACEOF
32432 #define wxUSE_ON_FATAL_EXCEPTION 1
32437 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32438 cat >>confdefs.h
<<\_ACEOF
32439 #define wxUSE_SNGLINST_CHECKER 1
32444 if test "$wxUSE_BUSYINFO" = "yes"; then
32445 cat >>confdefs.h
<<\_ACEOF
32446 #define wxUSE_BUSYINFO 1
32451 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32452 cat >>confdefs.h
<<\_ACEOF
32453 #define wxUSE_STD_IOSTREAM 1
32458 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32459 cat >>confdefs.h
<<\_ACEOF
32460 #define wxUSE_TEXTBUFFER 1
32465 if test "$wxUSE_TEXTFILE" = "yes"; then
32466 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32467 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32468 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32470 cat >>confdefs.h
<<\_ACEOF
32471 #define wxUSE_TEXTFILE 1
32477 if test "$wxUSE_CONFIG" = "yes" ; then
32478 if test "$wxUSE_TEXTFILE" != "yes"; then
32479 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32480 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32482 cat >>confdefs.h
<<\_ACEOF
32483 #define wxUSE_CONFIG 1
32486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
32490 if test "$wxUSE_INTL" = "yes" ; then
32491 if test "$wxUSE_FILE" != "yes"; then
32492 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32493 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32495 cat >>confdefs.h
<<\_ACEOF
32496 #define wxUSE_INTL 1
32499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
32500 GUIDIST
="$GUIDIST INTL_DIST"
32504 if test "$wxUSE_LOG" = "yes"; then
32505 cat >>confdefs.h
<<\_ACEOF
32506 #define wxUSE_LOG 1
32510 if test "$wxUSE_LOGGUI" = "yes"; then
32511 cat >>confdefs.h
<<\_ACEOF
32512 #define wxUSE_LOGGUI 1
32517 if test "$wxUSE_LOGWINDOW" = "yes"; then
32518 cat >>confdefs.h
<<\_ACEOF
32519 #define wxUSE_LOGWINDOW 1
32524 if test "$wxUSE_LOGDIALOG" = "yes"; then
32525 cat >>confdefs.h
<<\_ACEOF
32526 #define wxUSE_LOG_DIALOG 1
32532 if test "$wxUSE_LONGLONG" = "yes"; then
32533 cat >>confdefs.h
<<\_ACEOF
32534 #define wxUSE_LONGLONG 1
32539 if test "$wxUSE_GEOMETRY" = "yes"; then
32540 cat >>confdefs.h
<<\_ACEOF
32541 #define wxUSE_GEOMETRY 1
32546 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32547 cat >>confdefs.h
<<\_ACEOF
32548 #define wxUSE_DIALUP_MANAGER 1
32551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
32554 if test "$wxUSE_STREAMS" = "yes" ; then
32555 cat >>confdefs.h
<<\_ACEOF
32556 #define wxUSE_STREAMS 1
32562 if test "$wxUSE_DATETIME" = "yes"; then
32564 for ac_func
in strptime
32566 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32567 echo "$as_me:$LINENO: checking for $ac_func" >&5
32568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32569 if eval "test \"\${$as_ac_var+set}\" = set"; then
32570 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 cat >conftest.
$ac_ext <<_ACEOF
32573 #line $LINENO "configure"
32576 cat confdefs.h
>>conftest.
$ac_ext
32577 cat >>conftest.
$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579 /* System header to define __stub macros and hopefully few prototypes,
32580 which can conflict with char $ac_func (); below.
32581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32582 <limits.h> exists even on freestanding compilers. */
32584 # include <limits.h>
32586 # include <assert.h>
32588 /* Override any gcc2 internal prototype to avoid an error. */
32593 /* We use char because int might match the return type of a gcc2
32594 builtin and then its argument prototype would still apply. */
32596 /* The GNU C library defines this for functions which it implements
32597 to always fail with ENOSYS. Some functions are actually named
32598 something starting with __ and the normal name is an alias. */
32599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32602 char (*f) () = $ac_func;
32611 return f != $ac_func;
32616 rm -f conftest.
$ac_objext conftest
$ac_exeext
32617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32618 (eval $ac_link) 2>&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); } &&
32622 { ac_try
='test -s conftest$ac_exeext'
32623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32624 (eval $ac_try) 2>&5
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); }; }; then
32628 eval "$as_ac_var=yes"
32630 echo "$as_me: failed program was:" >&5
32631 sed 's/^/| /' conftest.
$ac_ext >&5
32633 eval "$as_ac_var=no"
32635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32639 if test `eval echo '${'$as_ac_var'}'` = yes; then
32640 cat >>confdefs.h
<<_ACEOF
32641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32648 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
32649 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
32650 if test "${wx_cv_var_timezone+set}" = set; then
32651 echo $ECHO_N "(cached) $ECHO_C" >&6
32654 cat >conftest.
$ac_ext <<_ACEOF
32655 #line $LINENO "configure"
32658 cat confdefs.h
>>conftest.
$ac_ext
32659 cat >>conftest.
$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32675 rm -f conftest.
$ac_objext
32676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32677 (eval $ac_compile) 2>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } &&
32681 { ac_try
='test -s conftest.$ac_objext'
32682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683 (eval $ac_try) 2>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); }; }; then
32688 wx_cv_var_timezone
=timezone
32691 echo "$as_me: failed program was:" >&5
32692 sed 's/^/| /' conftest.
$ac_ext >&5
32695 cat >conftest.
$ac_ext <<_ACEOF
32696 #line $LINENO "configure"
32699 cat confdefs.h
>>conftest.
$ac_ext
32700 cat >>conftest.
$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32716 rm -f conftest.
$ac_objext
32717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32718 (eval $ac_compile) 2>&5
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); } &&
32722 { ac_try
='test -s conftest.$ac_objext'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; }; then
32729 wx_cv_var_timezone
=_timezone
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.
$ac_ext >&5
32736 cat >conftest.
$ac_ext <<_ACEOF
32737 #line $LINENO "configure"
32740 cat confdefs.h
>>conftest.
$ac_ext
32741 cat >>conftest.
$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32757 rm -f conftest.
$ac_objext
32758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32759 (eval $ac_compile) 2>&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); } &&
32763 { ac_try
='test -s conftest.$ac_objext'
32764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32765 (eval $ac_try) 2>&5
32767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32768 (exit $ac_status); }; }; then
32770 wx_cv_var_timezone
=__timezone
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.
$ac_ext >&5
32777 if test "$USE_DOS" = 0 ; then
32778 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
32779 echo "$as_me: WARNING: no timezone variable" >&2;}
32784 rm -f conftest.
$ac_objext conftest.
$ac_ext
32788 rm -f conftest.
$ac_objext conftest.
$ac_ext
32792 rm -f conftest.
$ac_objext conftest.
$ac_ext
32796 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
32797 echo "${ECHO_T}$wx_cv_var_timezone" >&6
32799 if test "x$wx_cv_var_timezone" != x
; then
32800 cat >>confdefs.h
<<_ACEOF
32801 #define WX_TIMEZONE $wx_cv_var_timezone
32807 for ac_func
in localtime
32809 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32810 echo "$as_me:$LINENO: checking for $ac_func" >&5
32811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32812 if eval "test \"\${$as_ac_var+set}\" = set"; then
32813 echo $ECHO_N "(cached) $ECHO_C" >&6
32815 cat >conftest.
$ac_ext <<_ACEOF
32816 #line $LINENO "configure"
32819 cat confdefs.h
>>conftest.
$ac_ext
32820 cat >>conftest.
$ac_ext <<_ACEOF
32821 /* end confdefs.h. */
32822 /* System header to define __stub macros and hopefully few prototypes,
32823 which can conflict with char $ac_func (); below.
32824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32825 <limits.h> exists even on freestanding compilers. */
32827 # include <limits.h>
32829 # include <assert.h>
32831 /* Override any gcc2 internal prototype to avoid an error. */
32836 /* We use char because int might match the return type of a gcc2
32837 builtin and then its argument prototype would still apply. */
32839 /* The GNU C library defines this for functions which it implements
32840 to always fail with ENOSYS. Some functions are actually named
32841 something starting with __ and the normal name is an alias. */
32842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32845 char (*f) () = $ac_func;
32854 return f != $ac_func;
32859 rm -f conftest.
$ac_objext conftest
$ac_exeext
32860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32861 (eval $ac_link) 2>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } &&
32865 { ac_try
='test -s conftest$ac_exeext'
32866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867 (eval $ac_try) 2>&5
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); }; }; then
32871 eval "$as_ac_var=yes"
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.
$ac_ext >&5
32876 eval "$as_ac_var=no"
32878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32882 if test `eval echo '${'$as_ac_var'}'` = yes; then
32883 cat >>confdefs.h
<<_ACEOF
32884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32891 if test "$ac_cv_func_localtime" = "yes"; then
32892 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
32893 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
32894 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
32895 echo $ECHO_N "(cached) $ECHO_C" >&6
32898 cat >conftest.
$ac_ext <<_ACEOF
32899 #line $LINENO "configure"
32902 cat confdefs.h
>>conftest.
$ac_ext
32903 cat >>conftest.
$ac_ext <<_ACEOF
32904 /* end confdefs.h. */
32919 rm -f conftest.
$ac_objext
32920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32921 (eval $ac_compile) 2>&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); } &&
32925 { ac_try
='test -s conftest.$ac_objext'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; }; then
32932 wx_cv_struct_tm_has_gmtoff
=yes
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.
$ac_ext >&5
32938 wx_cv_struct_tm_has_gmtoff
=no
32941 rm -f conftest.
$ac_objext conftest.
$ac_ext
32944 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
32945 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
32948 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
32949 cat >>confdefs.h
<<\_ACEOF
32950 #define WX_GMTOFF_IN_TM 1
32957 for ac_func
in gettimeofday ftime
32959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32960 echo "$as_me:$LINENO: checking for $ac_func" >&5
32961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32962 if eval "test \"\${$as_ac_var+set}\" = set"; then
32963 echo $ECHO_N "(cached) $ECHO_C" >&6
32965 cat >conftest.
$ac_ext <<_ACEOF
32966 #line $LINENO "configure"
32969 cat confdefs.h
>>conftest.
$ac_ext
32970 cat >>conftest.
$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32972 /* System header to define __stub macros and hopefully few prototypes,
32973 which can conflict with char $ac_func (); below.
32974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32975 <limits.h> exists even on freestanding compilers. */
32977 # include <limits.h>
32979 # include <assert.h>
32981 /* Override any gcc2 internal prototype to avoid an error. */
32986 /* We use char because int might match the return type of a gcc2
32987 builtin and then its argument prototype would still apply. */
32989 /* The GNU C library defines this for functions which it implements
32990 to always fail with ENOSYS. Some functions are actually named
32991 something starting with __ and the normal name is an alias. */
32992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32995 char (*f) () = $ac_func;
33004 return f != $ac_func;
33009 rm -f conftest.
$ac_objext conftest
$ac_exeext
33010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33011 (eval $ac_link) 2>&5
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); } &&
33015 { ac_try
='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
33023 echo "$as_me: failed program was:" >&5
33024 sed 's/^/| /' conftest.
$ac_ext >&5
33026 eval "$as_ac_var=no"
33028 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33032 if test `eval echo '${'$as_ac_var'}'` = yes; then
33033 cat >>confdefs.h
<<_ACEOF
33034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33041 if test "$ac_cv_func_gettimeofday" = "yes"; then
33042 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
33043 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
33044 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33051 ac_cpp
='$CXXCPP $CPPFLAGS'
33052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33057 cat >conftest.
$ac_ext <<_ACEOF
33058 #line $LINENO "configure"
33061 cat confdefs.h
>>conftest.
$ac_ext
33062 cat >>conftest.
$ac_ext <<_ACEOF
33063 /* end confdefs.h. */
33065 #include <sys/time.h>
33066 #include <unistd.h>
33073 gettimeofday(&tv, NULL);
33079 rm -f conftest.
$ac_objext
33080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33081 (eval $ac_compile) 2>&5
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); } &&
33085 { ac_try
='test -s conftest.$ac_objext'
33086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087 (eval $ac_try) 2>&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); }; }; then
33091 wx_cv_func_gettimeofday_has_2_args
=yes
33093 echo "$as_me: failed program was:" >&5
33094 sed 's/^/| /' conftest.
$ac_ext >&5
33096 cat >conftest.
$ac_ext <<_ACEOF
33097 #line $LINENO "configure"
33100 cat confdefs.h
>>conftest.
$ac_ext
33101 cat >>conftest.
$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33104 #include <sys/time.h>
33105 #include <unistd.h>
33118 rm -f conftest.
$ac_objext
33119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33120 (eval $ac_compile) 2>&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } &&
33124 { ac_try
='test -s conftest.$ac_objext'
33125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126 (eval $ac_try) 2>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; }; then
33130 wx_cv_func_gettimeofday_has_2_args
=no
33132 echo "$as_me: failed program was:" >&5
33133 sed 's/^/| /' conftest.
$ac_ext >&5
33136 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
33137 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
33138 wx_cv_func_gettimeofday_has_2_args
=unknown
33142 rm -f conftest.
$ac_objext conftest.
$ac_ext
33145 rm -f conftest.
$ac_objext conftest.
$ac_ext
33147 ac_cpp
='$CPP $CPPFLAGS'
33148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33154 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
33155 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
33157 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
33158 cat >>confdefs.h
<<\_ACEOF
33159 #define WX_GETTIMEOFDAY_NO_TZ 1
33165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
33169 if test "$wxUSE_SOCKETS" = "yes"; then
33170 if test "$wxUSE_MGL" = "1"; then
33171 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
33172 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
33177 if test "$wxUSE_SOCKETS" = "yes"; then
33178 if test "$TOOLKIT" != "MSW"; then
33179 echo "$as_me:$LINENO: checking for socket" >&5
33180 echo $ECHO_N "checking for socket... $ECHO_C" >&6
33181 if test "${ac_cv_func_socket+set}" = set; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 cat >conftest.
$ac_ext <<_ACEOF
33185 #line $LINENO "configure"
33188 cat confdefs.h
>>conftest.
$ac_ext
33189 cat >>conftest.
$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 /* System header to define __stub macros and hopefully few prototypes,
33192 which can conflict with char socket (); below.
33193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33194 <limits.h> exists even on freestanding compilers. */
33196 # include <limits.h>
33198 # include <assert.h>
33200 /* Override any gcc2 internal prototype to avoid an error. */
33205 /* We use char because int might match the return type of a gcc2
33206 builtin and then its argument prototype would still apply. */
33208 /* The GNU C library defines this for functions which it implements
33209 to always fail with ENOSYS. Some functions are actually named
33210 something starting with __ and the normal name is an alias. */
33211 #if defined (__stub_socket) || defined (__stub___socket)
33214 char (*f) () = socket;
33223 return f != socket;
33228 rm -f conftest.
$ac_objext conftest
$ac_exeext
33229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33230 (eval $ac_link) 2>&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); } &&
33234 { ac_try
='test -s conftest$ac_exeext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 ac_cv_func_socket
=yes
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.
$ac_ext >&5
33245 ac_cv_func_socket
=no
33247 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33249 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
33250 echo "${ECHO_T}$ac_cv_func_socket" >&6
33251 if test $ac_cv_func_socket = yes; then
33255 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
33256 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
33257 if test "${ac_cv_lib_socket_socket+set}" = set; then
33258 echo $ECHO_N "(cached) $ECHO_C" >&6
33260 ac_check_lib_save_LIBS
=$LIBS
33261 LIBS
="-lsocket $LIBS"
33262 cat >conftest.
$ac_ext <<_ACEOF
33263 #line $LINENO "configure"
33266 cat confdefs.h
>>conftest.
$ac_ext
33267 cat >>conftest.
$ac_ext <<_ACEOF
33268 /* end confdefs.h. */
33270 /* Override any gcc2 internal prototype to avoid an error. */
33274 /* We use char because int might match the return type of a gcc2
33275 builtin and then its argument prototype would still apply. */
33285 rm -f conftest.
$ac_objext conftest
$ac_exeext
33286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33287 (eval $ac_link) 2>&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); } &&
33291 { ac_try
='test -s conftest$ac_exeext'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; }; then
33297 ac_cv_lib_socket_socket
=yes
33299 echo "$as_me: failed program was:" >&5
33300 sed 's/^/| /' conftest.
$ac_ext >&5
33302 ac_cv_lib_socket_socket
=no
33304 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33305 LIBS
=$ac_check_lib_save_LIBS
33307 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
33308 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
33309 if test $ac_cv_lib_socket_socket = yes; then
33310 if test "$INET_LINK" != " -lsocket"; then
33311 INET_LINK
="$INET_LINK -lsocket"
33315 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
33316 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33329 if test "$wxUSE_SOCKETS" = "yes" ; then
33330 if test "$TOOLKIT" != "MSW"; then
33331 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33332 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33333 if test "${wx_cv_type_getsockname3+set}" = set; then
33334 echo $ECHO_N "(cached) $ECHO_C" >&6
33337 cat >conftest.
$ac_ext <<_ACEOF
33338 #line $LINENO "configure"
33341 cat confdefs.h
>>conftest.
$ac_ext
33342 cat >>conftest.
$ac_ext <<_ACEOF
33343 /* end confdefs.h. */
33345 #include <sys/types.h>
33346 #include <sys/socket.h>
33353 getsockname(0, 0, &len);
33359 rm -f conftest.
$ac_objext
33360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33361 (eval $ac_compile) 2>&5
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); } &&
33365 { ac_try
='test -s conftest.$ac_objext'
33366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33367 (eval $ac_try) 2>&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; }; then
33371 wx_cv_type_getsockname3
=socklen_t
33373 echo "$as_me: failed program was:" >&5
33374 sed 's/^/| /' conftest.
$ac_ext >&5
33377 CFLAGS_OLD
="$CFLAGS"
33378 if test "$GCC" = yes ; then
33379 CFLAGS
="$CFLAGS -Werror"
33382 cat >conftest.
$ac_ext <<_ACEOF
33383 #line $LINENO "configure"
33386 cat confdefs.h
>>conftest.
$ac_ext
33387 cat >>conftest.
$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33390 #include <sys/types.h>
33391 #include <sys/socket.h>
33398 getsockname(0, 0, &len);
33404 rm -f conftest.
$ac_objext
33405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33406 (eval $ac_compile) 2>&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); } &&
33410 { ac_try
='test -s conftest.$ac_objext'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; }; then
33416 wx_cv_type_getsockname3
=size_t
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.
$ac_ext >&5
33421 cat >conftest.
$ac_ext <<_ACEOF
33422 #line $LINENO "configure"
33425 cat confdefs.h
>>conftest.
$ac_ext
33426 cat >>conftest.
$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33429 #include <sys/types.h>
33430 #include <sys/socket.h>
33437 getsockname(0, 0, &len);
33443 rm -f conftest.
$ac_objext
33444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33445 (eval $ac_compile) 2>&5
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); } &&
33449 { ac_try
='test -s conftest.$ac_objext'
33450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33451 (eval $ac_try) 2>&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); }; }; then
33455 wx_cv_type_getsockname3
=int
33457 echo "$as_me: failed program was:" >&5
33458 sed 's/^/| /' conftest.
$ac_ext >&5
33460 wx_cv_type_getsockname3
=unknown
33463 rm -f conftest.
$ac_objext conftest.
$ac_ext
33466 rm -f conftest.
$ac_objext conftest.
$ac_ext
33468 CFLAGS
="$CFLAGS_OLD"
33472 rm -f conftest.
$ac_objext conftest.
$ac_ext
33475 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
33476 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
33478 if test "$wx_cv_type_getsockname3" = "unknown"; then
33480 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
33481 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
33483 cat >>confdefs.h
<<_ACEOF
33484 #define SOCKLEN_T $wx_cv_type_getsockname3
33491 if test "$wxUSE_SOCKETS" = "yes" ; then
33492 cat >>confdefs.h
<<\_ACEOF
33493 #define wxUSE_SOCKETS 1
33496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
33499 if test "$wxUSE_PROTOCOL" = "yes"; then
33500 if test "$wxUSE_SOCKETS" != "yes"; then
33501 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
33502 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
33507 if test "$wxUSE_PROTOCOL" = "yes"; then
33508 cat >>confdefs.h
<<\_ACEOF
33509 #define wxUSE_PROTOCOL 1
33513 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
33514 cat >>confdefs.h
<<\_ACEOF
33515 #define wxUSE_PROTOCOL_HTTP 1
33519 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
33520 cat >>confdefs.h
<<\_ACEOF
33521 #define wxUSE_PROTOCOL_FTP 1
33525 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
33526 cat >>confdefs.h
<<\_ACEOF
33527 #define wxUSE_PROTOCOL_FILE 1
33532 if test "$wxUSE_FS_INET" = "yes"; then
33533 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
33534 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
33539 if test "$wxUSE_URL" = "yes"; then
33540 if test "$wxUSE_PROTOCOL" != "yes"; then
33541 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
33542 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
33545 if test "$wxUSE_URL" = "yes"; then
33546 cat >>confdefs.h
<<\_ACEOF
33547 #define wxUSE_URL 1
33553 if test "$wxUSE_FS_INET" = "yes"; then
33554 cat >>confdefs.h
<<\_ACEOF
33555 #define wxUSE_FS_INET 1
33561 if test "$wxUSE_GUI" = "yes"; then
33563 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
33564 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
33565 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
33569 if test "$TOOLKIT" != "MSW"; then
33570 if test "$wxUSE_JOYSTICK" = "yes"; then
33572 for ac_header
in linux
/joystick.h
33574 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33576 echo "$as_me:$LINENO: checking for $ac_header" >&5
33577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33584 # Is the header compilable?
33585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33587 cat >conftest.
$ac_ext <<_ACEOF
33588 #line $LINENO "configure"
33591 cat confdefs.h
>>conftest.
$ac_ext
33592 cat >>conftest.
$ac_ext <<_ACEOF
33593 /* end confdefs.h. */
33594 $ac_includes_default
33595 #include <$ac_header>
33597 rm -f conftest.
$ac_objext
33598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33599 (eval $ac_compile) 2>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } &&
33603 { ac_try
='test -s conftest.$ac_objext'
33604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605 (eval $ac_try) 2>&5
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; }; then
33609 ac_header_compiler
=yes
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.
$ac_ext >&5
33614 ac_header_compiler
=no
33616 rm -f conftest.
$ac_objext conftest.
$ac_ext
33617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33618 echo "${ECHO_T}$ac_header_compiler" >&6
33620 # Is the header present?
33621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33623 cat >conftest.
$ac_ext <<_ACEOF
33624 #line $LINENO "configure"
33627 cat confdefs.h
>>conftest.
$ac_ext
33628 cat >>conftest.
$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33630 #include <$ac_header>
33632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33633 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33635 grep -v '^ *+' conftest.er1
>conftest.err
33637 cat conftest.err
>&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } >/dev
/null
; then
33640 if test -s conftest.err
; then
33641 ac_cpp_err
=$ac_c_preproc_warn_flag
33648 if test -z "$ac_cpp_err"; then
33649 ac_header_preproc
=yes
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.
$ac_ext >&5
33654 ac_header_preproc
=no
33656 rm -f conftest.err conftest.
$ac_ext
33657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33658 echo "${ECHO_T}$ac_header_preproc" >&6
33660 # So? What about this header?
33661 case $ac_header_compiler:$ac_header_preproc in
33663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33666 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33669 ## ------------------------------------ ##
33670 ## Report this to bug-autoconf@gnu.org. ##
33671 ## ------------------------------------ ##
33674 sed "s/^/$as_me: WARNING: /" >&2
33677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33680 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33685 ## ------------------------------------ ##
33686 ## Report this to bug-autoconf@gnu.org. ##
33687 ## ------------------------------------ ##
33690 sed "s/^/$as_me: WARNING: /" >&2
33693 echo "$as_me:$LINENO: checking for $ac_header" >&5
33694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33698 eval "$as_ac_Header=$ac_header_preproc"
33700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33705 cat >>confdefs.h
<<_ACEOF
33706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33713 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
33715 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
33716 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
33721 if test "$wxUSE_JOYSTICK" = "yes"; then
33722 cat >>confdefs.h
<<\_ACEOF
33723 #define wxUSE_JOYSTICK 1
33726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
33732 if test "$wxUSE_FONTMAP" = "yes" ; then
33733 cat >>confdefs.h
<<\_ACEOF
33734 #define wxUSE_FONTMAP 1
33739 if test "$wxUSE_UNICODE" = "yes" ; then
33740 cat >>confdefs.h
<<\_ACEOF
33741 #define wxUSE_UNICODE 1
33745 if test "$USE_WIN32" != 1; then
33746 wxUSE_UNICODE_MSLU
=no
33749 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
33750 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
33751 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
33752 if test "${ac_cv_lib_unicows_main+set}" = set; then
33753 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 ac_check_lib_save_LIBS
=$LIBS
33756 LIBS
="-lunicows $LIBS"
33757 cat >conftest.
$ac_ext <<_ACEOF
33758 #line $LINENO "configure"
33761 cat confdefs.h
>>conftest.
$ac_ext
33762 cat >>conftest.
$ac_ext <<_ACEOF
33763 /* end confdefs.h. */
33774 rm -f conftest.
$ac_objext conftest
$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); } &&
33780 { ac_try
='test -s conftest$ac_exeext'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; }; then
33786 ac_cv_lib_unicows_main
=yes
33788 echo "$as_me: failed program was:" >&5
33789 sed 's/^/| /' conftest.
$ac_ext >&5
33791 ac_cv_lib_unicows_main
=no
33793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33794 LIBS
=$ac_check_lib_save_LIBS
33796 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
33797 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
33798 if test $ac_cv_lib_unicows_main = yes; then
33800 cat >>confdefs.h
<<\_ACEOF
33801 #define wxUSE_UNICODE_MSLU 1
33807 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33808 Applications will only run on Windows NT/2000/XP!" >&5
33809 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33810 Applications will only run on Windows NT/2000/XP!" >&2;}
33811 wxUSE_UNICODE_MSLU
=no
33818 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
33819 cat >>confdefs.h
<<\_ACEOF
33820 #define wxUSE_EXPERIMENTAL_PRINTF 1
33826 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
33827 cat >>confdefs.h
<<\_ACEOF
33828 #define wxUSE_POSTSCRIPT 1
33833 cat >>confdefs.h
<<\_ACEOF
33834 #define wxUSE_AFM_FOR_POSTSCRIPT 1
33838 cat >>confdefs.h
<<\_ACEOF
33839 #define wxUSE_NORMALIZED_PS_FONTS 1
33844 if test "$wxUSE_CONSTRAINTS" = "yes"; then
33845 cat >>confdefs.h
<<\_ACEOF
33846 #define wxUSE_CONSTRAINTS 1
33849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
33852 if test "$wxUSE_MDI" = "yes"; then
33853 cat >>confdefs.h
<<\_ACEOF
33854 #define wxUSE_MDI 1
33858 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33859 cat >>confdefs.h
<<\_ACEOF
33860 #define wxUSE_MDI_ARCHITECTURE 1
33863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
33867 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
33868 cat >>confdefs.h
<<\_ACEOF
33869 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
33872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
33873 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
33878 if test "$wxUSE_HELP" = "yes"; then
33879 cat >>confdefs.h
<<\_ACEOF
33880 #define wxUSE_HELP 1
33883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
33885 if test "$wxUSE_MSW" = 1; then
33886 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
33887 cat >>confdefs.h
<<\_ACEOF
33888 #define wxUSE_MS_HTML_HELP 1
33894 if test "$wxUSE_WXHTML_HELP" = "yes"; then
33895 if test "$wxUSE_HTML" = "yes"; then
33896 cat >>confdefs.h
<<\_ACEOF
33897 #define wxUSE_WXHTML_HELP 1
33901 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
33902 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
33903 wxUSE_WXHTML_HELP
=no
33908 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33909 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33910 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
33911 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
33913 cat >>confdefs.h
<<\_ACEOF
33914 #define wxUSE_PRINTING_ARCHITECTURE 1
33918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
33921 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
33922 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
33923 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
33924 { (exit 1); exit 1; }; }
33928 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
33929 -o "$wxUSE_CLIPBOARD" = "yes" \
33930 -o "$wxUSE_OLE" = "yes" \
33931 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
33933 for ac_header
in ole2.h
33935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33937 echo "$as_me:$LINENO: checking for $ac_header" >&5
33938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33940 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33945 # Is the header compilable?
33946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33948 cat >conftest.
$ac_ext <<_ACEOF
33949 #line $LINENO "configure"
33952 cat confdefs.h
>>conftest.
$ac_ext
33953 cat >>conftest.
$ac_ext <<_ACEOF
33954 /* end confdefs.h. */
33955 $ac_includes_default
33956 #include <$ac_header>
33958 rm -f conftest.
$ac_objext
33959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33960 (eval $ac_compile) 2>&5
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); } &&
33964 { ac_try
='test -s conftest.$ac_objext'
33965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33966 (eval $ac_try) 2>&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); }; }; then
33970 ac_header_compiler
=yes
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.
$ac_ext >&5
33975 ac_header_compiler
=no
33977 rm -f conftest.
$ac_objext conftest.
$ac_ext
33978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33979 echo "${ECHO_T}$ac_header_compiler" >&6
33981 # Is the header present?
33982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33984 cat >conftest.
$ac_ext <<_ACEOF
33985 #line $LINENO "configure"
33988 cat confdefs.h
>>conftest.
$ac_ext
33989 cat >>conftest.
$ac_ext <<_ACEOF
33990 /* end confdefs.h. */
33991 #include <$ac_header>
33993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33996 grep -v '^ *+' conftest.er1
>conftest.err
33998 cat conftest.err
>&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); } >/dev
/null
; then
34001 if test -s conftest.err
; then
34002 ac_cpp_err
=$ac_c_preproc_warn_flag
34009 if test -z "$ac_cpp_err"; then
34010 ac_header_preproc
=yes
34012 echo "$as_me: failed program was:" >&5
34013 sed 's/^/| /' conftest.
$ac_ext >&5
34015 ac_header_preproc
=no
34017 rm -f conftest.err conftest.
$ac_ext
34018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34019 echo "${ECHO_T}$ac_header_preproc" >&6
34021 # So? What about this header?
34022 case $ac_header_compiler:$ac_header_preproc in
34024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34030 ## ------------------------------------ ##
34031 ## Report this to bug-autoconf@gnu.org. ##
34032 ## ------------------------------------ ##
34035 sed "s/^/$as_me: WARNING: /" >&2
34038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34046 ## ------------------------------------ ##
34047 ## Report this to bug-autoconf@gnu.org. ##
34048 ## ------------------------------------ ##
34051 sed "s/^/$as_me: WARNING: /" >&2
34054 echo "$as_me:$LINENO: checking for $ac_header" >&5
34055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 eval "$as_ac_Header=$ac_header_preproc"
34061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34066 cat >>confdefs.h
<<_ACEOF
34067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34075 if test "$ac_cv_header_ole2_h" = "yes" ; then
34076 if test "$GCC" = yes ; then
34080 ac_cpp
='$CXXCPP $CPPFLAGS'
34081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34086 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
34087 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
34088 cat >conftest.
$ac_ext <<_ACEOF
34089 #line $LINENO "configure"
34092 cat confdefs.h
>>conftest.
$ac_ext
34093 cat >>conftest.
$ac_ext <<_ACEOF
34094 /* end confdefs.h. */
34095 #include <windows.h>
34105 rm -f conftest.
$ac_objext
34106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34107 (eval $ac_compile) 2>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); } &&
34111 { ac_try
='test -s conftest.$ac_objext'
34112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34113 (eval $ac_try) 2>&5
34115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34116 (exit $ac_status); }; }; then
34117 echo "$as_me:$LINENO: result: no" >&5
34118 echo "${ECHO_T}no" >&6
34120 echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.
$ac_ext >&5
34123 echo "$as_me:$LINENO: result: yes" >&5
34124 echo "${ECHO_T}yes" >&6
34125 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
34127 rm -f conftest.
$ac_objext conftest.
$ac_ext
34129 ac_cpp
='$CPP $CPPFLAGS'
34130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34134 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
34135 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
34136 if test "$wxUSE_OLE" = "yes" ; then
34137 cat >>confdefs.h
<<\_ACEOF
34138 #define wxUSE_OLE 1
34144 if test "$wxUSE_DATAOBJ" = "yes" ; then
34145 cat >>confdefs.h
<<\_ACEOF
34146 #define wxUSE_DATAOBJ 1
34151 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
34152 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
34155 wxUSE_DRAG_AND_DROP
=no
34160 if test "$wxUSE_METAFILE" = "yes"; then
34161 cat >>confdefs.h
<<\_ACEOF
34162 #define wxUSE_METAFILE 1
34166 cat >>confdefs.h
<<\_ACEOF
34167 #define wxUSE_ENH_METAFILE 1
34173 if test "$wxUSE_IPC" = "yes"; then
34174 if test "$wxUSE_SOCKETS" != "yes"; then
34175 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
34176 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
34179 cat >>confdefs.h
<<\_ACEOF
34180 #define wxUSE_IPC 1
34185 if test "$wxUSE_CLIPBOARD" = "yes"; then
34186 if test "$wxUSE_MGL" = 1; then
34187 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
34188 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
34192 if test "$wxUSE_CLIPBOARD" = "yes"; then
34193 cat >>confdefs.h
<<\_ACEOF
34194 #define wxUSE_CLIPBOARD 1
34198 cat >>confdefs.h
<<\_ACEOF
34199 #define wxUSE_DATAOBJ 1
34205 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
34206 if test "$wxUSE_GTK" = 1; then
34207 if test "$WXGTK12" != 1; then
34208 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
34209 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
34210 wxUSE_DRAG_AND_DROP
=no
34214 if test "$wxUSE_MOTIF" = 1; then
34215 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
34216 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
34217 wxUSE_DRAG_AND_DROP
=no
34220 if test "$wxUSE_X11" = 1; then
34221 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
34222 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
34223 wxUSE_DRAG_AND_DROP
=no
34226 if test "$wxUSE_MGL" = 1; then
34227 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
34228 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
34229 wxUSE_DRAG_AND_DROP
=no
34232 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
34233 cat >>confdefs.h
<<\_ACEOF
34234 #define wxUSE_DRAG_AND_DROP 1
34241 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
34242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
34245 if test "$wxUSE_SPLINES" = "yes" ; then
34246 cat >>confdefs.h
<<\_ACEOF
34247 #define wxUSE_SPLINES 1
34254 if test "$wxUSE_CONTROLS" = "yes"; then
34258 if test "$wxUSE_ACCEL" = "yes"; then
34259 cat >>confdefs.h
<<\_ACEOF
34260 #define wxUSE_ACCEL 1
34266 if test "$wxUSE_BUTTON" = "yes"; then
34267 cat >>confdefs.h
<<\_ACEOF
34268 #define wxUSE_BUTTON 1
34274 if test "$wxUSE_BMPBUTTON" = "yes"; then
34275 cat >>confdefs.h
<<\_ACEOF
34276 #define wxUSE_BMPBUTTON 1
34282 if test "$wxUSE_CALCTRL" = "yes"; then
34283 cat >>confdefs.h
<<\_ACEOF
34284 #define wxUSE_CALENDARCTRL 1
34288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
34291 if test "$wxUSE_CARET" = "yes"; then
34292 cat >>confdefs.h
<<\_ACEOF
34293 #define wxUSE_CARET 1
34297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
34300 if test "$wxUSE_COMBOBOX" = "yes"; then
34301 cat >>confdefs.h
<<\_ACEOF
34302 #define wxUSE_COMBOBOX 1
34308 if test "$wxUSE_CHOICE" = "yes"; then
34309 cat >>confdefs.h
<<\_ACEOF
34310 #define wxUSE_CHOICE 1
34316 if test "$wxUSE_CHECKBOX" = "yes"; then
34317 cat >>confdefs.h
<<\_ACEOF
34318 #define wxUSE_CHECKBOX 1
34324 if test "$wxUSE_CHECKLST" = "yes"; then
34325 cat >>confdefs.h
<<\_ACEOF
34326 #define wxUSE_CHECKLISTBOX 1
34330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
34333 if test "$wxUSE_DISPLAY" = "yes"; then
34334 cat >>confdefs.h
<<\_ACEOF
34335 #define wxUSE_DISPLAY 1
34338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
34341 if test "$wxUSE_GAUGE" = "yes"; then
34342 cat >>confdefs.h
<<\_ACEOF
34343 #define wxUSE_GAUGE 1
34349 if test "$wxUSE_GRID" = "yes"; then
34350 cat >>confdefs.h
<<\_ACEOF
34351 #define wxUSE_GRID 1
34355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
34358 if test "$wxUSE_IMAGLIST" = "yes"; then
34359 cat >>confdefs.h
<<\_ACEOF
34360 #define wxUSE_IMAGLIST 1
34365 if test "$wxUSE_LISTBOOK" = "yes"; then
34366 cat >>confdefs.h
<<\_ACEOF
34367 #define wxUSE_LISTBOOK 1
34373 if test "$wxUSE_LISTBOX" = "yes"; then
34374 cat >>confdefs.h
<<\_ACEOF
34375 #define wxUSE_LISTBOX 1
34381 if test "$wxUSE_LISTCTRL" = "yes"; then
34382 if test "$wxUSE_IMAGLIST" = "yes"; then
34383 cat >>confdefs.h
<<\_ACEOF
34384 #define wxUSE_LISTCTRL 1
34388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
34390 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
34391 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
34395 if test "$wxUSE_NOTEBOOK" = "yes"; then
34396 cat >>confdefs.h
<<\_ACEOF
34397 #define wxUSE_NOTEBOOK 1
34401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
34405 if test "$wxUSE_RADIOBOX" = "yes"; then
34406 cat >>confdefs.h
<<\_ACEOF
34407 #define wxUSE_RADIOBOX 1
34413 if test "$wxUSE_RADIOBTN" = "yes"; then
34414 cat >>confdefs.h
<<\_ACEOF
34415 #define wxUSE_RADIOBTN 1
34421 if test "$wxUSE_SASH" = "yes"; then
34422 cat >>confdefs.h
<<\_ACEOF
34423 #define wxUSE_SASH 1
34426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
34429 if test "$wxUSE_SCROLLBAR" = "yes"; then
34430 cat >>confdefs.h
<<\_ACEOF
34431 #define wxUSE_SCROLLBAR 1
34435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
34438 if test "$wxUSE_SLIDER" = "yes"; then
34439 cat >>confdefs.h
<<\_ACEOF
34440 #define wxUSE_SLIDER 1
34446 if test "$wxUSE_SPINBTN" = "yes"; then
34447 cat >>confdefs.h
<<\_ACEOF
34448 #define wxUSE_SPINBTN 1
34454 if test "$wxUSE_SPINCTRL" = "yes"; then
34455 cat >>confdefs.h
<<\_ACEOF
34456 #define wxUSE_SPINCTRL 1
34462 if test "$wxUSE_SPLITTER" = "yes"; then
34463 cat >>confdefs.h
<<\_ACEOF
34464 #define wxUSE_SPLITTER 1
34467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
34470 if test "$wxUSE_STATBMP" = "yes"; then
34471 cat >>confdefs.h
<<\_ACEOF
34472 #define wxUSE_STATBMP 1
34478 if test "$wxUSE_STATBOX" = "yes"; then
34479 cat >>confdefs.h
<<\_ACEOF
34480 #define wxUSE_STATBOX 1
34486 if test "$wxUSE_STATTEXT" = "yes"; then
34487 cat >>confdefs.h
<<\_ACEOF
34488 #define wxUSE_STATTEXT 1
34494 if test "$wxUSE_STATLINE" = "yes"; then
34495 cat >>confdefs.h
<<\_ACEOF
34496 #define wxUSE_STATLINE 1
34502 if test "$wxUSE_STATUSBAR" = "yes"; then
34503 cat >>confdefs.h
<<\_ACEOF
34504 #define wxUSE_STATUSBAR 1
34509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
34512 if test "$wxUSE_TABDIALOG" = "yes"; then
34513 cat >>confdefs.h
<<\_ACEOF
34514 #define wxUSE_TAB_DIALOG 1
34517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
34520 if test "$wxUSE_TEXTCTRL" = "yes"; then
34521 cat >>confdefs.h
<<\_ACEOF
34522 #define wxUSE_TEXTCTRL 1
34526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
34529 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34530 if test "$wxUSE_COCOA" = 1 ; then
34531 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
34532 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
34535 if test "$wxUSE_UNIVERSAL" = "yes"; then
34536 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
34537 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
34541 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34542 cat >>confdefs.h
<<\_ACEOF
34543 #define wxUSE_TOGGLEBTN 1
34550 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
34551 cat >>confdefs.h
<<\_ACEOF
34552 #define wxUSE_TOOLBAR_SIMPLE 1
34555 wxUSE_TOOLBAR
="yes"
34559 if test "$wxUSE_TOOLBAR" = "yes"; then
34560 cat >>confdefs.h
<<\_ACEOF
34561 #define wxUSE_TOOLBAR 1
34566 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
34567 wxUSE_TOOLBAR_NATIVE
="yes"
34570 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
34571 cat >>confdefs.h
<<\_ACEOF
34572 #define wxUSE_TOOLBAR_NATIVE 1
34578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
34581 if test "$wxUSE_TOOLTIPS" = "yes"; then
34582 if test "$wxUSE_MOTIF" = 1; then
34583 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
34584 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
34586 if test "$wxUSE_UNIVERSAL" = "yes"; then
34587 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
34588 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
34590 cat >>confdefs.h
<<\_ACEOF
34591 #define wxUSE_TOOLTIPS 1
34598 if test "$wxUSE_TREECTRL" = "yes"; then
34599 if test "$wxUSE_IMAGLIST" = "yes"; then
34600 cat >>confdefs.h
<<\_ACEOF
34601 #define wxUSE_TREECTRL 1
34605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
34607 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
34608 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
34612 if test "$wxUSE_POPUPWIN" = "yes"; then
34613 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34614 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
34615 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
34617 if test "$wxUSE_PM" = 1; then
34618 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
34619 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
34621 cat >>confdefs.h
<<\_ACEOF
34622 #define wxUSE_POPUPWIN 1
34631 if test "$wxUSE_TIPWINDOW" = "yes"; then
34632 if test "$wxUSE_PM" = 1; then
34633 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
34634 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
34636 cat >>confdefs.h
<<\_ACEOF
34637 #define wxUSE_TIPWINDOW 1
34643 if test "$USES_CONTROLS" = 1; then
34644 cat >>confdefs.h
<<\_ACEOF
34645 #define wxUSE_CONTROLS 1
34651 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
34652 cat >>confdefs.h
<<\_ACEOF
34653 #define wxUSE_ACCESSIBILITY 1
34656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
34659 if test "$wxUSE_DRAGIMAGE" = "yes"; then
34660 cat >>confdefs.h
<<\_ACEOF
34661 #define wxUSE_DRAGIMAGE 1
34664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
34667 if test "$wxUSE_EXCEPTIONS" = "yes"; then
34668 cat >>confdefs.h
<<\_ACEOF
34669 #define wxUSE_EXCEPTIONS 1
34675 if test "$wxUSE_HTML" = "yes"; then
34676 cat >>confdefs.h
<<\_ACEOF
34677 #define wxUSE_HTML 1
34681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
34684 if test "$wxUSE_MENUS" = "yes"; then
34685 cat >>confdefs.h
<<\_ACEOF
34686 #define wxUSE_MENUS 1
34689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
34692 if test "$wxUSE_METAFILE" = "yes"; then
34693 cat >>confdefs.h
<<\_ACEOF
34694 #define wxUSE_METAFILE 1
34699 if test "$wxUSE_MIMETYPE" = "yes"; then
34700 cat >>confdefs.h
<<\_ACEOF
34701 #define wxUSE_MIMETYPE 1
34706 if test "$wxUSE_MINIFRAME" = "yes"; then
34707 cat >>confdefs.h
<<\_ACEOF
34708 #define wxUSE_MINIFRAME 1
34711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
34714 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
34715 cat >>confdefs.h
<<\_ACEOF
34716 #define wxUSE_SYSTEM_OPTIONS 1
34719 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
34720 "$TOOLKIT" = "MOTIF"; then
34721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
34726 if test "$wxUSE_VALIDATORS" = "yes"; then
34727 cat >>confdefs.h
<<\_ACEOF
34728 #define wxUSE_VALIDATORS 1
34731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
34734 if test "$wxUSE_PALETTE" = "yes" ; then
34735 cat >>confdefs.h
<<\_ACEOF
34736 #define wxUSE_PALETTE 1
34741 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
34742 LIBS
=" -lunicows $LIBS"
34746 if test "$wxUSE_IMAGE" = "yes" ; then
34747 cat >>confdefs.h
<<\_ACEOF
34748 #define wxUSE_IMAGE 1
34752 if test "$wxUSE_GIF" = "yes" ; then
34753 cat >>confdefs.h
<<\_ACEOF
34754 #define wxUSE_GIF 1
34759 if test "$wxUSE_PCX" = "yes" ; then
34760 cat >>confdefs.h
<<\_ACEOF
34761 #define wxUSE_PCX 1
34766 if test "$wxUSE_IFF" = "yes" ; then
34767 cat >>confdefs.h
<<\_ACEOF
34768 #define wxUSE_IFF 1
34773 if test "$wxUSE_PNM" = "yes" ; then
34774 cat >>confdefs.h
<<\_ACEOF
34775 #define wxUSE_PNM 1
34780 if test "$wxUSE_XPM" = "yes" ; then
34781 cat >>confdefs.h
<<\_ACEOF
34782 #define wxUSE_XPM 1
34787 if test "$wxUSE_ICO_CUR" = "yes" ; then
34788 cat >>confdefs.h
<<\_ACEOF
34789 #define wxUSE_ICO_CUR 1
34796 if test "$wxUSE_CHOICEDLG" = "yes"; then
34797 cat >>confdefs.h
<<\_ACEOF
34798 #define wxUSE_CHOICEDLG 1
34803 if test "$wxUSE_COLOURDLG" = "yes"; then
34804 cat >>confdefs.h
<<\_ACEOF
34805 #define wxUSE_COLOURDLG 1
34810 if test "$wxUSE_FILEDLG" = "yes"; then
34811 cat >>confdefs.h
<<\_ACEOF
34812 #define wxUSE_FILEDLG 1
34817 if test "$wxUSE_FINDREPLDLG" = "yes"; then
34818 cat >>confdefs.h
<<\_ACEOF
34819 #define wxUSE_FINDREPLDLG 1
34824 if test "$wxUSE_FONTDLG" = "yes"; then
34825 cat >>confdefs.h
<<\_ACEOF
34826 #define wxUSE_FONTDLG 1
34831 if test "$wxUSE_DIRDLG" = "yes"; then
34832 if test "$wxUSE_TREECTRL" != "yes"; then
34833 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
34834 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
34836 cat >>confdefs.h
<<\_ACEOF
34837 #define wxUSE_DIRDLG 1
34843 if test "$wxUSE_MSGDLG" = "yes"; then
34844 cat >>confdefs.h
<<\_ACEOF
34845 #define wxUSE_MSGDLG 1
34850 if test "$wxUSE_NUMBERDLG" = "yes"; then
34851 cat >>confdefs.h
<<\_ACEOF
34852 #define wxUSE_NUMBERDLG 1
34857 if test "$wxUSE_PROGRESSDLG" = "yes"; then
34858 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34859 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
34860 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
34862 cat >>confdefs.h
<<\_ACEOF
34863 #define wxUSE_PROGRESSDLG 1
34869 if test "$wxUSE_SPLASH" = "yes"; then
34870 cat >>confdefs.h
<<\_ACEOF
34871 #define wxUSE_SPLASH 1
34876 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
34877 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34878 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
34879 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
34881 cat >>confdefs.h
<<\_ACEOF
34882 #define wxUSE_STARTUP_TIPS 1
34888 if test "$wxUSE_TEXTDLG" = "yes"; then
34889 cat >>confdefs.h
<<\_ACEOF
34890 #define wxUSE_TEXTDLG 1
34895 if test "$wxUSE_WIZARDDLG" = "yes"; then
34896 cat >>confdefs.h
<<\_ACEOF
34897 #define wxUSE_WIZARDDLG 1
34900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
34904 if test "$cross_compiling" = "yes"; then
34907 OSINFO
=`uname -s -r -m`
34908 OSINFO
="\"$OSINFO\""
34911 cat >>confdefs.h
<<_ACEOF
34912 #define WXWIN_OS_DESCRIPTION $OSINFO
34917 if test "x$prefix" != "xNONE"; then
34920 wxPREFIX
=$ac_default_prefix
34923 cat >>confdefs.h
<<_ACEOF
34924 #define wxINSTALL_PREFIX "$wxPREFIX"
34928 top_builddir_wxconfig
=`pwd`
34932 CORE_BASE_LIBS
="net base"
34933 CORE_GUI_LIBS
="adv core"
34935 if test "$wxUSE_XML" = "yes" ; then
34936 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
34938 if test "$wxUSE_ODBC" != "no" ; then
34939 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
34940 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
34942 if test "$wxUSE_HTML" = "yes" ; then
34943 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
34946 if test "$wxUSE_GUI" != "yes"; then
34957 if test "$wxUSE_MAC" = 1 ; then
34958 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
34960 if test "$wxUSE_COCOA" = 1 ; then
34961 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
34965 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
34972 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34973 echo "$as_me:$LINENO: checking for $ac_func" >&5
34974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34975 if eval "test \"\${$as_ac_var+set}\" = set"; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34978 cat >conftest.
$ac_ext <<_ACEOF
34979 #line $LINENO "configure"
34982 cat confdefs.h
>>conftest.
$ac_ext
34983 cat >>conftest.
$ac_ext <<_ACEOF
34984 /* end confdefs.h. */
34985 /* System header to define __stub macros and hopefully few prototypes,
34986 which can conflict with char $ac_func (); below.
34987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34988 <limits.h> exists even on freestanding compilers. */
34990 # include <limits.h>
34992 # include <assert.h>
34994 /* Override any gcc2 internal prototype to avoid an error. */
34999 /* We use char because int might match the return type of a gcc2
35000 builtin and then its argument prototype would still apply. */
35002 /* The GNU C library defines this for functions which it implements
35003 to always fail with ENOSYS. Some functions are actually named
35004 something starting with __ and the normal name is an alias. */
35005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35008 char (*f) () = $ac_func;
35017 return f != $ac_func;
35022 rm -f conftest.
$ac_objext conftest
$ac_exeext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35024 (eval $ac_link) 2>&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); } &&
35028 { ac_try
='test -s conftest$ac_exeext'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; }; then
35034 eval "$as_ac_var=yes"
35036 echo "$as_me: failed program was:" >&5
35037 sed 's/^/| /' conftest.
$ac_ext >&5
35039 eval "$as_ac_var=no"
35041 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35045 if test `eval echo '${'$as_ac_var'}'` = yes; then
35046 cat >>confdefs.h
<<_ACEOF
35047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35054 for ac_func
in floor
35056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35057 echo "$as_me:$LINENO: checking for $ac_func" >&5
35058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35059 if eval "test \"\${$as_ac_var+set}\" = set"; then
35060 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 cat >conftest.
$ac_ext <<_ACEOF
35063 #line $LINENO "configure"
35066 cat confdefs.h
>>conftest.
$ac_ext
35067 cat >>conftest.
$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35069 /* System header to define __stub macros and hopefully few prototypes,
35070 which can conflict with char $ac_func (); below.
35071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35072 <limits.h> exists even on freestanding compilers. */
35074 # include <limits.h>
35076 # include <assert.h>
35078 /* Override any gcc2 internal prototype to avoid an error. */
35083 /* We use char because int might match the return type of a gcc2
35084 builtin and then its argument prototype would still apply. */
35086 /* The GNU C library defines this for functions which it implements
35087 to always fail with ENOSYS. Some functions are actually named
35088 something starting with __ and the normal name is an alias. */
35089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35092 char (*f) () = $ac_func;
35101 return f != $ac_func;
35106 rm -f conftest.
$ac_objext conftest
$ac_exeext
35107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35108 (eval $ac_link) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); } &&
35112 { ac_try
='test -s conftest$ac_exeext'
35113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114 (eval $ac_try) 2>&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; }; then
35118 eval "$as_ac_var=yes"
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.
$ac_ext >&5
35123 eval "$as_ac_var=no"
35125 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35129 if test `eval echo '${'$as_ac_var'}'` = yes; then
35130 cat >>confdefs.h
<<_ACEOF
35131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35137 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
35138 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
35139 if test "$have_cos" = 1 -a "$have_floor" = 1; then
35140 echo "$as_me:$LINENO: result: yes" >&5
35141 echo "${ECHO_T}yes" >&6
35143 echo "$as_me:$LINENO: result: no" >&5
35144 echo "${ECHO_T}no" >&6
35146 # use different functions to avoid configure caching
35152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35153 echo "$as_me:$LINENO: checking for $ac_func" >&5
35154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35155 if eval "test \"\${$as_ac_var+set}\" = set"; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35158 cat >conftest.
$ac_ext <<_ACEOF
35159 #line $LINENO "configure"
35162 cat confdefs.h
>>conftest.
$ac_ext
35163 cat >>conftest.
$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35165 /* System header to define __stub macros and hopefully few prototypes,
35166 which can conflict with char $ac_func (); below.
35167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35168 <limits.h> exists even on freestanding compilers. */
35170 # include <limits.h>
35172 # include <assert.h>
35174 /* Override any gcc2 internal prototype to avoid an error. */
35179 /* We use char because int might match the return type of a gcc2
35180 builtin and then its argument prototype would still apply. */
35182 /* The GNU C library defines this for functions which it implements
35183 to always fail with ENOSYS. Some functions are actually named
35184 something starting with __ and the normal name is an alias. */
35185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35188 char (*f) () = $ac_func;
35197 return f != $ac_func;
35202 rm -f conftest.
$ac_objext conftest
$ac_exeext
35203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35204 (eval $ac_link) 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); } &&
35208 { ac_try
='test -s conftest$ac_exeext'
35209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35210 (eval $ac_try) 2>&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); }; }; then
35214 eval "$as_ac_var=yes"
35216 echo "$as_me: failed program was:" >&5
35217 sed 's/^/| /' conftest.
$ac_ext >&5
35219 eval "$as_ac_var=no"
35221 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35225 if test `eval echo '${'$as_ac_var'}'` = yes; then
35226 cat >>confdefs.h
<<_ACEOF
35227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35234 for ac_func
in ceil
35236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35237 echo "$as_me:$LINENO: checking for $ac_func" >&5
35238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35239 if eval "test \"\${$as_ac_var+set}\" = set"; then
35240 echo $ECHO_N "(cached) $ECHO_C" >&6
35242 cat >conftest.
$ac_ext <<_ACEOF
35243 #line $LINENO "configure"
35246 cat confdefs.h
>>conftest.
$ac_ext
35247 cat >>conftest.
$ac_ext <<_ACEOF
35248 /* end confdefs.h. */
35249 /* System header to define __stub macros and hopefully few prototypes,
35250 which can conflict with char $ac_func (); below.
35251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35252 <limits.h> exists even on freestanding compilers. */
35254 # include <limits.h>
35256 # include <assert.h>
35258 /* Override any gcc2 internal prototype to avoid an error. */
35263 /* We use char because int might match the return type of a gcc2
35264 builtin and then its argument prototype would still apply. */
35266 /* The GNU C library defines this for functions which it implements
35267 to always fail with ENOSYS. Some functions are actually named
35268 something starting with __ and the normal name is an alias. */
35269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35272 char (*f) () = $ac_func;
35281 return f != $ac_func;
35286 rm -f conftest.
$ac_objext conftest
$ac_exeext
35287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35288 (eval $ac_link) 2>&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); } &&
35292 { ac_try
='test -s conftest$ac_exeext'
35293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35294 (eval $ac_try) 2>&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); }; }; then
35298 eval "$as_ac_var=yes"
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.
$ac_ext >&5
35303 eval "$as_ac_var=no"
35305 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35309 if test `eval echo '${'$as_ac_var'}'` = yes; then
35310 cat >>confdefs.h
<<_ACEOF
35311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35317 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
35318 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
35319 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
35320 echo "$as_me:$LINENO: result: yes" >&5
35321 echo "${ECHO_T}yes" >&6
35323 echo "$as_me:$LINENO: result: no" >&5
35324 echo "${ECHO_T}no" >&6
35325 # not sure we should warn the user, crash, etc.
35329 if test "$wxUSE_GUI" = "yes"; then
35332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
35333 drawing dynamic erase event exec font image \
35334 minimal propsize rotate shaped widgets render"
35336 if test "$wxUSE_MONOLITHIC" != "yes"; then
35337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
35340 SAMPLES_SUBDIRS
="console"
35344 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
35345 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
35347 if test "$GXX" = yes ; then
35348 CXXWARNINGS
="-Wall"
35351 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
35353 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
35354 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
35355 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
35358 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
35359 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
35360 EXTRALIBS_XML
="$EXPAT_LINK"
35361 EXTRALIBS_HTML
="$MSPACK_LINK"
35362 EXTRALIBS_ODBC
="$ODBC_LINK"
35363 if test "$wxUSE_GUI" = "yes"; then
35364 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
35366 if test "$wxUSE_OPENGL" = "yes"; then
35367 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
35370 LDFLAGS
="$LDFLAGS $PROFILE"
35372 if test "$wxUSE_GTK" = 1; then
35375 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
35378 WXCONFIG_EXTRALIBS
="$LIBS"
35380 if test "$wxUSE_REGEX" = "builtin" ; then
35381 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
35383 if test "$wxUSE_EXPAT" = "builtin" ; then
35384 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
35386 if test "$wxUSE_ODBC" = "builtin" ; then
35387 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
35389 if test "$wxUSE_LIBTIFF" = "builtin" ; then
35390 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
35392 if test "$wxUSE_LIBJPEG" = "builtin" ; then
35393 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
35395 if test "$wxUSE_LIBPNG" = "builtin" ; then
35396 wxconfig_3rdparty
="$wxconfig_3rdparty png"
35398 if test "$wxUSE_ZLIB" = "builtin" ; then
35399 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
35401 if test "$wxUSE_ODBC" = "builtin" ; then
35402 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
35405 for i
in $wxconfig_3rdparty ; do
35406 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
35410 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
35424 if test $wxUSE_MONOLITHIC = "yes" ; then
35430 if test $wxUSE_PLUGINS = "yes" ; then
35436 if test $wxUSE_ODBC != "no" ; then
35442 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
35468 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
35478 if test "x$BAKEFILE_HOST" = "x"; then
35479 BAKEFILE_HOST
="${host}"
35482 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
35484 if test -n "$ac_tool_prefix"; then
35485 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35486 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
35487 echo "$as_me:$LINENO: checking for $ac_word" >&5
35488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35489 if test "${ac_cv_prog_RANLIB+set}" = set; then
35490 echo $ECHO_N "(cached) $ECHO_C" >&6
35492 if test -n "$RANLIB"; then
35493 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
35495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35496 for as_dir
in $PATH
35499 test -z "$as_dir" && as_dir
=.
35500 for ac_exec_ext
in '' $ac_executable_extensions; do
35501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35502 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
35503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35511 RANLIB
=$ac_cv_prog_RANLIB
35512 if test -n "$RANLIB"; then
35513 echo "$as_me:$LINENO: result: $RANLIB" >&5
35514 echo "${ECHO_T}$RANLIB" >&6
35516 echo "$as_me:$LINENO: result: no" >&5
35517 echo "${ECHO_T}no" >&6
35521 if test -z "$ac_cv_prog_RANLIB"; then
35522 ac_ct_RANLIB
=$RANLIB
35523 # Extract the first word of "ranlib", so it can be a program name with args.
35524 set dummy ranlib
; ac_word
=$2
35525 echo "$as_me:$LINENO: checking for $ac_word" >&5
35526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35527 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35530 if test -n "$ac_ct_RANLIB"; then
35531 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
35533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35534 for as_dir
in $PATH
35537 test -z "$as_dir" && as_dir
=.
35538 for ac_exec_ext
in '' $ac_executable_extensions; do
35539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35540 ac_cv_prog_ac_ct_RANLIB
="ranlib"
35541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35547 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
35550 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
35551 if test -n "$ac_ct_RANLIB"; then
35552 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35553 echo "${ECHO_T}$ac_ct_RANLIB" >&6
35555 echo "$as_me:$LINENO: result: no" >&5
35556 echo "${ECHO_T}no" >&6
35559 RANLIB
=$ac_ct_RANLIB
35561 RANLIB
="$ac_cv_prog_RANLIB"
35564 # Find a good install program. We prefer a C program (faster),
35565 # so one script is as good as another. But avoid the broken or
35566 # incompatible versions:
35567 # SysV /etc/install, /usr/sbin/install
35568 # SunOS /usr/etc/install
35569 # IRIX /sbin/install
35571 # AmigaOS /C/install, which installs bootblocks on floppy discs
35572 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
35573 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
35574 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
35575 # ./install, which can be erroneously created by make from ./install.sh.
35576 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
35577 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
35578 if test -z "$INSTALL"; then
35579 if test "${ac_cv_path_install+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35583 for as_dir
in $PATH
35586 test -z "$as_dir" && as_dir
=.
35587 # Account for people who put trailing slashes in PATH elements.
35589 .
/ | .
// | /cC
/* | \
35590 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
35593 # OSF1 and SCO ODT 3.0 have their own names for install.
35594 # Don't use installbsd from OSF since it installs stuff as root
35596 for ac_prog
in ginstall scoinst
install; do
35597 for ac_exec_ext
in '' $ac_executable_extensions; do
35598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
35599 if test $ac_prog = install &&
35600 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
35601 # AIX install. It has an incompatible calling convention.
35603 elif test $ac_prog = install &&
35604 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
35605 # program-specific install script used by HP pwplus--don't use.
35608 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
35620 if test "${ac_cv_path_install+set}" = set; then
35621 INSTALL
=$ac_cv_path_install
35623 # As a last resort, use the slow shell script. We don't cache a
35624 # path for INSTALL within a source directory, because that will
35625 # break other packages using the cache if that directory is
35626 # removed, or if the path is relative.
35627 INSTALL
=$ac_install_sh
35630 echo "$as_me:$LINENO: result: $INSTALL" >&5
35631 echo "${ECHO_T}$INSTALL" >&6
35633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
35634 # It thinks the first close brace ends the variable substitution.
35635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
35637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
35639 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
35641 echo "$as_me:$LINENO: checking whether ln -s works" >&5
35642 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
35644 if test "$LN_S" = "ln -s"; then
35645 echo "$as_me:$LINENO: result: yes" >&5
35646 echo "${ECHO_T}yes" >&6
35648 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
35649 echo "${ECHO_T}no, using $LN_S" >&6
35653 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35654 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35655 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35656 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35657 echo $ECHO_N "(cached) $ECHO_C" >&6
35659 cat >conftest.
make <<\_ACEOF
35661 @
echo 'ac_maketemp="$(MAKE)"'
35663 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35664 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35665 if test -n "$ac_maketemp"; then
35666 eval ac_cv_prog_make_
${ac_make}_set
=yes
35668 eval ac_cv_prog_make_
${ac_make}_set
=no
35670 rm -f conftest.
make
35672 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35673 echo "$as_me:$LINENO: result: yes" >&5
35674 echo "${ECHO_T}yes" >&6
35677 echo "$as_me:$LINENO: result: no" >&5
35678 echo "${ECHO_T}no" >&6
35679 SET_MAKE
="MAKE=${MAKE-make}"
35684 if test -n "$ac_tool_prefix"; then
35685 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
35686 set dummy
${ac_tool_prefix}ar; ac_word
=$2
35687 echo "$as_me:$LINENO: checking for $ac_word" >&5
35688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35689 if test "${ac_cv_prog_AR+set}" = set; then
35690 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 if test -n "$AR"; then
35693 ac_cv_prog_AR
="$AR" # Let the user override the test.
35695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35696 for as_dir
in $PATH
35699 test -z "$as_dir" && as_dir
=.
35700 for ac_exec_ext
in '' $ac_executable_extensions; do
35701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35702 ac_cv_prog_AR
="${ac_tool_prefix}ar"
35703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35712 if test -n "$AR"; then
35713 echo "$as_me:$LINENO: result: $AR" >&5
35714 echo "${ECHO_T}$AR" >&6
35716 echo "$as_me:$LINENO: result: no" >&5
35717 echo "${ECHO_T}no" >&6
35721 if test -z "$ac_cv_prog_AR"; then
35723 # Extract the first word of "ar", so it can be a program name with args.
35724 set dummy
ar; ac_word
=$2
35725 echo "$as_me:$LINENO: checking for $ac_word" >&5
35726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35727 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 if test -n "$ac_ct_AR"; then
35731 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
35733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35734 for as_dir
in $PATH
35737 test -z "$as_dir" && as_dir
=.
35738 for ac_exec_ext
in '' $ac_executable_extensions; do
35739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35740 ac_cv_prog_ac_ct_AR
="ar"
35741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35747 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
35750 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
35751 if test -n "$ac_ct_AR"; then
35752 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
35753 echo "${ECHO_T}$ac_ct_AR" >&6
35755 echo "$as_me:$LINENO: result: no" >&5
35756 echo "${ECHO_T}no" >&6
35761 AR
="$ac_cv_prog_AR"
35764 if test -n "$ac_tool_prefix"; then
35765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
35766 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
35767 echo "$as_me:$LINENO: checking for $ac_word" >&5
35768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35769 if test "${ac_cv_prog_STRIP+set}" = set; then
35770 echo $ECHO_N "(cached) $ECHO_C" >&6
35772 if test -n "$STRIP"; then
35773 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
35775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35776 for as_dir
in $PATH
35779 test -z "$as_dir" && as_dir
=.
35780 for ac_exec_ext
in '' $ac_executable_extensions; do
35781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35782 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
35783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35791 STRIP
=$ac_cv_prog_STRIP
35792 if test -n "$STRIP"; then
35793 echo "$as_me:$LINENO: result: $STRIP" >&5
35794 echo "${ECHO_T}$STRIP" >&6
35796 echo "$as_me:$LINENO: result: no" >&5
35797 echo "${ECHO_T}no" >&6
35801 if test -z "$ac_cv_prog_STRIP"; then
35803 # Extract the first word of "strip", so it can be a program name with args.
35804 set dummy strip
; ac_word
=$2
35805 echo "$as_me:$LINENO: checking for $ac_word" >&5
35806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35810 if test -n "$ac_ct_STRIP"; then
35811 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
35813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35814 for as_dir
in $PATH
35817 test -z "$as_dir" && as_dir
=.
35818 for ac_exec_ext
in '' $ac_executable_extensions; do
35819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35820 ac_cv_prog_ac_ct_STRIP
="strip"
35821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35827 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
35830 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
35831 if test -n "$ac_ct_STRIP"; then
35832 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35833 echo "${ECHO_T}$ac_ct_STRIP" >&6
35835 echo "$as_me:$LINENO: result: no" >&5
35836 echo "${ECHO_T}no" >&6
35841 STRIP
="$ac_cv_prog_STRIP"
35844 if test -n "$ac_tool_prefix"; then
35845 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
35846 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
35847 echo "$as_me:$LINENO: checking for $ac_word" >&5
35848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35849 if test "${ac_cv_prog_NM+set}" = set; then
35850 echo $ECHO_N "(cached) $ECHO_C" >&6
35852 if test -n "$NM"; then
35853 ac_cv_prog_NM
="$NM" # Let the user override the test.
35855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35856 for as_dir
in $PATH
35859 test -z "$as_dir" && as_dir
=.
35860 for ac_exec_ext
in '' $ac_executable_extensions; do
35861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35862 ac_cv_prog_NM
="${ac_tool_prefix}nm"
35863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35872 if test -n "$NM"; then
35873 echo "$as_me:$LINENO: result: $NM" >&5
35874 echo "${ECHO_T}$NM" >&6
35876 echo "$as_me:$LINENO: result: no" >&5
35877 echo "${ECHO_T}no" >&6
35881 if test -z "$ac_cv_prog_NM"; then
35883 # Extract the first word of "nm", so it can be a program name with args.
35884 set dummy nm
; ac_word
=$2
35885 echo "$as_me:$LINENO: checking for $ac_word" >&5
35886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35887 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35890 if test -n "$ac_ct_NM"; then
35891 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
35893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35894 for as_dir
in $PATH
35897 test -z "$as_dir" && as_dir
=.
35898 for ac_exec_ext
in '' $ac_executable_extensions; do
35899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35900 ac_cv_prog_ac_ct_NM
="nm"
35901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35907 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
35910 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
35911 if test -n "$ac_ct_NM"; then
35912 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
35913 echo "${ECHO_T}$ac_ct_NM" >&6
35915 echo "$as_me:$LINENO: result: no" >&5
35916 echo "${ECHO_T}no" >&6
35921 NM
="$ac_cv_prog_NM"
35925 case ${BAKEFILE_HOST} in
35927 INSTALL_DIR
="mkdir"
35929 *) INSTALL_DIR
="$INSTALL -d"
35935 case ${BAKEFILE_HOST} in
35936 *-*-cygwin* | *-*-mingw32* )
35937 LDFLAGS_GUI
="-mwindows"
35943 echo "$as_me:$LINENO: checking if make is GNU make" >&5
35944 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
35945 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
35946 echo $ECHO_N "(cached) $ECHO_C" >&6
35949 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
35950 egrep -s GNU
> /dev
/null
); then
35951 bakefile_cv_prog_makeisgnu
="yes"
35953 bakefile_cv_prog_makeisgnu
="no"
35957 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
35958 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
35960 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
35975 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
35976 case "${BAKEFILE_HOST}" in
35977 *-*-cygwin* | *-*-mingw32* )
35983 *-pc-os2_emx | *-pc-os2-emx )
35986 powerpc
-*-darwin* )
35995 case "$BAKEFILE_FORCE_PLATFORM" in
36013 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
36014 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
36015 { (exit 1); exit 1; }; }
36028 # Check whether --enable-omf or --disable-omf was given.
36029 if test "${enable_omf+set}" = set; then
36030 enableval
="$enable_omf"
36031 bk_os2_use_omf
="$enableval"
36034 case "${BAKEFILE_HOST}" in
36036 CFLAGS
="$CFLAGS -fno-common"
36037 CXXFLAGS
="$CXXFLAGS -fno-common"
36040 *-pc-os2_emx | *-pc-os2-emx )
36041 if test "x$bk_os2_use_omf" = "xyes" ; then
36044 LDFLAGS
="-Zomf $LDFLAGS"
36045 CFLAGS
="-Zomf $CFLAGS"
36046 CXXFLAGS
="-Zomf $CXXFLAGS"
36056 SO_SUFFIX_MODULE
="so"
36061 DLLPREFIX_MODULE
=""
36064 case "${BAKEFILE_HOST}" in
36067 SO_SUFFIX_MODULE
="sl"
36071 SO_SUFFIX_MODULE
="a"
36073 *-*-cygwin* | *-*-mingw32* )
36075 SO_SUFFIX_MODULE
="dll"
36076 DLLIMP_SUFFIX
="dll.a"
36084 *-pc-os2_emx | *-pc-os2-emx )
36086 SO_SUFFIX_MODULE
="dll"
36087 DLLIMP_SUFFIX
=$OS2_LIBEXT
36091 LIBEXT
=".$OS2_LIBEXT"
36093 powerpc
-*-darwin* )
36095 SO_SUFFIX_MODULE
="bundle"
36099 if test "x$DLLIMP_SUFFIX" = "x" ; then
36100 DLLIMP_SUFFIX
="$SO_SUFFIX"
36113 SHARED_LD_CC
="\$(CC) -shared -o"
36114 SHARED_LD_CXX
="\$(CXX) -shared -o"
36116 if test "x$GCC" = "xyes"; then
36120 case "${BAKEFILE_HOST}" in
36122 if test "x$GCC" = "xyes"; then
36123 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
36124 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
36126 LDFLAGS
="$LDFLAGS -L/usr/lib"
36128 SHARED_LD_CC
="${CC} -b -o"
36129 SHARED_LD_CXX
="${CXX} -b -o"
36135 if test "x$GCC" != "xyes"; then
36136 echo "$as_me:$LINENO: checking for Intel compiler" >&5
36137 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
36138 if test "${bakefile_cv_prog_icc+set}" = set; then
36139 echo $ECHO_N "(cached) $ECHO_C" >&6
36142 cat >conftest.
$ac_ext <<_ACEOF
36143 #line $LINENO "configure"
36146 cat confdefs.h
>>conftest.
$ac_ext
36147 cat >>conftest.
$ac_ext <<_ACEOF
36148 /* end confdefs.h. */
36154 #ifndef __INTEL_COMPILER
36162 rm -f conftest.
$ac_objext
36163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36164 (eval $ac_compile) 2>&5
36166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167 (exit $ac_status); } &&
36168 { ac_try
='test -s conftest.$ac_objext'
36169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36170 (eval $ac_try) 2>&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); }; }; then
36174 bakefile_cv_prog_icc
=yes
36176 echo "$as_me: failed program was:" >&5
36177 sed 's/^/| /' conftest.
$ac_ext >&5
36179 bakefile_cv_prog_icc
=no
36182 rm -f conftest.
$ac_objext conftest.
$ac_ext
36185 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
36186 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
36187 if test "$bakefile_cv_prog_icc" = "yes"; then
36194 if test "x$GCC" != xyes
; then
36195 SHARED_LD_CC
="${CC} -G -o"
36196 SHARED_LD_CXX
="${CXX} -G -o"
36203 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
36204 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
36205 if test "${wx_cv_gcc31+set}" = set; then
36206 echo $ECHO_N "(cached) $ECHO_C" >&6
36209 cat >conftest.
$ac_ext <<_ACEOF
36210 #line $LINENO "configure"
36213 cat confdefs.h
>>conftest.
$ac_ext
36214 cat >>conftest.
$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36221 #if (__GNUC__ < 3) || \
36222 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
36230 rm -f conftest.
$ac_objext
36231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36232 (eval $ac_compile) 2>&5
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); } &&
36236 { ac_try
='test -s conftest.$ac_objext'
36237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36238 (eval $ac_try) 2>&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); }; }; then
36246 echo "$as_me: failed program was:" >&5
36247 sed 's/^/| /' conftest.
$ac_ext >&5
36254 rm -f conftest.
$ac_objext conftest.
$ac_ext
36257 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
36258 echo "${ECHO_T}$wx_cv_gcc31" >&6
36259 if test "$wx_cv_gcc31" = "no"; then
36262 cat <<EOF >shared-ld-sh
36264 #-----------------------------------------------------------------------------
36265 #-- Name: distrib/mac/shared-ld-sh
36266 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
36267 #-- Author: Gilles Depeyrot
36268 #-- Copyright: (c) 2002 Gilles Depeyrot
36269 #-- Licence: any use permitted
36270 #-----------------------------------------------------------------------------
36275 linking_flag="-dynamiclib"
36277 while test ${D}# -gt 0; do
36284 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
36285 # collect these options and values
36286 args="${D}{args} ${D}1 ${D}2"
36290 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
36291 # collect these options
36292 args="${D}{args} ${D}1"
36295 -dynamiclib|-bundle)
36296 linking_flag="${D}1"
36300 echo "shared-ld: unhandled option '${D}1'"
36304 *.o | *.a | *.dylib)
36305 # collect object files
36306 objects="${D}{objects} ${D}1"
36310 echo "shared-ld: unhandled argument '${D}1'"
36319 # Link one module containing all the others
36321 if test ${D}{verbose} = 1; then
36322 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
36324 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
36326 if test ${D}{status} != 0; then
36331 # Link the shared library from the single module created
36333 if test ${D}{verbose} = 1; then
36334 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
36336 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
36338 if test ${D}{status} != 0; then
36343 # Remove intermediate module
36345 rm -f master.${D}${D}.o
36350 chmod +x shared
-ld-sh
36352 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
36353 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
36354 SHARED_LD_CXX
="$SHARED_LD_CC"
36355 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
36357 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
36358 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
36359 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
36360 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
36363 PIC_FLAG
="-dynamic -fPIC"
36367 if test "x$GCC" != "xyes"; then
36368 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
36369 set dummy makeC
++SharedLib
; ac_word
=$2
36370 echo "$as_me:$LINENO: checking for $ac_word" >&5
36371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36372 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 if test -n "$AIX_CXX_LD"; then
36376 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
36378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36379 for as_dir
in $PATH
36382 test -z "$as_dir" && as_dir
=.
36383 for ac_exec_ext
in '' $ac_executable_extensions; do
36384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36385 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
36386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36392 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
36395 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
36396 if test -n "$AIX_CXX_LD"; then
36397 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
36398 echo "${ECHO_T}$AIX_CXX_LD" >&6
36400 echo "$as_me:$LINENO: result: no" >&5
36401 echo "${ECHO_T}no" >&6
36404 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
36405 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
36410 SHARED_LD_CC
="${LD} -shared -o"
36411 SHARED_LD_CXX
="${LD} -shared -o"
36415 if test "x$GCC" != "xyes"; then
36420 *-*-cygwin* | *-*-mingw32* )
36424 *-pc-os2_emx | *-pc-os2-emx )
36425 SHARED_LD_CC
="`pwd`/dllar.sh -o"
36426 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
36430 cat <<EOF >dllar.sh
36433 # dllar - a tool to build both a .dll and an .a file
36434 # from a set of object (.o) files for EMX/OS2.
36436 # Written by Andrew Zabolotny, bit@freya.etu.ru
36437 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
36439 # This script will accept a set of files on the command line.
36440 # All the public symbols from the .o files will be exported into
36441 # a .DEF file, then linker will be run (through gcc) against them to
36442 # build a shared library consisting of all given .o files. All libraries
36443 # (.a) will be first decompressed into component .o files then act as
36444 # described above. You can optionally give a description (-d "description")
36445 # which will be put into .DLL. To see the list of accepted options (as well
36446 # as command-line format) simply run this program without options. The .DLL
36447 # is built to be imported by name (there is no guarantee that new versions
36448 # of the library you build will have same ordinals for same symbols).
36450 # dllar is free software; you can redistribute it and/or modify
36451 # it under the terms of the GNU General Public License as published by
36452 # the Free Software Foundation; either version 2, or (at your option)
36453 # any later version.
36455 # dllar is distributed in the hope that it will be useful,
36456 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36457 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36458 # GNU General Public License for more details.
36460 # You should have received a copy of the GNU General Public License
36461 # along with dllar; see the file COPYING. If not, write to the Free
36462 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
36465 # To successfuly run this program you will need:
36466 # - Current drive should have LFN support (HPFS, ext2, network, etc)
36467 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
36469 # (used to build the .dll)
36471 # (used to create .def file from .o files)
36473 # (used to create .a file from .def file)
36474 # - GNU text utilites (cat, sort, uniq)
36475 # used to process emxexp output
36476 # - GNU file utilities (mv, rm)
36478 # - lxlite (optional, see flag below)
36479 # (used for general .dll cleanup)
36486 # basnam, variant of basename, which does _not_ remove the path, _iff_
36487 # second argument (suffix to remove) is given
36491 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
36494 echo ${D}1 | sed 's/'${D}2'${D}//'
36497 echo "error in basnam ${D}*"
36503 # Cleanup temporary files and output
36506 for i in ${D}inputFiles ; do
36509 rm -rf \`basnam ${D}i !\`
36516 # Kill result in case of failure as there is just to many stupid make/nmake
36517 # things out there which doesn't do this.
36518 if ${D}# -eq 0 ; then
36519 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
36523 # Print usage and exit script with rc=1.
36525 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
36526 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
36527 echo ' -ord[inals] -exclude "symbol(s)"'
36528 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
36530 echo '*> "output_file" should have no extension.'
36531 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
36532 echo ' The import library name is derived from this and is set to "name".a,'
36533 echo ' unless overridden by -import'
36534 echo '*> "importlib_name" should have no extension.'
36535 echo ' If it has the .o, or .a extension, it is automatically removed.'
36536 echo ' This name is used as the import library name and may be longer and'
36537 echo ' more descriptive than the DLL name which has to follow the old '
36538 echo ' 8.3 convention of FAT.'
36539 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
36540 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
36541 echo ' These flags will be put at the start of GCC command line.'
36542 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
36543 echo '*> -exclude defines symbols which will not be exported. You can define'
36544 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
36545 echo ' If the last character of a symbol is "*", all symbols beginning'
36546 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
36547 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
36548 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
36549 echo '*> -nocrtdll switch will disable linking the library against emx''s'
36550 echo ' C runtime DLLs.'
36551 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
36552 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
36553 echo ' unchanged to GCC at the end of command line.'
36554 echo '*> If you create a DLL from a library and you do not specify -o,'
36555 echo ' the basename for DLL and import library will be set to library name,'
36556 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
36557 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
36558 echo ' library will be renamed into gcc_s.a.'
36561 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
36562 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
36567 # Execute a command.
36568 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
36569 # @Uses Whatever CleanUp() uses.
36575 if ${D}rcCmd -ne 0 ; then
36576 echo "command failed, exit code="${D}rcCmd
36590 CFLAGS="-s -Zcrtdll"
36592 EXPORT_BY_ORDINALS=0
36597 case ${D}curDirS in
36601 curDirS=${D}{curDirS}"/"
36604 # Parse commandline
36609 EXPORT_BY_ORDINALS=1;
36636 exclude_symbols=${D}{exclude_symbols}${D}1" "
36640 library_flags=${D}{library_flags}${D}1" "
36656 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
36660 if ${D}libsToLink -ne 0 ; then
36661 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
36663 for file in ${D}1 ; do
36664 if -f ${D}file ; then
36665 inputFiles="${D}{inputFiles} ${D}file"
36669 if ${D}found -eq 0 ; then
36670 echo "ERROR: No file(s) found: "${D}1
36677 done # iterate cmdline words
36680 if -z "${D}inputFiles" ; then
36681 echo "dllar: no input files"
36685 # Now extract all .o files from .a files
36687 for file in ${D}inputFiles ; do
36698 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
36703 dirname=\`basnam ${D}file ${D}suffix\`"_%"
36705 if ${D}? -ne 0 ; then
36706 echo "Failed to create subdirectory ./${D}dirname"
36710 # Append '!' to indicate archive
36711 newInputFiles="${D}newInputFiles ${D}{dirname}!"
36712 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
36715 for subfile in ${D}dirname/*.o* ; do
36716 if -f ${D}subfile ; then
36718 if -s ${D}subfile ; then
36719 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
36720 newInputFiles="${D}newInputFiles ${D}subfile"
36724 if ${D}found -eq 0 ; then
36725 echo "WARNING: there are no files in archive \'${D}file\'"
36729 newInputFiles="${D}{newInputFiles} ${D}file"
36733 inputFiles="${D}newInputFiles"
36735 # Output filename(s).
36737 if -z ${D}outFile ; then
36739 set outFile ${D}inputFiles; outFile=${D}2
36742 # If it is an archive, remove the '!' and the '_%' suffixes
36743 case ${D}outFile in
36745 outFile=\`basnam ${D}outFile _%!\`
36750 case ${D}outFile in
36752 outFile=\`basnam ${D}outFile .dll\`
36755 outFile=\`basnam ${D}outFile .DLL\`
36758 outFile=\`basnam ${D}outFile .o\`
36761 outFile=\`basnam ${D}outFile .obj\`
36764 outFile=\`basnam ${D}outFile .a\`
36767 outFile=\`basnam ${D}outFile .lib\`
36772 case ${D}outimpFile in
36774 outimpFile=\`basnam ${D}outimpFile .a\`
36777 outimpFile=\`basnam ${D}outimpFile .lib\`
36782 if -z ${D}outimpFile ; then
36783 outimpFile=${D}outFile
36785 defFile="${D}{outFile}.def"
36786 arcFile="${D}{outimpFile}.a"
36787 arcFile2="${D}{outimpFile}.lib"
36788 dllFile="${D}outFile"
36789 # Add suffix to dllFile later, first we need a version to use as
36790 # name in .def file.
36792 if ${D}do_backup -ne 0 ; then
36793 if -f ${D}arcFile ; then
36794 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
36796 if -f ${D}arcFile2 ; then
36797 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
36801 # Extract public symbols from all the object files.
36802 tmpdefFile=${D}{defFile}_%
36803 rm -f ${D}tmpdefFile
36804 for file in ${D}inputFiles ; do
36809 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
36814 # Create the def file.
36816 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
36817 dllFile="${D}dllFile.dll"
36818 if -n ${D}description ; then
36819 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
36821 echo "EXPORTS" >> ${D}defFile
36823 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
36824 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
36826 # Checks if the export is ok or not.
36827 for word in ${D}exclude_symbols; do
36828 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
36829 mv ${D}{tmpdefFile}% ${D}tmpdefFile
36833 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
36834 sed "=" < ${D}tmpdefFile | \
36838 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
36840 ' > ${D}{tmpdefFile}%
36841 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
36843 rm -f ${D}{tmpdefFile}%
36845 cat ${D}tmpdefFile >> ${D}defFile
36846 rm -f ${D}tmpdefFile
36848 # Do linking, create implib, and apply lxlite.
36850 for file in ${D}inputFiles ; do
36855 gccCmdl="${D}gccCmdl ${D}file"
36859 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
36860 touch "${D}{outFile}.dll"
36862 doCommand "emximp -o ${D}arcFile ${D}defFile"
36863 if ${D}flag_USE_LXLITE -ne 0 ; then
36865 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
36868 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
36870 doCommand "emxomf -s -l ${D}arcFile"
36880 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
36888 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
36889 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
36890 { (exit 1); exit 1; }; }
36893 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
36894 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
36896 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
36897 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
36914 case "${BAKEFILE_HOST}" in
36916 SONAME_FLAG
="-Wl,-soname,"
36944 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
36945 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
36948 if test "x$GCC" = "xyes"; then
36951 case "${BAKEFILE_HOST}" in
36952 powerpc
-*-darwin* )
36953 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
36956 DEPSFLAG_GCC
="-MMD"
36959 echo "$as_me:$LINENO: result: gcc" >&5
36960 echo "${ECHO_T}gcc" >&6
36962 echo "$as_me:$LINENO: result: none" >&5
36963 echo "${ECHO_T}none" >&6
36966 if test $DEPS_TRACKING = 1 ; then
36972 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36973 # script. It is used to track C/C++ files dependencies in portable way.
36975 # Permission is given to use this file in any way.
36977 DEPSMODE=${DEPSMODE}
36979 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
36981 mkdir -p ${D}DEPSDIR
36983 if test ${D}DEPSMODE = gcc ; then
36984 ${D}* ${D}{DEPSFLAG_GCC}
36986 if test ${D}{status} != 0 ; then
36989 # move created file to the location we want it in:
36990 while test ${D}# -gt 0; do
37004 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
37005 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
37006 if test -f ${D}depfile ; then
37007 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
37010 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
37011 if test -f ${D}depfile ; then
37012 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
37032 case ${BAKEFILE_HOST} in
37033 *-*-cygwin* | *-*-mingw32* )
37034 if test "$build" != "$host" ; then
37035 RESCOMP
=$host_alias-windres
37037 # Extract the first word of "windres", so it can be a program name with args.
37038 set dummy windres
; ac_word
=$2
37039 echo "$as_me:$LINENO: checking for $ac_word" >&5
37040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37041 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 if test -n "$RESCOMP"; then
37045 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
37047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37048 for as_dir
in $PATH
37051 test -z "$as_dir" && as_dir
=.
37052 for ac_exec_ext
in '' $ac_executable_extensions; do
37053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37054 ac_cv_prog_RESCOMP
="windres"
37055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37061 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
37064 RESCOMP
=$ac_cv_prog_RESCOMP
37065 if test -n "$RESCOMP"; then
37066 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37067 echo "${ECHO_T}$RESCOMP" >&6
37069 echo "$as_me:$LINENO: result: no" >&5
37070 echo "${ECHO_T}no" >&6
37077 # Extract the first word of "Rez", so it can be a program name with args.
37078 set dummy Rez
; ac_word
=$2
37079 echo "$as_me:$LINENO: checking for $ac_word" >&5
37080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37081 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37082 echo $ECHO_N "(cached) $ECHO_C" >&6
37084 if test -n "$RESCOMP"; then
37085 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
37087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37088 for as_dir
in $PATH
37091 test -z "$as_dir" && as_dir
=.
37092 for ac_exec_ext
in '' $ac_executable_extensions; do
37093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37094 ac_cv_prog_RESCOMP
="Rez"
37095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37101 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
37104 RESCOMP
=$ac_cv_prog_RESCOMP
37105 if test -n "$RESCOMP"; then
37106 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37107 echo "${ECHO_T}$RESCOMP" >&6
37109 echo "$as_me:$LINENO: result: no" >&5
37110 echo "${ECHO_T}no" >&6
37113 # Extract the first word of "SetFile", so it can be a program name with args.
37114 set dummy SetFile
; ac_word
=$2
37115 echo "$as_me:$LINENO: checking for $ac_word" >&5
37116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37117 if test "${ac_cv_prog_SETFILE+set}" = set; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 if test -n "$SETFILE"; then
37121 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
37123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37124 for as_dir
in $PATH
37127 test -z "$as_dir" && as_dir
=.
37128 for ac_exec_ext
in '' $ac_executable_extensions; do
37129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37130 ac_cv_prog_SETFILE
="SetFile"
37131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37137 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
37140 SETFILE
=$ac_cv_prog_SETFILE
37141 if test -n "$SETFILE"; then
37142 echo "$as_me:$LINENO: result: $SETFILE" >&5
37143 echo "${ECHO_T}$SETFILE" >&6
37145 echo "$as_me:$LINENO: result: no" >&5
37146 echo "${ECHO_T}no" >&6
37157 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
37161 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37162 if test "${enable_precomp_headers+set}" = set; then
37163 enableval
="$enable_precomp_headers"
37164 bk_use_pch
="$enableval"
37169 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37170 if test "x$GCC" = "xyes"; then
37171 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37172 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37173 cat >conftest.
$ac_ext <<_ACEOF
37174 #line $LINENO "configure"
37177 cat confdefs.h
>>conftest.
$ac_ext
37178 cat >>conftest.
$ac_ext <<_ACEOF
37179 /* end confdefs.h. */
37185 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37186 #error "no pch support"
37189 #error "no pch support"
37191 #if (__GNUC__ == 3) && \
37192 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37193 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37194 #error "no pch support"
37201 rm -f conftest.
$ac_objext
37202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37203 (eval $ac_compile) 2>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); } &&
37207 { ac_try
='test -s conftest.$ac_objext'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; }; then
37214 echo "$as_me:$LINENO: result: yes" >&5
37215 echo "${ECHO_T}yes" >&6
37216 CPPFLAGS
="-fpch-deps $CPPFLAGS"
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.
$ac_ext >&5
37224 echo "$as_me:$LINENO: result: no" >&5
37225 echo "${ECHO_T}no" >&6
37228 rm -f conftest.
$ac_objext conftest.
$ac_ext
37229 if test $GCC_PCH = 1 ; then
37230 cat <<EOF >bk-make-pch
37233 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37234 # script. It is used to generated precompiled headers.
37236 # Permission is given to use this file in any way.
37245 while test \${#} -gt 0; do
37248 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
37249 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
37250 headerfile="\${incdir}/\${header}"
37254 compiler="\${compiler} \${1}"
37258 if test "x\${headerfile}" = "x" ; then
37259 echo "error: can't find header \${header} in include paths" >2
37261 if test -f \${outfile} ; then
37264 mkdir -p \`dirname \${outfile}\`
37266 depsfile=".deps/\`basename \${outfile}\`.d"
37268 # can do this because gcc is >= 3.4:
37269 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
37273 chmod +x bk
-make-pch
37284 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37285 if test "${enable_precomp_headers+set}" = set; then
37286 enableval
="$enable_precomp_headers"
37287 bk_use_pch
="$enableval"
37292 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37293 if test "x$GCC" = "xyes"; then
37294 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37295 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37296 cat >conftest.
$ac_ext <<_ACEOF
37297 #line $LINENO "configure"
37300 cat confdefs.h
>>conftest.
$ac_ext
37301 cat >>conftest.
$ac_ext <<_ACEOF
37302 /* end confdefs.h. */
37308 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37309 #error "no pch support"
37312 #error "no pch support"
37314 #if (__GNUC__ == 3) && \
37315 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37316 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37317 #error "no pch support"
37324 rm -f conftest.
$ac_objext
37325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37326 (eval $ac_compile) 2>&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); } &&
37330 { ac_try
='test -s conftest.$ac_objext'
37331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37332 (eval $ac_try) 2>&5
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); }; }; then
37337 echo "$as_me:$LINENO: result: yes" >&5
37338 echo "${ECHO_T}yes" >&6
37339 CPPFLAGS
="-fpch-deps $CPPFLAGS"
37343 echo "$as_me: failed program was:" >&5
37344 sed 's/^/| /' conftest.
$ac_ext >&5
37347 echo "$as_me:$LINENO: result: no" >&5
37348 echo "${ECHO_T}no" >&6
37351 rm -f conftest.
$ac_objext conftest.
$ac_ext
37352 if test $GCC_PCH = 1 ; then
37353 cat <<EOF >bk-make-pch
37356 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37357 # script. It is used to generated precompiled headers.
37359 # Permission is given to use this file in any way.
37368 while test \${#} -gt 0; do
37371 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
37372 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
37373 headerfile="\${incdir}/\${header}"
37377 compiler="\${compiler} \${1}"
37381 if test "x\${headerfile}" = "x" ; then
37382 echo "error: can't find header \${header} in include paths" >2
37384 if test -f \${outfile} ; then
37387 mkdir -p \`dirname \${outfile}\`
37389 depsfile=".deps/\`basename \${outfile}\`.d"
37391 # can do this because gcc is >= 3.4:
37392 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
37396 chmod +x bk
-make-pch
37404 COND_BUILD_DEBUG
="#"
37405 if test "x$BUILD" = "xdebug" ; then
37406 COND_BUILD_DEBUG
=""
37409 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
37410 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
37411 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
37414 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
37415 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
37416 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
37419 COND_BUILD_DEBUG_UNICODE_0
="#"
37420 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
37421 COND_BUILD_DEBUG_UNICODE_0
=""
37424 COND_BUILD_DEBUG_UNICODE_1
="#"
37425 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
37426 COND_BUILD_DEBUG_UNICODE_1
=""
37429 COND_BUILD_RELEASE
="#"
37430 if test "x$BUILD" = "xrelease" ; then
37431 COND_BUILD_RELEASE
=""
37434 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
37435 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
37436 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
37439 COND_BUILD_RELEASE_UNICODE_0
="#"
37440 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
37441 COND_BUILD_RELEASE_UNICODE_0
=""
37444 COND_BUILD_RELEASE_UNICODE_1
="#"
37445 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
37446 COND_BUILD_RELEASE_UNICODE_1
=""
37449 COND_DEBUG_FLAG_1
="#"
37450 if test "x$DEBUG_FLAG" = "x1" ; then
37451 COND_DEBUG_FLAG_1
=""
37454 COND_DEBUG_INFO_0
="#"
37455 if test "x$DEBUG_INFO" = "x0" ; then
37456 COND_DEBUG_INFO_0
=""
37459 COND_DEBUG_INFO_1
="#"
37460 if test "x$DEBUG_INFO" = "x1" ; then
37461 COND_DEBUG_INFO_1
=""
37464 COND_DEPS_TRACKING_0
="#"
37465 if test "x$DEPS_TRACKING" = "x0" ; then
37466 COND_DEPS_TRACKING_0
=""
37469 COND_DEPS_TRACKING_1
="#"
37470 if test "x$DEPS_TRACKING" = "x1" ; then
37471 COND_DEPS_TRACKING_1
=""
37475 if test "x$GCC_PCH" = "x1" ; then
37479 COND_MONOLITHIC_0
="#"
37480 if test "x$MONOLITHIC" = "x0" ; then
37481 COND_MONOLITHIC_0
=""
37484 COND_MONOLITHIC_0_SHARED_0
="#"
37485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
37486 COND_MONOLITHIC_0_SHARED_0
=""
37489 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
37490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
37491 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
37494 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
37495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
37496 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
37499 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
37500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
37501 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
37504 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
37505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
37506 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
37509 COND_MONOLITHIC_0_SHARED_1
="#"
37510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
37511 COND_MONOLITHIC_0_SHARED_1
=""
37514 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
37515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
37516 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
37519 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
37520 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
37521 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
37524 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
37525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
37526 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
37529 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
37530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
37531 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
37534 COND_MONOLITHIC_0_USE_ODBC_1
="#"
37535 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
37536 COND_MONOLITHIC_0_USE_ODBC_1
=""
37539 COND_MONOLITHIC_1
="#"
37540 if test "x$MONOLITHIC" = "x1" ; then
37541 COND_MONOLITHIC_1
=""
37544 COND_MONOLITHIC_1_SHARED_0
="#"
37545 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
37546 COND_MONOLITHIC_1_SHARED_0
=""
37549 COND_MONOLITHIC_1_SHARED_1
="#"
37550 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
37551 COND_MONOLITHIC_1_SHARED_1
=""
37554 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
37555 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
37556 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
37559 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
37560 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
37561 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
37564 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
37565 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
37566 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
37569 COND_PLATFORM_MACOSX_1
="#"
37570 if test "x$PLATFORM_MACOSX" = "x1" ; then
37571 COND_PLATFORM_MACOSX_1
=""
37574 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
37575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
37576 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
37579 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
37580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
37581 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
37584 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
37585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
37586 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
37589 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
37590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
37591 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
37594 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
37595 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
37596 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
37599 COND_PLATFORM_MAC_1
="#"
37600 if test "x$PLATFORM_MAC" = "x1" ; then
37601 COND_PLATFORM_MAC_1
=""
37604 COND_PLATFORM_OS2_1
="#"
37605 if test "x$PLATFORM_OS2" = "x1" ; then
37606 COND_PLATFORM_OS2_1
=""
37609 COND_PLATFORM_UNIX_0
="#"
37610 if test "x$PLATFORM_UNIX" = "x0" ; then
37611 COND_PLATFORM_UNIX_0
=""
37614 COND_PLATFORM_UNIX_1
="#"
37615 if test "x$PLATFORM_UNIX" = "x1" ; then
37616 COND_PLATFORM_UNIX_1
=""
37619 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
37620 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
37621 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
37624 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
37625 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
37626 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
37629 COND_PLATFORM_WIN32_0
="#"
37630 if test "x$PLATFORM_WIN32" = "x0" ; then
37631 COND_PLATFORM_WIN32_0
=""
37634 COND_PLATFORM_WIN32_1
="#"
37635 if test "x$PLATFORM_WIN32" = "x1" ; then
37636 COND_PLATFORM_WIN32_1
=""
37640 if test "x$SHARED" = "x0" ; then
37644 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
37645 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
37646 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
37649 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
37650 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
37651 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
37654 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
37655 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
37656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
37659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
37660 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
37661 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
37664 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
37665 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
37666 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
37669 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
37670 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
37671 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
37674 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
37675 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
37676 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
37679 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
37680 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
37681 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
37685 if test "x$SHARED" = "x1" ; then
37689 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
37690 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
37691 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
37694 COND_TOOLKIT_COCOA
="#"
37695 if test "x$TOOLKIT" = "xCOCOA" ; then
37696 COND_TOOLKIT_COCOA
=""
37699 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
37700 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37701 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
37704 COND_TOOLKIT_GTK
="#"
37705 if test "x$TOOLKIT" = "xGTK" ; then
37706 COND_TOOLKIT_GTK
=""
37709 COND_TOOLKIT_GTK_USE_GUI_1
="#"
37710 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
37711 COND_TOOLKIT_GTK_USE_GUI_1
=""
37714 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
37715 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37716 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
37719 COND_TOOLKIT_MAC
="#"
37720 if test "x$TOOLKIT" = "xMAC" ; then
37721 COND_TOOLKIT_MAC
=""
37724 COND_TOOLKIT_MAC_USE_GUI_1
="#"
37725 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
37726 COND_TOOLKIT_MAC_USE_GUI_1
=""
37729 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
37730 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37731 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
37734 COND_TOOLKIT_MGL
="#"
37735 if test "x$TOOLKIT" = "xMGL" ; then
37736 COND_TOOLKIT_MGL
=""
37739 COND_TOOLKIT_MGL_USE_GUI_1
="#"
37740 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
37741 COND_TOOLKIT_MGL_USE_GUI_1
=""
37744 COND_TOOLKIT_MOTIF
="#"
37745 if test "x$TOOLKIT" = "xMOTIF" ; then
37746 COND_TOOLKIT_MOTIF
=""
37749 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
37750 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
37751 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
37754 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
37755 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37756 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
37759 COND_TOOLKIT_MSW
="#"
37760 if test "x$TOOLKIT" = "xMSW" ; then
37761 COND_TOOLKIT_MSW
=""
37764 COND_TOOLKIT_MSW_USE_GUI_1
="#"
37765 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
37766 COND_TOOLKIT_MSW_USE_GUI_1
=""
37769 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
37770 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37771 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
37774 COND_TOOLKIT_PM
="#"
37775 if test "x$TOOLKIT" = "xPM" ; then
37779 COND_TOOLKIT_PM_USE_GUI_1
="#"
37780 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
37781 COND_TOOLKIT_PM_USE_GUI_1
=""
37784 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
37785 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37786 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
37789 COND_TOOLKIT_WINCE
="#"
37790 if test "x$TOOLKIT" = "xWINCE" ; then
37791 COND_TOOLKIT_WINCE
=""
37794 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
37795 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
37796 COND_TOOLKIT_WINCE_USE_GUI_1
=""
37799 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
37800 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37801 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
37804 COND_TOOLKIT_X11
="#"
37805 if test "x$TOOLKIT" = "xX11" ; then
37806 COND_TOOLKIT_X11
=""
37809 COND_TOOLKIT_X11_USE_GUI_1
="#"
37810 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
37811 COND_TOOLKIT_X11_USE_GUI_1
=""
37815 if test "x$UNICODE" = "x1" ; then
37819 COND_USE_EXCEPTIONS_0
="#"
37820 if test "x$USE_EXCEPTIONS" = "x0" ; then
37821 COND_USE_EXCEPTIONS_0
=""
37824 COND_USE_EXCEPTIONS_1
="#"
37825 if test "x$USE_EXCEPTIONS" = "x1" ; then
37826 COND_USE_EXCEPTIONS_1
=""
37830 if test "x$USE_GUI" = "x0" ; then
37835 if test "x$USE_GUI" = "x1" ; then
37839 COND_USE_GUI_1_WXUNIV_0
="#"
37840 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
37841 COND_USE_GUI_1_WXUNIV_0
=""
37844 COND_USE_GUI_1_WXUNIV_1
="#"
37845 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
37846 COND_USE_GUI_1_WXUNIV_1
=""
37849 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
37850 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
37851 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
37854 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
37855 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
37856 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
37859 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
37860 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
37861 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
37864 COND_USE_ODBC_1
="#"
37865 if test "x$USE_ODBC" = "x1" ; then
37869 COND_USE_PLUGINS_0
="#"
37870 if test "x$USE_PLUGINS" = "x0" ; then
37871 COND_USE_PLUGINS_0
=""
37874 COND_USE_SOSYMLINKS_1
="#"
37875 if test "x$USE_SOSYMLINKS" = "x1" ; then
37876 COND_USE_SOSYMLINKS_1
=""
37879 COND_USE_SOVERLINUX_1
="#"
37880 if test "x$USE_SOVERLINUX" = "x1" ; then
37881 COND_USE_SOVERLINUX_1
=""
37884 COND_USE_SOVERSION_0
="#"
37885 if test "x$USE_SOVERSION" = "x0" ; then
37886 COND_USE_SOVERSION_0
=""
37889 COND_USE_SOVERSOLARIS_1
="#"
37890 if test "x$USE_SOVERSOLARIS" = "x1" ; then
37891 COND_USE_SOVERSOLARIS_1
=""
37894 COND_WITH_PLUGIN_SDL_1
="#"
37895 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
37896 COND_WITH_PLUGIN_SDL_1
=""
37899 COND_WITH_SDL_1
="#"
37900 if test "x$WITH_SDL" = "x1" ; then
37905 if test "x$WXUNIV" = "x1" ; then
37909 COND_WXUSE_EXPAT_BUILTIN
="#"
37910 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
37911 COND_WXUSE_EXPAT_BUILTIN
=""
37914 COND_WXUSE_LIBJPEG_BUILTIN
="#"
37915 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
37916 COND_WXUSE_LIBJPEG_BUILTIN
=""
37919 COND_WXUSE_LIBPNG_BUILTIN
="#"
37920 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
37921 COND_WXUSE_LIBPNG_BUILTIN
=""
37924 COND_WXUSE_LIBTIFF_BUILTIN
="#"
37925 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
37926 COND_WXUSE_LIBTIFF_BUILTIN
=""
37929 COND_WXUSE_ODBC_BUILTIN
="#"
37930 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
37931 COND_WXUSE_ODBC_BUILTIN
=""
37934 COND_WXUSE_REGEX_BUILTIN
="#"
37935 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
37936 COND_WXUSE_REGEX_BUILTIN
=""
37939 COND_WXUSE_ZLIB_BUILTIN
="#"
37940 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
37941 COND_WXUSE_ZLIB_BUILTIN
=""
37944 COND_BUILD_DEBUG
="#"
37945 if test "x$BUILD" = "xdebug" ; then
37946 COND_BUILD_DEBUG
=""
37949 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
37950 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
37951 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
37954 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
37955 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
37956 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
37959 COND_BUILD_DEBUG_UNICODE_0
="#"
37960 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
37961 COND_BUILD_DEBUG_UNICODE_0
=""
37964 COND_BUILD_DEBUG_UNICODE_1
="#"
37965 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
37966 COND_BUILD_DEBUG_UNICODE_1
=""
37969 COND_BUILD_RELEASE
="#"
37970 if test "x$BUILD" = "xrelease" ; then
37971 COND_BUILD_RELEASE
=""
37974 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
37975 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
37976 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
37979 COND_BUILD_RELEASE_UNICODE_0
="#"
37980 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
37981 COND_BUILD_RELEASE_UNICODE_0
=""
37984 COND_BUILD_RELEASE_UNICODE_1
="#"
37985 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
37986 COND_BUILD_RELEASE_UNICODE_1
=""
37989 COND_DEBUG_FLAG_1
="#"
37990 if test "x$DEBUG_FLAG" = "x1" ; then
37991 COND_DEBUG_FLAG_1
=""
37994 COND_DEBUG_INFO_0
="#"
37995 if test "x$DEBUG_INFO" = "x0" ; then
37996 COND_DEBUG_INFO_0
=""
37999 COND_DEBUG_INFO_1
="#"
38000 if test "x$DEBUG_INFO" = "x1" ; then
38001 COND_DEBUG_INFO_1
=""
38004 COND_DEPS_TRACKING_0
="#"
38005 if test "x$DEPS_TRACKING" = "x0" ; then
38006 COND_DEPS_TRACKING_0
=""
38009 COND_DEPS_TRACKING_1
="#"
38010 if test "x$DEPS_TRACKING" = "x1" ; then
38011 COND_DEPS_TRACKING_1
=""
38015 if test "x$GCC_PCH" = "x1" ; then
38019 COND_MONOLITHIC_0
="#"
38020 if test "x$MONOLITHIC" = "x0" ; then
38021 COND_MONOLITHIC_0
=""
38024 COND_MONOLITHIC_0_SHARED_0
="#"
38025 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38026 COND_MONOLITHIC_0_SHARED_0
=""
38029 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
38030 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38031 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
38034 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
38035 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38036 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
38039 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
38040 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38041 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
38044 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
38045 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38046 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
38049 COND_MONOLITHIC_0_SHARED_1
="#"
38050 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38051 COND_MONOLITHIC_0_SHARED_1
=""
38054 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
38055 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
38059 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
38060 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38061 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
38064 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
38065 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38066 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
38069 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
38070 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38071 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
38074 COND_MONOLITHIC_0_USE_ODBC_1
="#"
38075 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
38076 COND_MONOLITHIC_0_USE_ODBC_1
=""
38079 COND_MONOLITHIC_1
="#"
38080 if test "x$MONOLITHIC" = "x1" ; then
38081 COND_MONOLITHIC_1
=""
38084 COND_MONOLITHIC_1_SHARED_0
="#"
38085 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38086 COND_MONOLITHIC_1_SHARED_0
=""
38089 COND_MONOLITHIC_1_SHARED_1
="#"
38090 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38091 COND_MONOLITHIC_1_SHARED_1
=""
38094 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
38095 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38096 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
38099 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
38100 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38101 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
38104 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
38105 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38106 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
38109 COND_PLATFORM_MACOSX_1
="#"
38110 if test "x$PLATFORM_MACOSX" = "x1" ; then
38111 COND_PLATFORM_MACOSX_1
=""
38114 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
38115 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38116 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
38119 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
38120 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38121 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
38124 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
38125 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38126 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
38129 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
38130 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38131 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
38134 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
38135 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38136 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
38139 COND_PLATFORM_MAC_1
="#"
38140 if test "x$PLATFORM_MAC" = "x1" ; then
38141 COND_PLATFORM_MAC_1
=""
38144 COND_PLATFORM_OS2_1
="#"
38145 if test "x$PLATFORM_OS2" = "x1" ; then
38146 COND_PLATFORM_OS2_1
=""
38149 COND_PLATFORM_UNIX_0
="#"
38150 if test "x$PLATFORM_UNIX" = "x0" ; then
38151 COND_PLATFORM_UNIX_0
=""
38154 COND_PLATFORM_UNIX_1
="#"
38155 if test "x$PLATFORM_UNIX" = "x1" ; then
38156 COND_PLATFORM_UNIX_1
=""
38159 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
38160 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38161 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
38164 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
38165 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
38166 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
38169 COND_PLATFORM_WIN32_0
="#"
38170 if test "x$PLATFORM_WIN32" = "x0" ; then
38171 COND_PLATFORM_WIN32_0
=""
38174 COND_PLATFORM_WIN32_1
="#"
38175 if test "x$PLATFORM_WIN32" = "x1" ; then
38176 COND_PLATFORM_WIN32_1
=""
38180 if test "x$SHARED" = "x0" ; then
38184 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
38185 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38186 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
38189 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
38190 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38191 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
38194 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
38195 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38196 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
38199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
38200 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38201 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
38204 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
38205 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38206 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
38209 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
38210 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38211 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
38214 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
38215 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38216 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
38219 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
38220 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38221 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
38225 if test "x$SHARED" = "x1" ; then
38229 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
38230 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38231 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
38234 COND_TOOLKIT_COCOA
="#"
38235 if test "x$TOOLKIT" = "xCOCOA" ; then
38236 COND_TOOLKIT_COCOA
=""
38239 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
38240 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38241 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
38244 COND_TOOLKIT_GTK
="#"
38245 if test "x$TOOLKIT" = "xGTK" ; then
38246 COND_TOOLKIT_GTK
=""
38249 COND_TOOLKIT_GTK_USE_GUI_1
="#"
38250 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38251 COND_TOOLKIT_GTK_USE_GUI_1
=""
38254 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
38255 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38256 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
38259 COND_TOOLKIT_MAC
="#"
38260 if test "x$TOOLKIT" = "xMAC" ; then
38261 COND_TOOLKIT_MAC
=""
38264 COND_TOOLKIT_MAC_USE_GUI_1
="#"
38265 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38266 COND_TOOLKIT_MAC_USE_GUI_1
=""
38269 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
38270 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38271 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
38274 COND_TOOLKIT_MGL
="#"
38275 if test "x$TOOLKIT" = "xMGL" ; then
38276 COND_TOOLKIT_MGL
=""
38279 COND_TOOLKIT_MGL_USE_GUI_1
="#"
38280 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38281 COND_TOOLKIT_MGL_USE_GUI_1
=""
38284 COND_TOOLKIT_MOTIF
="#"
38285 if test "x$TOOLKIT" = "xMOTIF" ; then
38286 COND_TOOLKIT_MOTIF
=""
38289 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
38290 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38291 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
38294 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
38295 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38296 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
38299 COND_TOOLKIT_MSW
="#"
38300 if test "x$TOOLKIT" = "xMSW" ; then
38301 COND_TOOLKIT_MSW
=""
38304 COND_TOOLKIT_MSW_USE_GUI_1
="#"
38305 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38306 COND_TOOLKIT_MSW_USE_GUI_1
=""
38309 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
38310 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38311 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
38314 COND_TOOLKIT_PM
="#"
38315 if test "x$TOOLKIT" = "xPM" ; then
38319 COND_TOOLKIT_PM_USE_GUI_1
="#"
38320 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38321 COND_TOOLKIT_PM_USE_GUI_1
=""
38324 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
38325 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38326 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
38329 COND_TOOLKIT_WINCE
="#"
38330 if test "x$TOOLKIT" = "xWINCE" ; then
38331 COND_TOOLKIT_WINCE
=""
38334 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
38335 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
38336 COND_TOOLKIT_WINCE_USE_GUI_1
=""
38339 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
38340 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38341 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
38344 COND_TOOLKIT_X11
="#"
38345 if test "x$TOOLKIT" = "xX11" ; then
38346 COND_TOOLKIT_X11
=""
38349 COND_TOOLKIT_X11_USE_GUI_1
="#"
38350 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38351 COND_TOOLKIT_X11_USE_GUI_1
=""
38355 if test "x$UNICODE" = "x1" ; then
38359 COND_USE_EXCEPTIONS_0
="#"
38360 if test "x$USE_EXCEPTIONS" = "x0" ; then
38361 COND_USE_EXCEPTIONS_0
=""
38364 COND_USE_EXCEPTIONS_1
="#"
38365 if test "x$USE_EXCEPTIONS" = "x1" ; then
38366 COND_USE_EXCEPTIONS_1
=""
38370 if test "x$USE_GUI" = "x0" ; then
38375 if test "x$USE_GUI" = "x1" ; then
38379 COND_USE_GUI_1_WXUNIV_0
="#"
38380 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38381 COND_USE_GUI_1_WXUNIV_0
=""
38384 COND_USE_GUI_1_WXUNIV_1
="#"
38385 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38386 COND_USE_GUI_1_WXUNIV_1
=""
38389 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
38390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38391 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
38394 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
38395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38396 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
38399 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
38400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38401 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
38404 COND_USE_ODBC_1
="#"
38405 if test "x$USE_ODBC" = "x1" ; then
38409 COND_USE_PLUGINS_0
="#"
38410 if test "x$USE_PLUGINS" = "x0" ; then
38411 COND_USE_PLUGINS_0
=""
38414 COND_USE_SOSYMLINKS_1
="#"
38415 if test "x$USE_SOSYMLINKS" = "x1" ; then
38416 COND_USE_SOSYMLINKS_1
=""
38419 COND_USE_SOVERLINUX_1
="#"
38420 if test "x$USE_SOVERLINUX" = "x1" ; then
38421 COND_USE_SOVERLINUX_1
=""
38424 COND_USE_SOVERSION_0
="#"
38425 if test "x$USE_SOVERSION" = "x0" ; then
38426 COND_USE_SOVERSION_0
=""
38429 COND_USE_SOVERSOLARIS_1
="#"
38430 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38431 COND_USE_SOVERSOLARIS_1
=""
38434 COND_WITH_PLUGIN_SDL_1
="#"
38435 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
38436 COND_WITH_PLUGIN_SDL_1
=""
38440 if test "x$WXUNIV" = "x1" ; then
38444 COND_WXUSE_EXPAT_BUILTIN
="#"
38445 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38446 COND_WXUSE_EXPAT_BUILTIN
=""
38449 COND_WXUSE_LIBJPEG_BUILTIN
="#"
38450 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38451 COND_WXUSE_LIBJPEG_BUILTIN
=""
38454 COND_WXUSE_LIBPNG_BUILTIN
="#"
38455 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38456 COND_WXUSE_LIBPNG_BUILTIN
=""
38459 COND_WXUSE_LIBTIFF_BUILTIN
="#"
38460 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38461 COND_WXUSE_LIBTIFF_BUILTIN
=""
38464 COND_WXUSE_ODBC_BUILTIN
="#"
38465 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38466 COND_WXUSE_ODBC_BUILTIN
=""
38469 COND_WXUSE_REGEX_BUILTIN
="#"
38470 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38471 COND_WXUSE_REGEX_BUILTIN
=""
38474 COND_WXUSE_ZLIB_BUILTIN
="#"
38475 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38476 COND_WXUSE_ZLIB_BUILTIN
=""
38483 if test $GCC_PCH = 1 ; then
38484 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38485 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
38488 powerpc
-*-darwin* )
38489 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38490 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
38493 if test "$wxUSE_STL" = "yes"; then
38494 echo "$as_me:$LINENO: checking If this MinGW version needs -DNO_GCC_PRAGMA" >&5
38495 echo $ECHO_N "checking If this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
38496 cat >conftest.
$ac_ext <<_ACEOF
38497 #line $LINENO "configure"
38500 cat confdefs.h
>>conftest.
$ac_ext
38501 cat >>conftest.
$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38507 #if !(__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
38508 #error "Not GCC 3.2 or greater"
38515 rm -f conftest.
$ac_objext
38516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38517 (eval $ac_compile) 2>&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } &&
38521 { ac_try
='test -s conftest.$ac_objext'
38522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38523 (eval $ac_try) 2>&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); }; }; then
38527 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38528 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
38529 echo "$as_me:$LINENO: result: yes" >&5
38530 echo "${ECHO_T}yes" >&6
38532 echo "$as_me: failed program was:" >&5
38533 sed 's/^/| /' conftest.
$ac_ext >&5
38535 echo "$as_me:$LINENO: result: no" >&5
38536 echo "${ECHO_T}no" >&6
38538 rm -f conftest.
$ac_objext conftest.
$ac_ext
38545 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
38646 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38647 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38648 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
38649 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38650 echo $ECHO_N "(cached) $ECHO_C" >&6
38652 cat >conftest.
make <<\_ACEOF
38654 @
echo 'ac_maketemp="$(MAKE)"'
38656 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38657 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38658 if test -n "$ac_maketemp"; then
38659 eval ac_cv_prog_make_
${ac_make}_set
=yes
38661 eval ac_cv_prog_make_
${ac_make}_set
=no
38663 rm -f conftest.
make
38665 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38666 echo "$as_me:$LINENO: result: yes" >&5
38667 echo "${ECHO_T}yes" >&6
38670 echo "$as_me:$LINENO: result: no" >&5
38671 echo "${ECHO_T}no" >&6
38672 SET_MAKE
="MAKE=${MAKE-make}"
38676 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
38677 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
38680 ac_config_headers
="$ac_config_headers setup.h"
38683 ac_config_files
="$ac_config_files wx-config version-script Makefile"
38686 ac_config_commands
="$ac_config_commands default"
38690 if test "$wxUSE_GUI" = "yes"; then
38691 SUBDIRS
="samples demos utils contrib"
38692 else SUBDIRS
="samples utils"
38697 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
38698 if test "${with_cppunit_prefix+set}" = set; then
38699 withval
="$with_cppunit_prefix"
38700 cppunit_config_prefix
="$withval"
38702 cppunit_config_prefix
=""
38705 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
38706 if test "${with_cppunit_exec_prefix+set}" = set; then
38707 withval
="$with_cppunit_exec_prefix"
38708 cppunit_config_exec_prefix
="$withval"
38710 cppunit_config_exec_prefix
=""
38713 if test x
$cppunit_config_exec_prefix != x
; then
38714 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
38715 if test x
${CPPUNIT_CONFIG+set} != xset
; then
38716 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
38719 if test x
$cppunit_config_prefix != x
; then
38720 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
38721 if test x
${CPPUNIT_CONFIG+set} != xset
; then
38722 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
38726 # Extract the first word of "cppunit-config", so it can be a program name with args.
38727 set dummy cppunit
-config; ac_word
=$2
38728 echo "$as_me:$LINENO: checking for $ac_word" >&5
38729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38730 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
38731 echo $ECHO_N "(cached) $ECHO_C" >&6
38733 case $CPPUNIT_CONFIG in
38735 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
38738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38739 for as_dir
in $PATH
38742 test -z "$as_dir" && as_dir
=.
38743 for ac_exec_ext
in '' $ac_executable_extensions; do
38744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38745 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38752 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
38756 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
38758 if test -n "$CPPUNIT_CONFIG"; then
38759 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
38760 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
38762 echo "$as_me:$LINENO: result: no" >&5
38763 echo "${ECHO_T}no" >&6
38766 cppunit_version_min
=1.8.0
38768 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
38769 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
38771 if test "$CPPUNIT_CONFIG" = "no" ; then
38773 echo "$as_me:$LINENO: result: no" >&5
38774 echo "${ECHO_T}no" >&6
38776 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
38777 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
38778 cppunit_version
=`$CPPUNIT_CONFIG --version`
38780 cppunit_major_version
=`echo $cppunit_version | \
38781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38782 cppunit_minor_version
=`echo $cppunit_version | \
38783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38784 cppunit_micro_version
=`echo $cppunit_version | \
38785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38787 cppunit_major_min
=`echo $cppunit_version_min | \
38788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38789 cppunit_minor_min
=`echo $cppunit_version_min | \
38790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38791 cppunit_micro_min
=`echo $cppunit_version_min | \
38792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38794 cppunit_version_proper
=`expr \
38795 $cppunit_major_version \> $cppunit_major_min \| \
38796 $cppunit_major_version \= $cppunit_major_min \& \
38797 $cppunit_minor_version \> $cppunit_minor_min \| \
38798 $cppunit_major_version \= $cppunit_major_min \& \
38799 $cppunit_minor_version \= $cppunit_minor_min \& \
38800 $cppunit_micro_version \>= $cppunit_micro_min `
38802 if test "$cppunit_version_proper" = "1" ; then
38803 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
38804 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
38806 echo "$as_me:$LINENO: result: no" >&5
38807 echo "${ECHO_T}no" >&6
38812 if test "x$no_cppunit" = x
; then
38813 SUBDIRS
="$SUBDIRS tests"
38824 for subdir
in `echo $SUBDIRS`; do
38825 if test -d ${srcdir}/${subdir} ; then
38826 if test "$wxUSE_GUI" = "yes"; then
38827 if test ${subdir} = "samples"; then
38828 makefiles
="samples/Makefile.in $makefiles"
38829 for sample
in `echo $SAMPLES_SUBDIRS`; do
38830 if test -d $srcdir/samples
/$sample; then
38831 makefiles
="samples/$sample/Makefile.in $makefiles"
38834 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
38836 else if test ${subdir} = "samples"; then
38837 makefiles
="samples/Makefile.in samples/console/Makefile.in"
38838 elif test ${subdir} = "utils"; then
38839 makefiles
="utils/HelpGen/Makefile.in \
38840 utils/HelpGen/src/Makefile.in \
38841 utils/tex2rtf/Makefile.in \
38842 utils/tex2rtf/src/Makefile.in"
38843 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
38847 for mkin
in $makefiles ; do
38848 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
38849 ac_config_files
="$ac_config_files $mk"
38856 cat >confcache
<<\_ACEOF
38857 # This file is a shell script that caches the results of configure
38858 # tests run on this system so they can be shared between configure
38859 # scripts and configure runs, see configure's option --config-cache.
38860 # It is not useful on other systems. If it contains results you don't
38861 # want to keep, you may remove or edit it.
38863 # config.status only pays attention to the cache file if you give it
38864 # the --recheck option to rerun configure.
38866 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38867 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38868 # following values.
38872 # The following way of writing the cache mishandles newlines in values,
38873 # but we know of no workaround that is simple, portable, and efficient.
38874 # So, don't put newlines in cache variables' values.
38875 # Ultrix sh set writes to stderr and can't be redirected directly,
38876 # and sets the high bit in the cache file unless we assign to the vars.
38879 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38881 # `set' does not quote correctly, so add quotes (double-quote
38882 # substitution turns \\\\ into \\, and sed turns \\ into \).
38885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38888 # `set' quotes correctly as required by POSIX, so do not add quotes.
38890 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38897 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38899 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38901 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
38902 if test -w $cache_file; then
38903 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38904 cat confcache
>$cache_file
38906 echo "not updating unwritable cache $cache_file"
38911 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
38912 # Let make expand exec_prefix.
38913 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
38915 # VPATH may cause trouble with some makes, so we remove $(srcdir),
38916 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38917 # trailing colons and then remove the whole line if VPATH becomes empty
38918 # (actually we leave an empty line to preserve line numbers).
38919 if test "x$srcdir" = x.
; then
38920 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
38921 s/:*\$(srcdir):*/:/;
38922 s/:*\${srcdir}:*/:/;
38924 s/^\([^=]*=[ ]*\):*/\1/;
38930 DEFS
=-DHAVE_CONFIG_H
38934 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
38935 # 1. Remove the extension, and $U if already installed.
38936 ac_i
=`echo "$ac_i" |
38937 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
38939 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
38940 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
38942 LIBOBJS
=$ac_libobjs
38944 LTLIBOBJS
=$ac_ltlibobjs
38948 : ${CONFIG_STATUS=./config.status}
38949 ac_clean_files_save
=$ac_clean_files
38950 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
38951 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
38952 echo "$as_me: creating $CONFIG_STATUS" >&6;}
38953 cat >$CONFIG_STATUS <<_ACEOF
38955 # Generated by $as_me.
38956 # Run this file to recreate the current configuration.
38957 # Compiler output produced by configure, useful for debugging
38958 # configure, is in config.log if it exists.
38961 ac_cs_recheck=false
38963 SHELL=\${CONFIG_SHELL-$SHELL}
38966 cat >>$CONFIG_STATUS <<\_ACEOF
38967 ## --------------------- ##
38968 ## M4sh Initialization. ##
38969 ## --------------------- ##
38971 # Be Bourne compatible
38972 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
38975 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
38976 # is contrary to our usage. Disable this feature.
38977 alias -g '${1+"$@"}'='"$@"'
38978 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
38982 # Support unset when possible.
38983 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
38990 # Work around bugs in pre-3.0 UWIN ksh.
38991 $as_unset ENV MAIL MAILPATH
38998 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
38999 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39000 LC_TELEPHONE LC_TIME
39002 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
39003 eval $as_var=C
; export $as_var
39009 # Required to use basename.
39010 if expr a
: '\(a\)' >/dev
/null
2>&1; then
39016 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
39017 as_basename
=basename
39023 # Name of the executable.
39024 as_me
=`$as_basename "$0" ||
39025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39026 X"$0" : 'X\(//\)$' \| \
39027 X"$0" : 'X\(/\)$' \| \
39028 . : '\(.\)' 2>/dev/null ||
39030 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39031 /^X\/\(\/\/\)$/{ s//\1/; q; }
39032 /^X\/\(\/\).*/{ s//\1/; q; }
39036 # PATH needs CR, and LINENO needs CR and PATH.
39037 # Avoid depending upon Character Ranges.
39038 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
39039 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39040 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39041 as_cr_digits
='0123456789'
39042 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39044 # The user is always right.
39045 if test "${PATH_SEPARATOR+set}" != set; then
39046 echo "#! /bin/sh" >conf$$.sh
39047 echo "exit 0" >>conf$$.sh
39049 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
39058 as_lineno_1
=$LINENO
39059 as_lineno_2
=$LINENO
39060 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
39061 test "x$as_lineno_1" != "x$as_lineno_2" &&
39062 test "x$as_lineno_3" = "x$as_lineno_2" || {
39063 # Find who we are. Look in the path if we contain no path at all
39066 *[\\/]* ) as_myself
=$0 ;;
39067 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39068 for as_dir
in $PATH
39071 test -z "$as_dir" && as_dir
=.
39072 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
39077 # We did not find ourselves, most probably we were run as `sh COMMAND'
39078 # in which case we are not to be found in the path.
39079 if test "x$as_myself" = x
; then
39082 if test ! -f "$as_myself"; then
39083 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39084 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39085 { (exit 1); exit 1; }; }
39087 case $CONFIG_SHELL in
39089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39090 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
39093 test -z "$as_dir" && as_dir
=.
39094 for as_base
in sh bash ksh sh5
; do
39097 if ("$as_dir/$as_base" -c '
39098 as_lineno_1=$LINENO
39099 as_lineno_2=$LINENO
39100 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39101 test "x$as_lineno_1" != "x$as_lineno_2" &&
39102 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
39103 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
39104 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
39105 CONFIG_SHELL
=$as_dir/$as_base
39106 export CONFIG_SHELL
39107 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39115 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39116 # uniformly replaced by the line number. The first 'sed' inserts a
39117 # line-number line before each line; the second 'sed' does the real
39118 # work. The second script uses 'N' to pair each line-number line
39119 # with the numbered line, and appends trailing '-' during
39120 # substitution so that $LINENO is not a special case at line end.
39121 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39122 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39123 sed '=' <$as_myself |
39128 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39131 s,^['$as_cr_digits']*\n,,
39132 ' >$as_me.lineno
&&
39133 chmod +x
$as_me.lineno
||
39134 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39135 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39136 { (exit 1); exit 1; }; }
39138 # Don't try to exec as it changes $[0], causing all sort of problems
39139 # (the dirname of $[0] is not the place where we might find the
39140 # original and so on. Autoconf is especially sensible to this).
39142 # Exit status is that of the last command.
39147 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39148 *c
*,-n*) ECHO_N
= ECHO_C
='
39150 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
39151 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
39154 if expr a
: '\(a\)' >/dev
/null
2>&1; then
39160 rm -f conf$$ conf$$.exe conf$$.
file
39162 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
39163 # We could just check for DJGPP; but this test a) works b) is more generic
39164 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39165 if test -f conf$$.exe
; then
39166 # Don't use ln at all; we don't have any links
39171 elif ln conf$$.
file conf$$
2>/dev
/null
; then
39176 rm -f conf$$ conf$$.exe conf$$.
file
39178 if mkdir -p .
2>/dev
/null
; then
39184 as_executable_p
="test -f"
39186 # Sed expression to map a string onto a valid CPP name.
39187 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
39189 # Sed expression to map a string onto a valid variable name.
39190 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
39194 # We need space, tab and new line, in precisely that order.
39204 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39205 # report actual input values of CONFIG_FILES etc. instead of their
39206 # values after options handling. Logging --version etc. is OK.
39210 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39211 ## Running $as_me. ##
39216 This file was extended by wxWindows $as_me 2.5.1, which was
39217 generated by GNU Autoconf 2.57. Invocation command line was
39219 CONFIG_FILES = $CONFIG_FILES
39220 CONFIG_HEADERS = $CONFIG_HEADERS
39221 CONFIG_LINKS = $CONFIG_LINKS
39222 CONFIG_COMMANDS = $CONFIG_COMMANDS
39226 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39230 # Files that config.status was made for.
39231 if test -n "$ac_config_files"; then
39232 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39235 if test -n "$ac_config_headers"; then
39236 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39239 if test -n "$ac_config_links"; then
39240 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39243 if test -n "$ac_config_commands"; then
39244 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39247 cat >>$CONFIG_STATUS <<\_ACEOF
39250 \`$as_me' instantiates files from templates according to the
39251 current configuration.
39253 Usage: $0 [OPTIONS] [FILE]...
39255 -h, --help print this help, then exit
39256 -V, --version print version number, then exit
39257 -q, --quiet do not print progress messages
39258 -d, --debug don't remove temporary files
39259 --recheck update $as_me by reconfiguring in the same conditions
39260 --file=FILE[:TEMPLATE]
39261 instantiate the configuration file FILE
39262 --header=FILE[:TEMPLATE]
39263 instantiate the configuration header FILE
39265 Configuration files:
39268 Configuration headers:
39271 Configuration commands:
39274 Report bugs to <bug-autoconf@gnu.org>."
39277 cat >>$CONFIG_STATUS <<_ACEOF
39279 wxWindows config.status 2.5.1
39280 configured by $0, generated by GNU Autoconf 2.57,
39281 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39283 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
39284 Free Software Foundation, Inc.
39285 This config.status script is free software; the Free Software Foundation
39286 gives unlimited permission to copy, distribute and modify it."
39291 cat >>$CONFIG_STATUS <<\_ACEOF
39292 # If no file are specified by the user, then we need to provide default
39293 # value. By we need to know if files were specified by the user.
39299 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
39300 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
39308 *) # This is not an option, so the user has probably given explicit
39311 ac_need_defaults
=false
;;
39315 # Handling of the options.
39317 cat >>$CONFIG_STATUS <<\_ACEOF
39318 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39320 --version | --vers* | -V )
39321 echo "$ac_cs_version"; exit 0 ;;
39323 # Conflict between --help and --header
39324 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39325 Try \`$0 --help' for more information." >&5
39326 echo "$as_me: error: ambiguous option: $1
39327 Try \`$0 --help' for more information." >&2;}
39328 { (exit 1); exit 1; }; };;
39329 --help | --hel | -h )
39330 echo "$ac_cs_usage"; exit 0 ;;
39331 --debug | --d* | -d )
39333 --file | --fil | --fi | --f )
39335 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
39336 ac_need_defaults
=false
;;
39337 --header | --heade | --head | --hea )
39339 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
39340 ac_need_defaults
=false
;;
39341 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39342 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39345 # This is an error.
39346 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39347 Try \`$0 --help' for more information." >&5
39348 echo "$as_me: error: unrecognized option: $1
39349 Try \`$0 --help' for more information." >&2;}
39350 { (exit 1); exit 1; }; } ;;
39352 *) ac_config_targets
="$ac_config_targets $1" ;;
39358 ac_configure_extra_args
=
39360 if $ac_cs_silent; then
39362 ac_configure_extra_args
="$ac_configure_extra_args --silent"
39366 cat >>$CONFIG_STATUS <<_ACEOF
39367 if \$ac_cs_recheck; then
39368 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39369 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39374 cat >>$CONFIG_STATUS <<_ACEOF
39376 # INIT-COMMANDS section.
39380 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39389 cat >>$CONFIG_STATUS <<\_ACEOF
39390 for ac_config_target
in $ac_config_targets
39392 case "$ac_config_target" in
39393 # Handling of arguments.
39394 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
39395 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
39396 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
39397 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
39398 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
39399 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
39400 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39401 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39402 { (exit 1); exit 1; }; };;
39406 # If the user did not use the arguments to specify the items to instantiate,
39407 # then the envvar interface is used. Set only those that are not.
39408 # We use the long form for the default assignment because of an extremely
39409 # bizarre bug on SunOS 4.1.3.
39410 if $ac_need_defaults; then
39411 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
39412 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
39413 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
39416 # Have a temporary directory for convenience. Make it in the build tree
39417 # simply because there is no reason to put it here, and in addition,
39418 # creating and moving files from /tmp can sometimes cause problems.
39419 # Create a temporary directory, and hook for its removal unless debugging.
39422 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39423 trap '{ (exit 1); exit 1; }' 1 2 13 15
39426 # Create a (secure) tmp directory for tmp files.
39429 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39430 test -n "$tmp" && test -d "$tmp"
39433 tmp
=.
/confstat$$
-$RANDOM
39434 (umask 077 && mkdir $tmp)
39437 echo "$me: cannot create a temporary directory in ." >&2
39438 { (exit 1); exit 1; }
39443 cat >>$CONFIG_STATUS <<_ACEOF
39446 # CONFIG_FILES section.
39449 # No need to generate the scripts if there are no CONFIG_FILES.
39450 # This happens for instance when ./config.status config.h
39451 if test -n "\$CONFIG_FILES"; then
39452 # Protect against being on the right side of a sed subst in config.status.
39453 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39454 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39455 s,@SHELL@,$SHELL,;t t
39456 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39457 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39458 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39459 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39460 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39461 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39462 s,@exec_prefix@,$exec_prefix,;t t
39463 s,@prefix@,$prefix,;t t
39464 s,@program_transform_name@,$program_transform_name,;t t
39465 s,@bindir@,$bindir,;t t
39466 s,@sbindir@,$sbindir,;t t
39467 s,@libexecdir@,$libexecdir,;t t
39468 s,@datadir@,$datadir,;t t
39469 s,@sysconfdir@,$sysconfdir,;t t
39470 s,@sharedstatedir@,$sharedstatedir,;t t
39471 s,@localstatedir@,$localstatedir,;t t
39472 s,@libdir@,$libdir,;t t
39473 s,@includedir@,$includedir,;t t
39474 s,@oldincludedir@,$oldincludedir,;t t
39475 s,@infodir@,$infodir,;t t
39476 s,@mandir@,$mandir,;t t
39477 s,@build_alias@,$build_alias,;t t
39478 s,@host_alias@,$host_alias,;t t
39479 s,@target_alias@,$target_alias,;t t
39480 s,@DEFS@,$DEFS,;t t
39481 s,@ECHO_C@,$ECHO_C,;t t
39482 s,@ECHO_N@,$ECHO_N,;t t
39483 s,@ECHO_T@,$ECHO_T,;t t
39484 s,@LIBS@,$LIBS,;t t
39485 s,@build@,$build,;t t
39486 s,@build_cpu@,$build_cpu,;t t
39487 s,@build_vendor@,$build_vendor,;t t
39488 s,@build_os@,$build_os,;t t
39489 s,@host@,$host,;t t
39490 s,@host_cpu@,$host_cpu,;t t
39491 s,@host_vendor@,$host_vendor,;t t
39492 s,@host_os@,$host_os,;t t
39493 s,@target@,$target,;t t
39494 s,@target_cpu@,$target_cpu,;t t
39495 s,@target_vendor@,$target_vendor,;t t
39496 s,@target_os@,$target_os,;t t
39498 s,@CFLAGS@,$CFLAGS,;t t
39499 s,@LDFLAGS@,$LDFLAGS,;t t
39500 s,@CPPFLAGS@,$CPPFLAGS,;t t
39501 s,@ac_ct_CC@,$ac_ct_CC,;t t
39502 s,@EXEEXT@,$EXEEXT,;t t
39503 s,@OBJEXT@,$OBJEXT,;t t
39505 s,@EGREP@,$EGREP,;t t
39507 s,@CXXFLAGS@,$CXXFLAGS,;t t
39508 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
39509 s,@RANLIB@,$RANLIB,;t t
39510 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
39512 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39513 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39514 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
39515 s,@STRIP@,$STRIP,;t t
39516 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
39517 s,@LN_S@,$LN_S,;t t
39518 s,@CXXCPP@,$CXXCPP,;t t
39519 s,@subdirs@,$subdirs,;t t
39520 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
39521 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
39522 s,@GTK_LIBS@,$GTK_LIBS,;t t
39523 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
39524 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
39525 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
39526 s,@X_CFLAGS@,$X_CFLAGS,;t t
39527 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
39528 s,@X_LIBS@,$X_LIBS,;t t
39529 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
39530 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
39531 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
39532 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
39533 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
39534 s,@RESCOMP@,$RESCOMP,;t t
39535 s,@DEREZ@,$DEREZ,;t t
39536 s,@SETFILE@,$SETFILE,;t t
39537 s,@LIBICONV@,$LIBICONV,;t t
39538 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
39539 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
39540 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
39541 s,@SDL_LIBS@,$SDL_LIBS,;t t
39542 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
39543 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
39544 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
39545 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
39546 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
39547 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
39548 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
39549 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
39550 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
39551 s,@VENDOR@,$VENDOR,;t t
39552 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
39553 s,@WXUNIV@,$WXUNIV,;t t
39554 s,@MONOLITHIC@,$MONOLITHIC,;t t
39555 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
39556 s,@EXTRALIBS@,$EXTRALIBS,;t t
39557 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
39558 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
39559 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
39560 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
39561 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
39562 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
39563 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
39564 s,@UNICODE@,$UNICODE,;t t
39565 s,@BUILD@,$BUILD,;t t
39566 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
39567 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
39568 s,@SHARED@,$SHARED,;t t
39569 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
39570 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
39571 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
39572 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
39573 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
39574 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
39575 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
39576 s,@SET_MAKE@,$SET_MAKE,;t t
39577 s,@MAKE_SET@,$MAKE_SET,;t t
39578 s,@ac_ct_AR@,$ac_ct_AR,;t t
39579 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
39581 s,@ac_ct_NM@,$ac_ct_NM,;t t
39582 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
39583 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
39584 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
39585 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
39586 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
39587 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
39588 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
39589 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
39590 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
39591 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
39592 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
39593 s,@LIBPREFIX@,$LIBPREFIX,;t t
39594 s,@LIBEXT@,$LIBEXT,;t t
39595 s,@DLLPREFIX@,$DLLPREFIX,;t t
39596 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
39597 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
39598 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
39599 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
39600 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
39601 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
39602 s,@PIC_FLAG@,$PIC_FLAG,;t t
39603 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
39604 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
39605 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
39606 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
39607 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
39608 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
39609 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
39610 s,@GCC_PCH@,$GCC_PCH,;t t
39611 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
39612 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
39613 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
39614 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
39615 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
39616 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
39617 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
39618 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
39619 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
39620 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
39621 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
39622 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
39623 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
39624 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
39625 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
39626 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
39627 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
39628 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
39629 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
39630 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
39631 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
39632 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
39633 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
39634 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
39635 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
39636 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
39637 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
39638 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
39639 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
39640 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
39641 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
39642 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
39643 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
39644 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
39645 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
39646 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
39647 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
39648 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
39649 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
39650 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
39651 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
39652 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
39653 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
39654 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
39655 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
39656 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
39657 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
39658 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
39659 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
39660 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39661 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39662 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39663 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
39664 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
39665 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
39666 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
39667 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
39668 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
39669 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
39670 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
39671 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
39672 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
39673 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
39674 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
39675 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
39676 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
39677 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
39678 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
39679 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
39680 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
39681 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
39682 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
39683 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
39684 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
39685 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
39686 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
39687 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
39688 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
39689 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
39690 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
39691 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
39692 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
39693 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
39694 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
39695 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
39696 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
39697 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
39698 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
39699 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
39700 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
39701 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
39702 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
39703 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
39704 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
39705 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
39706 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
39707 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
39708 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
39709 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
39710 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
39711 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
39712 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
39713 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
39714 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
39715 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
39716 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
39717 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
39718 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
39719 s,@PATH_IFS@,$PATH_IFS,;t t
39720 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
39721 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
39722 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
39723 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
39724 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
39725 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
39726 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
39727 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
39728 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
39729 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
39730 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
39731 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
39732 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
39733 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
39734 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
39735 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
39736 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
39737 s,@WX_ALL@,$WX_ALL,;t t
39738 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
39739 s,@SHARED_LD@,$SHARED_LD,;t t
39740 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
39741 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
39742 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
39743 s,@USE_GUI@,$USE_GUI,;t t
39744 s,@AFMINSTALL@,$AFMINSTALL,;t t
39745 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
39746 s,@TOOLKIT@,$TOOLKIT,;t t
39747 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
39748 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
39749 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
39750 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
39751 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
39752 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
39753 s,@cross_compiling@,$cross_compiling,;t t
39754 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
39755 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
39756 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
39757 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
39758 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
39759 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
39760 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
39761 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
39762 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
39763 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
39764 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
39765 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
39766 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
39767 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
39768 s,@GUIDIST@,$GUIDIST,;t t
39769 s,@PORT_FILES@,$PORT_FILES,;t t
39770 s,@DISTDIR@,$DISTDIR,;t t
39771 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
39772 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
39773 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
39774 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
39775 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
39776 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
39777 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
39778 s,@RESFLAGS@,$RESFLAGS,;t t
39779 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
39780 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
39781 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
39782 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
39783 s,@MACRESCOMP@,$MACRESCOMP,;t t
39784 s,@MACSETFILE@,$MACSETFILE,;t t
39785 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
39787 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
39788 s,@DLLTOOL@,$DLLTOOL,;t t
39791 s,@MAKEINFO@,$MAKEINFO,;t t
39792 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
39793 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
39794 s,@LIBOBJS@,$LIBOBJS,;t t
39795 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
39800 cat >>$CONFIG_STATUS <<\_ACEOF
39801 # Split the substitutions into bite-sized pieces for seds with
39802 # small command number limits, like on Digital OSF/1 and HP-UX.
39803 ac_max_sed_lines
=48
39804 ac_sed_frag
=1 # Number of current file.
39805 ac_beg
=1 # First line for current file.
39806 ac_end
=$ac_max_sed_lines # Line after last line for current file.
39809 while $ac_more_lines; do
39810 if test $ac_beg -gt 1; then
39811 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
39813 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
39815 if test ! -s $tmp/subs.frag
; then
39816 ac_more_lines
=false
39818 # The purpose of the label and of the branching condition is to
39819 # speed up the sed processing (if there are no `@' at all, there
39820 # is no need to browse any of the substitutions).
39821 # These are the two extra sed commands mentioned above.
39823 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
39824 if test -z "$ac_sed_cmds"; then
39825 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
39827 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
39829 ac_sed_frag
=`expr $ac_sed_frag + 1`
39831 ac_end
=`expr $ac_end + $ac_max_sed_lines`
39834 if test -z "$ac_sed_cmds"; then
39837 fi # test -n "$CONFIG_FILES"
39840 cat >>$CONFIG_STATUS <<\_ACEOF
39841 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
39842 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
39844 - | *:- | *:-:* ) # input from stdin
39846 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39847 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39848 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
39849 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
39850 * ) ac_file_in
=$ac_file.
in ;;
39853 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
39854 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
39855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39856 X"$ac_file" : 'X\(//\)[^/]' \| \
39857 X"$ac_file" : 'X\(//\)$' \| \
39858 X"$ac_file" : 'X\(/\)' \| \
39859 . : '\(.\)' 2>/dev/null ||
39861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39862 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39863 /^X\(\/\/\)$/{ s//\1/; q; }
39864 /^X\(\/\).*/{ s//\1/; q; }
39866 { if $as_mkdir_p; then
39871 while test ! -d "$as_dir"; do
39872 as_dirs
="$as_dir $as_dirs"
39873 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
39874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39875 X"$as_dir" : 'X\(//\)[^/]' \| \
39876 X"$as_dir" : 'X\(//\)$' \| \
39877 X"$as_dir" : 'X\(/\)' \| \
39878 . : '\(.\)' 2>/dev/null ||
39880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39882 /^X\(\/\/\)$/{ s//\1/; q; }
39883 /^X\(\/\).*/{ s//\1/; q; }
39886 test ! -n "$as_dirs" || mkdir $as_dirs
39887 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
39888 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
39889 { (exit 1); exit 1; }; }; }
39893 if test "$ac_dir" != .
; then
39894 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
39895 # A "../" for each directory in $ac_dir_suffix.
39896 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
39898 ac_dir_suffix
= ac_top_builddir
=
39902 .
) # No --srcdir option. We are building in place.
39904 if test -z "$ac_top_builddir"; then
39907 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
39909 [\\/]* | ?
:[\\/]* ) # Absolute path.
39910 ac_srcdir
=$srcdir$ac_dir_suffix;
39911 ac_top_srcdir
=$srcdir ;;
39912 *) # Relative path.
39913 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
39914 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
39916 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
39918 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
39919 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
39920 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
39921 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
39925 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
39926 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
39929 if test x
"$ac_file" != x
-; then
39930 { echo "$as_me:$LINENO: creating $ac_file" >&5
39931 echo "$as_me: creating $ac_file" >&6;}
39934 # Let's still pretend it is `configure' which instantiates (i.e., don't
39935 # use $as_me), people would be surprised to read:
39936 # /* config.h. Generated by config.status. */
39937 if test x
"$ac_file" = x
-; then
39940 configure_input
="$ac_file. "
39942 configure_input
=$configure_input"Generated from `echo $ac_file_in |
39943 sed 's,.*/,,'` by configure."
39945 # First look for the input files in the build tree, otherwise in the
39947 ac_file_inputs
=`IFS=:
39948 for f in $ac_file_in; do
39950 -) echo $tmp/stdin ;;
39952 # Absolute (can't be DOS-style, as IFS=:)
39953 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39954 echo "$as_me: error: cannot find input file: $f" >&2;}
39955 { (exit 1); exit 1; }; }
39958 if test -f "$f"; then
39961 elif test -f "$srcdir/$f"; then
39966 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
39967 echo "$as_me: error: cannot find input file: $f" >&2;}
39968 { (exit 1); exit 1; }; }
39971 done` || { (exit 1); exit 1; }
39973 cat >>$CONFIG_STATUS <<_ACEOF
39977 cat >>$CONFIG_STATUS <<\_ACEOF
39979 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
39980 s
,@configure_input@
,$configure_input,;t t
39981 s
,@srcdir@
,$ac_srcdir,;t t
39982 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
39983 s
,@top_srcdir@
,$ac_top_srcdir,;t t
39984 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
39985 s
,@builddir@
,$ac_builddir,;t t
39986 s
,@abs_builddir@
,$ac_abs_builddir,;t t
39987 s
,@top_builddir@
,$ac_top_builddir,;t t
39988 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
39989 s
,@INSTALL@
,$ac_INSTALL,;t t
39990 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
39992 if test x"$ac_file" != x-; then
39993 mv $tmp/out $ac_file
40001 cat >>$CONFIG_STATUS <<\_ACEOF
40004 # CONFIG_HEADER section.
40007 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
40008 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40010 # ac_d sets the value in "#define NAME VALUE" lines.
40011 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40012 ac_dB
='[ ].*$,\1#\2'
40015 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40016 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40017 ac_uB
='$,\1#\2define\3'
40021 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
40022 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40024 - | *:- | *:-:* ) # input from stdin
40026 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40027 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40028 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40029 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40030 * ) ac_file_in
=$ac_file.
in ;;
40033 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40034 echo "$as_me: creating $ac_file" >&6;}
40036 # First look for the input files in the build tree, otherwise in the
40038 ac_file_inputs
=`IFS=:
40039 for f in $ac_file_in; do
40041 -) echo $tmp/stdin ;;
40043 # Absolute (can't be DOS-style, as IFS=:)
40044 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40045 echo "$as_me: error: cannot find input file: $f" >&2;}
40046 { (exit 1); exit 1; }; }
40049 if test -f "$f"; then
40052 elif test -f "$srcdir/$f"; then
40057 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40058 echo "$as_me: error: cannot find input file: $f" >&2;}
40059 { (exit 1); exit 1; }; }
40062 done` || { (exit 1); exit 1; }
40063 # Remove the trailing spaces.
40064 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40068 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40069 # `conftest.undefs', that substitutes the proper values into
40070 # config.h.in to produce config.h. The first handles `#define'
40071 # templates, and the second `#undef' templates.
40072 # And first: Protect against being on the right side of a sed subst in
40073 # config.status. Protect against being in an unquoted here document
40074 # in config.status.
40075 rm -f conftest.defines conftest.undefs
40076 # Using a here document instead of a string reduces the quoting nightmare.
40077 # Putting comments in sed scripts is not portable.
40079 # `end' is used to avoid that the second main sed command (meant for
40080 # 0-ary CPP macros) applies to n-ary macro definitions.
40081 # See the Autoconf documentation for `clear'.
40082 cat >confdef2sed.
sed <<\_ACEOF
40087 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40089 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40092 # If some macros were called several times there might be several times
40093 # the same #defines, which is useless. Nevertheless, we may not want to
40094 # sort them, since we want the *last* AC-DEFINE to be honored.
40095 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40096 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40097 rm -f confdef2sed.sed
40099 # This sed command replaces #undef with comments. This is necessary, for
40100 # example, in the case of _POSIX_SOURCE, which is predefined and required
40101 # on some systems where configure will not decide to define it.
40102 cat >>conftest.undefs <<\_ACEOF
40103 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40106 # Break up conftest.defines because some shells have a limit on the size
40107 # of here documents, and old seds have small limits too (100 cmds).
40108 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40109 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40110 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40111 echo ' :' >>$CONFIG_STATUS
40112 rm -f conftest.tail
40113 while grep . conftest.defines >/dev/null
40115 # Write a limited-size here document to $tmp/defines.sed.
40116 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40117 # Speed up: don't consider the non `#define' lines.
40118 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40119 # Work around the forget-to-reset-the-flag bug.
40120 echo 't clr' >>$CONFIG_STATUS
40121 echo ': clr' >>$CONFIG_STATUS
40122 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
40124 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40126 mv $tmp/out $tmp/in
40128 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
40129 rm -f conftest.defines
40130 mv conftest.
tail conftest.defines
40132 rm -f conftest.defines
40133 echo ' fi # grep' >>$CONFIG_STATUS
40134 echo >>$CONFIG_STATUS
40136 # Break up conftest.undefs because some shells have a limit on the size
40137 # of here documents, and old seds have small limits too (100 cmds).
40138 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40139 rm -f conftest.
tail
40140 while grep . conftest.undefs
>/dev
/null
40142 # Write a limited-size here document to $tmp/undefs.sed.
40143 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40144 # Speed up: don't consider the non
`#undef'
40145 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40146 # Work around the forget-to-reset-the-flag bug.
40147 echo 't clr' >>$CONFIG_STATUS
40148 echo ': clr' >>$CONFIG_STATUS
40149 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40151 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40153 mv $tmp/out $tmp/in
40155 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40156 rm -f conftest.undefs
40157 mv conftest.tail conftest.undefs
40159 rm -f conftest.undefs
40161 cat >>$CONFIG_STATUS <<\_ACEOF
40162 # Let's still pretend it is `configure
' which instantiates (i.e., don't
40163 # use $as_me), people would be surprised to read:
40164 # /* config.h. Generated by config.status. */
40165 if test x
"$ac_file" = x
-; then
40166 echo "/* Generated by configure. */" >$tmp/config.h
40168 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40170 cat $tmp/in >>$tmp/config.h
40172 if test x
"$ac_file" != x
-; then
40173 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
40174 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40175 echo "$as_me: $ac_file is unchanged" >&6;}
40177 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40179 X"$ac_file" : 'X\(//\)[^/]' \| \
40180 X"$ac_file" : 'X\(//\)$' \| \
40181 X"$ac_file" : 'X\(/\)' \| \
40182 . : '\(.\)' 2>/dev/null ||
40184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40185 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40186 /^X\(\/\/\)$/{ s//\1/; q; }
40187 /^X\(\/\).*/{ s//\1/; q; }
40189 { if $as_mkdir_p; then
40194 while test ! -d "$as_dir"; do
40195 as_dirs
="$as_dir $as_dirs"
40196 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40197 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40198 X"$as_dir" : 'X\(//\)[^/]' \| \
40199 X"$as_dir" : 'X\(//\)$' \| \
40200 X"$as_dir" : 'X\(/\)' \| \
40201 . : '\(.\)' 2>/dev/null ||
40203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40205 /^X\(\/\/\)$/{ s//\1/; q; }
40206 /^X\(\/\).*/{ s//\1/; q; }
40209 test ! -n "$as_dirs" || mkdir $as_dirs
40210 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40211 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40212 { (exit 1); exit 1; }; }; }
40215 mv $tmp/config.h
$ac_file
40219 rm -f $tmp/config.h
40223 cat >>$CONFIG_STATUS <<\_ACEOF
40226 # CONFIG_COMMANDS section.
40228 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
40229 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
40230 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40231 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
40232 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40233 X"$ac_dest" : 'X\(//\)[^/]' \| \
40234 X"$ac_dest" : 'X\(//\)$' \| \
40235 X"$ac_dest" : 'X\(/\)' \| \
40236 . : '\(.\)' 2>/dev/null ||
40238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40239 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40240 /^X\(\/\/\)$/{ s//\1/; q; }
40241 /^X\(\/\).*/{ s//\1/; q; }
40245 if test "$ac_dir" != .
; then
40246 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40247 # A "../" for each directory in $ac_dir_suffix.
40248 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40250 ac_dir_suffix
= ac_top_builddir
=
40254 .
) # No --srcdir option. We are building in place.
40256 if test -z "$ac_top_builddir"; then
40259 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40261 [\\/]* | ?
:[\\/]* ) # Absolute path.
40262 ac_srcdir
=$srcdir$ac_dir_suffix;
40263 ac_top_srcdir
=$srcdir ;;
40264 *) # Relative path.
40265 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40266 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40268 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40270 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
40271 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40272 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40273 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40276 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40277 echo "$as_me: executing $ac_dest commands" >&6;}
40280 if test ! -h wx
-config; then
40282 mv wx
-config wx
${TOOLCHAIN_NAME}-config
40283 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
40286 if test ! -d lib
; then
40289 if test ! -d lib
/wx
; then
40292 if test ! -d lib
/wx
/include
; then
40293 mkdir lib
/wx
/include
40295 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
40296 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
40298 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
40299 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
40301 if test -f setup.h
; then
40302 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
40309 cat >>$CONFIG_STATUS <<\_ACEOF
40311 { (exit 0); exit 0; }
40313 chmod +x
$CONFIG_STATUS
40314 ac_clean_files
=$ac_clean_files_save
40317 # configure is writing to config.log, and then calls config.status.
40318 # config.status does its own redirection, appending to config.log.
40319 # Unfortunately, on DOS this fails, as config.log is still kept open
40320 # by configure, so config.status won't be able to write to it; its
40321 # output is simply discarded. So we exec the FD to /dev/null,
40322 # effectively closing config.log, so it can be properly (re)opened and
40323 # appended to by config.status. When coming back to configure, we
40324 # need to make the FD available again.
40325 if test "$no_create" != yes; then
40327 ac_config_status_args
=
40328 test "$silent" = yes &&
40329 ac_config_status_args
="$ac_config_status_args --quiet"
40331 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
40333 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40334 # would make configure fail if this is the last instruction.
40335 $ac_cs_success || { (exit 1); exit 1; }
40339 # CONFIG_SUBDIRS section.
40341 if test "$no_recursion" != yes; then
40343 # Remove --cache-file and --srcdir arguments so they do not pile up.
40344 ac_sub_configure_args
=
40346 for ac_arg
in $ac_configure_args; do
40347 if test -n "$ac_prev"; then
40352 -cache-file | --cache-file | --cache-fil | --cache-fi \
40353 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40354 ac_prev
=cache_file
;;
40355 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40356 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40359 --config-cache | -C)
40361 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40363 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40365 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40367 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40369 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
40373 # Always prepend --prefix to ensure using the same prefix
40374 # in subdir configurations.
40375 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
40378 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
40380 # Do not complain, so a configure script can configure whichever
40381 # parts of a large source tree are present.
40382 test -d $srcdir/$ac_dir || continue
40384 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40385 echo "$as_me: configuring in $ac_dir" >&6;}
40386 { if $as_mkdir_p; then
40391 while test ! -d "$as_dir"; do
40392 as_dirs
="$as_dir $as_dirs"
40393 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40395 X"$as_dir" : 'X\(//\)[^/]' \| \
40396 X"$as_dir" : 'X\(//\)$' \| \
40397 X"$as_dir" : 'X\(/\)' \| \
40398 . : '\(.\)' 2>/dev/null ||
40400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40402 /^X\(\/\/\)$/{ s//\1/; q; }
40403 /^X\(\/\).*/{ s//\1/; q; }
40406 test ! -n "$as_dirs" || mkdir $as_dirs
40407 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40408 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40409 { (exit 1); exit 1; }; }; }
40413 if test "$ac_dir" != .
; then
40414 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40415 # A "../" for each directory in $ac_dir_suffix.
40416 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40418 ac_dir_suffix
= ac_top_builddir
=
40422 .
) # No --srcdir option. We are building in place.
40424 if test -z "$ac_top_builddir"; then
40427 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40429 [\\/]* | ?
:[\\/]* ) # Absolute path.
40430 ac_srcdir
=$srcdir$ac_dir_suffix;
40431 ac_top_srcdir
=$srcdir ;;
40432 *) # Relative path.
40433 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40434 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40436 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40438 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
40439 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40440 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40441 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40446 # Check for guested configure; otherwise get Cygnus style configure.
40447 if test -f $ac_srcdir/configure.gnu
; then
40448 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
40449 elif test -f $ac_srcdir/configure
; then
40450 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
40451 elif test -f $ac_srcdir/configure.
in; then
40452 ac_sub_configure
=$ac_configure
40454 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
40455 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
40459 # The recursion is here.
40460 if test -n "$ac_sub_configure"; then
40461 # Make the cache file name correct relative to the subdirectory.
40462 case $cache_file in
40463 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
40464 *) # Relative path.
40465 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
40468 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
40469 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
40470 # The eval makes quoting arguments work.
40471 eval $ac_sub_configure $ac_sub_configure_args \
40472 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
40473 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
40474 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
40475 { (exit 1); exit 1; }; }
40484 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
40486 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
40487 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
40489 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
40490 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
40491 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
40493 echo " What level of wxWindows compatibility should be enabled?"
40494 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
40495 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
40497 echo " Which libraries should wxWindows use?"
40498 echo " jpeg ${wxUSE_LIBJPEG-none}"
40499 echo " png ${wxUSE_LIBPNG-none}"
40500 echo " regex ${wxUSE_REGEX}"
40501 echo " tiff ${wxUSE_LIBTIFF-none}"
40502 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
40503 echo " xpm ${wxUSE_LIBXPM-none}"
40505 echo " zlib ${wxUSE_ZLIB}"
40506 echo " odbc ${wxUSE_ODBC}"
40507 echo " expat ${wxUSE_EXPAT}"
40508 echo " libmspack ${wxUSE_LIBMSPACK}"
40509 echo " sdl ${wxUSE_LIBSDL}"