2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWindows'
272 PACKAGE_TARNAME
='wxwindows'
273 PACKAGE_VERSION
='2.5.1'
274 PACKAGE_STRING
='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX 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'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWindows
2.2 compatibility
893 --disable-compat24 disable wxWindows
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWindows implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-constraints use layout
-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
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 ;;
1124 # Do not use `cd foo && pwd` to compute absolute paths, because
1125 # the directories may not exist.
1127 .
) ac_abs_builddir
="$ac_dir";;
1130 .
) ac_abs_builddir
=`pwd`;;
1131 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1132 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1135 case $ac_abs_builddir in
1136 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1138 case ${ac_top_builddir}.
in
1139 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1141 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_srcdir
=$ac_srcdir;;
1148 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1150 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1156 case $ac_top_srcdir in
1157 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu
; then
1167 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1168 elif test -f $ac_srcdir/configure
; then
1170 $SHELL $ac_srcdir/configure
--help=recursive
1171 elif test -f $ac_srcdir/configure.ac
||
1172 test -f $ac_srcdir/configure.
in; then
1174 $ac_configure --help
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1185 wxWindows configure
2.5.1
1186 generated by GNU Autoconf
2.59
1188 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1189 This configure
script is free software
; the Free Software Foundation
1190 gives unlimited permission to copy
, distribute and modify it.
1196 This file contains any messages produced by compilers while
1197 running configure, to aid debugging if configure makes a mistake.
1199 It was created by wxWindows $as_me 2.5.1, which was
1200 generated by GNU Autoconf 2.59. Invocation command line was
1211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1218 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1221 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1224 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1225 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1226 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1234 test -z "$as_dir" && as_dir
=.
1235 echo "PATH: $as_dir"
1250 # Keep a trace of the command line.
1251 # Strip out --no-create and --no-recursion so they do not pile up.
1252 # Strip out --silent because we don't want to record it for future runs.
1253 # Also quote any args containing shell meta-characters.
1254 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_must_keep_next
=false
1265 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1269 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1275 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1276 if test $ac_must_keep_next = true
; then
1277 ac_must_keep_next
=false
# Got value, back to normal.
1280 *=* | --config-cache | -C | -disable-* | --disable-* \
1281 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1282 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1283 | -with-* | --with-* | -without-* | --without-* | --x)
1284 case "$ac_configure_args0 " in
1285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 -* ) ac_must_keep_next
=true
;;
1291 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1292 # Get rid of the leading space.
1298 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1299 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1301 # When interrupted or exit'd, cleanup temporary files, and complete
1302 # config.log. We remove comments because anyway the quotes in there
1303 # would cause problems or look ugly.
1304 # WARNING: Be sure not to use single quotes in there, as some shells,
1305 # such as our DU 5.0 friend, will then `close' the trap.
1306 trap 'exit_status=$?
1307 # Save into config.log some information that might help in debugging.
1312 ## ---------------- ##
1313 ## Cache variables. ##
1314 ## ---------------- ##
1317 # The following way of writing the cache mishandles newlines in values,
1320 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ## ----------------- ##
1336 ## Output variables. ##
1337 ## ----------------- ##
1340 for ac_var in $ac_subst_vars
1342 eval ac_val=$`echo $ac_var`
1343 echo "$ac_var='"'"'$ac_val'"'"'"
1347 if test -n "$ac_subst_files"; then
1354 for ac_var in $ac_subst_files
1356 eval ac_val=$`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -s confdefs.h; then
1369 sed "/^$/d" confdefs.h | sort
1372 test "$ac_signal" != 0 &&
1373 echo "$as_me: caught signal $ac_signal"
1374 echo "$as_me: exit $exit_status"
1376 rm -f core *.core &&
1377 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 for ac_signal
in 1 2 13 15; do
1381 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386 rm -rf conftest
* confdefs.h
1387 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 # Predefined preprocessor variables.
1392 cat >>confdefs.h
<<_ACEOF
1393 #define PACKAGE_NAME "$PACKAGE_NAME"
1397 cat >>confdefs.h
<<_ACEOF
1398 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402 cat >>confdefs.h
<<_ACEOF
1403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_STRING "$PACKAGE_STRING"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417 # Let the site file select an alternate cache file if it wants to.
1418 # Prefer explicitly selected file to automatically selected ones.
1419 if test -z "$CONFIG_SITE"; then
1420 if test "x$prefix" != xNONE
; then
1421 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1423 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 for ac_site_file
in $CONFIG_SITE; do
1427 if test -r "$ac_site_file"; then
1428 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 echo "$as_me: loading site script $ac_site_file" >&6;}
1430 sed 's/^/| /' "$ac_site_file" >&5
1435 if test -r "$cache_file"; then
1436 # Some versions of bash will fail to source /dev/null (special
1437 # files actually), so we avoid doing that.
1438 if test -f "$cache_file"; then
1439 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 echo "$as_me: loading cache $cache_file" >&6;}
1442 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1443 *) . .
/$cache_file;;
1447 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448 echo "$as_me: creating cache $cache_file" >&6;}
1452 # Check that the precious variables saved in the cache have kept the same
1454 ac_cache_corrupted
=false
1455 for ac_var
in `(set) 2>&1 |
1456 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1457 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1458 eval ac_new_set
=\
$ac_env_${ac_var}_set
1459 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1460 eval ac_new_val
="\$ac_env_${ac_var}_value"
1461 case $ac_old_set,$ac_new_set in
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465 ac_cache_corrupted
=: ;;
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469 ac_cache_corrupted
=: ;;
1472 if test "x$ac_old_val" != "x$ac_new_val"; then
1473 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476 echo "$as_me: former value: $ac_old_val" >&2;}
1477 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478 echo "$as_me: current value: $ac_new_val" >&2;}
1479 ac_cache_corrupted
=:
1482 # Pass precious variables to config.status.
1483 if test "$ac_new_set" = set; then
1485 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 *) ac_arg
=$ac_var=$ac_new_val ;;
1489 case " $ac_configure_args " in
1490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1495 if $ac_cache_corrupted; then
1496 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500 { (exit 1); exit 1; }; }
1504 ac_cpp
='$CPP $CPPFLAGS'
1505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1539 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1540 if test -f $ac_dir/install-sh; then
1542 ac_install_sh
="$ac_aux_dir/install-sh -c"
1544 elif test -f $ac_dir/install.sh
; then
1546 ac_install_sh
="$ac_aux_dir/install.sh -c"
1548 elif test -f $ac_dir/shtool
; then
1550 ac_install_sh
="$ac_aux_dir/shtool install -c"
1554 if test -z "$ac_aux_dir"; then
1555 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1556 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1557 { (exit 1); exit 1; }; }
1559 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1560 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1561 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 # Make sure we can run config.sub.
1564 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1565 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1566 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1567 { (exit 1); exit 1; }; }
1569 echo "$as_me:$LINENO: checking build system type" >&5
1570 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1571 if test "${ac_cv_build+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 ac_cv_build_alias
=$build_alias
1575 test -z "$ac_cv_build_alias" &&
1576 ac_cv_build_alias
=`$ac_config_guess`
1577 test -z "$ac_cv_build_alias" &&
1578 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1579 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1580 { (exit 1); exit 1; }; }
1581 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588 echo "${ECHO_T}$ac_cv_build" >&6
1590 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595 echo "$as_me:$LINENO: checking host system type" >&5
1596 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1597 if test "${ac_cv_host+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 ac_cv_host_alias
=$host_alias
1601 test -z "$ac_cv_host_alias" &&
1602 ac_cv_host_alias
=$ac_cv_build_alias
1603 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1604 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1605 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1606 { (exit 1); exit 1; }; }
1609 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1610 echo "${ECHO_T}$ac_cv_host" >&6
1612 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1613 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1614 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1617 echo "$as_me:$LINENO: checking target system type" >&5
1618 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1619 if test "${ac_cv_target+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 ac_cv_target_alias
=$target_alias
1623 test "x$ac_cv_target_alias" = "x" &&
1624 ac_cv_target_alias
=$ac_cv_host_alias
1625 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1626 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1627 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1628 { (exit 1); exit 1; }; }
1631 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1632 echo "${ECHO_T}$ac_cv_target" >&6
1633 target
=$ac_cv_target
1634 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1635 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1636 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1639 # The aliases save the names the user supplied, while $host etc.
1640 # will get canonicalized.
1641 test -n "$target_alias" &&
1642 test "$program_prefix$program_suffix$program_transform_name" = \
1644 program_prefix
=${target_alias}-
1648 WX_MAJOR_VERSION_NUMBER
=2
1649 WX_MINOR_VERSION_NUMBER
=5
1652 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1653 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1655 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1671 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1677 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1683 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1685 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1687 DEFAULT_wxUSE_COCOA
=0
1691 DEFAULT_wxUSE_MICROWIN
=0
1692 DEFAULT_wxUSE_MOTIF
=0
1697 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1698 DEFAULT_DEFAULT_wxUSE_GTK
=0
1699 DEFAULT_DEFAULT_wxUSE_MAC
=0
1700 DEFAULT_DEFAULT_wxUSE_MGL
=0
1701 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1702 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1703 DEFAULT_DEFAULT_wxUSE_MSW
=0
1704 DEFAULT_DEFAULT_wxUSE_PM
=0
1705 DEFAULT_DEFAULT_wxUSE_X11
=0
1710 SAMPLES_RPATH_POSTLINK
=
1715 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1716 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1718 cat >>confdefs.h
<<\_ACEOF
1725 cat >>confdefs.h
<<\_ACEOF
1730 if test "x$TMP" = "xalpha"; then
1732 cat >>confdefs.h
<<\_ACEOF
1737 DEFAULT_DEFAULT_wxUSE_GTK
=1
1739 *-*-gnu* | *-*-k*bsd
*-gnu )
1742 if test "x$TMP" = "xalpha"; then
1744 cat >>confdefs.h
<<\_ACEOF
1749 DEFAULT_DEFAULT_wxUSE_GTK
=1
1751 *-*-irix5* | *-*-irix6* )
1754 cat >>confdefs.h
<<\_ACEOF
1758 cat >>confdefs.h
<<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1768 cat >>confdefs.h
<<\_ACEOF
1772 cat >>confdefs.h
<<\_ACEOF
1773 #define __SOLARIS__ 1
1776 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1781 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1795 cat >>confdefs.h
<<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1804 cat >>confdefs.h
<<\_ACEOF
1805 #define __FREEBSD__ 1
1808 cat >>confdefs.h
<<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_GTK
=1
1817 cat >>confdefs.h
<<\_ACEOF
1818 #define __OPENBSD__ 1
1821 cat >>confdefs.h
<<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_GTK
=1
1830 cat >>confdefs.h
<<\_ACEOF
1831 #define __NETBSD__ 1
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK
=1
1843 cat >>confdefs.h
<<\_ACEOF
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1857 cat >>confdefs.h
<<\_ACEOF
1861 cat >>confdefs.h
<<\_ACEOF
1865 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1870 cat >>confdefs.h
<<\_ACEOF
1874 cat >>confdefs.h
<<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1905 #define __UNIXWARE__ 1
1910 *-*-cygwin* | *-*-mingw32* )
1914 DEFAULT_DEFAULT_wxUSE_MSW
=1
1920 cat >>confdefs.h
<<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MGL
=1
1926 LIBS
="$LIBS -lstdc++"
1929 *-pc-os2_emx | *-pc-os2-emx )
1930 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_PM
=1
1942 LDFLAGS
="$LDFLAGS -Zcrtdll"
1943 ac_executable_extensions
=".exe"
1944 export ac_executable_extensions
1948 for ac_dir
in $PATH; do
1950 if test -z "$ac_TEMP_PATH"; then
1951 ac_TEMP_PATH
="$ac_dir"
1953 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1956 export PATH
="$ac_TEMP_PATH"
1964 cat >>confdefs.h
<<\_ACEOF
1968 cat >>confdefs.h
<<\_ACEOF
1969 #define __DARWIN__ 1
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define __POWERPC__ 1
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define TARGET_CARBON 1
1980 DEFAULT_DEFAULT_wxUSE_MAC
=1
1985 cat >>confdefs.h
<<\_ACEOF
1992 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1993 echo "$as_me: error: unknown system type ${host}." >&2;}
1994 { (exit 1); exit 1; }; }
2000 wx_arg_cache_file
="configarg.cache"
2001 echo "loading argument cache $wx_arg_cache_file"
2002 rm -f ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}
2008 if test $DEBUG_CONFIGURE = 1; then
2009 DEFAULT_wxUSE_UNIVERSAL
=no
2010 DEFAULT_wxUSE_STL
=no
2012 DEFAULT_wxUSE_NANOX
=no
2014 DEFAULT_wxUSE_THREADS
=yes
2016 DEFAULT_wxUSE_SHARED
=yes
2017 DEFAULT_wxUSE_OPTIMISE
=no
2018 DEFAULT_wxUSE_PROFILE
=no
2019 DEFAULT_wxUSE_NO_DEPS
=no
2020 DEFAULT_wxUSE_NO_RTTI
=no
2021 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2022 DEFAULT_wxUSE_PERMISSIVE
=no
2023 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2024 DEFAULT_wxUSE_DEBUG_INFO
=yes
2025 DEFAULT_wxUSE_DEBUG_GDB
=yes
2026 DEFAULT_wxUSE_MEM_TRACING
=no
2027 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2028 DEFAULT_wxUSE_DMALLOC
=no
2029 DEFAULT_wxUSE_APPLE_IEEE
=no
2031 DEFAULT_wxUSE_EXCEPTIONS
=no
2032 DEFAULT_wxUSE_LOG
=yes
2033 DEFAULT_wxUSE_LOGWINDOW
=no
2034 DEFAULT_wxUSE_LOGGUI
=no
2035 DEFAULT_wxUSE_LOGDIALOG
=no
2037 DEFAULT_wxUSE_GUI
=yes
2038 DEFAULT_wxUSE_CONTROLS
=no
2040 DEFAULT_wxUSE_REGEX
=no
2041 DEFAULT_wxUSE_XML
=no
2042 DEFAULT_wxUSE_EXPAT
=no
2043 DEFAULT_wxUSE_ZLIB
=no
2044 DEFAULT_wxUSE_LIBPNG
=no
2045 DEFAULT_wxUSE_LIBJPEG
=no
2046 DEFAULT_wxUSE_LIBTIFF
=no
2047 DEFAULT_wxUSE_LIBXPM
=no
2048 DEFAULT_wxUSE_LIBMSPACK
=no
2049 DEFAULT_wxUSE_LIBSDL
=no
2050 DEFAULT_wxUSE_ODBC
=no
2051 DEFAULT_wxUSE_OPENGL
=no
2053 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2054 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2055 DEFAULT_wxUSE_STD_IOSTREAM
=no
2056 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2057 DEFAULT_wxUSE_DATETIME
=no
2058 DEFAULT_wxUSE_TIMER
=no
2059 DEFAULT_wxUSE_STOPWATCH
=no
2060 DEFAULT_wxUSE_FILE
=no
2061 DEFAULT_wxUSE_FFILE
=no
2062 DEFAULT_wxUSE_TEXTBUFFER
=no
2063 DEFAULT_wxUSE_TEXTFILE
=no
2064 DEFAULT_wxUSE_SOUND
=no
2065 DEFAULT_wxUSE_INTL
=no
2066 DEFAULT_wxUSE_CONFIG
=no
2067 DEFAULT_wxUSE_FONTMAP
=no
2068 DEFAULT_wxUSE_STREAMS
=no
2069 DEFAULT_wxUSE_SOCKETS
=no
2070 DEFAULT_wxUSE_OLE
=no
2071 DEFAULT_wxUSE_DATAOBJ
=no
2072 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2073 DEFAULT_wxUSE_JOYSTICK
=no
2074 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2075 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2076 DEFAULT_wxUSE_LONGLONG
=no
2077 DEFAULT_wxUSE_GEOMETRY
=no
2079 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2080 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2081 DEFAULT_wxUSE_POSTSCRIPT
=no
2083 DEFAULT_wxUSE_CLIPBOARD
=no
2084 DEFAULT_wxUSE_TOOLTIPS
=no
2085 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2086 DEFAULT_wxUSE_DRAGIMAGE
=no
2087 DEFAULT_wxUSE_SPLINES
=no
2089 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2090 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2091 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_RESOURCES
=no
2094 DEFAULT_wxUSE_CONSTRAINTS
=no
2095 DEFAULT_wxUSE_IPC
=no
2096 DEFAULT_wxUSE_HELP
=no
2097 DEFAULT_wxUSE_MS_HTML_HELP
=no
2098 DEFAULT_wxUSE_WXHTML_HELP
=no
2099 DEFAULT_wxUSE_TREELAYOUT
=no
2100 DEFAULT_wxUSE_METAFILE
=no
2101 DEFAULT_wxUSE_MIMETYPE
=no
2102 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2103 DEFAULT_wxUSE_PROTOCOL
=no
2104 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2105 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2106 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2107 DEFAULT_wxUSE_URL
=no
2109 DEFAULT_wxUSE_COMMONDLGS
=no
2110 DEFAULT_wxUSE_CHOICEDLG
=no
2111 DEFAULT_wxUSE_COLOURDLG
=no
2112 DEFAULT_wxUSE_DIRDLG
=no
2113 DEFAULT_wxUSE_FILEDLG
=no
2114 DEFAULT_wxUSE_FINDREPLDLG
=no
2115 DEFAULT_wxUSE_FONTDLG
=no
2116 DEFAULT_wxUSE_MSGDLG
=no
2117 DEFAULT_wxUSE_NUMBERDLG
=no
2118 DEFAULT_wxUSE_TEXTDLG
=no
2119 DEFAULT_wxUSE_SPLASH
=no
2120 DEFAULT_wxUSE_STARTUP_TIPS
=no
2121 DEFAULT_wxUSE_PROGRESSDLG
=no
2122 DEFAULT_wxUSE_WIZARDDLG
=no
2124 DEFAULT_wxUSE_MENUS
=no
2125 DEFAULT_wxUSE_MINIFRAME
=no
2126 DEFAULT_wxUSE_HTML
=no
2127 DEFAULT_wxUSE_FILESYSTEM
=no
2128 DEFAULT_wxUSE_FS_INET
=no
2129 DEFAULT_wxUSE_FS_ZIP
=no
2130 DEFAULT_wxUSE_BUSYINFO
=no
2131 DEFAULT_wxUSE_ZIPSTREAM
=no
2132 DEFAULT_wxUSE_VALIDATORS
=no
2134 DEFAULT_wxUSE_ACCEL
=no
2135 DEFAULT_wxUSE_BUTTON
=no
2136 DEFAULT_wxUSE_BMPBUTTON
=no
2137 DEFAULT_wxUSE_CALCTRL
=no
2138 DEFAULT_wxUSE_CARET
=no
2139 DEFAULT_wxUSE_CHECKBOX
=no
2140 DEFAULT_wxUSE_CHECKLST
=no
2141 DEFAULT_wxUSE_CHOICE
=no
2142 DEFAULT_wxUSE_COMBOBOX
=no
2143 DEFAULT_wxUSE_DISPLAY
=no
2144 DEFAULT_wxUSE_GAUGE
=no
2145 DEFAULT_wxUSE_GRID
=no
2146 DEFAULT_wxUSE_IMAGLIST
=no
2147 DEFAULT_wxUSE_LISTBOOK
=no
2148 DEFAULT_wxUSE_LISTBOX
=no
2149 DEFAULT_wxUSE_LISTCTRL
=no
2150 DEFAULT_wxUSE_NOTEBOOK
=no
2151 DEFAULT_wxUSE_RADIOBOX
=no
2152 DEFAULT_wxUSE_RADIOBTN
=no
2153 DEFAULT_wxUSE_SASH
=no
2154 DEFAULT_wxUSE_SCROLLBAR
=no
2155 DEFAULT_wxUSE_SLIDER
=no
2156 DEFAULT_wxUSE_SPINBTN
=no
2157 DEFAULT_wxUSE_SPINCTRL
=no
2158 DEFAULT_wxUSE_SPLITTER
=no
2159 DEFAULT_wxUSE_STATBMP
=no
2160 DEFAULT_wxUSE_STATBOX
=no
2161 DEFAULT_wxUSE_STATLINE
=no
2162 DEFAULT_wxUSE_STATTEXT
=no
2163 DEFAULT_wxUSE_STATUSBAR
=yes
2164 DEFAULT_wxUSE_TABDIALOG
=no
2165 DEFAULT_wxUSE_TEXTCTRL
=no
2166 DEFAULT_wxUSE_TOGGLEBTN
=no
2167 DEFAULT_wxUSE_TOOLBAR
=no
2168 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2169 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2170 DEFAULT_wxUSE_TREECTRL
=no
2171 DEFAULT_wxUSE_POPUPWIN
=no
2172 DEFAULT_wxUSE_TIPWINDOW
=no
2174 DEFAULT_wxUSE_UNICODE
=no
2175 DEFAULT_wxUSE_UNICODE_MSLU
=no
2176 DEFAULT_wxUSE_WCSRTOMBS
=no
2178 DEFAULT_wxUSE_PALETTE
=no
2179 DEFAULT_wxUSE_IMAGE
=no
2180 DEFAULT_wxUSE_GIF
=no
2181 DEFAULT_wxUSE_PCX
=no
2182 DEFAULT_wxUSE_PNM
=no
2183 DEFAULT_wxUSE_IFF
=no
2184 DEFAULT_wxUSE_XPM
=no
2185 DEFAULT_wxUSE_ICO_CUR
=no
2186 DEFAULT_wxUSE_ACCESSIBILITY
=no
2188 DEFAULT_wxUSE_MONOLITHIC
=no
2189 DEFAULT_wxUSE_PLUGINS
=no
2190 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2192 DEFAULT_wxUSE_UNIVERSAL
=no
2193 DEFAULT_wxUSE_STL
=no
2195 DEFAULT_wxUSE_NANOX
=no
2197 DEFAULT_wxUSE_THREADS
=yes
2199 DEFAULT_wxUSE_SHARED
=yes
2200 DEFAULT_wxUSE_OPTIMISE
=yes
2201 DEFAULT_wxUSE_PROFILE
=no
2202 DEFAULT_wxUSE_NO_DEPS
=no
2203 DEFAULT_wxUSE_NO_RTTI
=no
2204 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2205 DEFAULT_wxUSE_PERMISSIVE
=no
2206 DEFAULT_wxUSE_DEBUG_FLAG
=no
2207 DEFAULT_wxUSE_DEBUG_INFO
=no
2208 DEFAULT_wxUSE_DEBUG_GDB
=no
2209 DEFAULT_wxUSE_MEM_TRACING
=no
2210 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2211 DEFAULT_wxUSE_DMALLOC
=no
2212 DEFAULT_wxUSE_APPLE_IEEE
=yes
2214 DEFAULT_wxUSE_EXCEPTIONS
=yes
2215 DEFAULT_wxUSE_LOG
=yes
2216 DEFAULT_wxUSE_LOGWINDOW
=yes
2217 DEFAULT_wxUSE_LOGGUI
=yes
2218 DEFAULT_wxUSE_LOGDIALOG
=yes
2220 DEFAULT_wxUSE_GUI
=yes
2222 DEFAULT_wxUSE_REGEX
=yes
2223 DEFAULT_wxUSE_XML
=yes
2224 DEFAULT_wxUSE_EXPAT
=yes
2225 DEFAULT_wxUSE_ZLIB
=yes
2226 DEFAULT_wxUSE_LIBPNG
=yes
2227 DEFAULT_wxUSE_LIBJPEG
=yes
2228 DEFAULT_wxUSE_LIBTIFF
=yes
2229 DEFAULT_wxUSE_LIBXPM
=yes
2230 DEFAULT_wxUSE_LIBMSPACK
=yes
2231 DEFAULT_wxUSE_LIBSDL
=no
2232 DEFAULT_wxUSE_ODBC
=no
2233 DEFAULT_wxUSE_OPENGL
=no
2235 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2236 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2237 DEFAULT_wxUSE_STD_IOSTREAM
=no
2238 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2239 DEFAULT_wxUSE_DATETIME
=yes
2240 DEFAULT_wxUSE_TIMER
=yes
2241 DEFAULT_wxUSE_STOPWATCH
=yes
2242 DEFAULT_wxUSE_FILE
=yes
2243 DEFAULT_wxUSE_FFILE
=yes
2244 DEFAULT_wxUSE_TEXTBUFFER
=yes
2245 DEFAULT_wxUSE_TEXTFILE
=yes
2246 DEFAULT_wxUSE_SOUND
=yes
2247 DEFAULT_wxUSE_INTL
=yes
2248 DEFAULT_wxUSE_CONFIG
=yes
2249 DEFAULT_wxUSE_FONTMAP
=yes
2250 DEFAULT_wxUSE_STREAMS
=yes
2251 DEFAULT_wxUSE_SOCKETS
=yes
2252 DEFAULT_wxUSE_OLE
=yes
2253 DEFAULT_wxUSE_DATAOBJ
=yes
2254 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2255 DEFAULT_wxUSE_JOYSTICK
=yes
2256 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2257 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2258 DEFAULT_wxUSE_LONGLONG
=yes
2259 DEFAULT_wxUSE_GEOMETRY
=yes
2261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2263 DEFAULT_wxUSE_POSTSCRIPT
=yes
2265 DEFAULT_wxUSE_CLIPBOARD
=yes
2266 DEFAULT_wxUSE_TOOLTIPS
=yes
2267 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2268 DEFAULT_wxUSE_DRAGIMAGE
=yes
2269 DEFAULT_wxUSE_SPLINES
=yes
2271 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2272 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2273 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2275 DEFAULT_wxUSE_RESOURCES
=no
2276 DEFAULT_wxUSE_CONSTRAINTS
=yes
2277 DEFAULT_wxUSE_IPC
=yes
2278 DEFAULT_wxUSE_HELP
=yes
2279 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2280 DEFAULT_wxUSE_WXHTML_HELP
=yes
2281 DEFAULT_wxUSE_TREELAYOUT
=yes
2282 DEFAULT_wxUSE_METAFILE
=yes
2283 DEFAULT_wxUSE_MIMETYPE
=yes
2284 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2285 DEFAULT_wxUSE_PROTOCOL
=yes
2286 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2287 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2288 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2289 DEFAULT_wxUSE_URL
=yes
2291 DEFAULT_wxUSE_COMMONDLGS
=yes
2292 DEFAULT_wxUSE_CHOICEDLG
=yes
2293 DEFAULT_wxUSE_COLOURDLG
=yes
2294 DEFAULT_wxUSE_DIRDLG
=yes
2295 DEFAULT_wxUSE_FILEDLG
=yes
2296 DEFAULT_wxUSE_FINDREPLDLG
=yes
2297 DEFAULT_wxUSE_FONTDLG
=yes
2298 DEFAULT_wxUSE_MSGDLG
=yes
2299 DEFAULT_wxUSE_NUMBERDLG
=yes
2300 DEFAULT_wxUSE_TEXTDLG
=yes
2301 DEFAULT_wxUSE_SPLASH
=yes
2302 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2303 DEFAULT_wxUSE_PROGRESSDLG
=yes
2304 DEFAULT_wxUSE_WIZARDDLG
=yes
2306 DEFAULT_wxUSE_MENUS
=yes
2307 DEFAULT_wxUSE_MINIFRAME
=yes
2308 DEFAULT_wxUSE_HTML
=yes
2309 DEFAULT_wxUSE_FILESYSTEM
=yes
2310 DEFAULT_wxUSE_FS_INET
=yes
2311 DEFAULT_wxUSE_FS_ZIP
=yes
2312 DEFAULT_wxUSE_BUSYINFO
=yes
2313 DEFAULT_wxUSE_ZIPSTREAM
=yes
2314 DEFAULT_wxUSE_VALIDATORS
=yes
2316 DEFAULT_wxUSE_ACCEL
=yes
2317 DEFAULT_wxUSE_BUTTON
=yes
2318 DEFAULT_wxUSE_BMPBUTTON
=yes
2319 DEFAULT_wxUSE_CALCTRL
=yes
2320 DEFAULT_wxUSE_CARET
=yes
2321 DEFAULT_wxUSE_CHECKBOX
=yes
2322 DEFAULT_wxUSE_CHECKLST
=yes
2323 DEFAULT_wxUSE_CHOICE
=yes
2324 DEFAULT_wxUSE_COMBOBOX
=yes
2325 DEFAULT_wxUSE_DISPLAY
=yes
2326 DEFAULT_wxUSE_GAUGE
=yes
2327 DEFAULT_wxUSE_GRID
=yes
2328 DEFAULT_wxUSE_IMAGLIST
=yes
2329 DEFAULT_wxUSE_LISTBOOK
=yes
2330 DEFAULT_wxUSE_LISTBOX
=yes
2331 DEFAULT_wxUSE_LISTCTRL
=yes
2332 DEFAULT_wxUSE_NOTEBOOK
=yes
2333 DEFAULT_wxUSE_RADIOBOX
=yes
2334 DEFAULT_wxUSE_RADIOBTN
=yes
2335 DEFAULT_wxUSE_SASH
=yes
2336 DEFAULT_wxUSE_SCROLLBAR
=yes
2337 DEFAULT_wxUSE_SLIDER
=yes
2338 DEFAULT_wxUSE_SPINBTN
=yes
2339 DEFAULT_wxUSE_SPINCTRL
=yes
2340 DEFAULT_wxUSE_SPLITTER
=yes
2341 DEFAULT_wxUSE_STATBMP
=yes
2342 DEFAULT_wxUSE_STATBOX
=yes
2343 DEFAULT_wxUSE_STATLINE
=yes
2344 DEFAULT_wxUSE_STATTEXT
=yes
2345 DEFAULT_wxUSE_STATUSBAR
=yes
2346 DEFAULT_wxUSE_TABDIALOG
=no
2347 DEFAULT_wxUSE_TEXTCTRL
=yes
2348 DEFAULT_wxUSE_TOGGLEBTN
=yes
2349 DEFAULT_wxUSE_TOOLBAR
=yes
2350 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2351 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2352 DEFAULT_wxUSE_TREECTRL
=yes
2353 DEFAULT_wxUSE_POPUPWIN
=yes
2354 DEFAULT_wxUSE_TIPWINDOW
=yes
2356 DEFAULT_wxUSE_UNICODE
=no
2357 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2358 DEFAULT_wxUSE_WCSRTOMBS
=no
2360 DEFAULT_wxUSE_PALETTE
=yes
2361 DEFAULT_wxUSE_IMAGE
=yes
2362 DEFAULT_wxUSE_GIF
=yes
2363 DEFAULT_wxUSE_PCX
=yes
2364 DEFAULT_wxUSE_IFF
=no
2365 DEFAULT_wxUSE_PNM
=yes
2366 DEFAULT_wxUSE_XPM
=yes
2367 DEFAULT_wxUSE_ICO_CUR
=yes
2368 DEFAULT_wxUSE_ACCESSIBILITY
=no
2370 DEFAULT_wxUSE_MONOLITHIC
=no
2371 DEFAULT_wxUSE_PLUGINS
=no
2372 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2377 for toolkit
in `echo $ALL_TOOLKITS`; do
2378 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2379 if test "x$LINE" != "x" ; then
2380 has_toolkit_in_cache
=1
2381 eval "DEFAULT_$LINE"
2382 eval "CACHE_$toolkit=1"
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2392 # Check whether --enable-gui or --disable-gui was given.
2393 if test "${enable_gui+set}" = set; then
2394 enableval
="$enable_gui"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_gui
='wxUSE_GUI=yes'
2399 ac_cv_use_gui
='wxUSE_GUI=no'
2404 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x
; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2415 eval "$ac_cv_use_gui"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_GUI" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2431 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2433 # Check whether --enable-monolithic or --disable-monolithic was given.
2434 if test "${enable_monolithic+set}" = set; then
2435 enableval
="$enable_monolithic"
2437 if test "$enableval" = yes; then
2438 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2440 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2445 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x
; then
2447 eval "DEFAULT_$LINE"
2452 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2456 eval "$ac_cv_use_monolithic"
2457 if test "$no_cache" != 1; then
2458 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2461 if test "$wxUSE_MONOLITHIC" = yes; then
2462 echo "$as_me:$LINENO: result: yes" >&5
2463 echo "${ECHO_T}yes" >&6
2465 echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6
2471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2472 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2474 # Check whether --enable-plugins or --disable-plugins was given.
2475 if test "${enable_plugins+set}" = set; then
2476 enableval
="$enable_plugins"
2478 if test "$enableval" = yes; then
2479 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2481 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2486 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2487 if test "x$LINE" != x
; then
2488 eval "DEFAULT_$LINE"
2493 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2497 eval "$ac_cv_use_plugins"
2498 if test "$no_cache" != 1; then
2499 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2502 if test "$wxUSE_PLUGINS" = yes; then
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2506 echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2511 if test "$wxUSE_GUI" = "yes"; then
2515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2516 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2518 # Check whether --enable-universal or --disable-universal was given.
2519 if test "${enable_universal+set}" = set; then
2520 enableval
="$enable_universal"
2522 if test "$enableval" = yes; then
2523 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2525 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2530 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2531 if test "x$LINE" != x
; then
2532 eval "DEFAULT_$LINE"
2537 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2541 eval "$ac_cv_use_universal"
2542 if test "$no_cache" != 1; then
2543 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2546 if test "$wxUSE_UNIVERSAL" = yes; then
2547 echo "$as_me:$LINENO: result: yes" >&5
2548 echo "${ECHO_T}yes" >&6
2550 echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2555 # Check whether --with-gtk or --without-gtk was given.
2556 if test "${with_gtk+set}" = set; then
2558 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2561 # Check whether --with-motif or --without-motif was given.
2562 if test "${with_motif+set}" = set; then
2563 withval
="$with_motif"
2564 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2567 # Check whether --with-mac or --without-mac was given.
2568 if test "${with_mac+set}" = set; then
2570 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2573 # Check whether --with-cocoa or --without-cocoa was given.
2574 if test "${with_cocoa+set}" = set; then
2575 withval
="$with_cocoa"
2576 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2579 # Check whether --with-wine or --without-wine was given.
2580 if test "${with_wine+set}" = set; then
2581 withval
="$with_wine"
2582 wxUSE_WINE
="$withval" CACHE_WINE
=1
2585 # Check whether --with-msw or --without-msw was given.
2586 if test "${with_msw+set}" = set; then
2588 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2591 # Check whether --with-pm or --without-pm was given.
2592 if test "${with_pm+set}" = set; then
2594 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2597 # Check whether --with-mgl or --without-mgl was given.
2598 if test "${with_mgl+set}" = set; then
2600 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2603 # Check whether --with-microwin or --without-microwin was given.
2604 if test "${with_microwin+set}" = set; then
2605 withval
="$with_microwin"
2606 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2609 # Check whether --with-x11 or --without-x11 was given.
2610 if test "${with_x11+set}" = set; then
2612 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2617 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2619 # Check whether --enable-nanox or --disable-nanox was given.
2620 if test "${enable_nanox+set}" = set; then
2621 enableval
="$enable_nanox"
2623 if test "$enableval" = yes; then
2624 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2626 ac_cv_use_nanox
='wxUSE_NANOX=no'
2631 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2632 if test "x$LINE" != x
; then
2633 eval "DEFAULT_$LINE"
2638 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2642 eval "$ac_cv_use_nanox"
2643 if test "$no_cache" != 1; then
2644 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2647 if test "$wxUSE_NANOX" = yes; then
2648 echo "$as_me:$LINENO: result: yes" >&5
2649 echo "${ECHO_T}yes" >&6
2651 echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6
2658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2659 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2661 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2662 if test "${enable_gtk2+set}" = set; then
2663 enableval
="$enable_gtk2"
2665 if test "$enableval" = yes; then
2666 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2668 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2673 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x
; then
2675 eval "DEFAULT_$LINE"
2680 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2684 eval "$ac_cv_use_gtk2"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2689 if test "$wxUSE_GTK2" = yes; then
2690 echo "$as_me:$LINENO: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2693 echo "$as_me:$LINENO: result: no" >&5
2694 echo "${ECHO_T}no" >&6
2699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2700 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2702 # Check whether --enable-gpe or --disable-gpe was given.
2703 if test "${enable_gpe+set}" = set; then
2704 enableval
="$enable_gpe"
2706 if test "$enableval" = yes; then
2707 ac_cv_use_gpe
='wxUSE_GPE=yes'
2709 ac_cv_use_gpe
='wxUSE_GPE=no'
2714 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2715 if test "x$LINE" != x
; then
2716 eval "DEFAULT_$LINE"
2721 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2725 eval "$ac_cv_use_gpe"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2730 if test "$wxUSE_GPE" = yes; then
2731 echo "$as_me:$LINENO: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2734 echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6
2740 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2741 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2744 # Check whether --with-libpng or --without-libpng was given.
2745 if test "${with_libpng+set}" = set; then
2746 withval
="$with_libpng"
2748 if test "$withval" = yes; then
2749 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2750 elif test "$withval" = no
; then
2751 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2752 elif test "$withval" = sys
; then
2753 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2754 elif test "$withval" = builtin; then
2755 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2759 { (exit 1); exit 1; }; }
2764 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2765 if test "x$LINE" != x
; then
2766 eval "DEFAULT_$LINE"
2771 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2775 eval "$ac_cv_use_libpng"
2776 if test "$no_cache" != 1; then
2777 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2780 if test "$wxUSE_LIBPNG" = yes; then
2781 echo "$as_me:$LINENO: result: yes" >&5
2782 echo "${ECHO_T}yes" >&6
2783 elif test "$wxUSE_LIBPNG" = no
; then
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2786 elif test "$wxUSE_LIBPNG" = sys
; then
2787 echo "$as_me:$LINENO: result: system version" >&5
2788 echo "${ECHO_T}system version" >&6
2789 elif test "$wxUSE_LIBPNG" = builtin; then
2790 echo "$as_me:$LINENO: result: builtin version" >&5
2791 echo "${ECHO_T}builtin version" >&6
2793 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2794 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2795 { (exit 1); exit 1; }; }
2799 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2800 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2803 # Check whether --with-libjpeg or --without-libjpeg was given.
2804 if test "${with_libjpeg+set}" = set; then
2805 withval
="$with_libjpeg"
2807 if test "$withval" = yes; then
2808 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2809 elif test "$withval" = no
; then
2810 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2811 elif test "$withval" = sys
; then
2812 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2813 elif test "$withval" = builtin; then
2814 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2817 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2818 { (exit 1); exit 1; }; }
2823 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2824 if test "x$LINE" != x
; then
2825 eval "DEFAULT_$LINE"
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2834 eval "$ac_cv_use_libjpeg"
2835 if test "$no_cache" != 1; then
2836 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2839 if test "$wxUSE_LIBJPEG" = yes; then
2840 echo "$as_me:$LINENO: result: yes" >&5
2841 echo "${ECHO_T}yes" >&6
2842 elif test "$wxUSE_LIBJPEG" = no
; then
2843 echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6
2845 elif test "$wxUSE_LIBJPEG" = sys
; then
2846 echo "$as_me:$LINENO: result: system version" >&5
2847 echo "${ECHO_T}system version" >&6
2848 elif test "$wxUSE_LIBJPEG" = builtin; then
2849 echo "$as_me:$LINENO: result: builtin version" >&5
2850 echo "${ECHO_T}builtin version" >&6
2852 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2853 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2854 { (exit 1); exit 1; }; }
2858 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2859 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2862 # Check whether --with-libtiff or --without-libtiff was given.
2863 if test "${with_libtiff+set}" = set; then
2864 withval
="$with_libtiff"
2866 if test "$withval" = yes; then
2867 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2868 elif test "$withval" = no
; then
2869 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2870 elif test "$withval" = sys
; then
2871 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2872 elif test "$withval" = builtin; then
2873 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2875 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2876 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2877 { (exit 1); exit 1; }; }
2882 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2883 if test "x$LINE" != x
; then
2884 eval "DEFAULT_$LINE"
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2893 eval "$ac_cv_use_libtiff"
2894 if test "$no_cache" != 1; then
2895 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2898 if test "$wxUSE_LIBTIFF" = yes; then
2899 echo "$as_me:$LINENO: result: yes" >&5
2900 echo "${ECHO_T}yes" >&6
2901 elif test "$wxUSE_LIBTIFF" = no
; then
2902 echo "$as_me:$LINENO: result: no" >&5
2903 echo "${ECHO_T}no" >&6
2904 elif test "$wxUSE_LIBTIFF" = sys
; then
2905 echo "$as_me:$LINENO: result: system version" >&5
2906 echo "${ECHO_T}system version" >&6
2907 elif test "$wxUSE_LIBTIFF" = builtin; then
2908 echo "$as_me:$LINENO: result: builtin version" >&5
2909 echo "${ECHO_T}builtin version" >&6
2911 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2912 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2913 { (exit 1); exit 1; }; }
2917 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2918 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2921 # Check whether --with-libxpm or --without-libxpm was given.
2922 if test "${with_libxpm+set}" = set; then
2923 withval
="$with_libxpm"
2925 if test "$withval" = yes; then
2926 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2927 elif test "$withval" = no
; then
2928 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2929 elif test "$withval" = sys
; then
2930 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2931 elif test "$withval" = builtin; then
2932 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2935 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2941 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x
; then
2943 eval "DEFAULT_$LINE"
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2952 eval "$ac_cv_use_libxpm"
2953 if test "$no_cache" != 1; then
2954 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2957 if test "$wxUSE_LIBXPM" = yes; then
2958 echo "$as_me:$LINENO: result: yes" >&5
2959 echo "${ECHO_T}yes" >&6
2960 elif test "$wxUSE_LIBXPM" = no
; then
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2963 elif test "$wxUSE_LIBXPM" = sys
; then
2964 echo "$as_me:$LINENO: result: system version" >&5
2965 echo "${ECHO_T}system version" >&6
2966 elif test "$wxUSE_LIBXPM" = builtin; then
2967 echo "$as_me:$LINENO: result: builtin version" >&5
2968 echo "${ECHO_T}builtin version" >&6
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2971 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2976 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2977 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2980 # Check whether --with-libmspack or --without-libmspack was given.
2981 if test "${with_libmspack+set}" = set; then
2982 withval
="$with_libmspack"
2984 if test "$withval" = yes; then
2985 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2987 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2992 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2993 if test "x$LINE" != x
; then
2994 eval "DEFAULT_$LINE"
2999 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3003 eval "$ac_cv_use_libmspack"
3004 if test "$no_cache" != 1; then
3005 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3008 if test "$wxUSE_LIBMSPACK" = yes; then
3009 echo "$as_me:$LINENO: result: yes" >&5
3010 echo "${ECHO_T}yes" >&6
3012 echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6
3017 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3018 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3021 # Check whether --with-sdl or --without-sdl was given.
3022 if test "${with_sdl+set}" = set; then
3025 if test "$withval" = yes; then
3026 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3028 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3033 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3034 if test "x$LINE" != x
; then
3035 eval "DEFAULT_$LINE"
3040 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3044 eval "$ac_cv_use_sdl"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3049 if test "$wxUSE_LIBSDL" = yes; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3058 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3059 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3062 # Check whether --with-opengl or --without-opengl was given.
3063 if test "${with_opengl+set}" = set; then
3064 withval
="$with_opengl"
3066 if test "$withval" = yes; then
3067 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3069 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3074 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3075 if test "x$LINE" != x
; then
3076 eval "DEFAULT_$LINE"
3081 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3085 eval "$ac_cv_use_opengl"
3086 if test "$no_cache" != 1; then
3087 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3090 if test "$wxUSE_OPENGL" = yes; then
3091 echo "$as_me:$LINENO: result: yes" >&5
3092 echo "${ECHO_T}yes" >&6
3094 echo "$as_me:$LINENO: result: no" >&5
3095 echo "${ECHO_T}no" >&6
3102 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3103 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3106 # Check whether --with-dmalloc or --without-dmalloc was given.
3107 if test "${with_dmalloc+set}" = set; then
3108 withval
="$with_dmalloc"
3110 if test "$withval" = yes; then
3111 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3113 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3118 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x
; then
3120 eval "DEFAULT_$LINE"
3125 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3129 eval "$ac_cv_use_dmalloc"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3134 if test "$wxUSE_DMALLOC" = yes; then
3135 echo "$as_me:$LINENO: result: yes" >&5
3136 echo "${ECHO_T}yes" >&6
3138 echo "$as_me:$LINENO: result: no" >&5
3139 echo "${ECHO_T}no" >&6
3143 echo "$as_me:$LINENO: checking for --with-regex" >&5
3144 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3147 # Check whether --with-regex or --without-regex was given.
3148 if test "${with_regex+set}" = set; then
3149 withval
="$with_regex"
3151 if test "$withval" = yes; then
3152 ac_cv_use_regex
='wxUSE_REGEX=yes'
3153 elif test "$withval" = no
; then
3154 ac_cv_use_regex
='wxUSE_REGEX=no'
3155 elif test "$withval" = sys
; then
3156 ac_cv_use_regex
='wxUSE_REGEX=sys'
3157 elif test "$withval" = builtin; then
3158 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3160 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3161 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3162 { (exit 1); exit 1; }; }
3167 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x
; then
3169 eval "DEFAULT_$LINE"
3174 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3178 eval "$ac_cv_use_regex"
3179 if test "$no_cache" != 1; then
3180 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3183 if test "$wxUSE_REGEX" = yes; then
3184 echo "$as_me:$LINENO: result: yes" >&5
3185 echo "${ECHO_T}yes" >&6
3186 elif test "$wxUSE_REGEX" = no
; then
3187 echo "$as_me:$LINENO: result: no" >&5
3188 echo "${ECHO_T}no" >&6
3189 elif test "$wxUSE_REGEX" = sys
; then
3190 echo "$as_me:$LINENO: result: system version" >&5
3191 echo "${ECHO_T}system version" >&6
3192 elif test "$wxUSE_REGEX" = builtin; then
3193 echo "$as_me:$LINENO: result: builtin version" >&5
3194 echo "${ECHO_T}builtin version" >&6
3196 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3197 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3198 { (exit 1); exit 1; }; }
3202 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3203 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3206 # Check whether --with-zlib or --without-zlib was given.
3207 if test "${with_zlib+set}" = set; then
3208 withval
="$with_zlib"
3210 if test "$withval" = yes; then
3211 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3212 elif test "$withval" = no
; then
3213 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3214 elif test "$withval" = sys
; then
3215 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3216 elif test "$withval" = builtin; then
3217 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3219 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3220 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3221 { (exit 1); exit 1; }; }
3226 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3227 if test "x$LINE" != x
; then
3228 eval "DEFAULT_$LINE"
3233 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3237 eval "$ac_cv_use_zlib"
3238 if test "$no_cache" != 1; then
3239 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3242 if test "$wxUSE_ZLIB" = yes; then
3243 echo "$as_me:$LINENO: result: yes" >&5
3244 echo "${ECHO_T}yes" >&6
3245 elif test "$wxUSE_ZLIB" = no
; then
3246 echo "$as_me:$LINENO: result: no" >&5
3247 echo "${ECHO_T}no" >&6
3248 elif test "$wxUSE_ZLIB" = sys
; then
3249 echo "$as_me:$LINENO: result: system version" >&5
3250 echo "${ECHO_T}system version" >&6
3251 elif test "$wxUSE_ZLIB" = builtin; then
3252 echo "$as_me:$LINENO: result: builtin version" >&5
3253 echo "${ECHO_T}builtin version" >&6
3255 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3256 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3257 { (exit 1); exit 1; }; }
3261 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3262 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3265 # Check whether --with-odbc or --without-odbc was given.
3266 if test "${with_odbc+set}" = set; then
3267 withval
="$with_odbc"
3269 if test "$withval" = yes; then
3270 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3271 elif test "$withval" = no
; then
3272 ac_cv_use_odbc
='wxUSE_ODBC=no'
3273 elif test "$withval" = sys
; then
3274 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3275 elif test "$withval" = builtin; then
3276 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3278 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3279 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3280 { (exit 1); exit 1; }; }
3285 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x
; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3296 eval "$ac_cv_use_odbc"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_ODBC" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3304 elif test "$wxUSE_ODBC" = no
; then
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3307 elif test "$wxUSE_ODBC" = sys
; then
3308 echo "$as_me:$LINENO: result: system version" >&5
3309 echo "${ECHO_T}system version" >&6
3310 elif test "$wxUSE_ODBC" = builtin; then
3311 echo "$as_me:$LINENO: result: builtin version" >&5
3312 echo "${ECHO_T}builtin version" >&6
3314 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3315 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3316 { (exit 1); exit 1; }; }
3320 echo "$as_me:$LINENO: checking for --with-expat" >&5
3321 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3324 # Check whether --with-expat or --without-expat was given.
3325 if test "${with_expat+set}" = set; then
3326 withval
="$with_expat"
3328 if test "$withval" = yes; then
3329 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3330 elif test "$withval" = no
; then
3331 ac_cv_use_expat
='wxUSE_EXPAT=no'
3332 elif test "$withval" = sys
; then
3333 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3334 elif test "$withval" = builtin; then
3335 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3337 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3338 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3339 { (exit 1); exit 1; }; }
3344 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x
; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3355 eval "$ac_cv_use_expat"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_EXPAT" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 elif test "$wxUSE_EXPAT" = no
; then
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 elif test "$wxUSE_EXPAT" = sys
; then
3367 echo "$as_me:$LINENO: result: system version" >&5
3368 echo "${ECHO_T}system version" >&6
3369 elif test "$wxUSE_EXPAT" = builtin; then
3370 echo "$as_me:$LINENO: result: builtin version" >&5
3371 echo "${ECHO_T}builtin version" >&6
3373 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3374 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3375 { (exit 1); exit 1; }; }
3382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3383 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3385 # Check whether --enable-shared or --disable-shared was given.
3386 if test "${enable_shared+set}" = set; then
3387 enableval
="$enable_shared"
3389 if test "$enableval" = yes; then
3390 ac_cv_use_shared
='wxUSE_SHARED=yes'
3392 ac_cv_use_shared
='wxUSE_SHARED=no'
3397 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x
; then
3399 eval "DEFAULT_$LINE"
3404 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3408 eval "$ac_cv_use_shared"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3413 if test "$wxUSE_SHARED" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3424 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3426 # Check whether --enable-optimise or --disable-optimise was given.
3427 if test "${enable_optimise+set}" = set; then
3428 enableval
="$enable_optimise"
3430 if test "$enableval" = yes; then
3431 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3433 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3438 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3439 if test "x$LINE" != x
; then
3440 eval "DEFAULT_$LINE"
3445 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3449 eval "$ac_cv_use_optimise"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3454 if test "$wxUSE_OPTIMISE" = yes; then
3455 echo "$as_me:$LINENO: result: yes" >&5
3456 echo "${ECHO_T}yes" >&6
3458 echo "$as_me:$LINENO: result: no" >&5
3459 echo "${ECHO_T}no" >&6
3464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3465 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3467 # Check whether --enable-debug or --disable-debug was given.
3468 if test "${enable_debug+set}" = set; then
3469 enableval
="$enable_debug"
3471 if test "$enableval" = yes; then
3472 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3474 ac_cv_use_debug
='wxUSE_DEBUG=no'
3479 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x
; then
3481 eval "DEFAULT_$LINE"
3486 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3490 eval "$ac_cv_use_debug"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_DEBUG" = yes; then
3496 echo "$as_me:$LINENO: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3506 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3508 # Check whether --enable-stl or --disable-stl was given.
3509 if test "${enable_stl+set}" = set; then
3510 enableval
="$enable_stl"
3512 if test "$enableval" = yes; then
3513 ac_cv_use_stl
='wxUSE_STL=yes'
3515 ac_cv_use_stl
='wxUSE_STL=no'
3520 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3521 if test "x$LINE" != x
; then
3522 eval "DEFAULT_$LINE"
3527 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3531 eval "$ac_cv_use_stl"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3536 if test "$wxUSE_STL" = yes; then
3537 echo "$as_me:$LINENO: result: yes" >&5
3538 echo "${ECHO_T}yes" >&6
3540 echo "$as_me:$LINENO: result: no" >&5
3541 echo "${ECHO_T}no" >&6
3544 if test "$USE_OS2" = "1"; then
3547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3548 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3550 # Check whether --enable-omf or --disable-omf was given.
3551 if test "${enable_omf+set}" = set; then
3552 enableval
="$enable_omf"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_omf
='wxUSE_OMF=yes'
3557 ac_cv_use_omf
='wxUSE_OMF=no'
3562 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3573 eval "$ac_cv_use_omf"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_OMF" = yes; then
3579 echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3588 if test "$wxUSE_DEBUG" = "yes"; then
3589 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3590 DEFAULT_wxUSE_DEBUG_INFO
=yes
3592 elif test "$wxUSE_DEBUG" = "no"; then
3593 DEFAULT_wxUSE_DEBUG_FLAG
=no
3594 DEFAULT_wxUSE_DEBUG_INFO
=no
3600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3601 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3603 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3604 if test "${enable_debug_flag+set}" = set; then
3605 enableval
="$enable_debug_flag"
3607 if test "$enableval" = yes; then
3608 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3610 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3615 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x
; then
3617 eval "DEFAULT_$LINE"
3622 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3626 eval "$ac_cv_use_debug_flag"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3631 if test "$wxUSE_DEBUG_FLAG" = yes; then
3632 echo "$as_me:$LINENO: result: yes" >&5
3633 echo "${ECHO_T}yes" >&6
3635 echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3642 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3644 # Check whether --enable-debug_info or --disable-debug_info was given.
3645 if test "${enable_debug_info+set}" = set; then
3646 enableval
="$enable_debug_info"
3648 if test "$enableval" = yes; then
3649 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3651 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3656 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x
; then
3658 eval "DEFAULT_$LINE"
3663 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3667 eval "$ac_cv_use_debug_info"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3672 if test "$wxUSE_DEBUG_INFO" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3685 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3686 if test "${enable_debug_gdb+set}" = set; then
3687 enableval
="$enable_debug_gdb"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3692 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3697 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3708 eval "$ac_cv_use_debug_gdb"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_DEBUG_GDB" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3726 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3727 if test "${enable_debug_cntxt+set}" = set; then
3728 enableval
="$enable_debug_cntxt"
3730 if test "$enableval" = yes; then
3731 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3733 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3738 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x
; then
3740 eval "DEFAULT_$LINE"
3745 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3749 eval "$ac_cv_use_debug_cntxt"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3754 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3765 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3767 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3768 if test "${enable_mem_tracing+set}" = set; then
3769 enableval
="$enable_mem_tracing"
3771 if test "$enableval" = yes; then
3772 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3774 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3779 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3780 if test "x$LINE" != x
; then
3781 eval "DEFAULT_$LINE"
3786 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3790 eval "$ac_cv_use_mem_tracing"
3791 if test "$no_cache" != 1; then
3792 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3795 if test "$wxUSE_MEM_TRACING" = yes; then
3796 echo "$as_me:$LINENO: result: yes" >&5
3797 echo "${ECHO_T}yes" >&6
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3808 # Check whether --enable-profile or --disable-profile was given.
3809 if test "${enable_profile+set}" = set; then
3810 enableval
="$enable_profile"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3815 ac_cv_use_profile
='wxUSE_PROFILE=no'
3820 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x
; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3831 eval "$ac_cv_use_profile"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_PROFILE" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3849 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3850 if test "${enable_no_rtti+set}" = set; then
3851 enableval
="$enable_no_rtti"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3856 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3861 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x
; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3872 eval "$ac_cv_use_no_rtti"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_NO_RTTI" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3890 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3891 if test "${enable_no_exceptions+set}" = set; then
3892 enableval
="$enable_no_exceptions"
3894 if test "$enableval" = yes; then
3895 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3897 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3902 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x
; then
3904 eval "DEFAULT_$LINE"
3909 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3913 eval "$ac_cv_use_no_exceptions"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3918 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3929 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3931 # Check whether --enable-permissive or --disable-permissive was given.
3932 if test "${enable_permissive+set}" = set; then
3933 enableval
="$enable_permissive"
3935 if test "$enableval" = yes; then
3936 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3938 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3943 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x
; then
3945 eval "DEFAULT_$LINE"
3950 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3954 eval "$ac_cv_use_permissive"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3959 if test "$wxUSE_PERMISSIVE" = yes; then
3960 echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3972 # Check whether --enable-no_deps or --disable-no_deps was given.
3973 if test "${enable_no_deps+set}" = set; then
3974 enableval
="$enable_no_deps"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3979 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3984 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x
; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3995 eval "$ac_cv_use_no_deps"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4000 if test "$wxUSE_NO_DEPS" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4012 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4014 # Check whether --enable-compat22 or --disable-compat22 was given.
4015 if test "${enable_compat22+set}" = set; then
4016 enableval
="$enable_compat22"
4018 if test "$enableval" = yes; then
4019 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4021 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4026 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x
; then
4028 eval "DEFAULT_$LINE"
4033 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4037 eval "$ac_cv_use_compat22"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4042 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4043 echo "$as_me:$LINENO: result: yes" >&5
4044 echo "${ECHO_T}yes" >&6
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4051 enablestring
=disable
4052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4053 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4055 # Check whether --enable-compat24 or --disable-compat24 was given.
4056 if test "${enable_compat24+set}" = set; then
4057 enableval
="$enable_compat24"
4059 if test "$enableval" = yes; then
4060 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4062 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4067 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x
; then
4069 eval "DEFAULT_$LINE"
4074 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4078 eval "$ac_cv_use_compat24"
4079 if test "$no_cache" != 1; then
4080 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4083 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4084 echo "$as_me:$LINENO: result: yes" >&5
4085 echo "${ECHO_T}yes" >&6
4087 echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6
4092 # Check whether --enable-rpath or --disable-rpath was given.
4093 if test "${enable_rpath+set}" = set; then
4094 enableval
="$enable_rpath"
4095 wxRPATH_DIR
="$enableval"
4098 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4099 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4107 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4109 # Check whether --enable-intl or --disable-intl was given.
4110 if test "${enable_intl+set}" = set; then
4111 enableval
="$enable_intl"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_intl
='wxUSE_INTL=yes'
4116 ac_cv_use_intl
='wxUSE_INTL=no'
4121 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x
; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4132 eval "$ac_cv_use_intl"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_INTL" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4148 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4150 # Check whether --enable-config or --disable-config was given.
4151 if test "${enable_config+set}" = set; then
4152 enableval
="$enable_config"
4154 if test "$enableval" = yes; then
4155 ac_cv_use_config
='wxUSE_CONFIG=yes'
4157 ac_cv_use_config
='wxUSE_CONFIG=no'
4162 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x
; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4173 eval "$ac_cv_use_config"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_CONFIG" = yes; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4182 echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6
4189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4190 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4192 # Check whether --enable-protocols or --disable-protocols was given.
4193 if test "${enable_protocols+set}" = set; then
4194 enableval
="$enable_protocols"
4196 if test "$enableval" = yes; then
4197 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4199 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4204 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x
; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4215 eval "$ac_cv_use_protocols"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_PROTOCOL" = yes; then
4221 echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4231 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4233 # Check whether --enable-ftp or --disable-ftp was given.
4234 if test "${enable_ftp+set}" = set; then
4235 enableval
="$enable_ftp"
4237 if test "$enableval" = yes; then
4238 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4240 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4245 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4246 if test "x$LINE" != x
; then
4247 eval "DEFAULT_$LINE"
4252 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4256 eval "$ac_cv_use_ftp"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4261 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4262 echo "$as_me:$LINENO: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6
4265 echo "$as_me:$LINENO: result: no" >&5
4266 echo "${ECHO_T}no" >&6
4271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4272 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4274 # Check whether --enable-http or --disable-http was given.
4275 if test "${enable_http+set}" = set; then
4276 enableval
="$enable_http"
4278 if test "$enableval" = yes; then
4279 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4281 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4286 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x
; then
4288 eval "DEFAULT_$LINE"
4293 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4297 eval "$ac_cv_use_http"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4302 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4303 echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6
4306 echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4315 # Check whether --enable-fileproto or --disable-fileproto was given.
4316 if test "${enable_fileproto+set}" = set; then
4317 enableval
="$enable_fileproto"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4322 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4327 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x
; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4338 eval "$ac_cv_use_fileproto"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4356 # Check whether --enable-sockets or --disable-sockets was given.
4357 if test "${enable_sockets+set}" = set; then
4358 enableval
="$enable_sockets"
4360 if test "$enableval" = yes; then
4361 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4363 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4368 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x
; then
4370 eval "DEFAULT_$LINE"
4375 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4379 eval "$ac_cv_use_sockets"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_SOCKETS" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4397 # Check whether --enable-ole or --disable-ole was given.
4398 if test "${enable_ole+set}" = set; then
4399 enableval
="$enable_ole"
4401 if test "$enableval" = yes; then
4402 ac_cv_use_ole
='wxUSE_OLE=yes'
4404 ac_cv_use_ole
='wxUSE_OLE=no'
4409 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x
; then
4411 eval "DEFAULT_$LINE"
4416 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4420 eval "$ac_cv_use_ole"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_OLE" = yes; then
4426 echo "$as_me:$LINENO: result: yes" >&5
4427 echo "${ECHO_T}yes" >&6
4429 echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4438 # Check whether --enable-dataobj or --disable-dataobj was given.
4439 if test "${enable_dataobj+set}" = set; then
4440 enableval
="$enable_dataobj"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4445 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4450 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x
; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4461 eval "$ac_cv_use_dataobj"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_DATAOBJ" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4478 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4480 # Check whether --enable-ipc or --disable-ipc was given.
4481 if test "${enable_ipc+set}" = set; then
4482 enableval
="$enable_ipc"
4484 if test "$enableval" = yes; then
4485 ac_cv_use_ipc
='wxUSE_IPC=yes'
4487 ac_cv_use_ipc
='wxUSE_IPC=no'
4492 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x
; then
4494 eval "DEFAULT_$LINE"
4499 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4503 eval "$ac_cv_use_ipc"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_IPC" = yes; then
4509 echo "$as_me:$LINENO: result: yes" >&5
4510 echo "${ECHO_T}yes" >&6
4512 echo "$as_me:$LINENO: result: no" >&5
4513 echo "${ECHO_T}no" >&6
4519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4520 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4522 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4523 if test "${enable_apple_ieee+set}" = set; then
4524 enableval
="$enable_apple_ieee"
4526 if test "$enableval" = yes; then
4527 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4529 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4534 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x
; then
4536 eval "DEFAULT_$LINE"
4541 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4545 eval "$ac_cv_use_apple_ieee"
4546 if test "$no_cache" != 1; then
4547 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4550 if test "$wxUSE_APPLE_IEEE" = yes; then
4551 echo "$as_me:$LINENO: result: yes" >&5
4552 echo "${ECHO_T}yes" >&6
4554 echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6
4560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4561 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4563 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4564 if test "${enable_catch_segvs+set}" = set; then
4565 enableval
="$enable_catch_segvs"
4567 if test "$enableval" = yes; then
4568 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4570 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4575 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4582 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4586 eval "$ac_cv_use_catch_segvs"
4587 if test "$no_cache" != 1; then
4588 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4591 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4592 echo "$as_me:$LINENO: result: yes" >&5
4593 echo "${ECHO_T}yes" >&6
4595 echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6
4601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4602 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4604 # Check whether --enable-cmdline or --disable-cmdline was given.
4605 if test "${enable_cmdline+set}" = set; then
4606 enableval
="$enable_cmdline"
4608 if test "$enableval" = yes; then
4609 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4611 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4616 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4617 if test "x$LINE" != x
; then
4618 eval "DEFAULT_$LINE"
4623 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4627 eval "$ac_cv_use_cmdline"
4628 if test "$no_cache" != 1; then
4629 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4632 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4633 echo "$as_me:$LINENO: result: yes" >&5
4634 echo "${ECHO_T}yes" >&6
4636 echo "$as_me:$LINENO: result: no" >&5
4637 echo "${ECHO_T}no" >&6
4642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4643 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4645 # Check whether --enable-datetime or --disable-datetime was given.
4646 if test "${enable_datetime+set}" = set; then
4647 enableval
="$enable_datetime"
4649 if test "$enableval" = yes; then
4650 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4652 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4657 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x
; then
4659 eval "DEFAULT_$LINE"
4664 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4668 eval "$ac_cv_use_datetime"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4673 if test "$wxUSE_DATETIME" = yes; then
4674 echo "$as_me:$LINENO: result: yes" >&5
4675 echo "${ECHO_T}yes" >&6
4677 echo "$as_me:$LINENO: result: no" >&5
4678 echo "${ECHO_T}no" >&6
4683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4686 # Check whether --enable-dialupman or --disable-dialupman was given.
4687 if test "${enable_dialupman+set}" = set; then
4688 enableval
="$enable_dialupman"
4690 if test "$enableval" = yes; then
4691 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4693 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4698 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4699 if test "x$LINE" != x
; then
4700 eval "DEFAULT_$LINE"
4705 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4709 eval "$ac_cv_use_dialupman"
4710 if test "$no_cache" != 1; then
4711 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4714 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4715 echo "$as_me:$LINENO: result: yes" >&5
4716 echo "${ECHO_T}yes" >&6
4718 echo "$as_me:$LINENO: result: no" >&5
4719 echo "${ECHO_T}no" >&6
4724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4727 # Check whether --enable-dynlib or --disable-dynlib was given.
4728 if test "${enable_dynlib+set}" = set; then
4729 enableval
="$enable_dynlib"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4734 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4739 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4750 eval "$ac_cv_use_dynlib"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4755 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4756 echo "$as_me:$LINENO: result: yes" >&5
4757 echo "${ECHO_T}yes" >&6
4759 echo "$as_me:$LINENO: result: no" >&5
4760 echo "${ECHO_T}no" >&6
4765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4766 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4768 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4769 if test "${enable_dynamicloader+set}" = set; then
4770 enableval
="$enable_dynamicloader"
4772 if test "$enableval" = yes; then
4773 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4775 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4780 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x
; then
4782 eval "DEFAULT_$LINE"
4787 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4791 eval "$ac_cv_use_dynamicloader"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4796 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4797 echo "$as_me:$LINENO: result: yes" >&5
4798 echo "${ECHO_T}yes" >&6
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4809 # Check whether --enable-exceptions or --disable-exceptions was given.
4810 if test "${enable_exceptions+set}" = set; then
4811 enableval
="$enable_exceptions"
4813 if test "$enableval" = yes; then
4814 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4816 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4821 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x
; then
4823 eval "DEFAULT_$LINE"
4828 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4832 eval "$ac_cv_use_exceptions"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4837 if test "$wxUSE_EXCEPTIONS" = yes; then
4838 echo "$as_me:$LINENO: result: yes" >&5
4839 echo "${ECHO_T}yes" >&6
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4850 # Check whether --enable-ffile or --disable-ffile was given.
4851 if test "${enable_ffile+set}" = set; then
4852 enableval
="$enable_ffile"
4854 if test "$enableval" = yes; then
4855 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4857 ac_cv_use_ffile
='wxUSE_FFILE=no'
4862 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x
; then
4864 eval "DEFAULT_$LINE"
4869 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4873 eval "$ac_cv_use_ffile"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4878 if test "$wxUSE_FFILE" = yes; then
4879 echo "$as_me:$LINENO: result: yes" >&5
4880 echo "${ECHO_T}yes" >&6
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4891 # Check whether --enable-file or --disable-file was given.
4892 if test "${enable_file+set}" = set; then
4893 enableval
="$enable_file"
4895 if test "$enableval" = yes; then
4896 ac_cv_use_file
='wxUSE_FILE=yes'
4898 ac_cv_use_file
='wxUSE_FILE=no'
4903 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x
; then
4905 eval "DEFAULT_$LINE"
4910 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4914 eval "$ac_cv_use_file"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4919 if test "$wxUSE_FILE" = yes; then
4920 echo "$as_me:$LINENO: result: yes" >&5
4921 echo "${ECHO_T}yes" >&6
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4932 # Check whether --enable-filesystem or --disable-filesystem was given.
4933 if test "${enable_filesystem+set}" = set; then
4934 enableval
="$enable_filesystem"
4936 if test "$enableval" = yes; then
4937 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4939 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4944 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x
; then
4946 eval "DEFAULT_$LINE"
4951 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4955 eval "$ac_cv_use_filesystem"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4960 if test "$wxUSE_FILESYSTEM" = yes; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4973 # Check whether --enable-fontmap or --disable-fontmap was given.
4974 if test "${enable_fontmap+set}" = set; then
4975 enableval
="$enable_fontmap"
4977 if test "$enableval" = yes; then
4978 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4980 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4985 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x
; then
4987 eval "DEFAULT_$LINE"
4992 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4996 eval "$ac_cv_use_fontmap"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5001 if test "$wxUSE_FONTMAP" = yes; then
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5014 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5015 if test "${enable_fs_inet+set}" = set; then
5016 enableval
="$enable_fs_inet"
5018 if test "$enableval" = yes; then
5019 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5021 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5026 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x
; then
5028 eval "DEFAULT_$LINE"
5033 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5037 eval "$ac_cv_use_fs_inet"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5042 if test "$wxUSE_FS_INET" = yes; then
5043 echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5055 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5056 if test "${enable_fs_zip+set}" = set; then
5057 enableval
="$enable_fs_zip"
5059 if test "$enableval" = yes; then
5060 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5062 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5067 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x
; then
5069 eval "DEFAULT_$LINE"
5074 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5078 eval "$ac_cv_use_fs_zip"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5083 if test "$wxUSE_FS_ZIP" = yes; then
5084 echo "$as_me:$LINENO: result: yes" >&5
5085 echo "${ECHO_T}yes" >&6
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5096 # Check whether --enable-geometry or --disable-geometry was given.
5097 if test "${enable_geometry+set}" = set; then
5098 enableval
="$enable_geometry"
5100 if test "$enableval" = yes; then
5101 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5103 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5108 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x
; then
5110 eval "DEFAULT_$LINE"
5115 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5119 eval "$ac_cv_use_geometry"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5124 if test "$wxUSE_GEOMETRY" = yes; then
5125 echo "$as_me:$LINENO: result: yes" >&5
5126 echo "${ECHO_T}yes" >&6
5128 echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6
5134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5135 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5137 # Check whether --enable-log or --disable-log was given.
5138 if test "${enable_log+set}" = set; then
5139 enableval
="$enable_log"
5141 if test "$enableval" = yes; then
5142 ac_cv_use_log
='wxUSE_LOG=yes'
5144 ac_cv_use_log
='wxUSE_LOG=no'
5149 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x
; then
5151 eval "DEFAULT_$LINE"
5156 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5160 eval "$ac_cv_use_log"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5165 if test "$wxUSE_LOG" = yes; then
5166 echo "$as_me:$LINENO: result: yes" >&5
5167 echo "${ECHO_T}yes" >&6
5169 echo "$as_me:$LINENO: result: no" >&5
5170 echo "${ECHO_T}no" >&6
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5178 # Check whether --enable-longlong or --disable-longlong was given.
5179 if test "${enable_longlong+set}" = set; then
5180 enableval
="$enable_longlong"
5182 if test "$enableval" = yes; then
5183 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5185 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5190 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x
; then
5192 eval "DEFAULT_$LINE"
5197 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5201 eval "$ac_cv_use_longlong"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_LONGLONG" = yes; then
5207 echo "$as_me:$LINENO: result: yes" >&5
5208 echo "${ECHO_T}yes" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5219 # Check whether --enable-mimetype or --disable-mimetype was given.
5220 if test "${enable_mimetype+set}" = set; then
5221 enableval
="$enable_mimetype"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5226 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5231 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x
; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5242 eval "$ac_cv_use_mimetype"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5247 if test "$wxUSE_MIMETYPE" = yes; then
5248 echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5260 # Check whether --enable-mslu or --disable-mslu was given.
5261 if test "${enable_mslu+set}" = set; then
5262 enableval
="$enable_mslu"
5264 if test "$enableval" = yes; then
5265 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5267 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5272 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5273 if test "x$LINE" != x
; then
5274 eval "DEFAULT_$LINE"
5279 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5283 eval "$ac_cv_use_mslu"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_UNICODE_MSLU" = yes; then
5289 echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5301 # Check whether --enable-snglinst or --disable-snglinst was given.
5302 if test "${enable_snglinst+set}" = set; then
5303 enableval
="$enable_snglinst"
5305 if test "$enableval" = yes; then
5306 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5308 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5313 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x
; then
5315 eval "DEFAULT_$LINE"
5320 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5324 eval "$ac_cv_use_snglinst"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5342 # Check whether --enable-streams or --disable-streams was given.
5343 if test "${enable_streams+set}" = set; then
5344 enableval
="$enable_streams"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5349 ac_cv_use_streams
='wxUSE_STREAMS=no'
5354 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x
; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5365 eval "$ac_cv_use_streams"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_STREAMS" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5383 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5384 if test "${enable_std_iostreams+set}" = set; then
5385 enableval
="$enable_std_iostreams"
5387 if test "$enableval" = yes; then
5388 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5390 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5395 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x
; then
5397 eval "DEFAULT_$LINE"
5402 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5406 eval "$ac_cv_use_std_iostreams"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_STD_IOSTREAM" = yes; then
5412 echo "$as_me:$LINENO: result: yes" >&5
5413 echo "${ECHO_T}yes" >&6
5415 echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6
5421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5424 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5425 if test "${enable_stopwatch+set}" = set; then
5426 enableval
="$enable_stopwatch"
5428 if test "$enableval" = yes; then
5429 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5431 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5436 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x
; then
5438 eval "DEFAULT_$LINE"
5443 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5447 eval "$ac_cv_use_stopwatch"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_STOPWATCH" = yes; then
5453 echo "$as_me:$LINENO: result: yes" >&5
5454 echo "${ECHO_T}yes" >&6
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5463 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5465 # Check whether --enable-system_options or --disable-system_options was given.
5466 if test "${enable_system_options+set}" = set; then
5467 enableval
="$enable_system_options"
5469 if test "$enableval" = yes; then
5470 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5472 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5477 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5478 if test "x$LINE" != x
; then
5479 eval "DEFAULT_$LINE"
5484 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5488 eval "$ac_cv_use_system_options"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5493 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5494 echo "$as_me:$LINENO: result: yes" >&5
5495 echo "${ECHO_T}yes" >&6
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5506 # Check whether --enable-textbuf or --disable-textbuf was given.
5507 if test "${enable_textbuf+set}" = set; then
5508 enableval
="$enable_textbuf"
5510 if test "$enableval" = yes; then
5511 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5513 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5518 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x
; then
5520 eval "DEFAULT_$LINE"
5525 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5529 eval "$ac_cv_use_textbuf"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5534 if test "$wxUSE_TEXTBUFFER" = yes; then
5535 echo "$as_me:$LINENO: result: yes" >&5
5536 echo "${ECHO_T}yes" >&6
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5547 # Check whether --enable-textfile or --disable-textfile was given.
5548 if test "${enable_textfile+set}" = set; then
5549 enableval
="$enable_textfile"
5551 if test "$enableval" = yes; then
5552 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5554 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5559 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x
; then
5561 eval "DEFAULT_$LINE"
5566 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5570 eval "$ac_cv_use_textfile"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5575 if test "$wxUSE_TEXTFILE" = yes; then
5576 echo "$as_me:$LINENO: result: yes" >&5
5577 echo "${ECHO_T}yes" >&6
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5588 # Check whether --enable-timer or --disable-timer was given.
5589 if test "${enable_timer+set}" = set; then
5590 enableval
="$enable_timer"
5592 if test "$enableval" = yes; then
5593 ac_cv_use_timer
='wxUSE_TIMER=yes'
5595 ac_cv_use_timer
='wxUSE_TIMER=no'
5600 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x
; then
5602 eval "DEFAULT_$LINE"
5607 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5611 eval "$ac_cv_use_timer"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5616 if test "$wxUSE_TIMER" = yes; then
5617 echo "$as_me:$LINENO: result: yes" >&5
5618 echo "${ECHO_T}yes" >&6
5620 echo "$as_me:$LINENO: result: no" >&5
5621 echo "${ECHO_T}no" >&6
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5629 # Check whether --enable-unicode or --disable-unicode was given.
5630 if test "${enable_unicode+set}" = set; then
5631 enableval
="$enable_unicode"
5633 if test "$enableval" = yes; then
5634 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5636 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5641 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x
; then
5643 eval "DEFAULT_$LINE"
5648 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5652 eval "$ac_cv_use_unicode"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5657 if test "$wxUSE_UNICODE" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5670 # Check whether --enable-sound or --disable-sound was given.
5671 if test "${enable_sound+set}" = set; then
5672 enableval
="$enable_sound"
5674 if test "$enableval" = yes; then
5675 ac_cv_use_sound
='wxUSE_SOUND=yes'
5677 ac_cv_use_sound
='wxUSE_SOUND=no'
5682 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x
; then
5684 eval "DEFAULT_$LINE"
5689 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5693 eval "$ac_cv_use_sound"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5698 if test "$wxUSE_SOUND" = yes; then
5699 echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5711 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5712 if test "${enable_wxprintfv+set}" = set; then
5713 enableval
="$enable_wxprintfv"
5715 if test "$enableval" = yes; then
5716 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5718 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5723 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x
; then
5725 eval "DEFAULT_$LINE"
5730 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5734 eval "$ac_cv_use_wxprintfv"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5739 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5740 echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6
5743 echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6
5749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5750 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5752 # Check whether --enable-zipstream or --disable-zipstream was given.
5753 if test "${enable_zipstream+set}" = set; then
5754 enableval
="$enable_zipstream"
5756 if test "$enableval" = yes; then
5757 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5759 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5764 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x
; then
5766 eval "DEFAULT_$LINE"
5771 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5775 eval "$ac_cv_use_zipstream"
5776 if test "$no_cache" != 1; then
5777 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5780 if test "$wxUSE_ZIPSTREAM" = yes; then
5781 echo "$as_me:$LINENO: result: yes" >&5
5782 echo "${ECHO_T}yes" >&6
5784 echo "$as_me:$LINENO: result: no" >&5
5785 echo "${ECHO_T}no" >&6
5791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5794 # Check whether --enable-url or --disable-url was given.
5795 if test "${enable_url+set}" = set; then
5796 enableval
="$enable_url"
5798 if test "$enableval" = yes; then
5799 ac_cv_use_url
='wxUSE_URL=yes'
5801 ac_cv_use_url
='wxUSE_URL=no'
5806 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x
; then
5808 eval "DEFAULT_$LINE"
5813 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5817 eval "$ac_cv_use_url"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5822 if test "$wxUSE_URL" = yes; then
5823 echo "$as_me:$LINENO: result: yes" >&5
5824 echo "${ECHO_T}yes" >&6
5826 echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6
5832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5835 # Check whether --enable-protocol or --disable-protocol was given.
5836 if test "${enable_protocol+set}" = set; then
5837 enableval
="$enable_protocol"
5839 if test "$enableval" = yes; then
5840 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5842 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5847 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x
; then
5849 eval "DEFAULT_$LINE"
5854 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5858 eval "$ac_cv_use_protocol"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5863 if test "$wxUSE_PROTOCOL" = yes; then
5864 echo "$as_me:$LINENO: result: yes" >&5
5865 echo "${ECHO_T}yes" >&6
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5876 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5877 if test "${enable_protocol_http+set}" = set; then
5878 enableval
="$enable_protocol_http"
5880 if test "$enableval" = yes; then
5881 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5883 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5888 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5889 if test "x$LINE" != x
; then
5890 eval "DEFAULT_$LINE"
5895 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5899 eval "$ac_cv_use_protocol_http"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5904 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5905 echo "$as_me:$LINENO: result: yes" >&5
5906 echo "${ECHO_T}yes" >&6
5908 echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6
5914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5917 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5918 if test "${enable_protocol_ftp+set}" = set; then
5919 enableval
="$enable_protocol_ftp"
5921 if test "$enableval" = yes; then
5922 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5924 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5929 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5930 if test "x$LINE" != x
; then
5931 eval "DEFAULT_$LINE"
5936 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5940 eval "$ac_cv_use_protocol_ftp"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5945 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5946 echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6
5949 echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6
5955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5958 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5959 if test "${enable_protocol_file+set}" = set; then
5960 enableval
="$enable_protocol_file"
5962 if test "$enableval" = yes; then
5963 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5965 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5970 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5971 if test "x$LINE" != x
; then
5972 eval "DEFAULT_$LINE"
5977 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5981 eval "$ac_cv_use_protocol_file"
5982 if test "$no_cache" != 1; then
5983 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5986 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5987 echo "$as_me:$LINENO: result: yes" >&5
5988 echo "${ECHO_T}yes" >&6
5990 echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6
5999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6000 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6002 # Check whether --enable-threads or --disable-threads was given.
6003 if test "${enable_threads+set}" = set; then
6004 enableval
="$enable_threads"
6006 if test "$enableval" = yes; then
6007 ac_cv_use_threads
='wxUSE_THREADS=yes'
6009 ac_cv_use_threads
='wxUSE_THREADS=no'
6014 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x
; then
6016 eval "DEFAULT_$LINE"
6021 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6025 eval "$ac_cv_use_threads"
6026 if test "$no_cache" != 1; then
6027 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6030 if test "$wxUSE_THREADS" = yes; then
6031 echo "$as_me:$LINENO: result: yes" >&5
6032 echo "${ECHO_T}yes" >&6
6034 echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6
6039 if test "$wxUSE_GUI" = "yes"; then
6044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6045 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6047 # Check whether --enable-docview or --disable-docview was given.
6048 if test "${enable_docview+set}" = set; then
6049 enableval
="$enable_docview"
6051 if test "$enableval" = yes; then
6052 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6054 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6059 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x
; then
6061 eval "DEFAULT_$LINE"
6066 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6070 eval "$ac_cv_use_docview"
6071 if test "$no_cache" != 1; then
6072 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6075 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6076 echo "$as_me:$LINENO: result: yes" >&5
6077 echo "${ECHO_T}yes" >&6
6079 echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6
6085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6086 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6088 # Check whether --enable-help or --disable-help was given.
6089 if test "${enable_help+set}" = set; then
6090 enableval
="$enable_help"
6092 if test "$enableval" = yes; then
6093 ac_cv_use_help
='wxUSE_HELP=yes'
6095 ac_cv_use_help
='wxUSE_HELP=no'
6100 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x
; then
6102 eval "DEFAULT_$LINE"
6107 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6111 eval "$ac_cv_use_help"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6116 if test "$wxUSE_HELP" = yes; then
6117 echo "$as_me:$LINENO: result: yes" >&5
6118 echo "${ECHO_T}yes" >&6
6120 echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6
6126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6127 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6129 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6130 if test "${enable_mshtmlhelp+set}" = set; then
6131 enableval
="$enable_mshtmlhelp"
6133 if test "$enableval" = yes; then
6134 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6136 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6141 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x
; then
6143 eval "DEFAULT_$LINE"
6148 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6152 eval "$ac_cv_use_mshtmlhelp"
6153 if test "$no_cache" != 1; then
6154 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6157 if test "$wxUSE_MS_HTML_HELP" = yes; then
6158 echo "$as_me:$LINENO: result: yes" >&5
6159 echo "${ECHO_T}yes" >&6
6161 echo "$as_me:$LINENO: result: no" >&5
6162 echo "${ECHO_T}no" >&6
6167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6170 # Check whether --enable-html or --disable-html was given.
6171 if test "${enable_html+set}" = set; then
6172 enableval
="$enable_html"
6174 if test "$enableval" = yes; then
6175 ac_cv_use_html
='wxUSE_HTML=yes'
6177 ac_cv_use_html
='wxUSE_HTML=no'
6182 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x
; then
6184 eval "DEFAULT_$LINE"
6189 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6193 eval "$ac_cv_use_html"
6194 if test "$no_cache" != 1; then
6195 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6198 if test "$wxUSE_HTML" = yes; then
6199 echo "$as_me:$LINENO: result: yes" >&5
6200 echo "${ECHO_T}yes" >&6
6202 echo "$as_me:$LINENO: result: no" >&5
6203 echo "${ECHO_T}no" >&6
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6211 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6212 if test "${enable_htmlhelp+set}" = set; then
6213 enableval
="$enable_htmlhelp"
6215 if test "$enableval" = yes; then
6216 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6218 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6223 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x
; then
6225 eval "DEFAULT_$LINE"
6230 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6234 eval "$ac_cv_use_htmlhelp"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6239 if test "$wxUSE_WXHTML_HELP" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6252 # Check whether --enable-constraints or --disable-constraints was given.
6253 if test "${enable_constraints+set}" = set; then
6254 enableval
="$enable_constraints"
6256 if test "$enableval" = yes; then
6257 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6259 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6264 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x
; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6275 eval "$ac_cv_use_constraints"
6276 if test "$no_cache" != 1; then
6277 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6280 if test "$wxUSE_CONSTRAINTS" = yes; then
6281 echo "$as_me:$LINENO: result: yes" >&5
6282 echo "${ECHO_T}yes" >&6
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6293 # Check whether --enable-printarch or --disable-printarch was given.
6294 if test "${enable_printarch+set}" = set; then
6295 enableval
="$enable_printarch"
6297 if test "$enableval" = yes; then
6298 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6300 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6305 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x
; then
6307 eval "DEFAULT_$LINE"
6312 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6316 eval "$ac_cv_use_printarch"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6322 echo "$as_me:$LINENO: result: yes" >&5
6323 echo "${ECHO_T}yes" >&6
6325 echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6334 # Check whether --enable-mdi or --disable-mdi was given.
6335 if test "${enable_mdi+set}" = set; then
6336 enableval
="$enable_mdi"
6338 if test "$enableval" = yes; then
6339 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6341 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6346 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x
; then
6348 eval "DEFAULT_$LINE"
6353 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6357 eval "$ac_cv_use_mdi"
6358 if test "$no_cache" != 1; then
6359 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6362 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6363 echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6
6366 echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6
6372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6375 # Check whether --enable-loggui or --disable-loggui was given.
6376 if test "${enable_loggui+set}" = set; then
6377 enableval
="$enable_loggui"
6379 if test "$enableval" = yes; then
6380 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6382 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6387 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x
; then
6389 eval "DEFAULT_$LINE"
6394 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6398 eval "$ac_cv_use_loggui"
6399 if test "$no_cache" != 1; then
6400 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6403 if test "$wxUSE_LOGGUI" = yes; then
6404 echo "$as_me:$LINENO: result: yes" >&5
6405 echo "${ECHO_T}yes" >&6
6407 echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6
6413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6414 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6416 # Check whether --enable-logwin or --disable-logwin was given.
6417 if test "${enable_logwin+set}" = set; then
6418 enableval
="$enable_logwin"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6423 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6428 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6439 eval "$ac_cv_use_logwin"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6444 if test "$wxUSE_LOGWINDOW" = yes; then
6445 echo "$as_me:$LINENO: result: yes" >&5
6446 echo "${ECHO_T}yes" >&6
6448 echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6
6454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6455 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6457 # Check whether --enable-logdialog or --disable-logdialog was given.
6458 if test "${enable_logdialog+set}" = set; then
6459 enableval
="$enable_logdialog"
6461 if test "$enableval" = yes; then
6462 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6464 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6469 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6470 if test "x$LINE" != x
; then
6471 eval "DEFAULT_$LINE"
6476 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6480 eval "$ac_cv_use_logdialog"
6481 if test "$no_cache" != 1; then
6482 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6485 if test "$wxUSE_LOGDIALOG" = yes; then
6486 echo "$as_me:$LINENO: result: yes" >&5
6487 echo "${ECHO_T}yes" >&6
6489 echo "$as_me:$LINENO: result: no" >&5
6490 echo "${ECHO_T}no" >&6
6496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6497 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6499 # Check whether --enable-postscript or --disable-postscript was given.
6500 if test "${enable_postscript+set}" = set; then
6501 enableval
="$enable_postscript"
6503 if test "$enableval" = yes; then
6504 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6506 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6511 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x
; then
6513 eval "DEFAULT_$LINE"
6518 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6522 eval "$ac_cv_use_postscript"
6523 if test "$no_cache" != 1; then
6524 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6527 if test "$wxUSE_POSTSCRIPT" = yes; then
6528 echo "$as_me:$LINENO: result: yes" >&5
6529 echo "${ECHO_T}yes" >&6
6531 echo "$as_me:$LINENO: result: no" >&5
6532 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6543 # Check whether --enable-prologio or --disable-prologio was given.
6544 if test "${enable_prologio+set}" = set; then
6545 enableval
="$enable_prologio"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6550 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6555 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x
; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6566 eval "$ac_cv_use_prologio"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_PROLOGIO" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6582 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6584 # Check whether --enable-resources or --disable-resources was given.
6585 if test "${enable_resources+set}" = set; then
6586 enableval
="$enable_resources"
6588 if test "$enableval" = yes; then
6589 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6591 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6596 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6597 if test "x$LINE" != x
; then
6598 eval "DEFAULT_$LINE"
6603 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6607 eval "$ac_cv_use_resources"
6608 if test "$no_cache" != 1; then
6609 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6612 if test "$wxUSE_RESOURCES" = yes; then
6613 echo "$as_me:$LINENO: result: yes" >&5
6614 echo "${ECHO_T}yes" >&6
6616 echo "$as_me:$LINENO: result: no" >&5
6617 echo "${ECHO_T}no" >&6
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6627 # Check whether --enable-clipboard or --disable-clipboard was given.
6628 if test "${enable_clipboard+set}" = set; then
6629 enableval
="$enable_clipboard"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6634 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6639 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x
; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6650 eval "$ac_cv_use_clipboard"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_CLIPBOARD" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6668 # Check whether --enable-dnd or --disable-dnd was given.
6669 if test "${enable_dnd+set}" = set; then
6670 enableval
="$enable_dnd"
6672 if test "$enableval" = yes; then
6673 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6675 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6680 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x
; then
6682 eval "DEFAULT_$LINE"
6687 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6691 eval "$ac_cv_use_dnd"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6696 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6697 echo "$as_me:$LINENO: result: yes" >&5
6698 echo "${ECHO_T}yes" >&6
6700 echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6707 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6709 # Check whether --enable-metafile or --disable-metafile was given.
6710 if test "${enable_metafile+set}" = set; then
6711 enableval
="$enable_metafile"
6713 if test "$enableval" = yes; then
6714 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6716 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6721 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6722 if test "x$LINE" != x
; then
6723 eval "DEFAULT_$LINE"
6728 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6732 eval "$ac_cv_use_metafile"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_METAFILE" = yes; then
6738 echo "$as_me:$LINENO: result: yes" >&5
6739 echo "${ECHO_T}yes" >&6
6741 echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6
6750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6753 # Check whether --enable-controls or --disable-controls was given.
6754 if test "${enable_controls+set}" = set; then
6755 enableval
="$enable_controls"
6757 if test "$enableval" = yes; then
6758 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6760 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6765 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x
; then
6767 eval "DEFAULT_$LINE"
6772 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6776 eval "$ac_cv_use_controls"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6781 if test "$wxUSE_CONTROLS" = yes; then
6782 echo "$as_me:$LINENO: result: yes" >&5
6783 echo "${ECHO_T}yes" >&6
6785 echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6
6790 if test "$wxUSE_CONTROLS" = "yes"; then
6791 DEFAULT_wxUSE_ACCEL
=yes
6792 DEFAULT_wxUSE_BMPBUTTON
=yes
6793 DEFAULT_wxUSE_BUTTON
=yes
6794 DEFAULT_wxUSE_CALCTRL
=no
6795 DEFAULT_wxUSE_CARET
=yes
6796 DEFAULT_wxUSE_COMBOBOX
=yes
6797 DEFAULT_wxUSE_CHECKBOX
=yes
6798 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6799 DEFAULT_wxUSE_CHOICE
=yes
6800 DEFAULT_wxUSE_GAUGE
=yes
6801 DEFAULT_wxUSE_GRID
=yes
6802 DEFAULT_wxUSE_IMAGLIST
=yes
6803 DEFAULT_wxUSE_LISTBOOK
=yes
6804 DEFAULT_wxUSE_LISTBOX
=yes
6805 DEFAULT_wxUSE_LISTCTRL
=yes
6806 DEFAULT_wxUSE_NOTEBOOK
=yes
6807 DEFAULT_wxUSE_RADIOBOX
=yes
6808 DEFAULT_wxUSE_RADIOBTN
=yes
6809 DEFAULT_wxUSE_SASH
=yes
6810 DEFAULT_wxUSE_SCROLLBAR
=yes
6811 DEFAULT_wxUSE_SLIDER
=yes
6812 DEFAULT_wxUSE_SPINBTN
=yes
6813 DEFAULT_wxUSE_SPINCTRL
=yes
6814 DEFAULT_wxUSE_SPLITTER
=yes
6815 DEFAULT_wxUSE_STATBMP
=yes
6816 DEFAULT_wxUSE_STATBOX
=yes
6817 DEFAULT_wxUSE_STATLINE
=yes
6818 DEFAULT_wxUSE_STATUSBAR
=yes
6819 DEFAULT_wxUSE_TAB_DIALOG
=yes
6820 DEFAULT_wxUSE_TOGGLEBTN
=yes
6821 DEFAULT_wxUSE_TOOLBAR
=yes
6822 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6823 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6824 DEFAULT_wxUSE_TOOLTIPS
=yes
6825 DEFAULT_wxUSE_TREECTRL
=yes
6826 DEFAULT_wxUSE_POPUPWIN
=yes
6827 DEFAULT_wxUSE_TIPWINDOW
=yes
6828 elif test "$wxUSE_CONTROLS" = "no"; then
6829 DEFAULT_wxUSE_ACCEL
=no
6830 DEFAULT_wxUSE_BMPBUTTON
=no
6831 DEFAULT_wxUSE_BUTTON
=no
6832 DEFAULT_wxUSE_CALCTRL
=no
6833 DEFAULT_wxUSE_CARET
=no
6834 DEFAULT_wxUSE_COMBOBOX
=no
6835 DEFAULT_wxUSE_CHECKBOX
=no
6836 DEFAULT_wxUSE_CHECKLISTBOX
=no
6837 DEFAULT_wxUSE_CHOICE
=no
6838 DEFAULT_wxUSE_GAUGE
=no
6839 DEFAULT_wxUSE_GRID
=no
6840 DEFAULT_wxUSE_IMAGLIST
=no
6841 DEFAULT_wxUSE_LISTBOOK
=no
6842 DEFAULT_wxUSE_LISTBOX
=no
6843 DEFAULT_wxUSE_LISTCTRL
=no
6844 DEFAULT_wxUSE_NOTEBOOK
=no
6845 DEFAULT_wxUSE_RADIOBOX
=no
6846 DEFAULT_wxUSE_RADIOBTN
=no
6847 DEFAULT_wxUSE_SASH
=no
6848 DEFAULT_wxUSE_SCROLLBAR
=no
6849 DEFAULT_wxUSE_SLIDER
=no
6850 DEFAULT_wxUSE_SPINBTN
=no
6851 DEFAULT_wxUSE_SPINCTRL
=no
6852 DEFAULT_wxUSE_SPLITTER
=no
6853 DEFAULT_wxUSE_STATBMP
=no
6854 DEFAULT_wxUSE_STATBOX
=no
6855 DEFAULT_wxUSE_STATLINE
=no
6856 DEFAULT_wxUSE_STATUSBAR
=no
6857 DEFAULT_wxUSE_TAB_DIALOG
=no
6858 DEFAULT_wxUSE_TOGGLEBTN
=no
6859 DEFAULT_wxUSE_TOOLBAR
=no
6860 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6861 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6862 DEFAULT_wxUSE_TOOLTIPS
=no
6863 DEFAULT_wxUSE_TREECTRL
=no
6864 DEFAULT_wxUSE_POPUPWIN
=no
6865 DEFAULT_wxUSE_TIPWINDOW
=no
6868 ## FIXME: This is a blatant hack
6869 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6870 wxUSE_PRINTING_ARCHITECTURE
=no
6871 wxUSE_DRAG_AND_DROP
=no
6872 # Generic notebook requires tab dialog
6873 DEFAULT_wxUSE_TABDIALOG
=yes
6874 DEFAULT_wxUSE_SCROLLBAR
=no
6875 DEFAULT_wxUSE_TOOLTIPS
=no
6876 DEFAULT_wxUSE_DRAGIMAGE
=no
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6884 # Check whether --enable-accel or --disable-accel was given.
6885 if test "${enable_accel+set}" = set; then
6886 enableval
="$enable_accel"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6891 ac_cv_use_accel
='wxUSE_ACCEL=no'
6896 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6907 eval "$ac_cv_use_accel"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_ACCEL" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6925 # Check whether --enable-button or --disable-button was given.
6926 if test "${enable_button+set}" = set; then
6927 enableval
="$enable_button"
6929 if test "$enableval" = yes; then
6930 ac_cv_use_button
='wxUSE_BUTTON=yes'
6932 ac_cv_use_button
='wxUSE_BUTTON=no'
6937 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x
; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6948 eval "$ac_cv_use_button"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_BUTTON" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6966 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6967 if test "${enable_bmpbutton+set}" = set; then
6968 enableval
="$enable_bmpbutton"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6973 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6978 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6989 eval "$ac_cv_use_bmpbutton"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_BMPBUTTON" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7007 # Check whether --enable-calendar or --disable-calendar was given.
7008 if test "${enable_calendar+set}" = set; then
7009 enableval
="$enable_calendar"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7014 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7019 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7030 eval "$ac_cv_use_calendar"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_CALCTRL" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7048 # Check whether --enable-caret or --disable-caret was given.
7049 if test "${enable_caret+set}" = set; then
7050 enableval
="$enable_caret"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_caret
='wxUSE_CARET=yes'
7055 ac_cv_use_caret
='wxUSE_CARET=no'
7060 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7071 eval "$ac_cv_use_caret"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_CARET" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7089 # Check whether --enable-checkbox or --disable-checkbox was given.
7090 if test "${enable_checkbox+set}" = set; then
7091 enableval
="$enable_checkbox"
7093 if test "$enableval" = yes; then
7094 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7096 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7101 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x
; then
7103 eval "DEFAULT_$LINE"
7108 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7112 eval "$ac_cv_use_checkbox"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_CHECKBOX" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7130 # Check whether --enable-checklst or --disable-checklst was given.
7131 if test "${enable_checklst+set}" = set; then
7132 enableval
="$enable_checklst"
7134 if test "$enableval" = yes; then
7135 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7137 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7142 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x
; then
7144 eval "DEFAULT_$LINE"
7149 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7153 eval "$ac_cv_use_checklst"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7158 if test "$wxUSE_CHECKLST" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7171 # Check whether --enable-choice or --disable-choice was given.
7172 if test "${enable_choice+set}" = set; then
7173 enableval
="$enable_choice"
7175 if test "$enableval" = yes; then
7176 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7178 ac_cv_use_choice
='wxUSE_CHOICE=no'
7183 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x
; then
7185 eval "DEFAULT_$LINE"
7190 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7194 eval "$ac_cv_use_choice"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_CHOICE" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7212 # Check whether --enable-combobox or --disable-combobox was given.
7213 if test "${enable_combobox+set}" = set; then
7214 enableval
="$enable_combobox"
7216 if test "$enableval" = yes; then
7217 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7219 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7224 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x
; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7235 eval "$ac_cv_use_combobox"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7240 if test "$wxUSE_COMBOBOX" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7253 # Check whether --enable-display or --disable-display was given.
7254 if test "${enable_display+set}" = set; then
7255 enableval
="$enable_display"
7257 if test "$enableval" = yes; then
7258 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7260 ac_cv_use_display
='wxUSE_DISPLAY=no'
7265 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x
; then
7267 eval "DEFAULT_$LINE"
7272 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7276 eval "$ac_cv_use_display"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_DISPLAY" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7294 # Check whether --enable-gauge or --disable-gauge was given.
7295 if test "${enable_gauge+set}" = set; then
7296 enableval
="$enable_gauge"
7298 if test "$enableval" = yes; then
7299 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7301 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7306 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x
; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7317 eval "$ac_cv_use_gauge"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_GAUGE" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7335 # Check whether --enable-grid or --disable-grid was given.
7336 if test "${enable_grid+set}" = set; then
7337 enableval
="$enable_grid"
7339 if test "$enableval" = yes; then
7340 ac_cv_use_grid
='wxUSE_GRID=yes'
7342 ac_cv_use_grid
='wxUSE_GRID=no'
7347 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x
; then
7349 eval "DEFAULT_$LINE"
7354 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7358 eval "$ac_cv_use_grid"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_GRID" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7376 # Check whether --enable-imaglist or --disable-imaglist was given.
7377 if test "${enable_imaglist+set}" = set; then
7378 enableval
="$enable_imaglist"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7383 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7388 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7399 eval "$ac_cv_use_imaglist"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7404 if test "$wxUSE_IMAGLIST" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7417 # Check whether --enable-listbook or --disable-listbook was given.
7418 if test "${enable_listbook+set}" = set; then
7419 enableval
="$enable_listbook"
7421 if test "$enableval" = yes; then
7422 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7424 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7429 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x
; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7440 eval "$ac_cv_use_listbook"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7445 if test "$wxUSE_LISTBOOK" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7458 # Check whether --enable-listbox or --disable-listbox was given.
7459 if test "${enable_listbox+set}" = set; then
7460 enableval
="$enable_listbox"
7462 if test "$enableval" = yes; then
7463 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7465 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7470 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x
; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7481 eval "$ac_cv_use_listbox"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7486 if test "$wxUSE_LISTBOX" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7499 # Check whether --enable-listctrl or --disable-listctrl was given.
7500 if test "${enable_listctrl+set}" = set; then
7501 enableval
="$enable_listctrl"
7503 if test "$enableval" = yes; then
7504 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7506 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7511 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x
; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7522 eval "$ac_cv_use_listctrl"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7527 if test "$wxUSE_LISTCTRL" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7540 # Check whether --enable-notebook or --disable-notebook was given.
7541 if test "${enable_notebook+set}" = set; then
7542 enableval
="$enable_notebook"
7544 if test "$enableval" = yes; then
7545 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7547 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7552 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x
; then
7554 eval "DEFAULT_$LINE"
7559 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7563 eval "$ac_cv_use_notebook"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7568 if test "$wxUSE_NOTEBOOK" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7581 # Check whether --enable-radiobox or --disable-radiobox was given.
7582 if test "${enable_radiobox+set}" = set; then
7583 enableval
="$enable_radiobox"
7585 if test "$enableval" = yes; then
7586 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7588 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7593 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x
; then
7595 eval "DEFAULT_$LINE"
7600 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7604 eval "$ac_cv_use_radiobox"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7609 if test "$wxUSE_RADIOBOX" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7622 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7623 if test "${enable_radiobtn+set}" = set; then
7624 enableval
="$enable_radiobtn"
7626 if test "$enableval" = yes; then
7627 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7629 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7634 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x
; then
7636 eval "DEFAULT_$LINE"
7641 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7645 eval "$ac_cv_use_radiobtn"
7646 if test "$no_cache" != 1; then
7647 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7650 if test "$wxUSE_RADIOBTN" = yes; then
7651 echo "$as_me:$LINENO: result: yes" >&5
7652 echo "${ECHO_T}yes" >&6
7654 echo "$as_me:$LINENO: result: no" >&5
7655 echo "${ECHO_T}no" >&6
7660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7663 # Check whether --enable-sash or --disable-sash was given.
7664 if test "${enable_sash+set}" = set; then
7665 enableval
="$enable_sash"
7667 if test "$enableval" = yes; then
7668 ac_cv_use_sash
='wxUSE_SASH=yes'
7670 ac_cv_use_sash
='wxUSE_SASH=no'
7675 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7676 if test "x$LINE" != x
; then
7677 eval "DEFAULT_$LINE"
7682 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7686 eval "$ac_cv_use_sash"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7691 if test "$wxUSE_SASH" = yes; then
7692 echo "$as_me:$LINENO: result: yes" >&5
7693 echo "${ECHO_T}yes" >&6
7695 echo "$as_me:$LINENO: result: no" >&5
7696 echo "${ECHO_T}no" >&6
7701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7704 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7705 if test "${enable_scrollbar+set}" = set; then
7706 enableval
="$enable_scrollbar"
7708 if test "$enableval" = yes; then
7709 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7711 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7716 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x
; then
7718 eval "DEFAULT_$LINE"
7723 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7727 eval "$ac_cv_use_scrollbar"
7728 if test "$no_cache" != 1; then
7729 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7732 if test "$wxUSE_SCROLLBAR" = yes; then
7733 echo "$as_me:$LINENO: result: yes" >&5
7734 echo "${ECHO_T}yes" >&6
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7745 # Check whether --enable-slider or --disable-slider was given.
7746 if test "${enable_slider+set}" = set; then
7747 enableval
="$enable_slider"
7749 if test "$enableval" = yes; then
7750 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7752 ac_cv_use_slider
='wxUSE_SLIDER=no'
7757 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x
; then
7759 eval "DEFAULT_$LINE"
7764 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7768 eval "$ac_cv_use_slider"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7773 if test "$wxUSE_SLIDER" = yes; then
7774 echo "$as_me:$LINENO: result: yes" >&5
7775 echo "${ECHO_T}yes" >&6
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7786 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7787 if test "${enable_spinbtn+set}" = set; then
7788 enableval
="$enable_spinbtn"
7790 if test "$enableval" = yes; then
7791 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7793 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7798 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7799 if test "x$LINE" != x
; then
7800 eval "DEFAULT_$LINE"
7805 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7809 eval "$ac_cv_use_spinbtn"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7814 if test "$wxUSE_SPINBTN" = yes; then
7815 echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6
7818 echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6
7824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7827 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7828 if test "${enable_spinctrl+set}" = set; then
7829 enableval
="$enable_spinctrl"
7831 if test "$enableval" = yes; then
7832 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7834 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7839 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x
; then
7841 eval "DEFAULT_$LINE"
7846 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7850 eval "$ac_cv_use_spinctrl"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7855 if test "$wxUSE_SPINCTRL" = yes; then
7856 echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7868 # Check whether --enable-splitter or --disable-splitter was given.
7869 if test "${enable_splitter+set}" = set; then
7870 enableval
="$enable_splitter"
7872 if test "$enableval" = yes; then
7873 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7875 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7880 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x
; then
7882 eval "DEFAULT_$LINE"
7887 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7891 eval "$ac_cv_use_splitter"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7896 if test "$wxUSE_SPLITTER" = yes; then
7897 echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7909 # Check whether --enable-statbmp or --disable-statbmp was given.
7910 if test "${enable_statbmp+set}" = set; then
7911 enableval
="$enable_statbmp"
7913 if test "$enableval" = yes; then
7914 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7916 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7921 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x
; then
7923 eval "DEFAULT_$LINE"
7928 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7932 eval "$ac_cv_use_statbmp"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7937 if test "$wxUSE_STATBMP" = yes; then
7938 echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7941 echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7950 # Check whether --enable-statbox or --disable-statbox was given.
7951 if test "${enable_statbox+set}" = set; then
7952 enableval
="$enable_statbox"
7954 if test "$enableval" = yes; then
7955 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7957 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7962 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x
; then
7964 eval "DEFAULT_$LINE"
7969 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7973 eval "$ac_cv_use_statbox"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7978 if test "$wxUSE_STATBOX" = yes; then
7979 echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6
7982 echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6
7988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7991 # Check whether --enable-statline or --disable-statline was given.
7992 if test "${enable_statline+set}" = set; then
7993 enableval
="$enable_statline"
7995 if test "$enableval" = yes; then
7996 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7998 ac_cv_use_statline
='wxUSE_STATLINE=no'
8003 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x
; then
8005 eval "DEFAULT_$LINE"
8010 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8014 eval "$ac_cv_use_statline"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8019 if test "$wxUSE_STATLINE" = yes; then
8020 echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6
8023 echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6
8029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8032 # Check whether --enable-stattext or --disable-stattext was given.
8033 if test "${enable_stattext+set}" = set; then
8034 enableval
="$enable_stattext"
8036 if test "$enableval" = yes; then
8037 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8039 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8044 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x
; then
8046 eval "DEFAULT_$LINE"
8051 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8055 eval "$ac_cv_use_stattext"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8060 if test "$wxUSE_STATTEXT" = yes; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8073 # Check whether --enable-statusbar or --disable-statusbar was given.
8074 if test "${enable_statusbar+set}" = set; then
8075 enableval
="$enable_statusbar"
8077 if test "$enableval" = yes; then
8078 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8080 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8085 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x
; then
8087 eval "DEFAULT_$LINE"
8092 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8096 eval "$ac_cv_use_statusbar"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8101 if test "$wxUSE_STATUSBAR" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8114 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8115 if test "${enable_tabdialog+set}" = set; then
8116 enableval
="$enable_tabdialog"
8118 if test "$enableval" = yes; then
8119 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8121 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8126 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x
; then
8128 eval "DEFAULT_$LINE"
8133 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8137 eval "$ac_cv_use_tabdialog"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8142 if test "$wxUSE_TABDIALOG" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8155 # Check whether --enable-textctrl or --disable-textctrl was given.
8156 if test "${enable_textctrl+set}" = set; then
8157 enableval
="$enable_textctrl"
8159 if test "$enableval" = yes; then
8160 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8162 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8167 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x
; then
8169 eval "DEFAULT_$LINE"
8174 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8178 eval "$ac_cv_use_textctrl"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8183 if test "$wxUSE_TEXTCTRL" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8196 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8197 if test "${enable_togglebtn+set}" = set; then
8198 enableval
="$enable_togglebtn"
8200 if test "$enableval" = yes; then
8201 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8203 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8208 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x
; then
8210 eval "DEFAULT_$LINE"
8215 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8219 eval "$ac_cv_use_togglebtn"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8224 if test "$wxUSE_TOGGLEBTN" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8237 # Check whether --enable-toolbar or --disable-toolbar was given.
8238 if test "${enable_toolbar+set}" = set; then
8239 enableval
="$enable_toolbar"
8241 if test "$enableval" = yes; then
8242 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8244 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8249 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x
; then
8251 eval "DEFAULT_$LINE"
8256 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8260 eval "$ac_cv_use_toolbar"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8265 if test "$wxUSE_TOOLBAR" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8278 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8279 if test "${enable_tbarnative+set}" = set; then
8280 enableval
="$enable_tbarnative"
8282 if test "$enableval" = yes; then
8283 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8285 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8290 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x
; then
8292 eval "DEFAULT_$LINE"
8297 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8301 eval "$ac_cv_use_tbarnative"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8319 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8320 if test "${enable_tbarsmpl+set}" = set; then
8321 enableval
="$enable_tbarsmpl"
8323 if test "$enableval" = yes; then
8324 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8326 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8331 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x
; then
8333 eval "DEFAULT_$LINE"
8338 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8342 eval "$ac_cv_use_tbarsmpl"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8360 # Check whether --enable-treectrl or --disable-treectrl was given.
8361 if test "${enable_treectrl+set}" = set; then
8362 enableval
="$enable_treectrl"
8364 if test "$enableval" = yes; then
8365 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8367 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8372 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x
; then
8374 eval "DEFAULT_$LINE"
8379 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8383 eval "$ac_cv_use_treectrl"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8388 if test "$wxUSE_TREECTRL" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8401 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8402 if test "${enable_tipwindow+set}" = set; then
8403 enableval
="$enable_tipwindow"
8405 if test "$enableval" = yes; then
8406 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8408 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8413 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x
; then
8415 eval "DEFAULT_$LINE"
8420 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8424 eval "$ac_cv_use_tipwindow"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8429 if test "$wxUSE_TIPWINDOW" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8442 # Check whether --enable-popupwin or --disable-popupwin was given.
8443 if test "${enable_popupwin+set}" = set; then
8444 enableval
="$enable_popupwin"
8446 if test "$enableval" = yes; then
8447 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8449 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8454 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8455 if test "x$LINE" != x
; then
8456 eval "DEFAULT_$LINE"
8461 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8465 eval "$ac_cv_use_popupwin"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8470 if test "$wxUSE_POPUPWIN" = yes; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8485 # Check whether --enable-commondlg or --disable-commondlg was given.
8486 if test "${enable_commondlg+set}" = set; then
8487 enableval
="$enable_commondlg"
8489 if test "$enableval" = yes; then
8490 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8492 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8497 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x
; then
8499 eval "DEFAULT_$LINE"
8504 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8508 eval "$ac_cv_use_commondlg"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8513 if test "$wxUSE_COMMONDLGS" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8526 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8527 if test "${enable_choicedlg+set}" = set; then
8528 enableval
="$enable_choicedlg"
8530 if test "$enableval" = yes; then
8531 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8533 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8538 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x
; then
8540 eval "DEFAULT_$LINE"
8545 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8549 eval "$ac_cv_use_choicedlg"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8554 if test "$wxUSE_CHOICEDLG" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8567 # Check whether --enable-coldlg or --disable-coldlg was given.
8568 if test "${enable_coldlg+set}" = set; then
8569 enableval
="$enable_coldlg"
8571 if test "$enableval" = yes; then
8572 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8574 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8579 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x
; then
8581 eval "DEFAULT_$LINE"
8586 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8590 eval "$ac_cv_use_coldlg"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8595 if test "$wxUSE_COLOURDLG" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8608 # Check whether --enable-filedlg or --disable-filedlg was given.
8609 if test "${enable_filedlg+set}" = set; then
8610 enableval
="$enable_filedlg"
8612 if test "$enableval" = yes; then
8613 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8615 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8620 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x
; then
8622 eval "DEFAULT_$LINE"
8627 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8631 eval "$ac_cv_use_filedlg"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8636 if test "$wxUSE_FILEDLG" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8649 # Check whether --enable-finddlg or --disable-finddlg was given.
8650 if test "${enable_finddlg+set}" = set; then
8651 enableval
="$enable_finddlg"
8653 if test "$enableval" = yes; then
8654 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8656 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8661 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x
; then
8663 eval "DEFAULT_$LINE"
8668 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8672 eval "$ac_cv_use_finddlg"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8677 if test "$wxUSE_FINDREPLDLG" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8688 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8690 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8691 if test "${enable_fontdlg+set}" = set; then
8692 enableval
="$enable_fontdlg"
8694 if test "$enableval" = yes; then
8695 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8697 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8702 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x
; then
8704 eval "DEFAULT_$LINE"
8709 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8713 eval "$ac_cv_use_fontdlg"
8714 if test "$no_cache" != 1; then
8715 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8718 if test "$wxUSE_FONTDLG" = yes; then
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8722 echo "$as_me:$LINENO: result: no" >&5
8723 echo "${ECHO_T}no" >&6
8728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8731 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8732 if test "${enable_dirdlg+set}" = set; then
8733 enableval
="$enable_dirdlg"
8735 if test "$enableval" = yes; then
8736 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8738 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8743 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8744 if test "x$LINE" != x
; then
8745 eval "DEFAULT_$LINE"
8750 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8754 eval "$ac_cv_use_dirdlg"
8755 if test "$no_cache" != 1; then
8756 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8759 if test "$wxUSE_DIRDLG" = yes; then
8760 echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6
8763 echo "$as_me:$LINENO: result: no" >&5
8764 echo "${ECHO_T}no" >&6
8769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8772 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8773 if test "${enable_msgdlg+set}" = set; then
8774 enableval
="$enable_msgdlg"
8776 if test "$enableval" = yes; then
8777 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8779 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8784 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x
; then
8786 eval "DEFAULT_$LINE"
8791 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8795 eval "$ac_cv_use_msgdlg"
8796 if test "$no_cache" != 1; then
8797 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8800 if test "$wxUSE_MSGDLG" = yes; then
8801 echo "$as_me:$LINENO: result: yes" >&5
8802 echo "${ECHO_T}yes" >&6
8804 echo "$as_me:$LINENO: result: no" >&5
8805 echo "${ECHO_T}no" >&6
8810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8813 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8814 if test "${enable_numberdlg+set}" = set; then
8815 enableval
="$enable_numberdlg"
8817 if test "$enableval" = yes; then
8818 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8820 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8825 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x
; then
8827 eval "DEFAULT_$LINE"
8832 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8836 eval "$ac_cv_use_numberdlg"
8837 if test "$no_cache" != 1; then
8838 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8841 if test "$wxUSE_NUMBERDLG" = yes; then
8842 echo "$as_me:$LINENO: result: yes" >&5
8843 echo "${ECHO_T}yes" >&6
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8854 # Check whether --enable-splash or --disable-splash was given.
8855 if test "${enable_splash+set}" = set; then
8856 enableval
="$enable_splash"
8858 if test "$enableval" = yes; then
8859 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8861 ac_cv_use_splash
='wxUSE_SPLASH=no'
8866 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x
; then
8868 eval "DEFAULT_$LINE"
8873 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8877 eval "$ac_cv_use_splash"
8878 if test "$no_cache" != 1; then
8879 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8882 if test "$wxUSE_SPLASH" = yes; then
8883 echo "$as_me:$LINENO: result: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8895 # Check whether --enable-textdlg or --disable-textdlg was given.
8896 if test "${enable_textdlg+set}" = set; then
8897 enableval
="$enable_textdlg"
8899 if test "$enableval" = yes; then
8900 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8902 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8907 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x
; then
8909 eval "DEFAULT_$LINE"
8914 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8918 eval "$ac_cv_use_textdlg"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8923 if test "$wxUSE_TEXTDLG" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8936 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8937 if test "${enable_tipdlg+set}" = set; then
8938 enableval
="$enable_tipdlg"
8940 if test "$enableval" = yes; then
8941 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8943 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8948 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x
; then
8950 eval "DEFAULT_$LINE"
8955 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8959 eval "$ac_cv_use_tipdlg"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8964 if test "$wxUSE_STARTUP_TIPS" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8977 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8978 if test "${enable_progressdlg+set}" = set; then
8979 enableval
="$enable_progressdlg"
8981 if test "$enableval" = yes; then
8982 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8984 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8989 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x
; then
8991 eval "DEFAULT_$LINE"
8996 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9000 eval "$ac_cv_use_progressdlg"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9005 if test "$wxUSE_PROGRESSDLG" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9018 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9019 if test "${enable_wizarddlg+set}" = set; then
9020 enableval
="$enable_wizarddlg"
9022 if test "$enableval" = yes; then
9023 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9025 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9030 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x
; then
9032 eval "DEFAULT_$LINE"
9037 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9041 eval "$ac_cv_use_wizarddlg"
9042 if test "$no_cache" != 1; then
9043 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9046 if test "$wxUSE_WIZARDDLG" = yes; then
9047 echo "$as_me:$LINENO: result: yes" >&5
9048 echo "${ECHO_T}yes" >&6
9050 echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9061 # Check whether --enable-menus or --disable-menus was given.
9062 if test "${enable_menus+set}" = set; then
9063 enableval
="$enable_menus"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_menus
='wxUSE_MENUS=yes'
9068 ac_cv_use_menus
='wxUSE_MENUS=no'
9073 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x
; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9084 eval "$ac_cv_use_menus"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_MENUS" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9102 # Check whether --enable-miniframe or --disable-miniframe was given.
9103 if test "${enable_miniframe+set}" = set; then
9104 enableval
="$enable_miniframe"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9109 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9114 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x
; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9125 eval "$ac_cv_use_miniframe"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_MINIFRAME" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9143 # Check whether --enable-tooltips or --disable-tooltips was given.
9144 if test "${enable_tooltips+set}" = set; then
9145 enableval
="$enable_tooltips"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9150 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9155 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x
; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9166 eval "$ac_cv_use_tooltips"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_TOOLTIPS" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9184 # Check whether --enable-splines or --disable-splines was given.
9185 if test "${enable_splines+set}" = set; then
9186 enableval
="$enable_splines"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9191 ac_cv_use_splines
='wxUSE_SPLINES=no'
9196 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x
; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9207 eval "$ac_cv_use_splines"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_SPLINES" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9225 # Check whether --enable-validators or --disable-validators was given.
9226 if test "${enable_validators+set}" = set; then
9227 enableval
="$enable_validators"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9232 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9237 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x
; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9248 eval "$ac_cv_use_validators"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_VALIDATORS" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9266 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9267 if test "${enable_busyinfo+set}" = set; then
9268 enableval
="$enable_busyinfo"
9270 if test "$enableval" = yes; then
9271 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9273 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9278 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x
; then
9280 eval "DEFAULT_$LINE"
9285 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9289 eval "$ac_cv_use_busyinfo"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9294 if test "$wxUSE_BUSYINFO" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9307 # Check whether --enable-joystick or --disable-joystick was given.
9308 if test "${enable_joystick+set}" = set; then
9309 enableval
="$enable_joystick"
9311 if test "$enableval" = yes; then
9312 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9314 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9319 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x
; then
9321 eval "DEFAULT_$LINE"
9326 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9330 eval "$ac_cv_use_joystick"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_JOYSTICK" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9348 # Check whether --enable-metafile or --disable-metafile was given.
9349 if test "${enable_metafile+set}" = set; then
9350 enableval
="$enable_metafile"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9355 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9360 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x
; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9371 eval "$ac_cv_use_metafile"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_METAFILE" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9389 # Check whether --enable-dragimage or --disable-dragimage was given.
9390 if test "${enable_dragimage+set}" = set; then
9391 enableval
="$enable_dragimage"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9396 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9401 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x
; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9412 eval "$ac_cv_use_dragimage"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_DRAGIMAGE" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9430 # Check whether --enable-accessibility or --disable-accessibility was given.
9431 if test "${enable_accessibility+set}" = set; then
9432 enableval
="$enable_accessibility"
9434 if test "$enableval" = yes; then
9435 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9437 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9442 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x
; then
9444 eval "DEFAULT_$LINE"
9449 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9453 eval "$ac_cv_use_accessibility"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_ACCESSIBILITY" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9473 # Check whether --enable-palette or --disable-palette was given.
9474 if test "${enable_palette+set}" = set; then
9475 enableval
="$enable_palette"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9480 ac_cv_use_palette
='wxUSE_PALETTE=no'
9485 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9496 eval "$ac_cv_use_palette"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_PALETTE" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9514 # Check whether --enable-image or --disable-image was given.
9515 if test "${enable_image+set}" = set; then
9516 enableval
="$enable_image"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_image
='wxUSE_IMAGE=yes'
9521 ac_cv_use_image
='wxUSE_IMAGE=no'
9526 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9537 eval "$ac_cv_use_image"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_IMAGE" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9555 # Check whether --enable-gif or --disable-gif was given.
9556 if test "${enable_gif+set}" = set; then
9557 enableval
="$enable_gif"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_gif
='wxUSE_GIF=yes'
9562 ac_cv_use_gif
='wxUSE_GIF=no'
9567 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9578 eval "$ac_cv_use_gif"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_GIF" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9596 # Check whether --enable-pcx or --disable-pcx was given.
9597 if test "${enable_pcx+set}" = set; then
9598 enableval
="$enable_pcx"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_pcx
='wxUSE_PCX=yes'
9603 ac_cv_use_pcx
='wxUSE_PCX=no'
9608 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9619 eval "$ac_cv_use_pcx"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_PCX" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9637 # Check whether --enable-iff or --disable-iff was given.
9638 if test "${enable_iff+set}" = set; then
9639 enableval
="$enable_iff"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_iff
='wxUSE_IFF=yes'
9644 ac_cv_use_iff
='wxUSE_IFF=no'
9649 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9660 eval "$ac_cv_use_iff"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_IFF" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9678 # Check whether --enable-pnm or --disable-pnm was given.
9679 if test "${enable_pnm+set}" = set; then
9680 enableval
="$enable_pnm"
9682 if test "$enableval" = yes; then
9683 ac_cv_use_pnm
='wxUSE_PNM=yes'
9685 ac_cv_use_pnm
='wxUSE_PNM=no'
9690 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x
; then
9692 eval "DEFAULT_$LINE"
9697 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9701 eval "$ac_cv_use_pnm"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9706 if test "$wxUSE_PNM" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9719 # Check whether --enable-xpm or --disable-xpm was given.
9720 if test "${enable_xpm+set}" = set; then
9721 enableval
="$enable_xpm"
9723 if test "$enableval" = yes; then
9724 ac_cv_use_xpm
='wxUSE_XPM=yes'
9726 ac_cv_use_xpm
='wxUSE_XPM=no'
9731 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x
; then
9733 eval "DEFAULT_$LINE"
9738 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9742 eval "$ac_cv_use_xpm"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9747 if test "$wxUSE_XPM" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9760 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9761 if test "${enable_ico_cur+set}" = set; then
9762 enableval
="$enable_ico_cur"
9764 if test "$enableval" = yes; then
9765 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9767 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9772 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x
; then
9774 eval "DEFAULT_$LINE"
9779 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9783 eval "$ac_cv_use_ico_cur"
9784 if test "$no_cache" != 1; then
9785 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9788 if test "$wxUSE_ICO_CUR" = yes; then
9789 echo "$as_me:$LINENO: result: yes" >&5
9790 echo "${ECHO_T}yes" >&6
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9805 # Check whether --enable-official_build or --disable-official_build was given.
9806 if test "${enable_official_build+set}" = set; then
9807 enableval
="$enable_official_build"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9812 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9817 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x
; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9828 eval "$ac_cv_use_official_build"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9841 # Check whether --enable-vendor or --disable-vendor was given.
9842 if test "${enable_vendor+set}" = set; then
9843 enableval
="$enable_vendor"
9846 if test "x$VENDOR" = "x"; then
9851 *-pc-os2_emx | *-pc-os2-emx )
9861 echo "saving argument cache $wx_arg_cache_file"
9862 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9866 echo "$as_me:$LINENO: checking for toolkit" >&5
9867 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9869 # In Wine, we need to default to MSW, not GTK or MOTIF
9870 if test "$wxUSE_WINE" = "yes"; then
9871 DEFAULT_DEFAULT_wxUSE_GTK
=0
9872 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9873 DEFAULT_DEFAULT_wxUSE_MSW
=1
9877 if test "$wxUSE_GUI" = "yes"; then
9879 if test "$USE_BEOS" = 1; then
9880 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9881 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9882 { (exit 1); exit 1; }; }
9885 if test "$TOOLKIT_GIVEN" = 1; then
9886 for toolkit
in `echo $ALL_TOOLKITS`; do
9888 eval "value=\$${var}"
9889 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9892 for toolkit
in `echo $ALL_TOOLKITS`; do
9893 if test "$has_toolkit_in_cache" != 1; then
9894 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9896 var
=DEFAULT_wxUSE_
$toolkit
9898 eval "wxUSE_$toolkit=\$${var}"
9902 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9903 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9904 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9907 *-pc-os2_emx | *-pc-os2-emx )
9908 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9911 case "$NUM_TOOLKITS" in
9915 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9916 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9917 { (exit 1); exit 1; }; }
9920 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9921 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9922 { (exit 1); exit 1; }; }
9925 for toolkit
in `echo $ALL_TOOLKITS`; do
9927 eval "value=\$${var}"
9928 if test "x$value" != x
; then
9929 cache_var
=CACHE_
$toolkit
9930 eval "cache=\$${cache_var}"
9931 if test "$cache" = 1; then
9932 echo "$var=$value" >> ${wx_arg_cache_file}
9934 if test "$value" = 1; then
9935 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9936 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9937 echo "${ECHO_T}$toolkit_echo" >&6
9942 if test "x$host_alias" != "x"; then
9943 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9944 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9946 echo "$as_me:$LINENO: result: base only" >&5
9947 echo "${ECHO_T}base only" >&6
9955 if test "$wxUSE_MSW" = 1 ; then
9966 if test "$wxUSE_WINE" = "yes"; then
9971 LDFLAGS_GUI
="-mwindows"
9974 if test "$wants_win32" = 1 ; then
9977 cat >>confdefs.h
<<\_ACEOF
9981 cat >>confdefs.h
<<\_ACEOF
9985 cat >>confdefs.h
<<\_ACEOF
9986 #define __WINDOWS__ 1
9989 cat >>confdefs.h
<<\_ACEOF
9990 #define __GNUWIN32__ 1
9993 cat >>confdefs.h
<<\_ACEOF
9997 cat >>confdefs.h
<<\_ACEOF
9998 #define WINVER 0x0400
10002 if test "$doesnt_want_win32" = 1 ; then
10007 if test "$USE_UNIX" = 1 ; then
10009 cat >>confdefs.h
<<\_ACEOF
10016 cat >confcache
<<\_ACEOF
10017 # This file is a shell script that caches the results of configure
10018 # tests run on this system so they can be shared between configure
10019 # scripts and configure runs, see configure's option --config-cache.
10020 # It is not useful on other systems. If it contains results you don't
10021 # want to keep, you may remove or edit it.
10023 # config.status only pays attention to the cache file if you give it
10024 # the --recheck option to rerun configure.
10026 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10027 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10028 # following values.
10032 # The following way of writing the cache mishandles newlines in values,
10033 # but we know of no workaround that is simple, portable, and efficient.
10034 # So, don't put newlines in cache variables' values.
10035 # Ultrix sh set writes to stderr and can't be redirected directly,
10036 # and sets the high bit in the cache file unless we assign to the vars.
10039 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10041 # `set' does not quote correctly, so add quotes (double-quote
10042 # substitution turns \\\\ into \\, and sed turns \\ into \).
10045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10048 # `set' quotes correctly as required by POSIX, so do not add quotes.
10050 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10057 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10059 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10061 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10062 if test -w $cache_file; then
10063 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10064 cat confcache
>$cache_file
10066 echo "not updating unwritable cache $cache_file"
10071 if test "$build" != "$host" ; then
10072 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10074 CXX
=$host_alias-c++
10076 RANLIB
=$host_alias-ranlib
10077 DLLTOOL
=$host_alias-dlltool
10078 RESCOMP
=$host_alias-windres
10081 STRIP
=$host_alias-strip
10083 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10084 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10085 { (exit 1); exit 1; }; }
10091 ac_cpp
='$CPP $CPPFLAGS'
10092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10095 if test -n "$ac_tool_prefix"; then
10096 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10097 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10098 echo "$as_me:$LINENO: checking for $ac_word" >&5
10099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10100 if test "${ac_cv_prog_CC+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 if test -n "$CC"; then
10104 ac_cv_prog_CC
="$CC" # Let the user override the test.
10106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10107 for as_dir
in $PATH
10110 test -z "$as_dir" && as_dir
=.
10111 for ac_exec_ext
in '' $ac_executable_extensions; do
10112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10113 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10123 if test -n "$CC"; then
10124 echo "$as_me:$LINENO: result: $CC" >&5
10125 echo "${ECHO_T}$CC" >&6
10127 echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6
10132 if test -z "$ac_cv_prog_CC"; then
10134 # Extract the first word of "gcc", so it can be a program name with args.
10135 set dummy gcc
; ac_word
=$2
10136 echo "$as_me:$LINENO: checking for $ac_word" >&5
10137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10139 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 if test -n "$ac_ct_CC"; then
10142 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10145 for as_dir
in $PATH
10148 test -z "$as_dir" && as_dir
=.
10149 for ac_exec_ext
in '' $ac_executable_extensions; do
10150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10151 ac_cv_prog_ac_ct_CC
="gcc"
10152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10160 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10161 if test -n "$ac_ct_CC"; then
10162 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10163 echo "${ECHO_T}$ac_ct_CC" >&6
10165 echo "$as_me:$LINENO: result: no" >&5
10166 echo "${ECHO_T}no" >&6
10171 CC
="$ac_cv_prog_CC"
10174 if test -z "$CC"; then
10175 if test -n "$ac_tool_prefix"; then
10176 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10177 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10178 echo "$as_me:$LINENO: checking for $ac_word" >&5
10179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10180 if test "${ac_cv_prog_CC+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 if test -n "$CC"; then
10184 ac_cv_prog_CC
="$CC" # Let the user override the test.
10186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10187 for as_dir
in $PATH
10190 test -z "$as_dir" && as_dir
=.
10191 for ac_exec_ext
in '' $ac_executable_extensions; do
10192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10193 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10203 if test -n "$CC"; then
10204 echo "$as_me:$LINENO: result: $CC" >&5
10205 echo "${ECHO_T}$CC" >&6
10207 echo "$as_me:$LINENO: result: no" >&5
10208 echo "${ECHO_T}no" >&6
10212 if test -z "$ac_cv_prog_CC"; then
10214 # Extract the first word of "cc", so it can be a program name with args.
10215 set dummy cc
; ac_word
=$2
10216 echo "$as_me:$LINENO: checking for $ac_word" >&5
10217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 if test -n "$ac_ct_CC"; then
10222 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10225 for as_dir
in $PATH
10228 test -z "$as_dir" && as_dir
=.
10229 for ac_exec_ext
in '' $ac_executable_extensions; do
10230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10231 ac_cv_prog_ac_ct_CC
="cc"
10232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10240 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10241 if test -n "$ac_ct_CC"; then
10242 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10243 echo "${ECHO_T}$ac_ct_CC" >&6
10245 echo "$as_me:$LINENO: result: no" >&5
10246 echo "${ECHO_T}no" >&6
10251 CC
="$ac_cv_prog_CC"
10255 if test -z "$CC"; then
10256 # Extract the first word of "cc", so it can be a program name with args.
10257 set dummy cc
; ac_word
=$2
10258 echo "$as_me:$LINENO: checking for $ac_word" >&5
10259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10260 if test "${ac_cv_prog_CC+set}" = set; then
10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 if test -n "$CC"; then
10264 ac_cv_prog_CC
="$CC" # Let the user override the test.
10266 ac_prog_rejected
=no
10267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10268 for as_dir
in $PATH
10271 test -z "$as_dir" && as_dir
=.
10272 for ac_exec_ext
in '' $ac_executable_extensions; do
10273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10274 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10275 ac_prog_rejected
=yes
10279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10285 if test $ac_prog_rejected = yes; then
10286 # We found a bogon in the path, so make sure we never use it.
10287 set dummy
$ac_cv_prog_CC
10289 if test $# != 0; then
10290 # We chose a different compiler from the bogus one.
10291 # However, it has the same basename, so the bogon will be chosen
10292 # first if we set CC to just the basename; use the full file name.
10294 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10300 if test -n "$CC"; then
10301 echo "$as_me:$LINENO: result: $CC" >&5
10302 echo "${ECHO_T}$CC" >&6
10304 echo "$as_me:$LINENO: result: no" >&5
10305 echo "${ECHO_T}no" >&6
10309 if test -z "$CC"; then
10310 if test -n "$ac_tool_prefix"; then
10313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10314 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10315 echo "$as_me:$LINENO: checking for $ac_word" >&5
10316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10317 if test "${ac_cv_prog_CC+set}" = set; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 if test -n "$CC"; then
10321 ac_cv_prog_CC
="$CC" # Let the user override the test.
10323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10324 for as_dir
in $PATH
10327 test -z "$as_dir" && as_dir
=.
10328 for ac_exec_ext
in '' $ac_executable_extensions; do
10329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10330 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10340 if test -n "$CC"; then
10341 echo "$as_me:$LINENO: result: $CC" >&5
10342 echo "${ECHO_T}$CC" >&6
10344 echo "$as_me:$LINENO: result: no" >&5
10345 echo "${ECHO_T}no" >&6
10348 test -n "$CC" && break
10351 if test -z "$CC"; then
10355 # Extract the first word of "$ac_prog", so it can be a program name with args.
10356 set dummy
$ac_prog; ac_word
=$2
10357 echo "$as_me:$LINENO: checking for $ac_word" >&5
10358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10359 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 if test -n "$ac_ct_CC"; then
10363 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10366 for as_dir
in $PATH
10369 test -z "$as_dir" && as_dir
=.
10370 for ac_exec_ext
in '' $ac_executable_extensions; do
10371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10372 ac_cv_prog_ac_ct_CC
="$ac_prog"
10373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10381 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10382 if test -n "$ac_ct_CC"; then
10383 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10384 echo "${ECHO_T}$ac_ct_CC" >&6
10386 echo "$as_me:$LINENO: result: no" >&5
10387 echo "${ECHO_T}no" >&6
10390 test -n "$ac_ct_CC" && break
10399 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10400 See \`config.log' for more details." >&5
10401 echo "$as_me: error: no acceptable C compiler found in \$PATH
10402 See \`config.log' for more details." >&2;}
10403 { (exit 1); exit 1; }; }
10405 # Provide some information about the compiler.
10406 echo "$as_me:$LINENO:" \
10407 "checking for C compiler version" >&5
10408 ac_compiler
=`set X $ac_compile; echo $2`
10409 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10410 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }
10414 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10415 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); }
10419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10420 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); }
10425 cat >conftest.
$ac_ext <<_ACEOF
10428 cat confdefs.h
>>conftest.
$ac_ext
10429 cat >>conftest.
$ac_ext <<_ACEOF
10430 /* end confdefs.h. */
10440 ac_clean_files_save
=$ac_clean_files
10441 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10442 # Try to create an executable without -o first, disregard a.out.
10443 # It will help us diagnose broken compilers, and finding out an intuition
10445 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10446 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10447 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10448 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10449 (eval $ac_link_default) 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; then
10453 # Find the output, starting from the most likely. This scheme is
10454 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10457 # Be careful to initialize this variable, since it used to be cached.
10458 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10460 # b.out is created by i960 compilers.
10461 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10463 test -f "$ac_file" || continue
10465 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10468 # This is the source file.
10471 # We found the default executable, but exeext='' is most
10475 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10476 # FIXME: I believe we export ac_cv_exeext for Libtool,
10477 # but it would be cool to find out if it's true. Does anybody
10478 # maintain Libtool? --akim.
10479 export ac_cv_exeext
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.
$ac_ext >&5
10489 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10490 See \`config.log' for more details." >&5
10491 echo "$as_me: error: C compiler cannot create executables
10492 See \`config.log' for more details." >&2;}
10493 { (exit 77); exit 77; }; }
10496 ac_exeext
=$ac_cv_exeext
10497 echo "$as_me:$LINENO: result: $ac_file" >&5
10498 echo "${ECHO_T}$ac_file" >&6
10500 # Check the compiler produces executables we can run. If not, either
10501 # the compiler is broken, or we cross compile.
10502 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10503 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10504 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10505 # If not cross compiling, check that we can run a simple program.
10506 if test "$cross_compiling" != yes; then
10507 if { ac_try
='./$ac_file'
10508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10509 (eval $ac_try) 2>&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); }; }; then
10515 if test "$cross_compiling" = maybe
; then
10516 cross_compiling
=yes
10518 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10519 If you meant to cross compile, use \`--host'.
10520 See \`config.log' for more details." >&5
10521 echo "$as_me: error: cannot run C compiled programs.
10522 If you meant to cross compile, use \`--host'.
10523 See \`config.log' for more details." >&2;}
10524 { (exit 1); exit 1; }; }
10528 echo "$as_me:$LINENO: result: yes" >&5
10529 echo "${ECHO_T}yes" >&6
10531 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10532 ac_clean_files
=$ac_clean_files_save
10533 # Check the compiler produces executables we can run. If not, either
10534 # the compiler is broken, or we cross compile.
10535 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10536 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10537 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10538 echo "${ECHO_T}$cross_compiling" >&6
10540 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10541 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10543 (eval $ac_link) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; then
10547 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10548 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10549 # work properly (i.e., refer to `conftest.exe'), while it won't with
10551 for ac_file
in conftest.exe conftest conftest.
*; do
10552 test -f "$ac_file" || continue
10554 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10555 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10556 export ac_cv_exeext
10562 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10563 See \`config.log' for more details." >&5
10564 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10565 See \`config.log' for more details." >&2;}
10566 { (exit 1); exit 1; }; }
10569 rm -f conftest
$ac_cv_exeext
10570 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10571 echo "${ECHO_T}$ac_cv_exeext" >&6
10573 rm -f conftest.
$ac_ext
10574 EXEEXT
=$ac_cv_exeext
10576 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10577 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10578 if test "${ac_cv_objext+set}" = set; then
10579 echo $ECHO_N "(cached) $ECHO_C" >&6
10581 cat >conftest.
$ac_ext <<_ACEOF
10584 cat confdefs.h
>>conftest.
$ac_ext
10585 cat >>conftest.
$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10596 rm -f conftest.o conftest.obj
10597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10598 (eval $ac_compile) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }; then
10602 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10604 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10605 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10610 echo "$as_me: failed program was:" >&5
10611 sed 's/^/| /' conftest.
$ac_ext >&5
10613 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10614 See \`config.log' for more details." >&5
10615 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10616 See \`config.log' for more details." >&2;}
10617 { (exit 1); exit 1; }; }
10620 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10622 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10623 echo "${ECHO_T}$ac_cv_objext" >&6
10624 OBJEXT
=$ac_cv_objext
10626 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10627 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10628 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 cat >conftest.
$ac_ext <<_ACEOF
10634 cat confdefs.h
>>conftest.
$ac_ext
10635 cat >>conftest.
$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10649 rm -f conftest.
$ac_objext
10650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10651 (eval $ac_compile) 2>conftest.er1
10653 grep -v '^ *+' conftest.er1
>conftest.err
10655 cat conftest.err
>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); } &&
10658 { ac_try
='test -z "$ac_c_werror_flag"
10659 || test ! -s conftest.err'
10660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661 (eval $ac_try) 2>&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); }; } &&
10665 { ac_try
='test -s conftest.$ac_objext'
10666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667 (eval $ac_try) 2>&5
10669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); }; }; then
10671 ac_compiler_gnu
=yes
10673 echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.
$ac_ext >&5
10678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10679 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10682 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10684 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10685 ac_test_CFLAGS
=${CFLAGS+set}
10686 ac_save_CFLAGS
=$CFLAGS
10688 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10690 if test "${ac_cv_prog_cc_g+set}" = set; then
10691 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 cat >conftest.
$ac_ext <<_ACEOF
10696 cat confdefs.h
>>conftest.
$ac_ext
10697 cat >>conftest.
$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10708 rm -f conftest.
$ac_objext
10709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10710 (eval $ac_compile) 2>conftest.er1
10712 grep -v '^ *+' conftest.er1
>conftest.err
10714 cat conftest.err
>&5
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); } &&
10717 { ac_try
='test -z "$ac_c_werror_flag"
10718 || test ! -s conftest.err'
10719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10720 (eval $ac_try) 2>&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); }; } &&
10724 { ac_try
='test -s conftest.$ac_objext'
10725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10726 (eval $ac_try) 2>&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); }; }; then
10730 ac_cv_prog_cc_g
=yes
10732 echo "$as_me: failed program was:" >&5
10733 sed 's/^/| /' conftest.
$ac_ext >&5
10737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10739 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10740 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10741 if test "$ac_test_CFLAGS" = set; then
10742 CFLAGS
=$ac_save_CFLAGS
10743 elif test $ac_cv_prog_cc_g = yes; then
10744 if test "$GCC" = yes; then
10750 if test "$GCC" = yes; then
10756 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10757 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10758 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10759 echo $ECHO_N "(cached) $ECHO_C" >&6
10761 ac_cv_prog_cc_stdc
=no
10763 cat >conftest.
$ac_ext <<_ACEOF
10766 cat confdefs.h
>>conftest.
$ac_ext
10767 cat >>conftest.
$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10769 #include <stdarg.h>
10771 #include <sys/types.h>
10772 #include <sys/stat.h>
10773 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10774 struct buf { int x; };
10775 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10776 static char *e (p, i)
10782 static char *f (char * (*g) (char **, int), char **p, ...)
10787 s = g (p, va_arg (v,int));
10792 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10793 function prototypes and stuff, but not '\xHH' hex character constants.
10794 These don't provoke an error unfortunately, instead are silently treated
10795 as 'x'. The following induces an error, until -std1 is added to get
10796 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10797 array size at least. It's necessary to write '\x00'==0 to get something
10798 that's true only with -std1. */
10799 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10801 int test (int i, double x);
10802 struct s1 {int (*f) (int a);};
10803 struct s2 {int (*f) (double a);};
10804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10815 # Don't try gcc -ansi; that turns off useful extensions and
10816 # breaks some systems' header files.
10817 # AIX -qlanglvl=ansi
10818 # Ultrix and OSF/1 -std1
10819 # HP-UX 10.20 and later -Ae
10820 # HP-UX older versions -Aa -D_HPUX_SOURCE
10821 # SVR4 -Xc -D__EXTENSIONS__
10822 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10824 CC
="$ac_save_CC $ac_arg"
10825 rm -f conftest.
$ac_objext
10826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10827 (eval $ac_compile) 2>conftest.er1
10829 grep -v '^ *+' conftest.er1
>conftest.err
10831 cat conftest.err
>&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } &&
10834 { ac_try
='test -z "$ac_c_werror_flag"
10835 || test ! -s conftest.err'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; } &&
10841 { ac_try
='test -s conftest.$ac_objext'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; }; then
10847 ac_cv_prog_cc_stdc
=$ac_arg
10850 echo "$as_me: failed program was:" >&5
10851 sed 's/^/| /' conftest.
$ac_ext >&5
10854 rm -f conftest.err conftest.
$ac_objext
10856 rm -f conftest.
$ac_ext conftest.
$ac_objext
10861 case "x$ac_cv_prog_cc_stdc" in
10863 echo "$as_me:$LINENO: result: none needed" >&5
10864 echo "${ECHO_T}none needed" >&6 ;;
10866 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10867 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10868 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10871 # Some people use a C++ compiler to compile C. Since we use `exit',
10872 # in C++ we need to declare it. In case someone uses the same compiler
10873 # for both compiling C and C++ we need to have the C++ compiler decide
10874 # the declaration of exit, since it's the most demanding environment.
10875 cat >conftest.
$ac_ext <<_ACEOF
10876 #ifndef __cplusplus
10880 rm -f conftest.
$ac_objext
10881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10882 (eval $ac_compile) 2>conftest.er1
10884 grep -v '^ *+' conftest.er1
>conftest.err
10886 cat conftest.err
>&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } &&
10889 { ac_try
='test -z "$ac_c_werror_flag"
10890 || test ! -s conftest.err'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; } &&
10896 { ac_try
='test -s conftest.$ac_objext'
10897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10898 (eval $ac_try) 2>&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); }; }; then
10902 for ac_declaration
in \
10904 'extern "C" void std::exit (int) throw (); using std::exit;' \
10905 'extern "C" void std::exit (int); using std::exit;' \
10906 'extern "C" void exit (int) throw ();' \
10907 'extern "C" void exit (int);' \
10910 cat >conftest.
$ac_ext <<_ACEOF
10913 cat confdefs.h
>>conftest.
$ac_ext
10914 cat >>conftest.
$ac_ext <<_ACEOF
10915 /* end confdefs.h. */
10917 #include <stdlib.h>
10926 rm -f conftest.
$ac_objext
10927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10928 (eval $ac_compile) 2>conftest.er1
10930 grep -v '^ *+' conftest.er1
>conftest.err
10932 cat conftest.err
>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } &&
10935 { ac_try
='test -z "$ac_c_werror_flag"
10936 || test ! -s conftest.err'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; } &&
10942 { ac_try
='test -s conftest.$ac_objext'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; }; then
10950 echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.
$ac_ext >&5
10955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10956 cat >conftest.
$ac_ext <<_ACEOF
10959 cat confdefs.h
>>conftest.
$ac_ext
10960 cat >>conftest.
$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10971 rm -f conftest.
$ac_objext
10972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10973 (eval $ac_compile) 2>conftest.er1
10975 grep -v '^ *+' conftest.er1
>conftest.err
10977 cat conftest.err
>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); } &&
10980 { ac_try
='test -z "$ac_c_werror_flag"
10981 || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try
='test -s conftest.$ac_objext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.
$ac_ext >&5
10999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11002 if test -n "$ac_declaration"; then
11003 echo '#ifdef __cplusplus' >>confdefs.h
11004 echo $ac_declaration >>confdefs.h
11005 echo '#endif' >>confdefs.h
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.
$ac_ext >&5
11013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11015 ac_cpp
='$CPP $CPPFLAGS'
11016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11023 ac_cpp
='$CPP $CPPFLAGS'
11024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11027 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11028 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11029 # On Suns, sometimes $CPP names a directory.
11030 if test -n "$CPP" && test -d "$CPP"; then
11033 if test -z "$CPP"; then
11034 if test "${ac_cv_prog_CPP+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 # Double quotes because CPP needs to be expanded
11038 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11040 ac_preproc_ok
=false
11041 for ac_c_preproc_warn_flag
in '' yes
11043 # Use a header file that comes with gcc, so configuring glibc
11044 # with a fresh cross-compiler works.
11045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11046 # <limits.h> exists even on freestanding compilers.
11047 # On the NeXT, cc -E runs the code through the compiler's parser,
11048 # not just through cpp. "Syntax error" is here to catch this case.
11049 cat >conftest.
$ac_ext <<_ACEOF
11052 cat confdefs.h
>>conftest.
$ac_ext
11053 cat >>conftest.
$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11056 # include <limits.h>
11058 # include <assert.h>
11062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11065 grep -v '^ *+' conftest.er1
>conftest.err
11067 cat conftest.err
>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); } >/dev
/null
; then
11070 if test -s conftest.err
; then
11071 ac_cpp_err
=$ac_c_preproc_warn_flag
11072 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11079 if test -z "$ac_cpp_err"; then
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.
$ac_ext >&5
11085 # Broken: fails on valid input.
11088 rm -f conftest.err conftest.
$ac_ext
11090 # OK, works on sane cases. Now check whether non-existent headers
11091 # can be detected and how.
11092 cat >conftest.
$ac_ext <<_ACEOF
11095 cat confdefs.h
>>conftest.
$ac_ext
11096 cat >>conftest.
$ac_ext <<_ACEOF
11097 /* end confdefs.h. */
11098 #include <ac_nonexistent.h>
11100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11103 grep -v '^ *+' conftest.er1
>conftest.err
11105 cat conftest.err
>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } >/dev
/null
; then
11108 if test -s conftest.err
; then
11109 ac_cpp_err
=$ac_c_preproc_warn_flag
11110 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11117 if test -z "$ac_cpp_err"; then
11118 # Broken: success on invalid input.
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.
$ac_ext >&5
11124 # Passes both tests.
11128 rm -f conftest.err conftest.
$ac_ext
11131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11132 rm -f conftest.err conftest.
$ac_ext
11133 if $ac_preproc_ok; then
11138 ac_cv_prog_CPP
=$CPP
11141 CPP
=$ac_cv_prog_CPP
11143 ac_cv_prog_CPP
=$CPP
11145 echo "$as_me:$LINENO: result: $CPP" >&5
11146 echo "${ECHO_T}$CPP" >&6
11147 ac_preproc_ok
=false
11148 for ac_c_preproc_warn_flag
in '' yes
11150 # Use a header file that comes with gcc, so configuring glibc
11151 # with a fresh cross-compiler works.
11152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11153 # <limits.h> exists even on freestanding compilers.
11154 # On the NeXT, cc -E runs the code through the compiler's parser,
11155 # not just through cpp. "Syntax error" is here to catch this case.
11156 cat >conftest.
$ac_ext <<_ACEOF
11159 cat confdefs.h
>>conftest.
$ac_ext
11160 cat >>conftest.
$ac_ext <<_ACEOF
11161 /* end confdefs.h. */
11163 # include <limits.h>
11165 # include <assert.h>
11169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11172 grep -v '^ *+' conftest.er1
>conftest.err
11174 cat conftest.err
>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); } >/dev
/null
; then
11177 if test -s conftest.err
; then
11178 ac_cpp_err
=$ac_c_preproc_warn_flag
11179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11186 if test -z "$ac_cpp_err"; then
11189 echo "$as_me: failed program was:" >&5
11190 sed 's/^/| /' conftest.
$ac_ext >&5
11192 # Broken: fails on valid input.
11195 rm -f conftest.err conftest.
$ac_ext
11197 # OK, works on sane cases. Now check whether non-existent headers
11198 # can be detected and how.
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11205 #include <ac_nonexistent.h>
11207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11208 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11210 grep -v '^ *+' conftest.er1
>conftest.err
11212 cat conftest.err
>&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); } >/dev
/null
; then
11215 if test -s conftest.err
; then
11216 ac_cpp_err
=$ac_c_preproc_warn_flag
11217 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11224 if test -z "$ac_cpp_err"; then
11225 # Broken: success on invalid input.
11228 echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.
$ac_ext >&5
11231 # Passes both tests.
11235 rm -f conftest.err conftest.
$ac_ext
11238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11239 rm -f conftest.err conftest.
$ac_ext
11240 if $ac_preproc_ok; then
11243 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11244 See \`config.log' for more details." >&5
11245 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11246 See \`config.log' for more details." >&2;}
11247 { (exit 1); exit 1; }; }
11251 ac_cpp
='$CPP $CPPFLAGS'
11252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11257 echo "$as_me:$LINENO: checking for egrep" >&5
11258 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11259 if test "${ac_cv_prog_egrep+set}" = set; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11263 then ac_cv_prog_egrep
='grep -E'
11264 else ac_cv_prog_egrep
='egrep'
11267 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11268 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11269 EGREP
=$ac_cv_prog_egrep
11272 if test $ac_cv_c_compiler_gnu = yes; then
11273 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11274 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11275 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 ac_pattern
="Autoconf.*'x'"
11279 cat >conftest.
$ac_ext <<_ACEOF
11282 cat confdefs.h
>>conftest.
$ac_ext
11283 cat >>conftest.
$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11289 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11290 ac_cv_prog_gcc_traditional
=yes
11292 ac_cv_prog_gcc_traditional
=no
11297 if test $ac_cv_prog_gcc_traditional = no
; then
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11304 #include <termio.h>
11307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11308 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11309 ac_cv_prog_gcc_traditional
=yes
11315 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11316 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11317 if test $ac_cv_prog_gcc_traditional = yes; then
11318 CC
="$CC -traditional"
11326 ac_cpp
='$CXXCPP $CPPFLAGS'
11327 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11328 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11329 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11332 CXXFLAGS
=${CXXFLAGS:=}
11334 ac_cpp
='$CXXCPP $CPPFLAGS'
11335 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11336 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11337 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11338 if test -n "$ac_tool_prefix"; then
11339 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11342 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11343 echo "$as_me:$LINENO: checking for $ac_word" >&5
11344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11345 if test "${ac_cv_prog_CXX+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 if test -n "$CXX"; then
11349 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11352 for as_dir
in $PATH
11355 test -z "$as_dir" && as_dir
=.
11356 for ac_exec_ext
in '' $ac_executable_extensions; do
11357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11358 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11367 CXX
=$ac_cv_prog_CXX
11368 if test -n "$CXX"; then
11369 echo "$as_me:$LINENO: result: $CXX" >&5
11370 echo "${ECHO_T}$CXX" >&6
11372 echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6
11376 test -n "$CXX" && break
11379 if test -z "$CXX"; then
11381 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11383 # Extract the first word of "$ac_prog", so it can be a program name with args.
11384 set dummy
$ac_prog; ac_word
=$2
11385 echo "$as_me:$LINENO: checking for $ac_word" >&5
11386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11387 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 if test -n "$ac_ct_CXX"; then
11391 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11394 for as_dir
in $PATH
11397 test -z "$as_dir" && as_dir
=.
11398 for ac_exec_ext
in '' $ac_executable_extensions; do
11399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11400 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11409 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11410 if test -n "$ac_ct_CXX"; then
11411 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11412 echo "${ECHO_T}$ac_ct_CXX" >&6
11414 echo "$as_me:$LINENO: result: no" >&5
11415 echo "${ECHO_T}no" >&6
11418 test -n "$ac_ct_CXX" && break
11420 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11426 # Provide some information about the compiler.
11427 echo "$as_me:$LINENO:" \
11428 "checking for C++ compiler version" >&5
11429 ac_compiler
=`set X $ac_compile; echo $2`
11430 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11431 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11434 (exit $ac_status); }
11435 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11436 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); }
11440 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11441 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }
11446 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11447 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11448 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 cat >conftest.
$ac_ext <<_ACEOF
11454 cat confdefs.h
>>conftest.
$ac_ext
11455 cat >>conftest.
$ac_ext <<_ACEOF
11456 /* end confdefs.h. */
11469 rm -f conftest.
$ac_objext
11470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11471 (eval $ac_compile) 2>conftest.er1
11473 grep -v '^ *+' conftest.er1
>conftest.err
11475 cat conftest.err
>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } &&
11478 { ac_try
='test -z "$ac_cxx_werror_flag"
11479 || test ! -s conftest.err'
11480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11481 (eval $ac_try) 2>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); }; } &&
11485 { ac_try
='test -s conftest.$ac_objext'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; }; then
11491 ac_compiler_gnu
=yes
11493 echo "$as_me: failed program was:" >&5
11494 sed 's/^/| /' conftest.
$ac_ext >&5
11498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11499 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11502 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11503 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11504 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11505 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11506 ac_save_CXXFLAGS
=$CXXFLAGS
11508 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11509 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11510 if test "${ac_cv_prog_cxx_g+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 cat >conftest.
$ac_ext <<_ACEOF
11516 cat confdefs.h
>>conftest.
$ac_ext
11517 cat >>conftest.
$ac_ext <<_ACEOF
11518 /* end confdefs.h. */
11528 rm -f conftest.
$ac_objext
11529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11530 (eval $ac_compile) 2>conftest.er1
11532 grep -v '^ *+' conftest.er1
>conftest.err
11534 cat conftest.err
>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); } &&
11537 { ac_try
='test -z "$ac_cxx_werror_flag"
11538 || test ! -s conftest.err'
11539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11540 (eval $ac_try) 2>&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); }; } &&
11544 { ac_try
='test -s conftest.$ac_objext'
11545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546 (eval $ac_try) 2>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); }; }; then
11550 ac_cv_prog_cxx_g
=yes
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.
$ac_ext >&5
11555 ac_cv_prog_cxx_g
=no
11557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11559 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11560 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11561 if test "$ac_test_CXXFLAGS" = set; then
11562 CXXFLAGS
=$ac_save_CXXFLAGS
11563 elif test $ac_cv_prog_cxx_g = yes; then
11564 if test "$GXX" = yes; then
11570 if test "$GXX" = yes; then
11576 for ac_declaration
in \
11578 'extern "C" void std::exit (int) throw (); using std::exit;' \
11579 'extern "C" void std::exit (int); using std::exit;' \
11580 'extern "C" void exit (int) throw ();' \
11581 'extern "C" void exit (int);' \
11584 cat >conftest.
$ac_ext <<_ACEOF
11587 cat confdefs.h
>>conftest.
$ac_ext
11588 cat >>conftest.
$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11591 #include <stdlib.h>
11600 rm -f conftest.
$ac_objext
11601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11602 (eval $ac_compile) 2>conftest.er1
11604 grep -v '^ *+' conftest.er1
>conftest.err
11606 cat conftest.err
>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } &&
11609 { ac_try
='test -z "$ac_cxx_werror_flag"
11610 || test ! -s conftest.err'
11611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11612 (eval $ac_try) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }; } &&
11616 { ac_try
='test -s conftest.$ac_objext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.
$ac_ext >&5
11629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11630 cat >conftest.
$ac_ext <<_ACEOF
11633 cat confdefs.h
>>conftest.
$ac_ext
11634 cat >>conftest.
$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11645 rm -f conftest.
$ac_objext
11646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11647 (eval $ac_compile) 2>conftest.er1
11649 grep -v '^ *+' conftest.er1
>conftest.err
11651 cat conftest.err
>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); } &&
11654 { ac_try
='test -z "$ac_cxx_werror_flag"
11655 || test ! -s conftest.err'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; } &&
11661 { ac_try
='test -s conftest.$ac_objext'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; }; then
11669 echo "$as_me: failed program was:" >&5
11670 sed 's/^/| /' conftest.
$ac_ext >&5
11673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11676 if test -n "$ac_declaration"; then
11677 echo '#ifdef __cplusplus' >>confdefs.h
11678 echo $ac_declaration >>confdefs.h
11679 echo '#endif' >>confdefs.h
11683 ac_cpp
='$CXXCPP $CPPFLAGS'
11684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11690 ac_cpp
='$CPP $CPPFLAGS'
11691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11696 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11697 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11698 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11699 if test "$GCC" = "yes" ; then
11700 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11701 sed -n '1,/End of search list\./p' | \
11702 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11703 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11705 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11706 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11708 if test -n "$ac_tool_prefix"; then
11709 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11710 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11711 echo "$as_me:$LINENO: checking for $ac_word" >&5
11712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11713 if test "${ac_cv_prog_RANLIB+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 if test -n "$RANLIB"; then
11717 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11720 for as_dir
in $PATH
11723 test -z "$as_dir" && as_dir
=.
11724 for ac_exec_ext
in '' $ac_executable_extensions; do
11725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11726 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11735 RANLIB
=$ac_cv_prog_RANLIB
11736 if test -n "$RANLIB"; then
11737 echo "$as_me:$LINENO: result: $RANLIB" >&5
11738 echo "${ECHO_T}$RANLIB" >&6
11740 echo "$as_me:$LINENO: result: no" >&5
11741 echo "${ECHO_T}no" >&6
11745 if test -z "$ac_cv_prog_RANLIB"; then
11746 ac_ct_RANLIB
=$RANLIB
11747 # Extract the first word of "ranlib", so it can be a program name with args.
11748 set dummy ranlib
; ac_word
=$2
11749 echo "$as_me:$LINENO: checking for $ac_word" >&5
11750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11751 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 if test -n "$ac_ct_RANLIB"; then
11755 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11758 for as_dir
in $PATH
11761 test -z "$as_dir" && as_dir
=.
11762 for ac_exec_ext
in '' $ac_executable_extensions; do
11763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11764 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11771 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11774 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11775 if test -n "$ac_ct_RANLIB"; then
11776 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11777 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11779 echo "$as_me:$LINENO: result: no" >&5
11780 echo "${ECHO_T}no" >&6
11783 RANLIB
=$ac_ct_RANLIB
11785 RANLIB
="$ac_cv_prog_RANLIB"
11789 # Extract the first word of "ar", so it can be a program name with args.
11790 set dummy
ar; ac_word
=$2
11791 echo "$as_me:$LINENO: checking for $ac_word" >&5
11792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11793 if test "${ac_cv_prog_AR+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 if test -n "$AR"; then
11797 ac_cv_prog_AR
="$AR" # Let the user override the test.
11799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11800 for as_dir
in $PATH
11803 test -z "$as_dir" && as_dir
=.
11804 for ac_exec_ext
in '' $ac_executable_extensions; do
11805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11816 if test -n "$AR"; then
11817 echo "$as_me:$LINENO: result: $AR" >&5
11818 echo "${ECHO_T}$AR" >&6
11820 echo "$as_me:$LINENO: result: no" >&5
11821 echo "${ECHO_T}no" >&6
11824 if test "x$AR" = "x" ; then
11825 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11826 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11827 { (exit 1); exit 1; }; }
11830 # Find a good install program. We prefer a C program (faster),
11831 # so one script is as good as another. But avoid the broken or
11832 # incompatible versions:
11833 # SysV /etc/install, /usr/sbin/install
11834 # SunOS /usr/etc/install
11835 # IRIX /sbin/install
11837 # AmigaOS /C/install, which installs bootblocks on floppy discs
11838 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11839 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11840 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11841 # OS/2's system install, which has a completely different semantic
11842 # ./install, which can be erroneously created by make from ./install.sh.
11843 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11844 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11845 if test -z "$INSTALL"; then
11846 if test "${ac_cv_path_install+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11850 for as_dir
in $PATH
11853 test -z "$as_dir" && as_dir
=.
11854 # Account for people who put trailing slashes in PATH elements.
11856 .
/ | .
// | /cC
/* | \
11857 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11858 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11861 # OSF1 and SCO ODT 3.0 have their own names for install.
11862 # Don't use installbsd from OSF since it installs stuff as root
11864 for ac_prog
in ginstall scoinst
install; do
11865 for ac_exec_ext
in '' $ac_executable_extensions; do
11866 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11867 if test $ac_prog = install &&
11868 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11869 # AIX install. It has an incompatible calling convention.
11871 elif test $ac_prog = install &&
11872 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11873 # program-specific install script used by HP pwplus--don't use.
11876 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11888 if test "${ac_cv_path_install+set}" = set; then
11889 INSTALL
=$ac_cv_path_install
11891 # As a last resort, use the slow shell script. We don't cache a
11892 # path for INSTALL within a source directory, because that will
11893 # break other packages using the cache if that directory is
11894 # removed, or if the path is relative.
11895 INSTALL
=$ac_install_sh
11898 echo "$as_me:$LINENO: result: $INSTALL" >&5
11899 echo "${ECHO_T}$INSTALL" >&6
11901 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11902 # It thinks the first close brace ends the variable substitution.
11903 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11905 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11907 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11913 ?
:* ) # Drive letter, considered as absolute.
11916 INSTALL
=`pwd`/${INSTALL} ;;
11921 INSTALL_DIR
="mkdir"
11924 *) INSTALL_DIR
="$INSTALL -d"
11931 powerpc
-*-darwin* )
11932 INSTALL_PROGRAM
="cp -fp"
11933 INSTALL_DATA
="cp -fp"
11939 # Extract the first word of "strip", so it can be a program name with args.
11940 set dummy strip
; ac_word
=$2
11941 echo "$as_me:$LINENO: checking for $ac_word" >&5
11942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11943 if test "${ac_cv_prog_STRIP+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 if test -n "$STRIP"; then
11947 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11950 for as_dir
in $PATH
11953 test -z "$as_dir" && as_dir
=.
11954 for ac_exec_ext
in '' $ac_executable_extensions; do
11955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_prog_STRIP
="strip"
11957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11963 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11966 STRIP
=$ac_cv_prog_STRIP
11967 if test -n "$STRIP"; then
11968 echo "$as_me:$LINENO: result: $STRIP" >&5
11969 echo "${ECHO_T}$STRIP" >&6
11971 echo "$as_me:$LINENO: result: no" >&5
11972 echo "${ECHO_T}no" >&6
11976 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11977 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11978 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11979 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11983 egrep -s GNU
> /dev
/null
); then
11984 wx_cv_prog_makeisgnu
="yes"
11986 wx_cv_prog_makeisgnu
="no"
11990 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11991 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11993 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12001 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12002 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12003 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12004 if test "${wx_cv_prog_makevpath+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 cat - << EOF > confMake
12014 if test ! -d sub
; then
12017 echo dummy
> sub
/file
12018 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12020 rm -f sub
/file check final_file confMake
12022 if test "$RESULT" = 0; then
12023 wx_cv_prog_makevpath
="yes"
12025 wx_cv_prog_makevpath
="no"
12029 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12030 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12032 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12033 { { echo "$as_me:$LINENO: error:
12034 You need a make-utility that is able to use the variable
12036 If your version of make does not support VPATH correctly,
12037 please install GNU-make (possibly as gmake), and start
12038 configure with the following command:
12039 export MAKE=gmake; ./configure for sh-type shells
12040 setenv MAKE gmake; ./configure for csh-type shells
12041 Also please do remember to use gmake in this case every time
12042 you are trying to compile.
12044 echo "$as_me: error:
12045 You need a make-utility that is able to use the variable
12047 If your version of make does not support VPATH correctly,
12048 please install GNU-make (possibly as gmake), and start
12049 configure with the following command:
12050 export MAKE=gmake; ./configure for sh-type shells
12051 setenv MAKE gmake; ./configure for csh-type shells
12052 Also please do remember to use gmake in this case every time
12053 you are trying to compile.
12055 { (exit 1); exit 1; }; }
12057 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12058 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12060 if test "$LN_S" = "ln -s"; then
12061 echo "$as_me:$LINENO: result: yes" >&5
12062 echo "${ECHO_T}yes" >&6
12064 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12065 echo "${ECHO_T}no, using $LN_S" >&6
12071 *-pc-os2_emx | *-pc-os2-emx )
12072 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12073 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12074 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12075 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 ac_check_lib_save_LIBS
=$LIBS
12079 LIBS
="-lcExt $LIBS"
12080 cat >conftest.
$ac_ext <<_ACEOF
12083 cat confdefs.h
>>conftest.
$ac_ext
12084 cat >>conftest.
$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12087 /* Override any gcc2 internal prototype to avoid an error. */
12091 /* We use char because int might match the return type of a gcc2
12092 builtin and then its argument prototype would still apply. */
12102 rm -f conftest.
$ac_objext conftest
$ac_exeext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>conftest.er1
12106 grep -v '^ *+' conftest.er1
>conftest.err
12108 cat conftest.err
>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try
='test -z "$ac_c_werror_flag"
12112 || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try
='test -s conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 ac_cv_lib_cExt_drand48
=yes
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.
$ac_ext >&5
12129 ac_cv_lib_cExt_drand48
=no
12131 rm -f conftest.err conftest.
$ac_objext \
12132 conftest
$ac_exeext conftest.
$ac_ext
12133 LIBS
=$ac_check_lib_save_LIBS
12135 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12136 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12137 if test $ac_cv_lib_cExt_drand48 = yes; then
12138 LIBS
="$LIBS -lcExt"
12142 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12144 echo "$as_me:$LINENO: checking for gcc version" >&5
12145 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12146 if test "${wx_cv_gccversion+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 cat >conftest.
$ac_ext <<_ACEOF
12153 cat confdefs.h
>>conftest.
$ac_ext
12154 cat >>conftest.
$ac_ext <<_ACEOF
12155 /* end confdefs.h. */
12169 rm -f conftest.
$ac_objext
12170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12171 (eval $ac_compile) 2>conftest.er1
12173 grep -v '^ *+' conftest.er1
>conftest.err
12175 cat conftest.err
>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); } &&
12178 { ac_try
='test -z "$ac_c_werror_flag"
12179 || test ! -s conftest.err'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; } &&
12185 { ac_try
='test -s conftest.$ac_objext'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; }; then
12192 cat >conftest.
$ac_ext <<_ACEOF
12195 cat confdefs.h
>>conftest.
$ac_ext
12196 cat >>conftest.
$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12203 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12204 #error intermediate gcc
12211 rm -f conftest.
$ac_objext
12212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12213 (eval $ac_compile) 2>conftest.er1
12215 grep -v '^ *+' conftest.er1
>conftest.err
12217 cat conftest.err
>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } &&
12220 { ac_try
='test -z "$ac_c_werror_flag"
12221 || test ! -s conftest.err'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; } &&
12227 { ac_try
='test -s conftest.$ac_objext'
12228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12229 (eval $ac_try) 2>&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); }; }; then
12234 wx_cv_gccversion
=Innotek
12237 echo "$as_me: failed program was:" >&5
12238 sed 's/^/| /' conftest.
$ac_ext >&5
12245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.
$ac_ext >&5
12256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12259 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12260 echo "${ECHO_T}$wx_cv_gccversion" >&6
12261 if test "$wx_cv_gccversion" = "2"; then
12262 LIBS
="$LIBS -lstdcpp"
12263 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12265 if test "$wx_cv_gccversion" = "3"; then
12266 LIBS
="$LIBS -lstdcxx"
12267 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12269 LIBS
="$LIBS -lstdc++"
12272 if test "$wxUSE_OMF" = "yes"; then
12273 LDFLAGS
="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12281 ac_cpp
='$CXXCPP $CPPFLAGS'
12282 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12283 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12284 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12288 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12289 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12290 if test "${ac_cv_string_strcasecmp+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 cat >conftest.
$ac_ext <<_ACEOF
12297 cat confdefs.h
>>conftest.
$ac_ext
12298 cat >>conftest.
$ac_ext <<_ACEOF
12299 /* end confdefs.h. */
12301 #include <string.h>
12307 strcasecmp("foo", "bar");
12313 rm -f conftest.
$ac_objext conftest
$ac_exeext
12314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12315 (eval $ac_link) 2>conftest.er1
12317 grep -v '^ *+' conftest.er1
>conftest.err
12319 cat conftest.err
>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } &&
12322 { ac_try
='test -z "$ac_cxx_werror_flag"
12323 || test ! -s conftest.err'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; } &&
12329 { ac_try
='test -s conftest$ac_exeext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 ac_cv_string_strcasecmp
=yes
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.
$ac_ext >&5
12340 ac_cv_string_strcasecmp
=no
12343 rm -f conftest.err conftest.
$ac_objext \
12344 conftest
$ac_exeext conftest.
$ac_ext
12347 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12348 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12350 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12351 cat >>confdefs.h
<<\_ACEOF
12352 #define HAVE_STRCASECMP_IN_STRING_H 1
12356 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12357 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12358 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12362 cat >conftest.
$ac_ext <<_ACEOF
12365 cat confdefs.h
>>conftest.
$ac_ext
12366 cat >>conftest.
$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12369 #include <strings.h>
12375 strcasecmp("foo", "bar");
12381 rm -f conftest.
$ac_objext conftest
$ac_exeext
12382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12383 (eval $ac_link) 2>conftest.er1
12385 grep -v '^ *+' conftest.er1
>conftest.err
12387 cat conftest.err
>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } &&
12390 { ac_try
='test -z "$ac_cxx_werror_flag"
12391 || test ! -s conftest.err'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; } &&
12397 { ac_try
='test -s conftest$ac_exeext'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; }; then
12403 ac_cv_strings_strcasecmp
=yes
12405 echo "$as_me: failed program was:" >&5
12406 sed 's/^/| /' conftest.
$ac_ext >&5
12408 ac_cv_strings_strcasecmp
=no
12411 rm -f conftest.err conftest.
$ac_objext \
12412 conftest
$ac_exeext conftest.
$ac_ext
12415 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12416 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12418 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12419 cat >>confdefs.h
<<\_ACEOF
12420 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12424 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12425 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12426 { (exit 1); exit 1; }; }
12431 ac_cpp
='$CPP $CPPFLAGS'
12432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12440 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12441 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12442 if test "${ac_cv_header_stdc+set}" = set; then
12443 echo $ECHO_N "(cached) $ECHO_C" >&6
12445 cat >conftest.
$ac_ext <<_ACEOF
12448 cat confdefs.h
>>conftest.
$ac_ext
12449 cat >>conftest.
$ac_ext <<_ACEOF
12450 /* end confdefs.h. */
12451 #include <stdlib.h>
12452 #include <stdarg.h>
12453 #include <string.h>
12464 rm -f conftest.
$ac_objext
12465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12466 (eval $ac_compile) 2>conftest.er1
12468 grep -v '^ *+' conftest.er1
>conftest.err
12470 cat conftest.err
>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); } &&
12473 { ac_try
='test -z "$ac_c_werror_flag"
12474 || test ! -s conftest.err'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; } &&
12480 { ac_try
='test -s conftest.$ac_objext'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; }; then
12486 ac_cv_header_stdc
=yes
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.
$ac_ext >&5
12491 ac_cv_header_stdc
=no
12493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12495 if test $ac_cv_header_stdc = yes; then
12496 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12497 cat >conftest.
$ac_ext <<_ACEOF
12500 cat confdefs.h
>>conftest.
$ac_ext
12501 cat >>conftest.
$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12503 #include <string.h>
12506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12507 $EGREP "memchr" >/dev
/null
2>&1; then
12510 ac_cv_header_stdc
=no
12516 if test $ac_cv_header_stdc = yes; then
12517 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12518 cat >conftest.
$ac_ext <<_ACEOF
12521 cat confdefs.h
>>conftest.
$ac_ext
12522 cat >>conftest.
$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12524 #include <stdlib.h>
12527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12528 $EGREP "free" >/dev
/null
2>&1; then
12531 ac_cv_header_stdc
=no
12537 if test $ac_cv_header_stdc = yes; then
12538 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12539 if test "$cross_compiling" = yes; then
12542 cat >conftest.
$ac_ext <<_ACEOF
12545 cat confdefs.h
>>conftest.
$ac_ext
12546 cat >>conftest.
$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12549 #if ((' ' & 0x0FF) == 0x020)
12550 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12551 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12553 # define ISLOWER(c) \
12554 (('a' <= (c) && (c) <= 'i') \
12555 || ('j' <= (c) && (c) <= 'r') \
12556 || ('s' <= (c) && (c) <= 'z'))
12557 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12560 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12565 for (i = 0; i < 256; i++)
12566 if (XOR (islower (i), ISLOWER (i))
12567 || toupper (i) != TOUPPER (i))
12572 rm -f conftest
$ac_exeext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12574 (eval $ac_link) 2>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12579 (eval $ac_try) 2>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); }; }; then
12585 echo "$as_me: program exited with status $ac_status" >&5
12586 echo "$as_me: failed program was:" >&5
12587 sed 's/^/| /' conftest.
$ac_ext >&5
12589 ( exit $ac_status )
12590 ac_cv_header_stdc
=no
12592 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12596 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12597 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12598 if test $ac_cv_header_stdc = yes; then
12600 cat >>confdefs.h
<<\_ACEOF
12601 #define STDC_HEADERS 1
12606 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12616 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12617 inttypes.h stdint.h unistd.h
12619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12620 echo "$as_me:$LINENO: checking for $ac_header" >&5
12621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 cat >conftest.
$ac_ext <<_ACEOF
12628 cat confdefs.h
>>conftest.
$ac_ext
12629 cat >>conftest.
$ac_ext <<_ACEOF
12630 /* end confdefs.h. */
12631 $ac_includes_default
12633 #include <$ac_header>
12635 rm -f conftest.
$ac_objext
12636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12637 (eval $ac_compile) 2>conftest.er1
12639 grep -v '^ *+' conftest.er1
>conftest.err
12641 cat conftest.err
>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } &&
12644 { ac_try
='test -z "$ac_c_werror_flag"
12645 || test ! -s conftest.err'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; } &&
12651 { ac_try
='test -s conftest.$ac_objext'
12652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12653 (eval $ac_try) 2>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); }; }; then
12657 eval "$as_ac_Header=yes"
12659 echo "$as_me: failed program was:" >&5
12660 sed 's/^/| /' conftest.
$ac_ext >&5
12662 eval "$as_ac_Header=no"
12664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12669 cat >>confdefs.h
<<_ACEOF
12670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12679 for ac_header
in stdlib.h
12681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12683 echo "$as_me:$LINENO: checking for $ac_header" >&5
12684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12686 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12691 # Is the header compilable?
12692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12694 cat >conftest.
$ac_ext <<_ACEOF
12697 cat confdefs.h
>>conftest.
$ac_ext
12698 cat >>conftest.
$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12700 $ac_includes_default
12701 #include <$ac_header>
12703 rm -f conftest.
$ac_objext
12704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12705 (eval $ac_compile) 2>conftest.er1
12707 grep -v '^ *+' conftest.er1
>conftest.err
12709 cat conftest.err
>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try
='test -z "$ac_c_werror_flag"
12713 || test ! -s conftest.err'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; } &&
12719 { ac_try
='test -s conftest.$ac_objext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12725 ac_header_compiler
=yes
12727 echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.
$ac_ext >&5
12730 ac_header_compiler
=no
12732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12734 echo "${ECHO_T}$ac_header_compiler" >&6
12736 # Is the header present?
12737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12739 cat >conftest.
$ac_ext <<_ACEOF
12742 cat confdefs.h
>>conftest.
$ac_ext
12743 cat >>conftest.
$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12745 #include <$ac_header>
12747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } >/dev
/null
; then
12755 if test -s conftest.err
; then
12756 ac_cpp_err
=$ac_c_preproc_warn_flag
12757 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12764 if test -z "$ac_cpp_err"; then
12765 ac_header_preproc
=yes
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.
$ac_ext >&5
12770 ac_header_preproc
=no
12772 rm -f conftest.err conftest.
$ac_ext
12773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12774 echo "${ECHO_T}$ac_header_preproc" >&6
12776 # So? What about this header?
12777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12783 ac_header_preproc
=yes
12786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12790 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12792 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12793 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12796 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12800 ## ----------------------------------------- ##
12801 ## Report this to wx-dev@lists.wxwindows.org ##
12802 ## ----------------------------------------- ##
12805 sed "s/^/$as_me: WARNING: /" >&2
12808 echo "$as_me:$LINENO: checking for $ac_header" >&5
12809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 eval "$as_ac_Header=\$ac_header_preproc"
12815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12820 cat >>confdefs.h
<<_ACEOF
12821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12829 for ac_header
in malloc.h
12831 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12833 echo "$as_me:$LINENO: checking for $ac_header" >&5
12834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12841 # Is the header compilable?
12842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12844 cat >conftest.
$ac_ext <<_ACEOF
12847 cat confdefs.h
>>conftest.
$ac_ext
12848 cat >>conftest.
$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12850 $ac_includes_default
12851 #include <$ac_header>
12853 rm -f conftest.
$ac_objext
12854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12855 (eval $ac_compile) 2>conftest.er1
12857 grep -v '^ *+' conftest.er1
>conftest.err
12859 cat conftest.err
>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } &&
12862 { ac_try
='test -z "$ac_c_werror_flag"
12863 || test ! -s conftest.err'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; } &&
12869 { ac_try
='test -s conftest.$ac_objext'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 ac_header_compiler
=yes
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.
$ac_ext >&5
12880 ac_header_compiler
=no
12882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12884 echo "${ECHO_T}$ac_header_compiler" >&6
12886 # Is the header present?
12887 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12888 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12889 cat >conftest.
$ac_ext <<_ACEOF
12892 cat confdefs.h
>>conftest.
$ac_ext
12893 cat >>conftest.
$ac_ext <<_ACEOF
12894 /* end confdefs.h. */
12895 #include <$ac_header>
12897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12898 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12900 grep -v '^ *+' conftest.er1
>conftest.err
12902 cat conftest.err
>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } >/dev
/null
; then
12905 if test -s conftest.err
; then
12906 ac_cpp_err
=$ac_c_preproc_warn_flag
12907 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12914 if test -z "$ac_cpp_err"; then
12915 ac_header_preproc
=yes
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12920 ac_header_preproc
=no
12922 rm -f conftest.err conftest.
$ac_ext
12923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12924 echo "${ECHO_T}$ac_header_preproc" >&6
12926 # So? What about this header?
12927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12932 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12933 ac_header_preproc
=yes
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12938 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12939 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12940 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12941 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12943 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12946 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12947 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12950 ## ----------------------------------------- ##
12951 ## Report this to wx-dev@lists.wxwindows.org ##
12952 ## ----------------------------------------- ##
12955 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12970 cat >>confdefs.h
<<_ACEOF
12971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12979 for ac_header
in unistd.h
12981 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12983 echo "$as_me:$LINENO: checking for $ac_header" >&5
12984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12991 # Is the header compilable?
12992 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12994 cat >conftest.
$ac_ext <<_ACEOF
12997 cat confdefs.h
>>conftest.
$ac_ext
12998 cat >>conftest.
$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13000 $ac_includes_default
13001 #include <$ac_header>
13003 rm -f conftest.
$ac_objext
13004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13005 (eval $ac_compile) 2>conftest.er1
13007 grep -v '^ *+' conftest.er1
>conftest.err
13009 cat conftest.err
>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); } &&
13012 { ac_try
='test -z "$ac_c_werror_flag"
13013 || test ! -s conftest.err'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; } &&
13019 { ac_try
='test -s conftest.$ac_objext'
13020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13021 (eval $ac_try) 2>&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); }; }; then
13025 ac_header_compiler
=yes
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.
$ac_ext >&5
13030 ac_header_compiler
=no
13032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13034 echo "${ECHO_T}$ac_header_compiler" >&6
13036 # Is the header present?
13037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13039 cat >conftest.
$ac_ext <<_ACEOF
13042 cat confdefs.h
>>conftest.
$ac_ext
13043 cat >>conftest.
$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13045 #include <$ac_header>
13047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13050 grep -v '^ *+' conftest.er1
>conftest.err
13052 cat conftest.err
>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } >/dev
/null
; then
13055 if test -s conftest.err
; then
13056 ac_cpp_err
=$ac_c_preproc_warn_flag
13057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13064 if test -z "$ac_cpp_err"; then
13065 ac_header_preproc
=yes
13067 echo "$as_me: failed program was:" >&5
13068 sed 's/^/| /' conftest.
$ac_ext >&5
13070 ac_header_preproc
=no
13072 rm -f conftest.err conftest.
$ac_ext
13073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13074 echo "${ECHO_T}$ac_header_preproc" >&6
13076 # So? What about this header?
13077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13083 ac_header_preproc
=yes
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13100 ## ----------------------------------------- ##
13101 ## Report this to wx-dev@lists.wxwindows.org ##
13102 ## ----------------------------------------- ##
13105 sed "s/^/$as_me: WARNING: /" >&2
13108 echo "$as_me:$LINENO: checking for $ac_header" >&5
13109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 eval "$as_ac_Header=\$ac_header_preproc"
13115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13120 cat >>confdefs.h
<<_ACEOF
13121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13129 for ac_header
in wchar.h
13131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13133 echo "$as_me:$LINENO: checking for $ac_header" >&5
13134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13141 # Is the header compilable?
13142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13144 cat >conftest.
$ac_ext <<_ACEOF
13147 cat confdefs.h
>>conftest.
$ac_ext
13148 cat >>conftest.
$ac_ext <<_ACEOF
13149 /* end confdefs.h. */
13150 $ac_includes_default
13151 #include <$ac_header>
13153 rm -f conftest.
$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13157 grep -v '^ *+' conftest.er1
>conftest.err
13159 cat conftest.err
>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try
='test -z "$ac_c_werror_flag"
13163 || test ! -s conftest.err'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; } &&
13169 { ac_try
='test -s conftest.$ac_objext'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; }; then
13175 ac_header_compiler
=yes
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.
$ac_ext >&5
13180 ac_header_compiler
=no
13182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13184 echo "${ECHO_T}$ac_header_compiler" >&6
13186 # Is the header present?
13187 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13189 cat >conftest.
$ac_ext <<_ACEOF
13192 cat confdefs.h
>>conftest.
$ac_ext
13193 cat >>conftest.
$ac_ext <<_ACEOF
13194 /* end confdefs.h. */
13195 #include <$ac_header>
13197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13198 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } >/dev
/null
; then
13205 if test -s conftest.err
; then
13206 ac_cpp_err
=$ac_c_preproc_warn_flag
13207 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13214 if test -z "$ac_cpp_err"; then
13215 ac_header_preproc
=yes
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.
$ac_ext >&5
13220 ac_header_preproc
=no
13222 rm -f conftest.err conftest.
$ac_ext
13223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13224 echo "${ECHO_T}$ac_header_preproc" >&6
13226 # So? What about this header?
13227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13233 ac_header_preproc
=yes
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13240 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13242 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13243 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13246 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13250 ## ----------------------------------------- ##
13251 ## Report this to wx-dev@lists.wxwindows.org ##
13252 ## ----------------------------------------- ##
13255 sed "s/^/$as_me: WARNING: /" >&2
13258 echo "$as_me:$LINENO: checking for $ac_header" >&5
13259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 eval "$as_ac_Header=\$ac_header_preproc"
13265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13270 cat >>confdefs.h
<<_ACEOF
13271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13279 if test "$ac_cv_header_wchar_h" != "yes"; then
13281 for ac_header
in wcstr.h
13283 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13285 echo "$as_me:$LINENO: checking for $ac_header" >&5
13286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13293 # Is the header compilable?
13294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13296 cat >conftest.
$ac_ext <<_ACEOF
13299 cat confdefs.h
>>conftest.
$ac_ext
13300 cat >>conftest.
$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 $ac_includes_default
13303 #include <$ac_header>
13305 rm -f conftest.
$ac_objext
13306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13307 (eval $ac_compile) 2>conftest.er1
13309 grep -v '^ *+' conftest.er1
>conftest.err
13311 cat conftest.err
>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } &&
13314 { ac_try
='test -z "$ac_c_werror_flag"
13315 || test ! -s conftest.err'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; } &&
13321 { ac_try
='test -s conftest.$ac_objext'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; }; then
13327 ac_header_compiler
=yes
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.
$ac_ext >&5
13332 ac_header_compiler
=no
13334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13336 echo "${ECHO_T}$ac_header_compiler" >&6
13338 # Is the header present?
13339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13341 cat >conftest.
$ac_ext <<_ACEOF
13344 cat confdefs.h
>>conftest.
$ac_ext
13345 cat >>conftest.
$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 #include <$ac_header>
13349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13352 grep -v '^ *+' conftest.er1
>conftest.err
13354 cat conftest.err
>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } >/dev
/null
; then
13357 if test -s conftest.err
; then
13358 ac_cpp_err
=$ac_c_preproc_warn_flag
13359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13366 if test -z "$ac_cpp_err"; then
13367 ac_header_preproc
=yes
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.
$ac_ext >&5
13372 ac_header_preproc
=no
13374 rm -f conftest.err conftest.
$ac_ext
13375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13376 echo "${ECHO_T}$ac_header_preproc" >&6
13378 # So? What about this header?
13379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13384 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13385 ac_header_preproc
=yes
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13393 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13395 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13397 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13398 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13399 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13402 ## ----------------------------------------- ##
13403 ## Report this to wx-dev@lists.wxwindows.org ##
13404 ## ----------------------------------------- ##
13407 sed "s/^/$as_me: WARNING: /" >&2
13410 echo "$as_me:$LINENO: checking for $ac_header" >&5
13411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13413 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 eval "$as_ac_Header=\$ac_header_preproc"
13417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13422 cat >>confdefs.h
<<_ACEOF
13423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13433 for ac_header
in fnmatch.h
13435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13437 echo "$as_me:$LINENO: checking for $ac_header" >&5
13438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13445 # Is the header compilable?
13446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13448 cat >conftest.
$ac_ext <<_ACEOF
13451 cat confdefs.h
>>conftest.
$ac_ext
13452 cat >>conftest.
$ac_ext <<_ACEOF
13453 /* end confdefs.h. */
13454 $ac_includes_default
13455 #include <$ac_header>
13457 rm -f conftest.
$ac_objext
13458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13459 (eval $ac_compile) 2>conftest.er1
13461 grep -v '^ *+' conftest.er1
>conftest.err
13463 cat conftest.err
>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } &&
13466 { ac_try
='test -z "$ac_c_werror_flag"
13467 || test ! -s conftest.err'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; } &&
13473 { ac_try
='test -s conftest.$ac_objext'
13474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13475 (eval $ac_try) 2>&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); }; }; then
13479 ac_header_compiler
=yes
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.
$ac_ext >&5
13484 ac_header_compiler
=no
13486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13488 echo "${ECHO_T}$ac_header_compiler" >&6
13490 # Is the header present?
13491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13493 cat >conftest.
$ac_ext <<_ACEOF
13496 cat confdefs.h
>>conftest.
$ac_ext
13497 cat >>conftest.
$ac_ext <<_ACEOF
13498 /* end confdefs.h. */
13499 #include <$ac_header>
13501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13502 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13504 grep -v '^ *+' conftest.er1
>conftest.err
13506 cat conftest.err
>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } >/dev
/null
; then
13509 if test -s conftest.err
; then
13510 ac_cpp_err
=$ac_c_preproc_warn_flag
13511 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13518 if test -z "$ac_cpp_err"; then
13519 ac_header_preproc
=yes
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.
$ac_ext >&5
13524 ac_header_preproc
=no
13526 rm -f conftest.err conftest.
$ac_ext
13527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13528 echo "${ECHO_T}$ac_header_preproc" >&6
13530 # So? What about this header?
13531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13537 ac_header_preproc
=yes
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13554 ## ----------------------------------------- ##
13555 ## Report this to wx-dev@lists.wxwindows.org ##
13556 ## ----------------------------------------- ##
13559 sed "s/^/$as_me: WARNING: /" >&2
13562 echo "$as_me:$LINENO: checking for $ac_header" >&5
13563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 eval "$as_ac_Header=\$ac_header_preproc"
13569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13574 cat >>confdefs.h
<<_ACEOF
13575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13583 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13585 for ac_func
in fnmatch
13587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13588 echo "$as_me:$LINENO: checking for $ac_func" >&5
13589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13590 if eval "test \"\${$as_ac_var+set}\" = set"; then
13591 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 cat >conftest.
$ac_ext <<_ACEOF
13596 cat confdefs.h
>>conftest.
$ac_ext
13597 cat >>conftest.
$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13601 #define $ac_func innocuous_$ac_func
13603 /* System header to define __stub macros and hopefully few prototypes,
13604 which can conflict with char $ac_func (); below.
13605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13606 <limits.h> exists even on freestanding compilers. */
13609 # include <limits.h>
13611 # include <assert.h>
13616 /* Override any gcc2 internal prototype to avoid an error. */
13621 /* We use char because int might match the return type of a gcc2
13622 builtin and then its argument prototype would still apply. */
13624 /* The GNU C library defines this for functions which it implements
13625 to always fail with ENOSYS. Some functions are actually named
13626 something starting with __ and the normal name is an alias. */
13627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13630 char (*f) () = $ac_func;
13639 return f != $ac_func;
13644 rm -f conftest.
$ac_objext conftest
$ac_exeext
13645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13646 (eval $ac_link) 2>conftest.er1
13648 grep -v '^ *+' conftest.er1
>conftest.err
13650 cat conftest.err
>&5
13651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); } &&
13653 { ac_try
='test -z "$ac_c_werror_flag"
13654 || test ! -s conftest.err'
13655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656 (eval $ac_try) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }; } &&
13660 { ac_try
='test -s conftest$ac_exeext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 eval "$as_ac_var=yes"
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.
$ac_ext >&5
13671 eval "$as_ac_var=no"
13673 rm -f conftest.err conftest.
$ac_objext \
13674 conftest
$ac_exeext conftest.
$ac_ext
13676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13678 if test `eval echo '${'$as_ac_var'}'` = yes; then
13679 cat >>confdefs.h
<<_ACEOF
13680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13689 for ac_header
in langinfo.h
13691 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13693 echo "$as_me:$LINENO: checking for $ac_header" >&5
13694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13696 echo $ECHO_N "(cached) $ECHO_C" >&6
13698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13701 # Is the header compilable?
13702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13704 cat >conftest.
$ac_ext <<_ACEOF
13707 cat confdefs.h
>>conftest.
$ac_ext
13708 cat >>conftest.
$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710 $ac_includes_default
13711 #include <$ac_header>
13713 rm -f conftest.
$ac_objext
13714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13715 (eval $ac_compile) 2>conftest.er1
13717 grep -v '^ *+' conftest.er1
>conftest.err
13719 cat conftest.err
>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try
='test -z "$ac_c_werror_flag"
13723 || test ! -s conftest.err'
13724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13725 (eval $ac_try) 2>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); }; } &&
13729 { ac_try
='test -s conftest.$ac_objext'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; }; then
13735 ac_header_compiler
=yes
13737 echo "$as_me: failed program was:" >&5
13738 sed 's/^/| /' conftest.
$ac_ext >&5
13740 ac_header_compiler
=no
13742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13744 echo "${ECHO_T}$ac_header_compiler" >&6
13746 # Is the header present?
13747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13749 cat >conftest.
$ac_ext <<_ACEOF
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 #include <$ac_header>
13757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13758 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13760 grep -v '^ *+' conftest.er1
>conftest.err
13762 cat conftest.err
>&5
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 (exit $ac_status); } >/dev
/null
; then
13765 if test -s conftest.err
; then
13766 ac_cpp_err
=$ac_c_preproc_warn_flag
13767 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13774 if test -z "$ac_cpp_err"; then
13775 ac_header_preproc
=yes
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.
$ac_ext >&5
13780 ac_header_preproc
=no
13782 rm -f conftest.err conftest.
$ac_ext
13783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13784 echo "${ECHO_T}$ac_header_preproc" >&6
13786 # So? What about this header?
13787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13793 ac_header_preproc
=yes
13796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13810 ## ----------------------------------------- ##
13811 ## Report this to wx-dev@lists.wxwindows.org ##
13812 ## ----------------------------------------- ##
13815 sed "s/^/$as_me: WARNING: /" >&2
13818 echo "$as_me:$LINENO: checking for $ac_header" >&5
13819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13823 eval "$as_ac_Header=\$ac_header_preproc"
13825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13830 cat >>confdefs.h
<<_ACEOF
13831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13840 *-pc-os2_emx | *-pc-os2-emx )
13841 if test $ac_cv_header_langinfo_h = "yes"; then
13842 LIBS
="$LIBS -lintl"
13847 if test "$wxUSE_GUI" = "yes"; then
13848 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13850 for ac_header
in X
11/Xlib.h
13852 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13854 echo "$as_me:$LINENO: checking for $ac_header" >&5
13855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13857 echo $ECHO_N "(cached) $ECHO_C" >&6
13859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13862 # Is the header compilable?
13863 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13864 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13865 cat >conftest.
$ac_ext <<_ACEOF
13868 cat confdefs.h
>>conftest.
$ac_ext
13869 cat >>conftest.
$ac_ext <<_ACEOF
13870 /* end confdefs.h. */
13871 $ac_includes_default
13872 #include <$ac_header>
13874 rm -f conftest.
$ac_objext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13878 grep -v '^ *+' conftest.er1
>conftest.err
13880 cat conftest.err
>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try
='test -z "$ac_c_werror_flag"
13884 || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try
='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 ac_header_compiler
=yes
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.
$ac_ext >&5
13901 ac_header_compiler
=no
13903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13905 echo "${ECHO_T}$ac_header_compiler" >&6
13907 # Is the header present?
13908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13910 cat >conftest.
$ac_ext <<_ACEOF
13913 cat confdefs.h
>>conftest.
$ac_ext
13914 cat >>conftest.
$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13916 #include <$ac_header>
13918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13921 grep -v '^ *+' conftest.er1
>conftest.err
13923 cat conftest.err
>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } >/dev
/null
; then
13926 if test -s conftest.err
; then
13927 ac_cpp_err
=$ac_c_preproc_warn_flag
13928 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13935 if test -z "$ac_cpp_err"; then
13936 ac_header_preproc
=yes
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.
$ac_ext >&5
13941 ac_header_preproc
=no
13943 rm -f conftest.err conftest.
$ac_ext
13944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13945 echo "${ECHO_T}$ac_header_preproc" >&6
13947 # So? What about this header?
13948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13953 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13954 ac_header_preproc
=yes
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13961 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13962 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13963 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13964 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13966 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13967 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13968 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13971 ## ----------------------------------------- ##
13972 ## Report this to wx-dev@lists.wxwindows.org ##
13973 ## ----------------------------------------- ##
13976 sed "s/^/$as_me: WARNING: /" >&2
13979 echo "$as_me:$LINENO: checking for $ac_header" >&5
13980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 eval "$as_ac_Header=\$ac_header_preproc"
13986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13991 cat >>confdefs.h
<<_ACEOF
13992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14000 for ac_header
in X
11/XKBlib.h
14002 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14003 echo "$as_me:$LINENO: checking for $ac_header" >&5
14004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14008 cat >conftest.
$ac_ext <<_ACEOF
14011 cat confdefs.h
>>conftest.
$ac_ext
14012 cat >>conftest.
$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14015 #if HAVE_X11_XLIB_H
14016 #include <X11/Xlib.h>
14020 #include <$ac_header>
14022 rm -f conftest.
$ac_objext
14023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14024 (eval $ac_compile) 2>conftest.er1
14026 grep -v '^ *+' conftest.er1
>conftest.err
14028 cat conftest.err
>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); } &&
14031 { ac_try
='test -z "$ac_c_werror_flag"
14032 || test ! -s conftest.err'
14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034 (eval $ac_try) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; } &&
14038 { ac_try
='test -s conftest.$ac_objext'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; }; then
14044 eval "$as_ac_Header=yes"
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14049 eval "$as_ac_Header=no"
14051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14056 cat >>confdefs.h
<<_ACEOF
14057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14068 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14069 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14070 if test "${ac_cv_c_const+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 cat >conftest.
$ac_ext <<_ACEOF
14076 cat confdefs.h
>>conftest.
$ac_ext
14077 cat >>conftest.
$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14083 /* FIXME: Include the comments suggested by Paul. */
14084 #ifndef __cplusplus
14085 /* Ultrix mips cc rejects this. */
14086 typedef int charset[2];
14088 /* SunOS 4.1.1 cc rejects this. */
14089 char const *const *ccp;
14091 /* NEC SVR4.0.2 mips cc rejects this. */
14092 struct point {int x, y;};
14093 static struct point const zero = {0,0};
14094 /* AIX XL C 1.02.0.0 rejects this.
14095 It does not let you subtract one const X* pointer from another in
14096 an arm of an if-expression whose if-part is not a constant
14098 const char *g = "string";
14099 ccp = &g + (g ? g-g : 0);
14100 /* HPUX 7.0 cc rejects these. */
14103 ccp = (char const *const *) p;
14104 { /* SCO 3.2v4 cc rejects this. */
14106 char const *s = 0 ? (char *) 0 : (char const *) 0;
14110 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14111 int x[] = {25, 17};
14112 const int *foo = &x[0];
14115 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14116 typedef const int *iptr;
14120 { /* AIX XL C 1.02.0.0 rejects this saying
14121 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14122 struct s { int j; const int *ap[3]; };
14123 struct s *b; b->j = 5;
14125 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14126 const int foo = 10;
14134 rm -f conftest.
$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136 (eval $ac_compile) 2>conftest.er1
14138 grep -v '^ *+' conftest.er1
>conftest.err
14140 cat conftest.err
>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } &&
14143 { ac_try
='test -z "$ac_c_werror_flag"
14144 || test ! -s conftest.err'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; } &&
14150 { ac_try
='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.
$ac_ext >&5
14163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14165 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14166 echo "${ECHO_T}$ac_cv_c_const" >&6
14167 if test $ac_cv_c_const = no
; then
14169 cat >>confdefs.h
<<\_ACEOF
14175 echo "$as_me:$LINENO: checking for inline" >&5
14176 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14177 if test "${ac_cv_c_inline+set}" = set; then
14178 echo $ECHO_N "(cached) $ECHO_C" >&6
14181 for ac_kw
in inline __inline__ __inline
; do
14182 cat >conftest.
$ac_ext <<_ACEOF
14185 cat confdefs.h
>>conftest.
$ac_ext
14186 cat >>conftest.
$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14188 #ifndef __cplusplus
14190 static $ac_kw foo_t static_foo () {return 0; }
14191 $ac_kw foo_t foo () {return 0; }
14195 rm -f conftest.
$ac_objext
14196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14197 (eval $ac_compile) 2>conftest.er1
14199 grep -v '^ *+' conftest.er1
>conftest.err
14201 cat conftest.err
>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try
='test -z "$ac_c_werror_flag"
14205 || test ! -s conftest.err'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try
='test -s conftest.$ac_objext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 ac_cv_c_inline
=$ac_kw; break
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.
$ac_ext >&5
14223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14227 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14228 echo "${ECHO_T}$ac_cv_c_inline" >&6
14231 case $ac_cv_c_inline in
14234 case $ac_cv_c_inline in
14236 *) ac_val
=$ac_cv_c_inline;;
14238 cat >>confdefs.h
<<_ACEOF
14239 #ifndef __cplusplus
14240 #define inline $ac_val
14247 echo "$as_me:$LINENO: checking for char" >&5
14248 echo $ECHO_N "checking for char... $ECHO_C" >&6
14249 if test "${ac_cv_type_char+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 cat >conftest.
$ac_ext <<_ACEOF
14255 cat confdefs.h
>>conftest.
$ac_ext
14256 cat >>conftest.
$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 $ac_includes_default
14270 rm -f conftest.
$ac_objext
14271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14272 (eval $ac_compile) 2>conftest.er1
14274 grep -v '^ *+' conftest.er1
>conftest.err
14276 cat conftest.err
>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try
='test -z "$ac_c_werror_flag"
14280 || test ! -s conftest.err'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; } &&
14286 { ac_try
='test -s conftest.$ac_objext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 ac_cv_type_char
=yes
14294 echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.
$ac_ext >&5
14299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14301 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14302 echo "${ECHO_T}$ac_cv_type_char" >&6
14304 echo "$as_me:$LINENO: checking size of char" >&5
14305 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14306 if test "${ac_cv_sizeof_char+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 if test "$ac_cv_type_char" = yes; then
14310 # The cast to unsigned long works around a bug in the HP C Compiler
14311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14313 # This bug is HP SR number 8606223364.
14314 if test "$cross_compiling" = yes; then
14315 # Depending upon the size, compute the lo and hi bounds.
14316 cat >conftest.
$ac_ext <<_ACEOF
14319 cat confdefs.h
>>conftest.
$ac_ext
14320 cat >>conftest.
$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14322 $ac_includes_default
14326 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14333 rm -f conftest.
$ac_objext
14334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14335 (eval $ac_compile) 2>conftest.er1
14337 grep -v '^ *+' conftest.er1
>conftest.err
14339 cat conftest.err
>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } &&
14342 { ac_try
='test -z "$ac_c_werror_flag"
14343 || test ! -s conftest.err'
14344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14345 (eval $ac_try) 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; } &&
14349 { ac_try
='test -s conftest.$ac_objext'
14350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14351 (eval $ac_try) 2>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }; }; then
14357 cat >conftest.
$ac_ext <<_ACEOF
14360 cat confdefs.h
>>conftest.
$ac_ext
14361 cat >>conftest.
$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14363 $ac_includes_default
14367 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14374 rm -f conftest.
$ac_objext
14375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14376 (eval $ac_compile) 2>conftest.er1
14378 grep -v '^ *+' conftest.er1
>conftest.err
14380 cat conftest.err
>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } &&
14383 { ac_try
='test -z "$ac_c_werror_flag"
14384 || test ! -s conftest.err'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; } &&
14390 { ac_try
='test -s conftest.$ac_objext'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14396 ac_hi
=$ac_mid; break
14398 echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.
$ac_ext >&5
14401 ac_lo
=`expr $ac_mid + 1`
14402 if test $ac_lo -le $ac_mid; then
14406 ac_mid
=`expr 2 '*' $ac_mid + 1`
14408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.
$ac_ext >&5
14414 cat >conftest.
$ac_ext <<_ACEOF
14417 cat confdefs.h
>>conftest.
$ac_ext
14418 cat >>conftest.
$ac_ext <<_ACEOF
14419 /* end confdefs.h. */
14420 $ac_includes_default
14424 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14431 rm -f conftest.
$ac_objext
14432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14433 (eval $ac_compile) 2>conftest.er1
14435 grep -v '^ *+' conftest.er1
>conftest.err
14437 cat conftest.err
>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } &&
14440 { ac_try
='test -z "$ac_c_werror_flag"
14441 || test ! -s conftest.err'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; } &&
14447 { ac_try
='test -s conftest.$ac_objext'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; }; then
14455 cat >conftest.
$ac_ext <<_ACEOF
14458 cat confdefs.h
>>conftest.
$ac_ext
14459 cat >>conftest.
$ac_ext <<_ACEOF
14460 /* end confdefs.h. */
14461 $ac_includes_default
14465 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14472 rm -f conftest.
$ac_objext
14473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14474 (eval $ac_compile) 2>conftest.er1
14476 grep -v '^ *+' conftest.er1
>conftest.err
14478 cat conftest.err
>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); } &&
14481 { ac_try
='test -z "$ac_c_werror_flag"
14482 || test ! -s conftest.err'
14483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 (eval $ac_try) 2>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; } &&
14488 { ac_try
='test -s conftest.$ac_objext'
14489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14490 (eval $ac_try) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; }; then
14494 ac_lo
=$ac_mid; break
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.
$ac_ext >&5
14499 ac_hi
=`expr '(' $ac_mid ')' - 1`
14500 if test $ac_mid -le $ac_hi; then
14504 ac_mid
=`expr 2 '*' $ac_mid`
14506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.
$ac_ext >&5
14514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14517 # Binary search between lo and hi bounds.
14518 while test "x$ac_lo" != "x$ac_hi"; do
14519 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14520 cat >conftest.
$ac_ext <<_ACEOF
14523 cat confdefs.h
>>conftest.
$ac_ext
14524 cat >>conftest.
$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14526 $ac_includes_default
14530 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14537 rm -f conftest.
$ac_objext
14538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14539 (eval $ac_compile) 2>conftest.er1
14541 grep -v '^ *+' conftest.er1
>conftest.err
14543 cat conftest.err
>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } &&
14546 { ac_try
='test -z "$ac_c_werror_flag"
14547 || test ! -s conftest.err'
14548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549 (eval $ac_try) 2>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; } &&
14553 { ac_try
='test -s conftest.$ac_objext'
14554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14555 (eval $ac_try) 2>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); }; }; then
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.
$ac_ext >&5
14564 ac_lo
=`expr '(' $ac_mid ')' + 1`
14566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14569 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14570 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14571 See \`config.log' for more details." >&5
14572 echo "$as_me: error: cannot compute sizeof (char), 77
14573 See \`config.log' for more details." >&2;}
14574 { (exit 1); exit 1; }; } ;;
14577 if test "$cross_compiling" = yes; then
14578 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14579 See \`config.log' for more details." >&5
14580 echo "$as_me: error: cannot run test program while cross compiling
14581 See \`config.log' for more details." >&2;}
14582 { (exit 1); exit 1; }; }
14584 cat >conftest.
$ac_ext <<_ACEOF
14587 cat confdefs.h
>>conftest.
$ac_ext
14588 cat >>conftest.
$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590 $ac_includes_default
14591 long longval () { return (long) (sizeof (char)); }
14592 unsigned long ulongval () { return (long) (sizeof (char)); }
14594 #include <stdlib.h>
14599 FILE *f = fopen ("conftest.val", "w");
14602 if (((long) (sizeof (char))) < 0)
14604 long i = longval ();
14605 if (i != ((long) (sizeof (char))))
14607 fprintf (f, "%ld\n", i);
14611 unsigned long i = ulongval ();
14612 if (i != ((long) (sizeof (char))))
14614 fprintf (f, "%lu\n", i);
14616 exit (ferror (f) || fclose (f) != 0);
14622 rm -f conftest
$ac_exeext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14624 (eval $ac_link) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; }; then
14633 ac_cv_sizeof_char
=`cat conftest.val`
14635 echo "$as_me: program exited with status $ac_status" >&5
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14639 ( exit $ac_status )
14640 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14641 See \`config.log' for more details." >&5
14642 echo "$as_me: error: cannot compute sizeof (char), 77
14643 See \`config.log' for more details." >&2;}
14644 { (exit 1); exit 1; }; }
14646 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14651 ac_cv_sizeof_char
=0
14654 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14655 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14656 cat >>confdefs.h
<<_ACEOF
14657 #define SIZEOF_CHAR $ac_cv_sizeof_char
14661 echo "$as_me:$LINENO: checking for short" >&5
14662 echo $ECHO_N "checking for short... $ECHO_C" >&6
14663 if test "${ac_cv_type_short+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672 $ac_includes_default
14678 if (sizeof (short))
14684 rm -f conftest.
$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>conftest.er1
14688 grep -v '^ *+' conftest.er1
>conftest.err
14690 cat conftest.err
>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try
='test -z "$ac_c_werror_flag"
14694 || test ! -s conftest.err'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; } &&
14700 { ac_try
='test -s conftest.$ac_objext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 ac_cv_type_short
=yes
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.
$ac_ext >&5
14711 ac_cv_type_short
=no
14713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14715 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14716 echo "${ECHO_T}$ac_cv_type_short" >&6
14718 echo "$as_me:$LINENO: checking size of short" >&5
14719 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14720 if test "${ac_cv_sizeof_short+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 if test "$ac_cv_type_short" = yes; then
14724 # The cast to unsigned long works around a bug in the HP C Compiler
14725 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14726 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14727 # This bug is HP SR number 8606223364.
14728 if test "$cross_compiling" = yes; then
14729 # Depending upon the size, compute the lo and hi bounds.
14730 cat >conftest.
$ac_ext <<_ACEOF
14733 cat confdefs.h
>>conftest.
$ac_ext
14734 cat >>conftest.
$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14736 $ac_includes_default
14740 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14747 rm -f conftest.
$ac_objext
14748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14749 (eval $ac_compile) 2>conftest.er1
14751 grep -v '^ *+' conftest.er1
>conftest.err
14753 cat conftest.err
>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } &&
14756 { ac_try
='test -z "$ac_c_werror_flag"
14757 || test ! -s conftest.err'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; } &&
14763 { ac_try
='test -s conftest.$ac_objext'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; }; then
14771 cat >conftest.
$ac_ext <<_ACEOF
14774 cat confdefs.h
>>conftest.
$ac_ext
14775 cat >>conftest.
$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 $ac_includes_default
14781 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14788 rm -f conftest.
$ac_objext
14789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14790 (eval $ac_compile) 2>conftest.er1
14792 grep -v '^ *+' conftest.er1
>conftest.err
14794 cat conftest.err
>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } &&
14797 { ac_try
='test -z "$ac_c_werror_flag"
14798 || test ! -s conftest.err'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; } &&
14804 { ac_try
='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 ac_hi
=$ac_mid; break
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.
$ac_ext >&5
14815 ac_lo
=`expr $ac_mid + 1`
14816 if test $ac_lo -le $ac_mid; then
14820 ac_mid
=`expr 2 '*' $ac_mid + 1`
14822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.
$ac_ext >&5
14828 cat >conftest.
$ac_ext <<_ACEOF
14831 cat confdefs.h
>>conftest.
$ac_ext
14832 cat >>conftest.
$ac_ext <<_ACEOF
14833 /* end confdefs.h. */
14834 $ac_includes_default
14838 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14845 rm -f conftest.
$ac_objext
14846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14847 (eval $ac_compile) 2>conftest.er1
14849 grep -v '^ *+' conftest.er1
>conftest.err
14851 cat conftest.err
>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); } &&
14854 { ac_try
='test -z "$ac_c_werror_flag"
14855 || test ! -s conftest.err'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; } &&
14861 { ac_try
='test -s conftest.$ac_objext'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; }; then
14869 cat >conftest.
$ac_ext <<_ACEOF
14872 cat confdefs.h
>>conftest.
$ac_ext
14873 cat >>conftest.
$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14875 $ac_includes_default
14879 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14886 rm -f conftest.
$ac_objext
14887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14888 (eval $ac_compile) 2>conftest.er1
14890 grep -v '^ *+' conftest.er1
>conftest.err
14892 cat conftest.err
>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } &&
14895 { ac_try
='test -z "$ac_c_werror_flag"
14896 || test ! -s conftest.err'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; } &&
14902 { ac_try
='test -s conftest.$ac_objext'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14908 ac_lo
=$ac_mid; break
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 ac_hi
=`expr '(' $ac_mid ')' - 1`
14914 if test $ac_mid -le $ac_hi; then
14918 ac_mid
=`expr 2 '*' $ac_mid`
14920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.
$ac_ext >&5
14928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14931 # Binary search between lo and hi bounds.
14932 while test "x$ac_lo" != "x$ac_hi"; do
14933 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14934 cat >conftest.
$ac_ext <<_ACEOF
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 (short))) <= $ac_mid)];
14951 rm -f conftest.
$ac_objext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14953 (eval $ac_compile) 2>conftest.er1
14955 grep -v '^ *+' conftest.er1
>conftest.err
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try
='test -z "$ac_c_werror_flag"
14961 || test ! -s conftest.err'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; } &&
14967 { ac_try
='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14978 ac_lo
=`expr '(' $ac_mid ')' + 1`
14980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14983 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14984 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14985 See \`config.log' for more details." >&5
14986 echo "$as_me: error: cannot compute sizeof (short), 77
14987 See \`config.log' for more details." >&2;}
14988 { (exit 1); exit 1; }; } ;;
14991 if test "$cross_compiling" = yes; then
14992 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14993 See \`config.log' for more details." >&5
14994 echo "$as_me: error: cannot run test program while cross compiling
14995 See \`config.log' for more details." >&2;}
14996 { (exit 1); exit 1; }; }
14998 cat >conftest.
$ac_ext <<_ACEOF
15001 cat confdefs.h
>>conftest.
$ac_ext
15002 cat >>conftest.
$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15004 $ac_includes_default
15005 long longval () { return (long) (sizeof (short)); }
15006 unsigned long ulongval () { return (long) (sizeof (short)); }
15008 #include <stdlib.h>
15013 FILE *f = fopen ("conftest.val", "w");
15016 if (((long) (sizeof (short))) < 0)
15018 long i = longval ();
15019 if (i != ((long) (sizeof (short))))
15021 fprintf (f, "%ld\n", i);
15025 unsigned long i = ulongval ();
15026 if (i != ((long) (sizeof (short))))
15028 fprintf (f, "%lu\n", i);
15030 exit (ferror (f) || fclose (f) != 0);
15036 rm -f conftest
$ac_exeext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15038 (eval $ac_link) 2>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 ac_cv_sizeof_short
=`cat conftest.val`
15049 echo "$as_me: program exited with status $ac_status" >&5
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.
$ac_ext >&5
15053 ( exit $ac_status )
15054 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15055 See \`config.log' for more details." >&5
15056 echo "$as_me: error: cannot compute sizeof (short), 77
15057 See \`config.log' for more details." >&2;}
15058 { (exit 1); exit 1; }; }
15060 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15065 ac_cv_sizeof_short
=0
15068 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15069 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15070 cat >>confdefs.h
<<_ACEOF
15071 #define SIZEOF_SHORT $ac_cv_sizeof_short
15075 echo "$as_me:$LINENO: checking for void *" >&5
15076 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15077 if test "${ac_cv_type_void_p+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15080 cat >conftest.
$ac_ext <<_ACEOF
15083 cat confdefs.h
>>conftest.
$ac_ext
15084 cat >>conftest.
$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 $ac_includes_default
15092 if (sizeof (void *))
15098 rm -f conftest.
$ac_objext
15099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15100 (eval $ac_compile) 2>conftest.er1
15102 grep -v '^ *+' conftest.er1
>conftest.err
15104 cat conftest.err
>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } &&
15107 { ac_try
='test -z "$ac_c_werror_flag"
15108 || test ! -s conftest.err'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; } &&
15114 { ac_try
='test -s conftest.$ac_objext'
15115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15116 (eval $ac_try) 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; }; then
15120 ac_cv_type_void_p
=yes
15122 echo "$as_me: failed program was:" >&5
15123 sed 's/^/| /' conftest.
$ac_ext >&5
15125 ac_cv_type_void_p
=no
15127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15129 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15130 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15132 echo "$as_me:$LINENO: checking size of void *" >&5
15133 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15134 if test "${ac_cv_sizeof_void_p+set}" = set; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 if test "$ac_cv_type_void_p" = yes; then
15138 # The cast to unsigned long works around a bug in the HP C Compiler
15139 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15140 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15141 # This bug is HP SR number 8606223364.
15142 if test "$cross_compiling" = yes; then
15143 # Depending upon the size, compute the lo and hi bounds.
15144 cat >conftest.
$ac_ext <<_ACEOF
15147 cat confdefs.h
>>conftest.
$ac_ext
15148 cat >>conftest.
$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 $ac_includes_default
15154 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15161 rm -f conftest.
$ac_objext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163 (eval $ac_compile) 2>conftest.er1
15165 grep -v '^ *+' conftest.er1
>conftest.err
15167 cat conftest.err
>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } &&
15170 { ac_try
='test -z "$ac_c_werror_flag"
15171 || test ! -s conftest.err'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; } &&
15177 { ac_try
='test -s conftest.$ac_objext'
15178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15179 (eval $ac_try) 2>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }; }; then
15185 cat >conftest.
$ac_ext <<_ACEOF
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 $ac_includes_default
15195 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15202 rm -f conftest.
$ac_objext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15204 (eval $ac_compile) 2>conftest.er1
15206 grep -v '^ *+' conftest.er1
>conftest.err
15208 cat conftest.err
>&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } &&
15211 { ac_try
='test -z "$ac_c_werror_flag"
15212 || test ! -s conftest.err'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; } &&
15218 { ac_try
='test -s conftest.$ac_objext'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; }; then
15224 ac_hi
=$ac_mid; break
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.
$ac_ext >&5
15229 ac_lo
=`expr $ac_mid + 1`
15230 if test $ac_lo -le $ac_mid; then
15234 ac_mid
=`expr 2 '*' $ac_mid + 1`
15236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.
$ac_ext >&5
15242 cat >conftest.
$ac_ext <<_ACEOF
15245 cat confdefs.h
>>conftest.
$ac_ext
15246 cat >>conftest.
$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248 $ac_includes_default
15252 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15259 rm -f conftest.
$ac_objext
15260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15261 (eval $ac_compile) 2>conftest.er1
15263 grep -v '^ *+' conftest.er1
>conftest.err
15265 cat conftest.err
>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } &&
15268 { ac_try
='test -z "$ac_c_werror_flag"
15269 || test ! -s conftest.err'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; } &&
15275 { ac_try
='test -s conftest.$ac_objext'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15283 cat >conftest.
$ac_ext <<_ACEOF
15286 cat confdefs.h
>>conftest.
$ac_ext
15287 cat >>conftest.
$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15289 $ac_includes_default
15293 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15300 rm -f conftest.
$ac_objext
15301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15302 (eval $ac_compile) 2>conftest.er1
15304 grep -v '^ *+' conftest.er1
>conftest.err
15306 cat conftest.err
>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); } &&
15309 { ac_try
='test -z "$ac_c_werror_flag"
15310 || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try
='test -s conftest.$ac_objext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_lo
=$ac_mid; break
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15327 ac_hi
=`expr '(' $ac_mid ')' - 1`
15328 if test $ac_mid -le $ac_hi; then
15332 ac_mid
=`expr 2 '*' $ac_mid`
15334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15337 echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.
$ac_ext >&5
15342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15345 # Binary search between lo and hi bounds.
15346 while test "x$ac_lo" != "x$ac_hi"; do
15347 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15348 cat >conftest.
$ac_ext <<_ACEOF
15351 cat confdefs.h
>>conftest.
$ac_ext
15352 cat >>conftest.
$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15354 $ac_includes_default
15358 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15365 rm -f conftest.
$ac_objext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15367 (eval $ac_compile) 2>conftest.er1
15369 grep -v '^ *+' conftest.er1
>conftest.err
15371 cat conftest.err
>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } &&
15374 { ac_try
='test -z "$ac_c_werror_flag"
15375 || test ! -s conftest.err'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; } &&
15381 { ac_try
='test -s conftest.$ac_objext'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 ac_lo
=`expr '(' $ac_mid ')' + 1`
15394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15397 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15398 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15399 See \`config.log' for more details." >&5
15400 echo "$as_me: error: cannot compute sizeof (void *), 77
15401 See \`config.log' for more details." >&2;}
15402 { (exit 1); exit 1; }; } ;;
15405 if test "$cross_compiling" = yes; then
15406 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15407 See \`config.log' for more details." >&5
15408 echo "$as_me: error: cannot run test program while cross compiling
15409 See \`config.log' for more details." >&2;}
15410 { (exit 1); exit 1; }; }
15412 cat >conftest.
$ac_ext <<_ACEOF
15415 cat confdefs.h
>>conftest.
$ac_ext
15416 cat >>conftest.
$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418 $ac_includes_default
15419 long longval () { return (long) (sizeof (void *)); }
15420 unsigned long ulongval () { return (long) (sizeof (void *)); }
15422 #include <stdlib.h>
15427 FILE *f = fopen ("conftest.val", "w");
15430 if (((long) (sizeof (void *))) < 0)
15432 long i = longval ();
15433 if (i != ((long) (sizeof (void *))))
15435 fprintf (f, "%ld\n", i);
15439 unsigned long i = ulongval ();
15440 if (i != ((long) (sizeof (void *))))
15442 fprintf (f, "%lu\n", i);
15444 exit (ferror (f) || fclose (f) != 0);
15450 rm -f conftest
$ac_exeext
15451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15452 (eval $ac_link) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15461 ac_cv_sizeof_void_p
=`cat conftest.val`
15463 echo "$as_me: program exited with status $ac_status" >&5
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.
$ac_ext >&5
15467 ( exit $ac_status )
15468 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15469 See \`config.log' for more details." >&5
15470 echo "$as_me: error: cannot compute sizeof (void *), 77
15471 See \`config.log' for more details." >&2;}
15472 { (exit 1); exit 1; }; }
15474 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15479 ac_cv_sizeof_void_p
=0
15482 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15483 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15484 cat >>confdefs.h
<<_ACEOF
15485 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15489 echo "$as_me:$LINENO: checking for int" >&5
15490 echo $ECHO_N "checking for int... $ECHO_C" >&6
15491 if test "${ac_cv_type_int+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 cat >conftest.
$ac_ext <<_ACEOF
15497 cat confdefs.h
>>conftest.
$ac_ext
15498 cat >>conftest.
$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15500 $ac_includes_default
15512 rm -f conftest.
$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514 (eval $ac_compile) 2>conftest.er1
15516 grep -v '^ *+' conftest.er1
>conftest.err
15518 cat conftest.err
>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); } &&
15521 { ac_try
='test -z "$ac_c_werror_flag"
15522 || test ! -s conftest.err'
15523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524 (eval $ac_try) 2>&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); }; } &&
15528 { ac_try
='test -s conftest.$ac_objext'
15529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15530 (eval $ac_try) 2>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); }; }; then
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.
$ac_ext >&5
15541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15543 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15544 echo "${ECHO_T}$ac_cv_type_int" >&6
15546 echo "$as_me:$LINENO: checking size of int" >&5
15547 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15548 if test "${ac_cv_sizeof_int+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 if test "$ac_cv_type_int" = yes; then
15552 # The cast to unsigned long works around a bug in the HP C Compiler
15553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15555 # This bug is HP SR number 8606223364.
15556 if test "$cross_compiling" = yes; then
15557 # Depending upon the size, compute the lo and hi bounds.
15558 cat >conftest.
$ac_ext <<_ACEOF
15561 cat confdefs.h
>>conftest.
$ac_ext
15562 cat >>conftest.
$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15564 $ac_includes_default
15568 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15575 rm -f conftest.
$ac_objext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577 (eval $ac_compile) 2>conftest.er1
15579 grep -v '^ *+' conftest.er1
>conftest.err
15581 cat conftest.err
>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try
='test -z "$ac_c_werror_flag"
15585 || test ! -s conftest.err'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 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
15602 cat confdefs.h
>>conftest.
$ac_ext
15603 cat >>conftest.
$ac_ext <<_ACEOF
15604 /* end confdefs.h. */
15605 $ac_includes_default
15609 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15616 rm -f conftest.
$ac_objext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15618 (eval $ac_compile) 2>conftest.er1
15620 grep -v '^ *+' conftest.er1
>conftest.err
15622 cat conftest.err
>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try
='test -z "$ac_c_werror_flag"
15626 || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try
='test -s conftest.$ac_objext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 ac_hi
=$ac_mid; break
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.
$ac_ext >&5
15643 ac_lo
=`expr $ac_mid + 1`
15644 if test $ac_lo -le $ac_mid; then
15648 ac_mid
=`expr 2 '*' $ac_mid + 1`
15650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.
$ac_ext >&5
15656 cat >conftest.
$ac_ext <<_ACEOF
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 (int))) < 0)];
15673 rm -f conftest.
$ac_objext
15674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15675 (eval $ac_compile) 2>conftest.er1
15677 grep -v '^ *+' conftest.er1
>conftest.err
15679 cat conftest.err
>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } &&
15682 { ac_try
='test -z "$ac_c_werror_flag"
15683 || test ! -s conftest.err'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; } &&
15689 { ac_try
='test -s conftest.$ac_objext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15697 cat >conftest.
$ac_ext <<_ACEOF
15700 cat confdefs.h
>>conftest.
$ac_ext
15701 cat >>conftest.
$ac_ext <<_ACEOF
15702 /* end confdefs.h. */
15703 $ac_includes_default
15707 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15714 rm -f conftest.
$ac_objext
15715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15716 (eval $ac_compile) 2>conftest.er1
15718 grep -v '^ *+' conftest.er1
>conftest.err
15720 cat conftest.err
>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); } &&
15723 { ac_try
='test -z "$ac_c_werror_flag"
15724 || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 ac_lo
=$ac_mid; break
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 ac_hi
=`expr '(' $ac_mid ')' - 1`
15742 if test $ac_mid -le $ac_hi; then
15746 ac_mid
=`expr 2 '*' $ac_mid`
15748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.
$ac_ext >&5
15756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15759 # Binary search between lo and hi bounds.
15760 while test "x$ac_lo" != "x$ac_hi"; do
15761 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15762 cat >conftest.
$ac_ext <<_ACEOF
15765 cat confdefs.h
>>conftest.
$ac_ext
15766 cat >>conftest.
$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15768 $ac_includes_default
15772 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15779 rm -f conftest.
$ac_objext
15780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15781 (eval $ac_compile) 2>conftest.er1
15783 grep -v '^ *+' conftest.er1
>conftest.err
15785 cat conftest.err
>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } &&
15788 { ac_try
='test -z "$ac_c_werror_flag"
15789 || test ! -s conftest.err'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; } &&
15795 { ac_try
='test -s conftest.$ac_objext'
15796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15797 (eval $ac_try) 2>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); }; }; then
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.
$ac_ext >&5
15806 ac_lo
=`expr '(' $ac_mid ')' + 1`
15808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15811 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15812 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15813 See \`config.log' for more details." >&5
15814 echo "$as_me: error: cannot compute sizeof (int), 77
15815 See \`config.log' for more details." >&2;}
15816 { (exit 1); exit 1; }; } ;;
15819 if test "$cross_compiling" = yes; then
15820 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15821 See \`config.log' for more details." >&5
15822 echo "$as_me: error: cannot run test program while cross compiling
15823 See \`config.log' for more details." >&2;}
15824 { (exit 1); exit 1; }; }
15826 cat >conftest.
$ac_ext <<_ACEOF
15829 cat confdefs.h
>>conftest.
$ac_ext
15830 cat >>conftest.
$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15832 $ac_includes_default
15833 long longval () { return (long) (sizeof (int)); }
15834 unsigned long ulongval () { return (long) (sizeof (int)); }
15836 #include <stdlib.h>
15841 FILE *f = fopen ("conftest.val", "w");
15844 if (((long) (sizeof (int))) < 0)
15846 long i = longval ();
15847 if (i != ((long) (sizeof (int))))
15849 fprintf (f, "%ld\n", i);
15853 unsigned long i = ulongval ();
15854 if (i != ((long) (sizeof (int))))
15856 fprintf (f, "%lu\n", i);
15858 exit (ferror (f) || fclose (f) != 0);
15864 rm -f conftest
$ac_exeext
15865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15866 (eval $ac_link) 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871 (eval $ac_try) 2>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; }; then
15875 ac_cv_sizeof_int
=`cat conftest.val`
15877 echo "$as_me: program exited with status $ac_status" >&5
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.
$ac_ext >&5
15881 ( exit $ac_status )
15882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15883 See \`config.log' for more details." >&5
15884 echo "$as_me: error: cannot compute sizeof (int), 77
15885 See \`config.log' for more details." >&2;}
15886 { (exit 1); exit 1; }; }
15888 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15896 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15897 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15898 cat >>confdefs.h
<<_ACEOF
15899 #define SIZEOF_INT $ac_cv_sizeof_int
15903 echo "$as_me:$LINENO: checking for long" >&5
15904 echo $ECHO_N "checking for long... $ECHO_C" >&6
15905 if test "${ac_cv_type_long+set}" = set; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 cat >conftest.
$ac_ext <<_ACEOF
15911 cat confdefs.h
>>conftest.
$ac_ext
15912 cat >>conftest.
$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15914 $ac_includes_default
15926 rm -f conftest.
$ac_objext
15927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15928 (eval $ac_compile) 2>conftest.er1
15930 grep -v '^ *+' conftest.er1
>conftest.err
15932 cat conftest.err
>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } &&
15935 { ac_try
='test -z "$ac_c_werror_flag"
15936 || test ! -s conftest.err'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; } &&
15942 { ac_try
='test -s conftest.$ac_objext'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; }; then
15948 ac_cv_type_long
=yes
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.
$ac_ext >&5
15955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15957 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15958 echo "${ECHO_T}$ac_cv_type_long" >&6
15960 echo "$as_me:$LINENO: checking size of long" >&5
15961 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15962 if test "${ac_cv_sizeof_long+set}" = set; then
15963 echo $ECHO_N "(cached) $ECHO_C" >&6
15965 if test "$ac_cv_type_long" = yes; then
15966 # The cast to unsigned long works around a bug in the HP C Compiler
15967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15969 # This bug is HP SR number 8606223364.
15970 if test "$cross_compiling" = yes; then
15971 # Depending upon the size, compute the lo and hi bounds.
15972 cat >conftest.
$ac_ext <<_ACEOF
15975 cat confdefs.h
>>conftest.
$ac_ext
15976 cat >>conftest.
$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 $ac_includes_default
15982 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15989 rm -f conftest.
$ac_objext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15991 (eval $ac_compile) 2>conftest.er1
15993 grep -v '^ *+' conftest.er1
>conftest.err
15995 cat conftest.err
>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try
='test -z "$ac_c_werror_flag"
15999 || test ! -s conftest.err'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; } &&
16005 { ac_try
='test -s conftest.$ac_objext'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; }; then
16013 cat >conftest.
$ac_ext <<_ACEOF
16016 cat confdefs.h
>>conftest.
$ac_ext
16017 cat >>conftest.
$ac_ext <<_ACEOF
16018 /* end confdefs.h. */
16019 $ac_includes_default
16023 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16030 rm -f conftest.
$ac_objext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032 (eval $ac_compile) 2>conftest.er1
16034 grep -v '^ *+' conftest.er1
>conftest.err
16036 cat conftest.err
>&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try
='test -z "$ac_c_werror_flag"
16040 || test ! -s conftest.err'
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); }; } &&
16046 { ac_try
='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_hi
=$ac_mid; break
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.
$ac_ext >&5
16057 ac_lo
=`expr $ac_mid + 1`
16058 if test $ac_lo -le $ac_mid; then
16062 ac_mid
=`expr 2 '*' $ac_mid + 1`
16064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.
$ac_ext >&5
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16080 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16087 rm -f conftest.
$ac_objext
16088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16089 (eval $ac_compile) 2>conftest.er1
16091 grep -v '^ *+' conftest.er1
>conftest.err
16093 cat conftest.err
>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } &&
16096 { ac_try
='test -z "$ac_c_werror_flag"
16097 || test ! -s conftest.err'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; } &&
16103 { ac_try
='test -s conftest.$ac_objext'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; }; then
16111 cat >conftest.
$ac_ext <<_ACEOF
16114 cat confdefs.h
>>conftest.
$ac_ext
16115 cat >>conftest.
$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 $ac_includes_default
16121 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16128 rm -f conftest.
$ac_objext
16129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16130 (eval $ac_compile) 2>conftest.er1
16132 grep -v '^ *+' conftest.er1
>conftest.err
16134 cat conftest.err
>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } &&
16137 { ac_try
='test -z "$ac_c_werror_flag"
16138 || test ! -s conftest.err'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; } &&
16144 { ac_try
='test -s conftest.$ac_objext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 ac_lo
=$ac_mid; break
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 ac_hi
=`expr '(' $ac_mid ')' - 1`
16156 if test $ac_mid -le $ac_hi; then
16160 ac_mid
=`expr 2 '*' $ac_mid`
16162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.
$ac_ext >&5
16170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16173 # Binary search between lo and hi bounds.
16174 while test "x$ac_lo" != "x$ac_hi"; do
16175 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16176 cat >conftest.
$ac_ext <<_ACEOF
16179 cat confdefs.h
>>conftest.
$ac_ext
16180 cat >>conftest.
$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16182 $ac_includes_default
16186 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16193 rm -f conftest.
$ac_objext
16194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16195 (eval $ac_compile) 2>conftest.er1
16197 grep -v '^ *+' conftest.er1
>conftest.err
16199 cat conftest.err
>&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } &&
16202 { ac_try
='test -z "$ac_c_werror_flag"
16203 || test ! -s conftest.err'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; } &&
16209 { ac_try
='test -s conftest.$ac_objext'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; }; then
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.
$ac_ext >&5
16220 ac_lo
=`expr '(' $ac_mid ')' + 1`
16222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16225 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16226 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16227 See \`config.log' for more details." >&5
16228 echo "$as_me: error: cannot compute sizeof (long), 77
16229 See \`config.log' for more details." >&2;}
16230 { (exit 1); exit 1; }; } ;;
16233 if test "$cross_compiling" = yes; then
16234 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16235 See \`config.log' for more details." >&5
16236 echo "$as_me: error: cannot run test program while cross compiling
16237 See \`config.log' for more details." >&2;}
16238 { (exit 1); exit 1; }; }
16240 cat >conftest.
$ac_ext <<_ACEOF
16243 cat confdefs.h
>>conftest.
$ac_ext
16244 cat >>conftest.
$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 $ac_includes_default
16247 long longval () { return (long) (sizeof (long)); }
16248 unsigned long ulongval () { return (long) (sizeof (long)); }
16250 #include <stdlib.h>
16255 FILE *f = fopen ("conftest.val", "w");
16258 if (((long) (sizeof (long))) < 0)
16260 long i = longval ();
16261 if (i != ((long) (sizeof (long))))
16263 fprintf (f, "%ld\n", i);
16267 unsigned long i = ulongval ();
16268 if (i != ((long) (sizeof (long))))
16270 fprintf (f, "%lu\n", i);
16272 exit (ferror (f) || fclose (f) != 0);
16278 rm -f conftest
$ac_exeext
16279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16280 (eval $ac_link) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; }; then
16289 ac_cv_sizeof_long
=`cat conftest.val`
16291 echo "$as_me: program exited with status $ac_status" >&5
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16295 ( exit $ac_status )
16296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16297 See \`config.log' for more details." >&5
16298 echo "$as_me: error: cannot compute sizeof (long), 77
16299 See \`config.log' for more details." >&2;}
16300 { (exit 1); exit 1; }; }
16302 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16307 ac_cv_sizeof_long
=0
16310 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16311 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16312 cat >>confdefs.h
<<_ACEOF
16313 #define SIZEOF_LONG $ac_cv_sizeof_long
16317 echo "$as_me:$LINENO: checking for size_t" >&5
16318 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16319 if test "${ac_cv_type_size_t+set}" = set; then
16320 echo $ECHO_N "(cached) $ECHO_C" >&6
16322 cat >conftest.
$ac_ext <<_ACEOF
16325 cat confdefs.h
>>conftest.
$ac_ext
16326 cat >>conftest.
$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16334 if (sizeof (size_t))
16340 rm -f conftest.
$ac_objext
16341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16342 (eval $ac_compile) 2>conftest.er1
16344 grep -v '^ *+' conftest.er1
>conftest.err
16346 cat conftest.err
>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } &&
16349 { ac_try
='test -z "$ac_c_werror_flag"
16350 || test ! -s conftest.err'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; } &&
16356 { ac_try
='test -s conftest.$ac_objext'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; }; then
16362 ac_cv_type_size_t
=yes
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.
$ac_ext >&5
16367 ac_cv_type_size_t
=no
16369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16371 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16372 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16374 echo "$as_me:$LINENO: checking size of size_t" >&5
16375 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16376 if test "${ac_cv_sizeof_size_t+set}" = set; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 if test "$ac_cv_type_size_t" = yes; then
16380 # The cast to unsigned long works around a bug in the HP C Compiler
16381 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16382 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16383 # This bug is HP SR number 8606223364.
16384 if test "$cross_compiling" = yes; then
16385 # Depending upon the size, compute the lo and hi bounds.
16386 cat >conftest.
$ac_ext <<_ACEOF
16389 cat confdefs.h
>>conftest.
$ac_ext
16390 cat >>conftest.
$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16392 $ac_includes_default
16396 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16403 rm -f conftest.
$ac_objext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16405 (eval $ac_compile) 2>conftest.er1
16407 grep -v '^ *+' conftest.er1
>conftest.err
16409 cat conftest.err
>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try
='test -z "$ac_c_werror_flag"
16413 || test ! -s conftest.err'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; } &&
16419 { ac_try
='test -s conftest.$ac_objext'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; }; then
16427 cat >conftest.
$ac_ext <<_ACEOF
16430 cat confdefs.h
>>conftest.
$ac_ext
16431 cat >>conftest.
$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 $ac_includes_default
16437 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16444 rm -f conftest.
$ac_objext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16446 (eval $ac_compile) 2>conftest.er1
16448 grep -v '^ *+' conftest.er1
>conftest.err
16450 cat conftest.err
>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try
='test -z "$ac_c_werror_flag"
16454 || test ! -s conftest.err'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; } &&
16460 { ac_try
='test -s conftest.$ac_objext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_hi
=$ac_mid; break
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.
$ac_ext >&5
16471 ac_lo
=`expr $ac_mid + 1`
16472 if test $ac_lo -le $ac_mid; then
16476 ac_mid
=`expr 2 '*' $ac_mid + 1`
16478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.
$ac_ext >&5
16484 cat >conftest.
$ac_ext <<_ACEOF
16487 cat confdefs.h
>>conftest.
$ac_ext
16488 cat >>conftest.
$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 $ac_includes_default
16494 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16501 rm -f conftest.
$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>conftest.er1
16505 grep -v '^ *+' conftest.er1
>conftest.err
16507 cat conftest.err
>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } &&
16510 { ac_try
='test -z "$ac_c_werror_flag"
16511 || test ! -s conftest.err'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; } &&
16517 { ac_try
='test -s conftest.$ac_objext'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; }; then
16525 cat >conftest.
$ac_ext <<_ACEOF
16528 cat confdefs.h
>>conftest.
$ac_ext
16529 cat >>conftest.
$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 $ac_includes_default
16535 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16542 rm -f conftest.
$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>conftest.er1
16546 grep -v '^ *+' conftest.er1
>conftest.err
16548 cat conftest.err
>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try
='test -z "$ac_c_werror_flag"
16552 || test ! -s conftest.err'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; } &&
16558 { ac_try
='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16564 ac_lo
=$ac_mid; break
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 ac_hi
=`expr '(' $ac_mid ')' - 1`
16570 if test $ac_mid -le $ac_hi; then
16574 ac_mid
=`expr 2 '*' $ac_mid`
16576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.
$ac_ext >&5
16584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16587 # Binary search between lo and hi bounds.
16588 while test "x$ac_lo" != "x$ac_hi"; do
16589 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16590 cat >conftest.
$ac_ext <<_ACEOF
16593 cat confdefs.h
>>conftest.
$ac_ext
16594 cat >>conftest.
$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596 $ac_includes_default
16600 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16607 rm -f conftest.
$ac_objext
16608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16609 (eval $ac_compile) 2>conftest.er1
16611 grep -v '^ *+' conftest.er1
>conftest.err
16613 cat conftest.err
>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } &&
16616 { ac_try
='test -z "$ac_c_werror_flag"
16617 || test ! -s conftest.err'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; } &&
16623 { ac_try
='test -s conftest.$ac_objext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.
$ac_ext >&5
16634 ac_lo
=`expr '(' $ac_mid ')' + 1`
16636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16639 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16640 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16641 See \`config.log' for more details." >&5
16642 echo "$as_me: error: cannot compute sizeof (size_t), 77
16643 See \`config.log' for more details." >&2;}
16644 { (exit 1); exit 1; }; } ;;
16647 if test "$cross_compiling" = yes; then
16648 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16649 See \`config.log' for more details." >&5
16650 echo "$as_me: error: cannot run test program while cross compiling
16651 See \`config.log' for more details." >&2;}
16652 { (exit 1); exit 1; }; }
16654 cat >conftest.
$ac_ext <<_ACEOF
16657 cat confdefs.h
>>conftest.
$ac_ext
16658 cat >>conftest.
$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 $ac_includes_default
16661 long longval () { return (long) (sizeof (size_t)); }
16662 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16664 #include <stdlib.h>
16669 FILE *f = fopen ("conftest.val", "w");
16672 if (((long) (sizeof (size_t))) < 0)
16674 long i = longval ();
16675 if (i != ((long) (sizeof (size_t))))
16677 fprintf (f, "%ld\n", i);
16681 unsigned long i = ulongval ();
16682 if (i != ((long) (sizeof (size_t))))
16684 fprintf (f, "%lu\n", i);
16686 exit (ferror (f) || fclose (f) != 0);
16692 rm -f conftest
$ac_exeext
16693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16694 (eval $ac_link) 2>&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 ac_cv_sizeof_size_t
=`cat conftest.val`
16705 echo "$as_me: program exited with status $ac_status" >&5
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.
$ac_ext >&5
16709 ( exit $ac_status )
16710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16711 See \`config.log' for more details." >&5
16712 echo "$as_me: error: cannot compute sizeof (size_t), 77
16713 See \`config.log' for more details." >&2;}
16714 { (exit 1); exit 1; }; }
16716 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16721 ac_cv_sizeof_size_t
=0
16724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16725 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16726 cat >>confdefs.h
<<_ACEOF
16727 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16734 echo "$as_me:$LINENO: checking for long long" >&5
16735 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16736 if test "${ac_cv_type_long_long+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 cat >conftest.
$ac_ext <<_ACEOF
16742 cat confdefs.h
>>conftest.
$ac_ext
16743 cat >>conftest.
$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 $ac_includes_default
16749 if ((long long *) 0)
16751 if (sizeof (long long))
16757 rm -f conftest.
$ac_objext
16758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16759 (eval $ac_compile) 2>conftest.er1
16761 grep -v '^ *+' conftest.er1
>conftest.err
16763 cat conftest.err
>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); } &&
16766 { ac_try
='test -z "$ac_c_werror_flag"
16767 || test ! -s conftest.err'
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); }; } &&
16773 { ac_try
='test -s conftest.$ac_objext'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; }; then
16779 ac_cv_type_long_long
=yes
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 ac_cv_type_long_long
=no
16786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16788 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16789 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16791 echo "$as_me:$LINENO: checking size of long long" >&5
16792 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16793 if test "${ac_cv_sizeof_long_long+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 if test "$ac_cv_type_long_long" = yes; then
16797 # The cast to unsigned long works around a bug in the HP C Compiler
16798 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16799 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16800 # This bug is HP SR number 8606223364.
16801 if test "$cross_compiling" = yes; then
16802 # Depending upon the size, compute the lo and hi bounds.
16803 cat >conftest.
$ac_ext <<_ACEOF
16806 cat confdefs.h
>>conftest.
$ac_ext
16807 cat >>conftest.
$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 $ac_includes_default
16813 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16820 rm -f conftest.
$ac_objext
16821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16822 (eval $ac_compile) 2>conftest.er1
16824 grep -v '^ *+' conftest.er1
>conftest.err
16826 cat conftest.err
>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } &&
16829 { ac_try
='test -z "$ac_c_werror_flag"
16830 || test ! -s conftest.err'
16831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16832 (eval $ac_try) 2>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); }; } &&
16836 { ac_try
='test -s conftest.$ac_objext'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; }; then
16844 cat >conftest.
$ac_ext <<_ACEOF
16847 cat confdefs.h
>>conftest.
$ac_ext
16848 cat >>conftest.
$ac_ext <<_ACEOF
16849 /* end confdefs.h. */
16850 $ac_includes_default
16854 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16861 rm -f conftest.
$ac_objext
16862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16863 (eval $ac_compile) 2>conftest.er1
16865 grep -v '^ *+' conftest.er1
>conftest.err
16867 cat conftest.err
>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } &&
16870 { ac_try
='test -z "$ac_c_werror_flag"
16871 || test ! -s conftest.err'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; } &&
16877 { ac_try
='test -s conftest.$ac_objext'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16883 ac_hi
=$ac_mid; break
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.
$ac_ext >&5
16888 ac_lo
=`expr $ac_mid + 1`
16889 if test $ac_lo -le $ac_mid; then
16893 ac_mid
=`expr 2 '*' $ac_mid + 1`
16895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16898 echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.
$ac_ext >&5
16901 cat >conftest.
$ac_ext <<_ACEOF
16904 cat confdefs.h
>>conftest.
$ac_ext
16905 cat >>conftest.
$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16907 $ac_includes_default
16911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16918 rm -f conftest.
$ac_objext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16920 (eval $ac_compile) 2>conftest.er1
16922 grep -v '^ *+' conftest.er1
>conftest.err
16924 cat conftest.err
>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } &&
16927 { ac_try
='test -z "$ac_c_werror_flag"
16928 || test ! -s conftest.err'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; } &&
16934 { ac_try
='test -s conftest.$ac_objext'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; }; then
16942 cat >conftest.
$ac_ext <<_ACEOF
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))) >= $ac_mid)];
16959 rm -f conftest.
$ac_objext
16960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16961 (eval $ac_compile) 2>conftest.er1
16963 grep -v '^ *+' conftest.er1
>conftest.err
16965 cat conftest.err
>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); } &&
16968 { ac_try
='test -z "$ac_c_werror_flag"
16969 || test ! -s conftest.err'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; } &&
16975 { ac_try
='test -s conftest.$ac_objext'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; }; then
16981 ac_lo
=$ac_mid; break
16983 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.
$ac_ext >&5
16986 ac_hi
=`expr '(' $ac_mid ')' - 1`
16987 if test $ac_mid -le $ac_hi; then
16991 ac_mid
=`expr 2 '*' $ac_mid`
16993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.
$ac_ext >&5
17001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17004 # Binary search between lo and hi bounds.
17005 while test "x$ac_lo" != "x$ac_hi"; do
17006 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17007 cat >conftest.
$ac_ext <<_ACEOF
17010 cat confdefs.h
>>conftest.
$ac_ext
17011 cat >>conftest.
$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17017 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17024 rm -f conftest.
$ac_objext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17026 (eval $ac_compile) 2>conftest.er1
17028 grep -v '^ *+' conftest.er1
>conftest.err
17030 cat conftest.err
>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try
='test -z "$ac_c_werror_flag"
17034 || test ! -s conftest.err'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; } &&
17040 { ac_try
='test -s conftest.$ac_objext'
17041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17042 (eval $ac_try) 2>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); }; }; then
17048 echo "$as_me: failed program was:" >&5
17049 sed 's/^/| /' conftest.
$ac_ext >&5
17051 ac_lo
=`expr '(' $ac_mid ')' + 1`
17053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17056 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17057 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17058 See \`config.log' for more details." >&5
17059 echo "$as_me: error: cannot compute sizeof (long long), 77
17060 See \`config.log' for more details." >&2;}
17061 { (exit 1); exit 1; }; } ;;
17064 if test "$cross_compiling" = yes; then
17065 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17066 See \`config.log' for more details." >&5
17067 echo "$as_me: error: cannot run test program while cross compiling
17068 See \`config.log' for more details." >&2;}
17069 { (exit 1); exit 1; }; }
17071 cat >conftest.
$ac_ext <<_ACEOF
17074 cat confdefs.h
>>conftest.
$ac_ext
17075 cat >>conftest.
$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 $ac_includes_default
17078 long longval () { return (long) (sizeof (long long)); }
17079 unsigned long ulongval () { return (long) (sizeof (long long)); }
17081 #include <stdlib.h>
17086 FILE *f = fopen ("conftest.val", "w");
17089 if (((long) (sizeof (long long))) < 0)
17091 long i = longval ();
17092 if (i != ((long) (sizeof (long long))))
17094 fprintf (f, "%ld\n", i);
17098 unsigned long i = ulongval ();
17099 if (i != ((long) (sizeof (long long))))
17101 fprintf (f, "%lu\n", i);
17103 exit (ferror (f) || fclose (f) != 0);
17109 rm -f conftest
$ac_exeext
17110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17111 (eval $ac_link) 2>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17120 ac_cv_sizeof_long_long
=`cat conftest.val`
17122 echo "$as_me: program exited with status $ac_status" >&5
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.
$ac_ext >&5
17126 ( exit $ac_status )
17127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17128 See \`config.log' for more details." >&5
17129 echo "$as_me: error: cannot compute sizeof (long long), 77
17130 See \`config.log' for more details." >&2;}
17131 { (exit 1); exit 1; }; }
17133 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17138 ac_cv_sizeof_long_long
=0
17141 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17142 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17143 cat >>confdefs.h
<<_ACEOF
17144 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17150 echo "$as_me:$LINENO: checking for long long" >&5
17151 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17152 if test "${ac_cv_type_long_long+set}" = set; then
17153 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 cat >conftest.
$ac_ext <<_ACEOF
17158 cat confdefs.h
>>conftest.
$ac_ext
17159 cat >>conftest.
$ac_ext <<_ACEOF
17160 /* end confdefs.h. */
17161 $ac_includes_default
17165 if ((long long *) 0)
17167 if (sizeof (long long))
17173 rm -f conftest.
$ac_objext
17174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17175 (eval $ac_compile) 2>conftest.er1
17177 grep -v '^ *+' conftest.er1
>conftest.err
17179 cat conftest.err
>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } &&
17182 { ac_try
='test -z "$ac_c_werror_flag"
17183 || test ! -s conftest.err'
17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17185 (eval $ac_try) 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; } &&
17189 { ac_try
='test -s conftest.$ac_objext'
17190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191 (eval $ac_try) 2>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; }; then
17195 ac_cv_type_long_long
=yes
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.
$ac_ext >&5
17200 ac_cv_type_long_long
=no
17202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17204 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17205 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17207 echo "$as_me:$LINENO: checking size of long long" >&5
17208 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17209 if test "${ac_cv_sizeof_long_long+set}" = set; then
17210 echo $ECHO_N "(cached) $ECHO_C" >&6
17212 if test "$ac_cv_type_long_long" = yes; then
17213 # The cast to unsigned long works around a bug in the HP C Compiler
17214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17216 # This bug is HP SR number 8606223364.
17217 if test "$cross_compiling" = yes; then
17218 # Depending upon the size, compute the lo and hi bounds.
17219 cat >conftest.
$ac_ext <<_ACEOF
17222 cat confdefs.h
>>conftest.
$ac_ext
17223 cat >>conftest.
$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 $ac_includes_default
17229 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17236 rm -f conftest.
$ac_objext
17237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17238 (eval $ac_compile) 2>conftest.er1
17240 grep -v '^ *+' conftest.er1
>conftest.err
17242 cat conftest.err
>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } &&
17245 { ac_try
='test -z "$ac_c_werror_flag"
17246 || test ! -s conftest.err'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; } &&
17252 { ac_try
='test -s conftest.$ac_objext'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17260 cat >conftest.
$ac_ext <<_ACEOF
17263 cat confdefs.h
>>conftest.
$ac_ext
17264 cat >>conftest.
$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 $ac_includes_default
17270 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17277 rm -f conftest.
$ac_objext
17278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17279 (eval $ac_compile) 2>conftest.er1
17281 grep -v '^ *+' conftest.er1
>conftest.err
17283 cat conftest.err
>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try
='test -z "$ac_c_werror_flag"
17287 || test ! -s conftest.err'
17288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289 (eval $ac_try) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; } &&
17293 { ac_try
='test -s conftest.$ac_objext'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; }; then
17299 ac_hi
=$ac_mid; break
17301 echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.
$ac_ext >&5
17304 ac_lo
=`expr $ac_mid + 1`
17305 if test $ac_lo -le $ac_mid; then
17309 ac_mid
=`expr 2 '*' $ac_mid + 1`
17311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.
$ac_ext >&5
17317 cat >conftest.
$ac_ext <<_ACEOF
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17334 rm -f conftest.
$ac_objext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17336 (eval $ac_compile) 2>conftest.er1
17338 grep -v '^ *+' conftest.er1
>conftest.err
17340 cat conftest.err
>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try
='test -z "$ac_c_werror_flag"
17344 || test ! -s conftest.err'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; } &&
17350 { ac_try
='test -s conftest.$ac_objext'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17358 cat >conftest.
$ac_ext <<_ACEOF
17361 cat confdefs.h
>>conftest.
$ac_ext
17362 cat >>conftest.
$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17364 $ac_includes_default
17368 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17375 rm -f conftest.
$ac_objext
17376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17377 (eval $ac_compile) 2>conftest.er1
17379 grep -v '^ *+' conftest.er1
>conftest.err
17381 cat conftest.err
>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); } &&
17384 { ac_try
='test -z "$ac_c_werror_flag"
17385 || test ! -s conftest.err'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; } &&
17391 { ac_try
='test -s conftest.$ac_objext'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; }; then
17397 ac_lo
=$ac_mid; break
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.
$ac_ext >&5
17402 ac_hi
=`expr '(' $ac_mid ')' - 1`
17403 if test $ac_mid -le $ac_hi; then
17407 ac_mid
=`expr 2 '*' $ac_mid`
17409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.
$ac_ext >&5
17417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17420 # Binary search between lo and hi bounds.
17421 while test "x$ac_lo" != "x$ac_hi"; do
17422 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17423 cat >conftest.
$ac_ext <<_ACEOF
17426 cat confdefs.h
>>conftest.
$ac_ext
17427 cat >>conftest.
$ac_ext <<_ACEOF
17428 /* end confdefs.h. */
17429 $ac_includes_default
17433 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17440 rm -f conftest.
$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17444 grep -v '^ *+' conftest.er1
>conftest.err
17446 cat conftest.err
>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try
='test -z "$ac_c_werror_flag"
17450 || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try
='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.
$ac_ext >&5
17467 ac_lo
=`expr '(' $ac_mid ')' + 1`
17469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17472 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17473 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17474 See \`config.log' for more details." >&5
17475 echo "$as_me: error: cannot compute sizeof (long long), 77
17476 See \`config.log' for more details." >&2;}
17477 { (exit 1); exit 1; }; } ;;
17480 if test "$cross_compiling" = yes; then
17481 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17482 See \`config.log' for more details." >&5
17483 echo "$as_me: error: cannot run test program while cross compiling
17484 See \`config.log' for more details." >&2;}
17485 { (exit 1); exit 1; }; }
17487 cat >conftest.
$ac_ext <<_ACEOF
17490 cat confdefs.h
>>conftest.
$ac_ext
17491 cat >>conftest.
$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17493 $ac_includes_default
17494 long longval () { return (long) (sizeof (long long)); }
17495 unsigned long ulongval () { return (long) (sizeof (long long)); }
17497 #include <stdlib.h>
17502 FILE *f = fopen ("conftest.val", "w");
17505 if (((long) (sizeof (long long))) < 0)
17507 long i = longval ();
17508 if (i != ((long) (sizeof (long long))))
17510 fprintf (f, "%ld\n", i);
17514 unsigned long i = ulongval ();
17515 if (i != ((long) (sizeof (long long))))
17517 fprintf (f, "%lu\n", i);
17519 exit (ferror (f) || fclose (f) != 0);
17525 rm -f conftest
$ac_exeext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17527 (eval $ac_link) 2>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17536 ac_cv_sizeof_long_long
=`cat conftest.val`
17538 echo "$as_me: program exited with status $ac_status" >&5
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.
$ac_ext >&5
17542 ( exit $ac_status )
17543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17544 See \`config.log' for more details." >&5
17545 echo "$as_me: error: cannot compute sizeof (long long), 77
17546 See \`config.log' for more details." >&2;}
17547 { (exit 1); exit 1; }; }
17549 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17554 ac_cv_sizeof_long_long
=0
17557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17558 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17559 cat >>confdefs.h
<<_ACEOF
17560 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17564 if test "$ac_cv_sizeof_long_long" != "0"; then
17565 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17569 echo "$as_me:$LINENO: checking for long long" >&5
17570 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17571 if test "${ac_cv_type_long_long+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 cat >conftest.
$ac_ext <<_ACEOF
17577 cat confdefs.h
>>conftest.
$ac_ext
17578 cat >>conftest.
$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 $ac_includes_default
17584 if ((long long *) 0)
17586 if (sizeof (long long))
17592 rm -f conftest.
$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17596 grep -v '^ *+' conftest.er1
>conftest.err
17598 cat conftest.err
>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try
='test -z "$ac_c_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try
='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_cv_type_long_long
=yes
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.
$ac_ext >&5
17619 ac_cv_type_long_long
=no
17621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17623 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17624 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17626 echo "$as_me:$LINENO: checking size of long long" >&5
17627 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17628 if test "${ac_cv_sizeof_long_long+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 if test "$ac_cv_type_long_long" = yes; then
17632 # The cast to unsigned long works around a bug in the HP C Compiler
17633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17635 # This bug is HP SR number 8606223364.
17636 if test "$cross_compiling" = yes; then
17637 # Depending upon the size, compute the lo and hi bounds.
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17648 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17655 rm -f conftest.
$ac_objext
17656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17657 (eval $ac_compile) 2>conftest.er1
17659 grep -v '^ *+' conftest.er1
>conftest.err
17661 cat conftest.err
>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } &&
17664 { ac_try
='test -z "$ac_c_werror_flag"
17665 || test ! -s conftest.err'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; } &&
17671 { ac_try
='test -s conftest.$ac_objext'
17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673 (eval $ac_try) 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; }; then
17679 cat >conftest.
$ac_ext <<_ACEOF
17682 cat confdefs.h
>>conftest.
$ac_ext
17683 cat >>conftest.
$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17689 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17696 rm -f conftest.
$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>conftest.er1
17700 grep -v '^ *+' conftest.er1
>conftest.err
17702 cat conftest.err
>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try
='test -z "$ac_c_werror_flag"
17706 || test ! -s conftest.err'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; } &&
17712 { ac_try
='test -s conftest.$ac_objext'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 ac_hi
=$ac_mid; break
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.
$ac_ext >&5
17723 ac_lo
=`expr $ac_mid + 1`
17724 if test $ac_lo -le $ac_mid; then
17728 ac_mid
=`expr 2 '*' $ac_mid + 1`
17730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.
$ac_ext >&5
17736 cat >conftest.
$ac_ext <<_ACEOF
17739 cat confdefs.h
>>conftest.
$ac_ext
17740 cat >>conftest.
$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 $ac_includes_default
17746 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17753 rm -f conftest.
$ac_objext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755 (eval $ac_compile) 2>conftest.er1
17757 grep -v '^ *+' conftest.er1
>conftest.err
17759 cat conftest.err
>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); } &&
17762 { ac_try
='test -z "$ac_c_werror_flag"
17763 || test ! -s conftest.err'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; } &&
17769 { ac_try
='test -s conftest.$ac_objext'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17777 cat >conftest.
$ac_ext <<_ACEOF
17780 cat confdefs.h
>>conftest.
$ac_ext
17781 cat >>conftest.
$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783 $ac_includes_default
17787 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17794 rm -f conftest.
$ac_objext
17795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17796 (eval $ac_compile) 2>conftest.er1
17798 grep -v '^ *+' conftest.er1
>conftest.err
17800 cat conftest.err
>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } &&
17803 { ac_try
='test -z "$ac_c_werror_flag"
17804 || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try
='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_lo
=$ac_mid; break
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.
$ac_ext >&5
17821 ac_hi
=`expr '(' $ac_mid ')' - 1`
17822 if test $ac_mid -le $ac_hi; then
17826 ac_mid
=`expr 2 '*' $ac_mid`
17828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17839 # Binary search between lo and hi bounds.
17840 while test "x$ac_lo" != "x$ac_hi"; do
17841 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17842 cat >conftest.
$ac_ext <<_ACEOF
17845 cat confdefs.h
>>conftest.
$ac_ext
17846 cat >>conftest.
$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17859 rm -f conftest.
$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17863 grep -v '^ *+' conftest.er1
>conftest.err
17865 cat conftest.err
>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try
='test -z "$ac_c_werror_flag"
17869 || test ! -s conftest.err'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; } &&
17875 { ac_try
='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.
$ac_ext >&5
17886 ac_lo
=`expr '(' $ac_mid ')' + 1`
17888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17891 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17892 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17893 See \`config.log' for more details." >&5
17894 echo "$as_me: error: cannot compute sizeof (long long), 77
17895 See \`config.log' for more details." >&2;}
17896 { (exit 1); exit 1; }; } ;;
17899 if test "$cross_compiling" = yes; then
17900 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17901 See \`config.log' for more details." >&5
17902 echo "$as_me: error: cannot run test program while cross compiling
17903 See \`config.log' for more details." >&2;}
17904 { (exit 1); exit 1; }; }
17906 cat >conftest.
$ac_ext <<_ACEOF
17909 cat confdefs.h
>>conftest.
$ac_ext
17910 cat >>conftest.
$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17912 $ac_includes_default
17913 long longval () { return (long) (sizeof (long long)); }
17914 unsigned long ulongval () { return (long) (sizeof (long long)); }
17916 #include <stdlib.h>
17921 FILE *f = fopen ("conftest.val", "w");
17924 if (((long) (sizeof (long long))) < 0)
17926 long i = longval ();
17927 if (i != ((long) (sizeof (long long))))
17929 fprintf (f, "%ld\n", i);
17933 unsigned long i = ulongval ();
17934 if (i != ((long) (sizeof (long long))))
17936 fprintf (f, "%lu\n", i);
17938 exit (ferror (f) || fclose (f) != 0);
17944 rm -f conftest
$ac_exeext
17945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17946 (eval $ac_link) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 ac_cv_sizeof_long_long
=`cat conftest.val`
17957 echo "$as_me: program exited with status $ac_status" >&5
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ( exit $ac_status )
17962 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17963 See \`config.log' for more details." >&5
17964 echo "$as_me: error: cannot compute sizeof (long long), 77
17965 See \`config.log' for more details." >&2;}
17966 { (exit 1); exit 1; }; }
17968 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17973 ac_cv_sizeof_long_long
=0
17976 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17977 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17978 cat >>confdefs.h
<<_ACEOF
17979 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17985 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17986 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17987 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17991 if test "$cross_compiling" = yes; then
17995 wx_cv_sizeof_wchar_t
=0
17998 wx_cv_sizeof_wchar_t
=4
18004 cat >conftest.
$ac_ext <<_ACEOF
18007 cat confdefs.h
>>conftest.
$ac_ext
18008 cat >>conftest.
$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18011 /* DJGPP only has fake wchar_t: */
18013 # error "fake wchar_t"
18015 #ifdef HAVE_WCHAR_H
18017 # include <stddef.h>
18019 # include <wchar.h>
18021 #ifdef HAVE_STDLIB_H
18022 # include <stdlib.h>
18027 FILE *f=fopen("conftestval", "w");
18029 fprintf(f, "%i", sizeof(wchar_t));
18034 rm -f conftest
$ac_exeext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18036 (eval $ac_link) 2>&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18041 (eval $ac_try) 2>&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); }; }; then
18045 wx_cv_sizeof_wchar_t
=`cat conftestval`
18047 echo "$as_me: program exited with status $ac_status" >&5
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.
$ac_ext >&5
18051 ( exit $ac_status )
18052 wx_cv_sizeof_wchar_t
=0
18054 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18058 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18059 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18061 cat >>confdefs.h
<<_ACEOF
18062 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18066 # Check whether --enable-largefile or --disable-largefile was given.
18067 if test "${enable_largefile+set}" = set; then
18068 enableval
="$enable_largefile"
18071 if test "$enable_largefile" != no
; then
18074 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18075 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18076 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18080 cat >conftest.
$ac_ext <<_ACEOF
18083 cat confdefs.h
>>conftest.
$ac_ext
18084 cat >>conftest.
$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 #define _FILE_OFFSET_BITS 64
18087 #include <sys/types.h>
18092 unsigned int field: sizeof(off_t) == 8;
18099 rm -f conftest.
$ac_objext
18100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18101 (eval $ac_compile) 2>conftest.er1
18103 grep -v '^ *+' conftest.er1
>conftest.err
18105 cat conftest.err
>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } &&
18108 { ac_try
='test -z "$ac_c_werror_flag"
18109 || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try
='test -s conftest.$ac_objext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 ac_cv_sys_file_offset_bits
=64
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.
$ac_ext >&5
18126 ac_cv_sys_file_offset_bits
=no
18128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18132 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18133 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18135 if test "$ac_cv_sys_file_offset_bits" != no
; then
18137 cat >>confdefs.h
<<_ACEOF
18138 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18143 if test "x$wx_largefile" != "xyes"; then
18145 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18146 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18147 if test "${ac_cv_sys_large_files+set}" = set; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 cat >conftest.
$ac_ext <<_ACEOF
18154 cat confdefs.h
>>conftest.
$ac_ext
18155 cat >>conftest.
$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 #define _LARGE_FILES 1
18158 #include <sys/types.h>
18163 unsigned int field: sizeof(off_t) == 8;
18170 rm -f conftest.
$ac_objext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18172 (eval $ac_compile) 2>conftest.er1
18174 grep -v '^ *+' conftest.er1
>conftest.err
18176 cat conftest.err
>&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } &&
18179 { ac_try
='test -z "$ac_c_werror_flag"
18180 || test ! -s conftest.err'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 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
18192 ac_cv_sys_large_files
=1
18194 echo "$as_me: failed program was:" >&5
18195 sed 's/^/| /' conftest.
$ac_ext >&5
18197 ac_cv_sys_large_files
=no
18199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18203 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18204 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18206 if test "$ac_cv_sys_large_files" != no
; then
18208 cat >>confdefs.h
<<_ACEOF
18209 #define _LARGE_FILES $ac_cv_sys_large_files
18216 echo "$as_me:$LINENO: checking if large file support is available" >&5
18217 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18218 if test "x$wx_largefile" = "xyes"; then
18219 cat >>confdefs.h
<<\_ACEOF
18220 #define HAVE_LARGEFILE_SUPPORT 1
18224 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18225 echo "${ECHO_T}$wx_largefile" >&6
18229 if test "x$wx_largefile" = "xyes"; then
18230 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18231 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18233 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18235 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18238 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18239 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18240 if test "${ac_cv_c_bigendian+set}" = set; then
18241 echo $ECHO_N "(cached) $ECHO_C" >&6
18243 ac_cv_c_bigendian
=unknown
18244 # See if sys/param.h defines the BYTE_ORDER macro.
18245 cat >conftest.
$ac_ext <<_ACEOF
18248 cat confdefs.h
>>conftest.
$ac_ext
18249 cat >>conftest.
$ac_ext <<_ACEOF
18250 /* end confdefs.h. */
18251 #include <sys/types.h>
18252 #include <sys/param.h>
18257 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18258 bogus endian macros
18264 rm -f conftest.
$ac_objext
18265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18266 (eval $ac_compile) 2>conftest.er1
18268 grep -v '^ *+' conftest.er1
>conftest.err
18270 cat conftest.err
>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); } &&
18273 { ac_try
='test -z "$ac_c_werror_flag"
18274 || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try
='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 # It does; now see whether it defined to BIG_ENDIAN or not.
18287 cat >conftest.
$ac_ext <<_ACEOF
18290 cat confdefs.h
>>conftest.
$ac_ext
18291 cat >>conftest.
$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 #include <sys/types.h>
18294 #include <sys/param.h>
18299 #if BYTE_ORDER != BIG_ENDIAN
18306 rm -f conftest.
$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308 (eval $ac_compile) 2>conftest.er1
18310 grep -v '^ *+' conftest.er1
>conftest.err
18312 cat conftest.err
>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try
='test -z "$ac_c_werror_flag"
18316 || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try
='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 ac_cv_c_bigendian
=yes
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.
$ac_ext >&5
18333 ac_cv_c_bigendian
=no
18335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18342 if test $ac_cv_c_bigendian = unknown
; then
18343 if test "$cross_compiling" = yes; then
18344 ac_cv_c_bigendian
=unknown
18346 cat >conftest.
$ac_ext <<_ACEOF
18349 cat confdefs.h
>>conftest.
$ac_ext
18350 cat >>conftest.
$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18353 /* Are we little or big endian? From Harbison&Steele. */
18357 char c[sizeof (long)];
18360 exit (u.c[sizeof (long) - 1] == 1);
18363 rm -f conftest
$ac_exeext
18364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18365 (eval $ac_link) 2>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 ac_cv_c_bigendian
=no
18376 echo "$as_me: program exited with status $ac_status" >&5
18377 echo "$as_me: failed program was:" >&5
18378 sed 's/^/| /' conftest.
$ac_ext >&5
18380 ( exit $ac_status )
18381 ac_cv_c_bigendian
=yes
18383 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18387 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18388 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18389 if test $ac_cv_c_bigendian = unknown
; then
18390 { 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
18391 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;}
18393 if test $ac_cv_c_bigendian = yes; then
18394 cat >>confdefs.h
<<\_ACEOF
18395 #define WORDS_BIGENDIAN 1
18402 ac_cpp
='$CXXCPP $CPPFLAGS'
18403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18406 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18407 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18408 if test -z "$CXXCPP"; then
18409 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18412 # Double quotes because CXXCPP needs to be expanded
18413 for CXXCPP
in "$CXX -E" "/lib/cpp"
18415 ac_preproc_ok
=false
18416 for ac_cxx_preproc_warn_flag
in '' yes
18418 # Use a header file that comes with gcc, so configuring glibc
18419 # with a fresh cross-compiler works.
18420 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18421 # <limits.h> exists even on freestanding compilers.
18422 # On the NeXT, cc -E runs the code through the compiler's parser,
18423 # not just through cpp. "Syntax error" is here to catch this case.
18424 cat >conftest.
$ac_ext <<_ACEOF
18427 cat confdefs.h
>>conftest.
$ac_ext
18428 cat >>conftest.
$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18431 # include <limits.h>
18433 # include <assert.h>
18437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18440 grep -v '^ *+' conftest.er1
>conftest.err
18442 cat conftest.err
>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } >/dev
/null
; then
18445 if test -s conftest.err
; then
18446 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18447 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18454 if test -z "$ac_cpp_err"; then
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.
$ac_ext >&5
18460 # Broken: fails on valid input.
18463 rm -f conftest.err conftest.
$ac_ext
18465 # OK, works on sane cases. Now check whether non-existent headers
18466 # can be detected and how.
18467 cat >conftest.
$ac_ext <<_ACEOF
18470 cat confdefs.h
>>conftest.
$ac_ext
18471 cat >>conftest.
$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 #include <ac_nonexistent.h>
18475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18478 grep -v '^ *+' conftest.er1
>conftest.err
18480 cat conftest.err
>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } >/dev
/null
; then
18483 if test -s conftest.err
; then
18484 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18485 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18492 if test -z "$ac_cpp_err"; then
18493 # Broken: success on invalid input.
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.
$ac_ext >&5
18499 # Passes both tests.
18503 rm -f conftest.err conftest.
$ac_ext
18506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18507 rm -f conftest.err conftest.
$ac_ext
18508 if $ac_preproc_ok; then
18513 ac_cv_prog_CXXCPP
=$CXXCPP
18516 CXXCPP
=$ac_cv_prog_CXXCPP
18518 ac_cv_prog_CXXCPP
=$CXXCPP
18520 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18521 echo "${ECHO_T}$CXXCPP" >&6
18522 ac_preproc_ok
=false
18523 for ac_cxx_preproc_warn_flag
in '' yes
18525 # Use a header file that comes with gcc, so configuring glibc
18526 # with a fresh cross-compiler works.
18527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18528 # <limits.h> exists even on freestanding compilers.
18529 # On the NeXT, cc -E runs the code through the compiler's parser,
18530 # not just through cpp. "Syntax error" is here to catch this case.
18531 cat >conftest.
$ac_ext <<_ACEOF
18534 cat confdefs.h
>>conftest.
$ac_ext
18535 cat >>conftest.
$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18538 # include <limits.h>
18540 # include <assert.h>
18544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18545 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18547 grep -v '^ *+' conftest.er1
>conftest.err
18549 cat conftest.err
>&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); } >/dev
/null
; then
18552 if test -s conftest.err
; then
18553 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18554 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18561 if test -z "$ac_cpp_err"; then
18564 echo "$as_me: failed program was:" >&5
18565 sed 's/^/| /' conftest.
$ac_ext >&5
18567 # Broken: fails on valid input.
18570 rm -f conftest.err conftest.
$ac_ext
18572 # OK, works on sane cases. Now check whether non-existent headers
18573 # can be detected and how.
18574 cat >conftest.
$ac_ext <<_ACEOF
18577 cat confdefs.h
>>conftest.
$ac_ext
18578 cat >>conftest.
$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 #include <ac_nonexistent.h>
18582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18585 grep -v '^ *+' conftest.er1
>conftest.err
18587 cat conftest.err
>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); } >/dev
/null
; then
18590 if test -s conftest.err
; then
18591 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18592 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18599 if test -z "$ac_cpp_err"; then
18600 # Broken: success on invalid input.
18603 echo "$as_me: failed program was:" >&5
18604 sed 's/^/| /' conftest.
$ac_ext >&5
18606 # Passes both tests.
18610 rm -f conftest.err conftest.
$ac_ext
18613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18614 rm -f conftest.err conftest.
$ac_ext
18615 if $ac_preproc_ok; then
18618 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18619 See \`config.log' for more details." >&5
18620 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18621 See \`config.log' for more details." >&2;}
18622 { (exit 1); exit 1; }; }
18626 ac_cpp
='$CXXCPP $CPPFLAGS'
18627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18636 ac_cpp
='$CXXCPP $CPPFLAGS'
18637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18643 for ac_header
in iostream
18645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18647 echo "$as_me:$LINENO: checking for $ac_header" >&5
18648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18650 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18655 # Is the header compilable?
18656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18658 cat >conftest.
$ac_ext <<_ACEOF
18661 cat confdefs.h
>>conftest.
$ac_ext
18662 cat >>conftest.
$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18664 $ac_includes_default
18665 #include <$ac_header>
18667 rm -f conftest.
$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try
='test -z "$ac_cxx_werror_flag"
18677 || test ! -s conftest.err'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; } &&
18683 { ac_try
='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 ac_header_compiler
=yes
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.
$ac_ext >&5
18694 ac_header_compiler
=no
18696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18698 echo "${ECHO_T}$ac_header_compiler" >&6
18700 # Is the header present?
18701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18703 cat >conftest.
$ac_ext <<_ACEOF
18706 cat confdefs.h
>>conftest.
$ac_ext
18707 cat >>conftest.
$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709 #include <$ac_header>
18711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18712 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18714 grep -v '^ *+' conftest.er1
>conftest.err
18716 cat conftest.err
>&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } >/dev
/null
; then
18719 if test -s conftest.err
; then
18720 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18721 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18728 if test -z "$ac_cpp_err"; then
18729 ac_header_preproc
=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.
$ac_ext >&5
18734 ac_header_preproc
=no
18736 rm -f conftest.err conftest.
$ac_ext
18737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18738 echo "${ECHO_T}$ac_header_preproc" >&6
18740 # So? What about this header?
18741 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18747 ac_header_preproc
=yes
18750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18764 ## ----------------------------------------- ##
18765 ## Report this to wx-dev@lists.wxwindows.org ##
18766 ## ----------------------------------------- ##
18769 sed "s/^/$as_me: WARNING: /" >&2
18772 echo "$as_me:$LINENO: checking for $ac_header" >&5
18773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18775 echo $ECHO_N "(cached) $ECHO_C" >&6
18777 eval "$as_ac_Header=\$ac_header_preproc"
18779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18784 cat >>confdefs.h
<<_ACEOF
18785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18793 if test "$ac_cv_header_iostream" = "yes" ; then
18796 cat >>confdefs.h
<<\_ACEOF
18797 #define wxUSE_IOSTREAMH 1
18803 ac_cpp
='$CPP $CPPFLAGS'
18804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18811 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18812 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18813 if test "${wx_cv_cpp_bool+set}" = set; then
18814 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 ac_cpp
='$CXXCPP $CPPFLAGS'
18821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18826 cat >conftest.
$ac_ext <<_ACEOF
18829 cat confdefs.h
>>conftest.
$ac_ext
18830 cat >>conftest.
$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18846 rm -f conftest.
$ac_objext
18847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18848 (eval $ac_compile) 2>conftest.er1
18850 grep -v '^ *+' conftest.er1
>conftest.err
18852 cat conftest.err
>&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } &&
18855 { ac_try
='test -z "$ac_cxx_werror_flag"
18856 || test ! -s conftest.err'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; } &&
18862 { ac_try
='test -s conftest.$ac_objext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.
$ac_ext >&5
18880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18883 ac_cpp
='$CPP $CPPFLAGS'
18884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18890 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18891 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18893 if test "$wx_cv_cpp_bool" = "yes"; then
18894 cat >>confdefs.h
<<\_ACEOF
18895 #define HAVE_BOOL 1
18902 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18903 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18904 if test "${wx_cv_explicit+set}" = set; then
18905 echo $ECHO_N "(cached) $ECHO_C" >&6
18911 ac_cpp
='$CXXCPP $CPPFLAGS'
18912 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18913 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18914 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18917 cat >conftest.
$ac_ext <<_ACEOF
18920 cat confdefs.h
>>conftest.
$ac_ext
18921 cat >>conftest.
$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18924 class Foo { public: explicit Foo(int) {} };
18936 rm -f conftest.
$ac_objext
18937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18938 (eval $ac_compile) 2>conftest.er1
18940 grep -v '^ *+' conftest.er1
>conftest.err
18942 cat conftest.err
>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } &&
18945 { ac_try
='test -z "$ac_cxx_werror_flag"
18946 || test ! -s conftest.err'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; } &&
18952 { ac_try
='test -s conftest.$ac_objext'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; }; then
18959 cat >conftest.
$ac_ext <<_ACEOF
18962 cat confdefs.h
>>conftest.
$ac_ext
18963 cat >>conftest.
$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18966 class Foo { public: explicit Foo(int) {} };
18967 static void TakeFoo(const Foo& foo) { }
18980 rm -f conftest.
$ac_objext
18981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18982 (eval $ac_compile) 2>conftest.er1
18984 grep -v '^ *+' conftest.er1
>conftest.err
18986 cat conftest.err
>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } &&
18989 { ac_try
='test -z "$ac_cxx_werror_flag"
18990 || test ! -s conftest.err'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try
='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.
$ac_ext >&5
19010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.
$ac_ext >&5
19019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19022 ac_cpp
='$CPP $CPPFLAGS'
19023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19029 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19030 echo "${ECHO_T}$wx_cv_explicit" >&6
19032 if test "$wx_cv_explicit" = "yes"; then
19033 cat >>confdefs.h
<<\_ACEOF
19034 #define HAVE_EXPLICIT 1
19040 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19041 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19042 if test "${ac_cv_cxx_const_cast+set}" = set; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 ac_cpp
='$CXXCPP $CPPFLAGS'
19049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19053 cat >conftest.
$ac_ext <<_ACEOF
19056 cat confdefs.h
>>conftest.
$ac_ext
19057 cat >>conftest.
$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19063 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19068 rm -f conftest.
$ac_objext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19070 (eval $ac_compile) 2>conftest.er1
19072 grep -v '^ *+' conftest.er1
>conftest.err
19074 cat conftest.err
>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try
='test -z "$ac_cxx_werror_flag"
19078 || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try
='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 ac_cv_cxx_const_cast
=yes
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.
$ac_ext >&5
19095 ac_cv_cxx_const_cast
=no
19097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19099 ac_cpp
='$CPP $CPPFLAGS'
19100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19106 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19107 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19108 if test "$ac_cv_cxx_const_cast" = yes; then
19110 cat >>confdefs.h
<<\_ACEOF
19111 #define HAVE_CONST_CAST
19116 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19117 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19118 if test "${ac_cv_cxx_static_cast+set}" = set; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19124 ac_cpp
='$CXXCPP $CPPFLAGS'
19125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19129 cat >conftest.
$ac_ext <<_ACEOF
19132 cat confdefs.h
>>conftest.
$ac_ext
19133 cat >>conftest.
$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 #include <typeinfo>
19136 class Base { public : Base () {} virtual void f () = 0; };
19137 class Derived : public Base { public : Derived () {} virtual void f () {} };
19138 int g (Derived&) { return 0; }
19143 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19148 rm -f conftest.
$ac_objext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19150 (eval $ac_compile) 2>conftest.er1
19152 grep -v '^ *+' conftest.er1
>conftest.err
19154 cat conftest.err
>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try
='test -z "$ac_cxx_werror_flag"
19158 || test ! -s conftest.err'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; } &&
19164 { ac_try
='test -s conftest.$ac_objext'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 ac_cv_cxx_static_cast
=yes
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.
$ac_ext >&5
19175 ac_cv_cxx_static_cast
=no
19177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19179 ac_cpp
='$CPP $CPPFLAGS'
19180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19186 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19187 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19188 if test "$ac_cv_cxx_static_cast" = yes; then
19190 cat >>confdefs.h
<<\_ACEOF
19191 #define HAVE_STATIC_CAST
19197 if test "$wxUSE_STL" = "yes"; then
19199 ac_cpp
='$CXXCPP $CPPFLAGS'
19200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19205 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19206 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19207 cat >conftest.
$ac_ext <<_ACEOF
19210 cat confdefs.h
>>conftest.
$ac_ext
19211 cat >>conftest.
$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19214 #include <functional>
19215 #include <algorithm>
19221 std::vector<int> moo;
19222 std::list<int> foo;
19223 std::vector<int>::iterator it =
19224 std::find_if(moo.begin(), moo.end(),
19225 std::bind2nd(std::less<int>(), 3));
19230 rm -f conftest.
$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19234 grep -v '^ *+' conftest.er1
>conftest.err
19236 cat conftest.err
>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try
='test -z "$ac_cxx_werror_flag"
19240 || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try
='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19252 echo "$as_me:$LINENO: result: yes" >&5
19253 echo "${ECHO_T}yes" >&6
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.
$ac_ext >&5
19258 echo "$as_me:$LINENO: result: no" >&5
19259 echo "${ECHO_T}no" >&6
19260 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19261 echo "$as_me: error: Basic STL functionality missing" >&2;}
19262 { (exit 1); exit 1; }; }
19264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19266 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19267 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19268 cat >conftest.
$ac_ext <<_ACEOF
19271 cat confdefs.h
>>conftest.
$ac_ext
19272 cat >>conftest.
$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19283 rm -f conftest.
$ac_objext
19284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19285 (eval $ac_compile) 2>conftest.er1
19287 grep -v '^ *+' conftest.er1
>conftest.err
19289 cat conftest.err
>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } &&
19292 { ac_try
='test -z "$ac_cxx_werror_flag"
19293 || test ! -s conftest.err'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; } &&
19299 { ac_try
='test -s conftest.$ac_objext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19305 echo "$as_me:$LINENO: result: yes" >&5
19306 echo "${ECHO_T}yes" >&6
19307 cat >>confdefs.h
<<\_ACEOF
19308 #define HAVE_STD_WSTRING 1
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.
$ac_ext >&5
19315 echo "$as_me:$LINENO: result: no" >&5
19316 echo "${ECHO_T}no" >&6
19318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19320 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19321 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19322 cat >conftest.
$ac_ext <<_ACEOF
19325 cat confdefs.h
>>conftest.
$ac_ext
19326 cat >>conftest.
$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19332 std::string foo, bar;
19334 foo.compare(1, 1, bar);
19335 foo.compare(1, 1, bar, 1, 1);
19337 foo.compare(1, 1, "");
19338 foo.compare(1, 1, "", 2);
19343 rm -f conftest.
$ac_objext
19344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19345 (eval $ac_compile) 2>conftest.er1
19347 grep -v '^ *+' conftest.er1
>conftest.err
19349 cat conftest.err
>&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } &&
19352 { ac_try
='test -z "$ac_cxx_werror_flag"
19353 || test ! -s conftest.err'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; } &&
19359 { ac_try
='test -s conftest.$ac_objext'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 echo "$as_me:$LINENO: result: yes" >&5
19366 echo "${ECHO_T}yes" >&6
19367 cat >>confdefs.h
<<\_ACEOF
19368 #define HAVE_STD_STRING_COMPARE 1
19372 echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.
$ac_ext >&5
19375 echo "$as_me:$LINENO: result: no" >&5
19376 echo "${ECHO_T}no" >&6
19378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19381 ac_cpp
='$CPP $CPPFLAGS'
19382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19390 /usr/local/include \
19392 /usr/Motif-2.1/include \
19393 /usr/Motif-1.2/include \
19394 /usr/include/Motif1.2 \
19395 /opt/xpm/include/X11 \
19396 /opt/GBxpm/include/ \
19397 /opt/GBxpm/X11/include/ \
19400 /usr/openwin/include \
19404 /usr/X11R6/include \
19405 /usr/X11R6.4/include \
19406 /usr/X11R5/include \
19407 /usr/X11R4/include \
19409 /usr/include/X11R6 \
19410 /usr/include/X11R5 \
19411 /usr/include/X11R4 \
19413 /usr/local/X11R6/include \
19414 /usr/local/X11R5/include \
19415 /usr/local/X11R4/include \
19417 /usr/local/include/X11R6 \
19418 /usr/local/include/X11R5 \
19419 /usr/local/include/X11R4 \
19423 /usr/local/X11/include \
19424 /usr/local/include/X11 \
19426 /usr/X386/include \
19427 /usr/x386/include \
19428 /usr/XFree86/include/X11 \
19430 X:/XFree86/include \
19431 X:/XFree86/include/X11 \
19434 /usr/local/include/gtk \
19435 /usr/include/glib \
19436 /usr/local/include/glib \
19439 /usr/local/include/qt \
19441 /usr/local/arm/3.3.2/include \
19443 /usr/include/windows \
19444 /usr/include/wine \
19445 /usr/local/include/wine \
19447 /usr/unsupported/include \
19448 /usr/athena/include \
19449 /usr/local/x11r5/include \
19450 /usr/lpp/Xamples/include \
19452 /usr/openwin/share/include"
19454 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19457 cat >confcache
<<\_ACEOF
19458 # This file is a shell script that caches the results of configure
19459 # tests run on this system so they can be shared between configure
19460 # scripts and configure runs, see configure's option --config-cache.
19461 # It is not useful on other systems. If it contains results you don't
19462 # want to keep, you may remove or edit it.
19464 # config.status only pays attention to the cache file if you give it
19465 # the --recheck option to rerun configure.
19467 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19468 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19469 # following values.
19473 # The following way of writing the cache mishandles newlines in values,
19474 # but we know of no workaround that is simple, portable, and efficient.
19475 # So, don't put newlines in cache variables' values.
19476 # Ultrix sh set writes to stderr and can't be redirected directly,
19477 # and sets the high bit in the cache file unless we assign to the vars.
19480 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19482 # `set' does not quote correctly, so add quotes (double-quote
19483 # substitution turns \\\\ into \\, and sed turns \\ into \).
19486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19489 # `set' quotes correctly as required by POSIX, so do not add quotes.
19491 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19500 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19502 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19503 if test -w $cache_file; then
19504 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19505 cat confcache
>$cache_file
19507 echo "not updating unwritable cache $cache_file"
19512 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19513 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19514 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19515 if test "${wx_cv_lib_glibc21+set}" = set; then
19516 echo $ECHO_N "(cached) $ECHO_C" >&6
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #include <features.h>
19530 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19531 #error not glibc2.1
19538 rm -f conftest.
$ac_objext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19540 (eval $ac_compile) 2>conftest.er1
19542 grep -v '^ *+' conftest.er1
>conftest.err
19544 cat conftest.err
>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } &&
19547 { ac_try
='test -z "$ac_c_werror_flag"
19548 || test ! -s conftest.err'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; } &&
19554 { ac_try
='test -s conftest.$ac_objext'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; }; then
19561 wx_cv_lib_glibc21
=yes
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.
$ac_ext >&5
19568 wx_cv_lib_glibc21
=no
19572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19575 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19576 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19577 if test "$wx_cv_lib_glibc21" = "yes"; then
19578 cat >>confdefs.h
<<\_ACEOF
19579 #define wxHAVE_GLIBC2 1
19585 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19586 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19587 cat >>confdefs.h
<<\_ACEOF
19588 #define _GNU_SOURCE 1
19596 if test "$wxUSE_REGEX" != "no"; then
19597 cat >>confdefs.h
<<\_ACEOF
19598 #define wxUSE_REGEX 1
19602 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19603 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19604 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19605 wxUSE_REGEX
=builtin
19608 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19609 if test "${ac_cv_header_regex_h+set}" = set; then
19610 echo "$as_me:$LINENO: checking for regex.h" >&5
19611 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19612 if test "${ac_cv_header_regex_h+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19616 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19618 # Is the header compilable?
19619 echo "$as_me:$LINENO: checking regex.h usability" >&5
19620 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19621 cat >conftest.
$ac_ext <<_ACEOF
19624 cat confdefs.h
>>conftest.
$ac_ext
19625 cat >>conftest.
$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627 $ac_includes_default
19630 rm -f conftest.
$ac_objext
19631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19632 (eval $ac_compile) 2>conftest.er1
19634 grep -v '^ *+' conftest.er1
>conftest.err
19636 cat conftest.err
>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try
='test -z "$ac_c_werror_flag"
19640 || test ! -s conftest.err'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try
='test -s conftest.$ac_objext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 ac_header_compiler
=yes
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.
$ac_ext >&5
19657 ac_header_compiler
=no
19659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19661 echo "${ECHO_T}$ac_header_compiler" >&6
19663 # Is the header present?
19664 echo "$as_me:$LINENO: checking regex.h presence" >&5
19665 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19666 cat >conftest.
$ac_ext <<_ACEOF
19669 cat confdefs.h
>>conftest.
$ac_ext
19670 cat >>conftest.
$ac_ext <<_ACEOF
19671 /* end confdefs.h. */
19674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19677 grep -v '^ *+' conftest.er1
>conftest.err
19679 cat conftest.err
>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } >/dev
/null
; then
19682 if test -s conftest.err
; then
19683 ac_cpp_err
=$ac_c_preproc_warn_flag
19684 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19691 if test -z "$ac_cpp_err"; then
19692 ac_header_preproc
=yes
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.
$ac_ext >&5
19697 ac_header_preproc
=no
19699 rm -f conftest.err conftest.
$ac_ext
19700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19701 echo "${ECHO_T}$ac_header_preproc" >&6
19703 # So? What about this header?
19704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19706 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19707 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19708 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19709 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19710 ac_header_preproc
=yes
19713 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19714 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19715 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19716 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19717 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19718 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19719 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19720 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19721 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19722 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19723 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19724 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19727 ## ----------------------------------------- ##
19728 ## Report this to wx-dev@lists.wxwindows.org ##
19729 ## ----------------------------------------- ##
19732 sed "s/^/$as_me: WARNING: /" >&2
19735 echo "$as_me:$LINENO: checking for regex.h" >&5
19736 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19737 if test "${ac_cv_header_regex_h+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 ac_cv_header_regex_h
=$ac_header_preproc
19742 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19743 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19746 if test $ac_cv_header_regex_h = yes; then
19748 for ac_func
in regcomp
19750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19751 echo "$as_me:$LINENO: checking for $ac_func" >&5
19752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19753 if eval "test \"\${$as_ac_var+set}\" = set"; then
19754 echo $ECHO_N "(cached) $ECHO_C" >&6
19756 cat >conftest.
$ac_ext <<_ACEOF
19759 cat confdefs.h
>>conftest.
$ac_ext
19760 cat >>conftest.
$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19764 #define $ac_func innocuous_$ac_func
19766 /* System header to define __stub macros and hopefully few prototypes,
19767 which can conflict with char $ac_func (); below.
19768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19769 <limits.h> exists even on freestanding compilers. */
19772 # include <limits.h>
19774 # include <assert.h>
19779 /* Override any gcc2 internal prototype to avoid an error. */
19784 /* We use char because int might match the return type of a gcc2
19785 builtin and then its argument prototype would still apply. */
19787 /* The GNU C library defines this for functions which it implements
19788 to always fail with ENOSYS. Some functions are actually named
19789 something starting with __ and the normal name is an alias. */
19790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19793 char (*f) () = $ac_func;
19802 return f != $ac_func;
19807 rm -f conftest.
$ac_objext conftest
$ac_exeext
19808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19809 (eval $ac_link) 2>conftest.er1
19811 grep -v '^ *+' conftest.er1
>conftest.err
19813 cat conftest.err
>&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } &&
19816 { ac_try
='test -z "$ac_c_werror_flag"
19817 || test ! -s conftest.err'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try
='test -s conftest$ac_exeext'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 eval "$as_ac_var=yes"
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.
$ac_ext >&5
19834 eval "$as_ac_var=no"
19836 rm -f conftest.err conftest.
$ac_objext \
19837 conftest
$ac_exeext conftest.
$ac_ext
19839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19841 if test `eval echo '${'$as_ac_var'}'` = yes; then
19842 cat >>confdefs.h
<<_ACEOF
19843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19853 if test "x$ac_cv_func_regcomp" != "xyes"; then
19854 if test "$wxUSE_REGEX" = "sys" ; then
19855 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19856 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19857 { (exit 1); exit 1; }; }
19859 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19860 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19861 wxUSE_REGEX
=builtin
19865 cat >>confdefs.h
<<\_ACEOF
19866 #define WX_NO_REGEX_ADVANCED 1
19875 if test "$wxUSE_ZLIB" != "no" ; then
19876 cat >>confdefs.h
<<\_ACEOF
19877 #define wxUSE_ZLIB 1
19881 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19882 if test "$USE_DARWIN" = 1; then
19883 system_zlib_h_ok
="yes"
19885 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19886 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19887 if test "${ac_cv_header_zlib_h+set}" = set; then
19888 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 if test "$cross_compiling" = yes; then
19891 unset ac_cv_header_zlib_h
19894 cat >conftest.
$ac_ext <<_ACEOF
19897 cat confdefs.h
>>conftest.
$ac_ext
19898 cat >>conftest.
$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19906 FILE *f=fopen("conftestval", "w");
19909 ZLIB_VERSION[0] == '1' &&
19910 (ZLIB_VERSION[2] > '1' ||
19911 (ZLIB_VERSION[2] == '1' &&
19912 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19917 rm -f conftest
$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 ac_cv_header_zlib_h
=`cat conftestval`
19930 echo "$as_me: program exited with status $ac_status" >&5
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.
$ac_ext >&5
19934 ( exit $ac_status )
19935 ac_cv_header_zlib_h
=no
19937 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19941 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19942 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19943 if test "${ac_cv_header_zlib_h+set}" = set; then
19944 echo "$as_me:$LINENO: checking for zlib.h" >&5
19945 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19946 if test "${ac_cv_header_zlib_h+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19950 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19952 # Is the header compilable?
19953 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19954 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19955 cat >conftest.
$ac_ext <<_ACEOF
19958 cat confdefs.h
>>conftest.
$ac_ext
19959 cat >>conftest.
$ac_ext <<_ACEOF
19960 /* end confdefs.h. */
19961 $ac_includes_default
19964 rm -f conftest.
$ac_objext
19965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19966 (eval $ac_compile) 2>conftest.er1
19968 grep -v '^ *+' conftest.er1
>conftest.err
19970 cat conftest.err
>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } &&
19973 { ac_try
='test -z "$ac_c_werror_flag"
19974 || test ! -s conftest.err'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; } &&
19980 { ac_try
='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 ac_header_compiler
=yes
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.
$ac_ext >&5
19991 ac_header_compiler
=no
19993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19995 echo "${ECHO_T}$ac_header_compiler" >&6
19997 # Is the header present?
19998 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19999 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20000 cat >conftest.
$ac_ext <<_ACEOF
20003 cat confdefs.h
>>conftest.
$ac_ext
20004 cat >>conftest.
$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20011 grep -v '^ *+' conftest.er1
>conftest.err
20013 cat conftest.err
>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } >/dev
/null
; then
20016 if test -s conftest.err
; then
20017 ac_cpp_err
=$ac_c_preproc_warn_flag
20018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20025 if test -z "$ac_cpp_err"; then
20026 ac_header_preproc
=yes
20028 echo "$as_me: failed program was:" >&5
20029 sed 's/^/| /' conftest.
$ac_ext >&5
20031 ac_header_preproc
=no
20033 rm -f conftest.err conftest.
$ac_ext
20034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20035 echo "${ECHO_T}$ac_header_preproc" >&6
20037 # So? What about this header?
20038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20040 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20041 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20042 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20043 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20044 ac_header_preproc
=yes
20047 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20048 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20049 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20050 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20051 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20052 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20053 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20054 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20055 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20056 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20057 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20058 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20061 ## ----------------------------------------- ##
20062 ## Report this to wx-dev@lists.wxwindows.org ##
20063 ## ----------------------------------------- ##
20066 sed "s/^/$as_me: WARNING: /" >&2
20069 echo "$as_me:$LINENO: checking for zlib.h" >&5
20070 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20071 if test "${ac_cv_header_zlib_h+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 ac_cv_header_zlib_h
=$ac_header_preproc
20076 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20077 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20083 system_zlib_h_ok
=$ac_cv_header_zlib_h
20086 if test "$system_zlib_h_ok" = "yes"; then
20087 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20088 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20089 if test "${ac_cv_lib_z_deflate+set}" = set; then
20090 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 ac_check_lib_save_LIBS
=$LIBS
20094 cat >conftest.
$ac_ext <<_ACEOF
20097 cat confdefs.h
>>conftest.
$ac_ext
20098 cat >>conftest.
$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20101 /* Override any gcc2 internal prototype to avoid an error. */
20105 /* We use char because int might match the return type of a gcc2
20106 builtin and then its argument prototype would still apply. */
20116 rm -f conftest.
$ac_objext conftest
$ac_exeext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20118 (eval $ac_link) 2>conftest.er1
20120 grep -v '^ *+' conftest.er1
>conftest.err
20122 cat conftest.err
>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try
='test -z "$ac_c_werror_flag"
20126 || test ! -s conftest.err'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; } &&
20132 { ac_try
='test -s conftest$ac_exeext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20138 ac_cv_lib_z_deflate
=yes
20140 echo "$as_me: failed program was:" >&5
20141 sed 's/^/| /' conftest.
$ac_ext >&5
20143 ac_cv_lib_z_deflate
=no
20145 rm -f conftest.err conftest.
$ac_objext \
20146 conftest
$ac_exeext conftest.
$ac_ext
20147 LIBS
=$ac_check_lib_save_LIBS
20149 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20150 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20151 if test $ac_cv_lib_z_deflate = yes; then
20157 if test "x$ZLIB_LINK" = "x" ; then
20158 if test "$wxUSE_ZLIB" = "sys" ; then
20159 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20160 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20161 { (exit 1); exit 1; }; }
20163 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20164 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20175 if test "$wxUSE_LIBPNG" != "no" ; then
20176 cat >>confdefs.h
<<\_ACEOF
20177 #define wxUSE_LIBPNG 1
20181 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20182 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20183 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20187 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20188 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20189 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20190 wxUSE_LIBPNG
=builtin
20193 if test "$wxUSE_MGL" != 1 ; then
20194 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20195 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20196 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20197 if test "${ac_cv_header_png_h+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 if test "$cross_compiling" = yes; then
20201 unset ac_cv_header_png_h
20204 cat >conftest.
$ac_ext <<_ACEOF
20207 cat confdefs.h
>>conftest.
$ac_ext
20208 cat >>conftest.
$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20216 FILE *f=fopen("conftestval", "w");
20219 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20224 rm -f conftest
$ac_exeext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235 ac_cv_header_png_h
=`cat conftestval`
20237 echo "$as_me: program exited with status $ac_status" >&5
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.
$ac_ext >&5
20241 ( exit $ac_status )
20242 ac_cv_header_png_h
=no
20244 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20248 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20249 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20250 if test "${ac_cv_header_png_h+set}" = set; then
20251 echo "$as_me:$LINENO: checking for png.h" >&5
20252 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20253 if test "${ac_cv_header_png_h+set}" = set; then
20254 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20257 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20259 # Is the header compilable?
20260 echo "$as_me:$LINENO: checking png.h usability" >&5
20261 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20262 cat >conftest.
$ac_ext <<_ACEOF
20265 cat confdefs.h
>>conftest.
$ac_ext
20266 cat >>conftest.
$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20271 rm -f conftest.
$ac_objext
20272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20273 (eval $ac_compile) 2>conftest.er1
20275 grep -v '^ *+' conftest.er1
>conftest.err
20277 cat conftest.err
>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } &&
20280 { ac_try
='test -z "$ac_c_werror_flag"
20281 || test ! -s conftest.err'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; } &&
20287 { ac_try
='test -s conftest.$ac_objext'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_header_compiler
=yes
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.
$ac_ext >&5
20298 ac_header_compiler
=no
20300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20302 echo "${ECHO_T}$ac_header_compiler" >&6
20304 # Is the header present?
20305 echo "$as_me:$LINENO: checking png.h presence" >&5
20306 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20307 cat >conftest.
$ac_ext <<_ACEOF
20310 cat confdefs.h
>>conftest.
$ac_ext
20311 cat >>conftest.
$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20318 grep -v '^ *+' conftest.er1
>conftest.err
20320 cat conftest.err
>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } >/dev
/null
; then
20323 if test -s conftest.err
; then
20324 ac_cpp_err
=$ac_c_preproc_warn_flag
20325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20332 if test -z "$ac_cpp_err"; then
20333 ac_header_preproc
=yes
20335 echo "$as_me: failed program was:" >&5
20336 sed 's/^/| /' conftest.
$ac_ext >&5
20338 ac_header_preproc
=no
20340 rm -f conftest.err conftest.
$ac_ext
20341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20342 echo "${ECHO_T}$ac_header_preproc" >&6
20344 # So? What about this header?
20345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20347 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20348 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20349 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20350 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20351 ac_header_preproc
=yes
20354 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20355 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20356 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20357 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20358 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20359 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20360 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20361 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20362 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20363 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20364 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20365 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20368 ## ----------------------------------------- ##
20369 ## Report this to wx-dev@lists.wxwindows.org ##
20370 ## ----------------------------------------- ##
20373 sed "s/^/$as_me: WARNING: /" >&2
20376 echo "$as_me:$LINENO: checking for png.h" >&5
20377 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20378 if test "${ac_cv_header_png_h+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 ac_cv_header_png_h
=$ac_header_preproc
20383 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20384 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20390 if test "$ac_cv_header_png_h" = "yes"; then
20391 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20392 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20393 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 ac_check_lib_save_LIBS
=$LIBS
20397 LIBS
="-lpng -lz -lm $LIBS"
20398 cat >conftest.
$ac_ext <<_ACEOF
20401 cat confdefs.h
>>conftest.
$ac_ext
20402 cat >>conftest.
$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20405 /* Override any gcc2 internal prototype to avoid an error. */
20409 /* We use char because int might match the return type of a gcc2
20410 builtin and then its argument prototype would still apply. */
20411 char png_check_sig ();
20420 rm -f conftest.
$ac_objext conftest
$ac_exeext
20421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20422 (eval $ac_link) 2>conftest.er1
20424 grep -v '^ *+' conftest.er1
>conftest.err
20426 cat conftest.err
>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } &&
20429 { ac_try
='test -z "$ac_c_werror_flag"
20430 || test ! -s conftest.err'
20431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20432 (eval $ac_try) 2>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); }; } &&
20436 { ac_try
='test -s conftest$ac_exeext'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; }; then
20442 ac_cv_lib_png_png_check_sig
=yes
20444 echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.
$ac_ext >&5
20447 ac_cv_lib_png_png_check_sig
=no
20449 rm -f conftest.err conftest.
$ac_objext \
20450 conftest
$ac_exeext conftest.
$ac_ext
20451 LIBS
=$ac_check_lib_save_LIBS
20453 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20454 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20455 if test $ac_cv_lib_png_png_check_sig = yes; then
20456 PNG_LINK
=" -lpng -lz"
20461 if test "x$PNG_LINK" = "x" ; then
20462 if test "$wxUSE_LIBPNG" = "sys" ; then
20463 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20464 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20465 { (exit 1); exit 1; }; }
20467 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20468 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20469 wxUSE_LIBPNG
=builtin
20477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20482 if test "$wxUSE_LIBJPEG" != "no" ; then
20483 cat >>confdefs.h
<<\_ACEOF
20484 #define wxUSE_LIBJPEG 1
20488 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20489 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20490 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20494 if test "$wxUSE_MGL" != 1 ; then
20495 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20496 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20497 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20498 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20501 cat >conftest.
$ac_ext <<_ACEOF
20504 cat confdefs.h
>>conftest.
$ac_ext
20505 cat >>conftest.
$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20508 #undef HAVE_STDLIB_H
20510 #include <jpeglib.h>
20521 rm -f conftest.
$ac_objext
20522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20523 (eval $ac_compile) 2>conftest.er1
20525 grep -v '^ *+' conftest.er1
>conftest.err
20527 cat conftest.err
>&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } &&
20530 { ac_try
='test -z "$ac_c_werror_flag"
20531 || test ! -s conftest.err'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; } &&
20537 { ac_try
='test -s conftest.$ac_objext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; }; then
20543 ac_cv_header_jpeglib_h
=yes
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.
$ac_ext >&5
20548 ac_cv_header_jpeglib_h
=no
20551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20555 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20556 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20558 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20559 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20560 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20561 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 ac_check_lib_save_LIBS
=$LIBS
20565 LIBS
="-ljpeg $LIBS"
20566 cat >conftest.
$ac_ext <<_ACEOF
20569 cat confdefs.h
>>conftest.
$ac_ext
20570 cat >>conftest.
$ac_ext <<_ACEOF
20571 /* end confdefs.h. */
20573 /* Override any gcc2 internal prototype to avoid an error. */
20577 /* We use char because int might match the return type of a gcc2
20578 builtin and then its argument prototype would still apply. */
20579 char jpeg_read_header ();
20583 jpeg_read_header ();
20588 rm -f conftest.
$ac_objext conftest
$ac_exeext
20589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20590 (eval $ac_link) 2>conftest.er1
20592 grep -v '^ *+' conftest.er1
>conftest.err
20594 cat conftest.err
>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } &&
20597 { ac_try
='test -z "$ac_c_werror_flag"
20598 || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try
='test -s conftest$ac_exeext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 ac_cv_lib_jpeg_jpeg_read_header
=yes
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.
$ac_ext >&5
20615 ac_cv_lib_jpeg_jpeg_read_header
=no
20617 rm -f conftest.err conftest.
$ac_objext \
20618 conftest
$ac_exeext conftest.
$ac_ext
20619 LIBS
=$ac_check_lib_save_LIBS
20621 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20622 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20623 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20624 JPEG_LINK
=" -ljpeg"
20629 if test "x$JPEG_LINK" = "x" ; then
20630 if test "$wxUSE_LIBJPEG" = "sys" ; then
20631 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20632 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20633 { (exit 1); exit 1; }; }
20635 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20636 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20637 wxUSE_LIBJPEG
=builtin
20648 TIFF_PREREQ_LINKS
=-lm
20649 if test "$wxUSE_LIBTIFF" != "no" ; then
20650 cat >>confdefs.h
<<\_ACEOF
20651 #define wxUSE_LIBTIFF 1
20655 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20656 if test "$wxUSE_LIBJPEG" = "sys"; then
20657 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20659 if test "$wxUSE_ZLIB" = "sys"; then
20660 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20662 if test "${ac_cv_header_tiffio_h+set}" = set; then
20663 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20664 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20665 if test "${ac_cv_header_tiffio_h+set}" = set; then
20666 echo $ECHO_N "(cached) $ECHO_C" >&6
20668 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20669 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20671 # Is the header compilable?
20672 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20673 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20674 cat >conftest.
$ac_ext <<_ACEOF
20677 cat confdefs.h
>>conftest.
$ac_ext
20678 cat >>conftest.
$ac_ext <<_ACEOF
20679 /* end confdefs.h. */
20680 $ac_includes_default
20681 #include <tiffio.h>
20683 rm -f conftest.
$ac_objext
20684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20685 (eval $ac_compile) 2>conftest.er1
20687 grep -v '^ *+' conftest.er1
>conftest.err
20689 cat conftest.err
>&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } &&
20692 { ac_try
='test -z "$ac_c_werror_flag"
20693 || test ! -s conftest.err'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; } &&
20699 { ac_try
='test -s conftest.$ac_objext'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 ac_header_compiler
=yes
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.
$ac_ext >&5
20710 ac_header_compiler
=no
20712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20714 echo "${ECHO_T}$ac_header_compiler" >&6
20716 # Is the header present?
20717 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20718 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20719 cat >conftest.
$ac_ext <<_ACEOF
20722 cat confdefs.h
>>conftest.
$ac_ext
20723 cat >>conftest.
$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 #include <tiffio.h>
20727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20728 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20730 grep -v '^ *+' conftest.er1
>conftest.err
20732 cat conftest.err
>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } >/dev
/null
; then
20735 if test -s conftest.err
; then
20736 ac_cpp_err
=$ac_c_preproc_warn_flag
20737 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20744 if test -z "$ac_cpp_err"; then
20745 ac_header_preproc
=yes
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.
$ac_ext >&5
20750 ac_header_preproc
=no
20752 rm -f conftest.err conftest.
$ac_ext
20753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20754 echo "${ECHO_T}$ac_header_preproc" >&6
20756 # So? What about this header?
20757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20759 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20760 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20761 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20762 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20763 ac_header_preproc
=yes
20766 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20767 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20768 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20769 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20770 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20771 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20772 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20773 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20774 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20775 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20776 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20777 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20780 ## ----------------------------------------- ##
20781 ## Report this to wx-dev@lists.wxwindows.org ##
20782 ## ----------------------------------------- ##
20785 sed "s/^/$as_me: WARNING: /" >&2
20788 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20789 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20790 if test "${ac_cv_header_tiffio_h+set}" = set; then
20791 echo $ECHO_N "(cached) $ECHO_C" >&6
20793 ac_cv_header_tiffio_h
=$ac_header_preproc
20795 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20796 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20799 if test $ac_cv_header_tiffio_h = yes; then
20801 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20802 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20803 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20804 echo $ECHO_N "(cached) $ECHO_C" >&6
20806 ac_check_lib_save_LIBS
=$LIBS
20807 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20808 cat >conftest.
$ac_ext <<_ACEOF
20811 cat confdefs.h
>>conftest.
$ac_ext
20812 cat >>conftest.
$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20815 /* Override any gcc2 internal prototype to avoid an error. */
20819 /* We use char because int might match the return type of a gcc2
20820 builtin and then its argument prototype would still apply. */
20830 rm -f conftest.
$ac_objext conftest
$ac_exeext
20831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20832 (eval $ac_link) 2>conftest.er1
20834 grep -v '^ *+' conftest.er1
>conftest.err
20836 cat conftest.err
>&5
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); } &&
20839 { ac_try
='test -z "$ac_c_werror_flag"
20840 || test ! -s conftest.err'
20841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20842 (eval $ac_try) 2>&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); }; } &&
20846 { ac_try
='test -s conftest$ac_exeext'
20847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848 (eval $ac_try) 2>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); }; }; then
20852 ac_cv_lib_tiff_TIFFError
=yes
20854 echo "$as_me: failed program was:" >&5
20855 sed 's/^/| /' conftest.
$ac_ext >&5
20857 ac_cv_lib_tiff_TIFFError
=no
20859 rm -f conftest.err conftest.
$ac_objext \
20860 conftest
$ac_exeext conftest.
$ac_ext
20861 LIBS
=$ac_check_lib_save_LIBS
20863 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20864 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20865 if test $ac_cv_lib_tiff_TIFFError = yes; then
20866 TIFF_LINK
=" -ltiff"
20875 if test "x$TIFF_LINK" = "x" ; then
20876 if test "$wxUSE_LIBTIFF" = "sys" ; then
20877 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20878 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20879 { (exit 1); exit 1; }; }
20881 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20882 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20883 wxUSE_LIBTIFF
=builtin
20892 if test "$wxUSE_EXPAT" != "no"; then
20894 cat >>confdefs.h
<<\_ACEOF
20895 #define wxUSE_EXPAT 1
20898 cat >>confdefs.h
<<\_ACEOF
20899 #define wxUSE_XML 1
20903 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20904 if test "${ac_cv_header_expat_h+set}" = set; then
20905 echo "$as_me:$LINENO: checking for expat.h" >&5
20906 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20907 if test "${ac_cv_header_expat_h+set}" = set; then
20908 echo $ECHO_N "(cached) $ECHO_C" >&6
20910 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20911 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20913 # Is the header compilable?
20914 echo "$as_me:$LINENO: checking expat.h usability" >&5
20915 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20916 cat >conftest.
$ac_ext <<_ACEOF
20919 cat confdefs.h
>>conftest.
$ac_ext
20920 cat >>conftest.
$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20925 rm -f conftest.
$ac_objext
20926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20927 (eval $ac_compile) 2>conftest.er1
20929 grep -v '^ *+' conftest.er1
>conftest.err
20931 cat conftest.err
>&5
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); } &&
20934 { ac_try
='test -z "$ac_c_werror_flag"
20935 || test ! -s conftest.err'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; } &&
20941 { ac_try
='test -s conftest.$ac_objext'
20942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20943 (eval $ac_try) 2>&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); }; }; then
20947 ac_header_compiler
=yes
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.
$ac_ext >&5
20952 ac_header_compiler
=no
20954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20956 echo "${ECHO_T}$ac_header_compiler" >&6
20958 # Is the header present?
20959 echo "$as_me:$LINENO: checking expat.h presence" >&5
20960 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20961 cat >conftest.
$ac_ext <<_ACEOF
20964 cat confdefs.h
>>conftest.
$ac_ext
20965 cat >>conftest.
$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20972 grep -v '^ *+' conftest.er1
>conftest.err
20974 cat conftest.err
>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } >/dev
/null
; then
20977 if test -s conftest.err
; then
20978 ac_cpp_err
=$ac_c_preproc_warn_flag
20979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20986 if test -z "$ac_cpp_err"; then
20987 ac_header_preproc
=yes
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.
$ac_ext >&5
20992 ac_header_preproc
=no
20994 rm -f conftest.err conftest.
$ac_ext
20995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20996 echo "${ECHO_T}$ac_header_preproc" >&6
20998 # So? What about this header?
20999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21001 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21002 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21003 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21004 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21005 ac_header_preproc
=yes
21008 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21009 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21010 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21011 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21012 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21013 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21014 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21015 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21016 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21017 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21018 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21019 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21022 ## ----------------------------------------- ##
21023 ## Report this to wx-dev@lists.wxwindows.org ##
21024 ## ----------------------------------------- ##
21027 sed "s/^/$as_me: WARNING: /" >&2
21030 echo "$as_me:$LINENO: checking for expat.h" >&5
21031 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21032 if test "${ac_cv_header_expat_h+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 ac_cv_header_expat_h
=$ac_header_preproc
21037 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21038 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21041 if test $ac_cv_header_expat_h = yes; then
21046 if test "x$found_expat_h" = "x1"; then
21047 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21048 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21049 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 ac_cpp
='$CXXCPP $CPPFLAGS'
21057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21061 cat >conftest.
$ac_ext <<_ACEOF
21064 cat confdefs.h
>>conftest.
$ac_ext
21065 cat >>conftest.
$ac_ext <<_ACEOF
21066 /* end confdefs.h. */
21076 rm -f conftest.
$ac_objext
21077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21078 (eval $ac_compile) 2>conftest.er1
21080 grep -v '^ *+' conftest.er1
>conftest.err
21082 cat conftest.err
>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try
='test -z "$ac_cxx_werror_flag"
21086 || test ! -s conftest.err'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; } &&
21092 { ac_try
='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 wx_cv_expat_is_not_broken
=yes
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.
$ac_ext >&5
21103 wx_cv_expat_is_not_broken
=no
21106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21108 ac_cpp
='$CPP $CPPFLAGS'
21109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21116 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21117 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21118 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21119 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21120 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21121 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21122 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 ac_check_lib_save_LIBS
=$LIBS
21125 LIBS
="-lexpat $LIBS"
21126 cat >conftest.
$ac_ext <<_ACEOF
21129 cat confdefs.h
>>conftest.
$ac_ext
21130 cat >>conftest.
$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21133 /* Override any gcc2 internal prototype to avoid an error. */
21137 /* We use char because int might match the return type of a gcc2
21138 builtin and then its argument prototype would still apply. */
21139 char XML_ParserCreate ();
21143 XML_ParserCreate ();
21148 rm -f conftest.
$ac_objext conftest
$ac_exeext
21149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21150 (eval $ac_link) 2>conftest.er1
21152 grep -v '^ *+' conftest.er1
>conftest.err
21154 cat conftest.err
>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } &&
21157 { ac_try
='test -z "$ac_c_werror_flag"
21158 || test ! -s conftest.err'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; } &&
21164 { ac_try
='test -s conftest$ac_exeext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_lib_expat_XML_ParserCreate
=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.
$ac_ext >&5
21175 ac_cv_lib_expat_XML_ParserCreate
=no
21177 rm -f conftest.err conftest.
$ac_objext \
21178 conftest
$ac_exeext conftest.
$ac_ext
21179 LIBS
=$ac_check_lib_save_LIBS
21181 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21182 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21183 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21184 EXPAT_LINK
=" -lexpat"
21189 if test "x$EXPAT_LINK" = "x" ; then
21190 if test "$wxUSE_EXPAT" = "sys" ; then
21191 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21192 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21193 { (exit 1); exit 1; }; }
21195 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21196 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21197 wxUSE_EXPAT
=builtin
21203 if test "$wxUSE_EXPAT" = "builtin" ; then
21206 subdirs
="$subdirs src/expat"
21213 if test "$wxUSE_LIBMSPACK" != "no"; then
21215 if test "${ac_cv_header_mspack_h+set}" = set; then
21216 echo "$as_me:$LINENO: checking for mspack.h" >&5
21217 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21218 if test "${ac_cv_header_mspack_h+set}" = set; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21222 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21224 # Is the header compilable?
21225 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21226 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21227 cat >conftest.
$ac_ext <<_ACEOF
21230 cat confdefs.h
>>conftest.
$ac_ext
21231 cat >>conftest.
$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 $ac_includes_default
21234 #include <mspack.h>
21236 rm -f conftest.
$ac_objext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 (eval $ac_compile) 2>conftest.er1
21240 grep -v '^ *+' conftest.er1
>conftest.err
21242 cat conftest.err
>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } &&
21245 { ac_try
='test -z "$ac_c_werror_flag"
21246 || test ! -s conftest.err'
21247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248 (eval $ac_try) 2>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; } &&
21252 { ac_try
='test -s conftest.$ac_objext'
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21254 (eval $ac_try) 2>&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; }; then
21258 ac_header_compiler
=yes
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.
$ac_ext >&5
21263 ac_header_compiler
=no
21265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21267 echo "${ECHO_T}$ac_header_compiler" >&6
21269 # Is the header present?
21270 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21271 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21272 cat >conftest.
$ac_ext <<_ACEOF
21275 cat confdefs.h
>>conftest.
$ac_ext
21276 cat >>conftest.
$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 #include <mspack.h>
21280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21283 grep -v '^ *+' conftest.er1
>conftest.err
21285 cat conftest.err
>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } >/dev
/null
; then
21288 if test -s conftest.err
; then
21289 ac_cpp_err
=$ac_c_preproc_warn_flag
21290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21297 if test -z "$ac_cpp_err"; then
21298 ac_header_preproc
=yes
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.
$ac_ext >&5
21303 ac_header_preproc
=no
21305 rm -f conftest.err conftest.
$ac_ext
21306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21307 echo "${ECHO_T}$ac_header_preproc" >&6
21309 # So? What about this header?
21310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21312 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21313 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21314 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21315 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21316 ac_header_preproc
=yes
21319 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21320 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21321 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21322 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21323 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21324 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21325 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21326 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21327 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21328 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21329 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21330 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21333 ## ----------------------------------------- ##
21334 ## Report this to wx-dev@lists.wxwindows.org ##
21335 ## ----------------------------------------- ##
21338 sed "s/^/$as_me: WARNING: /" >&2
21341 echo "$as_me:$LINENO: checking for mspack.h" >&5
21342 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21343 if test "${ac_cv_header_mspack_h+set}" = set; then
21344 echo $ECHO_N "(cached) $ECHO_C" >&6
21346 ac_cv_header_mspack_h
=$ac_header_preproc
21348 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21349 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21352 if test $ac_cv_header_mspack_h = yes; then
21357 if test "x$found_mspack_h" = "x1"; then
21358 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21359 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21360 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21361 echo $ECHO_N "(cached) $ECHO_C" >&6
21363 ac_check_lib_save_LIBS
=$LIBS
21364 LIBS
="-lmspack $LIBS"
21365 cat >conftest.
$ac_ext <<_ACEOF
21368 cat confdefs.h
>>conftest.
$ac_ext
21369 cat >>conftest.
$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21372 /* Override any gcc2 internal prototype to avoid an error. */
21376 /* We use char because int might match the return type of a gcc2
21377 builtin and then its argument prototype would still apply. */
21378 char mspack_create_chm_decompressor ();
21382 mspack_create_chm_decompressor ();
21387 rm -f conftest.
$ac_objext conftest
$ac_exeext
21388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21389 (eval $ac_link) 2>conftest.er1
21391 grep -v '^ *+' conftest.er1
>conftest.err
21393 cat conftest.err
>&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); } &&
21396 { ac_try
='test -z "$ac_c_werror_flag"
21397 || test ! -s conftest.err'
21398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399 (eval $ac_try) 2>&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); }; } &&
21403 { ac_try
='test -s conftest$ac_exeext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.
$ac_ext >&5
21414 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21416 rm -f conftest.err conftest.
$ac_objext \
21417 conftest
$ac_exeext conftest.
$ac_ext
21418 LIBS
=$ac_check_lib_save_LIBS
21420 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21421 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21422 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21423 MSPACK_LINK
=" -lmspack"
21427 if test "x$MSPACK_LINK" = "x" ; then
21430 cat >>confdefs.h
<<\_ACEOF
21431 #define wxUSE_LIBMSPACK 1
21446 if test "$USE_WIN32" = 1 ; then
21448 for ac_header
in w32api.h
21450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21452 echo "$as_me:$LINENO: checking for $ac_header" >&5
21453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21455 echo $ECHO_N "(cached) $ECHO_C" >&6
21457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21460 # Is the header compilable?
21461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21463 cat >conftest.
$ac_ext <<_ACEOF
21466 cat confdefs.h
>>conftest.
$ac_ext
21467 cat >>conftest.
$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 $ac_includes_default
21470 #include <$ac_header>
21472 rm -f conftest.
$ac_objext
21473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21474 (eval $ac_compile) 2>conftest.er1
21476 grep -v '^ *+' conftest.er1
>conftest.err
21478 cat conftest.err
>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } &&
21481 { ac_try
='test -z "$ac_c_werror_flag"
21482 || test ! -s conftest.err'
21483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21484 (eval $ac_try) 2>&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); }; } &&
21488 { ac_try
='test -s conftest.$ac_objext'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; }; then
21494 ac_header_compiler
=yes
21496 echo "$as_me: failed program was:" >&5
21497 sed 's/^/| /' conftest.
$ac_ext >&5
21499 ac_header_compiler
=no
21501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21503 echo "${ECHO_T}$ac_header_compiler" >&6
21505 # Is the header present?
21506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21508 cat >conftest.
$ac_ext <<_ACEOF
21511 cat confdefs.h
>>conftest.
$ac_ext
21512 cat >>conftest.
$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 #include <$ac_header>
21516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21519 grep -v '^ *+' conftest.er1
>conftest.err
21521 cat conftest.err
>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } >/dev
/null
; then
21524 if test -s conftest.err
; then
21525 ac_cpp_err
=$ac_c_preproc_warn_flag
21526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21533 if test -z "$ac_cpp_err"; then
21534 ac_header_preproc
=yes
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.
$ac_ext >&5
21539 ac_header_preproc
=no
21541 rm -f conftest.err conftest.
$ac_ext
21542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21543 echo "${ECHO_T}$ac_header_preproc" >&6
21545 # So? What about this header?
21546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21552 ac_header_preproc
=yes
21555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21569 ## ----------------------------------------- ##
21570 ## Report this to wx-dev@lists.wxwindows.org ##
21571 ## ----------------------------------------- ##
21574 sed "s/^/$as_me: WARNING: /" >&2
21577 echo "$as_me:$LINENO: checking for $ac_header" >&5
21578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21580 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 eval "$as_ac_Header=\$ac_header_preproc"
21584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21589 cat >>confdefs.h
<<_ACEOF
21590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21597 if test "${ac_cv_header_windows_h+set}" = set; then
21598 echo "$as_me:$LINENO: checking for windows.h" >&5
21599 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21600 if test "${ac_cv_header_windows_h+set}" = set; then
21601 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21604 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21606 # Is the header compilable?
21607 echo "$as_me:$LINENO: checking windows.h usability" >&5
21608 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21609 cat >conftest.
$ac_ext <<_ACEOF
21612 cat confdefs.h
>>conftest.
$ac_ext
21613 cat >>conftest.
$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21616 #include <windows.h>
21618 rm -f conftest.
$ac_objext
21619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21620 (eval $ac_compile) 2>conftest.er1
21622 grep -v '^ *+' conftest.er1
>conftest.err
21624 cat conftest.err
>&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); } &&
21627 { ac_try
='test -z "$ac_c_werror_flag"
21628 || test ! -s conftest.err'
21629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21630 (eval $ac_try) 2>&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); }; } &&
21634 { ac_try
='test -s conftest.$ac_objext'
21635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 (eval $ac_try) 2>&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); }; }; then
21640 ac_header_compiler
=yes
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.
$ac_ext >&5
21645 ac_header_compiler
=no
21647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21649 echo "${ECHO_T}$ac_header_compiler" >&6
21651 # Is the header present?
21652 echo "$as_me:$LINENO: checking windows.h presence" >&5
21653 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21654 cat >conftest.
$ac_ext <<_ACEOF
21657 cat confdefs.h
>>conftest.
$ac_ext
21658 cat >>conftest.
$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 #include <windows.h>
21662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21665 grep -v '^ *+' conftest.er1
>conftest.err
21667 cat conftest.err
>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } >/dev
/null
; then
21670 if test -s conftest.err
; then
21671 ac_cpp_err
=$ac_c_preproc_warn_flag
21672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21679 if test -z "$ac_cpp_err"; then
21680 ac_header_preproc
=yes
21682 echo "$as_me: failed program was:" >&5
21683 sed 's/^/| /' conftest.
$ac_ext >&5
21685 ac_header_preproc
=no
21687 rm -f conftest.err conftest.
$ac_ext
21688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21689 echo "${ECHO_T}$ac_header_preproc" >&6
21691 # So? What about this header?
21692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21694 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21695 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21696 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21697 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21698 ac_header_preproc
=yes
21701 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21702 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21703 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21704 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21705 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21706 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21707 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21708 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21709 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21710 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21711 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21712 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21715 ## ----------------------------------------- ##
21716 ## Report this to wx-dev@lists.wxwindows.org ##
21717 ## ----------------------------------------- ##
21720 sed "s/^/$as_me: WARNING: /" >&2
21723 echo "$as_me:$LINENO: checking for windows.h" >&5
21724 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21725 if test "${ac_cv_header_windows_h+set}" = set; then
21726 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 ac_cv_header_windows_h
=$ac_header_preproc
21730 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21731 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21734 if test $ac_cv_header_windows_h = yes; then
21738 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21739 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21740 { (exit 1); exit 1; }; }
21746 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21748 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21749 LIBS
="$LIBS -loleacc"
21754 LIBS
="$LIBS -lkernel32 -luser32"
21755 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21758 if test "$wxUSE_ODBC" = "sys" ; then
21761 if test "$wxUSE_ODBC" = "yes" ; then
21762 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21763 cat >>confdefs.h
<<\_ACEOF
21764 #define wxUSE_ODBC 1
21769 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21770 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21772 WIN32INSTALL
=win32install
21775 if test "$wxUSE_GUI" = "yes"; then
21785 if test "$wxUSE_MSW" = 1 ; then
21791 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21795 if test "$wxUSE_GTK" = 1; then
21796 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21797 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21799 gtk_version_cached
=1
21800 if test "${wx_cv_lib_gtk+set}" = set; then
21801 echo $ECHO_N "(cached) $ECHO_C" >&6
21804 gtk_version_cached
=0
21805 echo "$as_me:$LINENO: result: " >&5
21806 echo "${ECHO_T}" >&6
21809 if test "$wxUSE_THREADS" = "yes"; then
21810 GTK_MODULES
=gthread
21814 if test "x$wxUSE_GTK2" = "xyes"; then
21815 # Check whether --enable-gtktest or --disable-gtktest was given.
21816 if test "${enable_gtktest+set}" = set; then
21817 enableval
="$enable_gtktest"
21823 pkg_config_args
=gtk
+-2.0
21824 for module
in .
$GTK_MODULES
21828 pkg_config_args
="$pkg_config_args gthread-2.0"
21835 # Extract the first word of "pkg-config", so it can be a program name with args.
21836 set dummy pkg
-config; ac_word
=$2
21837 echo "$as_me:$LINENO: checking for $ac_word" >&5
21838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21839 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21840 echo $ECHO_N "(cached) $ECHO_C" >&6
21842 case $PKG_CONFIG in
21844 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21848 for as_dir
in $PATH
21851 test -z "$as_dir" && as_dir
=.
21852 for ac_exec_ext
in '' $ac_executable_extensions; do
21853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21854 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21861 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21865 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21867 if test -n "$PKG_CONFIG"; then
21868 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21869 echo "${ECHO_T}$PKG_CONFIG" >&6
21871 echo "$as_me:$LINENO: result: no" >&5
21872 echo "${ECHO_T}no" >&6
21876 if test x
$PKG_CONFIG != xno
; then
21877 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21880 echo "*** pkg-config too old; version 0.7 or better required."
21888 min_gtk_version
=2.0.0
21889 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21890 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21892 if test x
$PKG_CONFIG != xno
; then
21893 ## don't try to run the test against uninstalled libtool libs
21894 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21895 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21899 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21906 if test x
"$no_gtk" = x
; then
21907 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21908 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21909 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21911 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21913 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21915 if test "x$enable_gtktest" = "xyes" ; then
21916 ac_save_CFLAGS
="$CFLAGS"
21917 ac_save_LIBS
="$LIBS"
21918 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21919 LIBS
="$GTK_LIBS $LIBS"
21921 if test "$cross_compiling" = yes; then
21922 echo $ac_n "cross compiling; assumed OK... $ac_c"
21924 cat >conftest.
$ac_ext <<_ACEOF
21927 cat confdefs.h
>>conftest.
$ac_ext
21928 cat >>conftest.
$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21931 #include <gtk/gtk.h>
21933 #include <stdlib.h>
21938 int major, minor, micro;
21941 system ("touch conf.gtktest");
21943 /* HP/UX 9 (%@#!) writes to sscanf strings */
21944 tmp_version = g_strdup("$min_gtk_version");
21945 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21946 printf("%s, bad version string\n", "$min_gtk_version");
21950 if ((gtk_major_version != $gtk_config_major_version) ||
21951 (gtk_minor_version != $gtk_config_minor_version) ||
21952 (gtk_micro_version != $gtk_config_micro_version))
21954 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21955 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21956 gtk_major_version, gtk_minor_version, gtk_micro_version);
21957 printf ("*** was found! If pkg-config was correct, then it is best\n");
21958 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21959 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21960 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21961 printf("*** required on your system.\n");
21962 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21963 printf("*** to point to the correct configuration files\n");
21965 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21966 (gtk_minor_version != GTK_MINOR_VERSION) ||
21967 (gtk_micro_version != GTK_MICRO_VERSION))
21969 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21970 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21971 printf("*** library (version %d.%d.%d)\n",
21972 gtk_major_version, gtk_minor_version, gtk_micro_version);
21976 if ((gtk_major_version > major) ||
21977 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21978 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21984 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21985 gtk_major_version, gtk_minor_version, gtk_micro_version);
21986 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21987 major, minor, micro);
21988 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21990 printf("*** If you have already installed a sufficiently new version, this error\n");
21991 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21992 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21993 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21994 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21995 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21996 printf("*** so that the correct libraries are found at run-time))\n");
22003 rm -f conftest
$ac_exeext
22004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22005 (eval $ac_link) 2>&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22016 echo "$as_me: program exited with status $ac_status" >&5
22017 echo "$as_me: failed program was:" >&5
22018 sed 's/^/| /' conftest.
$ac_ext >&5
22020 ( exit $ac_status )
22023 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22025 CFLAGS
="$ac_save_CFLAGS"
22026 LIBS
="$ac_save_LIBS"
22029 if test "x$no_gtk" = x
; then
22030 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22031 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22034 echo "$as_me:$LINENO: result: no" >&5
22035 echo "${ECHO_T}no" >&6
22036 if test "$PKG_CONFIG" = "no" ; then
22037 echo "*** A new enough version of pkg-config was not found."
22038 echo "*** See http://pkgconfig.sourceforge.net"
22040 if test -f conf.gtktest
; then
22043 echo "*** Could not run GTK+ test program, checking why..."
22044 ac_save_CFLAGS
="$CFLAGS"
22045 ac_save_LIBS
="$LIBS"
22046 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22047 LIBS
="$LIBS $GTK_LIBS"
22048 cat >conftest.
$ac_ext <<_ACEOF
22051 cat confdefs.h
>>conftest.
$ac_ext
22052 cat >>conftest.
$ac_ext <<_ACEOF
22053 /* end confdefs.h. */
22055 #include <gtk/gtk.h>
22061 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22066 rm -f conftest.
$ac_objext conftest
$ac_exeext
22067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22068 (eval $ac_link) 2>conftest.er1
22070 grep -v '^ *+' conftest.er1
>conftest.err
22072 cat conftest.err
>&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); } &&
22075 { ac_try
='test -z "$ac_c_werror_flag"
22076 || test ! -s conftest.err'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; } &&
22082 { ac_try
='test -s conftest$ac_exeext'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; }; then
22088 echo "*** The test program compiled, but did not run. This usually means"
22089 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22090 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22091 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22092 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22093 echo "*** is required on your system"
22095 echo "*** If you have an old version installed, it is best to remove it, although"
22096 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.
$ac_ext >&5
22101 echo "*** The test program failed to compile or link. See the file config.log for the"
22102 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22104 rm -f conftest.err conftest.
$ac_objext \
22105 conftest
$ac_exeext conftest.
$ac_ext
22106 CFLAGS
="$ac_save_CFLAGS"
22107 LIBS
="$ac_save_LIBS"
22120 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22121 if test "${with_gtk_prefix+set}" = set; then
22122 withval
="$with_gtk_prefix"
22123 gtk_config_prefix
="$withval"
22125 gtk_config_prefix
=""
22128 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22129 if test "${with_gtk_exec_prefix+set}" = set; then
22130 withval
="$with_gtk_exec_prefix"
22131 gtk_config_exec_prefix
="$withval"
22133 gtk_config_exec_prefix
=""
22135 # Check whether --enable-gtktest or --disable-gtktest was given.
22136 if test "${enable_gtktest+set}" = set; then
22137 enableval
="$enable_gtktest"
22143 for module
in .
$GTK_MODULES
22147 gtk_config_args
="$gtk_config_args gthread"
22152 if test x
$gtk_config_exec_prefix != x
; then
22153 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22154 if test x
${GTK_CONFIG+set} != xset
; then
22155 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22158 if test x
$gtk_config_prefix != x
; then
22159 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22160 if test x
${GTK_CONFIG+set} != xset
; then
22161 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22165 # Extract the first word of "gtk-config", so it can be a program name with args.
22166 set dummy gtk
-config; ac_word
=$2
22167 echo "$as_me:$LINENO: checking for $ac_word" >&5
22168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22169 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22172 case $GTK_CONFIG in
22174 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22178 for as_dir
in $PATH
22181 test -z "$as_dir" && as_dir
=.
22182 for ac_exec_ext
in '' $ac_executable_extensions; do
22183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22184 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22191 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22195 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22197 if test -n "$GTK_CONFIG"; then
22198 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22199 echo "${ECHO_T}$GTK_CONFIG" >&6
22201 echo "$as_me:$LINENO: result: no" >&5
22202 echo "${ECHO_T}no" >&6
22205 min_gtk_version
=1.2.7
22206 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22207 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22209 if test "$GTK_CONFIG" = "no" ; then
22212 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22213 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22214 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22215 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22216 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22218 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22219 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22220 if test "x$enable_gtktest" = "xyes" ; then
22221 ac_save_CFLAGS
="$CFLAGS"
22222 ac_save_LIBS
="$LIBS"
22223 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22224 LIBS
="$GTK_LIBS $LIBS"
22226 if test "$cross_compiling" = yes; then
22227 echo $ac_n "cross compiling; assumed OK... $ac_c"
22229 cat >conftest.
$ac_ext <<_ACEOF
22232 cat confdefs.h
>>conftest.
$ac_ext
22233 cat >>conftest.
$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22236 #include <gtk/gtk.h>
22238 #include <stdlib.h>
22243 int major, minor, micro;
22246 system ("touch conf.gtktest");
22248 /* HP/UX 9 (%@#!) writes to sscanf strings */
22249 tmp_version = g_strdup("$min_gtk_version");
22250 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22251 printf("%s, bad version string\n", "$min_gtk_version");
22255 if ((gtk_major_version != $gtk_config_major_version) ||
22256 (gtk_minor_version != $gtk_config_minor_version) ||
22257 (gtk_micro_version != $gtk_config_micro_version))
22259 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22260 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22261 gtk_major_version, gtk_minor_version, gtk_micro_version);
22262 printf ("*** was found! If gtk-config was correct, then it is best\n");
22263 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22264 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22265 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22266 printf("*** required on your system.\n");
22267 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22268 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22269 printf("*** before re-running configure\n");
22271 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22272 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22273 (gtk_minor_version != GTK_MINOR_VERSION) ||
22274 (gtk_micro_version != GTK_MICRO_VERSION))
22276 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22277 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22278 printf("*** library (version %d.%d.%d)\n",
22279 gtk_major_version, gtk_minor_version, gtk_micro_version);
22281 #endif /* defined (GTK_MAJOR_VERSION) ... */
22284 if ((gtk_major_version > major) ||
22285 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22286 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22292 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22293 gtk_major_version, gtk_minor_version, gtk_micro_version);
22294 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22295 major, minor, micro);
22296 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22298 printf("*** If you have already installed a sufficiently new version, this error\n");
22299 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22300 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22301 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22302 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22303 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22304 printf("*** so that the correct libraries are found at run-time))\n");
22311 rm -f conftest
$ac_exeext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22313 (eval $ac_link) 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; }; then
22324 echo "$as_me: program exited with status $ac_status" >&5
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.
$ac_ext >&5
22328 ( exit $ac_status )
22331 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22333 CFLAGS
="$ac_save_CFLAGS"
22334 LIBS
="$ac_save_LIBS"
22337 if test "x$no_gtk" = x
; then
22338 echo "$as_me:$LINENO: result: yes" >&5
22339 echo "${ECHO_T}yes" >&6
22340 wx_cv_lib_gtk
=1.2.7
22342 echo "$as_me:$LINENO: result: no" >&5
22343 echo "${ECHO_T}no" >&6
22344 if test "$GTK_CONFIG" = "no" ; then
22345 echo "*** The gtk-config script installed by GTK could not be found"
22346 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22347 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22348 echo "*** full path to gtk-config."
22350 if test -f conf.gtktest
; then
22353 echo "*** Could not run GTK test program, checking why..."
22354 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22355 LIBS
="$LIBS $GTK_LIBS"
22356 cat >conftest.
$ac_ext <<_ACEOF
22359 cat confdefs.h
>>conftest.
$ac_ext
22360 cat >>conftest.
$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22363 #include <gtk/gtk.h>
22369 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22374 rm -f conftest.
$ac_objext conftest
$ac_exeext
22375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22376 (eval $ac_link) 2>conftest.er1
22378 grep -v '^ *+' conftest.er1
>conftest.err
22380 cat conftest.err
>&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); } &&
22383 { ac_try
='test -z "$ac_c_werror_flag"
22384 || test ! -s conftest.err'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; } &&
22390 { ac_try
='test -s conftest$ac_exeext'
22391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392 (eval $ac_try) 2>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); }; }; then
22396 echo "*** The test program compiled, but did not run. This usually means"
22397 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22398 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22399 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22400 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22401 echo "*** is required on your system"
22403 echo "*** If you have an old version installed, it is best to remove it, although"
22404 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22406 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22407 echo "*** came with the system with the command"
22409 echo "*** rpm --erase --nodeps gtk gtk-devel"
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.
$ac_ext >&5
22414 echo "*** The test program failed to compile or link. See the file config.log for the"
22415 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22416 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22417 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22419 rm -f conftest.err conftest.
$ac_objext \
22420 conftest
$ac_exeext conftest.
$ac_ext
22421 CFLAGS
="$ac_save_CFLAGS"
22422 LIBS
="$ac_save_LIBS"
22434 if test -z "$wx_cv_lib_gtk"; then
22436 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22437 if test "${with_gtk_prefix+set}" = set; then
22438 withval
="$with_gtk_prefix"
22439 gtk_config_prefix
="$withval"
22441 gtk_config_prefix
=""
22444 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22445 if test "${with_gtk_exec_prefix+set}" = set; then
22446 withval
="$with_gtk_exec_prefix"
22447 gtk_config_exec_prefix
="$withval"
22449 gtk_config_exec_prefix
=""
22451 # Check whether --enable-gtktest or --disable-gtktest was given.
22452 if test "${enable_gtktest+set}" = set; then
22453 enableval
="$enable_gtktest"
22459 for module
in .
$GTK_MODULES
22463 gtk_config_args
="$gtk_config_args gthread"
22468 if test x
$gtk_config_exec_prefix != x
; then
22469 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22470 if test x
${GTK_CONFIG+set} != xset
; then
22471 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22474 if test x
$gtk_config_prefix != x
; then
22475 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22476 if test x
${GTK_CONFIG+set} != xset
; then
22477 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22481 # Extract the first word of "gtk-config", so it can be a program name with args.
22482 set dummy gtk
-config; ac_word
=$2
22483 echo "$as_me:$LINENO: checking for $ac_word" >&5
22484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22485 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 case $GTK_CONFIG in
22490 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22494 for as_dir
in $PATH
22497 test -z "$as_dir" && as_dir
=.
22498 for ac_exec_ext
in '' $ac_executable_extensions; do
22499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22500 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22507 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22511 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22513 if test -n "$GTK_CONFIG"; then
22514 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22515 echo "${ECHO_T}$GTK_CONFIG" >&6
22517 echo "$as_me:$LINENO: result: no" >&5
22518 echo "${ECHO_T}no" >&6
22521 min_gtk_version
=1.2.3
22522 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22523 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22525 if test "$GTK_CONFIG" = "no" ; then
22528 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22529 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22530 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22532 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22533 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22534 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22536 if test "x$enable_gtktest" = "xyes" ; then
22537 ac_save_CFLAGS
="$CFLAGS"
22538 ac_save_LIBS
="$LIBS"
22539 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22540 LIBS
="$GTK_LIBS $LIBS"
22542 if test "$cross_compiling" = yes; then
22543 echo $ac_n "cross compiling; assumed OK... $ac_c"
22545 cat >conftest.
$ac_ext <<_ACEOF
22548 cat confdefs.h
>>conftest.
$ac_ext
22549 cat >>conftest.
$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22552 #include <gtk/gtk.h>
22554 #include <stdlib.h>
22559 int major, minor, micro;
22562 system ("touch conf.gtktest");
22564 /* HP/UX 9 (%@#!) writes to sscanf strings */
22565 tmp_version = g_strdup("$min_gtk_version");
22566 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22567 printf("%s, bad version string\n", "$min_gtk_version");
22571 if ((gtk_major_version != $gtk_config_major_version) ||
22572 (gtk_minor_version != $gtk_config_minor_version) ||
22573 (gtk_micro_version != $gtk_config_micro_version))
22575 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22576 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22577 gtk_major_version, gtk_minor_version, gtk_micro_version);
22578 printf ("*** was found! If gtk-config was correct, then it is best\n");
22579 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22580 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22581 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22582 printf("*** required on your system.\n");
22583 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22584 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22585 printf("*** before re-running configure\n");
22587 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22588 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22589 (gtk_minor_version != GTK_MINOR_VERSION) ||
22590 (gtk_micro_version != GTK_MICRO_VERSION))
22592 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22593 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22594 printf("*** library (version %d.%d.%d)\n",
22595 gtk_major_version, gtk_minor_version, gtk_micro_version);
22597 #endif /* defined (GTK_MAJOR_VERSION) ... */
22600 if ((gtk_major_version > major) ||
22601 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22602 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22608 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22609 gtk_major_version, gtk_minor_version, gtk_micro_version);
22610 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22611 major, minor, micro);
22612 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22614 printf("*** If you have already installed a sufficiently new version, this error\n");
22615 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22616 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22617 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22618 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22619 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22620 printf("*** so that the correct libraries are found at run-time))\n");
22627 rm -f conftest
$ac_exeext
22628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22629 (eval $ac_link) 2>&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22634 (eval $ac_try) 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22640 echo "$as_me: program exited with status $ac_status" >&5
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.
$ac_ext >&5
22644 ( exit $ac_status )
22647 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22649 CFLAGS
="$ac_save_CFLAGS"
22650 LIBS
="$ac_save_LIBS"
22653 if test "x$no_gtk" = x
; then
22654 echo "$as_me:$LINENO: result: yes" >&5
22655 echo "${ECHO_T}yes" >&6
22656 wx_cv_lib_gtk
=1.2.3
22658 echo "$as_me:$LINENO: result: no" >&5
22659 echo "${ECHO_T}no" >&6
22660 if test "$GTK_CONFIG" = "no" ; then
22661 echo "*** The gtk-config script installed by GTK could not be found"
22662 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22663 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22664 echo "*** full path to gtk-config."
22666 if test -f conf.gtktest
; then
22669 echo "*** Could not run GTK test program, checking why..."
22670 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22671 LIBS
="$LIBS $GTK_LIBS"
22672 cat >conftest.
$ac_ext <<_ACEOF
22675 cat confdefs.h
>>conftest.
$ac_ext
22676 cat >>conftest.
$ac_ext <<_ACEOF
22677 /* end confdefs.h. */
22679 #include <gtk/gtk.h>
22685 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22690 rm -f conftest.
$ac_objext conftest
$ac_exeext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22692 (eval $ac_link) 2>conftest.er1
22694 grep -v '^ *+' conftest.er1
>conftest.err
22696 cat conftest.err
>&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); } &&
22699 { ac_try
='test -z "$ac_c_werror_flag"
22700 || test ! -s conftest.err'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; } &&
22706 { ac_try
='test -s conftest$ac_exeext'
22707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708 (eval $ac_try) 2>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; }; then
22712 echo "*** The test program compiled, but did not run. This usually means"
22713 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22714 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22715 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22716 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22717 echo "*** is required on your system"
22719 echo "*** If you have an old version installed, it is best to remove it, although"
22720 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22722 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22723 echo "*** came with the system with the command"
22725 echo "*** rpm --erase --nodeps gtk gtk-devel"
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.
$ac_ext >&5
22730 echo "*** The test program failed to compile or link. See the file config.log for the"
22731 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22732 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22733 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22735 rm -f conftest.err conftest.
$ac_objext \
22736 conftest
$ac_exeext conftest.
$ac_ext
22737 CFLAGS
="$ac_save_CFLAGS"
22738 LIBS
="$ac_save_LIBS"
22752 if test -z "$wx_cv_lib_gtk"; then
22755 wx_cv_cflags_gtk
=$GTK_CFLAGS
22756 wx_cv_libs_gtk
=$GTK_LIBS
22763 if test "$gtk_version_cached" = 1; then
22764 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22765 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22768 case "$wx_cv_lib_gtk" in
22777 *) { { echo "$as_me:$LINENO: error:
22778 Please check that gtk-config is in path, the directory
22779 where GTK+ libraries are installed (returned by
22780 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22781 equivalent variable and GTK+ is version 1.2.3 or above.
22783 echo "$as_me: error:
22784 Please check that gtk-config is in path, the directory
22785 where GTK+ libraries are installed (returned by
22786 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22787 equivalent variable and GTK+ is version 1.2.3 or above.
22789 { (exit 1); exit 1; }; }
22793 if test "$WXGTK20" = 1; then
22794 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22798 if test -z "$PKG_CONFIG"; then
22799 # Extract the first word of "pkg-config", so it can be a program name with args.
22800 set dummy pkg
-config; ac_word
=$2
22801 echo "$as_me:$LINENO: checking for $ac_word" >&5
22802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22804 echo $ECHO_N "(cached) $ECHO_C" >&6
22806 case $PKG_CONFIG in
22808 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22812 for as_dir
in $PATH
22815 test -z "$as_dir" && as_dir
=.
22816 for ac_exec_ext
in '' $ac_executable_extensions; do
22817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22818 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22825 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22829 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22831 if test -n "$PKG_CONFIG"; then
22832 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22833 echo "${ECHO_T}$PKG_CONFIG" >&6
22835 echo "$as_me:$LINENO: result: no" >&5
22836 echo "${ECHO_T}no" >&6
22841 if test "$PKG_CONFIG" = "no" ; then
22842 echo "*** The pkg-config script could not be found. Make sure it is"
22843 echo "*** in your path, or set the PKG_CONFIG environment variable"
22844 echo "*** to the full path to pkg-config."
22845 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22847 PKG_CONFIG_MIN_VERSION
=0.9.0
22848 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22849 echo "$as_me:$LINENO: checking for pangoft2" >&5
22850 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22852 if $PKG_CONFIG --exists "pangoft2" ; then
22853 echo "$as_me:$LINENO: result: yes" >&5
22854 echo "${ECHO_T}yes" >&6
22857 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22858 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22859 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22860 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22861 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22863 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22864 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22865 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22866 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22867 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22871 ## If we have a custom action on failure, don't print errors, but
22872 ## do set a variable so people can do so.
22873 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22880 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22881 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22885 if test $succeeded = yes; then
22887 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22888 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22892 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22893 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22894 wxUSE_PRINTING_ARCHITECTURE
="no"
22901 if test "$wxUSE_UNICODE" = "yes"; then
22902 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22903 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22908 if test "$USE_DARWIN" != 1; then
22910 for ac_func
in poll
22912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22913 echo "$as_me:$LINENO: checking for $ac_func" >&5
22914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22915 if eval "test \"\${$as_ac_var+set}\" = set"; then
22916 echo $ECHO_N "(cached) $ECHO_C" >&6
22918 cat >conftest.
$ac_ext <<_ACEOF
22921 cat confdefs.h
>>conftest.
$ac_ext
22922 cat >>conftest.
$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22926 #define $ac_func innocuous_$ac_func
22928 /* System header to define __stub macros and hopefully few prototypes,
22929 which can conflict with char $ac_func (); below.
22930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22931 <limits.h> exists even on freestanding compilers. */
22934 # include <limits.h>
22936 # include <assert.h>
22941 /* Override any gcc2 internal prototype to avoid an error. */
22946 /* We use char because int might match the return type of a gcc2
22947 builtin and then its argument prototype would still apply. */
22949 /* The GNU C library defines this for functions which it implements
22950 to always fail with ENOSYS. Some functions are actually named
22951 something starting with __ and the normal name is an alias. */
22952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22955 char (*f) () = $ac_func;
22964 return f != $ac_func;
22969 rm -f conftest.
$ac_objext conftest
$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>conftest.er1
22973 grep -v '^ *+' conftest.er1
>conftest.err
22975 cat conftest.err
>&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try
='test -z "$ac_c_werror_flag"
22979 || test ! -s conftest.err'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; } &&
22985 { ac_try
='test -s conftest$ac_exeext'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; }; then
22991 eval "$as_ac_var=yes"
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.
$ac_ext >&5
22996 eval "$as_ac_var=no"
22998 rm -f conftest.err conftest.
$ac_objext \
22999 conftest
$ac_exeext conftest.
$ac_ext
23001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23003 if test `eval echo '${'$as_ac_var'}'` = yes; then
23004 cat >>confdefs.h
<<_ACEOF
23005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23013 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23014 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23016 AFMINSTALL
=afminstall
23020 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23021 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23022 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23023 echo $ECHO_N "(cached) $ECHO_C" >&6
23025 ac_check_lib_save_LIBS
=$LIBS
23027 cat >conftest.
$ac_ext <<_ACEOF
23030 cat confdefs.h
>>conftest.
$ac_ext
23031 cat >>conftest.
$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23034 /* Override any gcc2 internal prototype to avoid an error. */
23038 /* We use char because int might match the return type of a gcc2
23039 builtin and then its argument prototype would still apply. */
23040 char gdk_im_open ();
23049 rm -f conftest.
$ac_objext conftest
$ac_exeext
23050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23051 (eval $ac_link) 2>conftest.er1
23053 grep -v '^ *+' conftest.er1
>conftest.err
23055 cat conftest.err
>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } &&
23058 { ac_try
='test -z "$ac_c_werror_flag"
23059 || test ! -s conftest.err'
23060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23061 (eval $ac_try) 2>&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); }; } &&
23065 { ac_try
='test -s conftest$ac_exeext'
23066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23067 (eval $ac_try) 2>&5
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); }; }; then
23071 ac_cv_lib_gdk_gdk_im_open
=yes
23073 echo "$as_me: failed program was:" >&5
23074 sed 's/^/| /' conftest.
$ac_ext >&5
23076 ac_cv_lib_gdk_gdk_im_open
=no
23078 rm -f conftest.err conftest.
$ac_objext \
23079 conftest
$ac_exeext conftest.
$ac_ext
23080 LIBS
=$ac_check_lib_save_LIBS
23082 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23083 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23084 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23085 cat >>confdefs.h
<<\_ACEOF
23093 if test "$wxUSE_GPE" = "yes"; then
23094 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23095 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23098 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23100 for ac_extension
in a so sl dylib
; do
23101 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23102 ac_find_libraries
=$ac_dir
23108 if test "$ac_find_libraries" != "" ; then
23110 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23112 if test $result = 0; then
23115 ac_path_to_link
=" -L$ac_find_libraries"
23118 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23120 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23121 echo "${ECHO_T}found at $ac_find_libraries" >&6
23123 echo "$as_me:$LINENO: result: not found" >&5
23124 echo "${ECHO_T}not found" >&6
23130 if test "$wxUSE_MGL" = 1; then
23131 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23132 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23133 if test "x$MGL_ROOT" = x
; then
23134 echo "$as_me:$LINENO: result: not found" >&5
23135 echo "${ECHO_T}not found" >&6
23136 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23137 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23138 { (exit 1); exit 1; }; }
23140 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23141 echo "${ECHO_T}$MGL_ROOT" >&6
23144 echo "$as_me:$LINENO: checking for libmgl location" >&5
23145 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23148 if test "x$wxUSE_SHARED" = xyes
; then
23149 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23151 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23155 mgl_os_candidates
="dos32/dj2"
23158 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23159 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23160 { (exit 1); exit 1; }; }
23166 for mgl_os_i
in $mgl_os_candidates ; do
23167 if test "x$mgl_os" = x
; then
23168 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23169 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23170 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23175 if test "x$mgl_lib_type" = x
; then
23176 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23177 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23178 mgl_lib_type
=release
23185 if test "x$mgl_os" = x
; then
23186 echo "$as_me:$LINENO: result: not found" >&5
23187 echo "${ECHO_T}not found" >&6
23188 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23189 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23190 { (exit 1); exit 1; }; }
23192 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23193 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23195 wxUSE_UNIVERSAL
="yes"
23197 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23198 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23200 AFMINSTALL
=afminstall
23205 if test "$wxUSE_MICROWIN" = 1; then
23206 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23207 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23208 if test "x$MICROWINDOWS" = x
; then
23209 echo "$as_me:$LINENO: result: not found" >&5
23210 echo "${ECHO_T}not found" >&6
23211 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23212 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23213 { (exit 1); exit 1; }; }
23215 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23216 echo "${ECHO_T}$MICROWINDOWS" >&6
23219 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23220 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23221 echo "${ECHO_T}MicroWindows' libraries found." >&6
23223 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23224 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23225 { (exit 1); exit 1; }; }
23228 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23229 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23231 wxUSE_UNIVERSAL
="yes"
23233 AFMINSTALL
=afminstall
23235 GUIDIST
=MICROWIN_DIST
23237 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23240 if test "$wxUSE_X11" = 1; then
23241 echo "$as_me:$LINENO: checking for X" >&5
23242 echo $ECHO_N "checking for X... $ECHO_C" >&6
23245 # Check whether --with-x or --without-x was given.
23246 if test "${with_x+set}" = set; then
23250 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23251 if test "x$with_x" = xno
; then
23252 # The user explicitly disabled X.
23255 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23256 # Both variables are already set.
23259 if test "${ac_cv_have_x+set}" = set; then
23260 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 # One or both of the vars are not set, and there is no cached value.
23263 ac_x_includes
=no ac_x_libraries
=no
23264 rm -fr conftest.dir
23265 if mkdir conftest.dir
; then
23267 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23268 cat >Imakefile
<<'_ACEOF'
23270 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23272 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23273 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23274 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23275 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23276 for ac_extension
in a so sl
; do
23277 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23278 test -f $ac_im_libdir/libX11.
$ac_extension; then
23279 ac_im_usrlibdir
=$ac_im_libdir; break
23282 # Screen out bogus values from the imake configuration. They are
23283 # bogus both because they are the default anyway, and because
23284 # using them would break gcc on systems where it needs fixed includes.
23285 case $ac_im_incroot in
23287 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23289 case $ac_im_usrlibdir in
23290 /usr
/lib
| /lib
) ;;
23291 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23295 rm -fr conftest.dir
23298 # Standard set of common directories for X headers.
23299 # Check X11 before X11Rn because it is often a symlink to the current release.
23311 /usr/local/X11/include
23312 /usr/local/X11R6/include
23313 /usr/local/X11R5/include
23314 /usr/local/X11R4/include
23316 /usr/local/include/X11
23317 /usr/local/include/X11R6
23318 /usr/local/include/X11R5
23319 /usr/local/include/X11R4
23323 /usr/XFree86/include/X11
23327 /usr/unsupported/include
23328 /usr/athena/include
23329 /usr/local/x11r5/include
23330 /usr/lpp/Xamples/include
23332 /usr/openwin/include
23333 /usr/openwin/share/include'
23335 if test "$ac_x_includes" = no
; then
23336 # Guess where to find include files, by looking for Intrinsic.h.
23337 # First, try using that file with no special directory specified.
23338 cat >conftest.
$ac_ext <<_ACEOF
23341 cat confdefs.h
>>conftest.
$ac_ext
23342 cat >>conftest.
$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344 #include <X11/Intrinsic.h>
23346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23349 grep -v '^ *+' conftest.er1
>conftest.err
23351 cat conftest.err
>&5
23352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 (exit $ac_status); } >/dev
/null
; then
23354 if test -s conftest.err
; then
23355 ac_cpp_err
=$ac_c_preproc_warn_flag
23356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23363 if test -z "$ac_cpp_err"; then
23364 # We can compile using X headers with no special include directory.
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.
$ac_ext >&5
23370 for ac_dir
in $ac_x_header_dirs; do
23371 if test -r "$ac_dir/X11/Intrinsic.h"; then
23372 ac_x_includes
=$ac_dir
23377 rm -f conftest.err conftest.
$ac_ext
23378 fi # $ac_x_includes = no
23380 if test "$ac_x_libraries" = no
; then
23381 # Check for the libraries.
23382 # See if we find them without any special options.
23383 # Don't add to $LIBS permanently.
23386 cat >conftest.
$ac_ext <<_ACEOF
23389 cat confdefs.h
>>conftest.
$ac_ext
23390 cat >>conftest.
$ac_ext <<_ACEOF
23391 /* end confdefs.h. */
23392 #include <X11/Intrinsic.h>
23401 rm -f conftest.
$ac_objext conftest
$ac_exeext
23402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23403 (eval $ac_link) 2>conftest.er1
23405 grep -v '^ *+' conftest.er1
>conftest.err
23407 cat conftest.err
>&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); } &&
23410 { ac_try
='test -z "$ac_c_werror_flag"
23411 || test ! -s conftest.err'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try
='test -s conftest$ac_exeext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23424 # We can link X programs with no special library path.
23427 echo "$as_me: failed program was:" >&5
23428 sed 's/^/| /' conftest.
$ac_ext >&5
23431 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23433 # Don't even attempt the hair of trying to link an X program!
23434 for ac_extension
in a so sl
; do
23435 if test -r $ac_dir/libXt.
$ac_extension; then
23436 ac_x_libraries
=$ac_dir
23442 rm -f conftest.err conftest.
$ac_objext \
23443 conftest
$ac_exeext conftest.
$ac_ext
23444 fi # $ac_x_libraries = no
23446 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23447 # Didn't find X anywhere. Cache the known absence of X.
23448 ac_cv_have_x
="have_x=no"
23450 # Record where we found X for the cache.
23451 ac_cv_have_x
="have_x=yes \
23452 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23457 eval "$ac_cv_have_x"
23460 if test "$have_x" != yes; then
23461 echo "$as_me:$LINENO: result: $have_x" >&5
23462 echo "${ECHO_T}$have_x" >&6
23465 # If each of the values was on the command line, it overrides each guess.
23466 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23467 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23468 # Update the cache value to reflect the command line values.
23469 ac_cv_have_x
="have_x=yes \
23470 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23471 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23472 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23475 if test "$no_x" = yes; then
23476 # Not all programs may use this symbol, but it does not hurt to define it.
23478 cat >>confdefs.h
<<\_ACEOF
23479 #define X_DISPLAY_MISSING 1
23482 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23484 if test -n "$x_includes"; then
23485 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23488 # It would also be nice to do this for all -L options, not just this one.
23489 if test -n "$x_libraries"; then
23490 X_LIBS
="$X_LIBS -L$x_libraries"
23491 # For Solaris; some versions of Sun CC require a space after -R and
23492 # others require no space. Words are not sufficient . . . .
23493 case `(uname -sr) 2>/dev/null` in
23495 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23496 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23497 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23498 cat >conftest.
$ac_ext <<_ACEOF
23501 cat confdefs.h
>>conftest.
$ac_ext
23502 cat >>conftest.
$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23513 rm -f conftest.
$ac_objext conftest
$ac_exeext
23514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23515 (eval $ac_link) 2>conftest.er1
23517 grep -v '^ *+' conftest.er1
>conftest.err
23519 cat conftest.err
>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try
='test -z "$ac_c_werror_flag"
23523 || test ! -s conftest.err'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; } &&
23529 { ac_try
='test -s conftest$ac_exeext'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.
$ac_ext >&5
23542 rm -f conftest.err conftest.
$ac_objext \
23543 conftest
$ac_exeext conftest.
$ac_ext
23544 if test $ac_R_nospace = yes; then
23545 echo "$as_me:$LINENO: result: no" >&5
23546 echo "${ECHO_T}no" >&6
23547 X_LIBS
="$X_LIBS -R$x_libraries"
23549 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23550 cat >conftest.
$ac_ext <<_ACEOF
23553 cat confdefs.h
>>conftest.
$ac_ext
23554 cat >>conftest.
$ac_ext <<_ACEOF
23555 /* end confdefs.h. */
23565 rm -f conftest.
$ac_objext conftest
$ac_exeext
23566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23567 (eval $ac_link) 2>conftest.er1
23569 grep -v '^ *+' conftest.er1
>conftest.err
23571 cat conftest.err
>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } &&
23574 { ac_try
='test -z "$ac_c_werror_flag"
23575 || test ! -s conftest.err'
23576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577 (eval $ac_try) 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; } &&
23581 { ac_try
='test -s conftest$ac_exeext'
23582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23583 (eval $ac_try) 2>&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); }; }; then
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.
$ac_ext >&5
23594 rm -f conftest.err conftest.
$ac_objext \
23595 conftest
$ac_exeext conftest.
$ac_ext
23596 if test $ac_R_space = yes; then
23597 echo "$as_me:$LINENO: result: yes" >&5
23598 echo "${ECHO_T}yes" >&6
23599 X_LIBS
="$X_LIBS -R $x_libraries"
23601 echo "$as_me:$LINENO: result: neither works" >&5
23602 echo "${ECHO_T}neither works" >&6
23605 LIBS
=$ac_xsave_LIBS
23609 # Check for system-dependent libraries X programs must link with.
23610 # Do this before checking for the system-independent R6 libraries
23611 # (-lICE), since we may need -lsocket or whatever for X linking.
23613 if test "$ISC" = yes; then
23614 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23616 # Martyn Johnson says this is needed for Ultrix, if the X
23617 # libraries were built with DECnet support. And Karl Berry says
23618 # the Alpha needs dnet_stub (dnet does not exist).
23619 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23620 cat >conftest.
$ac_ext <<_ACEOF
23623 cat confdefs.h
>>conftest.
$ac_ext
23624 cat >>conftest.
$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23627 /* Override any gcc2 internal prototype to avoid an error. */
23631 /* We use char because int might match the return type of a gcc2
23632 builtin and then its argument prototype would still apply. */
23633 char XOpenDisplay ();
23642 rm -f conftest.
$ac_objext conftest
$ac_exeext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23644 (eval $ac_link) 2>conftest.er1
23646 grep -v '^ *+' conftest.er1
>conftest.err
23648 cat conftest.err
>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try
='test -z "$ac_c_werror_flag"
23652 || test ! -s conftest.err'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; } &&
23658 { ac_try
='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.
$ac_ext >&5
23669 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23670 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23671 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23672 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 ac_check_lib_save_LIBS
=$LIBS
23675 LIBS
="-ldnet $LIBS"
23676 cat >conftest.
$ac_ext <<_ACEOF
23679 cat confdefs.h
>>conftest.
$ac_ext
23680 cat >>conftest.
$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23683 /* Override any gcc2 internal prototype to avoid an error. */
23687 /* We use char because int might match the return type of a gcc2
23688 builtin and then its argument prototype would still apply. */
23698 rm -f conftest.
$ac_objext conftest
$ac_exeext
23699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23700 (eval $ac_link) 2>conftest.er1
23702 grep -v '^ *+' conftest.er1
>conftest.err
23704 cat conftest.err
>&5
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); } &&
23707 { ac_try
='test -z "$ac_c_werror_flag"
23708 || test ! -s conftest.err'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; } &&
23714 { ac_try
='test -s conftest$ac_exeext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 ac_cv_lib_dnet_dnet_ntoa
=yes
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.
$ac_ext >&5
23725 ac_cv_lib_dnet_dnet_ntoa
=no
23727 rm -f conftest.err conftest.
$ac_objext \
23728 conftest
$ac_exeext conftest.
$ac_ext
23729 LIBS
=$ac_check_lib_save_LIBS
23731 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23732 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23733 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23734 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23737 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23738 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23739 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23740 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23741 echo $ECHO_N "(cached) $ECHO_C" >&6
23743 ac_check_lib_save_LIBS
=$LIBS
23744 LIBS
="-ldnet_stub $LIBS"
23745 cat >conftest.
$ac_ext <<_ACEOF
23748 cat confdefs.h
>>conftest.
$ac_ext
23749 cat >>conftest.
$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23752 /* Override any gcc2 internal prototype to avoid an error. */
23756 /* We use char because int might match the return type of a gcc2
23757 builtin and then its argument prototype would still apply. */
23767 rm -f conftest.
$ac_objext conftest
$ac_exeext
23768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23769 (eval $ac_link) 2>conftest.er1
23771 grep -v '^ *+' conftest.er1
>conftest.err
23773 cat conftest.err
>&5
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); } &&
23776 { ac_try
='test -z "$ac_c_werror_flag"
23777 || test ! -s conftest.err'
23778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23779 (eval $ac_try) 2>&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); }; } &&
23783 { ac_try
='test -s conftest$ac_exeext'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; }; then
23789 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23791 echo "$as_me: failed program was:" >&5
23792 sed 's/^/| /' conftest.
$ac_ext >&5
23794 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23796 rm -f conftest.err conftest.
$ac_objext \
23797 conftest
$ac_exeext conftest.
$ac_ext
23798 LIBS
=$ac_check_lib_save_LIBS
23800 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23801 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23802 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23803 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23808 rm -f conftest.err conftest.
$ac_objext \
23809 conftest
$ac_exeext conftest.
$ac_ext
23810 LIBS
="$ac_xsave_LIBS"
23812 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23813 # to get the SysV transport functions.
23814 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23816 # The nsl library prevents programs from opening the X display
23817 # on Irix 5.2, according to T.E. Dickey.
23818 # The functions gethostbyname, getservbyname, and inet_addr are
23819 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23820 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23821 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23822 if test "${ac_cv_func_gethostbyname+set}" = set; then
23823 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 cat >conftest.
$ac_ext <<_ACEOF
23828 cat confdefs.h
>>conftest.
$ac_ext
23829 cat >>conftest.
$ac_ext <<_ACEOF
23830 /* end confdefs.h. */
23831 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23833 #define gethostbyname innocuous_gethostbyname
23835 /* System header to define __stub macros and hopefully few prototypes,
23836 which can conflict with char gethostbyname (); below.
23837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23838 <limits.h> exists even on freestanding compilers. */
23841 # include <limits.h>
23843 # include <assert.h>
23846 #undef gethostbyname
23848 /* Override any gcc2 internal prototype to avoid an error. */
23853 /* We use char because int might match the return type of a gcc2
23854 builtin and then its argument prototype would still apply. */
23855 char gethostbyname ();
23856 /* The GNU C library defines this for functions which it implements
23857 to always fail with ENOSYS. Some functions are actually named
23858 something starting with __ and the normal name is an alias. */
23859 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23862 char (*f) () = gethostbyname;
23871 return f != gethostbyname;
23876 rm -f conftest.
$ac_objext conftest
$ac_exeext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23878 (eval $ac_link) 2>conftest.er1
23880 grep -v '^ *+' conftest.er1
>conftest.err
23882 cat conftest.err
>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try
='test -z "$ac_c_werror_flag"
23886 || test ! -s conftest.err'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; } &&
23892 { ac_try
='test -s conftest$ac_exeext'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; }; then
23898 ac_cv_func_gethostbyname
=yes
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.
$ac_ext >&5
23903 ac_cv_func_gethostbyname
=no
23905 rm -f conftest.err conftest.
$ac_objext \
23906 conftest
$ac_exeext conftest.
$ac_ext
23908 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23909 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23911 if test $ac_cv_func_gethostbyname = no
; then
23912 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23913 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23914 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23915 echo $ECHO_N "(cached) $ECHO_C" >&6
23917 ac_check_lib_save_LIBS
=$LIBS
23919 cat >conftest.
$ac_ext <<_ACEOF
23922 cat confdefs.h
>>conftest.
$ac_ext
23923 cat >>conftest.
$ac_ext <<_ACEOF
23924 /* end confdefs.h. */
23926 /* Override any gcc2 internal prototype to avoid an error. */
23930 /* We use char because int might match the return type of a gcc2
23931 builtin and then its argument prototype would still apply. */
23932 char gethostbyname ();
23941 rm -f conftest.
$ac_objext conftest
$ac_exeext
23942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23943 (eval $ac_link) 2>conftest.er1
23945 grep -v '^ *+' conftest.er1
>conftest.err
23947 cat conftest.err
>&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); } &&
23950 { ac_try
='test -z "$ac_c_werror_flag"
23951 || test ! -s conftest.err'
23952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23953 (eval $ac_try) 2>&5
23955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23956 (exit $ac_status); }; } &&
23957 { ac_try
='test -s conftest$ac_exeext'
23958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23959 (eval $ac_try) 2>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); }; }; then
23963 ac_cv_lib_nsl_gethostbyname
=yes
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.
$ac_ext >&5
23968 ac_cv_lib_nsl_gethostbyname
=no
23970 rm -f conftest.err conftest.
$ac_objext \
23971 conftest
$ac_exeext conftest.
$ac_ext
23972 LIBS
=$ac_check_lib_save_LIBS
23974 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23975 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23976 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23977 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23980 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23981 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23982 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23983 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23986 ac_check_lib_save_LIBS
=$LIBS
23988 cat >conftest.
$ac_ext <<_ACEOF
23991 cat confdefs.h
>>conftest.
$ac_ext
23992 cat >>conftest.
$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23995 /* Override any gcc2 internal prototype to avoid an error. */
23999 /* We use char because int might match the return type of a gcc2
24000 builtin and then its argument prototype would still apply. */
24001 char gethostbyname ();
24010 rm -f conftest.
$ac_objext conftest
$ac_exeext
24011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24012 (eval $ac_link) 2>conftest.er1
24014 grep -v '^ *+' conftest.er1
>conftest.err
24016 cat conftest.err
>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try
='test -z "$ac_c_werror_flag"
24020 || test ! -s conftest.err'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; } &&
24026 { ac_try
='test -s conftest$ac_exeext'
24027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24028 (eval $ac_try) 2>&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); }; }; then
24032 ac_cv_lib_bsd_gethostbyname
=yes
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.
$ac_ext >&5
24037 ac_cv_lib_bsd_gethostbyname
=no
24039 rm -f conftest.err conftest.
$ac_objext \
24040 conftest
$ac_exeext conftest.
$ac_ext
24041 LIBS
=$ac_check_lib_save_LIBS
24043 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24044 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24045 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24046 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24053 # socket/setsockopt and other routines are undefined under SCO ODT
24054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24055 # on later versions), says Simon Leinen: it contains gethostby*
24056 # variants that don't use the name server (or something). -lsocket
24057 # must be given before -lnsl if both are needed. We assume that
24058 # if connect needs -lnsl, so does gethostbyname.
24059 echo "$as_me:$LINENO: checking for connect" >&5
24060 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24061 if test "${ac_cv_func_connect+set}" = set; then
24062 echo $ECHO_N "(cached) $ECHO_C" >&6
24064 cat >conftest.
$ac_ext <<_ACEOF
24067 cat confdefs.h
>>conftest.
$ac_ext
24068 cat >>conftest.
$ac_ext <<_ACEOF
24069 /* end confdefs.h. */
24070 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24072 #define connect innocuous_connect
24074 /* System header to define __stub macros and hopefully few prototypes,
24075 which can conflict with char connect (); below.
24076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24077 <limits.h> exists even on freestanding compilers. */
24080 # include <limits.h>
24082 # include <assert.h>
24087 /* Override any gcc2 internal prototype to avoid an error. */
24092 /* We use char because int might match the return type of a gcc2
24093 builtin and then its argument prototype would still apply. */
24095 /* The GNU C library defines this for functions which it implements
24096 to always fail with ENOSYS. Some functions are actually named
24097 something starting with __ and the normal name is an alias. */
24098 #if defined (__stub_connect) || defined (__stub___connect)
24101 char (*f) () = connect;
24110 return f != connect;
24115 rm -f conftest.
$ac_objext conftest
$ac_exeext
24116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24117 (eval $ac_link) 2>conftest.er1
24119 grep -v '^ *+' conftest.er1
>conftest.err
24121 cat conftest.err
>&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); } &&
24124 { ac_try
='test -z "$ac_c_werror_flag"
24125 || test ! -s conftest.err'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; } &&
24131 { ac_try
='test -s conftest$ac_exeext'
24132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24133 (eval $ac_try) 2>&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); }; }; then
24137 ac_cv_func_connect
=yes
24139 echo "$as_me: failed program was:" >&5
24140 sed 's/^/| /' conftest.
$ac_ext >&5
24142 ac_cv_func_connect
=no
24144 rm -f conftest.err conftest.
$ac_objext \
24145 conftest
$ac_exeext conftest.
$ac_ext
24147 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24148 echo "${ECHO_T}$ac_cv_func_connect" >&6
24150 if test $ac_cv_func_connect = no
; then
24151 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24152 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24153 if test "${ac_cv_lib_socket_connect+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24156 ac_check_lib_save_LIBS
=$LIBS
24157 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24158 cat >conftest.
$ac_ext <<_ACEOF
24161 cat confdefs.h
>>conftest.
$ac_ext
24162 cat >>conftest.
$ac_ext <<_ACEOF
24163 /* end confdefs.h. */
24165 /* Override any gcc2 internal prototype to avoid an error. */
24169 /* We use char because int might match the return type of a gcc2
24170 builtin and then its argument prototype would still apply. */
24180 rm -f conftest.
$ac_objext conftest
$ac_exeext
24181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24182 (eval $ac_link) 2>conftest.er1
24184 grep -v '^ *+' conftest.er1
>conftest.err
24186 cat conftest.err
>&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } &&
24189 { ac_try
='test -z "$ac_c_werror_flag"
24190 || test ! -s conftest.err'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; } &&
24196 { ac_try
='test -s conftest$ac_exeext'
24197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198 (eval $ac_try) 2>&5
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; }; then
24202 ac_cv_lib_socket_connect
=yes
24204 echo "$as_me: failed program was:" >&5
24205 sed 's/^/| /' conftest.
$ac_ext >&5
24207 ac_cv_lib_socket_connect
=no
24209 rm -f conftest.err conftest.
$ac_objext \
24210 conftest
$ac_exeext conftest.
$ac_ext
24211 LIBS
=$ac_check_lib_save_LIBS
24213 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24214 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24215 if test $ac_cv_lib_socket_connect = yes; then
24216 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24221 # Guillermo Gomez says -lposix is necessary on A/UX.
24222 echo "$as_me:$LINENO: checking for remove" >&5
24223 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24224 if test "${ac_cv_func_remove+set}" = set; then
24225 echo $ECHO_N "(cached) $ECHO_C" >&6
24227 cat >conftest.
$ac_ext <<_ACEOF
24230 cat confdefs.h
>>conftest.
$ac_ext
24231 cat >>conftest.
$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24235 #define remove innocuous_remove
24237 /* System header to define __stub macros and hopefully few prototypes,
24238 which can conflict with char remove (); below.
24239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24240 <limits.h> exists even on freestanding compilers. */
24243 # include <limits.h>
24245 # include <assert.h>
24250 /* Override any gcc2 internal prototype to avoid an error. */
24255 /* We use char because int might match the return type of a gcc2
24256 builtin and then its argument prototype would still apply. */
24258 /* The GNU C library defines this for functions which it implements
24259 to always fail with ENOSYS. Some functions are actually named
24260 something starting with __ and the normal name is an alias. */
24261 #if defined (__stub_remove) || defined (__stub___remove)
24264 char (*f) () = remove;
24273 return f != remove;
24278 rm -f conftest.
$ac_objext conftest
$ac_exeext
24279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24280 (eval $ac_link) 2>conftest.er1
24282 grep -v '^ *+' conftest.er1
>conftest.err
24284 cat conftest.err
>&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); } &&
24287 { ac_try
='test -z "$ac_c_werror_flag"
24288 || test ! -s conftest.err'
24289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290 (eval $ac_try) 2>&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); }; } &&
24294 { ac_try
='test -s conftest$ac_exeext'
24295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 (eval $ac_try) 2>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); }; }; then
24300 ac_cv_func_remove
=yes
24302 echo "$as_me: failed program was:" >&5
24303 sed 's/^/| /' conftest.
$ac_ext >&5
24305 ac_cv_func_remove
=no
24307 rm -f conftest.err conftest.
$ac_objext \
24308 conftest
$ac_exeext conftest.
$ac_ext
24310 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24311 echo "${ECHO_T}$ac_cv_func_remove" >&6
24313 if test $ac_cv_func_remove = no
; then
24314 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24315 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24316 if test "${ac_cv_lib_posix_remove+set}" = set; then
24317 echo $ECHO_N "(cached) $ECHO_C" >&6
24319 ac_check_lib_save_LIBS
=$LIBS
24320 LIBS
="-lposix $LIBS"
24321 cat >conftest.
$ac_ext <<_ACEOF
24324 cat confdefs.h
>>conftest.
$ac_ext
24325 cat >>conftest.
$ac_ext <<_ACEOF
24326 /* end confdefs.h. */
24328 /* Override any gcc2 internal prototype to avoid an error. */
24332 /* We use char because int might match the return type of a gcc2
24333 builtin and then its argument prototype would still apply. */
24343 rm -f conftest.
$ac_objext conftest
$ac_exeext
24344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24345 (eval $ac_link) 2>conftest.er1
24347 grep -v '^ *+' conftest.er1
>conftest.err
24349 cat conftest.err
>&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try
='test -z "$ac_c_werror_flag"
24353 || test ! -s conftest.err'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; } &&
24359 { ac_try
='test -s conftest$ac_exeext'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; }; then
24365 ac_cv_lib_posix_remove
=yes
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.
$ac_ext >&5
24370 ac_cv_lib_posix_remove
=no
24372 rm -f conftest.err conftest.
$ac_objext \
24373 conftest
$ac_exeext conftest.
$ac_ext
24374 LIBS
=$ac_check_lib_save_LIBS
24376 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24377 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24378 if test $ac_cv_lib_posix_remove = yes; then
24379 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24384 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24385 echo "$as_me:$LINENO: checking for shmat" >&5
24386 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24387 if test "${ac_cv_func_shmat+set}" = set; then
24388 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 cat >conftest.
$ac_ext <<_ACEOF
24393 cat confdefs.h
>>conftest.
$ac_ext
24394 cat >>conftest.
$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24396 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24398 #define shmat innocuous_shmat
24400 /* System header to define __stub macros and hopefully few prototypes,
24401 which can conflict with char shmat (); below.
24402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24403 <limits.h> exists even on freestanding compilers. */
24406 # include <limits.h>
24408 # include <assert.h>
24413 /* Override any gcc2 internal prototype to avoid an error. */
24418 /* We use char because int might match the return type of a gcc2
24419 builtin and then its argument prototype would still apply. */
24421 /* The GNU C library defines this for functions which it implements
24422 to always fail with ENOSYS. Some functions are actually named
24423 something starting with __ and the normal name is an alias. */
24424 #if defined (__stub_shmat) || defined (__stub___shmat)
24427 char (*f) () = shmat;
24441 rm -f conftest.
$ac_objext conftest
$ac_exeext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24443 (eval $ac_link) 2>conftest.er1
24445 grep -v '^ *+' conftest.er1
>conftest.err
24447 cat conftest.err
>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try
='test -z "$ac_c_werror_flag"
24451 || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try
='test -s conftest$ac_exeext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 ac_cv_func_shmat
=yes
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.
$ac_ext >&5
24468 ac_cv_func_shmat
=no
24470 rm -f conftest.err conftest.
$ac_objext \
24471 conftest
$ac_exeext conftest.
$ac_ext
24473 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24474 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24476 if test $ac_cv_func_shmat = no
; then
24477 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24478 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24479 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24480 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 ac_check_lib_save_LIBS
=$LIBS
24484 cat >conftest.
$ac_ext <<_ACEOF
24487 cat confdefs.h
>>conftest.
$ac_ext
24488 cat >>conftest.
$ac_ext <<_ACEOF
24489 /* end confdefs.h. */
24491 /* Override any gcc2 internal prototype to avoid an error. */
24495 /* We use char because int might match the return type of a gcc2
24496 builtin and then its argument prototype would still apply. */
24506 rm -f conftest.
$ac_objext conftest
$ac_exeext
24507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24508 (eval $ac_link) 2>conftest.er1
24510 grep -v '^ *+' conftest.er1
>conftest.err
24512 cat conftest.err
>&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } &&
24515 { ac_try
='test -z "$ac_c_werror_flag"
24516 || test ! -s conftest.err'
24517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24518 (eval $ac_try) 2>&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); }; } &&
24522 { ac_try
='test -s conftest$ac_exeext'
24523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24524 (eval $ac_try) 2>&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); }; }; then
24528 ac_cv_lib_ipc_shmat
=yes
24530 echo "$as_me: failed program was:" >&5
24531 sed 's/^/| /' conftest.
$ac_ext >&5
24533 ac_cv_lib_ipc_shmat
=no
24535 rm -f conftest.err conftest.
$ac_objext \
24536 conftest
$ac_exeext conftest.
$ac_ext
24537 LIBS
=$ac_check_lib_save_LIBS
24539 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24540 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24541 if test $ac_cv_lib_ipc_shmat = yes; then
24542 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24548 # Check for libraries that X11R6 Xt/Xaw programs need.
24549 ac_save_LDFLAGS
=$LDFLAGS
24550 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24551 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24552 # check for ICE first), but we must link in the order -lSM -lICE or
24553 # we get undefined symbols. So assume we have SM if we have ICE.
24554 # These have to be linked with before -lX11, unlike the other
24555 # libraries we check for below, so use a different variable.
24556 # John Interrante, Karl Berry
24557 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24558 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24559 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24560 echo $ECHO_N "(cached) $ECHO_C" >&6
24562 ac_check_lib_save_LIBS
=$LIBS
24563 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24564 cat >conftest.
$ac_ext <<_ACEOF
24567 cat confdefs.h
>>conftest.
$ac_ext
24568 cat >>conftest.
$ac_ext <<_ACEOF
24569 /* end confdefs.h. */
24571 /* Override any gcc2 internal prototype to avoid an error. */
24575 /* We use char because int might match the return type of a gcc2
24576 builtin and then its argument prototype would still apply. */
24577 char IceConnectionNumber ();
24581 IceConnectionNumber ();
24586 rm -f conftest.
$ac_objext conftest
$ac_exeext
24587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24588 (eval $ac_link) 2>conftest.er1
24590 grep -v '^ *+' conftest.er1
>conftest.err
24592 cat conftest.err
>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); } &&
24595 { ac_try
='test -z "$ac_c_werror_flag"
24596 || test ! -s conftest.err'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; } &&
24602 { ac_try
='test -s conftest$ac_exeext'
24603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24604 (eval $ac_try) 2>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); }; }; then
24608 ac_cv_lib_ICE_IceConnectionNumber
=yes
24610 echo "$as_me: failed program was:" >&5
24611 sed 's/^/| /' conftest.
$ac_ext >&5
24613 ac_cv_lib_ICE_IceConnectionNumber
=no
24615 rm -f conftest.err conftest.
$ac_objext \
24616 conftest
$ac_exeext conftest.
$ac_ext
24617 LIBS
=$ac_check_lib_save_LIBS
24619 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24620 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24621 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24622 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24625 LDFLAGS
=$ac_save_LDFLAGS
24630 if test "$no_x" = "yes"; then
24631 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24632 echo "$as_me: error: X11 not found" >&2;}
24633 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24636 GUI_TK_LIBRARY
="$X_LIBS"
24637 TOOLKIT_INCLUDE
="$X_CFLAGS"
24638 AFMINSTALL
=afminstall
24639 COMPILED_X_PROGRAM
=0
24641 if test "$wxUSE_NANOX" = "yes"; then
24642 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24643 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24644 if test "x$MICROWIN" = x
; then
24645 echo "$as_me:$LINENO: result: not found" >&5
24646 echo "${ECHO_T}not found" >&6
24647 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24648 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24649 { (exit 1); exit 1; }; }
24651 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24652 echo "${ECHO_T}$MICROWIN" >&6
24653 cat >>confdefs.h
<<\_ACEOF
24654 #define wxUSE_NANOX 1
24660 if test "$wxUSE_UNICODE" = "yes"; then
24664 if test -z "$PKG_CONFIG"; then
24665 # Extract the first word of "pkg-config", so it can be a program name with args.
24666 set dummy pkg
-config; ac_word
=$2
24667 echo "$as_me:$LINENO: checking for $ac_word" >&5
24668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24669 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24670 echo $ECHO_N "(cached) $ECHO_C" >&6
24672 case $PKG_CONFIG in
24674 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24678 for as_dir
in $PATH
24681 test -z "$as_dir" && as_dir
=.
24682 for ac_exec_ext
in '' $ac_executable_extensions; do
24683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24684 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24691 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24695 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24697 if test -n "$PKG_CONFIG"; then
24698 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24699 echo "${ECHO_T}$PKG_CONFIG" >&6
24701 echo "$as_me:$LINENO: result: no" >&5
24702 echo "${ECHO_T}no" >&6
24707 if test "$PKG_CONFIG" = "no" ; then
24708 echo "*** The pkg-config script could not be found. Make sure it is"
24709 echo "*** in your path, or set the PKG_CONFIG environment variable"
24710 echo "*** to the full path to pkg-config."
24711 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24713 PKG_CONFIG_MIN_VERSION
=0.9.0
24714 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24715 echo "$as_me:$LINENO: checking for pangox" >&5
24716 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24718 if $PKG_CONFIG --exists "pangox" ; then
24719 echo "$as_me:$LINENO: result: yes" >&5
24720 echo "${ECHO_T}yes" >&6
24723 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24724 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24725 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24726 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24727 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24729 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24730 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24731 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24732 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24733 echo "${ECHO_T}$PANGOX_LIBS" >&6
24737 ## If we have a custom action on failure, don't print errors, but
24738 ## do set a variable so people can do so.
24739 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24746 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24747 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24751 if test $succeeded = yes; then
24753 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24754 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24758 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24759 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24760 { (exit 1); exit 1; }; }
24768 if test -z "$PKG_CONFIG"; then
24769 # Extract the first word of "pkg-config", so it can be a program name with args.
24770 set dummy pkg
-config; ac_word
=$2
24771 echo "$as_me:$LINENO: checking for $ac_word" >&5
24772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24773 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24774 echo $ECHO_N "(cached) $ECHO_C" >&6
24776 case $PKG_CONFIG in
24778 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24782 for as_dir
in $PATH
24785 test -z "$as_dir" && as_dir
=.
24786 for ac_exec_ext
in '' $ac_executable_extensions; do
24787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24788 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24795 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24799 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24801 if test -n "$PKG_CONFIG"; then
24802 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24803 echo "${ECHO_T}$PKG_CONFIG" >&6
24805 echo "$as_me:$LINENO: result: no" >&5
24806 echo "${ECHO_T}no" >&6
24811 if test "$PKG_CONFIG" = "no" ; then
24812 echo "*** The pkg-config script could not be found. Make sure it is"
24813 echo "*** in your path, or set the PKG_CONFIG environment variable"
24814 echo "*** to the full path to pkg-config."
24815 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24817 PKG_CONFIG_MIN_VERSION
=0.9.0
24818 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24819 echo "$as_me:$LINENO: checking for pangoft2" >&5
24820 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24822 if $PKG_CONFIG --exists "pangoft2" ; then
24823 echo "$as_me:$LINENO: result: yes" >&5
24824 echo "${ECHO_T}yes" >&6
24827 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24828 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24829 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24830 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24831 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24833 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24834 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24835 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24836 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24837 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24841 ## If we have a custom action on failure, don't print errors, but
24842 ## do set a variable so people can do so.
24843 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24850 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24851 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24855 if test $succeeded = yes; then
24857 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24858 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24862 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24863 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24864 wxUSE_PRINTING_ARCHITECTURE
="no"
24872 if test -z "$PKG_CONFIG"; then
24873 # Extract the first word of "pkg-config", so it can be a program name with args.
24874 set dummy pkg
-config; ac_word
=$2
24875 echo "$as_me:$LINENO: checking for $ac_word" >&5
24876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24878 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 case $PKG_CONFIG in
24882 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24886 for as_dir
in $PATH
24889 test -z "$as_dir" && as_dir
=.
24890 for ac_exec_ext
in '' $ac_executable_extensions; do
24891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24892 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24899 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24903 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24905 if test -n "$PKG_CONFIG"; then
24906 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24907 echo "${ECHO_T}$PKG_CONFIG" >&6
24909 echo "$as_me:$LINENO: result: no" >&5
24910 echo "${ECHO_T}no" >&6
24915 if test "$PKG_CONFIG" = "no" ; then
24916 echo "*** The pkg-config script could not be found. Make sure it is"
24917 echo "*** in your path, or set the PKG_CONFIG environment variable"
24918 echo "*** to the full path to pkg-config."
24919 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24921 PKG_CONFIG_MIN_VERSION
=0.9.0
24922 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24923 echo "$as_me:$LINENO: checking for pangoxft" >&5
24924 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24926 if $PKG_CONFIG --exists "pangoxft" ; then
24927 echo "$as_me:$LINENO: result: yes" >&5
24928 echo "${ECHO_T}yes" >&6
24931 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24932 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24933 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24934 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24935 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24937 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24938 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24939 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24940 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24941 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24945 ## If we have a custom action on failure, don't print errors, but
24946 ## do set a variable so people can do so.
24947 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24954 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24955 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24959 if test $succeeded = yes; then
24961 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24962 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24966 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24967 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24974 wxUSE_UNIVERSAL
="yes"
24976 if test "$wxUSE_NANOX" = "yes"; then
24977 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24978 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"
24979 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24981 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24984 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24989 if test "$wxUSE_MOTIF" = 1; then
24990 if test "$no_x" = yes; then
24991 # Not all programs may use this symbol, but it does not hurt to define it.
24993 cat >>confdefs.h
<<\_ACEOF
24994 #define X_DISPLAY_MISSING 1
24997 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24999 if test -n "$x_includes"; then
25000 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25003 # It would also be nice to do this for all -L options, not just this one.
25004 if test -n "$x_libraries"; then
25005 X_LIBS
="$X_LIBS -L$x_libraries"
25006 # For Solaris; some versions of Sun CC require a space after -R and
25007 # others require no space. Words are not sufficient . . . .
25008 case `(uname -sr) 2>/dev/null` in
25010 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25011 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25012 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25013 cat >conftest.
$ac_ext <<_ACEOF
25016 cat confdefs.h
>>conftest.
$ac_ext
25017 cat >>conftest.
$ac_ext <<_ACEOF
25018 /* end confdefs.h. */
25028 rm -f conftest.
$ac_objext conftest
$ac_exeext
25029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25030 (eval $ac_link) 2>conftest.er1
25032 grep -v '^ *+' conftest.er1
>conftest.err
25034 cat conftest.err
>&5
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); } &&
25037 { ac_try
='test -z "$ac_c_werror_flag"
25038 || test ! -s conftest.err'
25039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25040 (eval $ac_try) 2>&5
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); }; } &&
25044 { ac_try
='test -s conftest$ac_exeext'
25045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25046 (eval $ac_try) 2>&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); }; }; then
25052 echo "$as_me: failed program was:" >&5
25053 sed 's/^/| /' conftest.
$ac_ext >&5
25057 rm -f conftest.err conftest.
$ac_objext \
25058 conftest
$ac_exeext conftest.
$ac_ext
25059 if test $ac_R_nospace = yes; then
25060 echo "$as_me:$LINENO: result: no" >&5
25061 echo "${ECHO_T}no" >&6
25062 X_LIBS
="$X_LIBS -R$x_libraries"
25064 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25065 cat >conftest.
$ac_ext <<_ACEOF
25068 cat confdefs.h
>>conftest.
$ac_ext
25069 cat >>conftest.
$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25080 rm -f conftest.
$ac_objext conftest
$ac_exeext
25081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25082 (eval $ac_link) 2>conftest.er1
25084 grep -v '^ *+' conftest.er1
>conftest.err
25086 cat conftest.err
>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } &&
25089 { ac_try
='test -z "$ac_c_werror_flag"
25090 || test ! -s conftest.err'
25091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25092 (eval $ac_try) 2>&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); }; } &&
25096 { ac_try
='test -s conftest$ac_exeext'
25097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25098 (eval $ac_try) 2>&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; }; then
25104 echo "$as_me: failed program was:" >&5
25105 sed 's/^/| /' conftest.
$ac_ext >&5
25109 rm -f conftest.err conftest.
$ac_objext \
25110 conftest
$ac_exeext conftest.
$ac_ext
25111 if test $ac_R_space = yes; then
25112 echo "$as_me:$LINENO: result: yes" >&5
25113 echo "${ECHO_T}yes" >&6
25114 X_LIBS
="$X_LIBS -R $x_libraries"
25116 echo "$as_me:$LINENO: result: neither works" >&5
25117 echo "${ECHO_T}neither works" >&6
25120 LIBS
=$ac_xsave_LIBS
25124 # Check for system-dependent libraries X programs must link with.
25125 # Do this before checking for the system-independent R6 libraries
25126 # (-lICE), since we may need -lsocket or whatever for X linking.
25128 if test "$ISC" = yes; then
25129 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25131 # Martyn Johnson says this is needed for Ultrix, if the X
25132 # libraries were built with DECnet support. And Karl Berry says
25133 # the Alpha needs dnet_stub (dnet does not exist).
25134 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25135 cat >conftest.
$ac_ext <<_ACEOF
25138 cat confdefs.h
>>conftest.
$ac_ext
25139 cat >>conftest.
$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25142 /* Override any gcc2 internal prototype to avoid an error. */
25146 /* We use char because int might match the return type of a gcc2
25147 builtin and then its argument prototype would still apply. */
25148 char XOpenDisplay ();
25157 rm -f conftest.
$ac_objext conftest
$ac_exeext
25158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25159 (eval $ac_link) 2>conftest.er1
25161 grep -v '^ *+' conftest.er1
>conftest.err
25163 cat conftest.err
>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); } &&
25166 { ac_try
='test -z "$ac_c_werror_flag"
25167 || test ! -s conftest.err'
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); }; } &&
25173 { ac_try
='test -s conftest$ac_exeext'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; }; then
25181 echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.
$ac_ext >&5
25184 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25185 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25186 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25189 ac_check_lib_save_LIBS
=$LIBS
25190 LIBS
="-ldnet $LIBS"
25191 cat >conftest.
$ac_ext <<_ACEOF
25194 cat confdefs.h
>>conftest.
$ac_ext
25195 cat >>conftest.
$ac_ext <<_ACEOF
25196 /* end confdefs.h. */
25198 /* Override any gcc2 internal prototype to avoid an error. */
25202 /* We use char because int might match the return type of a gcc2
25203 builtin and then its argument prototype would still apply. */
25213 rm -f conftest.
$ac_objext conftest
$ac_exeext
25214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25215 (eval $ac_link) 2>conftest.er1
25217 grep -v '^ *+' conftest.er1
>conftest.err
25219 cat conftest.err
>&5
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); } &&
25222 { ac_try
='test -z "$ac_c_werror_flag"
25223 || test ! -s conftest.err'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; } &&
25229 { ac_try
='test -s conftest$ac_exeext'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; }; then
25235 ac_cv_lib_dnet_dnet_ntoa
=yes
25237 echo "$as_me: failed program was:" >&5
25238 sed 's/^/| /' conftest.
$ac_ext >&5
25240 ac_cv_lib_dnet_dnet_ntoa
=no
25242 rm -f conftest.err conftest.
$ac_objext \
25243 conftest
$ac_exeext conftest.
$ac_ext
25244 LIBS
=$ac_check_lib_save_LIBS
25246 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25247 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25248 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25249 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25252 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25253 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25254 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25255 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25256 echo $ECHO_N "(cached) $ECHO_C" >&6
25258 ac_check_lib_save_LIBS
=$LIBS
25259 LIBS
="-ldnet_stub $LIBS"
25260 cat >conftest.
$ac_ext <<_ACEOF
25263 cat confdefs.h
>>conftest.
$ac_ext
25264 cat >>conftest.
$ac_ext <<_ACEOF
25265 /* end confdefs.h. */
25267 /* Override any gcc2 internal prototype to avoid an error. */
25271 /* We use char because int might match the return type of a gcc2
25272 builtin and then its argument prototype would still apply. */
25282 rm -f conftest.
$ac_objext conftest
$ac_exeext
25283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25284 (eval $ac_link) 2>conftest.er1
25286 grep -v '^ *+' conftest.er1
>conftest.err
25288 cat conftest.err
>&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); } &&
25291 { ac_try
='test -z "$ac_c_werror_flag"
25292 || test ! -s conftest.err'
25293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294 (eval $ac_try) 2>&5
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); }; } &&
25298 { ac_try
='test -s conftest$ac_exeext'
25299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25300 (eval $ac_try) 2>&5
25302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303 (exit $ac_status); }; }; then
25304 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25306 echo "$as_me: failed program was:" >&5
25307 sed 's/^/| /' conftest.
$ac_ext >&5
25309 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25311 rm -f conftest.err conftest.
$ac_objext \
25312 conftest
$ac_exeext conftest.
$ac_ext
25313 LIBS
=$ac_check_lib_save_LIBS
25315 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25316 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25317 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25318 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25323 rm -f conftest.err conftest.
$ac_objext \
25324 conftest
$ac_exeext conftest.
$ac_ext
25325 LIBS
="$ac_xsave_LIBS"
25327 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25328 # to get the SysV transport functions.
25329 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25331 # The nsl library prevents programs from opening the X display
25332 # on Irix 5.2, according to T.E. Dickey.
25333 # The functions gethostbyname, getservbyname, and inet_addr are
25334 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25335 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25336 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25337 if test "${ac_cv_func_gethostbyname+set}" = set; then
25338 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 cat >conftest.
$ac_ext <<_ACEOF
25343 cat confdefs.h
>>conftest.
$ac_ext
25344 cat >>conftest.
$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25348 #define gethostbyname innocuous_gethostbyname
25350 /* System header to define __stub macros and hopefully few prototypes,
25351 which can conflict with char gethostbyname (); below.
25352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25353 <limits.h> exists even on freestanding compilers. */
25356 # include <limits.h>
25358 # include <assert.h>
25361 #undef gethostbyname
25363 /* Override any gcc2 internal prototype to avoid an error. */
25368 /* We use char because int might match the return type of a gcc2
25369 builtin and then its argument prototype would still apply. */
25370 char gethostbyname ();
25371 /* The GNU C library defines this for functions which it implements
25372 to always fail with ENOSYS. Some functions are actually named
25373 something starting with __ and the normal name is an alias. */
25374 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25377 char (*f) () = gethostbyname;
25386 return f != gethostbyname;
25391 rm -f conftest.
$ac_objext conftest
$ac_exeext
25392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25393 (eval $ac_link) 2>conftest.er1
25395 grep -v '^ *+' conftest.er1
>conftest.err
25397 cat conftest.err
>&5
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); } &&
25400 { ac_try
='test -z "$ac_c_werror_flag"
25401 || test ! -s conftest.err'
25402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25403 (eval $ac_try) 2>&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); }; } &&
25407 { ac_try
='test -s conftest$ac_exeext'
25408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409 (eval $ac_try) 2>&5
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); }; }; then
25413 ac_cv_func_gethostbyname
=yes
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.
$ac_ext >&5
25418 ac_cv_func_gethostbyname
=no
25420 rm -f conftest.err conftest.
$ac_objext \
25421 conftest
$ac_exeext conftest.
$ac_ext
25423 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25424 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25426 if test $ac_cv_func_gethostbyname = no
; then
25427 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25428 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25429 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 ac_check_lib_save_LIBS
=$LIBS
25434 cat >conftest.
$ac_ext <<_ACEOF
25437 cat confdefs.h
>>conftest.
$ac_ext
25438 cat >>conftest.
$ac_ext <<_ACEOF
25439 /* end confdefs.h. */
25441 /* Override any gcc2 internal prototype to avoid an error. */
25445 /* We use char because int might match the return type of a gcc2
25446 builtin and then its argument prototype would still apply. */
25447 char gethostbyname ();
25456 rm -f conftest.
$ac_objext conftest
$ac_exeext
25457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25458 (eval $ac_link) 2>conftest.er1
25460 grep -v '^ *+' conftest.er1
>conftest.err
25462 cat conftest.err
>&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); } &&
25465 { ac_try
='test -z "$ac_c_werror_flag"
25466 || test ! -s conftest.err'
25467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25468 (eval $ac_try) 2>&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); }; } &&
25472 { ac_try
='test -s conftest$ac_exeext'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; }; then
25478 ac_cv_lib_nsl_gethostbyname
=yes
25480 echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.
$ac_ext >&5
25483 ac_cv_lib_nsl_gethostbyname
=no
25485 rm -f conftest.err conftest.
$ac_objext \
25486 conftest
$ac_exeext conftest.
$ac_ext
25487 LIBS
=$ac_check_lib_save_LIBS
25489 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25490 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25491 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25492 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25495 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25496 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25497 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25498 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25499 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 ac_check_lib_save_LIBS
=$LIBS
25503 cat >conftest.
$ac_ext <<_ACEOF
25506 cat confdefs.h
>>conftest.
$ac_ext
25507 cat >>conftest.
$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25510 /* Override any gcc2 internal prototype to avoid an error. */
25514 /* We use char because int might match the return type of a gcc2
25515 builtin and then its argument prototype would still apply. */
25516 char gethostbyname ();
25525 rm -f conftest.
$ac_objext conftest
$ac_exeext
25526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25527 (eval $ac_link) 2>conftest.er1
25529 grep -v '^ *+' conftest.er1
>conftest.err
25531 cat conftest.err
>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try
='test -z "$ac_c_werror_flag"
25535 || test ! -s conftest.err'
25536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537 (eval $ac_try) 2>&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); }; } &&
25541 { ac_try
='test -s conftest$ac_exeext'
25542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25543 (eval $ac_try) 2>&5
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); }; }; then
25547 ac_cv_lib_bsd_gethostbyname
=yes
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.
$ac_ext >&5
25552 ac_cv_lib_bsd_gethostbyname
=no
25554 rm -f conftest.err conftest.
$ac_objext \
25555 conftest
$ac_exeext conftest.
$ac_ext
25556 LIBS
=$ac_check_lib_save_LIBS
25558 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25559 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25560 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25561 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25567 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25568 # socket/setsockopt and other routines are undefined under SCO ODT
25569 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25570 # on later versions), says Simon Leinen: it contains gethostby*
25571 # variants that don't use the name server (or something). -lsocket
25572 # must be given before -lnsl if both are needed. We assume that
25573 # if connect needs -lnsl, so does gethostbyname.
25574 echo "$as_me:$LINENO: checking for connect" >&5
25575 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25576 if test "${ac_cv_func_connect+set}" = set; then
25577 echo $ECHO_N "(cached) $ECHO_C" >&6
25579 cat >conftest.
$ac_ext <<_ACEOF
25582 cat confdefs.h
>>conftest.
$ac_ext
25583 cat >>conftest.
$ac_ext <<_ACEOF
25584 /* end confdefs.h. */
25585 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25587 #define connect innocuous_connect
25589 /* System header to define __stub macros and hopefully few prototypes,
25590 which can conflict with char connect (); below.
25591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25592 <limits.h> exists even on freestanding compilers. */
25595 # include <limits.h>
25597 # include <assert.h>
25602 /* Override any gcc2 internal prototype to avoid an error. */
25607 /* We use char because int might match the return type of a gcc2
25608 builtin and then its argument prototype would still apply. */
25610 /* The GNU C library defines this for functions which it implements
25611 to always fail with ENOSYS. Some functions are actually named
25612 something starting with __ and the normal name is an alias. */
25613 #if defined (__stub_connect) || defined (__stub___connect)
25616 char (*f) () = connect;
25625 return f != connect;
25630 rm -f conftest.
$ac_objext conftest
$ac_exeext
25631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25632 (eval $ac_link) 2>conftest.er1
25634 grep -v '^ *+' conftest.er1
>conftest.err
25636 cat conftest.err
>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); } &&
25639 { ac_try
='test -z "$ac_c_werror_flag"
25640 || test ! -s conftest.err'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; } &&
25646 { ac_try
='test -s conftest$ac_exeext'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; }; then
25652 ac_cv_func_connect
=yes
25654 echo "$as_me: failed program was:" >&5
25655 sed 's/^/| /' conftest.
$ac_ext >&5
25657 ac_cv_func_connect
=no
25659 rm -f conftest.err conftest.
$ac_objext \
25660 conftest
$ac_exeext conftest.
$ac_ext
25662 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25663 echo "${ECHO_T}$ac_cv_func_connect" >&6
25665 if test $ac_cv_func_connect = no
; then
25666 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25667 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25668 if test "${ac_cv_lib_socket_connect+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 ac_check_lib_save_LIBS
=$LIBS
25672 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25673 cat >conftest.
$ac_ext <<_ACEOF
25676 cat confdefs.h
>>conftest.
$ac_ext
25677 cat >>conftest.
$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25680 /* Override any gcc2 internal prototype to avoid an error. */
25684 /* We use char because int might match the return type of a gcc2
25685 builtin and then its argument prototype would still apply. */
25695 rm -f conftest.
$ac_objext conftest
$ac_exeext
25696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25697 (eval $ac_link) 2>conftest.er1
25699 grep -v '^ *+' conftest.er1
>conftest.err
25701 cat conftest.err
>&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } &&
25704 { ac_try
='test -z "$ac_c_werror_flag"
25705 || test ! -s conftest.err'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; } &&
25711 { ac_try
='test -s conftest$ac_exeext'
25712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25713 (eval $ac_try) 2>&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); }; }; then
25717 ac_cv_lib_socket_connect
=yes
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.
$ac_ext >&5
25722 ac_cv_lib_socket_connect
=no
25724 rm -f conftest.err conftest.
$ac_objext \
25725 conftest
$ac_exeext conftest.
$ac_ext
25726 LIBS
=$ac_check_lib_save_LIBS
25728 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25729 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25730 if test $ac_cv_lib_socket_connect = yes; then
25731 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25736 # Guillermo Gomez says -lposix is necessary on A/UX.
25737 echo "$as_me:$LINENO: checking for remove" >&5
25738 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25739 if test "${ac_cv_func_remove+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 cat >conftest.
$ac_ext <<_ACEOF
25745 cat confdefs.h
>>conftest.
$ac_ext
25746 cat >>conftest.
$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25748 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25750 #define remove innocuous_remove
25752 /* System header to define __stub macros and hopefully few prototypes,
25753 which can conflict with char remove (); below.
25754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25755 <limits.h> exists even on freestanding compilers. */
25758 # include <limits.h>
25760 # include <assert.h>
25765 /* Override any gcc2 internal prototype to avoid an error. */
25770 /* We use char because int might match the return type of a gcc2
25771 builtin and then its argument prototype would still apply. */
25773 /* The GNU C library defines this for functions which it implements
25774 to always fail with ENOSYS. Some functions are actually named
25775 something starting with __ and the normal name is an alias. */
25776 #if defined (__stub_remove) || defined (__stub___remove)
25779 char (*f) () = remove;
25788 return f != remove;
25793 rm -f conftest.
$ac_objext conftest
$ac_exeext
25794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25795 (eval $ac_link) 2>conftest.er1
25797 grep -v '^ *+' conftest.er1
>conftest.err
25799 cat conftest.err
>&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); } &&
25802 { ac_try
='test -z "$ac_c_werror_flag"
25803 || test ! -s conftest.err'
25804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805 (eval $ac_try) 2>&5
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; } &&
25809 { ac_try
='test -s conftest$ac_exeext'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; }; then
25815 ac_cv_func_remove
=yes
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.
$ac_ext >&5
25820 ac_cv_func_remove
=no
25822 rm -f conftest.err conftest.
$ac_objext \
25823 conftest
$ac_exeext conftest.
$ac_ext
25825 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25826 echo "${ECHO_T}$ac_cv_func_remove" >&6
25828 if test $ac_cv_func_remove = no
; then
25829 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25830 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25831 if test "${ac_cv_lib_posix_remove+set}" = set; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25834 ac_check_lib_save_LIBS
=$LIBS
25835 LIBS
="-lposix $LIBS"
25836 cat >conftest.
$ac_ext <<_ACEOF
25839 cat confdefs.h
>>conftest.
$ac_ext
25840 cat >>conftest.
$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25843 /* Override any gcc2 internal prototype to avoid an error. */
25847 /* We use char because int might match the return type of a gcc2
25848 builtin and then its argument prototype would still apply. */
25858 rm -f conftest.
$ac_objext conftest
$ac_exeext
25859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25860 (eval $ac_link) 2>conftest.er1
25862 grep -v '^ *+' conftest.er1
>conftest.err
25864 cat conftest.err
>&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } &&
25867 { ac_try
='test -z "$ac_c_werror_flag"
25868 || test ! -s conftest.err'
25869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870 (eval $ac_try) 2>&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); }; } &&
25874 { ac_try
='test -s conftest$ac_exeext'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; }; then
25880 ac_cv_lib_posix_remove
=yes
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.
$ac_ext >&5
25885 ac_cv_lib_posix_remove
=no
25887 rm -f conftest.err conftest.
$ac_objext \
25888 conftest
$ac_exeext conftest.
$ac_ext
25889 LIBS
=$ac_check_lib_save_LIBS
25891 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25892 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25893 if test $ac_cv_lib_posix_remove = yes; then
25894 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25899 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25900 echo "$as_me:$LINENO: checking for shmat" >&5
25901 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25902 if test "${ac_cv_func_shmat+set}" = set; then
25903 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 cat >conftest.
$ac_ext <<_ACEOF
25908 cat confdefs.h
>>conftest.
$ac_ext
25909 cat >>conftest.
$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25913 #define shmat innocuous_shmat
25915 /* System header to define __stub macros and hopefully few prototypes,
25916 which can conflict with char shmat (); below.
25917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25918 <limits.h> exists even on freestanding compilers. */
25921 # include <limits.h>
25923 # include <assert.h>
25928 /* Override any gcc2 internal prototype to avoid an error. */
25933 /* We use char because int might match the return type of a gcc2
25934 builtin and then its argument prototype would still apply. */
25936 /* The GNU C library defines this for functions which it implements
25937 to always fail with ENOSYS. Some functions are actually named
25938 something starting with __ and the normal name is an alias. */
25939 #if defined (__stub_shmat) || defined (__stub___shmat)
25942 char (*f) () = shmat;
25956 rm -f conftest.
$ac_objext conftest
$ac_exeext
25957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25958 (eval $ac_link) 2>conftest.er1
25960 grep -v '^ *+' conftest.er1
>conftest.err
25962 cat conftest.err
>&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } &&
25965 { ac_try
='test -z "$ac_c_werror_flag"
25966 || test ! -s conftest.err'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; } &&
25972 { ac_try
='test -s conftest$ac_exeext'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; }; then
25978 ac_cv_func_shmat
=yes
25980 echo "$as_me: failed program was:" >&5
25981 sed 's/^/| /' conftest.
$ac_ext >&5
25983 ac_cv_func_shmat
=no
25985 rm -f conftest.err conftest.
$ac_objext \
25986 conftest
$ac_exeext conftest.
$ac_ext
25988 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25989 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25991 if test $ac_cv_func_shmat = no
; then
25992 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25993 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25994 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 ac_check_lib_save_LIBS
=$LIBS
25999 cat >conftest.
$ac_ext <<_ACEOF
26002 cat confdefs.h
>>conftest.
$ac_ext
26003 cat >>conftest.
$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26006 /* Override any gcc2 internal prototype to avoid an error. */
26010 /* We use char because int might match the return type of a gcc2
26011 builtin and then its argument prototype would still apply. */
26021 rm -f conftest.
$ac_objext conftest
$ac_exeext
26022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26023 (eval $ac_link) 2>conftest.er1
26025 grep -v '^ *+' conftest.er1
>conftest.err
26027 cat conftest.err
>&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); } &&
26030 { ac_try
='test -z "$ac_c_werror_flag"
26031 || test ! -s conftest.err'
26032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26033 (eval $ac_try) 2>&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); }; } &&
26037 { ac_try
='test -s conftest$ac_exeext'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; }; then
26043 ac_cv_lib_ipc_shmat
=yes
26045 echo "$as_me: failed program was:" >&5
26046 sed 's/^/| /' conftest.
$ac_ext >&5
26048 ac_cv_lib_ipc_shmat
=no
26050 rm -f conftest.err conftest.
$ac_objext \
26051 conftest
$ac_exeext conftest.
$ac_ext
26052 LIBS
=$ac_check_lib_save_LIBS
26054 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26055 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26056 if test $ac_cv_lib_ipc_shmat = yes; then
26057 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26063 # Check for libraries that X11R6 Xt/Xaw programs need.
26064 ac_save_LDFLAGS
=$LDFLAGS
26065 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26066 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26067 # check for ICE first), but we must link in the order -lSM -lICE or
26068 # we get undefined symbols. So assume we have SM if we have ICE.
26069 # These have to be linked with before -lX11, unlike the other
26070 # libraries we check for below, so use a different variable.
26071 # John Interrante, Karl Berry
26072 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26073 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26074 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26075 echo $ECHO_N "(cached) $ECHO_C" >&6
26077 ac_check_lib_save_LIBS
=$LIBS
26078 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26079 cat >conftest.
$ac_ext <<_ACEOF
26082 cat confdefs.h
>>conftest.
$ac_ext
26083 cat >>conftest.
$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26086 /* Override any gcc2 internal prototype to avoid an error. */
26090 /* We use char because int might match the return type of a gcc2
26091 builtin and then its argument prototype would still apply. */
26092 char IceConnectionNumber ();
26096 IceConnectionNumber ();
26101 rm -f conftest.
$ac_objext conftest
$ac_exeext
26102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26103 (eval $ac_link) 2>conftest.er1
26105 grep -v '^ *+' conftest.er1
>conftest.err
26107 cat conftest.err
>&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } &&
26110 { ac_try
='test -z "$ac_c_werror_flag"
26111 || test ! -s conftest.err'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; } &&
26117 { ac_try
='test -s conftest$ac_exeext'
26118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26119 (eval $ac_try) 2>&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); }; }; then
26123 ac_cv_lib_ICE_IceConnectionNumber
=yes
26125 echo "$as_me: failed program was:" >&5
26126 sed 's/^/| /' conftest.
$ac_ext >&5
26128 ac_cv_lib_ICE_IceConnectionNumber
=no
26130 rm -f conftest.err conftest.
$ac_objext \
26131 conftest
$ac_exeext conftest.
$ac_ext
26132 LIBS
=$ac_check_lib_save_LIBS
26134 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26135 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26136 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26137 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26140 LDFLAGS
=$ac_save_LDFLAGS
26145 if test "$no_x" = "yes"; then
26146 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26147 echo "$as_me: error: X11 not found" >&2;}
26148 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26151 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26152 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26153 AFMINSTALL
=afminstall
26154 COMPILED_X_PROGRAM
=0
26156 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26157 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26160 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26162 if test -f "$ac_dir/Xm/Xm.h"; then
26163 ac_find_includes
=$ac_dir
26168 if test "$ac_find_includes" != "" ; then
26169 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26170 echo "${ECHO_T}found in $ac_find_includes" >&6
26172 if test "x$ac_find_includes" = "x/usr/include"; then
26173 ac_path_to_include
=""
26175 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26177 if test $result = 0; then
26178 ac_path_to_include
=""
26180 ac_path_to_include
=" -I$ac_find_includes"
26184 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26186 cat >conftest.
$ac_ext <<_ACEOF
26189 cat confdefs.h
>>conftest.
$ac_ext
26190 cat >>conftest.
$ac_ext <<_ACEOF
26191 /* end confdefs.h. */
26200 version = xmUseVersion;
26206 rm -f conftest.
$ac_objext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26208 (eval $ac_compile) 2>conftest.er1
26210 grep -v '^ *+' conftest.er1
>conftest.err
26212 cat conftest.err
>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } &&
26215 { ac_try
='test -z "$ac_c_werror_flag"
26216 || test ! -s conftest.err'
26217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26218 (eval $ac_try) 2>&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); }; } &&
26222 { ac_try
='test -s conftest.$ac_objext'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; }; then
26229 echo "$as_me:$LINENO: result: found in default search path" >&5
26230 echo "${ECHO_T}found in default search path" >&6
26231 COMPILED_X_PROGRAM
=1
26234 echo "$as_me: failed program was:" >&5
26235 sed 's/^/| /' conftest.
$ac_ext >&5
26238 echo "$as_me:$LINENO: result: no" >&5
26239 echo "${ECHO_T}no" >&6
26240 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26241 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26242 { (exit 1); exit 1; }; }
26246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26249 if test "$COMPILED_X_PROGRAM" = 0; then
26250 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26251 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26254 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26256 for ac_extension
in a so sl dylib
; do
26257 if test -f "$ac_dir/libXm.$ac_extension"; then
26258 ac_find_libraries
=$ac_dir
26264 if test "$ac_find_libraries" != "" ; then
26265 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26266 echo "${ECHO_T}found at $ac_find_libraries" >&6
26269 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26271 if test $result = 0; then
26274 ac_path_to_link
=" -L$ac_find_libraries"
26277 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26279 save_CFLAGS
=$CFLAGS
26280 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26282 cat >conftest.
$ac_ext <<_ACEOF
26285 cat confdefs.h
>>conftest.
$ac_ext
26286 cat >>conftest.
$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26296 version = xmUseVersion;
26302 rm -f conftest.
$ac_objext
26303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26304 (eval $ac_compile) 2>conftest.er1
26306 grep -v '^ *+' conftest.er1
>conftest.err
26308 cat conftest.err
>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } &&
26311 { ac_try
='test -z "$ac_c_werror_flag"
26312 || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try
='test -s conftest.$ac_objext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26325 echo "$as_me:$LINENO: result: found in default search path" >&5
26326 echo "${ECHO_T}found in default search path" >&6
26327 COMPILED_X_PROGRAM
=1
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.
$ac_ext >&5
26334 echo "$as_me:$LINENO: result: no" >&5
26335 echo "${ECHO_T}no" >&6
26336 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26337 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26338 { (exit 1); exit 1; }; }
26342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26344 CFLAGS
=$save_CFLAGS
26348 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26349 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26353 for libp
in "" " -lXp"; do
26354 if test "$libs_found" = "0"; then
26355 for libsm_ice
in "" " -lSM -lICE"; do
26356 if test "$libs_found" = "0"; then
26358 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26359 save_CFLAGS
=$CFLAGS
26360 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26362 cat >conftest.
$ac_ext <<_ACEOF
26365 cat confdefs.h
>>conftest.
$ac_ext
26366 cat >>conftest.
$ac_ext <<_ACEOF
26367 /* end confdefs.h. */
26370 #include <Xm/List.h>
26376 XmString string = NULL;
26379 XmListAddItem(w, string, position);
26385 rm -f conftest.
$ac_objext conftest
$ac_exeext
26386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26387 (eval $ac_link) 2>conftest.er1
26389 grep -v '^ *+' conftest.er1
>conftest.err
26391 cat conftest.err
>&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } &&
26394 { ac_try
='test -z "$ac_c_werror_flag"
26395 || test ! -s conftest.err'
26396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26397 (eval $ac_try) 2>&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); }; } &&
26401 { ac_try
='test -s conftest$ac_exeext'
26402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403 (eval $ac_try) 2>&5
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); }; }; then
26409 libsm_ice_link
="$libsm_ice"
26410 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26411 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26415 echo "$as_me: failed program was:" >&5
26416 sed 's/^/| /' conftest.
$ac_ext >&5
26421 rm -f conftest.err conftest.
$ac_objext \
26422 conftest
$ac_exeext conftest.
$ac_ext
26425 CFLAGS
=$save_CFLAGS
26431 if test "$libs_found" = "0"; then
26432 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26433 echo "${ECHO_T}can't find the right libraries" >&6
26434 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26435 echo "$as_me: error: can't link a simple motif program" >&2;}
26436 { (exit 1); exit 1; }; }
26439 save_CFLAGS
=$CFLAGS
26440 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26441 echo "$as_me:$LINENO: checking for Motif 2" >&5
26442 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26443 cat >conftest.
$ac_ext <<_ACEOF
26446 cat confdefs.h
>>conftest.
$ac_ext
26447 cat >>conftest.
$ac_ext <<_ACEOF
26448 /* end confdefs.h. */
26456 #if XmVersion < 2000
26457 #error "Not Motif 2"
26464 rm -f conftest.
$ac_objext
26465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26466 (eval $ac_compile) 2>conftest.er1
26468 grep -v '^ *+' conftest.er1
>conftest.err
26470 cat conftest.err
>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } &&
26473 { ac_try
='test -z "$ac_c_werror_flag"
26474 || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try
='test -s conftest.$ac_objext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26487 cat >>confdefs.h
<<\_ACEOF
26488 #define __WXMOTIF20__ 1
26491 echo "$as_me:$LINENO: result: found" >&5
26492 echo "${ECHO_T}found" >&6
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.
$ac_ext >&5
26499 cat >>confdefs.h
<<\_ACEOF
26500 #define __WXMOTIF20__ 0
26503 echo "$as_me:$LINENO: result: not found" >&5
26504 echo "${ECHO_T}not found" >&6
26507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26508 CFLAGS
=$save_CFLAGS
26510 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26511 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26516 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26517 if test "$wxUSE_LIBXPM" = "sys"; then
26518 echo "$as_me:$LINENO: checking for Xpm library" >&5
26519 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26522 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26524 for ac_extension
in a so sl dylib
; do
26525 if test -f "$ac_dir/libXpm.$ac_extension"; then
26526 ac_find_libraries
=$ac_dir
26532 if test "$ac_find_libraries" != "" ; then
26534 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26536 if test $result = 0; then
26539 ac_path_to_link
=" -L$ac_find_libraries"
26542 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26543 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26544 echo "${ECHO_T}found at $ac_find_libraries" >&6
26546 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26547 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26548 if test "${wx_cv_x11_xpm_h+set}" = set; then
26549 echo $ECHO_N "(cached) $ECHO_C" >&6
26552 save_CFLAGS
=$CFLAGS
26553 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26555 cat >conftest.
$ac_ext <<_ACEOF
26558 cat confdefs.h
>>conftest.
$ac_ext
26559 cat >>conftest.
$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26562 #include <X11/xpm.h>
26569 version = XpmLibraryVersion();
26575 rm -f conftest.
$ac_objext
26576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26577 (eval $ac_compile) 2>conftest.er1
26579 grep -v '^ *+' conftest.er1
>conftest.err
26581 cat conftest.err
>&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); } &&
26584 { ac_try
='test -z "$ac_c_werror_flag"
26585 || test ! -s conftest.err'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; } &&
26591 { ac_try
='test -s conftest.$ac_objext'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; }; then
26597 wx_cv_x11_xpm_h
=yes
26599 echo "$as_me: failed program was:" >&5
26600 sed 's/^/| /' conftest.
$ac_ext >&5
26605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26607 CFLAGS
=$save_CFLAGS
26611 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26612 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26614 if test $wx_cv_x11_xpm_h = "yes"; then
26615 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26616 cat >>confdefs.h
<<\_ACEOF
26617 #define wxHAVE_LIB_XPM 1
26621 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26622 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26628 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26629 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26630 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26631 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 ac_check_lib_save_LIBS
=$LIBS
26634 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26635 cat >conftest.
$ac_ext <<_ACEOF
26638 cat confdefs.h
>>conftest.
$ac_ext
26639 cat >>conftest.
$ac_ext <<_ACEOF
26640 /* end confdefs.h. */
26642 /* Override any gcc2 internal prototype to avoid an error. */
26646 /* We use char because int might match the return type of a gcc2
26647 builtin and then its argument prototype would still apply. */
26648 char XShapeQueryExtension ();
26652 XShapeQueryExtension ();
26657 rm -f conftest.
$ac_objext conftest
$ac_exeext
26658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26659 (eval $ac_link) 2>conftest.er1
26661 grep -v '^ *+' conftest.er1
>conftest.err
26663 cat conftest.err
>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } &&
26666 { ac_try
='test -z "$ac_c_werror_flag"
26667 || test ! -s conftest.err'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; } &&
26673 { ac_try
='test -s conftest$ac_exeext'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.
$ac_ext >&5
26684 ac_cv_lib_Xext_XShapeQueryExtension
=no
26686 rm -f conftest.err conftest.
$ac_objext \
26687 conftest
$ac_exeext conftest.
$ac_ext
26688 LIBS
=$ac_check_lib_save_LIBS
26690 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26691 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26692 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26694 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26700 if test "$wxHAVE_XEXT_LIB" = 1; then
26701 save_CFLAGS
="$CFLAGS"
26702 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26704 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26705 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26706 cat >conftest.
$ac_ext <<_ACEOF
26709 cat confdefs.h
>>conftest.
$ac_ext
26710 cat >>conftest.
$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26713 #include <X11/Xlib.h>
26714 #include <X11/extensions/shape.h>
26720 int dummy1, dummy2;
26721 XShapeQueryExtension((Display*)NULL,
26722 (int*)NULL, (int*)NULL);
26728 rm -f conftest.
$ac_objext
26729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26730 (eval $ac_compile) 2>conftest.er1
26732 grep -v '^ *+' conftest.er1
>conftest.err
26734 cat conftest.err
>&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } &&
26737 { ac_try
='test -z "$ac_c_werror_flag"
26738 || test ! -s conftest.err'
26739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26740 (eval $ac_try) 2>&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); }; } &&
26744 { ac_try
='test -s conftest.$ac_objext'
26745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26746 (eval $ac_try) 2>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); }; }; then
26751 cat >>confdefs.h
<<\_ACEOF
26752 #define HAVE_XSHAPE 1
26755 echo "$as_me:$LINENO: result: found" >&5
26756 echo "${ECHO_T}found" >&6
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.
$ac_ext >&5
26763 echo "$as_me:$LINENO: result: not found" >&5
26764 echo "${ECHO_T}not found" >&6
26767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26768 CFLAGS
="$save_CFLAGS"
26773 if test "$wxUSE_MAC" = 1; then
26774 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26775 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26776 if test "$GCC" = yes; then
26777 echo "$as_me:$LINENO: result: gcc" >&5
26778 echo "${ECHO_T}gcc" >&6
26779 CPPFLAGS_PASCAL
="-fpascal-strings"
26780 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26781 echo "$as_me:$LINENO: result: xlc" >&5
26782 echo "${ECHO_T}xlc" >&6
26783 CPPFLAGS_PASCAL
="-qmacpstr"
26785 echo "$as_me:$LINENO: result: none" >&5
26786 echo "${ECHO_T}none" >&6
26789 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26791 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26794 WXBASEPORT
="_carbon"
26797 if test "$wxUSE_COCOA" = 1; then
26798 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26803 if test "$wxUSE_PM" = 1; then
26808 if test "$TOOLKIT" = "PM" ; then
26811 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26814 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26816 if test "$wxUSE_UNIVERSAL" = "yes"; then
26817 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26819 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26820 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26822 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26823 if test "$wxUSE_X11" = 1; then
26824 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26826 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26828 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26831 ALL_OBJECTS
="\$(GUIOBJS)"
26832 ALL_SOURCES
="\$(ALL_SOURCES)"
26833 ALL_HEADERS
="\$(ALL_HEADERS)"
26836 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26838 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26839 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26842 if test "$wxUSE_HTML" = "yes"; then
26843 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26846 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26847 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26849 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26850 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26852 if test "$wxUSE_LIBPNG" = "builtin" ; then
26853 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26856 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26857 DISTDIR
="wx\$(TOOLKIT)"
26863 if test "$USE_WIN32" = 1 ; then
26864 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26865 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26869 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26870 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26873 ALL_SOURCES
="\$(ALL_SOURCES)"
26874 ALL_HEADERS
="\$(ALL_HEADERS)"
26876 PORT_FILES
="\${top_srcdir}/src/files.lst"
26878 GUIDIST
="BASE_DIST"
26888 if test "$TOOLKIT" != "MSW" ; then
26890 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26892 if test "${ac_cv_header_sql_h+set}" = set; then
26893 echo "$as_me:$LINENO: checking for sql.h" >&5
26894 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26895 if test "${ac_cv_header_sql_h+set}" = set; then
26896 echo $ECHO_N "(cached) $ECHO_C" >&6
26898 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26899 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26901 # Is the header compilable?
26902 echo "$as_me:$LINENO: checking sql.h usability" >&5
26903 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26904 cat >conftest.
$ac_ext <<_ACEOF
26907 cat confdefs.h
>>conftest.
$ac_ext
26908 cat >>conftest.
$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26910 $ac_includes_default
26913 rm -f conftest.
$ac_objext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26915 (eval $ac_compile) 2>conftest.er1
26917 grep -v '^ *+' conftest.er1
>conftest.err
26919 cat conftest.err
>&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try
='test -z "$ac_c_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try
='test -s conftest.$ac_objext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26935 ac_header_compiler
=yes
26937 echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.
$ac_ext >&5
26940 ac_header_compiler
=no
26942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26944 echo "${ECHO_T}$ac_header_compiler" >&6
26946 # Is the header present?
26947 echo "$as_me:$LINENO: checking sql.h presence" >&5
26948 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26949 cat >conftest.
$ac_ext <<_ACEOF
26952 cat confdefs.h
>>conftest.
$ac_ext
26953 cat >>conftest.
$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26958 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26960 grep -v '^ *+' conftest.er1
>conftest.err
26962 cat conftest.err
>&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); } >/dev
/null
; then
26965 if test -s conftest.err
; then
26966 ac_cpp_err
=$ac_c_preproc_warn_flag
26967 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26974 if test -z "$ac_cpp_err"; then
26975 ac_header_preproc
=yes
26977 echo "$as_me: failed program was:" >&5
26978 sed 's/^/| /' conftest.
$ac_ext >&5
26980 ac_header_preproc
=no
26982 rm -f conftest.err conftest.
$ac_ext
26983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26984 echo "${ECHO_T}$ac_header_preproc" >&6
26986 # So? What about this header?
26987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26989 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26990 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26991 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26992 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26993 ac_header_preproc
=yes
26996 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26997 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26998 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26999 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27000 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27001 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27002 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27003 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27004 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27005 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27006 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27007 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27010 ## ----------------------------------------- ##
27011 ## Report this to wx-dev@lists.wxwindows.org ##
27012 ## ----------------------------------------- ##
27015 sed "s/^/$as_me: WARNING: /" >&2
27018 echo "$as_me:$LINENO: checking for sql.h" >&5
27019 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27020 if test "${ac_cv_header_sql_h+set}" = set; then
27021 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 ac_cv_header_sql_h
=$ac_header_preproc
27025 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27026 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27029 if test $ac_cv_header_sql_h = yes; then
27034 if test "x$found_sql_h" = "x1" ; then
27035 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27036 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27037 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27038 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 ac_check_lib_save_LIBS
=$LIBS
27041 LIBS
="-liodbc $LIBS"
27042 cat >conftest.
$ac_ext <<_ACEOF
27045 cat confdefs.h
>>conftest.
$ac_ext
27046 cat >>conftest.
$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27049 /* Override any gcc2 internal prototype to avoid an error. */
27053 /* We use char because int might match the return type of a gcc2
27054 builtin and then its argument prototype would still apply. */
27055 char SQLAllocEnv ();
27064 rm -f conftest.
$ac_objext conftest
$ac_exeext
27065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27066 (eval $ac_link) 2>conftest.er1
27068 grep -v '^ *+' conftest.er1
>conftest.err
27070 cat conftest.err
>&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } &&
27073 { ac_try
='test -z "$ac_c_werror_flag"
27074 || test ! -s conftest.err'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; } &&
27080 { ac_try
='test -s conftest$ac_exeext'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; }; then
27086 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27088 echo "$as_me: failed program was:" >&5
27089 sed 's/^/| /' conftest.
$ac_ext >&5
27091 ac_cv_lib_iodbc_SQLAllocEnv
=no
27093 rm -f conftest.err conftest.
$ac_objext \
27094 conftest
$ac_exeext conftest.
$ac_ext
27095 LIBS
=$ac_check_lib_save_LIBS
27097 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27098 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27099 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27100 ODBC_LINK
=" -liodbc"
27103 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27104 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27105 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27106 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 ac_check_lib_save_LIBS
=$LIBS
27109 LIBS
="-lunixodbc $LIBS"
27110 cat >conftest.
$ac_ext <<_ACEOF
27113 cat confdefs.h
>>conftest.
$ac_ext
27114 cat >>conftest.
$ac_ext <<_ACEOF
27115 /* end confdefs.h. */
27117 /* Override any gcc2 internal prototype to avoid an error. */
27121 /* We use char because int might match the return type of a gcc2
27122 builtin and then its argument prototype would still apply. */
27123 char SQLAllocEnv ();
27132 rm -f conftest.
$ac_objext conftest
$ac_exeext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27134 (eval $ac_link) 2>conftest.er1
27136 grep -v '^ *+' conftest.er1
>conftest.err
27138 cat conftest.err
>&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); } &&
27141 { ac_try
='test -z "$ac_c_werror_flag"
27142 || test ! -s conftest.err'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; } &&
27148 { ac_try
='test -s conftest$ac_exeext'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; }; then
27154 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.
$ac_ext >&5
27159 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27161 rm -f conftest.err conftest.
$ac_objext \
27162 conftest
$ac_exeext conftest.
$ac_ext
27163 LIBS
=$ac_check_lib_save_LIBS
27165 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27166 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27167 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27168 ODBC_LINK
=" -lunixodbc"
27171 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27172 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27173 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27174 echo $ECHO_N "(cached) $ECHO_C" >&6
27176 ac_check_lib_save_LIBS
=$LIBS
27177 LIBS
="-lodbc $LIBS"
27178 cat >conftest.
$ac_ext <<_ACEOF
27181 cat confdefs.h
>>conftest.
$ac_ext
27182 cat >>conftest.
$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27185 /* Override any gcc2 internal prototype to avoid an error. */
27189 /* We use char because int might match the return type of a gcc2
27190 builtin and then its argument prototype would still apply. */
27191 char SQLAllocEnv ();
27200 rm -f conftest.
$ac_objext conftest
$ac_exeext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27202 (eval $ac_link) 2>conftest.er1
27204 grep -v '^ *+' conftest.er1
>conftest.err
27206 cat conftest.err
>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try
='test -z "$ac_c_werror_flag"
27210 || test ! -s conftest.err'
27211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212 (eval $ac_try) 2>&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; } &&
27216 { ac_try
='test -s conftest$ac_exeext'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; }; then
27222 ac_cv_lib_odbc_SQLAllocEnv
=yes
27224 echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.
$ac_ext >&5
27227 ac_cv_lib_odbc_SQLAllocEnv
=no
27229 rm -f conftest.err conftest.
$ac_objext \
27230 conftest
$ac_exeext conftest.
$ac_ext
27231 LIBS
=$ac_check_lib_save_LIBS
27233 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27234 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27235 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27236 ODBC_LINK
=" -lodbc"
27246 if test "x$ODBC_LINK" = "x" ; then
27247 if test "$wxUSE_ODBC" = "sys" ; then
27248 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27249 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27250 { (exit 1); exit 1; }; }
27252 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27253 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27260 if test "$wxUSE_ODBC" != "no" ; then
27261 cat >>confdefs.h
<<\_ACEOF
27262 #define wxUSE_ODBC 1
27265 if test "$wxUSE_ODBC" = "builtin" ; then
27266 cat >>confdefs.h
<<\_ACEOF
27267 #define wxUSE_BUILTIN_IODBC 1
27271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27273 WXODBCFLAG
="-D_IODBC_"
27277 if test "$wxUSE_REGEX" = "builtin" ; then
27278 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27280 if test "$wxUSE_ZLIB" = "builtin" ; then
27281 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27285 if test "$wxUSE_DISPLAY" = "yes"; then
27286 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27287 echo "$as_me:$LINENO: checking for Xinerama" >&5
27288 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27291 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27293 for ac_extension
in a so sl dylib
; do
27294 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27295 ac_find_libraries
=$ac_dir
27301 if test "$ac_find_libraries" != "" ; then
27303 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27305 if test $result = 0; then
27308 ac_path_to_link
=" -L$ac_find_libraries"
27311 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27312 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27314 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27315 echo "$as_me:$LINENO: result: yes" >&5
27316 echo "${ECHO_T}yes" >&6
27318 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27319 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27322 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27324 for ac_extension
in a so sl dylib
; do
27325 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27326 ac_find_libraries
=$ac_dir
27332 if test "$ac_find_libraries" != "" ; then
27333 echo "$as_me:$LINENO: result: yes" >&5
27334 echo "${ECHO_T}yes" >&6
27336 for ac_header
in X
11/extensions
/xf86vmode.h
27338 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27339 echo "$as_me:$LINENO: checking for $ac_header" >&5
27340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27342 echo $ECHO_N "(cached) $ECHO_C" >&6
27344 cat >conftest.
$ac_ext <<_ACEOF
27347 cat confdefs.h
>>conftest.
$ac_ext
27348 cat >>conftest.
$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27351 #if HAVE_X11_XLIB_H
27352 #include <X11/Xlib.h>
27356 #include <$ac_header>
27358 rm -f conftest.
$ac_objext
27359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27360 (eval $ac_compile) 2>conftest.er1
27362 grep -v '^ *+' conftest.er1
>conftest.err
27364 cat conftest.err
>&5
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); } &&
27367 { ac_try
='test -z "$ac_c_werror_flag"
27368 || test ! -s conftest.err'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; } &&
27374 { ac_try
='test -s conftest.$ac_objext'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27380 eval "$as_ac_Header=yes"
27382 echo "$as_me: failed program was:" >&5
27383 sed 's/^/| /' conftest.
$ac_ext >&5
27385 eval "$as_ac_Header=no"
27387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27392 cat >>confdefs.h
<<_ACEOF
27393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27396 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27403 echo "$as_me:$LINENO: result: no" >&5
27404 echo "${ECHO_T}no" >&6
27408 echo "$as_me:$LINENO: result: no" >&5
27409 echo "${ECHO_T}no" >&6
27410 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27411 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27414 elif test "$wxUSE_MSW" = 1; then
27417 for ac_header
in multimon.h ddraw.h
27419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27421 echo "$as_me:$LINENO: checking for $ac_header" >&5
27422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27424 echo $ECHO_N "(cached) $ECHO_C" >&6
27426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27429 # Is the header compilable?
27430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27432 cat >conftest.
$ac_ext <<_ACEOF
27435 cat confdefs.h
>>conftest.
$ac_ext
27436 cat >>conftest.
$ac_ext <<_ACEOF
27437 /* end confdefs.h. */
27438 $ac_includes_default
27439 #include <$ac_header>
27441 rm -f conftest.
$ac_objext
27442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27443 (eval $ac_compile) 2>conftest.er1
27445 grep -v '^ *+' conftest.er1
>conftest.err
27447 cat conftest.err
>&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); } &&
27450 { ac_try
='test -z "$ac_c_werror_flag"
27451 || test ! -s conftest.err'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; } &&
27457 { ac_try
='test -s conftest.$ac_objext'
27458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27459 (eval $ac_try) 2>&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); }; }; then
27463 ac_header_compiler
=yes
27465 echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.
$ac_ext >&5
27468 ac_header_compiler
=no
27470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27472 echo "${ECHO_T}$ac_header_compiler" >&6
27474 # Is the header present?
27475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27477 cat >conftest.
$ac_ext <<_ACEOF
27480 cat confdefs.h
>>conftest.
$ac_ext
27481 cat >>conftest.
$ac_ext <<_ACEOF
27482 /* end confdefs.h. */
27483 #include <$ac_header>
27485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27488 grep -v '^ *+' conftest.er1
>conftest.err
27490 cat conftest.err
>&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); } >/dev
/null
; then
27493 if test -s conftest.err
; then
27494 ac_cpp_err
=$ac_c_preproc_warn_flag
27495 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27502 if test -z "$ac_cpp_err"; then
27503 ac_header_preproc
=yes
27505 echo "$as_me: failed program was:" >&5
27506 sed 's/^/| /' conftest.
$ac_ext >&5
27508 ac_header_preproc
=no
27510 rm -f conftest.err conftest.
$ac_ext
27511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27512 echo "${ECHO_T}$ac_header_preproc" >&6
27514 # So? What about this header?
27515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27521 ac_header_preproc
=yes
27524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27538 ## ----------------------------------------- ##
27539 ## Report this to wx-dev@lists.wxwindows.org ##
27540 ## ----------------------------------------- ##
27543 sed "s/^/$as_me: WARNING: /" >&2
27546 echo "$as_me:$LINENO: checking for $ac_header" >&5
27547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27551 eval "$as_ac_Header=\$ac_header_preproc"
27553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27558 cat >>confdefs.h
<<_ACEOF
27559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27565 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27566 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27577 if test "$wxUSE_OPENGL" = "yes"; then
27578 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27579 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27580 elif test "$wxUSE_MSW" = 1; then
27581 OPENGL_LIBS
="-lopengl32 -lglu32"
27586 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27588 if test -f "$ac_dir/GL/gl.h"; then
27589 ac_find_includes
=$ac_dir
27594 if test "$ac_find_includes" != "" ; then
27595 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27596 echo "${ECHO_T}found in $ac_find_includes" >&6
27598 if test "x$ac_find_includes" = "x/usr/include"; then
27599 ac_path_to_include
=""
27601 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27603 if test $result = 0; then
27604 ac_path_to_include
=""
27606 ac_path_to_include
=" -I$ac_find_includes"
27610 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27613 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27614 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27615 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27616 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27619 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27620 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27622 # Is the header compilable?
27623 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27624 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27625 cat >conftest.
$ac_ext <<_ACEOF
27628 cat confdefs.h
>>conftest.
$ac_ext
27629 cat >>conftest.
$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 $ac_includes_default
27634 rm -f conftest.
$ac_objext
27635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27636 (eval $ac_compile) 2>conftest.er1
27638 grep -v '^ *+' conftest.er1
>conftest.err
27640 cat conftest.err
>&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } &&
27643 { ac_try
='test -z "$ac_c_werror_flag"
27644 || test ! -s conftest.err'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; } &&
27650 { ac_try
='test -s conftest.$ac_objext'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; }; then
27656 ac_header_compiler
=yes
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.
$ac_ext >&5
27661 ac_header_compiler
=no
27663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27665 echo "${ECHO_T}$ac_header_compiler" >&6
27667 # Is the header present?
27668 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27669 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27670 cat >conftest.
$ac_ext <<_ACEOF
27673 cat confdefs.h
>>conftest.
$ac_ext
27674 cat >>conftest.
$ac_ext <<_ACEOF
27675 /* end confdefs.h. */
27678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27681 grep -v '^ *+' conftest.er1
>conftest.err
27683 cat conftest.err
>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); } >/dev
/null
; then
27686 if test -s conftest.err
; then
27687 ac_cpp_err
=$ac_c_preproc_warn_flag
27688 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27695 if test -z "$ac_cpp_err"; then
27696 ac_header_preproc
=yes
27698 echo "$as_me: failed program was:" >&5
27699 sed 's/^/| /' conftest.
$ac_ext >&5
27701 ac_header_preproc
=no
27703 rm -f conftest.err conftest.
$ac_ext
27704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27705 echo "${ECHO_T}$ac_header_preproc" >&6
27707 # So? What about this header?
27708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27710 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27711 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27712 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27713 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27714 ac_header_preproc
=yes
27717 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27718 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27719 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27720 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27721 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27722 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27723 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27724 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27725 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27726 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27727 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27728 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27731 ## ----------------------------------------- ##
27732 ## Report this to wx-dev@lists.wxwindows.org ##
27733 ## ----------------------------------------- ##
27736 sed "s/^/$as_me: WARNING: /" >&2
27739 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27740 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27741 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27742 echo $ECHO_N "(cached) $ECHO_C" >&6
27744 ac_cv_header_GL_gl_h
=$ac_header_preproc
27746 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27747 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27750 if test $ac_cv_header_GL_gl_h = yes; then
27754 echo "$as_me:$LINENO: checking for -lGL" >&5
27755 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27758 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27760 for ac_extension
in a so sl dylib
; do
27761 if test -f "$ac_dir/libGL.$ac_extension"; then
27762 ac_find_libraries
=$ac_dir
27768 if test "$ac_find_libraries" != "" ; then
27770 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27772 if test $result = 0; then
27775 ac_path_to_link
=" -L$ac_find_libraries"
27778 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27779 LDFLAGS_GL
="$ac_path_to_link"
27784 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27786 for ac_extension
in a so sl dylib
; do
27787 if test -f "$ac_dir/libGLU.$ac_extension"; then
27788 ac_find_libraries
=$ac_dir
27794 if test "$ac_find_libraries" != "" ; then
27796 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27798 if test $result = 0; then
27801 ac_path_to_link
=" -L$ac_find_libraries"
27804 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27805 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27806 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27810 OPENGL_LIBS
="-lGL -lGLU"
27811 echo "$as_me:$LINENO: result: yes" >&5
27812 echo "${ECHO_T}yes" >&6
27816 if test "$found_gl" != 1; then
27817 echo "$as_me:$LINENO: result: no" >&5
27818 echo "${ECHO_T}no" >&6
27819 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27820 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27823 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27825 for ac_extension
in a so sl dylib
; do
27826 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27827 ac_find_libraries
=$ac_dir
27833 if test "$ac_find_libraries" != "" ; then
27835 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27837 if test $result = 0; then
27840 ac_path_to_link
=" -L$ac_find_libraries"
27843 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27844 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27845 echo "$as_me:$LINENO: result: yes" >&5
27846 echo "${ECHO_T}yes" >&6
27848 echo "$as_me:$LINENO: result: no" >&5
27849 echo "${ECHO_T}no" >&6
27857 if test "x$OPENGL_LIBS" = "x"; then
27858 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27859 echo "$as_me: error: OpenGL libraries not available" >&2;}
27860 { (exit 1); exit 1; }; }
27864 if test "$wxUSE_OPENGL" = "yes"; then
27866 cat >>confdefs.h
<<\_ACEOF
27867 #define wxUSE_OPENGL 1
27870 cat >>confdefs.h
<<\_ACEOF
27871 #define wxUSE_GLCANVAS 1
27874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27878 if test -z "$TOOLKIT_VPATH" ; then
27879 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27882 if test -n "$TOOLKIT" ; then
27883 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27887 lib_unicode_suffix
=
27888 if test "$wxUSE_UNICODE" = "yes"; then
27889 lib_unicode_suffix
=u
27895 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27901 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27905 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27907 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27908 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27910 if test "$cross_compiling" = "yes"; then
27911 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27912 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27913 HOST_SUFFIX
="-${host_alias}"
27916 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27917 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27918 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27919 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27921 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27922 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27924 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27925 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27926 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27927 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27930 *-*-cygwin* | *-*-mingw32* )
27931 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27932 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27937 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27938 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27940 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27941 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27942 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27943 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27945 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27946 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27947 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27952 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27953 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27955 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27956 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27958 if test "$wxUSE_OPENGL" = "yes"; then
27959 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27960 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27965 if test "$wxUSE_SHARED" = "yes"; then
27969 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27970 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27976 if test "$wxUSE_SHARED" = "yes"; then
27980 found_versioning
=no
27983 if test $found_versioning = no
; then
27984 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27985 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27986 if test "${wx_cv_version_script+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27990 echo "VER_1 { *; };" >conftest.sym
27991 echo "int main() { return 0; }" >conftest.cpp
27994 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27995 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27997 (eval $ac_try) 2>&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); }; } ; then
28001 if test -s conftest.stderr
; then
28002 wx_cv_version_script
=no
28004 wx_cv_version_script
=yes
28007 wx_cv_version_script
=no
28009 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28012 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28013 echo "${ECHO_T}$wx_cv_version_script" >&6
28014 if test $wx_cv_version_script = yes ; then
28015 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28021 *-*-linux* | *-*-gnu* )
28022 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28026 if test "$GCC" = yes ; then
28027 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28029 saveLdflags
="$LDFLAGS"
28030 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28031 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28032 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28033 cat >conftest.
$ac_ext <<_ACEOF
28036 cat confdefs.h
>>conftest.
$ac_ext
28037 cat >>conftest.
$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28048 rm -f conftest.
$ac_objext conftest
$ac_exeext
28049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28050 (eval $ac_link) 2>conftest.er1
28052 grep -v '^ *+' conftest.er1
>conftest.err
28054 cat conftest.err
>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); } &&
28057 { ac_try
='test -z "$ac_c_werror_flag"
28058 || test ! -s conftest.err'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; } &&
28064 { ac_try
='test -s conftest$ac_exeext'
28065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28066 (eval $ac_try) 2>&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); }; }; then
28071 echo "$as_me:$LINENO: result: yes" >&5
28072 echo "${ECHO_T}yes" >&6
28073 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.
$ac_ext >&5
28080 echo "$as_me:$LINENO: result: no" >&5
28081 echo "${ECHO_T}no" >&6
28082 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28083 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28084 LDFLAGS
="$saveLdflags -Wl,-R,/"
28085 cat >conftest.
$ac_ext <<_ACEOF
28088 cat confdefs.h
>>conftest.
$ac_ext
28089 cat >>conftest.
$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28100 rm -f conftest.
$ac_objext conftest
$ac_exeext
28101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28102 (eval $ac_link) 2>conftest.er1
28104 grep -v '^ *+' conftest.er1
>conftest.err
28106 cat conftest.err
>&5
28107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 (exit $ac_status); } &&
28109 { ac_try
='test -z "$ac_c_werror_flag"
28110 || test ! -s conftest.err'
28111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28112 (eval $ac_try) 2>&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); }; } &&
28116 { ac_try
='test -s conftest$ac_exeext'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; }; then
28123 echo "$as_me:$LINENO: result: yes" >&5
28124 echo "${ECHO_T}yes" >&6
28125 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.
$ac_ext >&5
28131 echo "$as_me:$LINENO: result: no" >&5
28132 echo "${ECHO_T}no" >&6
28135 rm -f conftest.err conftest.
$ac_objext \
28136 conftest
$ac_exeext conftest.
$ac_ext
28139 rm -f conftest.err conftest.
$ac_objext \
28140 conftest
$ac_exeext conftest.
$ac_ext
28141 LDFLAGS
="$saveLdflags"
28143 SHARED_LD
="${CXX} -G -o"
28145 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28149 powerpc
-*-darwin* )
28150 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28151 cat <<EOF >change-install-names
28153 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28154 inst_cmd="install_name_tool "
28155 for i in \${libnames} ; do
28156 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28160 chmod +x change
-install-names
28163 *-*-cygwin* | *-*-mingw32* )
28164 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28169 if test "x$WX_TARGET_LIBRARY" = "x"; then
28170 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28171 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28174 WX_TARGET_LIBRARY_TYPE
="so"
28175 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28178 if test "$wxUSE_SHARED" = "no"; then
28180 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28181 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28184 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28185 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28188 if test "$wxUSE_OPENGL" = "yes"; then
28189 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28190 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28192 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28195 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28196 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28198 WX_TARGET_LIBRARY_TYPE
="a"
28199 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28206 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28207 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28208 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28209 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28211 # Extract the first word of "Rez", so it can be a program name with args.
28212 set dummy Rez
; ac_word
=$2
28213 echo "$as_me:$LINENO: checking for $ac_word" >&5
28214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28215 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28216 echo $ECHO_N "(cached) $ECHO_C" >&6
28218 if test -n "$RESCOMP"; then
28219 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28222 for as_dir
in $PATH
28225 test -z "$as_dir" && as_dir
=.
28226 for ac_exec_ext
in '' $ac_executable_extensions; do
28227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28228 ac_cv_prog_RESCOMP
="Rez"
28229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28235 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28238 RESCOMP
=$ac_cv_prog_RESCOMP
28239 if test -n "$RESCOMP"; then
28240 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28241 echo "${ECHO_T}$RESCOMP" >&6
28243 echo "$as_me:$LINENO: result: no" >&5
28244 echo "${ECHO_T}no" >&6
28247 # Extract the first word of "DeRez", so it can be a program name with args.
28248 set dummy DeRez
; ac_word
=$2
28249 echo "$as_me:$LINENO: checking for $ac_word" >&5
28250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28251 if test "${ac_cv_prog_DEREZ+set}" = set; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28254 if test -n "$DEREZ"; then
28255 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28258 for as_dir
in $PATH
28261 test -z "$as_dir" && as_dir
=.
28262 for ac_exec_ext
in '' $ac_executable_extensions; do
28263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28264 ac_cv_prog_DEREZ
="DeRez"
28265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28271 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28274 DEREZ
=$ac_cv_prog_DEREZ
28275 if test -n "$DEREZ"; then
28276 echo "$as_me:$LINENO: result: $DEREZ" >&5
28277 echo "${ECHO_T}$DEREZ" >&6
28279 echo "$as_me:$LINENO: result: no" >&5
28280 echo "${ECHO_T}no" >&6
28283 # Extract the first word of "SetFile", so it can be a program name with args.
28284 set dummy SetFile
; ac_word
=$2
28285 echo "$as_me:$LINENO: checking for $ac_word" >&5
28286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28287 if test "${ac_cv_prog_SETFILE+set}" = set; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28290 if test -n "$SETFILE"; then
28291 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28294 for as_dir
in $PATH
28297 test -z "$as_dir" && as_dir
=.
28298 for ac_exec_ext
in '' $ac_executable_extensions; do
28299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28300 ac_cv_prog_SETFILE
="SetFile"
28301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28307 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28310 SETFILE
=$ac_cv_prog_SETFILE
28311 if test -n "$SETFILE"; then
28312 echo "$as_me:$LINENO: result: $SETFILE" >&5
28313 echo "${ECHO_T}$SETFILE" >&6
28315 echo "$as_me:$LINENO: result: no" >&5
28316 echo "${ECHO_T}no" >&6
28320 MACSETFILE
="\$(SETFILE)"
28322 if test "$wxUSE_MAC" = 1; then
28323 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28325 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28327 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28328 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28334 if test "$wxUSE_PM" = 1; then
28335 MACRESCOMP
="emxbind -ep"
28343 echo "$as_me:$LINENO: checking for mode_t" >&5
28344 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28345 if test "${ac_cv_type_mode_t+set}" = set; then
28346 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 cat >conftest.
$ac_ext <<_ACEOF
28351 cat confdefs.h
>>conftest.
$ac_ext
28352 cat >>conftest.
$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354 $ac_includes_default
28360 if (sizeof (mode_t))
28366 rm -f conftest.
$ac_objext
28367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28368 (eval $ac_compile) 2>conftest.er1
28370 grep -v '^ *+' conftest.er1
>conftest.err
28372 cat conftest.err
>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); } &&
28375 { ac_try
='test -z "$ac_c_werror_flag"
28376 || test ! -s conftest.err'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; } &&
28382 { ac_try
='test -s conftest.$ac_objext'
28383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384 (eval $ac_try) 2>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 ac_cv_type_mode_t
=yes
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.
$ac_ext >&5
28393 ac_cv_type_mode_t
=no
28395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28397 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28398 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28399 if test $ac_cv_type_mode_t = yes; then
28403 cat >>confdefs.h
<<_ACEOF
28409 echo "$as_me:$LINENO: checking for off_t" >&5
28410 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28411 if test "${ac_cv_type_off_t+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28414 cat >conftest.
$ac_ext <<_ACEOF
28417 cat confdefs.h
>>conftest.
$ac_ext
28418 cat >>conftest.
$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28420 $ac_includes_default
28426 if (sizeof (off_t))
28432 rm -f conftest.
$ac_objext
28433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28434 (eval $ac_compile) 2>conftest.er1
28436 grep -v '^ *+' conftest.er1
>conftest.err
28438 cat conftest.err
>&5
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); } &&
28441 { ac_try
='test -z "$ac_c_werror_flag"
28442 || test ! -s conftest.err'
28443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28444 (eval $ac_try) 2>&5
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); }; } &&
28448 { ac_try
='test -s conftest.$ac_objext'
28449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450 (eval $ac_try) 2>&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); }; }; then
28454 ac_cv_type_off_t
=yes
28456 echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.
$ac_ext >&5
28459 ac_cv_type_off_t
=no
28461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28463 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28464 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28465 if test $ac_cv_type_off_t = yes; then
28469 cat >>confdefs.h
<<_ACEOF
28475 echo "$as_me:$LINENO: checking for pid_t" >&5
28476 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28477 if test "${ac_cv_type_pid_t+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28480 cat >conftest.
$ac_ext <<_ACEOF
28483 cat confdefs.h
>>conftest.
$ac_ext
28484 cat >>conftest.
$ac_ext <<_ACEOF
28485 /* end confdefs.h. */
28486 $ac_includes_default
28492 if (sizeof (pid_t))
28498 rm -f conftest.
$ac_objext
28499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28500 (eval $ac_compile) 2>conftest.er1
28502 grep -v '^ *+' conftest.er1
>conftest.err
28504 cat conftest.err
>&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } &&
28507 { ac_try
='test -z "$ac_c_werror_flag"
28508 || test ! -s conftest.err'
28509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28510 (eval $ac_try) 2>&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); }; } &&
28514 { ac_try
='test -s conftest.$ac_objext'
28515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516 (eval $ac_try) 2>&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); }; }; then
28520 ac_cv_type_pid_t
=yes
28522 echo "$as_me: failed program was:" >&5
28523 sed 's/^/| /' conftest.
$ac_ext >&5
28525 ac_cv_type_pid_t
=no
28527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28529 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28530 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28531 if test $ac_cv_type_pid_t = yes; then
28535 cat >>confdefs.h
<<_ACEOF
28541 echo "$as_me:$LINENO: checking for size_t" >&5
28542 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28543 if test "${ac_cv_type_size_t+set}" = set; then
28544 echo $ECHO_N "(cached) $ECHO_C" >&6
28546 cat >conftest.
$ac_ext <<_ACEOF
28549 cat confdefs.h
>>conftest.
$ac_ext
28550 cat >>conftest.
$ac_ext <<_ACEOF
28551 /* end confdefs.h. */
28552 $ac_includes_default
28558 if (sizeof (size_t))
28564 rm -f conftest.
$ac_objext
28565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28566 (eval $ac_compile) 2>conftest.er1
28568 grep -v '^ *+' conftest.er1
>conftest.err
28570 cat conftest.err
>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } &&
28573 { ac_try
='test -z "$ac_c_werror_flag"
28574 || test ! -s conftest.err'
28575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28576 (eval $ac_try) 2>&5
28578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579 (exit $ac_status); }; } &&
28580 { ac_try
='test -s conftest.$ac_objext'
28581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28582 (eval $ac_try) 2>&5
28584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28585 (exit $ac_status); }; }; then
28586 ac_cv_type_size_t
=yes
28588 echo "$as_me: failed program was:" >&5
28589 sed 's/^/| /' conftest.
$ac_ext >&5
28591 ac_cv_type_size_t
=no
28593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28595 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28596 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28597 if test $ac_cv_type_size_t = yes; then
28601 cat >>confdefs.h
<<_ACEOF
28602 #define size_t unsigned
28607 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28608 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28609 if test "${ac_cv_type_uid_t+set}" = set; then
28610 echo $ECHO_N "(cached) $ECHO_C" >&6
28612 cat >conftest.
$ac_ext <<_ACEOF
28615 cat confdefs.h
>>conftest.
$ac_ext
28616 cat >>conftest.
$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28618 #include <sys/types.h>
28621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28622 $EGREP "uid_t" >/dev
/null
2>&1; then
28623 ac_cv_type_uid_t
=yes
28625 ac_cv_type_uid_t
=no
28630 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28631 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28632 if test $ac_cv_type_uid_t = no
; then
28634 cat >>confdefs.h
<<\_ACEOF
28639 cat >>confdefs.h
<<\_ACEOF
28649 ac_cpp
='$CXXCPP $CPPFLAGS'
28650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28654 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28655 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28656 if test "${wx_cv_size_t_is_uint+set}" = set; then
28657 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 cat >conftest.
$ac_ext <<_ACEOF
28663 cat confdefs.h
>>conftest.
$ac_ext
28664 cat >>conftest.
$ac_ext <<_ACEOF
28665 /* end confdefs.h. */
28666 #include <stddef.h>
28673 struct Foo { void foo(size_t); void foo(unsigned int); };
28681 rm -f conftest.
$ac_objext
28682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28683 (eval $ac_compile) 2>conftest.er1
28685 grep -v '^ *+' conftest.er1
>conftest.err
28687 cat conftest.err
>&5
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); } &&
28690 { ac_try
='test -z "$ac_cxx_werror_flag"
28691 || test ! -s conftest.err'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; } &&
28697 { ac_try
='test -s conftest.$ac_objext'
28698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28699 (eval $ac_try) 2>&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); }; }; then
28703 wx_cv_size_t_is_uint
=no
28705 echo "$as_me: failed program was:" >&5
28706 sed 's/^/| /' conftest.
$ac_ext >&5
28708 wx_cv_size_t_is_uint
=yes
28711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28715 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28716 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28718 if test "$wx_cv_size_t_is_uint" = "yes"; then
28719 cat >>confdefs.h
<<\_ACEOF
28720 #define wxSIZE_T_IS_UINT 1
28724 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28725 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28726 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28729 cat >conftest.
$ac_ext <<_ACEOF
28732 cat confdefs.h
>>conftest.
$ac_ext
28733 cat >>conftest.
$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28735 #include <stddef.h>
28742 struct Foo { void foo(size_t); void foo(unsigned long); };
28750 rm -f conftest.
$ac_objext
28751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28752 (eval $ac_compile) 2>conftest.er1
28754 grep -v '^ *+' conftest.er1
>conftest.err
28756 cat conftest.err
>&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } &&
28759 { ac_try
='test -z "$ac_cxx_werror_flag"
28760 || test ! -s conftest.err'
28761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28762 (eval $ac_try) 2>&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; } &&
28766 { ac_try
='test -s conftest.$ac_objext'
28767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28768 (eval $ac_try) 2>&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); }; }; then
28772 wx_cv_size_t_is_ulong
=no
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.
$ac_ext >&5
28777 wx_cv_size_t_is_ulong
=yes
28780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28783 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28784 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28786 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28787 cat >>confdefs.h
<<\_ACEOF
28788 #define wxSIZE_T_IS_ULONG 1
28795 ac_cpp
='$CPP $CPPFLAGS'
28796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28802 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28803 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28804 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28808 cat >conftest.
$ac_ext <<_ACEOF
28811 cat confdefs.h
>>conftest.
$ac_ext
28812 cat >>conftest.
$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28827 rm -f conftest.
$ac_objext
28828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28829 (eval $ac_compile) 2>conftest.er1
28831 grep -v '^ *+' conftest.er1
>conftest.err
28833 cat conftest.err
>&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } &&
28836 { ac_try
='test -z "$ac_c_werror_flag"
28837 || test ! -s conftest.err'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; } &&
28843 { ac_try
='test -s conftest.$ac_objext'
28844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28845 (eval $ac_try) 2>&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); }; }; then
28850 wx_cv_struct_pw_gecos
=yes
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.
$ac_ext >&5
28857 wx_cv_struct_pw_gecos
=no
28861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28865 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28866 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28868 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28869 cat >>confdefs.h
<<\_ACEOF
28870 #define HAVE_PW_GECOS 1
28876 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28877 cat >>confdefs.h
<<\_ACEOF
28878 #define wxUSE_WCHAR_T 1
28885 for ac_func
in wcslen
28887 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28888 echo "$as_me:$LINENO: checking for $ac_func" >&5
28889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28890 if eval "test \"\${$as_ac_var+set}\" = set"; then
28891 echo $ECHO_N "(cached) $ECHO_C" >&6
28893 cat >conftest.
$ac_ext <<_ACEOF
28896 cat confdefs.h
>>conftest.
$ac_ext
28897 cat >>conftest.
$ac_ext <<_ACEOF
28898 /* end confdefs.h. */
28899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28901 #define $ac_func innocuous_$ac_func
28903 /* System header to define __stub macros and hopefully few prototypes,
28904 which can conflict with char $ac_func (); below.
28905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28906 <limits.h> exists even on freestanding compilers. */
28909 # include <limits.h>
28911 # include <assert.h>
28916 /* Override any gcc2 internal prototype to avoid an error. */
28921 /* We use char because int might match the return type of a gcc2
28922 builtin and then its argument prototype would still apply. */
28924 /* The GNU C library defines this for functions which it implements
28925 to always fail with ENOSYS. Some functions are actually named
28926 something starting with __ and the normal name is an alias. */
28927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28930 char (*f) () = $ac_func;
28939 return f != $ac_func;
28944 rm -f conftest.
$ac_objext conftest
$ac_exeext
28945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28946 (eval $ac_link) 2>conftest.er1
28948 grep -v '^ *+' conftest.er1
>conftest.err
28950 cat conftest.err
>&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } &&
28953 { ac_try
='test -z "$ac_c_werror_flag"
28954 || test ! -s conftest.err'
28955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28956 (eval $ac_try) 2>&5
28958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959 (exit $ac_status); }; } &&
28960 { ac_try
='test -s conftest$ac_exeext'
28961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28962 (eval $ac_try) 2>&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); }; }; then
28966 eval "$as_ac_var=yes"
28968 echo "$as_me: failed program was:" >&5
28969 sed 's/^/| /' conftest.
$ac_ext >&5
28971 eval "$as_ac_var=no"
28973 rm -f conftest.err conftest.
$ac_objext \
28974 conftest
$ac_exeext conftest.
$ac_ext
28976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28978 if test `eval echo '${'$as_ac_var'}'` = yes; then
28979 cat >>confdefs.h
<<_ACEOF
28980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28987 if test "$WCSLEN_FOUND" = 0; then
28988 if test "$TOOLKIT" = "MSW"; then
28989 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28990 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28991 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28992 echo $ECHO_N "(cached) $ECHO_C" >&6
28994 ac_check_lib_save_LIBS
=$LIBS
28995 LIBS
="-lmsvcrt $LIBS"
28996 cat >conftest.
$ac_ext <<_ACEOF
28999 cat confdefs.h
>>conftest.
$ac_ext
29000 cat >>conftest.
$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29003 /* Override any gcc2 internal prototype to avoid an error. */
29007 /* We use char because int might match the return type of a gcc2
29008 builtin and then its argument prototype would still apply. */
29018 rm -f conftest.
$ac_objext conftest
$ac_exeext
29019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29020 (eval $ac_link) 2>conftest.er1
29022 grep -v '^ *+' conftest.er1
>conftest.err
29024 cat conftest.err
>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); } &&
29027 { ac_try
='test -z "$ac_c_werror_flag"
29028 || test ! -s conftest.err'
29029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29030 (eval $ac_try) 2>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); }; } &&
29034 { ac_try
='test -s conftest$ac_exeext'
29035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29036 (eval $ac_try) 2>&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); }; }; then
29040 ac_cv_lib_msvcrt_wcslen
=yes
29042 echo "$as_me: failed program was:" >&5
29043 sed 's/^/| /' conftest.
$ac_ext >&5
29045 ac_cv_lib_msvcrt_wcslen
=no
29047 rm -f conftest.err conftest.
$ac_objext \
29048 conftest
$ac_exeext conftest.
$ac_ext
29049 LIBS
=$ac_check_lib_save_LIBS
29051 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29052 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29053 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29058 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29059 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29060 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29063 ac_check_lib_save_LIBS
=$LIBS
29065 cat >conftest.
$ac_ext <<_ACEOF
29068 cat confdefs.h
>>conftest.
$ac_ext
29069 cat >>conftest.
$ac_ext <<_ACEOF
29070 /* end confdefs.h. */
29072 /* Override any gcc2 internal prototype to avoid an error. */
29076 /* We use char because int might match the return type of a gcc2
29077 builtin and then its argument prototype would still apply. */
29087 rm -f conftest.
$ac_objext conftest
$ac_exeext
29088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29089 (eval $ac_link) 2>conftest.er1
29091 grep -v '^ *+' conftest.er1
>conftest.err
29093 cat conftest.err
>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } &&
29096 { ac_try
='test -z "$ac_c_werror_flag"
29097 || test ! -s conftest.err'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; } &&
29103 { ac_try
='test -s conftest$ac_exeext'
29104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29105 (eval $ac_try) 2>&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); }; }; then
29109 ac_cv_lib_w_wcslen
=yes
29111 echo "$as_me: failed program was:" >&5
29112 sed 's/^/| /' conftest.
$ac_ext >&5
29114 ac_cv_lib_w_wcslen
=no
29116 rm -f conftest.err conftest.
$ac_objext \
29117 conftest
$ac_exeext conftest.
$ac_ext
29118 LIBS
=$ac_check_lib_save_LIBS
29120 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29121 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29122 if test $ac_cv_lib_w_wcslen = yes; then
29132 if test "$WCSLEN_FOUND" = 1; then
29133 cat >>confdefs.h
<<\_ACEOF
29134 #define HAVE_WCSLEN 1
29139 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29140 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29144 for ac_func
in wcsrtombs
29146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29147 echo "$as_me:$LINENO: checking for $ac_func" >&5
29148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29149 if eval "test \"\${$as_ac_var+set}\" = set"; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29152 cat >conftest.
$ac_ext <<_ACEOF
29155 cat confdefs.h
>>conftest.
$ac_ext
29156 cat >>conftest.
$ac_ext <<_ACEOF
29157 /* end confdefs.h. */
29158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29160 #define $ac_func innocuous_$ac_func
29162 /* System header to define __stub macros and hopefully few prototypes,
29163 which can conflict with char $ac_func (); below.
29164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29165 <limits.h> exists even on freestanding compilers. */
29168 # include <limits.h>
29170 # include <assert.h>
29175 /* Override any gcc2 internal prototype to avoid an error. */
29180 /* We use char because int might match the return type of a gcc2
29181 builtin and then its argument prototype would still apply. */
29183 /* The GNU C library defines this for functions which it implements
29184 to always fail with ENOSYS. Some functions are actually named
29185 something starting with __ and the normal name is an alias. */
29186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29189 char (*f) () = $ac_func;
29198 return f != $ac_func;
29203 rm -f conftest.
$ac_objext conftest
$ac_exeext
29204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29205 (eval $ac_link) 2>conftest.er1
29207 grep -v '^ *+' conftest.er1
>conftest.err
29209 cat conftest.err
>&5
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); } &&
29212 { ac_try
='test -z "$ac_c_werror_flag"
29213 || test ! -s conftest.err'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; } &&
29219 { ac_try
='test -s conftest$ac_exeext'
29220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29221 (eval $ac_try) 2>&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); }; }; then
29225 eval "$as_ac_var=yes"
29227 echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.
$ac_ext >&5
29230 eval "$as_ac_var=no"
29232 rm -f conftest.err conftest.
$ac_objext \
29233 conftest
$ac_exeext conftest.
$ac_ext
29235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29237 if test `eval echo '${'$as_ac_var'}'` = yes; then
29238 cat >>confdefs.h
<<_ACEOF
29239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29246 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29247 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29253 ac_cpp
='$CXXCPP $CPPFLAGS'
29254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29260 for ac_func
in vsnprintf
29262 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29263 echo "$as_me:$LINENO: checking for $ac_func" >&5
29264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29265 if eval "test \"\${$as_ac_var+set}\" = set"; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 cat >conftest.
$ac_ext <<_ACEOF
29271 cat confdefs.h
>>conftest.
$ac_ext
29272 cat >>conftest.
$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29276 #define $ac_func innocuous_$ac_func
29278 /* System header to define __stub macros and hopefully few prototypes,
29279 which can conflict with char $ac_func (); below.
29280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29281 <limits.h> exists even on freestanding compilers. */
29284 # include <limits.h>
29286 # include <assert.h>
29291 /* Override any gcc2 internal prototype to avoid an error. */
29296 /* We use char because int might match the return type of a gcc2
29297 builtin and then its argument prototype would still apply. */
29299 /* The GNU C library defines this for functions which it implements
29300 to always fail with ENOSYS. Some functions are actually named
29301 something starting with __ and the normal name is an alias. */
29302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29305 char (*f) () = $ac_func;
29314 return f != $ac_func;
29319 rm -f conftest.
$ac_objext conftest
$ac_exeext
29320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29321 (eval $ac_link) 2>conftest.er1
29323 grep -v '^ *+' conftest.er1
>conftest.err
29325 cat conftest.err
>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); } &&
29328 { ac_try
='test -z "$ac_cxx_werror_flag"
29329 || test ! -s conftest.err'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; } &&
29335 { ac_try
='test -s conftest$ac_exeext'
29336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29337 (eval $ac_try) 2>&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); }; }; then
29341 eval "$as_ac_var=yes"
29343 echo "$as_me: failed program was:" >&5
29344 sed 's/^/| /' conftest.
$ac_ext >&5
29346 eval "$as_ac_var=no"
29348 rm -f conftest.err conftest.
$ac_objext \
29349 conftest
$ac_exeext conftest.
$ac_ext
29351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29353 if test `eval echo '${'$as_ac_var'}'` = yes; then
29354 cat >>confdefs.h
<<_ACEOF
29355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29362 if test "$ac_cv_func_vsnprintf" = "yes"; then
29363 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29364 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29365 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29366 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 cat >conftest.
$ac_ext <<_ACEOF
29372 cat confdefs.h
>>conftest.
$ac_ext
29373 cat >>conftest.
$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29377 #include <stdarg.h>
29385 vsnprintf(buf, 10u, "%s", ap);
29391 rm -f conftest.
$ac_objext
29392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29393 (eval $ac_compile) 2>conftest.er1
29395 grep -v '^ *+' conftest.er1
>conftest.err
29397 cat conftest.err
>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } &&
29400 { ac_try
='test -z "$ac_cxx_werror_flag"
29401 || test ! -s conftest.err'
29402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29403 (eval $ac_try) 2>&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); }; } &&
29407 { ac_try
='test -s conftest.$ac_objext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 wx_cv_func_vsnprintf_decl
=yes
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.
$ac_ext >&5
29418 wx_cv_func_vsnprintf_decl
=no
29421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29425 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29426 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29428 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29429 cat >>confdefs.h
<<\_ACEOF
29430 #define HAVE_VSNPRINTF_DECL 1
29436 if test "$wxUSE_UNICODE" = yes; then
29440 for ac_func
in fputwc wprintf vswprintf
29442 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29443 echo "$as_me:$LINENO: checking for $ac_func" >&5
29444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29445 if eval "test \"\${$as_ac_var+set}\" = set"; then
29446 echo $ECHO_N "(cached) $ECHO_C" >&6
29448 cat >conftest.
$ac_ext <<_ACEOF
29451 cat confdefs.h
>>conftest.
$ac_ext
29452 cat >>conftest.
$ac_ext <<_ACEOF
29453 /* end confdefs.h. */
29454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29456 #define $ac_func innocuous_$ac_func
29458 /* System header to define __stub macros and hopefully few prototypes,
29459 which can conflict with char $ac_func (); below.
29460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29461 <limits.h> exists even on freestanding compilers. */
29464 # include <limits.h>
29466 # include <assert.h>
29471 /* Override any gcc2 internal prototype to avoid an error. */
29476 /* We use char because int might match the return type of a gcc2
29477 builtin and then its argument prototype would still apply. */
29479 /* The GNU C library defines this for functions which it implements
29480 to always fail with ENOSYS. Some functions are actually named
29481 something starting with __ and the normal name is an alias. */
29482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29485 char (*f) () = $ac_func;
29494 return f != $ac_func;
29499 rm -f conftest.
$ac_objext conftest
$ac_exeext
29500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29501 (eval $ac_link) 2>conftest.er1
29503 grep -v '^ *+' conftest.er1
>conftest.err
29505 cat conftest.err
>&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); } &&
29508 { ac_try
='test -z "$ac_cxx_werror_flag"
29509 || test ! -s conftest.err'
29510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29511 (eval $ac_try) 2>&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); }; } &&
29515 { ac_try
='test -s conftest$ac_exeext'
29516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29517 (eval $ac_try) 2>&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); }; }; then
29521 eval "$as_ac_var=yes"
29523 echo "$as_me: failed program was:" >&5
29524 sed 's/^/| /' conftest.
$ac_ext >&5
29526 eval "$as_ac_var=no"
29528 rm -f conftest.err conftest.
$ac_objext \
29529 conftest
$ac_exeext conftest.
$ac_ext
29531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29533 if test `eval echo '${'$as_ac_var'}'` = yes; then
29534 cat >>confdefs.h
<<_ACEOF
29535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29542 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29543 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29544 cat >conftest.
$ac_ext <<_ACEOF
29547 cat confdefs.h
>>conftest.
$ac_ext
29548 cat >>conftest.
$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29559 rm -f conftest.
$ac_objext
29560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29561 (eval $ac_compile) 2>conftest.er1
29563 grep -v '^ *+' conftest.er1
>conftest.err
29565 cat conftest.err
>&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } &&
29568 { ac_try
='test -z "$ac_cxx_werror_flag"
29569 || test ! -s conftest.err'
29570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29571 (eval $ac_try) 2>&5
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); }; } &&
29575 { ac_try
='test -s conftest.$ac_objext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 echo "$as_me:$LINENO: result: yes" >&5
29582 echo "${ECHO_T}yes" >&6
29583 cat >>confdefs.h
<<\_ACEOF
29584 #define HAVE__VSNWPRINTF 1
29588 echo "$as_me: failed program was:" >&5
29589 sed 's/^/| /' conftest.
$ac_ext >&5
29591 echo "$as_me:$LINENO: result: no" >&5
29592 echo "${ECHO_T}no" >&6
29594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29598 ac_cpp
='$CPP $CPPFLAGS'
29599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29606 if test "$TOOLKIT" != "MSW"; then
29612 ac_cpp
='$CXXCPP $CPPFLAGS'
29613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29620 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29621 if test "${with_libiconv_prefix+set}" = set; then
29622 withval
="$with_libiconv_prefix"
29624 for dir
in `echo "$withval" | tr : ' '`; do
29625 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29626 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29631 echo "$as_me:$LINENO: checking for iconv" >&5
29632 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29633 if test "${am_cv_func_iconv+set}" = set; then
29634 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 am_cv_func_iconv
="no, consider installing GNU libiconv"
29639 cat >conftest.
$ac_ext <<_ACEOF
29642 cat confdefs.h
>>conftest.
$ac_ext
29643 cat >>conftest.
$ac_ext <<_ACEOF
29644 /* end confdefs.h. */
29645 #include <stdlib.h>
29650 iconv_t cd = iconv_open("","");
29651 iconv(cd,NULL,NULL,NULL,NULL);
29657 rm -f conftest.
$ac_objext conftest
$ac_exeext
29658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29659 (eval $ac_link) 2>conftest.er1
29661 grep -v '^ *+' conftest.er1
>conftest.err
29663 cat conftest.err
>&5
29664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665 (exit $ac_status); } &&
29666 { ac_try
='test -z "$ac_cxx_werror_flag"
29667 || test ! -s conftest.err'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; } &&
29673 { ac_try
='test -s conftest$ac_exeext'
29674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29675 (eval $ac_try) 2>&5
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); }; }; then
29679 am_cv_func_iconv
=yes
29681 echo "$as_me: failed program was:" >&5
29682 sed 's/^/| /' conftest.
$ac_ext >&5
29685 rm -f conftest.err conftest.
$ac_objext \
29686 conftest
$ac_exeext conftest.
$ac_ext
29687 if test "$am_cv_func_iconv" != yes; then
29688 am_save_LIBS
="$LIBS"
29689 LIBS
="$LIBS -liconv"
29690 cat >conftest.
$ac_ext <<_ACEOF
29693 cat confdefs.h
>>conftest.
$ac_ext
29694 cat >>conftest.
$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29696 #include <stdlib.h>
29701 iconv_t cd = iconv_open("","");
29702 iconv(cd,NULL,NULL,NULL,NULL);
29708 rm -f conftest.
$ac_objext conftest
$ac_exeext
29709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710 (eval $ac_link) 2>conftest.er1
29712 grep -v '^ *+' conftest.er1
>conftest.err
29714 cat conftest.err
>&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try
='test -z "$ac_cxx_werror_flag"
29718 || test ! -s conftest.err'
29719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720 (eval $ac_try) 2>&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); }; } &&
29724 { ac_try
='test -s conftest$ac_exeext'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; }; then
29730 am_cv_lib_iconv
=yes
29731 am_cv_func_iconv
=yes
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.
$ac_ext >&5
29737 rm -f conftest.err conftest.
$ac_objext \
29738 conftest
$ac_exeext conftest.
$ac_ext
29739 LIBS
="$am_save_LIBS"
29743 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29744 echo "${ECHO_T}$am_cv_func_iconv" >&6
29745 if test "$am_cv_func_iconv" = yes; then
29747 cat >>confdefs.h
<<\_ACEOF
29748 #define HAVE_ICONV 1
29751 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29752 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29753 if test "${wx_cv_func_iconv_const+set}" = set; then
29754 echo $ECHO_N "(cached) $ECHO_C" >&6
29756 cat >conftest.
$ac_ext <<_ACEOF
29759 cat confdefs.h
>>conftest.
$ac_ext
29760 cat >>conftest.
$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29763 #include <stdlib.h>
29769 #if defined(__STDC__) || defined(__cplusplus)
29770 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29783 rm -f conftest.
$ac_objext
29784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29785 (eval $ac_compile) 2>conftest.er1
29787 grep -v '^ *+' conftest.er1
>conftest.err
29789 cat conftest.err
>&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); } &&
29792 { ac_try
='test -z "$ac_cxx_werror_flag"
29793 || test ! -s conftest.err'
29794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29795 (eval $ac_try) 2>&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); }; } &&
29799 { ac_try
='test -s conftest.$ac_objext'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; }; then
29805 wx_cv_func_iconv_const
="no"
29807 echo "$as_me: failed program was:" >&5
29808 sed 's/^/| /' conftest.
$ac_ext >&5
29810 wx_cv_func_iconv_const
="yes"
29813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29816 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29817 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29820 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29821 iconv_const
="const"
29825 cat >>confdefs.h
<<_ACEOF
29826 #define ICONV_CONST $iconv_const
29831 if test "$am_cv_lib_iconv" = yes; then
29836 LIBS
="$LIBICONV $LIBS"
29838 ac_cpp
='$CPP $CPPFLAGS'
29839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29844 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29846 for ac_func
in sigaction
29848 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29849 echo "$as_me:$LINENO: checking for $ac_func" >&5
29850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29851 if eval "test \"\${$as_ac_var+set}\" = set"; then
29852 echo $ECHO_N "(cached) $ECHO_C" >&6
29854 cat >conftest.
$ac_ext <<_ACEOF
29857 cat confdefs.h
>>conftest.
$ac_ext
29858 cat >>conftest.
$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29862 #define $ac_func innocuous_$ac_func
29864 /* System header to define __stub macros and hopefully few prototypes,
29865 which can conflict with char $ac_func (); below.
29866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29867 <limits.h> exists even on freestanding compilers. */
29870 # include <limits.h>
29872 # include <assert.h>
29877 /* Override any gcc2 internal prototype to avoid an error. */
29882 /* We use char because int might match the return type of a gcc2
29883 builtin and then its argument prototype would still apply. */
29885 /* The GNU C library defines this for functions which it implements
29886 to always fail with ENOSYS. Some functions are actually named
29887 something starting with __ and the normal name is an alias. */
29888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29891 char (*f) () = $ac_func;
29900 return f != $ac_func;
29905 rm -f conftest.
$ac_objext conftest
$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29909 grep -v '^ *+' conftest.er1
>conftest.err
29911 cat conftest.err
>&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try
='test -z "$ac_c_werror_flag"
29915 || test ! -s conftest.err'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; } &&
29921 { ac_try
='test -s conftest$ac_exeext'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; }; then
29927 eval "$as_ac_var=yes"
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.
$ac_ext >&5
29932 eval "$as_ac_var=no"
29934 rm -f conftest.err conftest.
$ac_objext \
29935 conftest
$ac_exeext conftest.
$ac_ext
29937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29939 if test `eval echo '${'$as_ac_var'}'` = yes; then
29940 cat >>confdefs.h
<<_ACEOF
29941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29948 if test "$ac_cv_func_sigaction" = "no"; then
29949 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29950 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29951 wxUSE_ON_FATAL_EXCEPTION
=no
29954 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29958 ac_cpp
='$CXXCPP $CPPFLAGS'
29959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29964 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29965 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29966 if test "${wx_cv_type_sa_handler+set}" = set; then
29967 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 cat >conftest.
$ac_ext <<_ACEOF
29973 cat confdefs.h
>>conftest.
$ac_ext
29974 cat >>conftest.
$ac_ext <<_ACEOF
29975 /* end confdefs.h. */
29976 #include <signal.h>
29981 extern void testSigHandler(int);
29983 struct sigaction sa;
29984 sa.sa_handler = testSigHandler;
29990 rm -f conftest.
$ac_objext
29991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29992 (eval $ac_compile) 2>conftest.er1
29994 grep -v '^ *+' conftest.er1
>conftest.err
29996 cat conftest.err
>&5
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); } &&
29999 { ac_try
='test -z "$ac_cxx_werror_flag"
30000 || test ! -s conftest.err'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; } &&
30006 { ac_try
='test -s conftest.$ac_objext'
30007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30008 (eval $ac_try) 2>&5
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); }; }; then
30013 wx_cv_type_sa_handler
=int
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.
$ac_ext >&5
30020 wx_cv_type_sa_handler
=void
30023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30026 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30027 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30030 ac_cpp
='$CPP $CPPFLAGS'
30031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30036 cat >>confdefs.h
<<_ACEOF
30037 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30045 for ac_func
in mkstemp mktemp
30047 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30048 echo "$as_me:$LINENO: checking for $ac_func" >&5
30049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30050 if eval "test \"\${$as_ac_var+set}\" = set"; then
30051 echo $ECHO_N "(cached) $ECHO_C" >&6
30053 cat >conftest.
$ac_ext <<_ACEOF
30056 cat confdefs.h
>>conftest.
$ac_ext
30057 cat >>conftest.
$ac_ext <<_ACEOF
30058 /* end confdefs.h. */
30059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30061 #define $ac_func innocuous_$ac_func
30063 /* System header to define __stub macros and hopefully few prototypes,
30064 which can conflict with char $ac_func (); below.
30065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30066 <limits.h> exists even on freestanding compilers. */
30069 # include <limits.h>
30071 # include <assert.h>
30076 /* Override any gcc2 internal prototype to avoid an error. */
30081 /* We use char because int might match the return type of a gcc2
30082 builtin and then its argument prototype would still apply. */
30084 /* The GNU C library defines this for functions which it implements
30085 to always fail with ENOSYS. Some functions are actually named
30086 something starting with __ and the normal name is an alias. */
30087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30090 char (*f) () = $ac_func;
30099 return f != $ac_func;
30104 rm -f conftest.
$ac_objext conftest
$ac_exeext
30105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30106 (eval $ac_link) 2>conftest.er1
30108 grep -v '^ *+' conftest.er1
>conftest.err
30110 cat conftest.err
>&5
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); } &&
30113 { ac_try
='test -z "$ac_c_werror_flag"
30114 || test ! -s conftest.err'
30115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30116 (eval $ac_try) 2>&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); }; } &&
30120 { ac_try
='test -s conftest$ac_exeext'
30121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30122 (eval $ac_try) 2>&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); }; }; then
30126 eval "$as_ac_var=yes"
30128 echo "$as_me: failed program was:" >&5
30129 sed 's/^/| /' conftest.
$ac_ext >&5
30131 eval "$as_ac_var=no"
30133 rm -f conftest.err conftest.
$ac_objext \
30134 conftest
$ac_exeext conftest.
$ac_ext
30136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30138 if test `eval echo '${'$as_ac_var'}'` = yes; then
30139 cat >>confdefs.h
<<_ACEOF
30140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30147 echo "$as_me:$LINENO: checking for statfs" >&5
30148 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30149 if test "${wx_cv_func_statfs+set}" = set; then
30150 echo $ECHO_N "(cached) $ECHO_C" >&6
30152 cat >conftest.
$ac_ext <<_ACEOF
30155 cat confdefs.h
>>conftest.
$ac_ext
30156 cat >>conftest.
$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30159 #if defined(__BSD__)
30160 #include <sys/param.h>
30161 #include <sys/mount.h>
30163 #include <sys/vfs.h>
30181 rm -f conftest.
$ac_objext
30182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30183 (eval $ac_compile) 2>conftest.er1
30185 grep -v '^ *+' conftest.er1
>conftest.err
30187 cat conftest.err
>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); } &&
30190 { ac_try
='test -z "$ac_c_werror_flag"
30191 || test ! -s conftest.err'
30192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30193 (eval $ac_try) 2>&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); }; } &&
30197 { ac_try
='test -s conftest.$ac_objext'
30198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30199 (eval $ac_try) 2>&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); }; }; then
30204 wx_cv_func_statfs
=yes
30207 echo "$as_me: failed program was:" >&5
30208 sed 's/^/| /' conftest.
$ac_ext >&5
30211 wx_cv_func_statfs
=no
30215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30218 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30219 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30221 if test "$wx_cv_func_statfs" = "yes"; then
30222 wx_cv_type_statvfs_t
="struct statfs"
30223 cat >>confdefs.h
<<\_ACEOF
30224 #define HAVE_STATFS 1
30228 echo "$as_me:$LINENO: checking for statvfs" >&5
30229 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30230 if test "${wx_cv_func_statvfs+set}" = set; then
30231 echo $ECHO_N "(cached) $ECHO_C" >&6
30233 cat >conftest.
$ac_ext <<_ACEOF
30236 cat confdefs.h
>>conftest.
$ac_ext
30237 cat >>conftest.
$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30240 #include <stddef.h>
30241 #include <sys/statvfs.h>
30247 statvfs("/", NULL);
30253 rm -f conftest.
$ac_objext
30254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30255 (eval $ac_compile) 2>conftest.er1
30257 grep -v '^ *+' conftest.er1
>conftest.err
30259 cat conftest.err
>&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); } &&
30262 { ac_try
='test -z "$ac_c_werror_flag"
30263 || test ! -s conftest.err'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; } &&
30269 { ac_try
='test -s conftest.$ac_objext'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; }; then
30275 wx_cv_func_statvfs
=yes
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.
$ac_ext >&5
30280 wx_cv_func_statvfs
=no
30283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30286 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30287 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30289 if test "$wx_cv_func_statvfs" = "yes"; then
30293 ac_cpp
='$CXXCPP $CPPFLAGS'
30294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30299 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30300 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30301 if test "${wx_cv_type_statvfs_t+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 cat >conftest.
$ac_ext <<_ACEOF
30307 cat confdefs.h
>>conftest.
$ac_ext
30308 cat >>conftest.
$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30311 #include <sys/statvfs.h>
30328 rm -f conftest.
$ac_objext
30329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30330 (eval $ac_compile) 2>conftest.er1
30332 grep -v '^ *+' conftest.er1
>conftest.err
30334 cat conftest.err
>&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } &&
30337 { ac_try
='test -z "$ac_cxx_werror_flag"
30338 || test ! -s conftest.err'
30339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30340 (eval $ac_try) 2>&5
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); }; } &&
30344 { ac_try
='test -s conftest.$ac_objext'
30345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30346 (eval $ac_try) 2>&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); }; }; then
30350 wx_cv_type_statvfs_t
=statvfs_t
30352 echo "$as_me: failed program was:" >&5
30353 sed 's/^/| /' conftest.
$ac_ext >&5
30356 cat >conftest.
$ac_ext <<_ACEOF
30359 cat confdefs.h
>>conftest.
$ac_ext
30360 cat >>conftest.
$ac_ext <<_ACEOF
30361 /* end confdefs.h. */
30363 #include <sys/statvfs.h>
30380 rm -f conftest.
$ac_objext
30381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30382 (eval $ac_compile) 2>conftest.er1
30384 grep -v '^ *+' conftest.er1
>conftest.err
30386 cat conftest.err
>&5
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); } &&
30389 { ac_try
='test -z "$ac_cxx_werror_flag"
30390 || test ! -s conftest.err'
30391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30392 (eval $ac_try) 2>&5
30394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30395 (exit $ac_status); }; } &&
30396 { ac_try
='test -s conftest.$ac_objext'
30397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30398 (eval $ac_try) 2>&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); }; }; then
30402 wx_cv_type_statvfs_t
="struct statvfs"
30404 echo "$as_me: failed program was:" >&5
30405 sed 's/^/| /' conftest.
$ac_ext >&5
30407 wx_cv_type_statvfs_t
="unknown"
30410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30417 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30418 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30421 ac_cpp
='$CPP $CPPFLAGS'
30422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30427 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30428 cat >>confdefs.h
<<\_ACEOF
30429 #define HAVE_STATVFS 1
30434 wx_cv_type_statvfs_t
="unknown"
30438 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30439 cat >>confdefs.h
<<_ACEOF
30440 #define WX_STATFS_T $wx_cv_type_statvfs_t
30444 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30445 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30448 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30451 for ac_func
in fcntl flock
30453 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30454 echo "$as_me:$LINENO: checking for $ac_func" >&5
30455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30456 if eval "test \"\${$as_ac_var+set}\" = set"; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 cat >conftest.
$ac_ext <<_ACEOF
30462 cat confdefs.h
>>conftest.
$ac_ext
30463 cat >>conftest.
$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30467 #define $ac_func innocuous_$ac_func
30469 /* System header to define __stub macros and hopefully few prototypes,
30470 which can conflict with char $ac_func (); below.
30471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30472 <limits.h> exists even on freestanding compilers. */
30475 # include <limits.h>
30477 # include <assert.h>
30482 /* Override any gcc2 internal prototype to avoid an error. */
30487 /* We use char because int might match the return type of a gcc2
30488 builtin and then its argument prototype would still apply. */
30490 /* The GNU C library defines this for functions which it implements
30491 to always fail with ENOSYS. Some functions are actually named
30492 something starting with __ and the normal name is an alias. */
30493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30496 char (*f) () = $ac_func;
30505 return f != $ac_func;
30510 rm -f conftest.
$ac_objext conftest
$ac_exeext
30511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30512 (eval $ac_link) 2>conftest.er1
30514 grep -v '^ *+' conftest.er1
>conftest.err
30516 cat conftest.err
>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } &&
30519 { ac_try
='test -z "$ac_c_werror_flag"
30520 || test ! -s conftest.err'
30521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30522 (eval $ac_try) 2>&5
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); }; } &&
30526 { ac_try
='test -s conftest$ac_exeext'
30527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30528 (eval $ac_try) 2>&5
30530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30531 (exit $ac_status); }; }; then
30532 eval "$as_ac_var=yes"
30534 echo "$as_me: failed program was:" >&5
30535 sed 's/^/| /' conftest.
$ac_ext >&5
30537 eval "$as_ac_var=no"
30539 rm -f conftest.err conftest.
$ac_objext \
30540 conftest
$ac_exeext conftest.
$ac_ext
30542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30544 if test `eval echo '${'$as_ac_var'}'` = yes; then
30545 cat >>confdefs.h
<<_ACEOF
30546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30553 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30554 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30555 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30556 wxUSE_SNGLINST_CHECKER
=no
30561 for ac_func
in timegm
30563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30564 echo "$as_me:$LINENO: checking for $ac_func" >&5
30565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30566 if eval "test \"\${$as_ac_var+set}\" = set"; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30569 cat >conftest.
$ac_ext <<_ACEOF
30572 cat confdefs.h
>>conftest.
$ac_ext
30573 cat >>conftest.
$ac_ext <<_ACEOF
30574 /* end confdefs.h. */
30575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30577 #define $ac_func innocuous_$ac_func
30579 /* System header to define __stub macros and hopefully few prototypes,
30580 which can conflict with char $ac_func (); below.
30581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30582 <limits.h> exists even on freestanding compilers. */
30585 # include <limits.h>
30587 # include <assert.h>
30592 /* Override any gcc2 internal prototype to avoid an error. */
30597 /* We use char because int might match the return type of a gcc2
30598 builtin and then its argument prototype would still apply. */
30600 /* The GNU C library defines this for functions which it implements
30601 to always fail with ENOSYS. Some functions are actually named
30602 something starting with __ and the normal name is an alias. */
30603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30606 char (*f) () = $ac_func;
30615 return f != $ac_func;
30620 rm -f conftest.
$ac_objext conftest
$ac_exeext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30622 (eval $ac_link) 2>conftest.er1
30624 grep -v '^ *+' conftest.er1
>conftest.err
30626 cat conftest.err
>&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } &&
30629 { ac_try
='test -z "$ac_c_werror_flag"
30630 || test ! -s conftest.err'
30631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30632 (eval $ac_try) 2>&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); }; } &&
30636 { ac_try
='test -s conftest$ac_exeext'
30637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30638 (eval $ac_try) 2>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; }; then
30642 eval "$as_ac_var=yes"
30644 echo "$as_me: failed program was:" >&5
30645 sed 's/^/| /' conftest.
$ac_ext >&5
30647 eval "$as_ac_var=no"
30649 rm -f conftest.err conftest.
$ac_objext \
30650 conftest
$ac_exeext conftest.
$ac_ext
30652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30654 if test `eval echo '${'$as_ac_var'}'` = yes; then
30655 cat >>confdefs.h
<<_ACEOF
30656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30665 for ac_func
in putenv setenv
30667 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30668 echo "$as_me:$LINENO: checking for $ac_func" >&5
30669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30670 if eval "test \"\${$as_ac_var+set}\" = set"; then
30671 echo $ECHO_N "(cached) $ECHO_C" >&6
30673 cat >conftest.
$ac_ext <<_ACEOF
30676 cat confdefs.h
>>conftest.
$ac_ext
30677 cat >>conftest.
$ac_ext <<_ACEOF
30678 /* end confdefs.h. */
30679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30681 #define $ac_func innocuous_$ac_func
30683 /* System header to define __stub macros and hopefully few prototypes,
30684 which can conflict with char $ac_func (); below.
30685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30686 <limits.h> exists even on freestanding compilers. */
30689 # include <limits.h>
30691 # include <assert.h>
30696 /* Override any gcc2 internal prototype to avoid an error. */
30701 /* We use char because int might match the return type of a gcc2
30702 builtin and then its argument prototype would still apply. */
30704 /* The GNU C library defines this for functions which it implements
30705 to always fail with ENOSYS. Some functions are actually named
30706 something starting with __ and the normal name is an alias. */
30707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30710 char (*f) () = $ac_func;
30719 return f != $ac_func;
30724 rm -f conftest.
$ac_objext conftest
$ac_exeext
30725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30726 (eval $ac_link) 2>conftest.er1
30728 grep -v '^ *+' conftest.er1
>conftest.err
30730 cat conftest.err
>&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); } &&
30733 { ac_try
='test -z "$ac_c_werror_flag"
30734 || test ! -s conftest.err'
30735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30736 (eval $ac_try) 2>&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); }; } &&
30740 { ac_try
='test -s conftest$ac_exeext'
30741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30742 (eval $ac_try) 2>&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); }; }; then
30746 eval "$as_ac_var=yes"
30748 echo "$as_me: failed program was:" >&5
30749 sed 's/^/| /' conftest.
$ac_ext >&5
30751 eval "$as_ac_var=no"
30753 rm -f conftest.err conftest.
$ac_objext \
30754 conftest
$ac_exeext conftest.
$ac_ext
30756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30758 if test `eval echo '${'$as_ac_var'}'` = yes; then
30759 cat >>confdefs.h
<<_ACEOF
30760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30767 HAVE_SOME_SLEEP_FUNC
=0
30768 if test "$USE_BEOS" = 1; then
30769 cat >>confdefs.h
<<\_ACEOF
30770 #define HAVE_SLEEP 1
30773 HAVE_SOME_SLEEP_FUNC
=1
30776 if test "$USE_DARWIN" = 1; then
30777 cat >>confdefs.h
<<\_ACEOF
30778 #define HAVE_USLEEP 1
30781 HAVE_SOME_SLEEP_FUNC
=1
30784 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30787 for ac_func
in nanosleep
30789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30790 echo "$as_me:$LINENO: checking for $ac_func" >&5
30791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30792 if eval "test \"\${$as_ac_var+set}\" = set"; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 cat >conftest.
$ac_ext <<_ACEOF
30798 cat confdefs.h
>>conftest.
$ac_ext
30799 cat >>conftest.
$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30803 #define $ac_func innocuous_$ac_func
30805 /* System header to define __stub macros and hopefully few prototypes,
30806 which can conflict with char $ac_func (); below.
30807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30808 <limits.h> exists even on freestanding compilers. */
30811 # include <limits.h>
30813 # include <assert.h>
30818 /* Override any gcc2 internal prototype to avoid an error. */
30823 /* We use char because int might match the return type of a gcc2
30824 builtin and then its argument prototype would still apply. */
30826 /* The GNU C library defines this for functions which it implements
30827 to always fail with ENOSYS. Some functions are actually named
30828 something starting with __ and the normal name is an alias. */
30829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30832 char (*f) () = $ac_func;
30841 return f != $ac_func;
30846 rm -f conftest.
$ac_objext conftest
$ac_exeext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30848 (eval $ac_link) 2>conftest.er1
30850 grep -v '^ *+' conftest.er1
>conftest.err
30852 cat conftest.err
>&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try
='test -z "$ac_c_werror_flag"
30856 || test ! -s conftest.err'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; } &&
30862 { ac_try
='test -s conftest$ac_exeext'
30863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30864 (eval $ac_try) 2>&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); }; }; then
30868 eval "$as_ac_var=yes"
30870 echo "$as_me: failed program was:" >&5
30871 sed 's/^/| /' conftest.
$ac_ext >&5
30873 eval "$as_ac_var=no"
30875 rm -f conftest.err conftest.
$ac_objext \
30876 conftest
$ac_exeext conftest.
$ac_ext
30878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30880 if test `eval echo '${'$as_ac_var'}'` = yes; then
30881 cat >>confdefs.h
<<_ACEOF
30882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30884 cat >>confdefs.h
<<\_ACEOF
30885 #define HAVE_NANOSLEEP 1
30890 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30891 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30892 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30893 echo $ECHO_N "(cached) $ECHO_C" >&6
30895 ac_check_lib_save_LIBS
=$LIBS
30896 LIBS
="-lposix4 $LIBS"
30897 cat >conftest.
$ac_ext <<_ACEOF
30900 cat confdefs.h
>>conftest.
$ac_ext
30901 cat >>conftest.
$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30904 /* Override any gcc2 internal prototype to avoid an error. */
30908 /* We use char because int might match the return type of a gcc2
30909 builtin and then its argument prototype would still apply. */
30919 rm -f conftest.
$ac_objext conftest
$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try
='test -z "$ac_c_werror_flag"
30929 || test ! -s conftest.err'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; } &&
30935 { ac_try
='test -s conftest$ac_exeext'
30936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937 (eval $ac_try) 2>&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; }; then
30941 ac_cv_lib_posix4_nanosleep
=yes
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.
$ac_ext >&5
30946 ac_cv_lib_posix4_nanosleep
=no
30948 rm -f conftest.err conftest.
$ac_objext \
30949 conftest
$ac_exeext conftest.
$ac_ext
30950 LIBS
=$ac_check_lib_save_LIBS
30952 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30953 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30954 if test $ac_cv_lib_posix4_nanosleep = yes; then
30956 cat >>confdefs.h
<<\_ACEOF
30957 #define HAVE_NANOSLEEP 1
30960 POSIX4_LINK
=" -lposix4"
30965 for ac_func
in usleep
30967 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30968 echo "$as_me:$LINENO: checking for $ac_func" >&5
30969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30970 if eval "test \"\${$as_ac_var+set}\" = set"; then
30971 echo $ECHO_N "(cached) $ECHO_C" >&6
30973 cat >conftest.
$ac_ext <<_ACEOF
30976 cat confdefs.h
>>conftest.
$ac_ext
30977 cat >>conftest.
$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30981 #define $ac_func innocuous_$ac_func
30983 /* System header to define __stub macros and hopefully few prototypes,
30984 which can conflict with char $ac_func (); below.
30985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30986 <limits.h> exists even on freestanding compilers. */
30989 # include <limits.h>
30991 # include <assert.h>
30996 /* Override any gcc2 internal prototype to avoid an error. */
31001 /* We use char because int might match the return type of a gcc2
31002 builtin and then its argument prototype would still apply. */
31004 /* The GNU C library defines this for functions which it implements
31005 to always fail with ENOSYS. Some functions are actually named
31006 something starting with __ and the normal name is an alias. */
31007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31010 char (*f) () = $ac_func;
31019 return f != $ac_func;
31024 rm -f conftest.
$ac_objext conftest
$ac_exeext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31026 (eval $ac_link) 2>conftest.er1
31028 grep -v '^ *+' conftest.er1
>conftest.err
31030 cat conftest.err
>&5
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } &&
31033 { ac_try
='test -z "$ac_c_werror_flag"
31034 || test ! -s conftest.err'
31035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036 (eval $ac_try) 2>&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); }; } &&
31040 { ac_try
='test -s conftest$ac_exeext'
31041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31042 (eval $ac_try) 2>&5
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); }; }; then
31046 eval "$as_ac_var=yes"
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.
$ac_ext >&5
31051 eval "$as_ac_var=no"
31053 rm -f conftest.err conftest.
$ac_objext \
31054 conftest
$ac_exeext conftest.
$ac_ext
31056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31058 if test `eval echo '${'$as_ac_var'}'` = yes; then
31059 cat >>confdefs.h
<<_ACEOF
31060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31062 cat >>confdefs.h
<<\_ACEOF
31063 #define HAVE_USLEEP 1
31067 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31068 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31086 for ac_func
in uname gethostname
31088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31089 echo "$as_me:$LINENO: checking for $ac_func" >&5
31090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31091 if eval "test \"\${$as_ac_var+set}\" = set"; then
31092 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 cat >conftest.
$ac_ext <<_ACEOF
31097 cat confdefs.h
>>conftest.
$ac_ext
31098 cat >>conftest.
$ac_ext <<_ACEOF
31099 /* end confdefs.h. */
31100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31102 #define $ac_func innocuous_$ac_func
31104 /* System header to define __stub macros and hopefully few prototypes,
31105 which can conflict with char $ac_func (); below.
31106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31107 <limits.h> exists even on freestanding compilers. */
31110 # include <limits.h>
31112 # include <assert.h>
31117 /* Override any gcc2 internal prototype to avoid an error. */
31122 /* We use char because int might match the return type of a gcc2
31123 builtin and then its argument prototype would still apply. */
31125 /* The GNU C library defines this for functions which it implements
31126 to always fail with ENOSYS. Some functions are actually named
31127 something starting with __ and the normal name is an alias. */
31128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31131 char (*f) () = $ac_func;
31140 return f != $ac_func;
31145 rm -f conftest.
$ac_objext conftest
$ac_exeext
31146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>conftest.er1
31149 grep -v '^ *+' conftest.er1
>conftest.err
31151 cat conftest.err
>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try
='test -z "$ac_c_werror_flag"
31155 || test ! -s conftest.err'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; } &&
31161 { ac_try
='test -s conftest$ac_exeext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 eval "$as_ac_var=yes"
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.
$ac_ext >&5
31172 eval "$as_ac_var=no"
31174 rm -f conftest.err conftest.
$ac_objext \
31175 conftest
$ac_exeext conftest.
$ac_ext
31177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31179 if test `eval echo '${'$as_ac_var'}'` = yes; then
31180 cat >>confdefs.h
<<_ACEOF
31181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31191 ac_cpp
='$CXXCPP $CPPFLAGS'
31192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31198 for ac_func
in strtok_r
31200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31201 echo "$as_me:$LINENO: checking for $ac_func" >&5
31202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31203 if eval "test \"\${$as_ac_var+set}\" = set"; then
31204 echo $ECHO_N "(cached) $ECHO_C" >&6
31206 cat >conftest.
$ac_ext <<_ACEOF
31209 cat confdefs.h
>>conftest.
$ac_ext
31210 cat >>conftest.
$ac_ext <<_ACEOF
31211 /* end confdefs.h. */
31212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31214 #define $ac_func innocuous_$ac_func
31216 /* System header to define __stub macros and hopefully few prototypes,
31217 which can conflict with char $ac_func (); below.
31218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31219 <limits.h> exists even on freestanding compilers. */
31222 # include <limits.h>
31224 # include <assert.h>
31229 /* Override any gcc2 internal prototype to avoid an error. */
31234 /* We use char because int might match the return type of a gcc2
31235 builtin and then its argument prototype would still apply. */
31237 /* The GNU C library defines this for functions which it implements
31238 to always fail with ENOSYS. Some functions are actually named
31239 something starting with __ and the normal name is an alias. */
31240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31243 char (*f) () = $ac_func;
31252 return f != $ac_func;
31257 rm -f conftest.
$ac_objext conftest
$ac_exeext
31258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31259 (eval $ac_link) 2>conftest.er1
31261 grep -v '^ *+' conftest.er1
>conftest.err
31263 cat conftest.err
>&5
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); } &&
31266 { ac_try
='test -z "$ac_cxx_werror_flag"
31267 || test ! -s conftest.err'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; } &&
31273 { ac_try
='test -s conftest$ac_exeext'
31274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31275 (eval $ac_try) 2>&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); }; }; then
31279 eval "$as_ac_var=yes"
31281 echo "$as_me: failed program was:" >&5
31282 sed 's/^/| /' conftest.
$ac_ext >&5
31284 eval "$as_ac_var=no"
31286 rm -f conftest.err conftest.
$ac_objext \
31287 conftest
$ac_exeext conftest.
$ac_ext
31289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31291 if test `eval echo '${'$as_ac_var'}'` = yes; then
31292 cat >>confdefs.h
<<_ACEOF
31293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31301 ac_cpp
='$CPP $CPPFLAGS'
31302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31309 for ac_func
in inet_addr
31311 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31312 echo "$as_me:$LINENO: checking for $ac_func" >&5
31313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31314 if eval "test \"\${$as_ac_var+set}\" = set"; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31317 cat >conftest.
$ac_ext <<_ACEOF
31320 cat confdefs.h
>>conftest.
$ac_ext
31321 cat >>conftest.
$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31325 #define $ac_func innocuous_$ac_func
31327 /* System header to define __stub macros and hopefully few prototypes,
31328 which can conflict with char $ac_func (); below.
31329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31330 <limits.h> exists even on freestanding compilers. */
31333 # include <limits.h>
31335 # include <assert.h>
31340 /* Override any gcc2 internal prototype to avoid an error. */
31345 /* We use char because int might match the return type of a gcc2
31346 builtin and then its argument prototype would still apply. */
31348 /* The GNU C library defines this for functions which it implements
31349 to always fail with ENOSYS. Some functions are actually named
31350 something starting with __ and the normal name is an alias. */
31351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31354 char (*f) () = $ac_func;
31363 return f != $ac_func;
31368 rm -f conftest.
$ac_objext conftest
$ac_exeext
31369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31370 (eval $ac_link) 2>conftest.er1
31372 grep -v '^ *+' conftest.er1
>conftest.err
31374 cat conftest.err
>&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } &&
31377 { ac_try
='test -z "$ac_c_werror_flag"
31378 || test ! -s conftest.err'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; } &&
31384 { ac_try
='test -s conftest$ac_exeext'
31385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31386 (eval $ac_try) 2>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); }; }; then
31390 eval "$as_ac_var=yes"
31392 echo "$as_me: failed program was:" >&5
31393 sed 's/^/| /' conftest.
$ac_ext >&5
31395 eval "$as_ac_var=no"
31397 rm -f conftest.err conftest.
$ac_objext \
31398 conftest
$ac_exeext conftest.
$ac_ext
31400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31402 if test `eval echo '${'$as_ac_var'}'` = yes; then
31403 cat >>confdefs.h
<<_ACEOF
31404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31406 cat >>confdefs.h
<<\_ACEOF
31407 #define HAVE_INET_ADDR 1
31412 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31413 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31414 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31415 echo $ECHO_N "(cached) $ECHO_C" >&6
31417 ac_check_lib_save_LIBS
=$LIBS
31419 cat >conftest.
$ac_ext <<_ACEOF
31422 cat confdefs.h
>>conftest.
$ac_ext
31423 cat >>conftest.
$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31426 /* Override any gcc2 internal prototype to avoid an error. */
31430 /* We use char because int might match the return type of a gcc2
31431 builtin and then its argument prototype would still apply. */
31441 rm -f conftest.
$ac_objext conftest
$ac_exeext
31442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31443 (eval $ac_link) 2>conftest.er1
31445 grep -v '^ *+' conftest.er1
>conftest.err
31447 cat conftest.err
>&5
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); } &&
31450 { ac_try
='test -z "$ac_c_werror_flag"
31451 || test ! -s conftest.err'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; } &&
31457 { ac_try
='test -s conftest$ac_exeext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 ac_cv_lib_nsl_inet_addr
=yes
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.
$ac_ext >&5
31468 ac_cv_lib_nsl_inet_addr
=no
31470 rm -f conftest.err conftest.
$ac_objext \
31471 conftest
$ac_exeext conftest.
$ac_ext
31472 LIBS
=$ac_check_lib_save_LIBS
31474 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31475 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31476 if test $ac_cv_lib_nsl_inet_addr = yes; then
31480 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31481 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31482 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31483 echo $ECHO_N "(cached) $ECHO_C" >&6
31485 ac_check_lib_save_LIBS
=$LIBS
31486 LIBS
="-lresolv $LIBS"
31487 cat >conftest.
$ac_ext <<_ACEOF
31490 cat confdefs.h
>>conftest.
$ac_ext
31491 cat >>conftest.
$ac_ext <<_ACEOF
31492 /* end confdefs.h. */
31494 /* Override any gcc2 internal prototype to avoid an error. */
31498 /* We use char because int might match the return type of a gcc2
31499 builtin and then its argument prototype would still apply. */
31509 rm -f conftest.
$ac_objext conftest
$ac_exeext
31510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31511 (eval $ac_link) 2>conftest.er1
31513 grep -v '^ *+' conftest.er1
>conftest.err
31515 cat conftest.err
>&5
31516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517 (exit $ac_status); } &&
31518 { ac_try
='test -z "$ac_c_werror_flag"
31519 || test ! -s conftest.err'
31520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31521 (eval $ac_try) 2>&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); }; } &&
31525 { ac_try
='test -s conftest$ac_exeext'
31526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31527 (eval $ac_try) 2>&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); }; }; then
31531 ac_cv_lib_resolv_inet_addr
=yes
31533 echo "$as_me: failed program was:" >&5
31534 sed 's/^/| /' conftest.
$ac_ext >&5
31536 ac_cv_lib_resolv_inet_addr
=no
31538 rm -f conftest.err conftest.
$ac_objext \
31539 conftest
$ac_exeext conftest.
$ac_ext
31540 LIBS
=$ac_check_lib_save_LIBS
31542 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31543 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31544 if test $ac_cv_lib_resolv_inet_addr = yes; then
31548 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31549 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31550 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31551 echo $ECHO_N "(cached) $ECHO_C" >&6
31553 ac_check_lib_save_LIBS
=$LIBS
31554 LIBS
="-lsocket $LIBS"
31555 cat >conftest.
$ac_ext <<_ACEOF
31558 cat confdefs.h
>>conftest.
$ac_ext
31559 cat >>conftest.
$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31562 /* Override any gcc2 internal prototype to avoid an error. */
31566 /* We use char because int might match the return type of a gcc2
31567 builtin and then its argument prototype would still apply. */
31577 rm -f conftest.
$ac_objext conftest
$ac_exeext
31578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31579 (eval $ac_link) 2>conftest.er1
31581 grep -v '^ *+' conftest.er1
>conftest.err
31583 cat conftest.err
>&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } &&
31586 { ac_try
='test -z "$ac_c_werror_flag"
31587 || test ! -s conftest.err'
31588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31589 (eval $ac_try) 2>&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; } &&
31593 { ac_try
='test -s conftest$ac_exeext'
31594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31595 (eval $ac_try) 2>&5
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); }; }; then
31599 ac_cv_lib_socket_inet_addr
=yes
31601 echo "$as_me: failed program was:" >&5
31602 sed 's/^/| /' conftest.
$ac_ext >&5
31604 ac_cv_lib_socket_inet_addr
=no
31606 rm -f conftest.err conftest.
$ac_objext \
31607 conftest
$ac_exeext conftest.
$ac_ext
31608 LIBS
=$ac_check_lib_save_LIBS
31610 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31611 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31612 if test $ac_cv_lib_socket_inet_addr = yes; then
31632 for ac_func
in inet_aton
31634 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31635 echo "$as_me:$LINENO: checking for $ac_func" >&5
31636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31637 if eval "test \"\${$as_ac_var+set}\" = set"; then
31638 echo $ECHO_N "(cached) $ECHO_C" >&6
31640 cat >conftest.
$ac_ext <<_ACEOF
31643 cat confdefs.h
>>conftest.
$ac_ext
31644 cat >>conftest.
$ac_ext <<_ACEOF
31645 /* end confdefs.h. */
31646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31648 #define $ac_func innocuous_$ac_func
31650 /* System header to define __stub macros and hopefully few prototypes,
31651 which can conflict with char $ac_func (); below.
31652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31653 <limits.h> exists even on freestanding compilers. */
31656 # include <limits.h>
31658 # include <assert.h>
31663 /* Override any gcc2 internal prototype to avoid an error. */
31668 /* We use char because int might match the return type of a gcc2
31669 builtin and then its argument prototype would still apply. */
31671 /* The GNU C library defines this for functions which it implements
31672 to always fail with ENOSYS. Some functions are actually named
31673 something starting with __ and the normal name is an alias. */
31674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31677 char (*f) () = $ac_func;
31686 return f != $ac_func;
31691 rm -f conftest.
$ac_objext conftest
$ac_exeext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31693 (eval $ac_link) 2>conftest.er1
31695 grep -v '^ *+' conftest.er1
>conftest.err
31697 cat conftest.err
>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); } &&
31700 { ac_try
='test -z "$ac_c_werror_flag"
31701 || test ! -s conftest.err'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; } &&
31707 { ac_try
='test -s conftest$ac_exeext'
31708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31709 (eval $ac_try) 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; }; then
31713 eval "$as_ac_var=yes"
31715 echo "$as_me: failed program was:" >&5
31716 sed 's/^/| /' conftest.
$ac_ext >&5
31718 eval "$as_ac_var=no"
31720 rm -f conftest.err conftest.
$ac_objext \
31721 conftest
$ac_exeext conftest.
$ac_ext
31723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31725 if test `eval echo '${'$as_ac_var'}'` = yes; then
31726 cat >>confdefs.h
<<_ACEOF
31727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31729 cat >>confdefs.h
<<\_ACEOF
31730 #define HAVE_INET_ATON 1
31735 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31736 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31737 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31738 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31739 echo $ECHO_N "(cached) $ECHO_C" >&6
31741 ac_check_lib_save_LIBS
=$LIBS
31742 LIBS
="-l$INET_LINK $LIBS"
31743 cat >conftest.
$ac_ext <<_ACEOF
31746 cat confdefs.h
>>conftest.
$ac_ext
31747 cat >>conftest.
$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31750 /* Override any gcc2 internal prototype to avoid an error. */
31754 /* We use char because int might match the return type of a gcc2
31755 builtin and then its argument prototype would still apply. */
31765 rm -f conftest.
$ac_objext conftest
$ac_exeext
31766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31767 (eval $ac_link) 2>conftest.er1
31769 grep -v '^ *+' conftest.er1
>conftest.err
31771 cat conftest.err
>&5
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); } &&
31774 { ac_try
='test -z "$ac_c_werror_flag"
31775 || test ! -s conftest.err'
31776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777 (eval $ac_try) 2>&5
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); }; } &&
31781 { ac_try
='test -s conftest$ac_exeext'
31782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783 (eval $ac_try) 2>&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); }; }; then
31787 eval "$as_ac_Lib=yes"
31789 echo "$as_me: failed program was:" >&5
31790 sed 's/^/| /' conftest.
$ac_ext >&5
31792 eval "$as_ac_Lib=no"
31794 rm -f conftest.err conftest.
$ac_objext \
31795 conftest
$ac_exeext conftest.
$ac_ext
31796 LIBS
=$ac_check_lib_save_LIBS
31798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31799 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31800 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31801 cat >>confdefs.h
<<\_ACEOF
31802 #define HAVE_INET_ATON 1
31812 if test "x$INET_LINK" != "x"; then
31813 cat >>confdefs.h
<<\_ACEOF
31814 #define HAVE_INET_ADDR 1
31817 INET_LINK
=" -l$INET_LINK"
31825 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31826 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31827 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31828 echo $ECHO_N "(cached) $ECHO_C" >&6
31830 ac_check_lib_save_LIBS
=$LIBS
31832 cat >conftest.
$ac_ext <<_ACEOF
31835 cat confdefs.h
>>conftest.
$ac_ext
31836 cat >>conftest.
$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31839 /* Override any gcc2 internal prototype to avoid an error. */
31843 /* We use char because int might match the return type of a gcc2
31844 builtin and then its argument prototype would still apply. */
31854 rm -f conftest.
$ac_objext conftest
$ac_exeext
31855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31856 (eval $ac_link) 2>conftest.er1
31858 grep -v '^ *+' conftest.er1
>conftest.err
31860 cat conftest.err
>&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } &&
31863 { ac_try
='test -z "$ac_c_werror_flag"
31864 || test ! -s conftest.err'
31865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31866 (eval $ac_try) 2>&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); }; } &&
31870 { ac_try
='test -s conftest$ac_exeext'
31871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872 (eval $ac_try) 2>&5
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); }; }; then
31876 ac_cv_lib_esd_esd_close
=yes
31878 echo "$as_me: failed program was:" >&5
31879 sed 's/^/| /' conftest.
$ac_ext >&5
31881 ac_cv_lib_esd_esd_close
=no
31883 rm -f conftest.err conftest.
$ac_objext \
31884 conftest
$ac_exeext conftest.
$ac_ext
31885 LIBS
=$ac_check_lib_save_LIBS
31887 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31888 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31889 if test $ac_cv_lib_esd_esd_close = yes; then
31892 for ac_header
in esd.h
31894 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31896 echo "$as_me:$LINENO: checking for $ac_header" >&5
31897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31904 # Is the header compilable?
31905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31907 cat >conftest.
$ac_ext <<_ACEOF
31910 cat confdefs.h
>>conftest.
$ac_ext
31911 cat >>conftest.
$ac_ext <<_ACEOF
31912 /* end confdefs.h. */
31913 $ac_includes_default
31914 #include <$ac_header>
31916 rm -f conftest.
$ac_objext
31917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31918 (eval $ac_compile) 2>conftest.er1
31920 grep -v '^ *+' conftest.er1
>conftest.err
31922 cat conftest.err
>&5
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); } &&
31925 { ac_try
='test -z "$ac_c_werror_flag"
31926 || test ! -s conftest.err'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; } &&
31932 { ac_try
='test -s conftest.$ac_objext'
31933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934 (eval $ac_try) 2>&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); }; }; then
31938 ac_header_compiler
=yes
31940 echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.
$ac_ext >&5
31943 ac_header_compiler
=no
31945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31947 echo "${ECHO_T}$ac_header_compiler" >&6
31949 # Is the header present?
31950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31952 cat >conftest.
$ac_ext <<_ACEOF
31955 cat confdefs.h
>>conftest.
$ac_ext
31956 cat >>conftest.
$ac_ext <<_ACEOF
31957 /* end confdefs.h. */
31958 #include <$ac_header>
31960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31961 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31963 grep -v '^ *+' conftest.er1
>conftest.err
31965 cat conftest.err
>&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } >/dev
/null
; then
31968 if test -s conftest.err
; then
31969 ac_cpp_err
=$ac_c_preproc_warn_flag
31970 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31977 if test -z "$ac_cpp_err"; then
31978 ac_header_preproc
=yes
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.
$ac_ext >&5
31983 ac_header_preproc
=no
31985 rm -f conftest.err conftest.
$ac_ext
31986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31987 echo "${ECHO_T}$ac_header_preproc" >&6
31989 # So? What about this header?
31990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31996 ac_header_preproc
=yes
31999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32013 ## ----------------------------------------- ##
32014 ## Report this to wx-dev@lists.wxwindows.org ##
32015 ## ----------------------------------------- ##
32018 sed "s/^/$as_me: WARNING: /" >&2
32021 echo "$as_me:$LINENO: checking for $ac_header" >&5
32022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32024 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 eval "$as_ac_Header=\$ac_header_preproc"
32028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32033 cat >>confdefs.h
<<_ACEOF
32034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32037 EXTRALIBS_ESD
="-lesd"
32048 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32049 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32050 cat >conftest.
$ac_ext <<_ACEOF
32053 cat confdefs.h
>>conftest.
$ac_ext
32054 cat >>conftest.
$ac_ext <<_ACEOF
32055 /* end confdefs.h. */
32057 #include <linux/cdrom.h>
32060 #include <sys/cdio.h>
32066 struct cdrom_tocentry entry, old_entry;
32071 rm -f conftest.
$ac_objext
32072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32073 (eval $ac_compile) 2>conftest.er1
32075 grep -v '^ *+' conftest.er1
>conftest.err
32077 cat conftest.err
>&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); } &&
32080 { ac_try
='test -z "$ac_c_werror_flag"
32081 || test ! -s conftest.err'
32082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32083 (eval $ac_try) 2>&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); }; } &&
32087 { ac_try
='test -s conftest.$ac_objext'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; }; then
32093 echo "$as_me:$LINENO: result: yes" >&5
32094 echo "${ECHO_T}yes" >&6
32095 cat >>confdefs.h
<<\_ACEOF
32096 #define HAVE_KNOWN_CDROM_INTERFACE 1
32100 echo "$as_me: failed program was:" >&5
32101 sed 's/^/| /' conftest.
$ac_ext >&5
32103 echo "$as_me:$LINENO: result: no" >&5
32104 echo "${ECHO_T}no" >&6
32106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32109 cat >confcache
<<\_ACEOF
32110 # This file is a shell script that caches the results of configure
32111 # tests run on this system so they can be shared between configure
32112 # scripts and configure runs, see configure's option --config-cache.
32113 # It is not useful on other systems. If it contains results you don't
32114 # want to keep, you may remove or edit it.
32116 # config.status only pays attention to the cache file if you give it
32117 # the --recheck option to rerun configure.
32119 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32120 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32121 # following values.
32125 # The following way of writing the cache mishandles newlines in values,
32126 # but we know of no workaround that is simple, portable, and efficient.
32127 # So, don't put newlines in cache variables' values.
32128 # Ultrix sh set writes to stderr and can't be redirected directly,
32129 # and sets the high bit in the cache file unless we assign to the vars.
32132 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32134 # `set' does not quote correctly, so add quotes (double-quote
32135 # substitution turns \\\\ into \\, and sed turns \\ into \).
32138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32141 # `set' quotes correctly as required by POSIX, so do not add quotes.
32143 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32150 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32152 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32154 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32155 if test -w $cache_file; then
32156 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32157 cat confcache
>$cache_file
32159 echo "not updating unwritable cache $cache_file"
32166 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32172 if test "$wxUSE_THREADS" = "yes" ; then
32173 if test "$USE_BEOS" = 1; then
32174 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32175 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32180 if test "$wxUSE_THREADS" = "yes" ; then
32183 THREAD_OPTS
="-pthread"
32185 *-*-solaris2* | *-*-sunos4* )
32186 if test "x$GCC" = "xyes"; then
32187 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32189 THREAD_OPTS
="-mt $THREAD_OPTS"
32193 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32195 *-*-darwin* | *-*-cygwin* )
32199 THREAD_OPTS
="pthreads"
32202 if test "x$GCC" != "xyes"; then
32208 if test "x$GCC" = "xyes"; then
32214 if test "x$GCC" != "xyes"; then
32215 THREAD_OPTS
="-Ethread"
32220 THREAD_OPTS
="$THREAD_OPTS pthread none"
32223 for flag
in $THREAD_OPTS; do
32226 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32227 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32231 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32232 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32233 THREADS_CFLAGS
="$flag"
32237 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32238 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32239 THREADS_LINK
="-l$flag"
32244 save_CFLAGS
="$CFLAGS"
32245 LIBS
="$THREADS_LINK $LIBS"
32246 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32248 cat >conftest.
$ac_ext <<_ACEOF
32251 cat confdefs.h
>>conftest.
$ac_ext
32252 cat >>conftest.
$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254 #include <pthread.h>
32258 pthread_create(0,0,0,0);
32263 rm -f conftest.
$ac_objext conftest
$ac_exeext
32264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32265 (eval $ac_link) 2>conftest.er1
32267 grep -v '^ *+' conftest.er1
>conftest.err
32269 cat conftest.err
>&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } &&
32272 { ac_try
='test -z "$ac_c_werror_flag"
32273 || test ! -s conftest.err'
32274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32275 (eval $ac_try) 2>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); }; } &&
32279 { ac_try
='test -s conftest$ac_exeext'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; }; then
32287 echo "$as_me: failed program was:" >&5
32288 sed 's/^/| /' conftest.
$ac_ext >&5
32291 rm -f conftest.err conftest.
$ac_objext \
32292 conftest
$ac_exeext conftest.
$ac_ext
32295 CFLAGS
="$save_CFLAGS"
32297 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32298 echo "${ECHO_T}$THREADS_OK" >&6
32299 if test "x$THREADS_OK" = "xyes"; then
32307 if test "x$THREADS_OK" != "xyes"; then
32309 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32310 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32312 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32313 LIBS
="$THREADS_LINK $LIBS"
32315 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32316 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32320 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32321 flag
="-D_THREAD_SAFE"
32324 flag
="-D_THREAD_SAFE"
32327 flag
="-D_REENTRANT"
32328 if test "x$GCC" != "xyes"; then
32329 flag
="$flag -D_RWSTD_MULTI_THREAD"
32334 *solaris
* | alpha
*-osf*)
32335 flag
="-D_REENTRANT"
32338 echo "$as_me:$LINENO: result: ${flag}" >&5
32339 echo "${ECHO_T}${flag}" >&6
32340 if test "x$flag" != xno
; then
32341 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32344 if test "x$THREADS_CFLAGS" != "x"; then
32345 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32346 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32351 if test "$wxUSE_THREADS" = "yes" ; then
32353 for ac_func
in thr_setconcurrency
32355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32356 echo "$as_me:$LINENO: checking for $ac_func" >&5
32357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32358 if eval "test \"\${$as_ac_var+set}\" = set"; then
32359 echo $ECHO_N "(cached) $ECHO_C" >&6
32361 cat >conftest.
$ac_ext <<_ACEOF
32364 cat confdefs.h
>>conftest.
$ac_ext
32365 cat >>conftest.
$ac_ext <<_ACEOF
32366 /* end confdefs.h. */
32367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32369 #define $ac_func innocuous_$ac_func
32371 /* System header to define __stub macros and hopefully few prototypes,
32372 which can conflict with char $ac_func (); below.
32373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32374 <limits.h> exists even on freestanding compilers. */
32377 # include <limits.h>
32379 # include <assert.h>
32384 /* Override any gcc2 internal prototype to avoid an error. */
32389 /* We use char because int might match the return type of a gcc2
32390 builtin and then its argument prototype would still apply. */
32392 /* The GNU C library defines this for functions which it implements
32393 to always fail with ENOSYS. Some functions are actually named
32394 something starting with __ and the normal name is an alias. */
32395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32398 char (*f) () = $ac_func;
32407 return f != $ac_func;
32412 rm -f conftest.
$ac_objext conftest
$ac_exeext
32413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32414 (eval $ac_link) 2>conftest.er1
32416 grep -v '^ *+' conftest.er1
>conftest.err
32418 cat conftest.err
>&5
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); } &&
32421 { ac_try
='test -z "$ac_c_werror_flag"
32422 || test ! -s conftest.err'
32423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424 (eval $ac_try) 2>&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); }; } &&
32428 { ac_try
='test -s conftest$ac_exeext'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; }; then
32434 eval "$as_ac_var=yes"
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.
$ac_ext >&5
32439 eval "$as_ac_var=no"
32441 rm -f conftest.err conftest.
$ac_objext \
32442 conftest
$ac_exeext conftest.
$ac_ext
32444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32446 if test `eval echo '${'$as_ac_var'}'` = yes; then
32447 cat >>confdefs.h
<<_ACEOF
32448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32456 for ac_header
in sched.h
32458 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32460 echo "$as_me:$LINENO: checking for $ac_header" >&5
32461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32468 # Is the header compilable?
32469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32471 cat >conftest.
$ac_ext <<_ACEOF
32474 cat confdefs.h
>>conftest.
$ac_ext
32475 cat >>conftest.
$ac_ext <<_ACEOF
32476 /* end confdefs.h. */
32477 $ac_includes_default
32478 #include <$ac_header>
32480 rm -f conftest.
$ac_objext
32481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32482 (eval $ac_compile) 2>conftest.er1
32484 grep -v '^ *+' conftest.er1
>conftest.err
32486 cat conftest.err
>&5
32487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32488 (exit $ac_status); } &&
32489 { ac_try
='test -z "$ac_c_werror_flag"
32490 || test ! -s conftest.err'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; } &&
32496 { ac_try
='test -s conftest.$ac_objext'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; }; then
32502 ac_header_compiler
=yes
32504 echo "$as_me: failed program was:" >&5
32505 sed 's/^/| /' conftest.
$ac_ext >&5
32507 ac_header_compiler
=no
32509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32511 echo "${ECHO_T}$ac_header_compiler" >&6
32513 # Is the header present?
32514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32516 cat >conftest.
$ac_ext <<_ACEOF
32519 cat confdefs.h
>>conftest.
$ac_ext
32520 cat >>conftest.
$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 #include <$ac_header>
32524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32527 grep -v '^ *+' conftest.er1
>conftest.err
32529 cat conftest.err
>&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } >/dev
/null
; then
32532 if test -s conftest.err
; then
32533 ac_cpp_err
=$ac_c_preproc_warn_flag
32534 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32541 if test -z "$ac_cpp_err"; then
32542 ac_header_preproc
=yes
32544 echo "$as_me: failed program was:" >&5
32545 sed 's/^/| /' conftest.
$ac_ext >&5
32547 ac_header_preproc
=no
32549 rm -f conftest.err conftest.
$ac_ext
32550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32551 echo "${ECHO_T}$ac_header_preproc" >&6
32553 # So? What about this header?
32554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32560 ac_header_preproc
=yes
32563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32577 ## ----------------------------------------- ##
32578 ## Report this to wx-dev@lists.wxwindows.org ##
32579 ## ----------------------------------------- ##
32582 sed "s/^/$as_me: WARNING: /" >&2
32585 echo "$as_me:$LINENO: checking for $ac_header" >&5
32586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32588 echo $ECHO_N "(cached) $ECHO_C" >&6
32590 eval "$as_ac_Header=\$ac_header_preproc"
32592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32597 cat >>confdefs.h
<<_ACEOF
32598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32605 if test "$ac_cv_header_sched_h" = "yes"; then
32606 echo "$as_me:$LINENO: checking for sched_yield" >&5
32607 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32608 if test "${ac_cv_func_sched_yield+set}" = set; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32611 cat >conftest.
$ac_ext <<_ACEOF
32614 cat confdefs.h
>>conftest.
$ac_ext
32615 cat >>conftest.
$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32617 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32619 #define sched_yield innocuous_sched_yield
32621 /* System header to define __stub macros and hopefully few prototypes,
32622 which can conflict with char sched_yield (); below.
32623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32624 <limits.h> exists even on freestanding compilers. */
32627 # include <limits.h>
32629 # include <assert.h>
32634 /* Override any gcc2 internal prototype to avoid an error. */
32639 /* We use char because int might match the return type of a gcc2
32640 builtin and then its argument prototype would still apply. */
32641 char sched_yield ();
32642 /* The GNU C library defines this for functions which it implements
32643 to always fail with ENOSYS. Some functions are actually named
32644 something starting with __ and the normal name is an alias. */
32645 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32648 char (*f) () = sched_yield;
32657 return f != sched_yield;
32662 rm -f conftest.
$ac_objext conftest
$ac_exeext
32663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32664 (eval $ac_link) 2>conftest.er1
32666 grep -v '^ *+' conftest.er1
>conftest.err
32668 cat conftest.err
>&5
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); } &&
32671 { ac_try
='test -z "$ac_c_werror_flag"
32672 || test ! -s conftest.err'
32673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32674 (eval $ac_try) 2>&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); }; } &&
32678 { ac_try
='test -s conftest$ac_exeext'
32679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32680 (eval $ac_try) 2>&5
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); }; }; then
32684 ac_cv_func_sched_yield
=yes
32686 echo "$as_me: failed program was:" >&5
32687 sed 's/^/| /' conftest.
$ac_ext >&5
32689 ac_cv_func_sched_yield
=no
32691 rm -f conftest.err conftest.
$ac_objext \
32692 conftest
$ac_exeext conftest.
$ac_ext
32694 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32695 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32696 if test $ac_cv_func_sched_yield = yes; then
32697 cat >>confdefs.h
<<\_ACEOF
32698 #define HAVE_SCHED_YIELD 1
32703 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32704 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32705 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32706 echo $ECHO_N "(cached) $ECHO_C" >&6
32708 ac_check_lib_save_LIBS
=$LIBS
32709 LIBS
="-lposix4 $LIBS"
32710 cat >conftest.
$ac_ext <<_ACEOF
32713 cat confdefs.h
>>conftest.
$ac_ext
32714 cat >>conftest.
$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32717 /* Override any gcc2 internal prototype to avoid an error. */
32721 /* We use char because int might match the return type of a gcc2
32722 builtin and then its argument prototype would still apply. */
32723 char sched_yield ();
32732 rm -f conftest.
$ac_objext conftest
$ac_exeext
32733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32734 (eval $ac_link) 2>conftest.er1
32736 grep -v '^ *+' conftest.er1
>conftest.err
32738 cat conftest.err
>&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); } &&
32741 { ac_try
='test -z "$ac_c_werror_flag"
32742 || test ! -s conftest.err'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; } &&
32748 { ac_try
='test -s conftest$ac_exeext'
32749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32750 (eval $ac_try) 2>&5
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); }; }; then
32754 ac_cv_lib_posix4_sched_yield
=yes
32756 echo "$as_me: failed program was:" >&5
32757 sed 's/^/| /' conftest.
$ac_ext >&5
32759 ac_cv_lib_posix4_sched_yield
=no
32761 rm -f conftest.err conftest.
$ac_objext \
32762 conftest
$ac_exeext conftest.
$ac_ext
32763 LIBS
=$ac_check_lib_save_LIBS
32765 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32766 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32767 if test $ac_cv_lib_posix4_sched_yield = yes; then
32768 cat >>confdefs.h
<<\_ACEOF
32769 #define HAVE_SCHED_YIELD 1
32771 POSIX4_LINK
=" -lposix4"
32773 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32774 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32785 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32786 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32787 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32788 echo $ECHO_N "(cached) $ECHO_C" >&6
32790 cat >conftest.
$ac_ext <<_ACEOF
32793 cat confdefs.h
>>conftest.
$ac_ext
32794 cat >>conftest.
$ac_ext <<_ACEOF
32795 /* end confdefs.h. */
32796 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32798 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32800 /* System header to define __stub macros and hopefully few prototypes,
32801 which can conflict with char pthread_attr_getschedpolicy (); below.
32802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32803 <limits.h> exists even on freestanding compilers. */
32806 # include <limits.h>
32808 # include <assert.h>
32811 #undef pthread_attr_getschedpolicy
32813 /* Override any gcc2 internal prototype to avoid an error. */
32818 /* We use char because int might match the return type of a gcc2
32819 builtin and then its argument prototype would still apply. */
32820 char pthread_attr_getschedpolicy ();
32821 /* The GNU C library defines this for functions which it implements
32822 to always fail with ENOSYS. Some functions are actually named
32823 something starting with __ and the normal name is an alias. */
32824 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32827 char (*f) () = pthread_attr_getschedpolicy;
32836 return f != pthread_attr_getschedpolicy;
32841 rm -f conftest.
$ac_objext conftest
$ac_exeext
32842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32843 (eval $ac_link) 2>conftest.er1
32845 grep -v '^ *+' conftest.er1
>conftest.err
32847 cat conftest.err
>&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } &&
32850 { ac_try
='test -z "$ac_c_werror_flag"
32851 || test ! -s conftest.err'
32852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32853 (eval $ac_try) 2>&5
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); }; } &&
32857 { ac_try
='test -s conftest$ac_exeext'
32858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859 (eval $ac_try) 2>&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); }; }; then
32863 ac_cv_func_pthread_attr_getschedpolicy
=yes
32865 echo "$as_me: failed program was:" >&5
32866 sed 's/^/| /' conftest.
$ac_ext >&5
32868 ac_cv_func_pthread_attr_getschedpolicy
=no
32870 rm -f conftest.err conftest.
$ac_objext \
32871 conftest
$ac_exeext conftest.
$ac_ext
32873 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32874 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32875 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32876 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32877 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32878 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32879 echo $ECHO_N "(cached) $ECHO_C" >&6
32881 cat >conftest.
$ac_ext <<_ACEOF
32884 cat confdefs.h
>>conftest.
$ac_ext
32885 cat >>conftest.
$ac_ext <<_ACEOF
32886 /* end confdefs.h. */
32887 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32889 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32891 /* System header to define __stub macros and hopefully few prototypes,
32892 which can conflict with char pthread_attr_setschedparam (); below.
32893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32894 <limits.h> exists even on freestanding compilers. */
32897 # include <limits.h>
32899 # include <assert.h>
32902 #undef pthread_attr_setschedparam
32904 /* Override any gcc2 internal prototype to avoid an error. */
32909 /* We use char because int might match the return type of a gcc2
32910 builtin and then its argument prototype would still apply. */
32911 char pthread_attr_setschedparam ();
32912 /* The GNU C library defines this for functions which it implements
32913 to always fail with ENOSYS. Some functions are actually named
32914 something starting with __ and the normal name is an alias. */
32915 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32918 char (*f) () = pthread_attr_setschedparam;
32927 return f != pthread_attr_setschedparam;
32932 rm -f conftest.
$ac_objext conftest
$ac_exeext
32933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32934 (eval $ac_link) 2>conftest.er1
32936 grep -v '^ *+' conftest.er1
>conftest.err
32938 cat conftest.err
>&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try
='test -z "$ac_c_werror_flag"
32942 || test ! -s conftest.err'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; } &&
32948 { ac_try
='test -s conftest$ac_exeext'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; }; then
32954 ac_cv_func_pthread_attr_setschedparam
=yes
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.
$ac_ext >&5
32959 ac_cv_func_pthread_attr_setschedparam
=no
32961 rm -f conftest.err conftest.
$ac_objext \
32962 conftest
$ac_exeext conftest.
$ac_ext
32964 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32965 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32966 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32967 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32968 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32969 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32970 echo $ECHO_N "(cached) $ECHO_C" >&6
32972 cat >conftest.
$ac_ext <<_ACEOF
32975 cat confdefs.h
>>conftest.
$ac_ext
32976 cat >>conftest.
$ac_ext <<_ACEOF
32977 /* end confdefs.h. */
32978 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32980 #define sched_get_priority_max innocuous_sched_get_priority_max
32982 /* System header to define __stub macros and hopefully few prototypes,
32983 which can conflict with char sched_get_priority_max (); below.
32984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32985 <limits.h> exists even on freestanding compilers. */
32988 # include <limits.h>
32990 # include <assert.h>
32993 #undef sched_get_priority_max
32995 /* Override any gcc2 internal prototype to avoid an error. */
33000 /* We use char because int might match the return type of a gcc2
33001 builtin and then its argument prototype would still apply. */
33002 char sched_get_priority_max ();
33003 /* The GNU C library defines this for functions which it implements
33004 to always fail with ENOSYS. Some functions are actually named
33005 something starting with __ and the normal name is an alias. */
33006 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33009 char (*f) () = sched_get_priority_max;
33018 return f != sched_get_priority_max;
33023 rm -f conftest.
$ac_objext conftest
$ac_exeext
33024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33025 (eval $ac_link) 2>conftest.er1
33027 grep -v '^ *+' conftest.er1
>conftest.err
33029 cat conftest.err
>&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } &&
33032 { ac_try
='test -z "$ac_c_werror_flag"
33033 || test ! -s conftest.err'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; } &&
33039 { ac_try
='test -s conftest$ac_exeext'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; }; then
33045 ac_cv_func_sched_get_priority_max
=yes
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.
$ac_ext >&5
33050 ac_cv_func_sched_get_priority_max
=no
33052 rm -f conftest.err conftest.
$ac_objext \
33053 conftest
$ac_exeext conftest.
$ac_ext
33055 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33056 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33057 if test $ac_cv_func_sched_get_priority_max = yes; then
33060 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33061 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33062 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33063 echo $ECHO_N "(cached) $ECHO_C" >&6
33065 ac_check_lib_save_LIBS
=$LIBS
33066 LIBS
="-lposix4 $LIBS"
33067 cat >conftest.
$ac_ext <<_ACEOF
33070 cat confdefs.h
>>conftest.
$ac_ext
33071 cat >>conftest.
$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33074 /* Override any gcc2 internal prototype to avoid an error. */
33078 /* We use char because int might match the return type of a gcc2
33079 builtin and then its argument prototype would still apply. */
33080 char sched_get_priority_max ();
33084 sched_get_priority_max ();
33089 rm -f conftest.
$ac_objext conftest
$ac_exeext
33090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33091 (eval $ac_link) 2>conftest.er1
33093 grep -v '^ *+' conftest.er1
>conftest.err
33095 cat conftest.err
>&5
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); } &&
33098 { ac_try
='test -z "$ac_c_werror_flag"
33099 || test ! -s conftest.err'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; } &&
33105 { ac_try
='test -s conftest$ac_exeext'
33106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33107 (eval $ac_try) 2>&5
33109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33110 (exit $ac_status); }; }; then
33111 ac_cv_lib_posix4_sched_get_priority_max
=yes
33113 echo "$as_me: failed program was:" >&5
33114 sed 's/^/| /' conftest.
$ac_ext >&5
33116 ac_cv_lib_posix4_sched_get_priority_max
=no
33118 rm -f conftest.err conftest.
$ac_objext \
33119 conftest
$ac_exeext conftest.
$ac_ext
33120 LIBS
=$ac_check_lib_save_LIBS
33122 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33123 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33124 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33127 POSIX4_LINK
=" -lposix4"
33141 if test "$HAVE_PRIOR_FUNCS" = 1; then
33142 cat >>confdefs.h
<<\_ACEOF
33143 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33147 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33148 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33151 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33152 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33153 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33154 echo $ECHO_N "(cached) $ECHO_C" >&6
33156 cat >conftest.
$ac_ext <<_ACEOF
33159 cat confdefs.h
>>conftest.
$ac_ext
33160 cat >>conftest.
$ac_ext <<_ACEOF
33161 /* end confdefs.h. */
33162 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33164 #define pthread_cancel innocuous_pthread_cancel
33166 /* System header to define __stub macros and hopefully few prototypes,
33167 which can conflict with char pthread_cancel (); below.
33168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33169 <limits.h> exists even on freestanding compilers. */
33172 # include <limits.h>
33174 # include <assert.h>
33177 #undef pthread_cancel
33179 /* Override any gcc2 internal prototype to avoid an error. */
33184 /* We use char because int might match the return type of a gcc2
33185 builtin and then its argument prototype would still apply. */
33186 char pthread_cancel ();
33187 /* The GNU C library defines this for functions which it implements
33188 to always fail with ENOSYS. Some functions are actually named
33189 something starting with __ and the normal name is an alias. */
33190 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33193 char (*f) () = pthread_cancel;
33202 return f != pthread_cancel;
33207 rm -f conftest.
$ac_objext conftest
$ac_exeext
33208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33209 (eval $ac_link) 2>conftest.er1
33211 grep -v '^ *+' conftest.er1
>conftest.err
33213 cat conftest.err
>&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } &&
33216 { ac_try
='test -z "$ac_c_werror_flag"
33217 || test ! -s conftest.err'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; } &&
33223 { ac_try
='test -s conftest$ac_exeext'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; }; then
33229 ac_cv_func_pthread_cancel
=yes
33231 echo "$as_me: failed program was:" >&5
33232 sed 's/^/| /' conftest.
$ac_ext >&5
33234 ac_cv_func_pthread_cancel
=no
33236 rm -f conftest.err conftest.
$ac_objext \
33237 conftest
$ac_exeext conftest.
$ac_ext
33239 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33240 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33241 if test $ac_cv_func_pthread_cancel = yes; then
33242 cat >>confdefs.h
<<\_ACEOF
33243 #define HAVE_PTHREAD_CANCEL 1
33247 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33248 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33254 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33255 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33256 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33260 cat >conftest.
$ac_ext <<_ACEOF
33263 cat confdefs.h
>>conftest.
$ac_ext
33264 cat >>conftest.
$ac_ext <<_ACEOF
33265 /* end confdefs.h. */
33266 #include <pthread.h>
33271 pthread_mutexattr_t attr;
33272 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33278 rm -f conftest.
$ac_objext
33279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33280 (eval $ac_compile) 2>conftest.er1
33282 grep -v '^ *+' conftest.er1
>conftest.err
33284 cat conftest.err
>&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); } &&
33287 { ac_try
='test -z "$ac_c_werror_flag"
33288 || test ! -s conftest.err'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; } &&
33294 { ac_try
='test -s conftest.$ac_objext'
33295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33296 (eval $ac_try) 2>&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; }; then
33301 wx_cv_type_pthread_mutexattr_t
=yes
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.
$ac_ext >&5
33308 wx_cv_type_pthread_mutexattr_t
=no
33312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33315 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33316 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33318 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33319 cat >>confdefs.h
<<\_ACEOF
33320 #define HAVE_PTHREAD_MUTEXATTR_T 1
33324 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33325 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33326 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 cat >conftest.
$ac_ext <<_ACEOF
33333 cat confdefs.h
>>conftest.
$ac_ext
33334 cat >>conftest.
$ac_ext <<_ACEOF
33335 /* end confdefs.h. */
33336 #include <pthread.h>
33341 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33347 rm -f conftest.
$ac_objext
33348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33349 (eval $ac_compile) 2>conftest.er1
33351 grep -v '^ *+' conftest.er1
>conftest.err
33353 cat conftest.err
>&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } &&
33356 { ac_try
='test -z "$ac_c_werror_flag"
33357 || test ! -s conftest.err'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; } &&
33363 { ac_try
='test -s conftest.$ac_objext'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; }; then
33370 wx_cv_type_pthread_rec_mutex_init
=yes
33373 echo "$as_me: failed program was:" >&5
33374 sed 's/^/| /' conftest.
$ac_ext >&5
33377 wx_cv_type_pthread_rec_mutex_init
=no
33381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33384 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33385 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33386 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33387 cat >>confdefs.h
<<\_ACEOF
33388 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33392 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33393 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33399 if test "$wxUSE_THREADS" = "yes" ; then
33402 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33403 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33404 if test "${wx_cv_cflags_mthread+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33408 CFLAGS_OLD
="$CFLAGS"
33409 CFLAGS
="$CFLAGS -mthreads"
33410 cat >conftest.
$ac_ext <<_ACEOF
33413 cat confdefs.h
>>conftest.
$ac_ext
33414 cat >>conftest.
$ac_ext <<_ACEOF
33415 /* end confdefs.h. */
33425 rm -f conftest.
$ac_objext
33426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33427 (eval $ac_compile) 2>conftest.er1
33429 grep -v '^ *+' conftest.er1
>conftest.err
33431 cat conftest.err
>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); } &&
33434 { ac_try
='test -z "$ac_c_werror_flag"
33435 || test ! -s conftest.err'
33436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33437 (eval $ac_try) 2>&5
33439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440 (exit $ac_status); }; } &&
33441 { ac_try
='test -s conftest.$ac_objext'
33442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33443 (eval $ac_try) 2>&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); }; }; then
33447 wx_cv_cflags_mthread
=yes
33449 echo "$as_me: failed program was:" >&5
33450 sed 's/^/| /' conftest.
$ac_ext >&5
33452 wx_cv_cflags_mthread
=no
33455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33459 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33460 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33462 if test "$wx_cv_cflags_mthread" = "yes"; then
33463 CXXFLAGS
="$CXXFLAGS -mthreads"
33464 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33465 LDFLAGS
="$LDFLAGS -mthreads"
33467 CFLAGS
="$CFLAGS_OLD"
33471 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33472 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33473 LDFLAGS
="$LDFLAGS -Zmt"
33479 if test "$wxUSE_THREADS" = "yes"; then
33480 cat >>confdefs.h
<<\_ACEOF
33481 #define wxUSE_THREADS 1
33485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33487 if test "$ac_cv_func_strtok_r" = "yes"; then
33488 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33489 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33490 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33491 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33492 echo "$as_me:$LINENO: result: yes" >&5
33493 echo "${ECHO_T}yes" >&6
33495 echo "$as_me:$LINENO: result: no" >&5
33496 echo "${ECHO_T}no" >&6
33501 if test "$WXGTK20" = 1 ; then
33502 cat >>confdefs.h
<<_ACEOF
33503 #define __WXGTK20__ $WXGTK20
33509 if test "$WXGTK12" = 1 ; then
33510 cat >>confdefs.h
<<_ACEOF
33511 #define __WXGTK12__ $WXGTK12
33516 if test "$WXGTK127" = 1 ; then
33517 cat >>confdefs.h
<<_ACEOF
33518 #define __WXGTK127__ $WXGTK127
33523 if test "$WXGPE" = 1 ; then
33524 cat >>confdefs.h
<<_ACEOF
33525 #define __WXGPE__ $WXGPE
33532 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33537 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33538 wxUSE_DEBUG_INFO
=yes
33542 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33543 cat >>confdefs.h
<<\_ACEOF
33547 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33549 if test "$wxUSE_GTK" = 1 ; then
33550 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33554 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33555 cat >>confdefs.h
<<\_ACEOF
33556 #define wxUSE_MEMORY_TRACING 1
33559 cat >>confdefs.h
<<\_ACEOF
33560 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33563 cat >>confdefs.h
<<\_ACEOF
33564 #define wxUSE_DEBUG_NEW_ALWAYS 1
33567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33570 if test "$wxUSE_DMALLOC" = "yes" ; then
33571 DMALLOC_LIBS
="-ldmalloc"
33575 if test "$wxUSE_PROFILE" = "yes" ; then
33580 CODE_GEN_FLAGS_CXX
=
33581 if test "$GCC" = "yes" ; then
33582 if test "$wxUSE_NO_RTTI" = "yes" ; then
33583 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33585 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33586 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33588 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33589 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33594 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33597 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33603 if test "$wxUSE_OPTIMISE" = "no" ; then
33604 if test "$GCC" = yes ; then
33608 if test "$GCC" = yes ; then
33612 i586
-*-*|i686
-*-* )
33613 OPTIMISE
="${OPTIMISE} "
33622 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33623 cat >>confdefs.h
<<\_ACEOF
33624 #define WXWIN_COMPATIBILITY_2_2 1
33628 WXWIN_COMPATIBILITY_2_4
="yes"
33631 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33632 cat >>confdefs.h
<<\_ACEOF
33633 #define WXWIN_COMPATIBILITY_2_4 1
33639 if test "$wxUSE_GUI" = "yes"; then
33640 cat >>confdefs.h
<<\_ACEOF
33641 #define wxUSE_GUI 1
33646 cat >>confdefs.h
<<\_ACEOF
33647 #define wxUSE_NOGUI 1
33653 if test "$wxUSE_UNIX" = "yes"; then
33654 cat >>confdefs.h
<<\_ACEOF
33655 #define wxUSE_UNIX 1
33661 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33665 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33666 if test "$USE_DARWIN" = 1; then
33670 for ac_func
in dlopen
33672 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33673 echo "$as_me:$LINENO: checking for $ac_func" >&5
33674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33675 if eval "test \"\${$as_ac_var+set}\" = set"; then
33676 echo $ECHO_N "(cached) $ECHO_C" >&6
33678 cat >conftest.
$ac_ext <<_ACEOF
33681 cat confdefs.h
>>conftest.
$ac_ext
33682 cat >>conftest.
$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33686 #define $ac_func innocuous_$ac_func
33688 /* System header to define __stub macros and hopefully few prototypes,
33689 which can conflict with char $ac_func (); below.
33690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33691 <limits.h> exists even on freestanding compilers. */
33694 # include <limits.h>
33696 # include <assert.h>
33701 /* Override any gcc2 internal prototype to avoid an error. */
33706 /* We use char because int might match the return type of a gcc2
33707 builtin and then its argument prototype would still apply. */
33709 /* The GNU C library defines this for functions which it implements
33710 to always fail with ENOSYS. Some functions are actually named
33711 something starting with __ and the normal name is an alias. */
33712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33715 char (*f) () = $ac_func;
33724 return f != $ac_func;
33729 rm -f conftest.
$ac_objext conftest
$ac_exeext
33730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33731 (eval $ac_link) 2>conftest.er1
33733 grep -v '^ *+' conftest.er1
>conftest.err
33735 cat conftest.err
>&5
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); } &&
33738 { ac_try
='test -z "$ac_c_werror_flag"
33739 || test ! -s conftest.err'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; } &&
33745 { ac_try
='test -s conftest$ac_exeext'
33746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33747 (eval $ac_try) 2>&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); }; }; then
33751 eval "$as_ac_var=yes"
33753 echo "$as_me: failed program was:" >&5
33754 sed 's/^/| /' conftest.
$ac_ext >&5
33756 eval "$as_ac_var=no"
33758 rm -f conftest.err conftest.
$ac_objext \
33759 conftest
$ac_exeext conftest.
$ac_ext
33761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33763 if test `eval echo '${'$as_ac_var'}'` = yes; then
33764 cat >>confdefs.h
<<_ACEOF
33765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33768 cat >>confdefs.h
<<\_ACEOF
33769 #define HAVE_DLOPEN 1
33776 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33777 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33778 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33779 echo $ECHO_N "(cached) $ECHO_C" >&6
33781 ac_check_lib_save_LIBS
=$LIBS
33783 cat >conftest.
$ac_ext <<_ACEOF
33786 cat confdefs.h
>>conftest.
$ac_ext
33787 cat >>conftest.
$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33790 /* Override any gcc2 internal prototype to avoid an error. */
33794 /* We use char because int might match the return type of a gcc2
33795 builtin and then its argument prototype would still apply. */
33805 rm -f conftest.
$ac_objext conftest
$ac_exeext
33806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33807 (eval $ac_link) 2>conftest.er1
33809 grep -v '^ *+' conftest.er1
>conftest.err
33811 cat conftest.err
>&5
33812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33813 (exit $ac_status); } &&
33814 { ac_try
='test -z "$ac_c_werror_flag"
33815 || test ! -s conftest.err'
33816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33817 (eval $ac_try) 2>&5
33819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820 (exit $ac_status); }; } &&
33821 { ac_try
='test -s conftest$ac_exeext'
33822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33823 (eval $ac_try) 2>&5
33825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33826 (exit $ac_status); }; }; then
33827 ac_cv_lib_dl_dlopen
=yes
33829 echo "$as_me: failed program was:" >&5
33830 sed 's/^/| /' conftest.
$ac_ext >&5
33832 ac_cv_lib_dl_dlopen
=no
33834 rm -f conftest.err conftest.
$ac_objext \
33835 conftest
$ac_exeext conftest.
$ac_ext
33836 LIBS
=$ac_check_lib_save_LIBS
33838 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33839 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33840 if test $ac_cv_lib_dl_dlopen = yes; then
33842 cat >>confdefs.h
<<\_ACEOF
33843 #define HAVE_DLOPEN 1
33847 DL_LINK
=" -ldl$DL_LINK"
33852 for ac_func
in shl_load
33854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33855 echo "$as_me:$LINENO: checking for $ac_func" >&5
33856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33857 if eval "test \"\${$as_ac_var+set}\" = set"; then
33858 echo $ECHO_N "(cached) $ECHO_C" >&6
33860 cat >conftest.
$ac_ext <<_ACEOF
33863 cat confdefs.h
>>conftest.
$ac_ext
33864 cat >>conftest.
$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33868 #define $ac_func innocuous_$ac_func
33870 /* System header to define __stub macros and hopefully few prototypes,
33871 which can conflict with char $ac_func (); below.
33872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33873 <limits.h> exists even on freestanding compilers. */
33876 # include <limits.h>
33878 # include <assert.h>
33883 /* Override any gcc2 internal prototype to avoid an error. */
33888 /* We use char because int might match the return type of a gcc2
33889 builtin and then its argument prototype would still apply. */
33891 /* The GNU C library defines this for functions which it implements
33892 to always fail with ENOSYS. Some functions are actually named
33893 something starting with __ and the normal name is an alias. */
33894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33897 char (*f) () = $ac_func;
33906 return f != $ac_func;
33911 rm -f conftest.
$ac_objext conftest
$ac_exeext
33912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33913 (eval $ac_link) 2>conftest.er1
33915 grep -v '^ *+' conftest.er1
>conftest.err
33917 cat conftest.err
>&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); } &&
33920 { ac_try
='test -z "$ac_c_werror_flag"
33921 || test ! -s conftest.err'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; } &&
33927 { ac_try
='test -s conftest$ac_exeext'
33928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929 (eval $ac_try) 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33933 eval "$as_ac_var=yes"
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.
$ac_ext >&5
33938 eval "$as_ac_var=no"
33940 rm -f conftest.err conftest.
$ac_objext \
33941 conftest
$ac_exeext conftest.
$ac_ext
33943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33945 if test `eval echo '${'$as_ac_var'}'` = yes; then
33946 cat >>confdefs.h
<<_ACEOF
33947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33950 cat >>confdefs.h
<<\_ACEOF
33951 #define HAVE_SHL_LOAD 1
33958 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33959 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33960 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33963 ac_check_lib_save_LIBS
=$LIBS
33964 LIBS
="-lshl_load $LIBS"
33965 cat >conftest.
$ac_ext <<_ACEOF
33968 cat confdefs.h
>>conftest.
$ac_ext
33969 cat >>conftest.
$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33972 /* Override any gcc2 internal prototype to avoid an error. */
33976 /* We use char because int might match the return type of a gcc2
33977 builtin and then its argument prototype would still apply. */
33987 rm -f conftest.
$ac_objext conftest
$ac_exeext
33988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33989 (eval $ac_link) 2>conftest.er1
33991 grep -v '^ *+' conftest.er1
>conftest.err
33993 cat conftest.err
>&5
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); } &&
33996 { ac_try
='test -z "$ac_c_werror_flag"
33997 || test ! -s conftest.err'
33998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33999 (eval $ac_try) 2>&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); }; } &&
34003 { ac_try
='test -s conftest$ac_exeext'
34004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34005 (eval $ac_try) 2>&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); }; }; then
34009 ac_cv_lib_shl_load_dld
=yes
34011 echo "$as_me: failed program was:" >&5
34012 sed 's/^/| /' conftest.
$ac_ext >&5
34014 ac_cv_lib_shl_load_dld
=no
34016 rm -f conftest.err conftest.
$ac_objext \
34017 conftest
$ac_exeext conftest.
$ac_ext
34018 LIBS
=$ac_check_lib_save_LIBS
34020 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34021 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34022 if test $ac_cv_lib_shl_load_dld = yes; then
34025 DL_LINK
=" -ldld$DL_LINK"
34041 if test "$HAVE_DL_FUNCS" = 1; then
34043 for ac_func
in dlerror
34045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34046 echo "$as_me:$LINENO: checking for $ac_func" >&5
34047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34048 if eval "test \"\${$as_ac_var+set}\" = set"; then
34049 echo $ECHO_N "(cached) $ECHO_C" >&6
34051 cat >conftest.
$ac_ext <<_ACEOF
34054 cat confdefs.h
>>conftest.
$ac_ext
34055 cat >>conftest.
$ac_ext <<_ACEOF
34056 /* end confdefs.h. */
34057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34059 #define $ac_func innocuous_$ac_func
34061 /* System header to define __stub macros and hopefully few prototypes,
34062 which can conflict with char $ac_func (); below.
34063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34064 <limits.h> exists even on freestanding compilers. */
34067 # include <limits.h>
34069 # include <assert.h>
34074 /* Override any gcc2 internal prototype to avoid an error. */
34079 /* We use char because int might match the return type of a gcc2
34080 builtin and then its argument prototype would still apply. */
34082 /* The GNU C library defines this for functions which it implements
34083 to always fail with ENOSYS. Some functions are actually named
34084 something starting with __ and the normal name is an alias. */
34085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34088 char (*f) () = $ac_func;
34097 return f != $ac_func;
34102 rm -f conftest.
$ac_objext conftest
$ac_exeext
34103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34104 (eval $ac_link) 2>conftest.er1
34106 grep -v '^ *+' conftest.er1
>conftest.err
34108 cat conftest.err
>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); } &&
34111 { ac_try
='test -z "$ac_c_werror_flag"
34112 || test ! -s conftest.err'
34113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114 (eval $ac_try) 2>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); }; } &&
34118 { ac_try
='test -s conftest$ac_exeext'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; }; then
34124 eval "$as_ac_var=yes"
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.
$ac_ext >&5
34129 eval "$as_ac_var=no"
34131 rm -f conftest.err conftest.
$ac_objext \
34132 conftest
$ac_exeext conftest.
$ac_ext
34134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34136 if test `eval echo '${'$as_ac_var'}'` = yes; then
34137 cat >>confdefs.h
<<_ACEOF
34138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34140 cat >>confdefs.h
<<\_ACEOF
34141 #define HAVE_DLERROR 1
34146 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34147 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34148 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34151 ac_check_lib_save_LIBS
=$LIBS
34153 cat >conftest.
$ac_ext <<_ACEOF
34156 cat confdefs.h
>>conftest.
$ac_ext
34157 cat >>conftest.
$ac_ext <<_ACEOF
34158 /* end confdefs.h. */
34160 /* Override any gcc2 internal prototype to avoid an error. */
34164 /* We use char because int might match the return type of a gcc2
34165 builtin and then its argument prototype would still apply. */
34175 rm -f conftest.
$ac_objext conftest
$ac_exeext
34176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34177 (eval $ac_link) 2>conftest.er1
34179 grep -v '^ *+' conftest.er1
>conftest.err
34181 cat conftest.err
>&5
34182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183 (exit $ac_status); } &&
34184 { ac_try
='test -z "$ac_c_werror_flag"
34185 || test ! -s conftest.err'
34186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34187 (eval $ac_try) 2>&5
34189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34190 (exit $ac_status); }; } &&
34191 { ac_try
='test -s conftest$ac_exeext'
34192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34193 (eval $ac_try) 2>&5
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); }; }; then
34197 ac_cv_lib_dl_dlerror
=yes
34199 echo "$as_me: failed program was:" >&5
34200 sed 's/^/| /' conftest.
$ac_ext >&5
34202 ac_cv_lib_dl_dlerror
=no
34204 rm -f conftest.err conftest.
$ac_objext \
34205 conftest
$ac_exeext conftest.
$ac_ext
34206 LIBS
=$ac_check_lib_save_LIBS
34208 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34209 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34210 if test $ac_cv_lib_dl_dlerror = yes; then
34211 cat >>confdefs.h
<<\_ACEOF
34212 #define HAVE_DLERROR 1
34225 if test "$HAVE_DL_FUNCS" = 0; then
34226 if test "$HAVE_SHL_FUNCS" = 0; then
34227 if test "$USE_UNIX" = 1; then
34228 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34229 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34230 wxUSE_DYNAMIC_LOADER
=no
34231 wxUSE_DYNLIB_CLASS
=no
34233 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34234 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34241 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34242 cat >>confdefs.h
<<\_ACEOF
34243 #define wxUSE_DYNAMIC_LOADER 1
34247 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34248 cat >>confdefs.h
<<\_ACEOF
34249 #define wxUSE_DYNLIB_CLASS 1
34256 if test "$wxUSE_PLUGINS" = "yes" ; then
34257 if test "$wxUSE_SHARED" = "no" ; then
34258 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34259 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34262 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34263 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34264 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34267 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34268 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34269 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34272 if test "$wxUSE_PLUGINS" = "yes" ; then
34273 cat >>confdefs.h
<<\_ACEOF
34274 #define wxUSE_PLUGINS 1
34281 if test "$wxUSE_STL" = "yes"; then
34282 cat >>confdefs.h
<<\_ACEOF
34283 #define wxUSE_STL 1
34288 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34289 cat >>confdefs.h
<<\_ACEOF
34290 #define wxUSE_APPLE_IEEE 1
34295 if test "$wxUSE_TIMER" = "yes"; then
34296 cat >>confdefs.h
<<\_ACEOF
34297 #define wxUSE_TIMER 1
34303 if test "$wxUSE_SOUND" = "yes"; then
34304 if test "$USE_UNIX" = "1" ; then
34306 for ac_header
in sys
/soundcard.h
34308 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34310 echo "$as_me:$LINENO: checking for $ac_header" >&5
34311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34313 echo $ECHO_N "(cached) $ECHO_C" >&6
34315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34318 # Is the header compilable?
34319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34321 cat >conftest.
$ac_ext <<_ACEOF
34324 cat confdefs.h
>>conftest.
$ac_ext
34325 cat >>conftest.
$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327 $ac_includes_default
34328 #include <$ac_header>
34330 rm -f conftest.
$ac_objext
34331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34332 (eval $ac_compile) 2>conftest.er1
34334 grep -v '^ *+' conftest.er1
>conftest.err
34336 cat conftest.err
>&5
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); } &&
34339 { ac_try
='test -z "$ac_c_werror_flag"
34340 || test ! -s conftest.err'
34341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34342 (eval $ac_try) 2>&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); }; } &&
34346 { ac_try
='test -s conftest.$ac_objext'
34347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34348 (eval $ac_try) 2>&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); }; }; then
34352 ac_header_compiler
=yes
34354 echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.
$ac_ext >&5
34357 ac_header_compiler
=no
34359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34361 echo "${ECHO_T}$ac_header_compiler" >&6
34363 # Is the header present?
34364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34366 cat >conftest.
$ac_ext <<_ACEOF
34369 cat confdefs.h
>>conftest.
$ac_ext
34370 cat >>conftest.
$ac_ext <<_ACEOF
34371 /* end confdefs.h. */
34372 #include <$ac_header>
34374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34377 grep -v '^ *+' conftest.er1
>conftest.err
34379 cat conftest.err
>&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); } >/dev
/null
; then
34382 if test -s conftest.err
; then
34383 ac_cpp_err
=$ac_c_preproc_warn_flag
34384 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34391 if test -z "$ac_cpp_err"; then
34392 ac_header_preproc
=yes
34394 echo "$as_me: failed program was:" >&5
34395 sed 's/^/| /' conftest.
$ac_ext >&5
34397 ac_header_preproc
=no
34399 rm -f conftest.err conftest.
$ac_ext
34400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34401 echo "${ECHO_T}$ac_header_preproc" >&6
34403 # So? What about this header?
34404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34410 ac_header_preproc
=yes
34413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34427 ## ----------------------------------------- ##
34428 ## Report this to wx-dev@lists.wxwindows.org ##
34429 ## ----------------------------------------- ##
34432 sed "s/^/$as_me: WARNING: /" >&2
34435 echo "$as_me:$LINENO: checking for $ac_header" >&5
34436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34438 echo $ECHO_N "(cached) $ECHO_C" >&6
34440 eval "$as_ac_Header=\$ac_header_preproc"
34442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34447 cat >>confdefs.h
<<_ACEOF
34448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34456 if test "$wxUSE_LIBSDL" != "no"; then
34458 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34459 if test "${with_sdl_prefix+set}" = set; then
34460 withval
="$with_sdl_prefix"
34461 sdl_prefix
="$withval"
34466 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34467 if test "${with_sdl_exec_prefix+set}" = set; then
34468 withval
="$with_sdl_exec_prefix"
34469 sdl_exec_prefix
="$withval"
34473 # Check whether --enable-sdltest or --disable-sdltest was given.
34474 if test "${enable_sdltest+set}" = set; then
34475 enableval
="$enable_sdltest"
34481 if test x
$sdl_exec_prefix != x
; then
34482 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34483 if test x
${SDL_CONFIG+set} != xset
; then
34484 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34487 if test x
$sdl_prefix != x
; then
34488 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34489 if test x
${SDL_CONFIG+set} != xset
; then
34490 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34495 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34496 # Extract the first word of "sdl-config", so it can be a program name with args.
34497 set dummy sdl
-config; ac_word
=$2
34498 echo "$as_me:$LINENO: checking for $ac_word" >&5
34499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34500 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34501 echo $ECHO_N "(cached) $ECHO_C" >&6
34503 case $SDL_CONFIG in
34505 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34509 for as_dir
in $PATH
34512 test -z "$as_dir" && as_dir
=.
34513 for ac_exec_ext
in '' $ac_executable_extensions; do
34514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34515 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34522 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34526 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34528 if test -n "$SDL_CONFIG"; then
34529 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34530 echo "${ECHO_T}$SDL_CONFIG" >&6
34532 echo "$as_me:$LINENO: result: no" >&5
34533 echo "${ECHO_T}no" >&6
34536 min_sdl_version
=1.2.0
34537 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34538 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34540 if test "$SDL_CONFIG" = "no" ; then
34543 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34544 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34546 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34548 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34550 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34552 if test "x$enable_sdltest" = "xyes" ; then
34553 ac_save_CFLAGS
="$CFLAGS"
34554 ac_save_LIBS
="$LIBS"
34555 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34556 LIBS
="$LIBS $SDL_LIBS"
34558 if test "$cross_compiling" = yes; then
34559 echo $ac_n "cross compiling; assumed OK... $ac_c"
34561 cat >conftest.
$ac_ext <<_ACEOF
34564 cat confdefs.h
>>conftest.
$ac_ext
34565 cat >>conftest.
$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34569 #include <stdlib.h>
34570 #include <string.h>
34574 my_strdup (char *str)
34580 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34581 strcpy (new_str, str);
34589 int main (int argc, char *argv[])
34591 int major, minor, micro;
34594 /* This hangs on some systems (?)
34595 system ("touch conf.sdltest");
34597 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34599 /* HP/UX 9 (%@#!) writes to sscanf strings */
34600 tmp_version = my_strdup("$min_sdl_version");
34601 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34602 printf("%s, bad version string\n", "$min_sdl_version");
34606 if (($sdl_major_version > major) ||
34607 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34608 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34614 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34615 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34616 printf("*** best to upgrade to the required version.\n");
34617 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34618 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34619 printf("*** config.cache before re-running configure\n");
34626 rm -f conftest
$ac_exeext
34627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34628 (eval $ac_link) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34633 (eval $ac_try) 2>&5
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; }; then
34639 echo "$as_me: program exited with status $ac_status" >&5
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.
$ac_ext >&5
34643 ( exit $ac_status )
34646 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34648 CFLAGS
="$ac_save_CFLAGS"
34649 LIBS
="$ac_save_LIBS"
34652 if test "x$no_sdl" = x
; then
34653 echo "$as_me:$LINENO: result: yes" >&5
34654 echo "${ECHO_T}yes" >&6
34656 EXTRALIBS_SDL
="$SDL_LIBS"
34657 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34658 cat >>confdefs.h
<<\_ACEOF
34659 #define wxUSE_LIBSDL 1
34664 echo "$as_me:$LINENO: result: no" >&5
34665 echo "${ECHO_T}no" >&6
34666 if test "$SDL_CONFIG" = "no" ; then
34667 echo "*** The sdl-config script installed by SDL could not be found"
34668 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34669 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34670 echo "*** full path to sdl-config."
34672 if test -f conf.sdltest
; then
34675 echo "*** Could not run SDL test program, checking why..."
34676 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34677 LIBS
="$LIBS $SDL_LIBS"
34678 cat >conftest.
$ac_ext <<_ACEOF
34681 cat confdefs.h
>>conftest.
$ac_ext
34682 cat >>conftest.
$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34688 int main(int argc, char *argv[])
34691 #define main K_and_R_C_main
34701 rm -f conftest.
$ac_objext conftest
$ac_exeext
34702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34703 (eval $ac_link) 2>conftest.er1
34705 grep -v '^ *+' conftest.er1
>conftest.err
34707 cat conftest.err
>&5
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); } &&
34710 { ac_try
='test -z "$ac_c_werror_flag"
34711 || test ! -s conftest.err'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; } &&
34717 { ac_try
='test -s conftest$ac_exeext'
34718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34719 (eval $ac_try) 2>&5
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); }; }; then
34723 echo "*** The test program compiled, but did not run. This usually means"
34724 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34725 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34726 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34727 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34728 echo "*** is required on your system"
34730 echo "*** If you have an old version installed, it is best to remove it, although"
34731 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.
$ac_ext >&5
34736 echo "*** The test program failed to compile or link. See the file config.log for the"
34737 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34738 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34739 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34741 rm -f conftest.err conftest.
$ac_objext \
34742 conftest
$ac_exeext conftest.
$ac_ext
34743 CFLAGS
="$ac_save_CFLAGS"
34744 LIBS
="$ac_save_LIBS"
34755 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34761 cat >>confdefs.h
<<\_ACEOF
34762 #define wxUSE_SOUND 1
34765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34768 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34769 cat >>confdefs.h
<<\_ACEOF
34770 #define wxUSE_CMDLINE_PARSER 1
34775 if test "$wxUSE_STOPWATCH" = "yes"; then
34776 cat >>confdefs.h
<<\_ACEOF
34777 #define wxUSE_STOPWATCH 1
34782 if test "$wxUSE_DATETIME" = "yes"; then
34783 cat >>confdefs.h
<<\_ACEOF
34784 #define wxUSE_DATETIME 1
34789 if test "$wxUSE_FILE" = "yes"; then
34790 cat >>confdefs.h
<<\_ACEOF
34791 #define wxUSE_FILE 1
34796 if test "$wxUSE_FFILE" = "yes"; then
34797 cat >>confdefs.h
<<\_ACEOF
34798 #define wxUSE_FFILE 1
34803 if test "$wxUSE_FILESYSTEM" = "yes"; then
34804 cat >>confdefs.h
<<\_ACEOF
34805 #define wxUSE_FILESYSTEM 1
34810 if test "$wxUSE_FS_ZIP" = "yes"; then
34811 cat >>confdefs.h
<<\_ACEOF
34812 #define wxUSE_FS_ZIP 1
34817 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34818 cat >>confdefs.h
<<\_ACEOF
34819 #define wxUSE_ZIPSTREAM 1
34824 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34825 cat >>confdefs.h
<<\_ACEOF
34826 #define wxUSE_ON_FATAL_EXCEPTION 1
34831 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34832 cat >>confdefs.h
<<\_ACEOF
34833 #define wxUSE_SNGLINST_CHECKER 1
34838 if test "$wxUSE_BUSYINFO" = "yes"; then
34839 cat >>confdefs.h
<<\_ACEOF
34840 #define wxUSE_BUSYINFO 1
34845 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34846 cat >>confdefs.h
<<\_ACEOF
34847 #define wxUSE_STD_IOSTREAM 1
34852 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34853 cat >>confdefs.h
<<\_ACEOF
34854 #define wxUSE_TEXTBUFFER 1
34859 if test "$wxUSE_TEXTFILE" = "yes"; then
34860 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34861 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34862 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34864 cat >>confdefs.h
<<\_ACEOF
34865 #define wxUSE_TEXTFILE 1
34871 if test "$wxUSE_CONFIG" = "yes" ; then
34872 if test "$wxUSE_TEXTFILE" != "yes"; then
34873 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34874 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34876 cat >>confdefs.h
<<\_ACEOF
34877 #define wxUSE_CONFIG 1
34880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34884 if test "$wxUSE_INTL" = "yes" ; then
34885 if test "$wxUSE_FILE" != "yes"; then
34886 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34887 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34889 cat >>confdefs.h
<<\_ACEOF
34890 #define wxUSE_INTL 1
34893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34894 GUIDIST
="$GUIDIST INTL_DIST"
34898 if test "$wxUSE_LOG" = "yes"; then
34899 cat >>confdefs.h
<<\_ACEOF
34900 #define wxUSE_LOG 1
34904 if test "$wxUSE_LOGGUI" = "yes"; then
34905 cat >>confdefs.h
<<\_ACEOF
34906 #define wxUSE_LOGGUI 1
34911 if test "$wxUSE_LOGWINDOW" = "yes"; then
34912 cat >>confdefs.h
<<\_ACEOF
34913 #define wxUSE_LOGWINDOW 1
34918 if test "$wxUSE_LOGDIALOG" = "yes"; then
34919 cat >>confdefs.h
<<\_ACEOF
34920 #define wxUSE_LOG_DIALOG 1
34926 if test "$wxUSE_LONGLONG" = "yes"; then
34927 cat >>confdefs.h
<<\_ACEOF
34928 #define wxUSE_LONGLONG 1
34933 if test "$wxUSE_GEOMETRY" = "yes"; then
34934 cat >>confdefs.h
<<\_ACEOF
34935 #define wxUSE_GEOMETRY 1
34940 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34941 cat >>confdefs.h
<<\_ACEOF
34942 #define wxUSE_DIALUP_MANAGER 1
34945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34948 if test "$wxUSE_STREAMS" = "yes" ; then
34949 cat >>confdefs.h
<<\_ACEOF
34950 #define wxUSE_STREAMS 1
34956 if test "$wxUSE_DATETIME" = "yes"; then
34958 for ac_func
in strptime
34960 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34961 echo "$as_me:$LINENO: checking for $ac_func" >&5
34962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34963 if eval "test \"\${$as_ac_var+set}\" = set"; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 cat >conftest.
$ac_ext <<_ACEOF
34969 cat confdefs.h
>>conftest.
$ac_ext
34970 cat >>conftest.
$ac_ext <<_ACEOF
34971 /* end confdefs.h. */
34972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34974 #define $ac_func innocuous_$ac_func
34976 /* System header to define __stub macros and hopefully few prototypes,
34977 which can conflict with char $ac_func (); below.
34978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34979 <limits.h> exists even on freestanding compilers. */
34982 # include <limits.h>
34984 # include <assert.h>
34989 /* Override any gcc2 internal prototype to avoid an error. */
34994 /* We use char because int might match the return type of a gcc2
34995 builtin and then its argument prototype would still apply. */
34997 /* The GNU C library defines this for functions which it implements
34998 to always fail with ENOSYS. Some functions are actually named
34999 something starting with __ and the normal name is an alias. */
35000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35003 char (*f) () = $ac_func;
35012 return f != $ac_func;
35017 rm -f conftest.
$ac_objext conftest
$ac_exeext
35018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35019 (eval $ac_link) 2>conftest.er1
35021 grep -v '^ *+' conftest.er1
>conftest.err
35023 cat conftest.err
>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } &&
35026 { ac_try
='test -z "$ac_c_werror_flag"
35027 || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try
='test -s conftest$ac_exeext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35039 eval "$as_ac_var=yes"
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.
$ac_ext >&5
35044 eval "$as_ac_var=no"
35046 rm -f conftest.err conftest.
$ac_objext \
35047 conftest
$ac_exeext conftest.
$ac_ext
35049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35051 if test `eval echo '${'$as_ac_var'}'` = yes; then
35052 cat >>confdefs.h
<<_ACEOF
35053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35060 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35061 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35062 if test "${wx_cv_var_timezone+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35066 cat >conftest.
$ac_ext <<_ACEOF
35069 cat confdefs.h
>>conftest.
$ac_ext
35070 cat >>conftest.
$ac_ext <<_ACEOF
35071 /* end confdefs.h. */
35086 rm -f conftest.
$ac_objext
35087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35088 (eval $ac_compile) 2>conftest.er1
35090 grep -v '^ *+' conftest.er1
>conftest.err
35092 cat conftest.err
>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); } &&
35095 { ac_try
='test -z "$ac_c_werror_flag"
35096 || test ! -s conftest.err'
35097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35098 (eval $ac_try) 2>&5
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); }; } &&
35102 { ac_try
='test -s conftest.$ac_objext'
35103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35104 (eval $ac_try) 2>&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); }; }; then
35109 wx_cv_var_timezone
=timezone
35112 echo "$as_me: failed program was:" >&5
35113 sed 's/^/| /' conftest.
$ac_ext >&5
35116 cat >conftest.
$ac_ext <<_ACEOF
35119 cat confdefs.h
>>conftest.
$ac_ext
35120 cat >>conftest.
$ac_ext <<_ACEOF
35121 /* end confdefs.h. */
35136 rm -f conftest.
$ac_objext
35137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35138 (eval $ac_compile) 2>conftest.er1
35140 grep -v '^ *+' conftest.er1
>conftest.err
35142 cat conftest.err
>&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } &&
35145 { ac_try
='test -z "$ac_c_werror_flag"
35146 || test ! -s conftest.err'
35147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35148 (eval $ac_try) 2>&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); }; } &&
35152 { ac_try
='test -s conftest.$ac_objext'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; }; then
35159 wx_cv_var_timezone
=_timezone
35162 echo "$as_me: failed program was:" >&5
35163 sed 's/^/| /' conftest.
$ac_ext >&5
35166 cat >conftest.
$ac_ext <<_ACEOF
35169 cat confdefs.h
>>conftest.
$ac_ext
35170 cat >>conftest.
$ac_ext <<_ACEOF
35171 /* end confdefs.h. */
35186 rm -f conftest.
$ac_objext
35187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35188 (eval $ac_compile) 2>conftest.er1
35190 grep -v '^ *+' conftest.er1
>conftest.err
35192 cat conftest.err
>&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } &&
35195 { ac_try
='test -z "$ac_c_werror_flag"
35196 || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try
='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35209 wx_cv_var_timezone
=__timezone
35212 echo "$as_me: failed program was:" >&5
35213 sed 's/^/| /' conftest.
$ac_ext >&5
35216 if test "$USE_DOS" = 0 ; then
35217 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35218 echo "$as_me: WARNING: no timezone variable" >&2;}
35223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35235 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35236 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35238 if test "x$wx_cv_var_timezone" != x
; then
35239 cat >>confdefs.h
<<_ACEOF
35240 #define WX_TIMEZONE $wx_cv_var_timezone
35246 for ac_func
in localtime
35248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35249 echo "$as_me:$LINENO: checking for $ac_func" >&5
35250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35251 if eval "test \"\${$as_ac_var+set}\" = set"; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 cat >conftest.
$ac_ext <<_ACEOF
35257 cat confdefs.h
>>conftest.
$ac_ext
35258 cat >>conftest.
$ac_ext <<_ACEOF
35259 /* end confdefs.h. */
35260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35262 #define $ac_func innocuous_$ac_func
35264 /* System header to define __stub macros and hopefully few prototypes,
35265 which can conflict with char $ac_func (); below.
35266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35267 <limits.h> exists even on freestanding compilers. */
35270 # include <limits.h>
35272 # include <assert.h>
35277 /* Override any gcc2 internal prototype to avoid an error. */
35282 /* We use char because int might match the return type of a gcc2
35283 builtin and then its argument prototype would still apply. */
35285 /* The GNU C library defines this for functions which it implements
35286 to always fail with ENOSYS. Some functions are actually named
35287 something starting with __ and the normal name is an alias. */
35288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35291 char (*f) () = $ac_func;
35300 return f != $ac_func;
35305 rm -f conftest.
$ac_objext conftest
$ac_exeext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35307 (eval $ac_link) 2>conftest.er1
35309 grep -v '^ *+' conftest.er1
>conftest.err
35311 cat conftest.err
>&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); } &&
35314 { ac_try
='test -z "$ac_c_werror_flag"
35315 || test ! -s conftest.err'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; } &&
35321 { ac_try
='test -s conftest$ac_exeext'
35322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323 (eval $ac_try) 2>&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); }; }; then
35327 eval "$as_ac_var=yes"
35329 echo "$as_me: failed program was:" >&5
35330 sed 's/^/| /' conftest.
$ac_ext >&5
35332 eval "$as_ac_var=no"
35334 rm -f conftest.err conftest.
$ac_objext \
35335 conftest
$ac_exeext conftest.
$ac_ext
35337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35339 if test `eval echo '${'$as_ac_var'}'` = yes; then
35340 cat >>confdefs.h
<<_ACEOF
35341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35348 if test "$ac_cv_func_localtime" = "yes"; then
35349 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35350 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35351 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35352 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 cat >conftest.
$ac_ext <<_ACEOF
35358 cat confdefs.h
>>conftest.
$ac_ext
35359 cat >>conftest.
$ac_ext <<_ACEOF
35360 /* end confdefs.h. */
35375 rm -f conftest.
$ac_objext
35376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35377 (eval $ac_compile) 2>conftest.er1
35379 grep -v '^ *+' conftest.er1
>conftest.err
35381 cat conftest.err
>&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
35384 { ac_try
='test -z "$ac_c_werror_flag"
35385 || test ! -s conftest.err'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; } &&
35391 { ac_try
='test -s conftest.$ac_objext'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; }; then
35398 wx_cv_struct_tm_has_gmtoff
=yes
35401 echo "$as_me: failed program was:" >&5
35402 sed 's/^/| /' conftest.
$ac_ext >&5
35404 wx_cv_struct_tm_has_gmtoff
=no
35407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35410 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35411 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35414 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35415 cat >>confdefs.h
<<\_ACEOF
35416 #define WX_GMTOFF_IN_TM 1
35423 for ac_func
in gettimeofday ftime
35425 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35426 echo "$as_me:$LINENO: checking for $ac_func" >&5
35427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35428 if eval "test \"\${$as_ac_var+set}\" = set"; then
35429 echo $ECHO_N "(cached) $ECHO_C" >&6
35431 cat >conftest.
$ac_ext <<_ACEOF
35434 cat confdefs.h
>>conftest.
$ac_ext
35435 cat >>conftest.
$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35439 #define $ac_func innocuous_$ac_func
35441 /* System header to define __stub macros and hopefully few prototypes,
35442 which can conflict with char $ac_func (); below.
35443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35444 <limits.h> exists even on freestanding compilers. */
35447 # include <limits.h>
35449 # include <assert.h>
35454 /* Override any gcc2 internal prototype to avoid an error. */
35459 /* We use char because int might match the return type of a gcc2
35460 builtin and then its argument prototype would still apply. */
35462 /* The GNU C library defines this for functions which it implements
35463 to always fail with ENOSYS. Some functions are actually named
35464 something starting with __ and the normal name is an alias. */
35465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35468 char (*f) () = $ac_func;
35477 return f != $ac_func;
35482 rm -f conftest.
$ac_objext conftest
$ac_exeext
35483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35484 (eval $ac_link) 2>conftest.er1
35486 grep -v '^ *+' conftest.er1
>conftest.err
35488 cat conftest.err
>&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); } &&
35491 { ac_try
='test -z "$ac_c_werror_flag"
35492 || test ! -s conftest.err'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; } &&
35498 { ac_try
='test -s conftest$ac_exeext'
35499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500 (eval $ac_try) 2>&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; }; then
35504 eval "$as_ac_var=yes"
35506 echo "$as_me: failed program was:" >&5
35507 sed 's/^/| /' conftest.
$ac_ext >&5
35509 eval "$as_ac_var=no"
35511 rm -f conftest.err conftest.
$ac_objext \
35512 conftest
$ac_exeext conftest.
$ac_ext
35514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35516 if test `eval echo '${'$as_ac_var'}'` = yes; then
35517 cat >>confdefs.h
<<_ACEOF
35518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35525 if test "$ac_cv_func_gettimeofday" = "yes"; then
35526 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35527 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35528 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35529 echo $ECHO_N "(cached) $ECHO_C" >&6
35535 ac_cpp
='$CXXCPP $CPPFLAGS'
35536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35541 cat >conftest.
$ac_ext <<_ACEOF
35544 cat confdefs.h
>>conftest.
$ac_ext
35545 cat >>conftest.
$ac_ext <<_ACEOF
35546 /* end confdefs.h. */
35548 #include <sys/time.h>
35549 #include <unistd.h>
35556 gettimeofday(&tv, NULL);
35562 rm -f conftest.
$ac_objext
35563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35564 (eval $ac_compile) 2>conftest.er1
35566 grep -v '^ *+' conftest.er1
>conftest.err
35568 cat conftest.err
>&5
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); } &&
35571 { ac_try
='test -z "$ac_cxx_werror_flag"
35572 || test ! -s conftest.err'
35573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35574 (eval $ac_try) 2>&5
35576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577 (exit $ac_status); }; } &&
35578 { ac_try
='test -s conftest.$ac_objext'
35579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35580 (eval $ac_try) 2>&5
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); }; }; then
35584 wx_cv_func_gettimeofday_has_2_args
=yes
35586 echo "$as_me: failed program was:" >&5
35587 sed 's/^/| /' conftest.
$ac_ext >&5
35589 cat >conftest.
$ac_ext <<_ACEOF
35592 cat confdefs.h
>>conftest.
$ac_ext
35593 cat >>conftest.
$ac_ext <<_ACEOF
35594 /* end confdefs.h. */
35596 #include <sys/time.h>
35597 #include <unistd.h>
35610 rm -f conftest.
$ac_objext
35611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35612 (eval $ac_compile) 2>conftest.er1
35614 grep -v '^ *+' conftest.er1
>conftest.err
35616 cat conftest.err
>&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } &&
35619 { ac_try
='test -z "$ac_cxx_werror_flag"
35620 || test ! -s conftest.err'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; } &&
35626 { ac_try
='test -s conftest.$ac_objext'
35627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628 (eval $ac_try) 2>&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; }; then
35632 wx_cv_func_gettimeofday_has_2_args
=no
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.
$ac_ext >&5
35638 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35639 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35640 wx_cv_func_gettimeofday_has_2_args
=unknown
35644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35649 ac_cpp
='$CPP $CPPFLAGS'
35650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35656 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35657 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35659 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35660 cat >>confdefs.h
<<\_ACEOF
35661 #define WX_GETTIMEOFDAY_NO_TZ 1
35667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35671 if test "$wxUSE_SOCKETS" = "yes"; then
35672 if test "$wxUSE_MGL" = "1"; then
35673 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35674 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35679 if test "$wxUSE_SOCKETS" = "yes"; then
35680 if test "$TOOLKIT" != "MSW"; then
35681 echo "$as_me:$LINENO: checking for socket" >&5
35682 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35683 if test "${ac_cv_func_socket+set}" = set; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35686 cat >conftest.
$ac_ext <<_ACEOF
35689 cat confdefs.h
>>conftest.
$ac_ext
35690 cat >>conftest.
$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35692 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35694 #define socket innocuous_socket
35696 /* System header to define __stub macros and hopefully few prototypes,
35697 which can conflict with char socket (); below.
35698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35699 <limits.h> exists even on freestanding compilers. */
35702 # include <limits.h>
35704 # include <assert.h>
35709 /* Override any gcc2 internal prototype to avoid an error. */
35714 /* We use char because int might match the return type of a gcc2
35715 builtin and then its argument prototype would still apply. */
35717 /* The GNU C library defines this for functions which it implements
35718 to always fail with ENOSYS. Some functions are actually named
35719 something starting with __ and the normal name is an alias. */
35720 #if defined (__stub_socket) || defined (__stub___socket)
35723 char (*f) () = socket;
35732 return f != socket;
35737 rm -f conftest.
$ac_objext conftest
$ac_exeext
35738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35739 (eval $ac_link) 2>conftest.er1
35741 grep -v '^ *+' conftest.er1
>conftest.err
35743 cat conftest.err
>&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } &&
35746 { ac_try
='test -z "$ac_c_werror_flag"
35747 || test ! -s conftest.err'
35748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35749 (eval $ac_try) 2>&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); }; } &&
35753 { ac_try
='test -s conftest$ac_exeext'
35754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35755 (eval $ac_try) 2>&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); }; }; then
35759 ac_cv_func_socket
=yes
35761 echo "$as_me: failed program was:" >&5
35762 sed 's/^/| /' conftest.
$ac_ext >&5
35764 ac_cv_func_socket
=no
35766 rm -f conftest.err conftest.
$ac_objext \
35767 conftest
$ac_exeext conftest.
$ac_ext
35769 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35770 echo "${ECHO_T}$ac_cv_func_socket" >&6
35771 if test $ac_cv_func_socket = yes; then
35775 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35776 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35777 if test "${ac_cv_lib_socket_socket+set}" = set; then
35778 echo $ECHO_N "(cached) $ECHO_C" >&6
35780 ac_check_lib_save_LIBS
=$LIBS
35781 LIBS
="-lsocket $LIBS"
35782 cat >conftest.
$ac_ext <<_ACEOF
35785 cat confdefs.h
>>conftest.
$ac_ext
35786 cat >>conftest.
$ac_ext <<_ACEOF
35787 /* end confdefs.h. */
35789 /* Override any gcc2 internal prototype to avoid an error. */
35793 /* We use char because int might match the return type of a gcc2
35794 builtin and then its argument prototype would still apply. */
35804 rm -f conftest.
$ac_objext conftest
$ac_exeext
35805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35806 (eval $ac_link) 2>conftest.er1
35808 grep -v '^ *+' conftest.er1
>conftest.err
35810 cat conftest.err
>&5
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); } &&
35813 { ac_try
='test -z "$ac_c_werror_flag"
35814 || test ! -s conftest.err'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; } &&
35820 { ac_try
='test -s conftest$ac_exeext'
35821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35822 (eval $ac_try) 2>&5
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); }; }; then
35826 ac_cv_lib_socket_socket
=yes
35828 echo "$as_me: failed program was:" >&5
35829 sed 's/^/| /' conftest.
$ac_ext >&5
35831 ac_cv_lib_socket_socket
=no
35833 rm -f conftest.err conftest.
$ac_objext \
35834 conftest
$ac_exeext conftest.
$ac_ext
35835 LIBS
=$ac_check_lib_save_LIBS
35837 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35838 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35839 if test $ac_cv_lib_socket_socket = yes; then
35840 if test "$INET_LINK" != " -lsocket"; then
35841 INET_LINK
="$INET_LINK -lsocket"
35845 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35846 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35859 if test "$wxUSE_SOCKETS" = "yes" ; then
35860 if test "$TOOLKIT" != "MSW"; then
35861 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35862 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35863 if test "${wx_cv_type_getsockname3+set}" = set; then
35864 echo $ECHO_N "(cached) $ECHO_C" >&6
35867 cat >conftest.
$ac_ext <<_ACEOF
35870 cat confdefs.h
>>conftest.
$ac_ext
35871 cat >>conftest.
$ac_ext <<_ACEOF
35872 /* end confdefs.h. */
35874 #include <sys/types.h>
35875 #include <sys/socket.h>
35882 getsockname(0, 0, &len);
35888 rm -f conftest.
$ac_objext
35889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35890 (eval $ac_compile) 2>conftest.er1
35892 grep -v '^ *+' conftest.er1
>conftest.err
35894 cat conftest.err
>&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); } &&
35897 { ac_try
='test -z "$ac_c_werror_flag"
35898 || test ! -s conftest.err'
35899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35900 (eval $ac_try) 2>&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); }; } &&
35904 { ac_try
='test -s conftest.$ac_objext'
35905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35906 (eval $ac_try) 2>&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); }; }; then
35910 wx_cv_type_getsockname3
=socklen_t
35912 echo "$as_me: failed program was:" >&5
35913 sed 's/^/| /' conftest.
$ac_ext >&5
35916 CFLAGS_OLD
="$CFLAGS"
35917 if test "$GCC" = yes ; then
35918 CFLAGS
="$CFLAGS -Werror"
35921 cat >conftest.
$ac_ext <<_ACEOF
35924 cat confdefs.h
>>conftest.
$ac_ext
35925 cat >>conftest.
$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35928 #include <sys/types.h>
35929 #include <sys/socket.h>
35936 getsockname(0, 0, &len);
35942 rm -f conftest.
$ac_objext
35943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35944 (eval $ac_compile) 2>conftest.er1
35946 grep -v '^ *+' conftest.er1
>conftest.err
35948 cat conftest.err
>&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } &&
35951 { ac_try
='test -z "$ac_c_werror_flag"
35952 || test ! -s conftest.err'
35953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35954 (eval $ac_try) 2>&5
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); }; } &&
35958 { ac_try
='test -s conftest.$ac_objext'
35959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35960 (eval $ac_try) 2>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); }; }; then
35964 wx_cv_type_getsockname3
=size_t
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.
$ac_ext >&5
35969 cat >conftest.
$ac_ext <<_ACEOF
35972 cat confdefs.h
>>conftest.
$ac_ext
35973 cat >>conftest.
$ac_ext <<_ACEOF
35974 /* end confdefs.h. */
35976 #include <sys/types.h>
35977 #include <sys/socket.h>
35984 getsockname(0, 0, &len);
35990 rm -f conftest.
$ac_objext
35991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35992 (eval $ac_compile) 2>conftest.er1
35994 grep -v '^ *+' conftest.er1
>conftest.err
35996 cat conftest.err
>&5
35997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998 (exit $ac_status); } &&
35999 { ac_try
='test -z "$ac_c_werror_flag"
36000 || test ! -s conftest.err'
36001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36002 (eval $ac_try) 2>&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); }; } &&
36006 { ac_try
='test -s conftest.$ac_objext'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; }; then
36012 wx_cv_type_getsockname3
=int
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.
$ac_ext >&5
36017 wx_cv_type_getsockname3
=unknown
36020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36025 CFLAGS
="$CFLAGS_OLD"
36029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36032 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36033 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36035 if test "$wx_cv_type_getsockname3" = "unknown"; then
36037 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36038 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36040 cat >>confdefs.h
<<_ACEOF
36041 #define SOCKLEN_T $wx_cv_type_getsockname3
36048 if test "$wxUSE_SOCKETS" = "yes" ; then
36049 cat >>confdefs.h
<<\_ACEOF
36050 #define wxUSE_SOCKETS 1
36053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36056 if test "$wxUSE_PROTOCOL" = "yes"; then
36057 if test "$wxUSE_SOCKETS" != "yes"; then
36058 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36059 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36064 if test "$wxUSE_PROTOCOL" = "yes"; then
36065 cat >>confdefs.h
<<\_ACEOF
36066 #define wxUSE_PROTOCOL 1
36070 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36071 cat >>confdefs.h
<<\_ACEOF
36072 #define wxUSE_PROTOCOL_HTTP 1
36076 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36077 cat >>confdefs.h
<<\_ACEOF
36078 #define wxUSE_PROTOCOL_FTP 1
36082 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36083 cat >>confdefs.h
<<\_ACEOF
36084 #define wxUSE_PROTOCOL_FILE 1
36089 if test "$wxUSE_FS_INET" = "yes"; then
36090 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36091 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36096 if test "$wxUSE_URL" = "yes"; then
36097 if test "$wxUSE_PROTOCOL" != "yes"; then
36098 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36099 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36102 if test "$wxUSE_URL" = "yes"; then
36103 cat >>confdefs.h
<<\_ACEOF
36104 #define wxUSE_URL 1
36110 if test "$wxUSE_FS_INET" = "yes"; then
36111 cat >>confdefs.h
<<\_ACEOF
36112 #define wxUSE_FS_INET 1
36118 if test "$wxUSE_GUI" = "yes"; then
36120 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36121 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36122 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36126 if test "$TOOLKIT" != "MSW"; then
36127 if test "$wxUSE_JOYSTICK" = "yes"; then
36129 for ac_header
in linux
/joystick.h
36131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36133 echo "$as_me:$LINENO: checking for $ac_header" >&5
36134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36136 echo $ECHO_N "(cached) $ECHO_C" >&6
36138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36141 # Is the header compilable?
36142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36144 cat >conftest.
$ac_ext <<_ACEOF
36147 cat confdefs.h
>>conftest.
$ac_ext
36148 cat >>conftest.
$ac_ext <<_ACEOF
36149 /* end confdefs.h. */
36150 $ac_includes_default
36151 #include <$ac_header>
36153 rm -f conftest.
$ac_objext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36155 (eval $ac_compile) 2>conftest.er1
36157 grep -v '^ *+' conftest.er1
>conftest.err
36159 cat conftest.err
>&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try
='test -z "$ac_c_werror_flag"
36163 || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try
='test -s conftest.$ac_objext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36175 ac_header_compiler
=yes
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.
$ac_ext >&5
36180 ac_header_compiler
=no
36182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36184 echo "${ECHO_T}$ac_header_compiler" >&6
36186 # Is the header present?
36187 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36189 cat >conftest.
$ac_ext <<_ACEOF
36192 cat confdefs.h
>>conftest.
$ac_ext
36193 cat >>conftest.
$ac_ext <<_ACEOF
36194 /* end confdefs.h. */
36195 #include <$ac_header>
36197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36198 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36200 grep -v '^ *+' conftest.er1
>conftest.err
36202 cat conftest.err
>&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } >/dev
/null
; then
36205 if test -s conftest.err
; then
36206 ac_cpp_err
=$ac_c_preproc_warn_flag
36207 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36214 if test -z "$ac_cpp_err"; then
36215 ac_header_preproc
=yes
36217 echo "$as_me: failed program was:" >&5
36218 sed 's/^/| /' conftest.
$ac_ext >&5
36220 ac_header_preproc
=no
36222 rm -f conftest.err conftest.
$ac_ext
36223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36224 echo "${ECHO_T}$ac_header_preproc" >&6
36226 # So? What about this header?
36227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36233 ac_header_preproc
=yes
36236 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36238 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36243 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36246 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36250 ## ----------------------------------------- ##
36251 ## Report this to wx-dev@lists.wxwindows.org ##
36252 ## ----------------------------------------- ##
36255 sed "s/^/$as_me: WARNING: /" >&2
36258 echo "$as_me:$LINENO: checking for $ac_header" >&5
36259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36261 echo $ECHO_N "(cached) $ECHO_C" >&6
36263 eval "$as_ac_Header=\$ac_header_preproc"
36265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36270 cat >>confdefs.h
<<_ACEOF
36271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36278 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36280 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36281 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36286 if test "$wxUSE_JOYSTICK" = "yes"; then
36287 cat >>confdefs.h
<<\_ACEOF
36288 #define wxUSE_JOYSTICK 1
36291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36297 if test "$wxUSE_FONTMAP" = "yes" ; then
36298 cat >>confdefs.h
<<\_ACEOF
36299 #define wxUSE_FONTMAP 1
36304 if test "$wxUSE_UNICODE" = "yes" ; then
36305 cat >>confdefs.h
<<\_ACEOF
36306 #define wxUSE_UNICODE 1
36310 if test "$USE_WIN32" != 1; then
36311 wxUSE_UNICODE_MSLU
=no
36314 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36315 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36316 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36317 if test "${ac_cv_lib_unicows_main+set}" = set; then
36318 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 ac_check_lib_save_LIBS
=$LIBS
36321 LIBS
="-lunicows $LIBS"
36322 cat >conftest.
$ac_ext <<_ACEOF
36325 cat confdefs.h
>>conftest.
$ac_ext
36326 cat >>conftest.
$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36338 rm -f conftest.
$ac_objext conftest
$ac_exeext
36339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36340 (eval $ac_link) 2>conftest.er1
36342 grep -v '^ *+' conftest.er1
>conftest.err
36344 cat conftest.err
>&5
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); } &&
36347 { ac_try
='test -z "$ac_c_werror_flag"
36348 || test ! -s conftest.err'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; } &&
36354 { ac_try
='test -s conftest$ac_exeext'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; }; then
36360 ac_cv_lib_unicows_main
=yes
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.
$ac_ext >&5
36365 ac_cv_lib_unicows_main
=no
36367 rm -f conftest.err conftest.
$ac_objext \
36368 conftest
$ac_exeext conftest.
$ac_ext
36369 LIBS
=$ac_check_lib_save_LIBS
36371 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36372 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36373 if test $ac_cv_lib_unicows_main = yes; then
36375 cat >>confdefs.h
<<\_ACEOF
36376 #define wxUSE_UNICODE_MSLU 1
36382 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36383 Applications will only run on Windows NT/2000/XP!" >&5
36384 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36385 Applications will only run on Windows NT/2000/XP!" >&2;}
36386 wxUSE_UNICODE_MSLU
=no
36393 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36394 cat >>confdefs.h
<<\_ACEOF
36395 #define wxUSE_EXPERIMENTAL_PRINTF 1
36401 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36402 cat >>confdefs.h
<<\_ACEOF
36403 #define wxUSE_POSTSCRIPT 1
36408 cat >>confdefs.h
<<\_ACEOF
36409 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36413 cat >>confdefs.h
<<\_ACEOF
36414 #define wxUSE_NORMALIZED_PS_FONTS 1
36419 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36420 cat >>confdefs.h
<<\_ACEOF
36421 #define wxUSE_CONSTRAINTS 1
36424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36427 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36428 cat >>confdefs.h
<<\_ACEOF
36429 #define wxUSE_MDI_ARCHITECTURE 1
36432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36435 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36436 cat >>confdefs.h
<<\_ACEOF
36437 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36441 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36446 if test "$wxUSE_HELP" = "yes"; then
36447 cat >>confdefs.h
<<\_ACEOF
36448 #define wxUSE_HELP 1
36451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36453 if test "$wxUSE_MSW" = 1; then
36454 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36455 cat >>confdefs.h
<<\_ACEOF
36456 #define wxUSE_MS_HTML_HELP 1
36462 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36463 if test "$wxUSE_HTML" = "yes"; then
36464 cat >>confdefs.h
<<\_ACEOF
36465 #define wxUSE_WXHTML_HELP 1
36469 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36470 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36471 wxUSE_WXHTML_HELP
=no
36476 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36477 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36478 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36479 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36481 cat >>confdefs.h
<<\_ACEOF
36482 #define wxUSE_PRINTING_ARCHITECTURE 1
36486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36489 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36490 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36491 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36492 { (exit 1); exit 1; }; }
36496 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36497 -o "$wxUSE_CLIPBOARD" = "yes" \
36498 -o "$wxUSE_OLE" = "yes" \
36499 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36501 for ac_header
in ole2.h
36503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36505 echo "$as_me:$LINENO: checking for $ac_header" >&5
36506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36508 echo $ECHO_N "(cached) $ECHO_C" >&6
36510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36513 # Is the header compilable?
36514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36516 cat >conftest.
$ac_ext <<_ACEOF
36519 cat confdefs.h
>>conftest.
$ac_ext
36520 cat >>conftest.
$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36522 $ac_includes_default
36523 #include <$ac_header>
36525 rm -f conftest.
$ac_objext
36526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36527 (eval $ac_compile) 2>conftest.er1
36529 grep -v '^ *+' conftest.er1
>conftest.err
36531 cat conftest.err
>&5
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); } &&
36534 { ac_try
='test -z "$ac_c_werror_flag"
36535 || test ! -s conftest.err'
36536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36537 (eval $ac_try) 2>&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); }; } &&
36541 { ac_try
='test -s conftest.$ac_objext'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; }; then
36547 ac_header_compiler
=yes
36549 echo "$as_me: failed program was:" >&5
36550 sed 's/^/| /' conftest.
$ac_ext >&5
36552 ac_header_compiler
=no
36554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36556 echo "${ECHO_T}$ac_header_compiler" >&6
36558 # Is the header present?
36559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36561 cat >conftest.
$ac_ext <<_ACEOF
36564 cat confdefs.h
>>conftest.
$ac_ext
36565 cat >>conftest.
$ac_ext <<_ACEOF
36566 /* end confdefs.h. */
36567 #include <$ac_header>
36569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36572 grep -v '^ *+' conftest.er1
>conftest.err
36574 cat conftest.err
>&5
36575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576 (exit $ac_status); } >/dev
/null
; then
36577 if test -s conftest.err
; then
36578 ac_cpp_err
=$ac_c_preproc_warn_flag
36579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36586 if test -z "$ac_cpp_err"; then
36587 ac_header_preproc
=yes
36589 echo "$as_me: failed program was:" >&5
36590 sed 's/^/| /' conftest.
$ac_ext >&5
36592 ac_header_preproc
=no
36594 rm -f conftest.err conftest.
$ac_ext
36595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36596 echo "${ECHO_T}$ac_header_preproc" >&6
36598 # So? What about this header?
36599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36605 ac_header_preproc
=yes
36608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36622 ## ----------------------------------------- ##
36623 ## Report this to wx-dev@lists.wxwindows.org ##
36624 ## ----------------------------------------- ##
36627 sed "s/^/$as_me: WARNING: /" >&2
36630 echo "$as_me:$LINENO: checking for $ac_header" >&5
36631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36633 echo $ECHO_N "(cached) $ECHO_C" >&6
36635 eval "$as_ac_Header=\$ac_header_preproc"
36637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36642 cat >>confdefs.h
<<_ACEOF
36643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36651 if test "$ac_cv_header_ole2_h" = "yes" ; then
36652 if test "$GCC" = yes ; then
36656 ac_cpp
='$CXXCPP $CPPFLAGS'
36657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36662 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36663 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36664 cat >conftest.
$ac_ext <<_ACEOF
36667 cat confdefs.h
>>conftest.
$ac_ext
36668 cat >>conftest.
$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 #include <windows.h>
36680 rm -f conftest.
$ac_objext
36681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36682 (eval $ac_compile) 2>conftest.er1
36684 grep -v '^ *+' conftest.er1
>conftest.err
36686 cat conftest.err
>&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); } &&
36689 { ac_try
='test -z "$ac_cxx_werror_flag"
36690 || test ! -s conftest.err'
36691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36692 (eval $ac_try) 2>&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); }; } &&
36696 { ac_try
='test -s conftest.$ac_objext'
36697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36698 (eval $ac_try) 2>&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); }; }; then
36702 echo "$as_me:$LINENO: result: no" >&5
36703 echo "${ECHO_T}no" >&6
36705 echo "$as_me: failed program was:" >&5
36706 sed 's/^/| /' conftest.
$ac_ext >&5
36708 echo "$as_me:$LINENO: result: yes" >&5
36709 echo "${ECHO_T}yes" >&6
36710 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36714 ac_cpp
='$CPP $CPPFLAGS'
36715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36719 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36720 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36721 if test "$wxUSE_OLE" = "yes" ; then
36722 cat >>confdefs.h
<<\_ACEOF
36723 #define wxUSE_OLE 1
36729 if test "$wxUSE_DATAOBJ" = "yes" ; then
36730 cat >>confdefs.h
<<\_ACEOF
36731 #define wxUSE_DATAOBJ 1
36736 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36737 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36740 wxUSE_DRAG_AND_DROP
=no
36745 if test "$wxUSE_METAFILE" = "yes"; then
36746 cat >>confdefs.h
<<\_ACEOF
36747 #define wxUSE_METAFILE 1
36751 cat >>confdefs.h
<<\_ACEOF
36752 #define wxUSE_ENH_METAFILE 1
36758 if test "$wxUSE_IPC" = "yes"; then
36759 if test "$wxUSE_SOCKETS" != "yes"; then
36760 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36761 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36764 cat >>confdefs.h
<<\_ACEOF
36765 #define wxUSE_IPC 1
36770 if test "$wxUSE_CLIPBOARD" = "yes"; then
36771 if test "$wxUSE_MGL" = 1; then
36772 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36773 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36777 if test "$wxUSE_CLIPBOARD" = "yes"; then
36778 cat >>confdefs.h
<<\_ACEOF
36779 #define wxUSE_CLIPBOARD 1
36783 cat >>confdefs.h
<<\_ACEOF
36784 #define wxUSE_DATAOBJ 1
36790 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36791 if test "$wxUSE_GTK" = 1; then
36792 if test "$WXGTK12" != 1; then
36793 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36794 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36795 wxUSE_DRAG_AND_DROP
=no
36799 if test "$wxUSE_MOTIF" = 1; then
36800 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36801 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36802 wxUSE_DRAG_AND_DROP
=no
36805 if test "$wxUSE_X11" = 1; then
36806 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36807 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36808 wxUSE_DRAG_AND_DROP
=no
36811 if test "$wxUSE_MGL" = 1; then
36812 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36813 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36814 wxUSE_DRAG_AND_DROP
=no
36817 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36818 cat >>confdefs.h
<<\_ACEOF
36819 #define wxUSE_DRAG_AND_DROP 1
36826 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36830 if test "$wxUSE_SPLINES" = "yes" ; then
36831 cat >>confdefs.h
<<\_ACEOF
36832 #define wxUSE_SPLINES 1
36839 if test "$wxUSE_CONTROLS" = "yes"; then
36843 if test "$wxUSE_ACCEL" = "yes"; then
36844 cat >>confdefs.h
<<\_ACEOF
36845 #define wxUSE_ACCEL 1
36851 if test "$wxUSE_BUTTON" = "yes"; then
36852 cat >>confdefs.h
<<\_ACEOF
36853 #define wxUSE_BUTTON 1
36859 if test "$wxUSE_BMPBUTTON" = "yes"; then
36860 cat >>confdefs.h
<<\_ACEOF
36861 #define wxUSE_BMPBUTTON 1
36867 if test "$wxUSE_CALCTRL" = "yes"; then
36868 cat >>confdefs.h
<<\_ACEOF
36869 #define wxUSE_CALENDARCTRL 1
36873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36876 if test "$wxUSE_CARET" = "yes"; then
36877 cat >>confdefs.h
<<\_ACEOF
36878 #define wxUSE_CARET 1
36882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36885 if test "$wxUSE_COMBOBOX" = "yes"; then
36886 cat >>confdefs.h
<<\_ACEOF
36887 #define wxUSE_COMBOBOX 1
36893 if test "$wxUSE_CHOICE" = "yes"; then
36894 cat >>confdefs.h
<<\_ACEOF
36895 #define wxUSE_CHOICE 1
36901 if test "$wxUSE_CHECKBOX" = "yes"; then
36902 cat >>confdefs.h
<<\_ACEOF
36903 #define wxUSE_CHECKBOX 1
36909 if test "$wxUSE_CHECKLST" = "yes"; then
36910 cat >>confdefs.h
<<\_ACEOF
36911 #define wxUSE_CHECKLISTBOX 1
36915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36918 if test "$wxUSE_DISPLAY" = "yes"; then
36919 cat >>confdefs.h
<<\_ACEOF
36920 #define wxUSE_DISPLAY 1
36923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36926 if test "$wxUSE_GAUGE" = "yes"; then
36927 cat >>confdefs.h
<<\_ACEOF
36928 #define wxUSE_GAUGE 1
36934 if test "$wxUSE_GRID" = "yes"; then
36935 cat >>confdefs.h
<<\_ACEOF
36936 #define wxUSE_GRID 1
36940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36943 if test "$wxUSE_IMAGLIST" = "yes"; then
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define wxUSE_IMAGLIST 1
36950 if test "$wxUSE_LISTBOOK" = "yes"; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_LISTBOOK 1
36958 if test "$wxUSE_LISTBOX" = "yes"; then
36959 cat >>confdefs.h
<<\_ACEOF
36960 #define wxUSE_LISTBOX 1
36966 if test "$wxUSE_LISTCTRL" = "yes"; then
36967 if test "$wxUSE_IMAGLIST" = "yes"; then
36968 cat >>confdefs.h
<<\_ACEOF
36969 #define wxUSE_LISTCTRL 1
36973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36975 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36976 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36980 if test "$wxUSE_NOTEBOOK" = "yes"; then
36981 cat >>confdefs.h
<<\_ACEOF
36982 #define wxUSE_NOTEBOOK 1
36986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36990 if test "$wxUSE_RADIOBOX" = "yes"; then
36991 cat >>confdefs.h
<<\_ACEOF
36992 #define wxUSE_RADIOBOX 1
36998 if test "$wxUSE_RADIOBTN" = "yes"; then
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define wxUSE_RADIOBTN 1
37006 if test "$wxUSE_SASH" = "yes"; then
37007 cat >>confdefs.h
<<\_ACEOF
37008 #define wxUSE_SASH 1
37011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37014 if test "$wxUSE_SCROLLBAR" = "yes"; then
37015 cat >>confdefs.h
<<\_ACEOF
37016 #define wxUSE_SCROLLBAR 1
37020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37023 if test "$wxUSE_SLIDER" = "yes"; then
37024 cat >>confdefs.h
<<\_ACEOF
37025 #define wxUSE_SLIDER 1
37031 if test "$wxUSE_SPINBTN" = "yes"; then
37032 cat >>confdefs.h
<<\_ACEOF
37033 #define wxUSE_SPINBTN 1
37039 if test "$wxUSE_SPINCTRL" = "yes"; then
37040 cat >>confdefs.h
<<\_ACEOF
37041 #define wxUSE_SPINCTRL 1
37047 if test "$wxUSE_SPLITTER" = "yes"; then
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_SPLITTER 1
37052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37055 if test "$wxUSE_STATBMP" = "yes"; then
37056 cat >>confdefs.h
<<\_ACEOF
37057 #define wxUSE_STATBMP 1
37063 if test "$wxUSE_STATBOX" = "yes"; then
37064 cat >>confdefs.h
<<\_ACEOF
37065 #define wxUSE_STATBOX 1
37071 if test "$wxUSE_STATTEXT" = "yes"; then
37072 cat >>confdefs.h
<<\_ACEOF
37073 #define wxUSE_STATTEXT 1
37079 if test "$wxUSE_STATLINE" = "yes"; then
37080 cat >>confdefs.h
<<\_ACEOF
37081 #define wxUSE_STATLINE 1
37087 if test "$wxUSE_STATUSBAR" = "yes"; then
37088 cat >>confdefs.h
<<\_ACEOF
37089 #define wxUSE_STATUSBAR 1
37094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37097 if test "$wxUSE_TABDIALOG" = "yes"; then
37098 cat >>confdefs.h
<<\_ACEOF
37099 #define wxUSE_TAB_DIALOG 1
37102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37105 if test "$wxUSE_TEXTCTRL" = "yes"; then
37106 cat >>confdefs.h
<<\_ACEOF
37107 #define wxUSE_TEXTCTRL 1
37111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37114 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37115 if test "$wxUSE_COCOA" = 1 ; then
37116 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37117 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37120 if test "$wxUSE_UNIVERSAL" = "yes"; then
37121 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37122 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37126 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37127 cat >>confdefs.h
<<\_ACEOF
37128 #define wxUSE_TOGGLEBTN 1
37135 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37136 cat >>confdefs.h
<<\_ACEOF
37137 #define wxUSE_TOOLBAR_SIMPLE 1
37140 wxUSE_TOOLBAR
="yes"
37144 if test "$wxUSE_TOOLBAR" = "yes"; then
37145 cat >>confdefs.h
<<\_ACEOF
37146 #define wxUSE_TOOLBAR 1
37151 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37152 wxUSE_TOOLBAR_NATIVE
="yes"
37155 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37156 cat >>confdefs.h
<<\_ACEOF
37157 #define wxUSE_TOOLBAR_NATIVE 1
37163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37166 if test "$wxUSE_TOOLTIPS" = "yes"; then
37167 if test "$wxUSE_MOTIF" = 1; then
37168 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37169 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37171 if test "$wxUSE_UNIVERSAL" = "yes"; then
37172 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37173 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37175 cat >>confdefs.h
<<\_ACEOF
37176 #define wxUSE_TOOLTIPS 1
37183 if test "$wxUSE_TREECTRL" = "yes"; then
37184 if test "$wxUSE_IMAGLIST" = "yes"; then
37185 cat >>confdefs.h
<<\_ACEOF
37186 #define wxUSE_TREECTRL 1
37190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37192 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37193 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37197 if test "$wxUSE_POPUPWIN" = "yes"; then
37198 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37199 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37200 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37202 if test "$wxUSE_PM" = 1; then
37203 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37204 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37206 cat >>confdefs.h
<<\_ACEOF
37207 #define wxUSE_POPUPWIN 1
37216 if test "$wxUSE_TIPWINDOW" = "yes"; then
37217 if test "$wxUSE_PM" = 1; then
37218 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37219 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37221 cat >>confdefs.h
<<\_ACEOF
37222 #define wxUSE_TIPWINDOW 1
37228 if test "$USES_CONTROLS" = 1; then
37229 cat >>confdefs.h
<<\_ACEOF
37230 #define wxUSE_CONTROLS 1
37236 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37237 cat >>confdefs.h
<<\_ACEOF
37238 #define wxUSE_ACCESSIBILITY 1
37241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37244 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37245 cat >>confdefs.h
<<\_ACEOF
37246 #define wxUSE_DRAGIMAGE 1
37249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37252 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37253 cat >>confdefs.h
<<\_ACEOF
37254 #define wxUSE_EXCEPTIONS 1
37260 if test "$wxUSE_HTML" = "yes"; then
37261 cat >>confdefs.h
<<\_ACEOF
37262 #define wxUSE_HTML 1
37266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37269 if test "$wxUSE_MENUS" = "yes"; then
37270 cat >>confdefs.h
<<\_ACEOF
37271 #define wxUSE_MENUS 1
37274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37277 if test "$wxUSE_METAFILE" = "yes"; then
37278 cat >>confdefs.h
<<\_ACEOF
37279 #define wxUSE_METAFILE 1
37284 if test "$wxUSE_MIMETYPE" = "yes"; then
37285 cat >>confdefs.h
<<\_ACEOF
37286 #define wxUSE_MIMETYPE 1
37291 if test "$wxUSE_MINIFRAME" = "yes"; then
37292 cat >>confdefs.h
<<\_ACEOF
37293 #define wxUSE_MINIFRAME 1
37296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37299 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37300 cat >>confdefs.h
<<\_ACEOF
37301 #define wxUSE_SYSTEM_OPTIONS 1
37304 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37305 "$TOOLKIT" = "MOTIF"; then
37306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37311 if test "$wxUSE_VALIDATORS" = "yes"; then
37312 cat >>confdefs.h
<<\_ACEOF
37313 #define wxUSE_VALIDATORS 1
37316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37319 if test "$wxUSE_PALETTE" = "yes" ; then
37320 cat >>confdefs.h
<<\_ACEOF
37321 #define wxUSE_PALETTE 1
37326 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37327 LIBS
=" -lunicows $LIBS"
37331 if test "$wxUSE_IMAGE" = "yes" ; then
37332 cat >>confdefs.h
<<\_ACEOF
37333 #define wxUSE_IMAGE 1
37337 if test "$wxUSE_GIF" = "yes" ; then
37338 cat >>confdefs.h
<<\_ACEOF
37339 #define wxUSE_GIF 1
37344 if test "$wxUSE_PCX" = "yes" ; then
37345 cat >>confdefs.h
<<\_ACEOF
37346 #define wxUSE_PCX 1
37351 if test "$wxUSE_IFF" = "yes" ; then
37352 cat >>confdefs.h
<<\_ACEOF
37353 #define wxUSE_IFF 1
37358 if test "$wxUSE_PNM" = "yes" ; then
37359 cat >>confdefs.h
<<\_ACEOF
37360 #define wxUSE_PNM 1
37365 if test "$wxUSE_XPM" = "yes" ; then
37366 cat >>confdefs.h
<<\_ACEOF
37367 #define wxUSE_XPM 1
37372 if test "$wxUSE_ICO_CUR" = "yes" ; then
37373 cat >>confdefs.h
<<\_ACEOF
37374 #define wxUSE_ICO_CUR 1
37381 if test "$wxUSE_CHOICEDLG" = "yes"; then
37382 cat >>confdefs.h
<<\_ACEOF
37383 #define wxUSE_CHOICEDLG 1
37388 if test "$wxUSE_COLOURDLG" = "yes"; then
37389 cat >>confdefs.h
<<\_ACEOF
37390 #define wxUSE_COLOURDLG 1
37395 if test "$wxUSE_FILEDLG" = "yes"; then
37396 cat >>confdefs.h
<<\_ACEOF
37397 #define wxUSE_FILEDLG 1
37402 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37403 cat >>confdefs.h
<<\_ACEOF
37404 #define wxUSE_FINDREPLDLG 1
37409 if test "$wxUSE_FONTDLG" = "yes"; then
37410 cat >>confdefs.h
<<\_ACEOF
37411 #define wxUSE_FONTDLG 1
37416 if test "$wxUSE_DIRDLG" = "yes"; then
37417 if test "$wxUSE_TREECTRL" != "yes"; then
37418 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37419 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37421 cat >>confdefs.h
<<\_ACEOF
37422 #define wxUSE_DIRDLG 1
37428 if test "$wxUSE_MSGDLG" = "yes"; then
37429 cat >>confdefs.h
<<\_ACEOF
37430 #define wxUSE_MSGDLG 1
37435 if test "$wxUSE_NUMBERDLG" = "yes"; then
37436 cat >>confdefs.h
<<\_ACEOF
37437 #define wxUSE_NUMBERDLG 1
37442 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37443 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37444 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37445 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37447 cat >>confdefs.h
<<\_ACEOF
37448 #define wxUSE_PROGRESSDLG 1
37454 if test "$wxUSE_SPLASH" = "yes"; then
37455 cat >>confdefs.h
<<\_ACEOF
37456 #define wxUSE_SPLASH 1
37461 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37462 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37463 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37464 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37466 cat >>confdefs.h
<<\_ACEOF
37467 #define wxUSE_STARTUP_TIPS 1
37473 if test "$wxUSE_TEXTDLG" = "yes"; then
37474 cat >>confdefs.h
<<\_ACEOF
37475 #define wxUSE_TEXTDLG 1
37480 if test "$wxUSE_WIZARDDLG" = "yes"; then
37481 cat >>confdefs.h
<<\_ACEOF
37482 #define wxUSE_WIZARDDLG 1
37485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37489 if test "$cross_compiling" = "yes"; then
37492 OSINFO
=`uname -s -r -m`
37493 OSINFO
="\"$OSINFO\""
37496 cat >>confdefs.h
<<_ACEOF
37497 #define WXWIN_OS_DESCRIPTION $OSINFO
37502 if test "x$prefix" != "xNONE"; then
37505 wxPREFIX
=$ac_default_prefix
37508 cat >>confdefs.h
<<_ACEOF
37509 #define wxINSTALL_PREFIX "$wxPREFIX"
37513 top_builddir_wxconfig
=`pwd`
37517 CORE_BASE_LIBS
="net base"
37518 CORE_GUI_LIBS
="adv core"
37520 if test "$wxUSE_XML" = "yes" ; then
37521 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37523 if test "$wxUSE_ODBC" != "no" ; then
37524 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37525 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37527 if test "$wxUSE_HTML" = "yes" ; then
37528 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37531 if test "$wxUSE_GUI" != "yes"; then
37542 if test "$wxUSE_MAC" = 1 ; then
37543 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37545 if test "$wxUSE_COCOA" = 1 ; then
37546 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37550 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37558 echo "$as_me:$LINENO: checking for $ac_func" >&5
37559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37560 if eval "test \"\${$as_ac_var+set}\" = set"; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 cat >conftest.
$ac_ext <<_ACEOF
37566 cat confdefs.h
>>conftest.
$ac_ext
37567 cat >>conftest.
$ac_ext <<_ACEOF
37568 /* end confdefs.h. */
37569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37571 #define $ac_func innocuous_$ac_func
37573 /* System header to define __stub macros and hopefully few prototypes,
37574 which can conflict with char $ac_func (); below.
37575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37576 <limits.h> exists even on freestanding compilers. */
37579 # include <limits.h>
37581 # include <assert.h>
37586 /* Override any gcc2 internal prototype to avoid an error. */
37591 /* We use char because int might match the return type of a gcc2
37592 builtin and then its argument prototype would still apply. */
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37600 char (*f) () = $ac_func;
37609 return f != $ac_func;
37614 rm -f conftest.
$ac_objext conftest
$ac_exeext
37615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37616 (eval $ac_link) 2>conftest.er1
37618 grep -v '^ *+' conftest.er1
>conftest.err
37620 cat conftest.err
>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } &&
37623 { ac_try
='test -z "$ac_c_werror_flag"
37624 || test ! -s conftest.err'
37625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626 (eval $ac_try) 2>&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); }; } &&
37630 { ac_try
='test -s conftest$ac_exeext'
37631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37632 (eval $ac_try) 2>&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); }; }; then
37636 eval "$as_ac_var=yes"
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.
$ac_ext >&5
37641 eval "$as_ac_var=no"
37643 rm -f conftest.err conftest.
$ac_objext \
37644 conftest
$ac_exeext conftest.
$ac_ext
37646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37648 if test `eval echo '${'$as_ac_var'}'` = yes; then
37649 cat >>confdefs.h
<<_ACEOF
37650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37657 for ac_func
in floor
37659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37660 echo "$as_me:$LINENO: checking for $ac_func" >&5
37661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37662 if eval "test \"\${$as_ac_var+set}\" = set"; then
37663 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 cat >conftest.
$ac_ext <<_ACEOF
37668 cat confdefs.h
>>conftest.
$ac_ext
37669 cat >>conftest.
$ac_ext <<_ACEOF
37670 /* end confdefs.h. */
37671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37673 #define $ac_func innocuous_$ac_func
37675 /* System header to define __stub macros and hopefully few prototypes,
37676 which can conflict with char $ac_func (); below.
37677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37678 <limits.h> exists even on freestanding compilers. */
37681 # include <limits.h>
37683 # include <assert.h>
37688 /* Override any gcc2 internal prototype to avoid an error. */
37693 /* We use char because int might match the return type of a gcc2
37694 builtin and then its argument prototype would still apply. */
37696 /* The GNU C library defines this for functions which it implements
37697 to always fail with ENOSYS. Some functions are actually named
37698 something starting with __ and the normal name is an alias. */
37699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37702 char (*f) () = $ac_func;
37711 return f != $ac_func;
37716 rm -f conftest.
$ac_objext conftest
$ac_exeext
37717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37718 (eval $ac_link) 2>conftest.er1
37720 grep -v '^ *+' conftest.er1
>conftest.err
37722 cat conftest.err
>&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); } &&
37725 { ac_try
='test -z "$ac_c_werror_flag"
37726 || test ! -s conftest.err'
37727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37728 (eval $ac_try) 2>&5
37730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37731 (exit $ac_status); }; } &&
37732 { ac_try
='test -s conftest$ac_exeext'
37733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37734 (eval $ac_try) 2>&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); }; }; then
37738 eval "$as_ac_var=yes"
37740 echo "$as_me: failed program was:" >&5
37741 sed 's/^/| /' conftest.
$ac_ext >&5
37743 eval "$as_ac_var=no"
37745 rm -f conftest.err conftest.
$ac_objext \
37746 conftest
$ac_exeext conftest.
$ac_ext
37748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37750 if test `eval echo '${'$as_ac_var'}'` = yes; then
37751 cat >>confdefs.h
<<_ACEOF
37752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37758 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37759 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37760 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37761 echo "$as_me:$LINENO: result: yes" >&5
37762 echo "${ECHO_T}yes" >&6
37764 echo "$as_me:$LINENO: result: no" >&5
37765 echo "${ECHO_T}no" >&6
37767 # use different functions to avoid configure caching
37773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37774 echo "$as_me:$LINENO: checking for $ac_func" >&5
37775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37776 if eval "test \"\${$as_ac_var+set}\" = set"; then
37777 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 cat >conftest.
$ac_ext <<_ACEOF
37782 cat confdefs.h
>>conftest.
$ac_ext
37783 cat >>conftest.
$ac_ext <<_ACEOF
37784 /* end confdefs.h. */
37785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37787 #define $ac_func innocuous_$ac_func
37789 /* System header to define __stub macros and hopefully few prototypes,
37790 which can conflict with char $ac_func (); below.
37791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37792 <limits.h> exists even on freestanding compilers. */
37795 # include <limits.h>
37797 # include <assert.h>
37802 /* Override any gcc2 internal prototype to avoid an error. */
37807 /* We use char because int might match the return type of a gcc2
37808 builtin and then its argument prototype would still apply. */
37810 /* The GNU C library defines this for functions which it implements
37811 to always fail with ENOSYS. Some functions are actually named
37812 something starting with __ and the normal name is an alias. */
37813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37816 char (*f) () = $ac_func;
37825 return f != $ac_func;
37830 rm -f conftest.
$ac_objext conftest
$ac_exeext
37831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37832 (eval $ac_link) 2>conftest.er1
37834 grep -v '^ *+' conftest.er1
>conftest.err
37836 cat conftest.err
>&5
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); } &&
37839 { ac_try
='test -z "$ac_c_werror_flag"
37840 || test ! -s conftest.err'
37841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37842 (eval $ac_try) 2>&5
37844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37845 (exit $ac_status); }; } &&
37846 { ac_try
='test -s conftest$ac_exeext'
37847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37848 (eval $ac_try) 2>&5
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); }; }; then
37852 eval "$as_ac_var=yes"
37854 echo "$as_me: failed program was:" >&5
37855 sed 's/^/| /' conftest.
$ac_ext >&5
37857 eval "$as_ac_var=no"
37859 rm -f conftest.err conftest.
$ac_objext \
37860 conftest
$ac_exeext conftest.
$ac_ext
37862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37864 if test `eval echo '${'$as_ac_var'}'` = yes; then
37865 cat >>confdefs.h
<<_ACEOF
37866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37873 for ac_func
in ceil
37875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37876 echo "$as_me:$LINENO: checking for $ac_func" >&5
37877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37878 if eval "test \"\${$as_ac_var+set}\" = set"; then
37879 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 cat >conftest.
$ac_ext <<_ACEOF
37884 cat confdefs.h
>>conftest.
$ac_ext
37885 cat >>conftest.
$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37889 #define $ac_func innocuous_$ac_func
37891 /* System header to define __stub macros and hopefully few prototypes,
37892 which can conflict with char $ac_func (); below.
37893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37894 <limits.h> exists even on freestanding compilers. */
37897 # include <limits.h>
37899 # include <assert.h>
37904 /* Override any gcc2 internal prototype to avoid an error. */
37909 /* We use char because int might match the return type of a gcc2
37910 builtin and then its argument prototype would still apply. */
37912 /* The GNU C library defines this for functions which it implements
37913 to always fail with ENOSYS. Some functions are actually named
37914 something starting with __ and the normal name is an alias. */
37915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37918 char (*f) () = $ac_func;
37927 return f != $ac_func;
37932 rm -f conftest.
$ac_objext conftest
$ac_exeext
37933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37934 (eval $ac_link) 2>conftest.er1
37936 grep -v '^ *+' conftest.er1
>conftest.err
37938 cat conftest.err
>&5
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); } &&
37941 { ac_try
='test -z "$ac_c_werror_flag"
37942 || test ! -s conftest.err'
37943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37944 (eval $ac_try) 2>&5
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); }; } &&
37948 { ac_try
='test -s conftest$ac_exeext'
37949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950 (eval $ac_try) 2>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); }; }; then
37954 eval "$as_ac_var=yes"
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.
$ac_ext >&5
37959 eval "$as_ac_var=no"
37961 rm -f conftest.err conftest.
$ac_objext \
37962 conftest
$ac_exeext conftest.
$ac_ext
37964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37966 if test `eval echo '${'$as_ac_var'}'` = yes; then
37967 cat >>confdefs.h
<<_ACEOF
37968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37974 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37975 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37976 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37977 echo "$as_me:$LINENO: result: yes" >&5
37978 echo "${ECHO_T}yes" >&6
37980 echo "$as_me:$LINENO: result: no" >&5
37981 echo "${ECHO_T}no" >&6
37982 # not sure we should warn the user, crash, etc.
37986 if test "$wxUSE_GUI" = "yes"; then
37989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37990 drawing dynamic erase event exec font image \
37991 minimal propsize rotate shaped widgets render"
37993 if test "$wxUSE_MONOLITHIC" != "yes"; then
37994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37997 SAMPLES_SUBDIRS
="console"
38001 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
38002 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38004 if test "$GXX" = yes ; then
38005 CXXWARNINGS
="-Wall"
38008 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38010 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
38011 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
38012 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
38015 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
38016 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38017 EXTRALIBS_XML
="$EXPAT_LINK"
38018 EXTRALIBS_HTML
="$MSPACK_LINK"
38019 EXTRALIBS_ODBC
="$ODBC_LINK"
38020 if test "$wxUSE_GUI" = "yes"; then
38021 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
38023 if test "$wxUSE_OPENGL" = "yes"; then
38024 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38027 LDFLAGS
="$LDFLAGS $PROFILE"
38029 if test "$wxUSE_GTK" = 1; then
38032 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38035 WXCONFIG_EXTRALIBS
="$LIBS"
38037 if test "$wxUSE_REGEX" = "builtin" ; then
38038 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38040 if test "$wxUSE_EXPAT" = "builtin" ; then
38041 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38043 if test "$wxUSE_ODBC" = "builtin" ; then
38044 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38046 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38047 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38049 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38050 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38052 if test "$wxUSE_LIBPNG" = "builtin" ; then
38053 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38055 if test "$wxUSE_ZLIB" = "builtin" ; then
38056 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38058 if test "$wxUSE_ODBC" = "builtin" ; then
38059 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38062 for i
in $wxconfig_3rdparty ; do
38063 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
38067 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38081 if test $wxUSE_MONOLITHIC = "yes" ; then
38087 if test $wxUSE_PLUGINS = "yes" ; then
38093 if test $wxUSE_ODBC != "no" ; then
38099 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38125 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38135 if test "x$BAKEFILE_HOST" = "x"; then
38136 BAKEFILE_HOST
="${host}"
38139 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38141 if test -n "$ac_tool_prefix"; then
38142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38143 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38144 echo "$as_me:$LINENO: checking for $ac_word" >&5
38145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38146 if test "${ac_cv_prog_RANLIB+set}" = set; then
38147 echo $ECHO_N "(cached) $ECHO_C" >&6
38149 if test -n "$RANLIB"; then
38150 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38153 for as_dir
in $PATH
38156 test -z "$as_dir" && as_dir
=.
38157 for ac_exec_ext
in '' $ac_executable_extensions; do
38158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38159 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38168 RANLIB
=$ac_cv_prog_RANLIB
38169 if test -n "$RANLIB"; then
38170 echo "$as_me:$LINENO: result: $RANLIB" >&5
38171 echo "${ECHO_T}$RANLIB" >&6
38173 echo "$as_me:$LINENO: result: no" >&5
38174 echo "${ECHO_T}no" >&6
38178 if test -z "$ac_cv_prog_RANLIB"; then
38179 ac_ct_RANLIB
=$RANLIB
38180 # Extract the first word of "ranlib", so it can be a program name with args.
38181 set dummy ranlib
; ac_word
=$2
38182 echo "$as_me:$LINENO: checking for $ac_word" >&5
38183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38187 if test -n "$ac_ct_RANLIB"; then
38188 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38191 for as_dir
in $PATH
38194 test -z "$as_dir" && as_dir
=.
38195 for ac_exec_ext
in '' $ac_executable_extensions; do
38196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38197 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38207 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38208 if test -n "$ac_ct_RANLIB"; then
38209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38212 echo "$as_me:$LINENO: result: no" >&5
38213 echo "${ECHO_T}no" >&6
38216 RANLIB
=$ac_ct_RANLIB
38218 RANLIB
="$ac_cv_prog_RANLIB"
38221 # Find a good install program. We prefer a C program (faster),
38222 # so one script is as good as another. But avoid the broken or
38223 # incompatible versions:
38224 # SysV /etc/install, /usr/sbin/install
38225 # SunOS /usr/etc/install
38226 # IRIX /sbin/install
38228 # AmigaOS /C/install, which installs bootblocks on floppy discs
38229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38232 # OS/2's system install, which has a completely different semantic
38233 # ./install, which can be erroneously created by make from ./install.sh.
38234 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38235 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38236 if test -z "$INSTALL"; then
38237 if test "${ac_cv_path_install+set}" = set; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38241 for as_dir
in $PATH
38244 test -z "$as_dir" && as_dir
=.
38245 # Account for people who put trailing slashes in PATH elements.
38247 .
/ | .
// | /cC
/* | \
38248 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38249 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38252 # OSF1 and SCO ODT 3.0 have their own names for install.
38253 # Don't use installbsd from OSF since it installs stuff as root
38255 for ac_prog
in ginstall scoinst
install; do
38256 for ac_exec_ext
in '' $ac_executable_extensions; do
38257 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38258 if test $ac_prog = install &&
38259 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38260 # AIX install. It has an incompatible calling convention.
38262 elif test $ac_prog = install &&
38263 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38264 # program-specific install script used by HP pwplus--don't use.
38267 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38279 if test "${ac_cv_path_install+set}" = set; then
38280 INSTALL
=$ac_cv_path_install
38282 # As a last resort, use the slow shell script. We don't cache a
38283 # path for INSTALL within a source directory, because that will
38284 # break other packages using the cache if that directory is
38285 # removed, or if the path is relative.
38286 INSTALL
=$ac_install_sh
38289 echo "$as_me:$LINENO: result: $INSTALL" >&5
38290 echo "${ECHO_T}$INSTALL" >&6
38292 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38293 # It thinks the first close brace ends the variable substitution.
38294 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38296 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38298 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38300 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38301 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38303 if test "$LN_S" = "ln -s"; then
38304 echo "$as_me:$LINENO: result: yes" >&5
38305 echo "${ECHO_T}yes" >&6
38307 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38308 echo "${ECHO_T}no, using $LN_S" >&6
38312 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38313 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38314 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38315 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38316 echo $ECHO_N "(cached) $ECHO_C" >&6
38318 cat >conftest.
make <<\_ACEOF
38320 @
echo 'ac_maketemp="$(MAKE)"'
38322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38323 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38324 if test -n "$ac_maketemp"; then
38325 eval ac_cv_prog_make_
${ac_make}_set
=yes
38327 eval ac_cv_prog_make_
${ac_make}_set
=no
38329 rm -f conftest.
make
38331 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38332 echo "$as_me:$LINENO: result: yes" >&5
38333 echo "${ECHO_T}yes" >&6
38336 echo "$as_me:$LINENO: result: no" >&5
38337 echo "${ECHO_T}no" >&6
38338 SET_MAKE
="MAKE=${MAKE-make}"
38343 if test -n "$ac_tool_prefix"; then
38344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38345 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38346 echo "$as_me:$LINENO: checking for $ac_word" >&5
38347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38348 if test "${ac_cv_prog_AR+set}" = set; then
38349 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 if test -n "$AR"; then
38352 ac_cv_prog_AR
="$AR" # Let the user override the test.
38354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38355 for as_dir
in $PATH
38358 test -z "$as_dir" && as_dir
=.
38359 for ac_exec_ext
in '' $ac_executable_extensions; do
38360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38361 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38371 if test -n "$AR"; then
38372 echo "$as_me:$LINENO: result: $AR" >&5
38373 echo "${ECHO_T}$AR" >&6
38375 echo "$as_me:$LINENO: result: no" >&5
38376 echo "${ECHO_T}no" >&6
38380 if test -z "$ac_cv_prog_AR"; then
38382 # Extract the first word of "ar", so it can be a program name with args.
38383 set dummy
ar; ac_word
=$2
38384 echo "$as_me:$LINENO: checking for $ac_word" >&5
38385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 if test -n "$ac_ct_AR"; then
38390 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38393 for as_dir
in $PATH
38396 test -z "$as_dir" && as_dir
=.
38397 for ac_exec_ext
in '' $ac_executable_extensions; do
38398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38399 ac_cv_prog_ac_ct_AR
="ar"
38400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38406 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38409 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38410 if test -n "$ac_ct_AR"; then
38411 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38412 echo "${ECHO_T}$ac_ct_AR" >&6
38414 echo "$as_me:$LINENO: result: no" >&5
38415 echo "${ECHO_T}no" >&6
38420 AR
="$ac_cv_prog_AR"
38423 if test -n "$ac_tool_prefix"; then
38424 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38425 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38426 echo "$as_me:$LINENO: checking for $ac_word" >&5
38427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38428 if test "${ac_cv_prog_STRIP+set}" = set; then
38429 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 if test -n "$STRIP"; then
38432 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38435 for as_dir
in $PATH
38438 test -z "$as_dir" && as_dir
=.
38439 for ac_exec_ext
in '' $ac_executable_extensions; do
38440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38441 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38450 STRIP
=$ac_cv_prog_STRIP
38451 if test -n "$STRIP"; then
38452 echo "$as_me:$LINENO: result: $STRIP" >&5
38453 echo "${ECHO_T}$STRIP" >&6
38455 echo "$as_me:$LINENO: result: no" >&5
38456 echo "${ECHO_T}no" >&6
38460 if test -z "$ac_cv_prog_STRIP"; then
38462 # Extract the first word of "strip", so it can be a program name with args.
38463 set dummy strip
; ac_word
=$2
38464 echo "$as_me:$LINENO: checking for $ac_word" >&5
38465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38466 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38467 echo $ECHO_N "(cached) $ECHO_C" >&6
38469 if test -n "$ac_ct_STRIP"; then
38470 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38473 for as_dir
in $PATH
38476 test -z "$as_dir" && as_dir
=.
38477 for ac_exec_ext
in '' $ac_executable_extensions; do
38478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38479 ac_cv_prog_ac_ct_STRIP
="strip"
38480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38486 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38489 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38490 if test -n "$ac_ct_STRIP"; then
38491 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38492 echo "${ECHO_T}$ac_ct_STRIP" >&6
38494 echo "$as_me:$LINENO: result: no" >&5
38495 echo "${ECHO_T}no" >&6
38500 STRIP
="$ac_cv_prog_STRIP"
38503 if test -n "$ac_tool_prefix"; then
38504 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38505 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38506 echo "$as_me:$LINENO: checking for $ac_word" >&5
38507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38508 if test "${ac_cv_prog_NM+set}" = set; then
38509 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 if test -n "$NM"; then
38512 ac_cv_prog_NM
="$NM" # Let the user override the test.
38514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38515 for as_dir
in $PATH
38518 test -z "$as_dir" && as_dir
=.
38519 for ac_exec_ext
in '' $ac_executable_extensions; do
38520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38521 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38531 if test -n "$NM"; then
38532 echo "$as_me:$LINENO: result: $NM" >&5
38533 echo "${ECHO_T}$NM" >&6
38535 echo "$as_me:$LINENO: result: no" >&5
38536 echo "${ECHO_T}no" >&6
38540 if test -z "$ac_cv_prog_NM"; then
38542 # Extract the first word of "nm", so it can be a program name with args.
38543 set dummy nm
; ac_word
=$2
38544 echo "$as_me:$LINENO: checking for $ac_word" >&5
38545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38546 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38547 echo $ECHO_N "(cached) $ECHO_C" >&6
38549 if test -n "$ac_ct_NM"; then
38550 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38553 for as_dir
in $PATH
38556 test -z "$as_dir" && as_dir
=.
38557 for ac_exec_ext
in '' $ac_executable_extensions; do
38558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38559 ac_cv_prog_ac_ct_NM
="nm"
38560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38566 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38569 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38570 if test -n "$ac_ct_NM"; then
38571 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38572 echo "${ECHO_T}$ac_ct_NM" >&6
38574 echo "$as_me:$LINENO: result: no" >&5
38575 echo "${ECHO_T}no" >&6
38580 NM
="$ac_cv_prog_NM"
38584 case ${BAKEFILE_HOST} in
38586 INSTALL_DIR
="mkdir"
38588 *) INSTALL_DIR
="$INSTALL -d"
38594 case ${BAKEFILE_HOST} in
38595 *-*-cygwin* | *-*-mingw32* )
38596 LDFLAGS_GUI
="-mwindows"
38602 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38603 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38604 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38608 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38609 egrep -s GNU
> /dev
/null
); then
38610 bakefile_cv_prog_makeisgnu
="yes"
38612 bakefile_cv_prog_makeisgnu
="no"
38616 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38617 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38619 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38634 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38635 case "${BAKEFILE_HOST}" in
38636 *-*-cygwin* | *-*-mingw32* )
38642 *-pc-os2_emx | *-pc-os2-emx )
38645 powerpc
-*-darwin* )
38654 case "$BAKEFILE_FORCE_PLATFORM" in
38672 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38673 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38674 { (exit 1); exit 1; }; }
38687 # Check whether --enable-omf or --disable-omf was given.
38688 if test "${enable_omf+set}" = set; then
38689 enableval
="$enable_omf"
38690 bk_os2_use_omf
="$enableval"
38693 case "${BAKEFILE_HOST}" in
38695 CFLAGS
="$CFLAGS -fno-common"
38696 CXXFLAGS
="$CXXFLAGS -fno-common"
38699 *-pc-os2_emx | *-pc-os2-emx )
38700 if test "x$bk_os2_use_omf" = "xyes" ; then
38703 LDFLAGS
="-Zomf $LDFLAGS"
38704 CFLAGS
="-Zomf $CFLAGS"
38705 CXXFLAGS
="-Zomf $CXXFLAGS"
38715 SO_SUFFIX_MODULE
="so"
38720 DLLPREFIX_MODULE
=""
38723 case "${BAKEFILE_HOST}" in
38726 SO_SUFFIX_MODULE
="sl"
38730 SO_SUFFIX_MODULE
="a"
38732 *-*-cygwin* | *-*-mingw32* )
38734 SO_SUFFIX_MODULE
="dll"
38735 DLLIMP_SUFFIX
="dll.a"
38743 *-pc-os2_emx | *-pc-os2-emx )
38745 SO_SUFFIX_MODULE
="dll"
38746 DLLIMP_SUFFIX
=$OS2_LIBEXT
38750 LIBEXT
=".$OS2_LIBEXT"
38752 powerpc
-*-darwin* )
38754 SO_SUFFIX_MODULE
="bundle"
38758 if test "x$DLLIMP_SUFFIX" = "x" ; then
38759 DLLIMP_SUFFIX
="$SO_SUFFIX"
38772 SHARED_LD_CC
="\$(CC) -shared -o"
38773 SHARED_LD_CXX
="\$(CXX) -shared -o"
38775 if test "x$GCC" = "xyes"; then
38779 case "${BAKEFILE_HOST}" in
38781 if test "x$GCC" = "xyes"; then
38782 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38783 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38785 LDFLAGS
="$LDFLAGS -L/usr/lib"
38787 SHARED_LD_CC
="${CC} -b -o"
38788 SHARED_LD_CXX
="${CXX} -b -o"
38794 if test "x$GCC" != "xyes"; then
38795 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38796 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38797 if test "${bakefile_cv_prog_icc+set}" = set; then
38798 echo $ECHO_N "(cached) $ECHO_C" >&6
38801 cat >conftest.
$ac_ext <<_ACEOF
38804 cat confdefs.h
>>conftest.
$ac_ext
38805 cat >>conftest.
$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38812 #ifndef __INTEL_COMPILER
38820 rm -f conftest.
$ac_objext
38821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38822 (eval $ac_compile) 2>conftest.er1
38824 grep -v '^ *+' conftest.er1
>conftest.err
38826 cat conftest.err
>&5
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); } &&
38829 { ac_try
='test -z "$ac_c_werror_flag"
38830 || test ! -s conftest.err'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; } &&
38836 { ac_try
='test -s conftest.$ac_objext'
38837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38838 (eval $ac_try) 2>&5
38840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841 (exit $ac_status); }; }; then
38842 bakefile_cv_prog_icc
=yes
38844 echo "$as_me: failed program was:" >&5
38845 sed 's/^/| /' conftest.
$ac_ext >&5
38847 bakefile_cv_prog_icc
=no
38850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38853 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38854 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38855 if test "$bakefile_cv_prog_icc" = "yes"; then
38862 if test "x$GCC" != xyes
; then
38863 SHARED_LD_CC
="${CC} -G -o"
38864 SHARED_LD_CXX
="${CXX} -G -o"
38871 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38872 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38873 if test "${wx_cv_gcc31+set}" = set; then
38874 echo $ECHO_N "(cached) $ECHO_C" >&6
38877 cat >conftest.
$ac_ext <<_ACEOF
38880 cat confdefs.h
>>conftest.
$ac_ext
38881 cat >>conftest.
$ac_ext <<_ACEOF
38882 /* end confdefs.h. */
38888 #if (__GNUC__ < 3) || \
38889 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38897 rm -f conftest.
$ac_objext
38898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38899 (eval $ac_compile) 2>conftest.er1
38901 grep -v '^ *+' conftest.er1
>conftest.err
38903 cat conftest.err
>&5
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); } &&
38906 { ac_try
='test -z "$ac_c_werror_flag"
38907 || test ! -s conftest.err'
38908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38909 (eval $ac_try) 2>&5
38911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38912 (exit $ac_status); }; } &&
38913 { ac_try
='test -s conftest.$ac_objext'
38914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38915 (eval $ac_try) 2>&5
38917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38918 (exit $ac_status); }; }; then
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.
$ac_ext >&5
38931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38934 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38935 echo "${ECHO_T}$wx_cv_gcc31" >&6
38936 if test "$wx_cv_gcc31" = "no"; then
38939 cat <<EOF >shared-ld-sh
38941 #-----------------------------------------------------------------------------
38942 #-- Name: distrib/mac/shared-ld-sh
38943 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38944 #-- Author: Gilles Depeyrot
38945 #-- Copyright: (c) 2002 Gilles Depeyrot
38946 #-- Licence: any use permitted
38947 #-----------------------------------------------------------------------------
38952 linking_flag="-dynamiclib"
38954 while test ${D}# -gt 0; do
38961 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38962 # collect these options and values
38963 args="${D}{args} ${D}1 ${D}2"
38967 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38968 # collect these options
38969 args="${D}{args} ${D}1"
38972 -dynamiclib|-bundle)
38973 linking_flag="${D}1"
38977 echo "shared-ld: unhandled option '${D}1'"
38981 *.o | *.a | *.dylib)
38982 # collect object files
38983 objects="${D}{objects} ${D}1"
38987 echo "shared-ld: unhandled argument '${D}1'"
38996 # Link one module containing all the others
38998 if test ${D}{verbose} = 1; then
38999 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39001 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39003 if test ${D}{status} != 0; then
39008 # Link the shared library from the single module created
39010 if test ${D}{verbose} = 1; then
39011 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39013 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39015 if test ${D}{status} != 0; then
39020 # Remove intermediate module
39022 rm -f master.${D}${D}.o
39027 chmod +x shared
-ld-sh
39029 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39030 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39031 SHARED_LD_CXX
="$SHARED_LD_CC"
39032 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39034 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39035 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39036 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39037 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39040 PIC_FLAG
="-dynamic -fPIC"
39044 if test "x$GCC" != "xyes"; then
39045 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39046 set dummy makeC
++SharedLib
; ac_word
=$2
39047 echo "$as_me:$LINENO: checking for $ac_word" >&5
39048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39049 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39050 echo $ECHO_N "(cached) $ECHO_C" >&6
39052 if test -n "$AIX_CXX_LD"; then
39053 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39056 for as_dir
in $PATH
39059 test -z "$as_dir" && as_dir
=.
39060 for ac_exec_ext
in '' $ac_executable_extensions; do
39061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39062 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39069 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39072 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39073 if test -n "$AIX_CXX_LD"; then
39074 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39075 echo "${ECHO_T}$AIX_CXX_LD" >&6
39077 echo "$as_me:$LINENO: result: no" >&5
39078 echo "${ECHO_T}no" >&6
39081 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39082 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39087 SHARED_LD_CC
="${LD} -shared -o"
39088 SHARED_LD_CXX
="${LD} -shared -o"
39092 if test "x$GCC" != "xyes"; then
39097 *-*-cygwin* | *-*-mingw32* )
39101 *-pc-os2_emx | *-pc-os2-emx )
39102 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39103 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39107 cat <<EOF >dllar.sh
39110 # dllar - a tool to build both a .dll and an .a file
39111 # from a set of object (.o) files for EMX/OS2.
39113 # Written by Andrew Zabolotny, bit@freya.etu.ru
39114 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39116 # This script will accept a set of files on the command line.
39117 # All the public symbols from the .o files will be exported into
39118 # a .DEF file, then linker will be run (through gcc) against them to
39119 # build a shared library consisting of all given .o files. All libraries
39120 # (.a) will be first decompressed into component .o files then act as
39121 # described above. You can optionally give a description (-d "description")
39122 # which will be put into .DLL. To see the list of accepted options (as well
39123 # as command-line format) simply run this program without options. The .DLL
39124 # is built to be imported by name (there is no guarantee that new versions
39125 # of the library you build will have same ordinals for same symbols).
39127 # dllar is free software; you can redistribute it and/or modify
39128 # it under the terms of the GNU General Public License as published by
39129 # the Free Software Foundation; either version 2, or (at your option)
39130 # any later version.
39132 # dllar is distributed in the hope that it will be useful,
39133 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39134 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39135 # GNU General Public License for more details.
39137 # You should have received a copy of the GNU General Public License
39138 # along with dllar; see the file COPYING. If not, write to the Free
39139 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39142 # To successfuly run this program you will need:
39143 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39144 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39146 # (used to build the .dll)
39148 # (used to create .def file from .o files)
39150 # (used to create .a file from .def file)
39151 # - GNU text utilites (cat, sort, uniq)
39152 # used to process emxexp output
39153 # - GNU file utilities (mv, rm)
39155 # - lxlite (optional, see flag below)
39156 # (used for general .dll cleanup)
39163 # basnam, variant of basename, which does _not_ remove the path, _iff_
39164 # second argument (suffix to remove) is given
39168 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39171 echo ${D}1 | sed 's/'${D}2'${D}//'
39174 echo "error in basnam ${D}*"
39180 # Cleanup temporary files and output
39183 for i in ${D}inputFiles ; do
39186 rm -rf \`basnam ${D}i !\`
39193 # Kill result in case of failure as there is just to many stupid make/nmake
39194 # things out there which doesn't do this.
39195 if ${D}# -eq 0 ; then
39196 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39200 # Print usage and exit script with rc=1.
39202 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
39203 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
39204 echo ' -ord[inals] -exclude "symbol(s)"'
39205 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
39207 echo '*> "output_file" should have no extension.'
39208 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39209 echo ' The import library name is derived from this and is set to "name".a,'
39210 echo ' unless overridden by -import'
39211 echo '*> "importlib_name" should have no extension.'
39212 echo ' If it has the .o, or .a extension, it is automatically removed.'
39213 echo ' This name is used as the import library name and may be longer and'
39214 echo ' more descriptive than the DLL name which has to follow the old '
39215 echo ' 8.3 convention of FAT.'
39216 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39217 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39218 echo ' These flags will be put at the start of GCC command line.'
39219 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
39220 echo '*> -exclude defines symbols which will not be exported. You can define'
39221 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39222 echo ' If the last character of a symbol is "*", all symbols beginning'
39223 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39224 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
39225 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39226 echo '*> -nocrtdll switch will disable linking the library against emx''s'
39227 echo ' C runtime DLLs.'
39228 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
39229 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39230 echo ' unchanged to GCC at the end of command line.'
39231 echo '*> If you create a DLL from a library and you do not specify -o,'
39232 echo ' the basename for DLL and import library will be set to library name,'
39233 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39234 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39235 echo ' library will be renamed into gcc_s.a.'
39238 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39239 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39244 # Execute a command.
39245 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39246 # @Uses Whatever CleanUp() uses.
39252 if ${D}rcCmd -ne 0 ; then
39253 echo "command failed, exit code="${D}rcCmd
39267 CFLAGS="-s -Zcrtdll"
39269 EXPORT_BY_ORDINALS=0
39274 case ${D}curDirS in
39278 curDirS=${D}{curDirS}"/"
39281 # Parse commandline
39286 EXPORT_BY_ORDINALS=1;
39313 exclude_symbols=${D}{exclude_symbols}${D}1" "
39317 library_flags=${D}{library_flags}${D}1" "
39333 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39337 if ${D}libsToLink -ne 0 ; then
39338 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39340 for file in ${D}1 ; do
39341 if -f ${D}file ; then
39342 inputFiles="${D}{inputFiles} ${D}file"
39346 if ${D}found -eq 0 ; then
39347 echo "ERROR: No file(s) found: "${D}1
39354 done # iterate cmdline words
39357 if -z "${D}inputFiles" ; then
39358 echo "dllar: no input files"
39362 # Now extract all .o files from .a files
39364 for file in ${D}inputFiles ; do
39375 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39380 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39382 if ${D}? -ne 0 ; then
39383 echo "Failed to create subdirectory ./${D}dirname"
39387 # Append '!' to indicate archive
39388 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39389 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39392 for subfile in ${D}dirname/*.o* ; do
39393 if -f ${D}subfile ; then
39395 if -s ${D}subfile ; then
39396 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39397 newInputFiles="${D}newInputFiles ${D}subfile"
39401 if ${D}found -eq 0 ; then
39402 echo "WARNING: there are no files in archive \'${D}file\'"
39406 newInputFiles="${D}{newInputFiles} ${D}file"
39410 inputFiles="${D}newInputFiles"
39412 # Output filename(s).
39414 if -z ${D}outFile ; then
39416 set outFile ${D}inputFiles; outFile=${D}2
39419 # If it is an archive, remove the '!' and the '_%' suffixes
39420 case ${D}outFile in
39422 outFile=\`basnam ${D}outFile _%!\`
39427 case ${D}outFile in
39429 outFile=\`basnam ${D}outFile .dll\`
39432 outFile=\`basnam ${D}outFile .DLL\`
39435 outFile=\`basnam ${D}outFile .o\`
39438 outFile=\`basnam ${D}outFile .obj\`
39441 outFile=\`basnam ${D}outFile .a\`
39444 outFile=\`basnam ${D}outFile .lib\`
39449 case ${D}outimpFile in
39451 outimpFile=\`basnam ${D}outimpFile .a\`
39454 outimpFile=\`basnam ${D}outimpFile .lib\`
39459 if -z ${D}outimpFile ; then
39460 outimpFile=${D}outFile
39462 defFile="${D}{outFile}.def"
39463 arcFile="${D}{outimpFile}.a"
39464 arcFile2="${D}{outimpFile}.lib"
39465 dllFile="${D}outFile"
39466 # Add suffix to dllFile later, first we need a version to use as
39467 # name in .def file.
39469 if ${D}do_backup -ne 0 ; then
39470 if -f ${D}arcFile ; then
39471 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39473 if -f ${D}arcFile2 ; then
39474 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39478 # Extract public symbols from all the object files.
39479 tmpdefFile=${D}{defFile}_%
39480 rm -f ${D}tmpdefFile
39481 for file in ${D}inputFiles ; do
39486 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39491 # Create the def file.
39493 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39494 dllFile="${D}dllFile.dll"
39495 if -n ${D}description ; then
39496 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39498 echo "EXPORTS" >> ${D}defFile
39500 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39501 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39503 # Checks if the export is ok or not.
39504 for word in ${D}exclude_symbols; do
39505 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39506 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39510 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39511 sed "=" < ${D}tmpdefFile | \
39515 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
39517 ' > ${D}{tmpdefFile}%
39518 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39520 rm -f ${D}{tmpdefFile}%
39522 cat ${D}tmpdefFile >> ${D}defFile
39523 rm -f ${D}tmpdefFile
39525 # Do linking, create implib, and apply lxlite.
39527 for file in ${D}inputFiles ; do
39532 gccCmdl="${D}gccCmdl ${D}file"
39536 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39537 touch "${D}{outFile}.dll"
39539 doCommand "emximp -o ${D}arcFile ${D}defFile"
39540 if ${D}flag_USE_LXLITE -ne 0 ; then
39542 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39545 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39547 doCommand "emxomf -s -l ${D}arcFile"
39557 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39565 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39566 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39567 { (exit 1); exit 1; }; }
39570 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39571 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39573 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39574 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39591 case "${BAKEFILE_HOST}" in
39593 SONAME_FLAG
="-Wl,-soname,"
39621 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39622 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39625 if test "x$GCC" = "xyes"; then
39628 case "${BAKEFILE_HOST}" in
39629 powerpc
-*-darwin* )
39630 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39633 DEPSFLAG_GCC
="-MMD"
39636 echo "$as_me:$LINENO: result: gcc" >&5
39637 echo "${ECHO_T}gcc" >&6
39639 echo "$as_me:$LINENO: result: none" >&5
39640 echo "${ECHO_T}none" >&6
39643 if test $DEPS_TRACKING = 1 ; then
39649 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39650 # script. It is used to track C/C++ files dependencies in portable way.
39652 # Permission is given to use this file in any way.
39654 DEPSMODE=${DEPSMODE}
39656 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39658 mkdir -p ${D}DEPSDIR
39660 if test ${D}DEPSMODE = gcc ; then
39661 ${D}* ${D}{DEPSFLAG_GCC}
39663 if test ${D}{status} != 0 ; then
39666 # move created file to the location we want it in:
39667 while test ${D}# -gt 0; do
39681 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39682 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39683 if test -f ${D}depfile ; then
39684 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39687 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39688 if test -f ${D}depfile ; then
39689 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39709 case ${BAKEFILE_HOST} in
39710 *-*-cygwin* | *-*-mingw32* )
39711 if test "$build" != "$host" ; then
39712 RESCOMP
=$host_alias-windres
39714 # Extract the first word of "windres", so it can be a program name with args.
39715 set dummy windres
; ac_word
=$2
39716 echo "$as_me:$LINENO: checking for $ac_word" >&5
39717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39718 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 if test -n "$RESCOMP"; then
39722 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39725 for as_dir
in $PATH
39728 test -z "$as_dir" && as_dir
=.
39729 for ac_exec_ext
in '' $ac_executable_extensions; do
39730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39731 ac_cv_prog_RESCOMP
="windres"
39732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39738 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39741 RESCOMP
=$ac_cv_prog_RESCOMP
39742 if test -n "$RESCOMP"; then
39743 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39744 echo "${ECHO_T}$RESCOMP" >&6
39746 echo "$as_me:$LINENO: result: no" >&5
39747 echo "${ECHO_T}no" >&6
39754 # Extract the first word of "Rez", so it can be a program name with args.
39755 set dummy Rez
; ac_word
=$2
39756 echo "$as_me:$LINENO: checking for $ac_word" >&5
39757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39758 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39761 if test -n "$RESCOMP"; then
39762 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39765 for as_dir
in $PATH
39768 test -z "$as_dir" && as_dir
=.
39769 for ac_exec_ext
in '' $ac_executable_extensions; do
39770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39771 ac_cv_prog_RESCOMP
="Rez"
39772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39778 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39781 RESCOMP
=$ac_cv_prog_RESCOMP
39782 if test -n "$RESCOMP"; then
39783 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39784 echo "${ECHO_T}$RESCOMP" >&6
39786 echo "$as_me:$LINENO: result: no" >&5
39787 echo "${ECHO_T}no" >&6
39790 # Extract the first word of "SetFile", so it can be a program name with args.
39791 set dummy SetFile
; ac_word
=$2
39792 echo "$as_me:$LINENO: checking for $ac_word" >&5
39793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39794 if test "${ac_cv_prog_SETFILE+set}" = set; then
39795 echo $ECHO_N "(cached) $ECHO_C" >&6
39797 if test -n "$SETFILE"; then
39798 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39801 for as_dir
in $PATH
39804 test -z "$as_dir" && as_dir
=.
39805 for ac_exec_ext
in '' $ac_executable_extensions; do
39806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39807 ac_cv_prog_SETFILE
="SetFile"
39808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39814 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39817 SETFILE
=$ac_cv_prog_SETFILE
39818 if test -n "$SETFILE"; then
39819 echo "$as_me:$LINENO: result: $SETFILE" >&5
39820 echo "${ECHO_T}$SETFILE" >&6
39822 echo "$as_me:$LINENO: result: no" >&5
39823 echo "${ECHO_T}no" >&6
39834 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39838 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39839 if test "${enable_precomp_headers+set}" = set; then
39840 enableval
="$enable_precomp_headers"
39841 bk_use_pch
="$enableval"
39846 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39847 if test "x$GCC" = "xyes"; then
39848 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39849 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39850 cat >conftest.
$ac_ext <<_ACEOF
39853 cat confdefs.h
>>conftest.
$ac_ext
39854 cat >>conftest.
$ac_ext <<_ACEOF
39855 /* end confdefs.h. */
39861 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39862 #error "no pch support"
39865 #error "no pch support"
39867 #if (__GNUC__ == 3) && \
39868 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39869 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39870 #error "no pch support"
39877 rm -f conftest.
$ac_objext
39878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39879 (eval $ac_compile) 2>conftest.er1
39881 grep -v '^ *+' conftest.er1
>conftest.err
39883 cat conftest.err
>&5
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); } &&
39886 { ac_try
='test -z "$ac_c_werror_flag"
39887 || test ! -s conftest.err'
39888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39889 (eval $ac_try) 2>&5
39891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892 (exit $ac_status); }; } &&
39893 { ac_try
='test -s conftest.$ac_objext'
39894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39895 (eval $ac_try) 2>&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); }; }; then
39900 echo "$as_me:$LINENO: result: yes" >&5
39901 echo "${ECHO_T}yes" >&6
39902 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39906 echo "$as_me: failed program was:" >&5
39907 sed 's/^/| /' conftest.
$ac_ext >&5
39910 echo "$as_me:$LINENO: result: no" >&5
39911 echo "${ECHO_T}no" >&6
39914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39915 if test $GCC_PCH = 1 ; then
39916 cat <<EOF >bk-make-pch
39919 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39920 # script. It is used to generated precompiled headers.
39922 # Permission is given to use this file in any way.
39931 while test \${#} -gt 0; do
39934 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39935 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39936 headerfile="\${incdir}/\${header}"
39940 compiler="\${compiler} \${1}"
39944 if test "x\${headerfile}" = "x" ; then
39945 echo "error: can't find header \${header} in include paths" >2
39947 if test -f \${outfile} ; then
39950 mkdir -p \`dirname \${outfile}\`
39952 depsfile=".deps/\`basename \${outfile}\`.d"
39954 # can do this because gcc is >= 3.4:
39955 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39959 chmod +x bk
-make-pch
39970 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39971 if test "${enable_precomp_headers+set}" = set; then
39972 enableval
="$enable_precomp_headers"
39973 bk_use_pch
="$enableval"
39978 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39979 if test "x$GCC" = "xyes"; then
39980 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39981 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39982 cat >conftest.
$ac_ext <<_ACEOF
39985 cat confdefs.h
>>conftest.
$ac_ext
39986 cat >>conftest.
$ac_ext <<_ACEOF
39987 /* end confdefs.h. */
39993 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39994 #error "no pch support"
39997 #error "no pch support"
39999 #if (__GNUC__ == 3) && \
40000 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40001 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40002 #error "no pch support"
40009 rm -f conftest.
$ac_objext
40010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40011 (eval $ac_compile) 2>conftest.er1
40013 grep -v '^ *+' conftest.er1
>conftest.err
40015 cat conftest.err
>&5
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); } &&
40018 { ac_try
='test -z "$ac_c_werror_flag"
40019 || test ! -s conftest.err'
40020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40021 (eval $ac_try) 2>&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); }; } &&
40025 { ac_try
='test -s conftest.$ac_objext'
40026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40027 (eval $ac_try) 2>&5
40029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030 (exit $ac_status); }; }; then
40032 echo "$as_me:$LINENO: result: yes" >&5
40033 echo "${ECHO_T}yes" >&6
40034 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40038 echo "$as_me: failed program was:" >&5
40039 sed 's/^/| /' conftest.
$ac_ext >&5
40042 echo "$as_me:$LINENO: result: no" >&5
40043 echo "${ECHO_T}no" >&6
40046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40047 if test $GCC_PCH = 1 ; then
40048 cat <<EOF >bk-make-pch
40051 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40052 # script. It is used to generated precompiled headers.
40054 # Permission is given to use this file in any way.
40063 while test \${#} -gt 0; do
40066 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40067 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40068 headerfile="\${incdir}/\${header}"
40072 compiler="\${compiler} \${1}"
40076 if test "x\${headerfile}" = "x" ; then
40077 echo "error: can't find header \${header} in include paths" >2
40079 if test -f \${outfile} ; then
40082 mkdir -p \`dirname \${outfile}\`
40084 depsfile=".deps/\`basename \${outfile}\`.d"
40086 # can do this because gcc is >= 3.4:
40087 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40091 chmod +x bk
-make-pch
40099 COND_BUILD_DEBUG
="#"
40100 if test "x$BUILD" = "xdebug" ; then
40101 COND_BUILD_DEBUG
=""
40104 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40105 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40106 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40109 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40110 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40111 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40114 COND_BUILD_DEBUG_UNICODE_0
="#"
40115 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40116 COND_BUILD_DEBUG_UNICODE_0
=""
40119 COND_BUILD_DEBUG_UNICODE_1
="#"
40120 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40121 COND_BUILD_DEBUG_UNICODE_1
=""
40124 COND_BUILD_RELEASE
="#"
40125 if test "x$BUILD" = "xrelease" ; then
40126 COND_BUILD_RELEASE
=""
40129 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40130 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40131 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40134 COND_BUILD_RELEASE_UNICODE_0
="#"
40135 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40136 COND_BUILD_RELEASE_UNICODE_0
=""
40139 COND_BUILD_RELEASE_UNICODE_1
="#"
40140 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40141 COND_BUILD_RELEASE_UNICODE_1
=""
40144 COND_DEBUG_FLAG_1
="#"
40145 if test "x$DEBUG_FLAG" = "x1" ; then
40146 COND_DEBUG_FLAG_1
=""
40149 COND_DEBUG_INFO_0
="#"
40150 if test "x$DEBUG_INFO" = "x0" ; then
40151 COND_DEBUG_INFO_0
=""
40154 COND_DEBUG_INFO_1
="#"
40155 if test "x$DEBUG_INFO" = "x1" ; then
40156 COND_DEBUG_INFO_1
=""
40159 COND_DEPS_TRACKING_0
="#"
40160 if test "x$DEPS_TRACKING" = "x0" ; then
40161 COND_DEPS_TRACKING_0
=""
40164 COND_DEPS_TRACKING_1
="#"
40165 if test "x$DEPS_TRACKING" = "x1" ; then
40166 COND_DEPS_TRACKING_1
=""
40170 if test "x$GCC_PCH" = "x1" ; then
40174 COND_MONOLITHIC_0
="#"
40175 if test "x$MONOLITHIC" = "x0" ; then
40176 COND_MONOLITHIC_0
=""
40179 COND_MONOLITHIC_0_SHARED_0
="#"
40180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40181 COND_MONOLITHIC_0_SHARED_0
=""
40184 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40189 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40191 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40194 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40196 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40199 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40201 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40204 COND_MONOLITHIC_0_SHARED_1
="#"
40205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40206 COND_MONOLITHIC_0_SHARED_1
=""
40209 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40211 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40214 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40219 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40221 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40224 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40226 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40229 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40230 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40231 COND_MONOLITHIC_0_USE_ODBC_1
=""
40234 COND_MONOLITHIC_1
="#"
40235 if test "x$MONOLITHIC" = "x1" ; then
40236 COND_MONOLITHIC_1
=""
40239 COND_MONOLITHIC_1_SHARED_0
="#"
40240 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40241 COND_MONOLITHIC_1_SHARED_0
=""
40244 COND_MONOLITHIC_1_SHARED_1
="#"
40245 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40246 COND_MONOLITHIC_1_SHARED_1
=""
40249 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40250 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40251 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40254 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40255 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40256 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40259 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40260 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40261 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40264 COND_PLATFORM_MACOSX_1
="#"
40265 if test "x$PLATFORM_MACOSX" = "x1" ; then
40266 COND_PLATFORM_MACOSX_1
=""
40269 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40270 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40271 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40274 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40275 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40276 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40279 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40280 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40281 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40284 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40286 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40289 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40290 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40291 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40294 COND_PLATFORM_MAC_1
="#"
40295 if test "x$PLATFORM_MAC" = "x1" ; then
40296 COND_PLATFORM_MAC_1
=""
40299 COND_PLATFORM_OS2_1
="#"
40300 if test "x$PLATFORM_OS2" = "x1" ; then
40301 COND_PLATFORM_OS2_1
=""
40304 COND_PLATFORM_UNIX_0
="#"
40305 if test "x$PLATFORM_UNIX" = "x0" ; then
40306 COND_PLATFORM_UNIX_0
=""
40309 COND_PLATFORM_UNIX_1
="#"
40310 if test "x$PLATFORM_UNIX" = "x1" ; then
40311 COND_PLATFORM_UNIX_1
=""
40314 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40315 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40316 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40319 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40320 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40321 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40324 COND_PLATFORM_WIN32_0
="#"
40325 if test "x$PLATFORM_WIN32" = "x0" ; then
40326 COND_PLATFORM_WIN32_0
=""
40329 COND_PLATFORM_WIN32_1
="#"
40330 if test "x$PLATFORM_WIN32" = "x1" ; then
40331 COND_PLATFORM_WIN32_1
=""
40335 if test "x$SHARED" = "x0" ; then
40339 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40340 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40341 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40344 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40345 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40346 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40349 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40350 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40351 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40355 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40356 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40359 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40360 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40361 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40364 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40365 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40366 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40369 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40370 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40371 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40374 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40375 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40376 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40380 if test "x$SHARED" = "x1" ; then
40384 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40385 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40386 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40389 COND_TOOLKIT_COCOA
="#"
40390 if test "x$TOOLKIT" = "xCOCOA" ; then
40391 COND_TOOLKIT_COCOA
=""
40394 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40395 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40396 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40399 COND_TOOLKIT_GTK
="#"
40400 if test "x$TOOLKIT" = "xGTK" ; then
40401 COND_TOOLKIT_GTK
=""
40404 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40405 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40406 COND_TOOLKIT_GTK_USE_GUI_1
=""
40409 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40410 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40411 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40414 COND_TOOLKIT_MAC
="#"
40415 if test "x$TOOLKIT" = "xMAC" ; then
40416 COND_TOOLKIT_MAC
=""
40419 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40420 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40421 COND_TOOLKIT_MAC_USE_GUI_1
=""
40424 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40425 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40426 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40429 COND_TOOLKIT_MGL
="#"
40430 if test "x$TOOLKIT" = "xMGL" ; then
40431 COND_TOOLKIT_MGL
=""
40434 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40435 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40436 COND_TOOLKIT_MGL_USE_GUI_1
=""
40439 COND_TOOLKIT_MOTIF
="#"
40440 if test "x$TOOLKIT" = "xMOTIF" ; then
40441 COND_TOOLKIT_MOTIF
=""
40444 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40445 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40446 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40449 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40450 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40451 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40454 COND_TOOLKIT_MSW
="#"
40455 if test "x$TOOLKIT" = "xMSW" ; then
40456 COND_TOOLKIT_MSW
=""
40459 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40460 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40461 COND_TOOLKIT_MSW_USE_GUI_1
=""
40464 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40465 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40466 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40469 COND_TOOLKIT_PM
="#"
40470 if test "x$TOOLKIT" = "xPM" ; then
40474 COND_TOOLKIT_PM_USE_GUI_1
="#"
40475 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40476 COND_TOOLKIT_PM_USE_GUI_1
=""
40479 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40480 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40481 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40484 COND_TOOLKIT_WINCE
="#"
40485 if test "x$TOOLKIT" = "xWINCE" ; then
40486 COND_TOOLKIT_WINCE
=""
40489 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40490 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40491 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40494 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40495 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40496 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40499 COND_TOOLKIT_X11
="#"
40500 if test "x$TOOLKIT" = "xX11" ; then
40501 COND_TOOLKIT_X11
=""
40504 COND_TOOLKIT_X11_USE_GUI_1
="#"
40505 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40506 COND_TOOLKIT_X11_USE_GUI_1
=""
40510 if test "x$UNICODE" = "x1" ; then
40514 COND_USE_EXCEPTIONS_0
="#"
40515 if test "x$USE_EXCEPTIONS" = "x0" ; then
40516 COND_USE_EXCEPTIONS_0
=""
40519 COND_USE_EXCEPTIONS_1
="#"
40520 if test "x$USE_EXCEPTIONS" = "x1" ; then
40521 COND_USE_EXCEPTIONS_1
=""
40525 if test "x$USE_GUI" = "x0" ; then
40530 if test "x$USE_GUI" = "x1" ; then
40534 COND_USE_GUI_1_WXUNIV_0
="#"
40535 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40536 COND_USE_GUI_1_WXUNIV_0
=""
40539 COND_USE_GUI_1_WXUNIV_1
="#"
40540 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40541 COND_USE_GUI_1_WXUNIV_1
=""
40544 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40545 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40546 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40549 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40550 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40551 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40554 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40555 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40556 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40559 COND_USE_ODBC_1
="#"
40560 if test "x$USE_ODBC" = "x1" ; then
40564 COND_USE_PLUGINS_0
="#"
40565 if test "x$USE_PLUGINS" = "x0" ; then
40566 COND_USE_PLUGINS_0
=""
40569 COND_USE_SOSYMLINKS_1
="#"
40570 if test "x$USE_SOSYMLINKS" = "x1" ; then
40571 COND_USE_SOSYMLINKS_1
=""
40574 COND_USE_SOVERLINUX_1
="#"
40575 if test "x$USE_SOVERLINUX" = "x1" ; then
40576 COND_USE_SOVERLINUX_1
=""
40579 COND_USE_SOVERSION_0
="#"
40580 if test "x$USE_SOVERSION" = "x0" ; then
40581 COND_USE_SOVERSION_0
=""
40584 COND_USE_SOVERSOLARIS_1
="#"
40585 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40586 COND_USE_SOVERSOLARIS_1
=""
40589 COND_WITH_PLUGIN_SDL_1
="#"
40590 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40591 COND_WITH_PLUGIN_SDL_1
=""
40594 COND_WITH_SDL_1
="#"
40595 if test "x$WITH_SDL" = "x1" ; then
40600 if test "x$WXUNIV" = "x1" ; then
40604 COND_WXUSE_EXPAT_BUILTIN
="#"
40605 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40606 COND_WXUSE_EXPAT_BUILTIN
=""
40609 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40610 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40611 COND_WXUSE_LIBJPEG_BUILTIN
=""
40614 COND_WXUSE_LIBPNG_BUILTIN
="#"
40615 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40616 COND_WXUSE_LIBPNG_BUILTIN
=""
40619 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40620 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40621 COND_WXUSE_LIBTIFF_BUILTIN
=""
40624 COND_WXUSE_ODBC_BUILTIN
="#"
40625 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40626 COND_WXUSE_ODBC_BUILTIN
=""
40629 COND_WXUSE_REGEX_BUILTIN
="#"
40630 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40631 COND_WXUSE_REGEX_BUILTIN
=""
40634 COND_WXUSE_ZLIB_BUILTIN
="#"
40635 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40636 COND_WXUSE_ZLIB_BUILTIN
=""
40639 COND_BUILD_DEBUG
="#"
40640 if test "x$BUILD" = "xdebug" ; then
40641 COND_BUILD_DEBUG
=""
40644 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40645 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40646 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40649 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40650 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40651 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40654 COND_BUILD_DEBUG_UNICODE_0
="#"
40655 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40656 COND_BUILD_DEBUG_UNICODE_0
=""
40659 COND_BUILD_DEBUG_UNICODE_1
="#"
40660 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40661 COND_BUILD_DEBUG_UNICODE_1
=""
40664 COND_BUILD_RELEASE
="#"
40665 if test "x$BUILD" = "xrelease" ; then
40666 COND_BUILD_RELEASE
=""
40669 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40670 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40671 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40674 COND_BUILD_RELEASE_UNICODE_0
="#"
40675 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40676 COND_BUILD_RELEASE_UNICODE_0
=""
40679 COND_BUILD_RELEASE_UNICODE_1
="#"
40680 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40681 COND_BUILD_RELEASE_UNICODE_1
=""
40684 COND_DEBUG_FLAG_1
="#"
40685 if test "x$DEBUG_FLAG" = "x1" ; then
40686 COND_DEBUG_FLAG_1
=""
40689 COND_DEBUG_INFO_0
="#"
40690 if test "x$DEBUG_INFO" = "x0" ; then
40691 COND_DEBUG_INFO_0
=""
40694 COND_DEBUG_INFO_1
="#"
40695 if test "x$DEBUG_INFO" = "x1" ; then
40696 COND_DEBUG_INFO_1
=""
40699 COND_DEPS_TRACKING_0
="#"
40700 if test "x$DEPS_TRACKING" = "x0" ; then
40701 COND_DEPS_TRACKING_0
=""
40704 COND_DEPS_TRACKING_1
="#"
40705 if test "x$DEPS_TRACKING" = "x1" ; then
40706 COND_DEPS_TRACKING_1
=""
40710 if test "x$GCC_PCH" = "x1" ; then
40714 COND_MONOLITHIC_0
="#"
40715 if test "x$MONOLITHIC" = "x0" ; then
40716 COND_MONOLITHIC_0
=""
40719 COND_MONOLITHIC_0_SHARED_0
="#"
40720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40721 COND_MONOLITHIC_0_SHARED_0
=""
40724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40731 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40734 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40735 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40736 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40739 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40741 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40744 COND_MONOLITHIC_0_SHARED_1
="#"
40745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40746 COND_MONOLITHIC_0_SHARED_1
=""
40749 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40751 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40754 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40756 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40759 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40761 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40764 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40766 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40769 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40770 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40771 COND_MONOLITHIC_0_USE_ODBC_1
=""
40774 COND_MONOLITHIC_1
="#"
40775 if test "x$MONOLITHIC" = "x1" ; then
40776 COND_MONOLITHIC_1
=""
40779 COND_MONOLITHIC_1_SHARED_0
="#"
40780 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40781 COND_MONOLITHIC_1_SHARED_0
=""
40784 COND_MONOLITHIC_1_SHARED_1
="#"
40785 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40786 COND_MONOLITHIC_1_SHARED_1
=""
40789 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40790 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40791 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40794 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40795 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40796 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40799 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40800 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40801 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40804 COND_PLATFORM_MACOSX_1
="#"
40805 if test "x$PLATFORM_MACOSX" = "x1" ; then
40806 COND_PLATFORM_MACOSX_1
=""
40809 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40810 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40811 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40814 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40815 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40816 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40819 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40820 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40821 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40824 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40825 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40826 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40829 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40830 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40831 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40834 COND_PLATFORM_MAC_1
="#"
40835 if test "x$PLATFORM_MAC" = "x1" ; then
40836 COND_PLATFORM_MAC_1
=""
40839 COND_PLATFORM_OS2_1
="#"
40840 if test "x$PLATFORM_OS2" = "x1" ; then
40841 COND_PLATFORM_OS2_1
=""
40844 COND_PLATFORM_UNIX_0
="#"
40845 if test "x$PLATFORM_UNIX" = "x0" ; then
40846 COND_PLATFORM_UNIX_0
=""
40849 COND_PLATFORM_UNIX_1
="#"
40850 if test "x$PLATFORM_UNIX" = "x1" ; then
40851 COND_PLATFORM_UNIX_1
=""
40854 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40855 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40856 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40859 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40860 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40861 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40864 COND_PLATFORM_WIN32_0
="#"
40865 if test "x$PLATFORM_WIN32" = "x0" ; then
40866 COND_PLATFORM_WIN32_0
=""
40869 COND_PLATFORM_WIN32_1
="#"
40870 if test "x$PLATFORM_WIN32" = "x1" ; then
40871 COND_PLATFORM_WIN32_1
=""
40875 if test "x$SHARED" = "x0" ; then
40879 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40880 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40881 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40884 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40885 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40886 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40890 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40895 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40900 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40904 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40905 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40906 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40909 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40910 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40911 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40914 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40915 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40916 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40920 if test "x$SHARED" = "x1" ; then
40924 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40925 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40929 COND_TOOLKIT_COCOA
="#"
40930 if test "x$TOOLKIT" = "xCOCOA" ; then
40931 COND_TOOLKIT_COCOA
=""
40934 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40935 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40936 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40939 COND_TOOLKIT_GTK
="#"
40940 if test "x$TOOLKIT" = "xGTK" ; then
40941 COND_TOOLKIT_GTK
=""
40944 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40945 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40946 COND_TOOLKIT_GTK_USE_GUI_1
=""
40949 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40950 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40951 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40954 COND_TOOLKIT_MAC
="#"
40955 if test "x$TOOLKIT" = "xMAC" ; then
40956 COND_TOOLKIT_MAC
=""
40959 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40960 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40961 COND_TOOLKIT_MAC_USE_GUI_1
=""
40964 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40965 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40966 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40969 COND_TOOLKIT_MGL
="#"
40970 if test "x$TOOLKIT" = "xMGL" ; then
40971 COND_TOOLKIT_MGL
=""
40974 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40975 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40976 COND_TOOLKIT_MGL_USE_GUI_1
=""
40979 COND_TOOLKIT_MOTIF
="#"
40980 if test "x$TOOLKIT" = "xMOTIF" ; then
40981 COND_TOOLKIT_MOTIF
=""
40984 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40985 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40986 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40989 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40990 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40991 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40994 COND_TOOLKIT_MSW
="#"
40995 if test "x$TOOLKIT" = "xMSW" ; then
40996 COND_TOOLKIT_MSW
=""
40999 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41000 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41001 COND_TOOLKIT_MSW_USE_GUI_1
=""
41004 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41005 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41006 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41009 COND_TOOLKIT_PM
="#"
41010 if test "x$TOOLKIT" = "xPM" ; then
41014 COND_TOOLKIT_PM_USE_GUI_1
="#"
41015 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41016 COND_TOOLKIT_PM_USE_GUI_1
=""
41019 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41020 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41021 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41024 COND_TOOLKIT_WINCE
="#"
41025 if test "x$TOOLKIT" = "xWINCE" ; then
41026 COND_TOOLKIT_WINCE
=""
41029 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41030 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41031 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41034 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41035 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41036 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41039 COND_TOOLKIT_X11
="#"
41040 if test "x$TOOLKIT" = "xX11" ; then
41041 COND_TOOLKIT_X11
=""
41044 COND_TOOLKIT_X11_USE_GUI_1
="#"
41045 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41046 COND_TOOLKIT_X11_USE_GUI_1
=""
41050 if test "x$UNICODE" = "x1" ; then
41054 COND_USE_EXCEPTIONS_0
="#"
41055 if test "x$USE_EXCEPTIONS" = "x0" ; then
41056 COND_USE_EXCEPTIONS_0
=""
41059 COND_USE_EXCEPTIONS_1
="#"
41060 if test "x$USE_EXCEPTIONS" = "x1" ; then
41061 COND_USE_EXCEPTIONS_1
=""
41065 if test "x$USE_GUI" = "x0" ; then
41070 if test "x$USE_GUI" = "x1" ; then
41074 COND_USE_GUI_1_WXUNIV_0
="#"
41075 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41076 COND_USE_GUI_1_WXUNIV_0
=""
41079 COND_USE_GUI_1_WXUNIV_1
="#"
41080 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41081 COND_USE_GUI_1_WXUNIV_1
=""
41084 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41085 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41086 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41089 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41090 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41091 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41094 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41095 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41096 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41099 COND_USE_ODBC_1
="#"
41100 if test "x$USE_ODBC" = "x1" ; then
41104 COND_USE_PLUGINS_0
="#"
41105 if test "x$USE_PLUGINS" = "x0" ; then
41106 COND_USE_PLUGINS_0
=""
41109 COND_USE_SOSYMLINKS_1
="#"
41110 if test "x$USE_SOSYMLINKS" = "x1" ; then
41111 COND_USE_SOSYMLINKS_1
=""
41114 COND_USE_SOVERLINUX_1
="#"
41115 if test "x$USE_SOVERLINUX" = "x1" ; then
41116 COND_USE_SOVERLINUX_1
=""
41119 COND_USE_SOVERSION_0
="#"
41120 if test "x$USE_SOVERSION" = "x0" ; then
41121 COND_USE_SOVERSION_0
=""
41124 COND_USE_SOVERSOLARIS_1
="#"
41125 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41126 COND_USE_SOVERSOLARIS_1
=""
41129 COND_WITH_PLUGIN_SDL_1
="#"
41130 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41131 COND_WITH_PLUGIN_SDL_1
=""
41135 if test "x$WXUNIV" = "x1" ; then
41139 COND_WXUSE_EXPAT_BUILTIN
="#"
41140 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41141 COND_WXUSE_EXPAT_BUILTIN
=""
41144 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41145 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41146 COND_WXUSE_LIBJPEG_BUILTIN
=""
41149 COND_WXUSE_LIBPNG_BUILTIN
="#"
41150 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41151 COND_WXUSE_LIBPNG_BUILTIN
=""
41154 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41155 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41156 COND_WXUSE_LIBTIFF_BUILTIN
=""
41159 COND_WXUSE_ODBC_BUILTIN
="#"
41160 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41161 COND_WXUSE_ODBC_BUILTIN
=""
41164 COND_WXUSE_REGEX_BUILTIN
="#"
41165 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41166 COND_WXUSE_REGEX_BUILTIN
=""
41169 COND_WXUSE_ZLIB_BUILTIN
="#"
41170 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41171 COND_WXUSE_ZLIB_BUILTIN
=""
41178 if test $GCC_PCH = 1 ; then
41179 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41180 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
41183 powerpc
-*-darwin* )
41184 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41185 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
41191 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41292 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41293 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41294 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41295 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41296 echo $ECHO_N "(cached) $ECHO_C" >&6
41298 cat >conftest.
make <<\_ACEOF
41300 @
echo 'ac_maketemp="$(MAKE)"'
41302 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41303 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41304 if test -n "$ac_maketemp"; then
41305 eval ac_cv_prog_make_
${ac_make}_set
=yes
41307 eval ac_cv_prog_make_
${ac_make}_set
=no
41309 rm -f conftest.
make
41311 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41312 echo "$as_me:$LINENO: result: yes" >&5
41313 echo "${ECHO_T}yes" >&6
41316 echo "$as_me:$LINENO: result: no" >&5
41317 echo "${ECHO_T}no" >&6
41318 SET_MAKE
="MAKE=${MAKE-make}"
41322 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
41323 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
41326 ac_config_headers
="$ac_config_headers setup.h"
41329 ac_config_files
="$ac_config_files wx-config version-script Makefile"
41332 ac_config_commands
="$ac_config_commands default"
41336 if test "$wxUSE_GUI" = "yes"; then
41337 SUBDIRS
="samples demos utils contrib"
41338 else SUBDIRS
="samples utils"
41343 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41344 if test "${with_cppunit_prefix+set}" = set; then
41345 withval
="$with_cppunit_prefix"
41346 cppunit_config_prefix
="$withval"
41348 cppunit_config_prefix
=""
41351 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41352 if test "${with_cppunit_exec_prefix+set}" = set; then
41353 withval
="$with_cppunit_exec_prefix"
41354 cppunit_config_exec_prefix
="$withval"
41356 cppunit_config_exec_prefix
=""
41359 if test x
$cppunit_config_exec_prefix != x
; then
41360 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41361 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41362 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41365 if test x
$cppunit_config_prefix != x
; then
41366 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41367 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41368 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41372 # Extract the first word of "cppunit-config", so it can be a program name with args.
41373 set dummy cppunit
-config; ac_word
=$2
41374 echo "$as_me:$LINENO: checking for $ac_word" >&5
41375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41376 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41377 echo $ECHO_N "(cached) $ECHO_C" >&6
41379 case $CPPUNIT_CONFIG in
41381 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41385 for as_dir
in $PATH
41388 test -z "$as_dir" && as_dir
=.
41389 for ac_exec_ext
in '' $ac_executable_extensions; do
41390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41391 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41398 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41402 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41404 if test -n "$CPPUNIT_CONFIG"; then
41405 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41406 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41408 echo "$as_me:$LINENO: result: no" >&5
41409 echo "${ECHO_T}no" >&6
41412 cppunit_version_min
=1.8.0
41414 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41415 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41417 if test "$CPPUNIT_CONFIG" = "no" ; then
41420 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41421 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41422 cppunit_version
=`$CPPUNIT_CONFIG --version`
41424 cppunit_major_version
=`echo $cppunit_version | \
41425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41426 cppunit_minor_version
=`echo $cppunit_version | \
41427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41428 cppunit_micro_version
=`echo $cppunit_version | \
41429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41431 cppunit_major_min
=`echo $cppunit_version_min | \
41432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41433 cppunit_minor_min
=`echo $cppunit_version_min | \
41434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41435 cppunit_micro_min
=`echo $cppunit_version_min | \
41436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41438 cppunit_version_proper
=`expr \
41439 $cppunit_major_version \> $cppunit_major_min \| \
41440 $cppunit_major_version \= $cppunit_major_min \& \
41441 $cppunit_minor_version \> $cppunit_minor_min \| \
41442 $cppunit_major_version \= $cppunit_major_min \& \
41443 $cppunit_minor_version \= $cppunit_minor_min \& \
41444 $cppunit_micro_version \>= $cppunit_micro_min `
41446 if test "$cppunit_version_proper" = "1" ; then
41447 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41448 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41450 echo "$as_me:$LINENO: result: no" >&5
41451 echo "${ECHO_T}no" >&6
41456 if test "x$no_cppunit" = x
; then
41457 SUBDIRS
="$SUBDIRS tests"
41468 for subdir
in `echo $SUBDIRS`; do
41469 if test -d ${srcdir}/${subdir} ; then
41470 if test "$wxUSE_GUI" = "yes"; then
41471 if test ${subdir} = "samples"; then
41472 makefiles
="samples/Makefile.in $makefiles"
41473 for sample
in `echo $SAMPLES_SUBDIRS`; do
41474 if test -d $srcdir/samples
/$sample; then
41475 makefiles
="samples/$sample/Makefile.in $makefiles"
41478 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41480 else if test ${subdir} = "samples"; then
41481 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41482 elif test ${subdir} = "utils"; then
41483 makefiles
="utils/HelpGen/Makefile.in \
41484 utils/HelpGen/src/Makefile.in \
41485 utils/tex2rtf/Makefile.in \
41486 utils/tex2rtf/src/Makefile.in"
41487 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41491 for mkin
in $makefiles ; do
41492 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41493 ac_config_files
="$ac_config_files $mk"
41500 cat >confcache
<<\_ACEOF
41501 # This file is a shell script that caches the results of configure
41502 # tests run on this system so they can be shared between configure
41503 # scripts and configure runs, see configure's option --config-cache.
41504 # It is not useful on other systems. If it contains results you don't
41505 # want to keep, you may remove or edit it.
41507 # config.status only pays attention to the cache file if you give it
41508 # the --recheck option to rerun configure.
41510 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41511 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41512 # following values.
41516 # The following way of writing the cache mishandles newlines in values,
41517 # but we know of no workaround that is simple, portable, and efficient.
41518 # So, don't put newlines in cache variables' values.
41519 # Ultrix sh set writes to stderr and can't be redirected directly,
41520 # and sets the high bit in the cache file unless we assign to the vars.
41523 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41525 # `set' does not quote correctly, so add quotes (double-quote
41526 # substitution turns \\\\ into \\, and sed turns \\ into \).
41529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41532 # `set' quotes correctly as required by POSIX, so do not add quotes.
41534 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41543 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41545 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41546 if test -w $cache_file; then
41547 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41548 cat confcache
>$cache_file
41550 echo "not updating unwritable cache $cache_file"
41555 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41556 # Let make expand exec_prefix.
41557 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41559 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41560 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41561 # trailing colons and then remove the whole line if VPATH becomes empty
41562 # (actually we leave an empty line to preserve line numbers).
41563 if test "x$srcdir" = x.
; then
41564 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41565 s/:*\$(srcdir):*/:/;
41566 s/:*\${srcdir}:*/:/;
41568 s/^\([^=]*=[ ]*\):*/\1/;
41574 DEFS
=-DHAVE_CONFIG_H
41578 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41579 # 1. Remove the extension, and $U if already installed.
41580 ac_i
=`echo "$ac_i" |
41581 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41583 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41584 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41586 LIBOBJS
=$ac_libobjs
41588 LTLIBOBJS
=$ac_ltlibobjs
41592 : ${CONFIG_STATUS=./config.status}
41593 ac_clean_files_save
=$ac_clean_files
41594 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41595 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41596 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41597 cat >$CONFIG_STATUS <<_ACEOF
41599 # Generated by $as_me.
41600 # Run this file to recreate the current configuration.
41601 # Compiler output produced by configure, useful for debugging
41602 # configure, is in config.log if it exists.
41605 ac_cs_recheck=false
41607 SHELL=\${CONFIG_SHELL-$SHELL}
41610 cat >>$CONFIG_STATUS <<\_ACEOF
41611 ## --------------------- ##
41612 ## M4sh Initialization. ##
41613 ## --------------------- ##
41615 # Be Bourne compatible
41616 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41619 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41620 # is contrary to our usage. Disable this feature.
41621 alias -g '${1+"$@"}'='"$@"'
41622 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41625 DUALCASE
=1; export DUALCASE
# for MKS sh
41627 # Support unset when possible.
41628 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41635 # Work around bugs in pre-3.0 UWIN ksh.
41636 $as_unset ENV MAIL MAILPATH
41643 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41644 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41645 LC_TELEPHONE LC_TIME
41647 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41648 eval $as_var=C
; export $as_var
41654 # Required to use basename.
41655 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41661 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41662 as_basename
=basename
41668 # Name of the executable.
41669 as_me
=`$as_basename "$0" ||
41670 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41671 X"$0" : 'X\(//\)$' \| \
41672 X"$0" : 'X\(/\)$' \| \
41673 . : '\(.\)' 2>/dev/null ||
41675 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41676 /^X\/\(\/\/\)$/{ s//\1/; q; }
41677 /^X\/\(\/\).*/{ s//\1/; q; }
41681 # PATH needs CR, and LINENO needs CR and PATH.
41682 # Avoid depending upon Character Ranges.
41683 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41684 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41685 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41686 as_cr_digits
='0123456789'
41687 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41689 # The user is always right.
41690 if test "${PATH_SEPARATOR+set}" != set; then
41691 echo "#! /bin/sh" >conf$$.sh
41692 echo "exit 0" >>conf$$.sh
41694 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41703 as_lineno_1
=$LINENO
41704 as_lineno_2
=$LINENO
41705 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41706 test "x$as_lineno_1" != "x$as_lineno_2" &&
41707 test "x$as_lineno_3" = "x$as_lineno_2" || {
41708 # Find who we are. Look in the path if we contain no path at all
41711 *[\\/]* ) as_myself
=$0 ;;
41712 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41713 for as_dir
in $PATH
41716 test -z "$as_dir" && as_dir
=.
41717 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41722 # We did not find ourselves, most probably we were run as `sh COMMAND'
41723 # in which case we are not to be found in the path.
41724 if test "x$as_myself" = x
; then
41727 if test ! -f "$as_myself"; then
41728 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41729 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41730 { (exit 1); exit 1; }; }
41732 case $CONFIG_SHELL in
41734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41735 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41738 test -z "$as_dir" && as_dir
=.
41739 for as_base
in sh bash ksh sh5
; do
41742 if ("$as_dir/$as_base" -c '
41743 as_lineno_1=$LINENO
41744 as_lineno_2=$LINENO
41745 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41746 test "x$as_lineno_1" != "x$as_lineno_2" &&
41747 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41748 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41749 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41750 CONFIG_SHELL
=$as_dir/$as_base
41751 export CONFIG_SHELL
41752 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41760 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41761 # uniformly replaced by the line number. The first 'sed' inserts a
41762 # line-number line before each line; the second 'sed' does the real
41763 # work. The second script uses 'N' to pair each line-number line
41764 # with the numbered line, and appends trailing '-' during
41765 # substitution so that $LINENO is not a special case at line end.
41766 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41767 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41768 sed '=' <$as_myself |
41773 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41776 s,^['$as_cr_digits']*\n,,
41777 ' >$as_me.lineno
&&
41778 chmod +x
$as_me.lineno
||
41779 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41780 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41781 { (exit 1); exit 1; }; }
41783 # Don't try to exec as it changes $[0], causing all sort of problems
41784 # (the dirname of $[0] is not the place where we might find the
41785 # original and so on. Autoconf is especially sensible to this).
41787 # Exit status is that of the last command.
41792 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41793 *c
*,-n*) ECHO_N
= ECHO_C
='
41795 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41796 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41799 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41805 rm -f conf$$ conf$$.exe conf$$.
file
41807 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41808 # We could just check for DJGPP; but this test a) works b) is more generic
41809 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41810 if test -f conf$$.exe
; then
41811 # Don't use ln at all; we don't have any links
41816 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41821 rm -f conf$$ conf$$.exe conf$$.
file
41823 if mkdir -p .
2>/dev
/null
; then
41826 test -d .
/-p && rmdir .
/-p
41830 as_executable_p
="test -f"
41832 # Sed expression to map a string onto a valid CPP name.
41833 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41835 # Sed expression to map a string onto a valid variable name.
41836 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41840 # We need space, tab and new line, in precisely that order.
41850 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41851 # report actual input values of CONFIG_FILES etc. instead of their
41852 # values after options handling. Logging --version etc. is OK.
41856 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41857 ## Running $as_me. ##
41862 This file was extended by wxWindows $as_me 2.5.1, which was
41863 generated by GNU Autoconf 2.59. Invocation command line was
41865 CONFIG_FILES = $CONFIG_FILES
41866 CONFIG_HEADERS = $CONFIG_HEADERS
41867 CONFIG_LINKS = $CONFIG_LINKS
41868 CONFIG_COMMANDS = $CONFIG_COMMANDS
41872 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41876 # Files that config.status was made for.
41877 if test -n "$ac_config_files"; then
41878 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41881 if test -n "$ac_config_headers"; then
41882 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41885 if test -n "$ac_config_links"; then
41886 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41889 if test -n "$ac_config_commands"; then
41890 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41893 cat >>$CONFIG_STATUS <<\_ACEOF
41896 \`$as_me' instantiates files from templates according to the
41897 current configuration.
41899 Usage: $0 [OPTIONS] [FILE]...
41901 -h, --help print this help, then exit
41902 -V, --version print version number, then exit
41903 -q, --quiet do not print progress messages
41904 -d, --debug don't remove temporary files
41905 --recheck update $as_me by reconfiguring in the same conditions
41906 --file=FILE[:TEMPLATE]
41907 instantiate the configuration file FILE
41908 --header=FILE[:TEMPLATE]
41909 instantiate the configuration header FILE
41911 Configuration files:
41914 Configuration headers:
41917 Configuration commands:
41920 Report bugs to <bug-autoconf@gnu.org>."
41923 cat >>$CONFIG_STATUS <<_ACEOF
41925 wxWindows config.status 2.5.1
41926 configured by $0, generated by GNU Autoconf 2.59,
41927 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41929 Copyright (C) 2003 Free Software Foundation, Inc.
41930 This config.status script is free software; the Free Software Foundation
41931 gives unlimited permission to copy, distribute and modify it."
41936 cat >>$CONFIG_STATUS <<\_ACEOF
41937 # If no file are specified by the user, then we need to provide default
41938 # value. By we need to know if files were specified by the user.
41944 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41945 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41953 *) # This is not an option, so the user has probably given explicit
41956 ac_need_defaults
=false
;;
41960 # Handling of the options.
41962 cat >>$CONFIG_STATUS <<\_ACEOF
41963 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41965 --version | --vers* | -V )
41966 echo "$ac_cs_version"; exit 0 ;;
41968 # Conflict between --help and --header
41969 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41970 Try \`$0 --help' for more information." >&5
41971 echo "$as_me: error: ambiguous option: $1
41972 Try \`$0 --help' for more information." >&2;}
41973 { (exit 1); exit 1; }; };;
41974 --help | --hel | -h )
41975 echo "$ac_cs_usage"; exit 0 ;;
41976 --debug | --d* | -d )
41978 --file | --fil | --fi | --f )
41980 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41981 ac_need_defaults
=false
;;
41982 --header | --heade | --head | --hea )
41984 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41985 ac_need_defaults
=false
;;
41986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41987 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41990 # This is an error.
41991 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41992 Try \`$0 --help' for more information." >&5
41993 echo "$as_me: error: unrecognized option: $1
41994 Try \`$0 --help' for more information." >&2;}
41995 { (exit 1); exit 1; }; } ;;
41997 *) ac_config_targets
="$ac_config_targets $1" ;;
42003 ac_configure_extra_args
=
42005 if $ac_cs_silent; then
42007 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42011 cat >>$CONFIG_STATUS <<_ACEOF
42012 if \$ac_cs_recheck; then
42013 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42014 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42019 cat >>$CONFIG_STATUS <<_ACEOF
42021 # INIT-COMMANDS section.
42025 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
42034 cat >>$CONFIG_STATUS <<\_ACEOF
42035 for ac_config_target
in $ac_config_targets
42037 case "$ac_config_target" in
42038 # Handling of arguments.
42039 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
42040 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42041 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42042 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42043 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
42044 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
42045 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42046 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42047 { (exit 1); exit 1; }; };;
42051 # If the user did not use the arguments to specify the items to instantiate,
42052 # then the envvar interface is used. Set only those that are not.
42053 # We use the long form for the default assignment because of an extremely
42054 # bizarre bug on SunOS 4.1.3.
42055 if $ac_need_defaults; then
42056 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42057 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42058 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42061 # Have a temporary directory for convenience. Make it in the build tree
42062 # simply because there is no reason to put it here, and in addition,
42063 # creating and moving files from /tmp can sometimes cause problems.
42064 # Create a temporary directory, and hook for its removal unless debugging.
42067 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42068 trap '{ (exit 1); exit 1; }' 1 2 13 15
42071 # Create a (secure) tmp directory for tmp files.
42074 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42075 test -n "$tmp" && test -d "$tmp"
42078 tmp
=.
/confstat$$
-$RANDOM
42079 (umask 077 && mkdir $tmp)
42082 echo "$me: cannot create a temporary directory in ." >&2
42083 { (exit 1); exit 1; }
42088 cat >>$CONFIG_STATUS <<_ACEOF
42091 # CONFIG_FILES section.
42094 # No need to generate the scripts if there are no CONFIG_FILES.
42095 # This happens for instance when ./config.status config.h
42096 if test -n "\$CONFIG_FILES"; then
42097 # Protect against being on the right side of a sed subst in config.status.
42098 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42099 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42100 s,@SHELL@,$SHELL,;t t
42101 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42102 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42103 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42104 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42105 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42106 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42107 s,@exec_prefix@,$exec_prefix,;t t
42108 s,@prefix@,$prefix,;t t
42109 s,@program_transform_name@,$program_transform_name,;t t
42110 s,@bindir@,$bindir,;t t
42111 s,@sbindir@,$sbindir,;t t
42112 s,@libexecdir@,$libexecdir,;t t
42113 s,@datadir@,$datadir,;t t
42114 s,@sysconfdir@,$sysconfdir,;t t
42115 s,@sharedstatedir@,$sharedstatedir,;t t
42116 s,@localstatedir@,$localstatedir,;t t
42117 s,@libdir@,$libdir,;t t
42118 s,@includedir@,$includedir,;t t
42119 s,@oldincludedir@,$oldincludedir,;t t
42120 s,@infodir@,$infodir,;t t
42121 s,@mandir@,$mandir,;t t
42122 s,@build_alias@,$build_alias,;t t
42123 s,@host_alias@,$host_alias,;t t
42124 s,@target_alias@,$target_alias,;t t
42125 s,@DEFS@,$DEFS,;t t
42126 s,@ECHO_C@,$ECHO_C,;t t
42127 s,@ECHO_N@,$ECHO_N,;t t
42128 s,@ECHO_T@,$ECHO_T,;t t
42129 s,@LIBS@,$LIBS,;t t
42130 s,@build@,$build,;t t
42131 s,@build_cpu@,$build_cpu,;t t
42132 s,@build_vendor@,$build_vendor,;t t
42133 s,@build_os@,$build_os,;t t
42134 s,@host@,$host,;t t
42135 s,@host_cpu@,$host_cpu,;t t
42136 s,@host_vendor@,$host_vendor,;t t
42137 s,@host_os@,$host_os,;t t
42138 s,@target@,$target,;t t
42139 s,@target_cpu@,$target_cpu,;t t
42140 s,@target_vendor@,$target_vendor,;t t
42141 s,@target_os@,$target_os,;t t
42143 s,@CFLAGS@,$CFLAGS,;t t
42144 s,@LDFLAGS@,$LDFLAGS,;t t
42145 s,@CPPFLAGS@,$CPPFLAGS,;t t
42146 s,@ac_ct_CC@,$ac_ct_CC,;t t
42147 s,@EXEEXT@,$EXEEXT,;t t
42148 s,@OBJEXT@,$OBJEXT,;t t
42150 s,@EGREP@,$EGREP,;t t
42152 s,@CXXFLAGS@,$CXXFLAGS,;t t
42153 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42154 s,@RANLIB@,$RANLIB,;t t
42155 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42157 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42158 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42159 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42160 s,@STRIP@,$STRIP,;t t
42161 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42162 s,@LN_S@,$LN_S,;t t
42163 s,@CXXCPP@,$CXXCPP,;t t
42164 s,@subdirs@,$subdirs,;t t
42165 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42166 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42167 s,@GTK_LIBS@,$GTK_LIBS,;t t
42168 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42169 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42170 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42171 s,@X_CFLAGS@,$X_CFLAGS,;t t
42172 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42173 s,@X_LIBS@,$X_LIBS,;t t
42174 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42175 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42176 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42177 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42178 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42179 s,@RESCOMP@,$RESCOMP,;t t
42180 s,@DEREZ@,$DEREZ,;t t
42181 s,@SETFILE@,$SETFILE,;t t
42182 s,@LIBICONV@,$LIBICONV,;t t
42183 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42184 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42185 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42186 s,@SDL_LIBS@,$SDL_LIBS,;t t
42187 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42188 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42189 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42190 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42191 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42192 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42193 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42194 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42195 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42196 s,@VENDOR@,$VENDOR,;t t
42197 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42198 s,@WXUNIV@,$WXUNIV,;t t
42199 s,@MONOLITHIC@,$MONOLITHIC,;t t
42200 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42201 s,@EXTRALIBS@,$EXTRALIBS,;t t
42202 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42203 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42204 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42205 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42206 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42207 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42208 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42209 s,@UNICODE@,$UNICODE,;t t
42210 s,@BUILD@,$BUILD,;t t
42211 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42212 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42213 s,@SHARED@,$SHARED,;t t
42214 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42215 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42216 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42217 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42218 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42219 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42220 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42221 s,@SET_MAKE@,$SET_MAKE,;t t
42222 s,@MAKE_SET@,$MAKE_SET,;t t
42223 s,@ac_ct_AR@,$ac_ct_AR,;t t
42224 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42226 s,@ac_ct_NM@,$ac_ct_NM,;t t
42227 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42228 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42229 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42230 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42231 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42232 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42233 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42234 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42235 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42236 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42237 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42238 s,@LIBPREFIX@,$LIBPREFIX,;t t
42239 s,@LIBEXT@,$LIBEXT,;t t
42240 s,@DLLPREFIX@,$DLLPREFIX,;t t
42241 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42242 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42243 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42244 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42245 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42246 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42247 s,@PIC_FLAG@,$PIC_FLAG,;t t
42248 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42249 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42250 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42251 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42252 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42253 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42254 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42255 s,@GCC_PCH@,$GCC_PCH,;t t
42256 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42257 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42258 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42259 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42260 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42261 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42262 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42263 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42264 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42265 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42266 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42267 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42268 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42269 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42270 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42271 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42272 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42273 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42274 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
42275 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42276 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42277 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42278 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42279 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
42280 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42281 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42282 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42283 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42284 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42285 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42286 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42287 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42288 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42289 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42290 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42291 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42292 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42293 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42294 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42295 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42296 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42297 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42298 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42299 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42300 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42301 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42302 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42303 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42304 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42305 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42306 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42307 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42308 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42309 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42310 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42311 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42312 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42313 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42314 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42315 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42316 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42317 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42318 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42319 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42320 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42321 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42322 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42323 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42324 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42325 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42326 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42327 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42328 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42329 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42330 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42331 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42332 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42333 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42334 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42335 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42336 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42337 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42338 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42339 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42340 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42341 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42342 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42343 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42344 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42345 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42346 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42347 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42348 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42349 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42350 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42351 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42352 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42353 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42354 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42355 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
42356 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42357 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42358 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42359 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42360 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42361 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42362 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42363 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42364 s,@PATH_IFS@,$PATH_IFS,;t t
42365 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
42366 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
42367 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
42368 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
42369 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
42370 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42371 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42372 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
42373 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
42374 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
42375 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
42376 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
42377 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
42378 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
42379 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
42380 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
42381 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
42382 s,@WX_ALL@,$WX_ALL,;t t
42383 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
42384 s,@SHARED_LD@,$SHARED_LD,;t t
42385 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
42386 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
42387 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42388 s,@USE_GUI@,$USE_GUI,;t t
42389 s,@AFMINSTALL@,$AFMINSTALL,;t t
42390 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42391 s,@TOOLKIT@,$TOOLKIT,;t t
42392 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42393 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
42394 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42395 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42396 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42397 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
42398 s,@cross_compiling@,$cross_compiling,;t t
42399 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42400 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
42401 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
42402 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
42403 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
42404 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42405 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42406 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42407 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42408 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42409 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42410 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
42411 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
42412 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
42413 s,@GUIDIST@,$GUIDIST,;t t
42414 s,@PORT_FILES@,$PORT_FILES,;t t
42415 s,@DISTDIR@,$DISTDIR,;t t
42416 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42417 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42418 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
42419 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
42420 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42421 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42422 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42423 s,@RESFLAGS@,$RESFLAGS,;t t
42424 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42425 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42426 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42427 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42428 s,@MACRESCOMP@,$MACRESCOMP,;t t
42429 s,@MACSETFILE@,$MACSETFILE,;t t
42430 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42432 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
42433 s,@DLLTOOL@,$DLLTOOL,;t t
42436 s,@MAKEINFO@,$MAKEINFO,;t t
42437 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
42438 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42439 s,@LIBOBJS@,$LIBOBJS,;t t
42440 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42445 cat >>$CONFIG_STATUS <<\_ACEOF
42446 # Split the substitutions into bite-sized pieces for seds with
42447 # small command number limits, like on Digital OSF/1 and HP-UX.
42448 ac_max_sed_lines
=48
42449 ac_sed_frag
=1 # Number of current file.
42450 ac_beg
=1 # First line for current file.
42451 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42454 while $ac_more_lines; do
42455 if test $ac_beg -gt 1; then
42456 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42458 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42460 if test ! -s $tmp/subs.frag
; then
42461 ac_more_lines
=false
42463 # The purpose of the label and of the branching condition is to
42464 # speed up the sed processing (if there are no `@' at all, there
42465 # is no need to browse any of the substitutions).
42466 # These are the two extra sed commands mentioned above.
42468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42469 if test -z "$ac_sed_cmds"; then
42470 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42472 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42474 ac_sed_frag
=`expr $ac_sed_frag + 1`
42476 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42479 if test -z "$ac_sed_cmds"; then
42482 fi # test -n "$CONFIG_FILES"
42485 cat >>$CONFIG_STATUS <<\_ACEOF
42486 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42487 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42489 - | *:- | *:-:* ) # input from stdin
42491 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42493 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42494 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42495 * ) ac_file_in
=$ac_file.
in ;;
42498 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42499 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42501 X"$ac_file" : 'X\(//\)[^/]' \| \
42502 X"$ac_file" : 'X\(//\)$' \| \
42503 X"$ac_file" : 'X\(/\)' \| \
42504 . : '\(.\)' 2>/dev/null ||
42506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42508 /^X\(\/\/\)$/{ s//\1/; q; }
42509 /^X\(\/\).*/{ s//\1/; q; }
42511 { if $as_mkdir_p; then
42516 while test ! -d "$as_dir"; do
42517 as_dirs
="$as_dir $as_dirs"
42518 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42520 X"$as_dir" : 'X\(//\)[^/]' \| \
42521 X"$as_dir" : 'X\(//\)$' \| \
42522 X"$as_dir" : 'X\(/\)' \| \
42523 . : '\(.\)' 2>/dev/null ||
42525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42527 /^X\(\/\/\)$/{ s//\1/; q; }
42528 /^X\(\/\).*/{ s//\1/; q; }
42531 test ! -n "$as_dirs" || mkdir $as_dirs
42532 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42533 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42534 { (exit 1); exit 1; }; }; }
42538 if test "$ac_dir" != .
; then
42539 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42540 # A "../" for each directory in $ac_dir_suffix.
42541 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42543 ac_dir_suffix
= ac_top_builddir
=
42547 .
) # No --srcdir option. We are building in place.
42549 if test -z "$ac_top_builddir"; then
42552 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42554 [\\/]* | ?
:[\\/]* ) # Absolute path.
42555 ac_srcdir
=$srcdir$ac_dir_suffix;
42556 ac_top_srcdir
=$srcdir ;;
42557 *) # Relative path.
42558 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42559 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42562 # Do not use `cd foo && pwd` to compute absolute paths, because
42563 # the directories may not exist.
42565 .
) ac_abs_builddir
="$ac_dir";;
42568 .
) ac_abs_builddir
=`pwd`;;
42569 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42570 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42573 case $ac_abs_builddir in
42574 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42576 case ${ac_top_builddir}.
in
42577 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42578 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42579 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42582 case $ac_abs_builddir in
42583 .
) ac_abs_srcdir
=$ac_srcdir;;
42586 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42587 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42588 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42591 case $ac_abs_builddir in
42592 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42594 case $ac_top_srcdir in
42595 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42596 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42597 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42603 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42604 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42607 if test x
"$ac_file" != x
-; then
42608 { echo "$as_me:$LINENO: creating $ac_file" >&5
42609 echo "$as_me: creating $ac_file" >&6;}
42612 # Let's still pretend it is `configure' which instantiates (i.e., don't
42613 # use $as_me), people would be surprised to read:
42614 # /* config.h. Generated by config.status. */
42615 if test x
"$ac_file" = x
-; then
42618 configure_input
="$ac_file. "
42620 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42621 sed 's,.*/,,'` by configure."
42623 # First look for the input files in the build tree, otherwise in the
42625 ac_file_inputs
=`IFS=:
42626 for f in $ac_file_in; do
42628 -) echo $tmp/stdin ;;
42630 # Absolute (can't be DOS-style, as IFS=:)
42631 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42632 echo "$as_me: error: cannot find input file: $f" >&2;}
42633 { (exit 1); exit 1; }; }
42636 if test -f "$f"; then
42639 elif test -f "$srcdir/$f"; then
42644 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42645 echo "$as_me: error: cannot find input file: $f" >&2;}
42646 { (exit 1); exit 1; }; }
42649 done` || { (exit 1); exit 1; }
42651 cat >>$CONFIG_STATUS <<_ACEOF
42655 cat >>$CONFIG_STATUS <<\_ACEOF
42657 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42658 s
,@configure_input@
,$configure_input,;t t
42659 s
,@srcdir@
,$ac_srcdir,;t t
42660 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42661 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42662 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42663 s
,@builddir@
,$ac_builddir,;t t
42664 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42665 s
,@top_builddir@
,$ac_top_builddir,;t t
42666 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42667 s
,@INSTALL@
,$ac_INSTALL,;t t
42668 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42670 if test x"$ac_file" != x-; then
42671 mv $tmp/out $ac_file
42679 cat >>$CONFIG_STATUS <<\_ACEOF
42682 # CONFIG_HEADER section.
42685 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42686 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42688 # ac_d sets the value in "#define NAME VALUE" lines.
42689 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42690 ac_dB
='[ ].*$,\1#\2'
42693 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42694 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42695 ac_uB
='$,\1#\2define\3'
42699 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42700 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42702 - | *:- | *:-:* ) # input from stdin
42704 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42705 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42706 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42707 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42708 * ) ac_file_in
=$ac_file.
in ;;
42711 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42712 echo "$as_me: creating $ac_file" >&6;}
42714 # First look for the input files in the build tree, otherwise in the
42716 ac_file_inputs
=`IFS=:
42717 for f in $ac_file_in; do
42719 -) echo $tmp/stdin ;;
42721 # Absolute (can't be DOS-style, as IFS=:)
42722 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42723 echo "$as_me: error: cannot find input file: $f" >&2;}
42724 { (exit 1); exit 1; }; }
42725 # Do quote $f, to prevent DOS paths from being IFS'd.
42728 if test -f "$f"; then
42731 elif test -f "$srcdir/$f"; then
42736 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42737 echo "$as_me: error: cannot find input file: $f" >&2;}
42738 { (exit 1); exit 1; }; }
42741 done` || { (exit 1); exit 1; }
42742 # Remove the trailing spaces.
42743 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42747 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42748 # `conftest.undefs', that substitutes the proper values into
42749 # config.h.in to produce config.h. The first handles `#define'
42750 # templates, and the second `#undef' templates.
42751 # And first: Protect against being on the right side of a sed subst in
42752 # config.status. Protect against being in an unquoted here document
42753 # in config.status.
42754 rm -f conftest.defines conftest.undefs
42755 # Using a here document instead of a string reduces the quoting nightmare.
42756 # Putting comments in sed scripts is not portable.
42758 # `end' is used to avoid that the second main sed command (meant for
42759 # 0-ary CPP macros) applies to n-ary macro definitions.
42760 # See the Autoconf documentation for `clear'.
42761 cat >confdef2sed.
sed <<\_ACEOF
42766 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42768 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42771 # If some macros were called several times there might be several times
42772 # the same #defines, which is useless. Nevertheless, we may not want to
42773 # sort them, since we want the *last* AC-DEFINE to be honored.
42774 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42775 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42776 rm -f confdef2sed.sed
42778 # This sed command replaces #undef with comments. This is necessary, for
42779 # example, in the case of _POSIX_SOURCE, which is predefined and required
42780 # on some systems where configure will not decide to define it.
42781 cat >>conftest.undefs <<\_ACEOF
42782 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42785 # Break up conftest.defines because some shells have a limit on the size
42786 # of here documents, and old seds have small limits too (100 cmds).
42787 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42788 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42789 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42790 echo ' :' >>$CONFIG_STATUS
42791 rm -f conftest.tail
42792 while grep . conftest.defines >/dev/null
42794 # Write a limited-size here document to $tmp/defines.sed.
42795 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42796 # Speed up: don't consider the non `#define' lines.
42797 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42798 # Work around the forget-to-reset-the-flag bug.
42799 echo 't clr' >>$CONFIG_STATUS
42800 echo ': clr' >>$CONFIG_STATUS
42801 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42803 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42805 mv $tmp/out $tmp/in
42807 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42808 rm -f conftest.defines
42809 mv conftest.
tail conftest.defines
42811 rm -f conftest.defines
42812 echo ' fi # grep' >>$CONFIG_STATUS
42813 echo >>$CONFIG_STATUS
42815 # Break up conftest.undefs because some shells have a limit on the size
42816 # of here documents, and old seds have small limits too (100 cmds).
42817 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42818 rm -f conftest.
tail
42819 while grep . conftest.undefs
>/dev
/null
42821 # Write a limited-size here document to $tmp/undefs.sed.
42822 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42823 # Speed up: don't consider the non
`#undef'
42824 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42825 # Work around the forget-to-reset-the-flag bug.
42826 echo 't clr' >>$CONFIG_STATUS
42827 echo ': clr' >>$CONFIG_STATUS
42828 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42830 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42832 mv $tmp/out $tmp/in
42834 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42835 rm -f conftest.undefs
42836 mv conftest.tail conftest.undefs
42838 rm -f conftest.undefs
42840 cat >>$CONFIG_STATUS <<\_ACEOF
42841 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42842 # use $as_me), people would be surprised to read:
42843 # /* config.h. Generated by config.status. */
42844 if test x
"$ac_file" = x
-; then
42845 echo "/* Generated by configure. */" >$tmp/config.h
42847 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42849 cat $tmp/in >>$tmp/config.h
42851 if test x
"$ac_file" != x
-; then
42852 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42853 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42854 echo "$as_me: $ac_file is unchanged" >&6;}
42856 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42858 X"$ac_file" : 'X\(//\)[^/]' \| \
42859 X"$ac_file" : 'X\(//\)$' \| \
42860 X"$ac_file" : 'X\(/\)' \| \
42861 . : '\(.\)' 2>/dev/null ||
42863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42865 /^X\(\/\/\)$/{ s//\1/; q; }
42866 /^X\(\/\).*/{ s//\1/; q; }
42868 { if $as_mkdir_p; then
42873 while test ! -d "$as_dir"; do
42874 as_dirs
="$as_dir $as_dirs"
42875 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42877 X"$as_dir" : 'X\(//\)[^/]' \| \
42878 X"$as_dir" : 'X\(//\)$' \| \
42879 X"$as_dir" : 'X\(/\)' \| \
42880 . : '\(.\)' 2>/dev/null ||
42882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42884 /^X\(\/\/\)$/{ s//\1/; q; }
42885 /^X\(\/\).*/{ s//\1/; q; }
42888 test ! -n "$as_dirs" || mkdir $as_dirs
42889 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42891 { (exit 1); exit 1; }; }; }
42894 mv $tmp/config.h
$ac_file
42898 rm -f $tmp/config.h
42902 cat >>$CONFIG_STATUS <<\_ACEOF
42905 # CONFIG_COMMANDS section.
42907 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42908 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42909 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42910 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42911 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42912 X"$ac_dest" : 'X\(//\)[^/]' \| \
42913 X"$ac_dest" : 'X\(//\)$' \| \
42914 X"$ac_dest" : 'X\(/\)' \| \
42915 . : '\(.\)' 2>/dev/null ||
42917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42919 /^X\(\/\/\)$/{ s//\1/; q; }
42920 /^X\(\/\).*/{ s//\1/; q; }
42922 { if $as_mkdir_p; then
42927 while test ! -d "$as_dir"; do
42928 as_dirs
="$as_dir $as_dirs"
42929 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42931 X"$as_dir" : 'X\(//\)[^/]' \| \
42932 X"$as_dir" : 'X\(//\)$' \| \
42933 X"$as_dir" : 'X\(/\)' \| \
42934 . : '\(.\)' 2>/dev/null ||
42936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42938 /^X\(\/\/\)$/{ s//\1/; q; }
42939 /^X\(\/\).*/{ s//\1/; q; }
42942 test ! -n "$as_dirs" || mkdir $as_dirs
42943 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42944 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42945 { (exit 1); exit 1; }; }; }
42949 if test "$ac_dir" != .
; then
42950 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42951 # A "../" for each directory in $ac_dir_suffix.
42952 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42954 ac_dir_suffix
= ac_top_builddir
=
42958 .
) # No --srcdir option. We are building in place.
42960 if test -z "$ac_top_builddir"; then
42963 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42965 [\\/]* | ?
:[\\/]* ) # Absolute path.
42966 ac_srcdir
=$srcdir$ac_dir_suffix;
42967 ac_top_srcdir
=$srcdir ;;
42968 *) # Relative path.
42969 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42970 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42973 # Do not use `cd foo && pwd` to compute absolute paths, because
42974 # the directories may not exist.
42976 .
) ac_abs_builddir
="$ac_dir";;
42979 .
) ac_abs_builddir
=`pwd`;;
42980 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42981 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42984 case $ac_abs_builddir in
42985 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42987 case ${ac_top_builddir}.
in
42988 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42989 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42990 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42993 case $ac_abs_builddir in
42994 .
) ac_abs_srcdir
=$ac_srcdir;;
42997 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42998 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42999 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43002 case $ac_abs_builddir in
43003 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43005 case $ac_top_srcdir in
43006 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43007 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43008 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43013 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43014 echo "$as_me: executing $ac_dest commands" >&6;}
43017 if test ! -h wx
-config; then
43019 mv wx
-config wx
${TOOLCHAIN_NAME}-config
43020 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
43023 if test ! -d lib
; then
43026 if test ! -d lib
/wx
; then
43029 if test ! -d lib
/wx
/include
; then
43030 mkdir lib
/wx
/include
43032 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
43033 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
43035 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
43036 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
43038 if test -f setup.h
; then
43039 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
43046 cat >>$CONFIG_STATUS <<\_ACEOF
43048 { (exit 0); exit 0; }
43050 chmod +x
$CONFIG_STATUS
43051 ac_clean_files
=$ac_clean_files_save
43054 # configure is writing to config.log, and then calls config.status.
43055 # config.status does its own redirection, appending to config.log.
43056 # Unfortunately, on DOS this fails, as config.log is still kept open
43057 # by configure, so config.status won't be able to write to it; its
43058 # output is simply discarded. So we exec the FD to /dev/null,
43059 # effectively closing config.log, so it can be properly (re)opened and
43060 # appended to by config.status. When coming back to configure, we
43061 # need to make the FD available again.
43062 if test "$no_create" != yes; then
43064 ac_config_status_args
=
43065 test "$silent" = yes &&
43066 ac_config_status_args
="$ac_config_status_args --quiet"
43068 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43070 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43071 # would make configure fail if this is the last instruction.
43072 $ac_cs_success || { (exit 1); exit 1; }
43076 # CONFIG_SUBDIRS section.
43078 if test "$no_recursion" != yes; then
43080 # Remove --cache-file and --srcdir arguments so they do not pile up.
43081 ac_sub_configure_args
=
43083 for ac_arg
in $ac_configure_args; do
43084 if test -n "$ac_prev"; then
43089 -cache-file | --cache-file | --cache-fil | --cache-fi \
43090 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43091 ac_prev
=cache_file
;;
43092 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43093 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43096 --config-cache | -C)
43098 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43100 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43102 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43104 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43106 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43110 # Always prepend --prefix to ensure using the same prefix
43111 # in subdir configurations.
43112 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43115 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43117 # Do not complain, so a configure script can configure whichever
43118 # parts of a large source tree are present.
43119 test -d $srcdir/$ac_dir || continue
43121 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43122 echo "$as_me: configuring in $ac_dir" >&6;}
43123 { if $as_mkdir_p; then
43128 while test ! -d "$as_dir"; do
43129 as_dirs
="$as_dir $as_dirs"
43130 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43131 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43132 X"$as_dir" : 'X\(//\)[^/]' \| \
43133 X"$as_dir" : 'X\(//\)$' \| \
43134 X"$as_dir" : 'X\(/\)' \| \
43135 . : '\(.\)' 2>/dev/null ||
43137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43138 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43139 /^X\(\/\/\)$/{ s//\1/; q; }
43140 /^X\(\/\).*/{ s//\1/; q; }
43143 test ! -n "$as_dirs" || mkdir $as_dirs
43144 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43145 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43146 { (exit 1); exit 1; }; }; }
43150 if test "$ac_dir" != .
; then
43151 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43152 # A "../" for each directory in $ac_dir_suffix.
43153 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43155 ac_dir_suffix
= ac_top_builddir
=
43159 .
) # No --srcdir option. We are building in place.
43161 if test -z "$ac_top_builddir"; then
43164 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43166 [\\/]* | ?
:[\\/]* ) # Absolute path.
43167 ac_srcdir
=$srcdir$ac_dir_suffix;
43168 ac_top_srcdir
=$srcdir ;;
43169 *) # Relative path.
43170 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43171 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43174 # Do not use `cd foo && pwd` to compute absolute paths, because
43175 # the directories may not exist.
43177 .
) ac_abs_builddir
="$ac_dir";;
43180 .
) ac_abs_builddir
=`pwd`;;
43181 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43182 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43185 case $ac_abs_builddir in
43186 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43188 case ${ac_top_builddir}.
in
43189 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43190 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43191 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43194 case $ac_abs_builddir in
43195 .
) ac_abs_srcdir
=$ac_srcdir;;
43198 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43199 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43200 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43203 case $ac_abs_builddir in
43204 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43206 case $ac_top_srcdir in
43207 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43208 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43209 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43216 # Check for guested configure; otherwise get Cygnus style configure.
43217 if test -f $ac_srcdir/configure.gnu
; then
43218 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43219 elif test -f $ac_srcdir/configure
; then
43220 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43221 elif test -f $ac_srcdir/configure.
in; then
43222 ac_sub_configure
=$ac_configure
43224 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43225 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43229 # The recursion is here.
43230 if test -n "$ac_sub_configure"; then
43231 # Make the cache file name correct relative to the subdirectory.
43232 case $cache_file in
43233 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43234 *) # Relative path.
43235 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43238 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43239 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43240 # The eval makes quoting arguments work.
43241 eval $ac_sub_configure $ac_sub_configure_args \
43242 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43243 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43244 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43245 { (exit 1); exit 1; }; }
43254 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
43256 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
43257 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43259 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43260 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
43261 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43263 echo " What level of wxWindows compatibility should be enabled?"
43264 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43265 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43267 echo " Which libraries should wxWindows use?"
43268 echo " jpeg ${wxUSE_LIBJPEG-none}"
43269 echo " png ${wxUSE_LIBPNG-none}"
43270 echo " regex ${wxUSE_REGEX}"
43271 echo " tiff ${wxUSE_LIBTIFF-none}"
43272 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43273 echo " xpm ${wxUSE_LIBXPM-none}"
43275 echo " zlib ${wxUSE_ZLIB}"
43276 echo " odbc ${wxUSE_ODBC}"
43277 echo " expat ${wxUSE_EXPAT}"
43278 echo " libmspack ${wxUSE_LIBMSPACK}"
43279 echo " sdl ${wxUSE_LIBSDL}"