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 wxWidgets 2.5.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.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
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.2'
274 PACKAGE_STRING
='wxWidgets 2.5.2'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.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 wxWidgets 2.5.2 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 wxWidgets 2.5.2:";;
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 wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets 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 wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
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 wxWidgets 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-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
955 --enable-prologio not available
; see contrib
956 --enable-resources not available
; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag
'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick
(Linux only
)
1021 --enable-metafiles use wxMetaFile
(Windows only
)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images
(GIF
file format
)
1027 --enable-pcx use pcx images
(PCX
file format
)
1028 --enable-iff use iff images
(IFF
file format
)
1029 --enable-pnm use pnm images
(PNM
file format
)
1030 --enable-xpm use xpm images
(XPM
file format
)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1033 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1034 --disable-largefile omit support
for large files
1035 --disable-gtktest do not try to compile and run a
test GTK
+ program
1036 --disable-gtktest Do not try to compile and run a
test GTK program
1037 --disable-sdltest Do not try to compile and run a
test SDL program
1038 --enable-omf use OMF object format
(OS
/2)
1039 --disable-precomp-headers don
't use precompiled headers even if compiler can
1042 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1043 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-motif use Motif/Lesstif
1046 --with-mac use Mac OS X
1047 --with-cocoa use Cocoa
1048 --with-wine use Wine
1049 --with-msw use MS-Windows
1050 --with-pm use OS/2 Presentation Manager
1051 --with-mgl use SciTech MGL
1052 --with-microwin use MicroWindows
1054 --with-libpng use libpng (PNG image format)
1055 --with-libjpeg use libjpeg (JPEG file format)
1056 --with-libtiff use libtiff (TIFF file format)
1057 --with-libxpm use libxpm (XPM file format)
1058 --with-libmspack use libmspack (CHM help files loading)
1059 --with-sdl use SDL for audio on Unix
1060 --with-opengl use OpenGL (or Mesa)
1061 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1062 --with-regex enable support for wxRegEx class
1063 --with-zlib use zlib for LZW compression
1064 --with-odbc use the IODBC and wxODBC classes
1065 --with-expat enable XML support using expat parser
1066 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1067 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1068 --with-x use the X Window System
1069 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1070 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1071 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1072 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1073 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1075 Some influential environment variables:
1076 CC C compiler command
1077 CFLAGS C compiler flags
1078 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1079 nonstandard directory <lib dir>
1080 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081 headers in a nonstandard directory <include dir>
1083 CXX C++ compiler command
1084 CXXFLAGS C++ compiler flags
1085 CXXCPP C++ preprocessor
1087 Use these variables to override the choices made by `configure' or to
help
1088 it to
find libraries and programs with nonstandard names
/locations.
1090 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1094 if test "$ac_init_help" = "recursive"; then
1095 # If there are subdirs, report their specific --help.
1097 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1098 test -d $ac_dir || continue
1101 if test "$ac_dir" != .
; then
1102 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1103 # A "../" for each directory in $ac_dir_suffix.
1104 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106 ac_dir_suffix
= ac_top_builddir
=
1110 .
) # No --srcdir option. We are building in place.
1112 if test -z "$ac_top_builddir"; then
1115 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1117 [\\/]* | ?
:[\\/]* ) # Absolute path.
1118 ac_srcdir
=$srcdir$ac_dir_suffix;
1119 ac_top_srcdir
=$srcdir ;;
1121 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1122 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1125 # Do not use `cd foo && pwd` to compute absolute paths, because
1126 # the directories may not exist.
1128 .
) ac_abs_builddir
="$ac_dir";;
1131 .
) ac_abs_builddir
=`pwd`;;
1132 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1133 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1136 case $ac_abs_builddir in
1137 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1139 case ${ac_top_builddir}.
in
1140 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1141 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1142 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1145 case $ac_abs_builddir in
1146 .
) ac_abs_srcdir
=$ac_srcdir;;
1149 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1150 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1151 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1154 case $ac_abs_builddir in
1155 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1157 case $ac_top_srcdir in
1158 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1159 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1160 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1165 # Check for guested configure; otherwise get Cygnus style configure.
1166 if test -f $ac_srcdir/configure.gnu
; then
1168 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1169 elif test -f $ac_srcdir/configure
; then
1171 $SHELL $ac_srcdir/configure
--help=recursive
1172 elif test -f $ac_srcdir/configure.ac
||
1173 test -f $ac_srcdir/configure.
in; then
1175 $ac_configure --help
1177 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183 test -n "$ac_init_help" && exit 0
1184 if $ac_init_version; then
1186 wxWidgets configure
2.5.2
1187 generated by GNU Autoconf
2.59
1189 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1190 This configure
script is free software
; the Free Software Foundation
1191 gives unlimited permission to copy
, distribute and modify it.
1197 This file contains any messages produced by compilers while
1198 running configure, to aid debugging if configure makes a mistake.
1200 It was created by wxWidgets $as_me 2.5.2, which was
1201 generated by GNU Autoconf 2.59. Invocation command line was
1212 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1235 test -z "$as_dir" && as_dir
=.
1236 echo "PATH: $as_dir"
1251 # Keep a trace of the command line.
1252 # Strip out --no-create and --no-recursion so they do not pile up.
1253 # Strip out --silent because we don't want to record it for future runs.
1254 # Also quote any args containing shell meta-characters.
1255 # Make two passes to allow for proper duplicate-argument suppression.
1260 ac_must_keep_next
=false
1266 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1276 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1277 if test $ac_must_keep_next = true
; then
1278 ac_must_keep_next
=false
# Got value, back to normal.
1281 *=* | --config-cache | -C | -disable-* | --disable-* \
1282 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1283 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1284 | -with-* | --with-* | -without-* | --without-* | --x)
1285 case "$ac_configure_args0 " in
1286 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1289 -* ) ac_must_keep_next
=true
;;
1292 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1293 # Get rid of the leading space.
1299 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1300 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1302 # When interrupted or exit'd, cleanup temporary files, and complete
1303 # config.log. We remove comments because anyway the quotes in there
1304 # would cause problems or look ugly.
1305 # WARNING: Be sure not to use single quotes in there, as some shells,
1306 # such as our DU 5.0 friend, will then `close' the trap.
1307 trap 'exit_status=$?
1308 # Save into config.log some information that might help in debugging.
1313 ## ---------------- ##
1314 ## Cache variables. ##
1315 ## ---------------- ##
1318 # The following way of writing the cache mishandles newlines in values,
1321 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1324 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 ## ----------------- ##
1337 ## Output variables. ##
1338 ## ----------------- ##
1341 for ac_var in $ac_subst_vars
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1348 if test -n "$ac_subst_files"; then
1355 for ac_var in $ac_subst_files
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -s confdefs.h; then
1370 sed "/^$/d" confdefs.h | sort
1373 test "$ac_signal" != 0 &&
1374 echo "$as_me: caught signal $ac_signal"
1375 echo "$as_me: exit $exit_status"
1377 rm -f core *.core &&
1378 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1381 for ac_signal
in 1 2 13 15; do
1382 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1387 rm -rf conftest
* confdefs.h
1388 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1391 # Predefined preprocessor variables.
1393 cat >>confdefs.h
<<_ACEOF
1394 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 cat >>confdefs.h
<<_ACEOF
1399 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 # Let the site file select an alternate cache file if it wants to.
1419 # Prefer explicitly selected file to automatically selected ones.
1420 if test -z "$CONFIG_SITE"; then
1421 if test "x$prefix" != xNONE
; then
1422 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1424 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1427 for ac_site_file
in $CONFIG_SITE; do
1428 if test -r "$ac_site_file"; then
1429 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430 echo "$as_me: loading site script $ac_site_file" >&6;}
1431 sed 's/^/| /' "$ac_site_file" >&5
1436 if test -r "$cache_file"; then
1437 # Some versions of bash will fail to source /dev/null (special
1438 # files actually), so we avoid doing that.
1439 if test -f "$cache_file"; then
1440 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441 echo "$as_me: loading cache $cache_file" >&6;}
1443 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1444 *) . .
/$cache_file;;
1448 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1449 echo "$as_me: creating cache $cache_file" >&6;}
1453 # Check that the precious variables saved in the cache have kept the same
1455 ac_cache_corrupted
=false
1456 for ac_var
in `(set) 2>&1 |
1457 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1458 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1459 eval ac_new_set
=\
$ac_env_${ac_var}_set
1460 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1461 eval ac_new_val
="\$ac_env_${ac_var}_value"
1462 case $ac_old_set,$ac_new_set in
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1466 ac_cache_corrupted
=: ;;
1468 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1469 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1470 ac_cache_corrupted
=: ;;
1473 if test "x$ac_old_val" != "x$ac_new_val"; then
1474 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1475 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1476 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1477 echo "$as_me: former value: $ac_old_val" >&2;}
1478 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1479 echo "$as_me: current value: $ac_new_val" >&2;}
1480 ac_cache_corrupted
=:
1483 # Pass precious variables to config.status.
1484 if test "$ac_new_set" = set; then
1486 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1487 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 *) ac_arg
=$ac_var=$ac_new_val ;;
1490 case " $ac_configure_args " in
1491 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1492 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1496 if $ac_cache_corrupted; then
1497 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1498 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1499 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1500 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1501 { (exit 1); exit 1; }; }
1505 ac_cpp
='$CPP $CPPFLAGS'
1506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1540 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1541 if test -f $ac_dir/install-sh; then
1543 ac_install_sh
="$ac_aux_dir/install-sh -c"
1545 elif test -f $ac_dir/install.sh
; then
1547 ac_install_sh
="$ac_aux_dir/install.sh -c"
1549 elif test -f $ac_dir/shtool
; then
1551 ac_install_sh
="$ac_aux_dir/shtool install -c"
1555 if test -z "$ac_aux_dir"; then
1556 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1557 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1558 { (exit 1); exit 1; }; }
1560 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1561 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1562 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1564 # Make sure we can run config.sub.
1565 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1566 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1567 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1568 { (exit 1); exit 1; }; }
1570 echo "$as_me:$LINENO: checking build system type" >&5
1571 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1572 if test "${ac_cv_build+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 ac_cv_build_alias
=$build_alias
1576 test -z "$ac_cv_build_alias" &&
1577 ac_cv_build_alias
=`$ac_config_guess`
1578 test -z "$ac_cv_build_alias" &&
1579 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1580 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1581 { (exit 1); exit 1; }; }
1582 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1584 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1588 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1589 echo "${ECHO_T}$ac_cv_build" >&6
1591 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1592 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1593 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1596 echo "$as_me:$LINENO: checking host system type" >&5
1597 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1598 if test "${ac_cv_host+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 ac_cv_host_alias
=$host_alias
1602 test -z "$ac_cv_host_alias" &&
1603 ac_cv_host_alias
=$ac_cv_build_alias
1604 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1606 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1607 { (exit 1); exit 1; }; }
1610 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1611 echo "${ECHO_T}$ac_cv_host" >&6
1613 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1614 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1615 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1618 echo "$as_me:$LINENO: checking target system type" >&5
1619 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1620 if test "${ac_cv_target+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 ac_cv_target_alias
=$target_alias
1624 test "x$ac_cv_target_alias" = "x" &&
1625 ac_cv_target_alias
=$ac_cv_host_alias
1626 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1632 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1633 echo "${ECHO_T}$ac_cv_target" >&6
1634 target
=$ac_cv_target
1635 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1640 # The aliases save the names the user supplied, while $host etc.
1641 # will get canonicalized.
1642 test -n "$target_alias" &&
1643 test "$program_prefix$program_suffix$program_transform_name" = \
1645 program_prefix
=${target_alias}-
1649 WX_MAJOR_VERSION_NUMBER
=2
1650 WX_MINOR_VERSION_NUMBER
=5
1653 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1654 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1656 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1672 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1678 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1684 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1686 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1688 DEFAULT_wxUSE_COCOA
=0
1692 DEFAULT_wxUSE_MICROWIN
=0
1693 DEFAULT_wxUSE_MOTIF
=0
1698 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1699 DEFAULT_DEFAULT_wxUSE_GTK
=0
1700 DEFAULT_DEFAULT_wxUSE_MAC
=0
1701 DEFAULT_DEFAULT_wxUSE_MGL
=0
1702 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1703 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1704 DEFAULT_DEFAULT_wxUSE_MSW
=0
1705 DEFAULT_DEFAULT_wxUSE_PM
=0
1706 DEFAULT_DEFAULT_wxUSE_X11
=0
1711 SAMPLES_RPATH_POSTLINK
=
1716 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1717 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1719 cat >>confdefs.h
<<\_ACEOF
1726 cat >>confdefs.h
<<\_ACEOF
1731 if test "x$TMP" = "xalpha"; then
1733 cat >>confdefs.h
<<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_GTK
=1
1740 *-*-gnu* | *-*-k*bsd
*-gnu )
1743 if test "x$TMP" = "xalpha"; then
1745 cat >>confdefs.h
<<\_ACEOF
1750 DEFAULT_DEFAULT_wxUSE_GTK
=1
1752 *-*-irix5* | *-*-irix6* )
1755 cat >>confdefs.h
<<\_ACEOF
1759 cat >>confdefs.h
<<\_ACEOF
1763 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1769 cat >>confdefs.h
<<\_ACEOF
1773 cat >>confdefs.h
<<\_ACEOF
1774 #define __SOLARIS__ 1
1777 cat >>confdefs.h
<<\_ACEOF
1781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1782 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1788 cat >>confdefs.h
<<\_ACEOF
1792 cat >>confdefs.h
<<\_ACEOF
1796 cat >>confdefs.h
<<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1805 cat >>confdefs.h
<<\_ACEOF
1806 #define __FREEBSD__ 1
1809 cat >>confdefs.h
<<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_GTK
=1
1818 cat >>confdefs.h
<<\_ACEOF
1819 #define __OPENBSD__ 1
1822 cat >>confdefs.h
<<\_ACEOF
1826 DEFAULT_DEFAULT_wxUSE_GTK
=1
1831 cat >>confdefs.h
<<\_ACEOF
1832 #define __NETBSD__ 1
1835 cat >>confdefs.h
<<\_ACEOF
1839 DEFAULT_DEFAULT_wxUSE_GTK
=1
1844 cat >>confdefs.h
<<\_ACEOF
1848 cat >>confdefs.h
<<\_ACEOF
1852 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1858 cat >>confdefs.h
<<\_ACEOF
1862 cat >>confdefs.h
<<\_ACEOF
1866 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 cat >>confdefs.h
<<\_ACEOF
1875 cat >>confdefs.h
<<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1886 cat >>confdefs.h
<<\_ACEOF
1890 cat >>confdefs.h
<<\_ACEOF
1894 cat >>confdefs.h
<<\_ACEOF
1898 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1905 cat >>confdefs.h
<<\_ACEOF
1906 #define __UNIXWARE__ 1
1911 *-*-cygwin* | *-*-mingw32* )
1915 DEFAULT_DEFAULT_wxUSE_MSW
=1
1921 cat >>confdefs.h
<<\_ACEOF
1926 DEFAULT_DEFAULT_wxUSE_MGL
=1
1927 LIBS
="$LIBS -lstdc++"
1930 *-pc-os2_emx | *-pc-os2-emx )
1931 cat >>confdefs.h
<<\_ACEOF
1936 cat >>confdefs.h
<<\_ACEOF
1941 DEFAULT_DEFAULT_wxUSE_PM
=1
1943 LDFLAGS
="$LDFLAGS -Zcrtdll"
1944 ac_executable_extensions
=".exe"
1945 export ac_executable_extensions
1949 for ac_dir
in $PATH; do
1951 if test -z "$ac_TEMP_PATH"; then
1952 ac_TEMP_PATH
="$ac_dir"
1954 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1957 export PATH
="$ac_TEMP_PATH"
1965 cat >>confdefs.h
<<\_ACEOF
1969 cat >>confdefs.h
<<\_ACEOF
1970 #define __DARWIN__ 1
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define __POWERPC__ 1
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define TARGET_CARBON 1
1981 DEFAULT_DEFAULT_wxUSE_MAC
=1
1986 cat >>confdefs.h
<<\_ACEOF
1993 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1994 echo "$as_me: error: unknown system type ${host}." >&2;}
1995 { (exit 1); exit 1; }; }
2001 wx_arg_cache_file
="configarg.cache"
2002 echo "loading argument cache $wx_arg_cache_file"
2003 rm -f ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}
2009 if test $DEBUG_CONFIGURE = 1; then
2010 DEFAULT_wxUSE_UNIVERSAL
=no
2011 DEFAULT_wxUSE_STL
=no
2013 DEFAULT_wxUSE_NANOX
=no
2015 DEFAULT_wxUSE_THREADS
=yes
2017 DEFAULT_wxUSE_SHARED
=yes
2018 DEFAULT_wxUSE_OPTIMISE
=no
2019 DEFAULT_wxUSE_PROFILE
=no
2020 DEFAULT_wxUSE_NO_DEPS
=no
2021 DEFAULT_wxUSE_NO_RTTI
=no
2022 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2023 DEFAULT_wxUSE_PERMISSIVE
=no
2024 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2025 DEFAULT_wxUSE_DEBUG_INFO
=yes
2026 DEFAULT_wxUSE_DEBUG_GDB
=yes
2027 DEFAULT_wxUSE_MEM_TRACING
=no
2028 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2029 DEFAULT_wxUSE_DMALLOC
=no
2030 DEFAULT_wxUSE_APPLE_IEEE
=no
2032 DEFAULT_wxUSE_EXCEPTIONS
=no
2033 DEFAULT_wxUSE_LOG
=yes
2034 DEFAULT_wxUSE_LOGWINDOW
=no
2035 DEFAULT_wxUSE_LOGGUI
=no
2036 DEFAULT_wxUSE_LOGDIALOG
=no
2038 DEFAULT_wxUSE_GUI
=yes
2039 DEFAULT_wxUSE_CONTROLS
=no
2041 DEFAULT_wxUSE_REGEX
=no
2042 DEFAULT_wxUSE_XML
=no
2043 DEFAULT_wxUSE_EXPAT
=no
2044 DEFAULT_wxUSE_ZLIB
=no
2045 DEFAULT_wxUSE_LIBPNG
=no
2046 DEFAULT_wxUSE_LIBJPEG
=no
2047 DEFAULT_wxUSE_LIBTIFF
=no
2048 DEFAULT_wxUSE_LIBXPM
=no
2049 DEFAULT_wxUSE_LIBMSPACK
=no
2050 DEFAULT_wxUSE_LIBSDL
=no
2051 DEFAULT_wxUSE_ODBC
=no
2052 DEFAULT_wxUSE_OPENGL
=no
2054 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2055 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2056 DEFAULT_wxUSE_STD_IOSTREAM
=no
2057 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2058 DEFAULT_wxUSE_DATETIME
=no
2059 DEFAULT_wxUSE_TIMER
=no
2060 DEFAULT_wxUSE_STOPWATCH
=no
2061 DEFAULT_wxUSE_FILE
=no
2062 DEFAULT_wxUSE_FFILE
=no
2063 DEFAULT_wxUSE_TEXTBUFFER
=no
2064 DEFAULT_wxUSE_TEXTFILE
=no
2065 DEFAULT_wxUSE_SOUND
=no
2066 DEFAULT_wxUSE_INTL
=no
2067 DEFAULT_wxUSE_CONFIG
=no
2068 DEFAULT_wxUSE_FONTMAP
=no
2069 DEFAULT_wxUSE_STREAMS
=no
2070 DEFAULT_wxUSE_SOCKETS
=no
2071 DEFAULT_wxUSE_OLE
=no
2072 DEFAULT_wxUSE_DATAOBJ
=no
2073 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2074 DEFAULT_wxUSE_JOYSTICK
=no
2075 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2076 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2077 DEFAULT_wxUSE_LONGLONG
=no
2078 DEFAULT_wxUSE_GEOMETRY
=no
2080 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2081 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2082 DEFAULT_wxUSE_POSTSCRIPT
=no
2084 DEFAULT_wxUSE_CLIPBOARD
=no
2085 DEFAULT_wxUSE_TOOLTIPS
=no
2086 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2087 DEFAULT_wxUSE_DRAGIMAGE
=no
2088 DEFAULT_wxUSE_SPLINES
=no
2090 DEFAULT_wxUSE_MDI
=no
2091 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2092 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2095 DEFAULT_wxUSE_RESOURCES
=no
2096 DEFAULT_wxUSE_CONSTRAINTS
=no
2097 DEFAULT_wxUSE_IPC
=no
2098 DEFAULT_wxUSE_HELP
=no
2099 DEFAULT_wxUSE_MS_HTML_HELP
=no
2100 DEFAULT_wxUSE_WXHTML_HELP
=no
2101 DEFAULT_wxUSE_TREELAYOUT
=no
2102 DEFAULT_wxUSE_METAFILE
=no
2103 DEFAULT_wxUSE_MIMETYPE
=no
2104 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2105 DEFAULT_wxUSE_PROTOCOL
=no
2106 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2107 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2108 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2109 DEFAULT_wxUSE_URL
=no
2111 DEFAULT_wxUSE_COMMONDLGS
=no
2112 DEFAULT_wxUSE_CHOICEDLG
=no
2113 DEFAULT_wxUSE_COLOURDLG
=no
2114 DEFAULT_wxUSE_DIRDLG
=no
2115 DEFAULT_wxUSE_FILEDLG
=no
2116 DEFAULT_wxUSE_FINDREPLDLG
=no
2117 DEFAULT_wxUSE_FONTDLG
=no
2118 DEFAULT_wxUSE_MSGDLG
=no
2119 DEFAULT_wxUSE_NUMBERDLG
=no
2120 DEFAULT_wxUSE_TEXTDLG
=no
2121 DEFAULT_wxUSE_SPLASH
=no
2122 DEFAULT_wxUSE_STARTUP_TIPS
=no
2123 DEFAULT_wxUSE_PROGRESSDLG
=no
2124 DEFAULT_wxUSE_WIZARDDLG
=no
2126 DEFAULT_wxUSE_MENUS
=no
2127 DEFAULT_wxUSE_MINIFRAME
=no
2128 DEFAULT_wxUSE_HTML
=no
2129 DEFAULT_wxUSE_FILESYSTEM
=no
2130 DEFAULT_wxUSE_FS_INET
=no
2131 DEFAULT_wxUSE_FS_ZIP
=no
2132 DEFAULT_wxUSE_BUSYINFO
=no
2133 DEFAULT_wxUSE_ZIPSTREAM
=no
2134 DEFAULT_wxUSE_VALIDATORS
=no
2136 DEFAULT_wxUSE_ACCEL
=no
2137 DEFAULT_wxUSE_BUTTON
=no
2138 DEFAULT_wxUSE_BMPBUTTON
=no
2139 DEFAULT_wxUSE_CALCTRL
=no
2140 DEFAULT_wxUSE_CARET
=no
2141 DEFAULT_wxUSE_CHECKBOX
=no
2142 DEFAULT_wxUSE_CHECKLST
=no
2143 DEFAULT_wxUSE_CHOICE
=no
2144 DEFAULT_wxUSE_COMBOBOX
=no
2145 DEFAULT_wxUSE_DISPLAY
=no
2146 DEFAULT_wxUSE_GAUGE
=no
2147 DEFAULT_wxUSE_GRID
=no
2148 DEFAULT_wxUSE_IMAGLIST
=no
2149 DEFAULT_wxUSE_LISTBOOK
=no
2150 DEFAULT_wxUSE_LISTBOX
=no
2151 DEFAULT_wxUSE_LISTCTRL
=no
2152 DEFAULT_wxUSE_NOTEBOOK
=no
2153 DEFAULT_wxUSE_RADIOBOX
=no
2154 DEFAULT_wxUSE_RADIOBTN
=no
2155 DEFAULT_wxUSE_SASH
=no
2156 DEFAULT_wxUSE_SCROLLBAR
=no
2157 DEFAULT_wxUSE_SLIDER
=no
2158 DEFAULT_wxUSE_SPINBTN
=no
2159 DEFAULT_wxUSE_SPINCTRL
=no
2160 DEFAULT_wxUSE_SPLITTER
=no
2161 DEFAULT_wxUSE_STATBMP
=no
2162 DEFAULT_wxUSE_STATBOX
=no
2163 DEFAULT_wxUSE_STATLINE
=no
2164 DEFAULT_wxUSE_STATTEXT
=no
2165 DEFAULT_wxUSE_STATUSBAR
=yes
2166 DEFAULT_wxUSE_TABDIALOG
=no
2167 DEFAULT_wxUSE_TEXTCTRL
=no
2168 DEFAULT_wxUSE_TOGGLEBTN
=no
2169 DEFAULT_wxUSE_TOOLBAR
=no
2170 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2171 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2172 DEFAULT_wxUSE_TREECTRL
=no
2173 DEFAULT_wxUSE_POPUPWIN
=no
2174 DEFAULT_wxUSE_TIPWINDOW
=no
2176 DEFAULT_wxUSE_UNICODE
=no
2177 DEFAULT_wxUSE_UNICODE_MSLU
=no
2178 DEFAULT_wxUSE_WCSRTOMBS
=no
2180 DEFAULT_wxUSE_PALETTE
=no
2181 DEFAULT_wxUSE_IMAGE
=no
2182 DEFAULT_wxUSE_GIF
=no
2183 DEFAULT_wxUSE_PCX
=no
2184 DEFAULT_wxUSE_PNM
=no
2185 DEFAULT_wxUSE_IFF
=no
2186 DEFAULT_wxUSE_XPM
=no
2187 DEFAULT_wxUSE_ICO_CUR
=no
2188 DEFAULT_wxUSE_ACCESSIBILITY
=no
2190 DEFAULT_wxUSE_MONOLITHIC
=no
2191 DEFAULT_wxUSE_PLUGINS
=no
2192 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2194 DEFAULT_wxUSE_UNIVERSAL
=no
2195 DEFAULT_wxUSE_STL
=no
2197 DEFAULT_wxUSE_NANOX
=no
2199 DEFAULT_wxUSE_THREADS
=yes
2201 DEFAULT_wxUSE_SHARED
=yes
2202 DEFAULT_wxUSE_OPTIMISE
=yes
2203 DEFAULT_wxUSE_PROFILE
=no
2204 DEFAULT_wxUSE_NO_DEPS
=no
2205 DEFAULT_wxUSE_NO_RTTI
=no
2206 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2207 DEFAULT_wxUSE_PERMISSIVE
=no
2208 DEFAULT_wxUSE_DEBUG_FLAG
=no
2209 DEFAULT_wxUSE_DEBUG_INFO
=no
2210 DEFAULT_wxUSE_DEBUG_GDB
=no
2211 DEFAULT_wxUSE_MEM_TRACING
=no
2212 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2213 DEFAULT_wxUSE_DMALLOC
=no
2214 DEFAULT_wxUSE_APPLE_IEEE
=yes
2216 DEFAULT_wxUSE_EXCEPTIONS
=yes
2217 DEFAULT_wxUSE_LOG
=yes
2218 DEFAULT_wxUSE_LOGWINDOW
=yes
2219 DEFAULT_wxUSE_LOGGUI
=yes
2220 DEFAULT_wxUSE_LOGDIALOG
=yes
2222 DEFAULT_wxUSE_GUI
=yes
2224 DEFAULT_wxUSE_REGEX
=yes
2225 DEFAULT_wxUSE_XML
=yes
2226 DEFAULT_wxUSE_EXPAT
=yes
2227 DEFAULT_wxUSE_ZLIB
=yes
2228 DEFAULT_wxUSE_LIBPNG
=yes
2229 DEFAULT_wxUSE_LIBJPEG
=yes
2230 DEFAULT_wxUSE_LIBTIFF
=yes
2231 DEFAULT_wxUSE_LIBXPM
=yes
2232 DEFAULT_wxUSE_LIBMSPACK
=yes
2233 DEFAULT_wxUSE_LIBSDL
=no
2234 DEFAULT_wxUSE_ODBC
=no
2235 DEFAULT_wxUSE_OPENGL
=no
2237 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2238 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2239 DEFAULT_wxUSE_STD_IOSTREAM
=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2241 DEFAULT_wxUSE_DATETIME
=yes
2242 DEFAULT_wxUSE_TIMER
=yes
2243 DEFAULT_wxUSE_STOPWATCH
=yes
2244 DEFAULT_wxUSE_FILE
=yes
2245 DEFAULT_wxUSE_FFILE
=yes
2246 DEFAULT_wxUSE_TEXTBUFFER
=yes
2247 DEFAULT_wxUSE_TEXTFILE
=yes
2248 DEFAULT_wxUSE_SOUND
=yes
2249 DEFAULT_wxUSE_INTL
=yes
2250 DEFAULT_wxUSE_CONFIG
=yes
2251 DEFAULT_wxUSE_FONTMAP
=yes
2252 DEFAULT_wxUSE_STREAMS
=yes
2253 DEFAULT_wxUSE_SOCKETS
=yes
2254 DEFAULT_wxUSE_OLE
=yes
2255 DEFAULT_wxUSE_DATAOBJ
=yes
2256 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2257 DEFAULT_wxUSE_JOYSTICK
=yes
2258 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2259 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2260 DEFAULT_wxUSE_LONGLONG
=yes
2261 DEFAULT_wxUSE_GEOMETRY
=yes
2263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2265 DEFAULT_wxUSE_POSTSCRIPT
=yes
2267 DEFAULT_wxUSE_CLIPBOARD
=yes
2268 DEFAULT_wxUSE_TOOLTIPS
=yes
2269 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2270 DEFAULT_wxUSE_DRAGIMAGE
=yes
2271 DEFAULT_wxUSE_SPLINES
=yes
2273 DEFAULT_wxUSE_MDI
=yes
2274 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2275 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2276 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2278 DEFAULT_wxUSE_RESOURCES
=no
2279 DEFAULT_wxUSE_CONSTRAINTS
=yes
2280 DEFAULT_wxUSE_IPC
=yes
2281 DEFAULT_wxUSE_HELP
=yes
2282 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2283 DEFAULT_wxUSE_WXHTML_HELP
=yes
2284 DEFAULT_wxUSE_TREELAYOUT
=yes
2285 DEFAULT_wxUSE_METAFILE
=yes
2286 DEFAULT_wxUSE_MIMETYPE
=yes
2287 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2288 DEFAULT_wxUSE_PROTOCOL
=yes
2289 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2290 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2291 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2292 DEFAULT_wxUSE_URL
=yes
2294 DEFAULT_wxUSE_COMMONDLGS
=yes
2295 DEFAULT_wxUSE_CHOICEDLG
=yes
2296 DEFAULT_wxUSE_COLOURDLG
=yes
2297 DEFAULT_wxUSE_DIRDLG
=yes
2298 DEFAULT_wxUSE_FILEDLG
=yes
2299 DEFAULT_wxUSE_FINDREPLDLG
=yes
2300 DEFAULT_wxUSE_FONTDLG
=yes
2301 DEFAULT_wxUSE_MSGDLG
=yes
2302 DEFAULT_wxUSE_NUMBERDLG
=yes
2303 DEFAULT_wxUSE_TEXTDLG
=yes
2304 DEFAULT_wxUSE_SPLASH
=yes
2305 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2306 DEFAULT_wxUSE_PROGRESSDLG
=yes
2307 DEFAULT_wxUSE_WIZARDDLG
=yes
2309 DEFAULT_wxUSE_MENUS
=yes
2310 DEFAULT_wxUSE_MINIFRAME
=yes
2311 DEFAULT_wxUSE_HTML
=yes
2312 DEFAULT_wxUSE_FILESYSTEM
=yes
2313 DEFAULT_wxUSE_FS_INET
=yes
2314 DEFAULT_wxUSE_FS_ZIP
=yes
2315 DEFAULT_wxUSE_BUSYINFO
=yes
2316 DEFAULT_wxUSE_ZIPSTREAM
=yes
2317 DEFAULT_wxUSE_VALIDATORS
=yes
2319 DEFAULT_wxUSE_ACCEL
=yes
2320 DEFAULT_wxUSE_BUTTON
=yes
2321 DEFAULT_wxUSE_BMPBUTTON
=yes
2322 DEFAULT_wxUSE_CALCTRL
=yes
2323 DEFAULT_wxUSE_CARET
=yes
2324 DEFAULT_wxUSE_CHECKBOX
=yes
2325 DEFAULT_wxUSE_CHECKLST
=yes
2326 DEFAULT_wxUSE_CHOICE
=yes
2327 DEFAULT_wxUSE_COMBOBOX
=yes
2328 DEFAULT_wxUSE_DISPLAY
=yes
2329 DEFAULT_wxUSE_GAUGE
=yes
2330 DEFAULT_wxUSE_GRID
=yes
2331 DEFAULT_wxUSE_IMAGLIST
=yes
2332 DEFAULT_wxUSE_LISTBOOK
=yes
2333 DEFAULT_wxUSE_LISTBOX
=yes
2334 DEFAULT_wxUSE_LISTCTRL
=yes
2335 DEFAULT_wxUSE_NOTEBOOK
=yes
2336 DEFAULT_wxUSE_RADIOBOX
=yes
2337 DEFAULT_wxUSE_RADIOBTN
=yes
2338 DEFAULT_wxUSE_SASH
=yes
2339 DEFAULT_wxUSE_SCROLLBAR
=yes
2340 DEFAULT_wxUSE_SLIDER
=yes
2341 DEFAULT_wxUSE_SPINBTN
=yes
2342 DEFAULT_wxUSE_SPINCTRL
=yes
2343 DEFAULT_wxUSE_SPLITTER
=yes
2344 DEFAULT_wxUSE_STATBMP
=yes
2345 DEFAULT_wxUSE_STATBOX
=yes
2346 DEFAULT_wxUSE_STATLINE
=yes
2347 DEFAULT_wxUSE_STATTEXT
=yes
2348 DEFAULT_wxUSE_STATUSBAR
=yes
2349 DEFAULT_wxUSE_TABDIALOG
=no
2350 DEFAULT_wxUSE_TEXTCTRL
=yes
2351 DEFAULT_wxUSE_TOGGLEBTN
=yes
2352 DEFAULT_wxUSE_TOOLBAR
=yes
2353 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2354 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2355 DEFAULT_wxUSE_TREECTRL
=yes
2356 DEFAULT_wxUSE_POPUPWIN
=yes
2357 DEFAULT_wxUSE_TIPWINDOW
=yes
2359 DEFAULT_wxUSE_UNICODE
=no
2360 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2361 DEFAULT_wxUSE_WCSRTOMBS
=no
2363 DEFAULT_wxUSE_PALETTE
=yes
2364 DEFAULT_wxUSE_IMAGE
=yes
2365 DEFAULT_wxUSE_GIF
=yes
2366 DEFAULT_wxUSE_PCX
=yes
2367 DEFAULT_wxUSE_IFF
=no
2368 DEFAULT_wxUSE_PNM
=yes
2369 DEFAULT_wxUSE_XPM
=yes
2370 DEFAULT_wxUSE_ICO_CUR
=yes
2371 DEFAULT_wxUSE_ACCESSIBILITY
=no
2373 DEFAULT_wxUSE_MONOLITHIC
=no
2374 DEFAULT_wxUSE_PLUGINS
=no
2375 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2380 for toolkit
in `echo $ALL_TOOLKITS`; do
2381 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2382 if test "x$LINE" != "x" ; then
2383 has_toolkit_in_cache
=1
2384 eval "DEFAULT_$LINE"
2385 eval "CACHE_$toolkit=1"
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2393 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2395 # Check whether --enable-gui or --disable-gui was given.
2396 if test "${enable_gui+set}" = set; then
2397 enableval
="$enable_gui"
2399 if test "$enableval" = yes; then
2400 ac_cv_use_gui
='wxUSE_GUI=yes'
2402 ac_cv_use_gui
='wxUSE_GUI=no'
2407 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x
; then
2409 eval "DEFAULT_$LINE"
2414 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2418 eval "$ac_cv_use_gui"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2423 if test "$wxUSE_GUI" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2436 # Check whether --enable-monolithic or --disable-monolithic was given.
2437 if test "${enable_monolithic+set}" = set; then
2438 enableval
="$enable_monolithic"
2440 if test "$enableval" = yes; then
2441 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2443 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2448 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x
; then
2450 eval "DEFAULT_$LINE"
2455 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2459 eval "$ac_cv_use_monolithic"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_MONOLITHIC" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2475 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2477 # Check whether --enable-plugins or --disable-plugins was given.
2478 if test "${enable_plugins+set}" = set; then
2479 enableval
="$enable_plugins"
2481 if test "$enableval" = yes; then
2482 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2484 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2489 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2490 if test "x$LINE" != x
; then
2491 eval "DEFAULT_$LINE"
2496 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2500 eval "$ac_cv_use_plugins"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2505 if test "$wxUSE_PLUGINS" = yes; then
2506 echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2514 if test "$wxUSE_GUI" = "yes"; then
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2521 # Check whether --enable-universal or --disable-universal was given.
2522 if test "${enable_universal+set}" = set; then
2523 enableval
="$enable_universal"
2525 if test "$enableval" = yes; then
2526 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2528 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2533 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x
; then
2535 eval "DEFAULT_$LINE"
2540 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2544 eval "$ac_cv_use_universal"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2549 if test "$wxUSE_UNIVERSAL" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2558 # Check whether --with-gtk or --without-gtk was given.
2559 if test "${with_gtk+set}" = set; then
2561 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2564 # Check whether --with-motif or --without-motif was given.
2565 if test "${with_motif+set}" = set; then
2566 withval
="$with_motif"
2567 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2570 # Check whether --with-mac or --without-mac was given.
2571 if test "${with_mac+set}" = set; then
2573 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2576 # Check whether --with-cocoa or --without-cocoa was given.
2577 if test "${with_cocoa+set}" = set; then
2578 withval
="$with_cocoa"
2579 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2582 # Check whether --with-wine or --without-wine was given.
2583 if test "${with_wine+set}" = set; then
2584 withval
="$with_wine"
2585 wxUSE_WINE
="$withval" CACHE_WINE
=1
2588 # Check whether --with-msw or --without-msw was given.
2589 if test "${with_msw+set}" = set; then
2591 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2594 # Check whether --with-pm or --without-pm was given.
2595 if test "${with_pm+set}" = set; then
2597 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2600 # Check whether --with-mgl or --without-mgl was given.
2601 if test "${with_mgl+set}" = set; then
2603 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-microwin or --without-microwin was given.
2607 if test "${with_microwin+set}" = set; then
2608 withval
="$with_microwin"
2609 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-x11 or --without-x11 was given.
2613 if test "${with_x11+set}" = set; then
2615 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2622 # Check whether --enable-nanox or --disable-nanox was given.
2623 if test "${enable_nanox+set}" = set; then
2624 enableval
="$enable_nanox"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2629 ac_cv_use_nanox
='wxUSE_NANOX=no'
2634 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x
; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2645 eval "$ac_cv_use_nanox"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_NANOX" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2664 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2665 if test "${enable_gtk2+set}" = set; then
2666 enableval
="$enable_gtk2"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2671 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2676 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2687 eval "$ac_cv_use_gtk2"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_GTK2" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2705 # Check whether --enable-gpe or --disable-gpe was given.
2706 if test "${enable_gpe+set}" = set; then
2707 enableval
="$enable_gpe"
2709 if test "$enableval" = yes; then
2710 ac_cv_use_gpe
='wxUSE_GPE=yes'
2712 ac_cv_use_gpe
='wxUSE_GPE=no'
2717 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x
; then
2719 eval "DEFAULT_$LINE"
2724 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2728 eval "$ac_cv_use_gpe"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_GPE" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2743 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2744 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2747 # Check whether --with-libpng or --without-libpng was given.
2748 if test "${with_libpng+set}" = set; then
2749 withval
="$with_libpng"
2751 if test "$withval" = yes; then
2752 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2753 elif test "$withval" = no
; then
2754 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2755 elif test "$withval" = sys
; then
2756 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2757 elif test "$withval" = builtin; then
2758 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2761 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2762 { (exit 1); exit 1; }; }
2767 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x
; then
2769 eval "DEFAULT_$LINE"
2774 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2778 eval "$ac_cv_use_libpng"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2783 if test "$wxUSE_LIBPNG" = yes; then
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2786 elif test "$wxUSE_LIBPNG" = no
; then
2787 echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2789 elif test "$wxUSE_LIBPNG" = sys
; then
2790 echo "$as_me:$LINENO: result: system version" >&5
2791 echo "${ECHO_T}system version" >&6
2792 elif test "$wxUSE_LIBPNG" = builtin; then
2793 echo "$as_me:$LINENO: result: builtin version" >&5
2794 echo "${ECHO_T}builtin version" >&6
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2802 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2803 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2806 # Check whether --with-libjpeg or --without-libjpeg was given.
2807 if test "${with_libjpeg+set}" = set; then
2808 withval
="$with_libjpeg"
2810 if test "$withval" = yes; then
2811 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2812 elif test "$withval" = no
; then
2813 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2814 elif test "$withval" = sys
; then
2815 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2816 elif test "$withval" = builtin; then
2817 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2820 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2826 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x
; then
2828 eval "DEFAULT_$LINE"
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2837 eval "$ac_cv_use_libjpeg"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2842 if test "$wxUSE_LIBJPEG" = yes; then
2843 echo "$as_me:$LINENO: result: yes" >&5
2844 echo "${ECHO_T}yes" >&6
2845 elif test "$wxUSE_LIBJPEG" = no
; then
2846 echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6
2848 elif test "$wxUSE_LIBJPEG" = sys
; then
2849 echo "$as_me:$LINENO: result: system version" >&5
2850 echo "${ECHO_T}system version" >&6
2851 elif test "$wxUSE_LIBJPEG" = builtin; then
2852 echo "$as_me:$LINENO: result: builtin version" >&5
2853 echo "${ECHO_T}builtin version" >&6
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2861 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2862 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2865 # Check whether --with-libtiff or --without-libtiff was given.
2866 if test "${with_libtiff+set}" = set; then
2867 withval
="$with_libtiff"
2869 if test "$withval" = yes; then
2870 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2871 elif test "$withval" = no
; then
2872 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2873 elif test "$withval" = sys
; then
2874 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2875 elif test "$withval" = builtin; then
2876 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2879 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2885 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2886 if test "x$LINE" != x
; then
2887 eval "DEFAULT_$LINE"
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2896 eval "$ac_cv_use_libtiff"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2901 if test "$wxUSE_LIBTIFF" = yes; then
2902 echo "$as_me:$LINENO: result: yes" >&5
2903 echo "${ECHO_T}yes" >&6
2904 elif test "$wxUSE_LIBTIFF" = no
; then
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2907 elif test "$wxUSE_LIBTIFF" = sys
; then
2908 echo "$as_me:$LINENO: result: system version" >&5
2909 echo "${ECHO_T}system version" >&6
2910 elif test "$wxUSE_LIBTIFF" = builtin; then
2911 echo "$as_me:$LINENO: result: builtin version" >&5
2912 echo "${ECHO_T}builtin version" >&6
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2920 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2921 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2924 # Check whether --with-libxpm or --without-libxpm was given.
2925 if test "${with_libxpm+set}" = set; then
2926 withval
="$with_libxpm"
2928 if test "$withval" = yes; then
2929 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2930 elif test "$withval" = no
; then
2931 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2932 elif test "$withval" = sys
; then
2933 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2934 elif test "$withval" = builtin; then
2935 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2938 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2944 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2955 eval "$ac_cv_use_libxpm"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2960 if test "$wxUSE_LIBXPM" = yes; then
2961 echo "$as_me:$LINENO: result: yes" >&5
2962 echo "${ECHO_T}yes" >&6
2963 elif test "$wxUSE_LIBXPM" = no
; then
2964 echo "$as_me:$LINENO: result: no" >&5
2965 echo "${ECHO_T}no" >&6
2966 elif test "$wxUSE_LIBXPM" = sys
; then
2967 echo "$as_me:$LINENO: result: system version" >&5
2968 echo "${ECHO_T}system version" >&6
2969 elif test "$wxUSE_LIBXPM" = builtin; then
2970 echo "$as_me:$LINENO: result: builtin version" >&5
2971 echo "${ECHO_T}builtin version" >&6
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2979 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2980 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2983 # Check whether --with-libmspack or --without-libmspack was given.
2984 if test "${with_libmspack+set}" = set; then
2985 withval
="$with_libmspack"
2987 if test "$withval" = yes; then
2988 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2990 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2995 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x
; then
2997 eval "DEFAULT_$LINE"
3002 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3006 eval "$ac_cv_use_libmspack"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3011 if test "$wxUSE_LIBMSPACK" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3020 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3021 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3024 # Check whether --with-sdl or --without-sdl was given.
3025 if test "${with_sdl+set}" = set; then
3028 if test "$withval" = yes; then
3029 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3031 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3036 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3047 eval "$ac_cv_use_sdl"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3052 if test "$wxUSE_LIBSDL" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3061 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3062 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3065 # Check whether --with-opengl or --without-opengl was given.
3066 if test "${with_opengl+set}" = set; then
3067 withval
="$with_opengl"
3069 if test "$withval" = yes; then
3070 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3072 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3077 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3088 eval "$ac_cv_use_opengl"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3093 if test "$wxUSE_OPENGL" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095 echo "${ECHO_T}yes" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3105 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3106 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3109 # Check whether --with-dmalloc or --without-dmalloc was given.
3110 if test "${with_dmalloc+set}" = set; then
3111 withval
="$with_dmalloc"
3113 if test "$withval" = yes; then
3114 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3116 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3121 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x
; then
3123 eval "DEFAULT_$LINE"
3128 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3132 eval "$ac_cv_use_dmalloc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_DMALLOC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3146 echo "$as_me:$LINENO: checking for --with-regex" >&5
3147 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3150 # Check whether --with-regex or --without-regex was given.
3151 if test "${with_regex+set}" = set; then
3152 withval
="$with_regex"
3154 if test "$withval" = yes; then
3155 ac_cv_use_regex
='wxUSE_REGEX=yes'
3156 elif test "$withval" = no
; then
3157 ac_cv_use_regex
='wxUSE_REGEX=no'
3158 elif test "$withval" = sys
; then
3159 ac_cv_use_regex
='wxUSE_REGEX=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3170 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3181 eval "$ac_cv_use_regex"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_REGEX" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_REGEX" = no
; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_REGEX" = sys
; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_REGEX" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3205 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3206 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3209 # Check whether --with-zlib or --without-zlib was given.
3210 if test "${with_zlib+set}" = set; then
3211 withval
="$with_zlib"
3213 if test "$withval" = yes; then
3214 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3215 elif test "$withval" = no
; then
3216 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3217 elif test "$withval" = sys
; then
3218 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3229 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3240 eval "$ac_cv_use_zlib"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_ZLIB" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_ZLIB" = no
; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_ZLIB" = sys
; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_ZLIB" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3264 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3265 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3268 # Check whether --with-odbc or --without-odbc was given.
3269 if test "${with_odbc+set}" = set; then
3270 withval
="$with_odbc"
3272 if test "$withval" = yes; then
3273 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3274 elif test "$withval" = no
; then
3275 ac_cv_use_odbc
='wxUSE_ODBC=no'
3276 elif test "$withval" = sys
; then
3277 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3288 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3299 eval "$ac_cv_use_odbc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_ODBC" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ODBC" = no
; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ODBC" = sys
; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ODBC" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: checking for --with-expat" >&5
3324 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3327 # Check whether --with-expat or --without-expat was given.
3328 if test "${with_expat+set}" = set; then
3329 withval
="$with_expat"
3331 if test "$withval" = yes; then
3332 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3333 elif test "$withval" = no
; then
3334 ac_cv_use_expat
='wxUSE_EXPAT=no'
3335 elif test "$withval" = sys
; then
3336 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3347 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3358 eval "$ac_cv_use_expat"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_EXPAT" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_EXPAT" = no
; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_EXPAT" = sys
; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_EXPAT" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3388 # Check whether --enable-shared or --disable-shared was given.
3389 if test "${enable_shared+set}" = set; then
3390 enableval
="$enable_shared"
3392 if test "$enableval" = yes; then
3393 ac_cv_use_shared
='wxUSE_SHARED=yes'
3395 ac_cv_use_shared
='wxUSE_SHARED=no'
3400 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x
; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3411 eval "$ac_cv_use_shared"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_SHARED" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3429 # Check whether --enable-optimise or --disable-optimise was given.
3430 if test "${enable_optimise+set}" = set; then
3431 enableval
="$enable_optimise"
3433 if test "$enableval" = yes; then
3434 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3436 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3441 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x
; then
3443 eval "DEFAULT_$LINE"
3448 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3452 eval "$ac_cv_use_optimise"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3457 if test "$wxUSE_OPTIMISE" = yes; then
3458 echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6
3461 echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6
3467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3470 # Check whether --enable-debug or --disable-debug was given.
3471 if test "${enable_debug+set}" = set; then
3472 enableval
="$enable_debug"
3474 if test "$enableval" = yes; then
3475 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3477 ac_cv_use_debug
='wxUSE_DEBUG=no'
3482 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x
; then
3484 eval "DEFAULT_$LINE"
3489 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3493 eval "$ac_cv_use_debug"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_DEBUG" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3509 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3511 # Check whether --enable-stl or --disable-stl was given.
3512 if test "${enable_stl+set}" = set; then
3513 enableval
="$enable_stl"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_stl
='wxUSE_STL=yes'
3518 ac_cv_use_stl
='wxUSE_STL=no'
3523 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3534 eval "$ac_cv_use_stl"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_STL" = yes; then
3540 echo "$as_me:$LINENO: result: yes" >&5
3541 echo "${ECHO_T}yes" >&6
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3547 if test "$USE_OS2" = "1"; then
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3553 # Check whether --enable-omf or --disable-omf was given.
3554 if test "${enable_omf+set}" = set; then
3555 enableval
="$enable_omf"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_omf
='wxUSE_OMF=yes'
3560 ac_cv_use_omf
='wxUSE_OMF=no'
3565 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3576 eval "$ac_cv_use_omf"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_OMF" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3591 if test "$wxUSE_DEBUG" = "yes"; then
3592 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3593 DEFAULT_wxUSE_DEBUG_INFO
=yes
3595 elif test "$wxUSE_DEBUG" = "no"; then
3596 DEFAULT_wxUSE_DEBUG_FLAG
=no
3597 DEFAULT_wxUSE_DEBUG_INFO
=no
3603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3604 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3606 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3607 if test "${enable_debug_flag+set}" = set; then
3608 enableval
="$enable_debug_flag"
3610 if test "$enableval" = yes; then
3611 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3613 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3618 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x
; then
3620 eval "DEFAULT_$LINE"
3625 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3629 eval "$ac_cv_use_debug_flag"
3630 if test "$no_cache" != 1; then
3631 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3634 if test "$wxUSE_DEBUG_FLAG" = yes; then
3635 echo "$as_me:$LINENO: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6
3638 echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6
3644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3645 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3647 # Check whether --enable-debug_info or --disable-debug_info was given.
3648 if test "${enable_debug_info+set}" = set; then
3649 enableval
="$enable_debug_info"
3651 if test "$enableval" = yes; then
3652 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3654 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3659 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3660 if test "x$LINE" != x
; then
3661 eval "DEFAULT_$LINE"
3666 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3670 eval "$ac_cv_use_debug_info"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3675 if test "$wxUSE_DEBUG_INFO" = yes; then
3676 echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6
3679 echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6
3685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3688 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3689 if test "${enable_debug_gdb+set}" = set; then
3690 enableval
="$enable_debug_gdb"
3692 if test "$enableval" = yes; then
3693 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3695 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3700 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x
; then
3702 eval "DEFAULT_$LINE"
3707 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3711 eval "$ac_cv_use_debug_gdb"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3716 if test "$wxUSE_DEBUG_GDB" = yes; then
3717 echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3727 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3729 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3730 if test "${enable_debug_cntxt+set}" = set; then
3731 enableval
="$enable_debug_cntxt"
3733 if test "$enableval" = yes; then
3734 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3736 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3741 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x
; then
3743 eval "DEFAULT_$LINE"
3748 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3752 eval "$ac_cv_use_debug_cntxt"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3757 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3768 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3770 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3771 if test "${enable_mem_tracing+set}" = set; then
3772 enableval
="$enable_mem_tracing"
3774 if test "$enableval" = yes; then
3775 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3777 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3782 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x
; then
3784 eval "DEFAULT_$LINE"
3789 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3793 eval "$ac_cv_use_mem_tracing"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3798 if test "$wxUSE_MEM_TRACING" = yes; then
3799 echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6
3802 echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6
3808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3809 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3811 # Check whether --enable-profile or --disable-profile was given.
3812 if test "${enable_profile+set}" = set; then
3813 enableval
="$enable_profile"
3815 if test "$enableval" = yes; then
3816 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3818 ac_cv_use_profile
='wxUSE_PROFILE=no'
3823 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x
; then
3825 eval "DEFAULT_$LINE"
3830 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3834 eval "$ac_cv_use_profile"
3835 if test "$no_cache" != 1; then
3836 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3839 if test "$wxUSE_PROFILE" = yes; then
3840 echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3850 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3852 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3853 if test "${enable_no_rtti+set}" = set; then
3854 enableval
="$enable_no_rtti"
3856 if test "$enableval" = yes; then
3857 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3859 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3864 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x
; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3875 eval "$ac_cv_use_no_rtti"
3876 if test "$no_cache" != 1; then
3877 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3880 if test "$wxUSE_NO_RTTI" = yes; then
3881 echo "$as_me:$LINENO: result: yes" >&5
3882 echo "${ECHO_T}yes" >&6
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3891 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3893 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3894 if test "${enable_no_exceptions+set}" = set; then
3895 enableval
="$enable_no_exceptions"
3897 if test "$enableval" = yes; then
3898 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3900 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3905 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x
; then
3907 eval "DEFAULT_$LINE"
3912 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3916 eval "$ac_cv_use_no_exceptions"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3922 echo "$as_me:$LINENO: result: yes" >&5
3923 echo "${ECHO_T}yes" >&6
3925 echo "$as_me:$LINENO: result: no" >&5
3926 echo "${ECHO_T}no" >&6
3931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3932 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3934 # Check whether --enable-permissive or --disable-permissive was given.
3935 if test "${enable_permissive+set}" = set; then
3936 enableval
="$enable_permissive"
3938 if test "$enableval" = yes; then
3939 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3941 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3946 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x
; then
3948 eval "DEFAULT_$LINE"
3953 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3957 eval "$ac_cv_use_permissive"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_PERMISSIVE" = yes; then
3963 echo "$as_me:$LINENO: result: yes" >&5
3964 echo "${ECHO_T}yes" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3973 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3975 # Check whether --enable-no_deps or --disable-no_deps was given.
3976 if test "${enable_no_deps+set}" = set; then
3977 enableval
="$enable_no_deps"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3982 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3987 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x
; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3998 eval "$ac_cv_use_no_deps"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4003 if test "$wxUSE_NO_DEPS" = yes; then
4004 echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4017 # Check whether --enable-compat22 or --disable-compat22 was given.
4018 if test "${enable_compat22+set}" = set; then
4019 enableval
="$enable_compat22"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4024 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4029 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4040 eval "$ac_cv_use_compat22"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4045 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4054 enablestring
=disable
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4058 # Check whether --enable-compat24 or --disable-compat24 was given.
4059 if test "${enable_compat24+set}" = set; then
4060 enableval
="$enable_compat24"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4065 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4070 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4081 eval "$ac_cv_use_compat24"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4086 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4095 # Check whether --enable-rpath or --disable-rpath was given.
4096 if test "${enable_rpath+set}" = set; then
4097 enableval
="$enable_rpath"
4098 wxRPATH_DIR
="$enableval"
4101 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4102 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4110 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4112 # Check whether --enable-intl or --disable-intl was given.
4113 if test "${enable_intl+set}" = set; then
4114 enableval
="$enable_intl"
4116 if test "$enableval" = yes; then
4117 ac_cv_use_intl
='wxUSE_INTL=yes'
4119 ac_cv_use_intl
='wxUSE_INTL=no'
4124 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x
; then
4126 eval "DEFAULT_$LINE"
4131 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4135 eval "$ac_cv_use_intl"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4140 if test "$wxUSE_INTL" = yes; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142 echo "${ECHO_T}yes" >&6
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4151 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4153 # Check whether --enable-config or --disable-config was given.
4154 if test "${enable_config+set}" = set; then
4155 enableval
="$enable_config"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_config
='wxUSE_CONFIG=yes'
4160 ac_cv_use_config
='wxUSE_CONFIG=no'
4165 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4176 eval "$ac_cv_use_config"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4181 if test "$wxUSE_CONFIG" = yes; then
4182 echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4193 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4195 # Check whether --enable-protocols or --disable-protocols was given.
4196 if test "${enable_protocols+set}" = set; then
4197 enableval
="$enable_protocols"
4199 if test "$enableval" = yes; then
4200 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4202 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4207 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x
; then
4209 eval "DEFAULT_$LINE"
4214 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4218 eval "$ac_cv_use_protocols"
4219 if test "$no_cache" != 1; then
4220 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4223 if test "$wxUSE_PROTOCOL" = yes; then
4224 echo "$as_me:$LINENO: result: yes" >&5
4225 echo "${ECHO_T}yes" >&6
4227 echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4234 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4236 # Check whether --enable-ftp or --disable-ftp was given.
4237 if test "${enable_ftp+set}" = set; then
4238 enableval
="$enable_ftp"
4240 if test "$enableval" = yes; then
4241 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4243 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4248 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x
; then
4250 eval "DEFAULT_$LINE"
4255 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4259 eval "$ac_cv_use_ftp"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4264 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4265 echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6
4268 echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
4274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4275 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4277 # Check whether --enable-http or --disable-http was given.
4278 if test "${enable_http+set}" = set; then
4279 enableval
="$enable_http"
4281 if test "$enableval" = yes; then
4282 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4284 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4289 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x
; then
4291 eval "DEFAULT_$LINE"
4296 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4300 eval "$ac_cv_use_http"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4305 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4306 echo "$as_me:$LINENO: result: yes" >&5
4307 echo "${ECHO_T}yes" >&6
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4316 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4318 # Check whether --enable-fileproto or --disable-fileproto was given.
4319 if test "${enable_fileproto+set}" = set; then
4320 enableval
="$enable_fileproto"
4322 if test "$enableval" = yes; then
4323 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4325 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4330 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x
; then
4332 eval "DEFAULT_$LINE"
4337 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4341 eval "$ac_cv_use_fileproto"
4342 if test "$no_cache" != 1; then
4343 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4346 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4347 echo "$as_me:$LINENO: result: yes" >&5
4348 echo "${ECHO_T}yes" >&6
4350 echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6
4356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4357 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4359 # Check whether --enable-sockets or --disable-sockets was given.
4360 if test "${enable_sockets+set}" = set; then
4361 enableval
="$enable_sockets"
4363 if test "$enableval" = yes; then
4364 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4366 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4371 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x
; then
4373 eval "DEFAULT_$LINE"
4378 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4382 eval "$ac_cv_use_sockets"
4383 if test "$no_cache" != 1; then
4384 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4387 if test "$wxUSE_SOCKETS" = yes; then
4388 echo "$as_me:$LINENO: result: yes" >&5
4389 echo "${ECHO_T}yes" >&6
4391 echo "$as_me:$LINENO: result: no" >&5
4392 echo "${ECHO_T}no" >&6
4397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4398 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4400 # Check whether --enable-ole or --disable-ole was given.
4401 if test "${enable_ole+set}" = set; then
4402 enableval
="$enable_ole"
4404 if test "$enableval" = yes; then
4405 ac_cv_use_ole
='wxUSE_OLE=yes'
4407 ac_cv_use_ole
='wxUSE_OLE=no'
4412 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4413 if test "x$LINE" != x
; then
4414 eval "DEFAULT_$LINE"
4419 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4423 eval "$ac_cv_use_ole"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4428 if test "$wxUSE_OLE" = yes; then
4429 echo "$as_me:$LINENO: result: yes" >&5
4430 echo "${ECHO_T}yes" >&6
4432 echo "$as_me:$LINENO: result: no" >&5
4433 echo "${ECHO_T}no" >&6
4438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4439 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4441 # Check whether --enable-dataobj or --disable-dataobj was given.
4442 if test "${enable_dataobj+set}" = set; then
4443 enableval
="$enable_dataobj"
4445 if test "$enableval" = yes; then
4446 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4448 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4453 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4454 if test "x$LINE" != x
; then
4455 eval "DEFAULT_$LINE"
4460 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4464 eval "$ac_cv_use_dataobj"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_DATAOBJ" = yes; then
4470 echo "$as_me:$LINENO: result: yes" >&5
4471 echo "${ECHO_T}yes" >&6
4473 echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4483 # Check whether --enable-ipc or --disable-ipc was given.
4484 if test "${enable_ipc+set}" = set; then
4485 enableval
="$enable_ipc"
4487 if test "$enableval" = yes; then
4488 ac_cv_use_ipc
='wxUSE_IPC=yes'
4490 ac_cv_use_ipc
='wxUSE_IPC=no'
4495 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x
; then
4497 eval "DEFAULT_$LINE"
4502 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4506 eval "$ac_cv_use_ipc"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4511 if test "$wxUSE_IPC" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513 echo "${ECHO_T}yes" >&6
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4525 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4526 if test "${enable_apple_ieee+set}" = set; then
4527 enableval
="$enable_apple_ieee"
4529 if test "$enableval" = yes; then
4530 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4532 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4537 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x
; then
4539 eval "DEFAULT_$LINE"
4544 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4548 eval "$ac_cv_use_apple_ieee"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_APPLE_IEEE" = yes; then
4554 echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4564 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4566 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4567 if test "${enable_catch_segvs+set}" = set; then
4568 enableval
="$enable_catch_segvs"
4570 if test "$enableval" = yes; then
4571 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4573 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4578 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x
; then
4580 eval "DEFAULT_$LINE"
4585 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4589 eval "$ac_cv_use_catch_segvs"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4594 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4595 echo "$as_me:$LINENO: result: yes" >&5
4596 echo "${ECHO_T}yes" >&6
4598 echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6
4604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4605 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4607 # Check whether --enable-cmdline or --disable-cmdline was given.
4608 if test "${enable_cmdline+set}" = set; then
4609 enableval
="$enable_cmdline"
4611 if test "$enableval" = yes; then
4612 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4614 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4619 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x
; then
4621 eval "DEFAULT_$LINE"
4626 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4630 eval "$ac_cv_use_cmdline"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4635 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4636 echo "$as_me:$LINENO: result: yes" >&5
4637 echo "${ECHO_T}yes" >&6
4639 echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6
4645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4648 # Check whether --enable-datetime or --disable-datetime was given.
4649 if test "${enable_datetime+set}" = set; then
4650 enableval
="$enable_datetime"
4652 if test "$enableval" = yes; then
4653 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4655 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4660 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x
; then
4662 eval "DEFAULT_$LINE"
4667 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4671 eval "$ac_cv_use_datetime"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4676 if test "$wxUSE_DATETIME" = yes; then
4677 echo "$as_me:$LINENO: result: yes" >&5
4678 echo "${ECHO_T}yes" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4687 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4689 # Check whether --enable-dialupman or --disable-dialupman was given.
4690 if test "${enable_dialupman+set}" = set; then
4691 enableval
="$enable_dialupman"
4693 if test "$enableval" = yes; then
4694 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4696 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4701 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x
; then
4703 eval "DEFAULT_$LINE"
4708 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4712 eval "$ac_cv_use_dialupman"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4717 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4718 echo "$as_me:$LINENO: result: yes" >&5
4719 echo "${ECHO_T}yes" >&6
4721 echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6
4727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4728 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4730 # Check whether --enable-dynlib or --disable-dynlib was given.
4731 if test "${enable_dynlib+set}" = set; then
4732 enableval
="$enable_dynlib"
4734 if test "$enableval" = yes; then
4735 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4737 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4742 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4743 if test "x$LINE" != x
; then
4744 eval "DEFAULT_$LINE"
4749 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4753 eval "$ac_cv_use_dynlib"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4758 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4759 echo "$as_me:$LINENO: result: yes" >&5
4760 echo "${ECHO_T}yes" >&6
4762 echo "$as_me:$LINENO: result: no" >&5
4763 echo "${ECHO_T}no" >&6
4768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4769 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4771 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4772 if test "${enable_dynamicloader+set}" = set; then
4773 enableval
="$enable_dynamicloader"
4775 if test "$enableval" = yes; then
4776 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4778 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4783 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x
; then
4785 eval "DEFAULT_$LINE"
4790 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4794 eval "$ac_cv_use_dynamicloader"
4795 if test "$no_cache" != 1; then
4796 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4799 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4800 echo "$as_me:$LINENO: result: yes" >&5
4801 echo "${ECHO_T}yes" >&6
4803 echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6
4809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4810 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4812 # Check whether --enable-exceptions or --disable-exceptions was given.
4813 if test "${enable_exceptions+set}" = set; then
4814 enableval
="$enable_exceptions"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4819 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4824 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4835 eval "$ac_cv_use_exceptions"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4840 if test "$wxUSE_EXCEPTIONS" = yes; then
4841 echo "$as_me:$LINENO: result: yes" >&5
4842 echo "${ECHO_T}yes" >&6
4844 echo "$as_me:$LINENO: result: no" >&5
4845 echo "${ECHO_T}no" >&6
4850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4853 # Check whether --enable-ffile or --disable-ffile was given.
4854 if test "${enable_ffile+set}" = set; then
4855 enableval
="$enable_ffile"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4860 ac_cv_use_ffile
='wxUSE_FFILE=no'
4865 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4876 eval "$ac_cv_use_ffile"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4881 if test "$wxUSE_FFILE" = yes; then
4882 echo "$as_me:$LINENO: result: yes" >&5
4883 echo "${ECHO_T}yes" >&6
4885 echo "$as_me:$LINENO: result: no" >&5
4886 echo "${ECHO_T}no" >&6
4891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4894 # Check whether --enable-file or --disable-file was given.
4895 if test "${enable_file+set}" = set; then
4896 enableval
="$enable_file"
4898 if test "$enableval" = yes; then
4899 ac_cv_use_file
='wxUSE_FILE=yes'
4901 ac_cv_use_file
='wxUSE_FILE=no'
4906 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x
; then
4908 eval "DEFAULT_$LINE"
4913 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4917 eval "$ac_cv_use_file"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4922 if test "$wxUSE_FILE" = yes; then
4923 echo "$as_me:$LINENO: result: yes" >&5
4924 echo "${ECHO_T}yes" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4935 # Check whether --enable-filesystem or --disable-filesystem was given.
4936 if test "${enable_filesystem+set}" = set; then
4937 enableval
="$enable_filesystem"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4942 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4947 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4958 eval "$ac_cv_use_filesystem"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4963 if test "$wxUSE_FILESYSTEM" = yes; then
4964 echo "$as_me:$LINENO: result: yes" >&5
4965 echo "${ECHO_T}yes" >&6
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4976 # Check whether --enable-fontmap or --disable-fontmap was given.
4977 if test "${enable_fontmap+set}" = set; then
4978 enableval
="$enable_fontmap"
4980 if test "$enableval" = yes; then
4981 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4983 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4988 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x
; then
4990 eval "DEFAULT_$LINE"
4995 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4999 eval "$ac_cv_use_fontmap"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_FONTMAP" = yes; then
5005 echo "$as_me:$LINENO: result: yes" >&5
5006 echo "${ECHO_T}yes" >&6
5008 echo "$as_me:$LINENO: result: no" >&5
5009 echo "${ECHO_T}no" >&6
5014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5017 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5018 if test "${enable_fs_inet+set}" = set; then
5019 enableval
="$enable_fs_inet"
5021 if test "$enableval" = yes; then
5022 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5024 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5029 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x
; then
5031 eval "DEFAULT_$LINE"
5036 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5040 eval "$ac_cv_use_fs_inet"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5045 if test "$wxUSE_FS_INET" = yes; then
5046 echo "$as_me:$LINENO: result: yes" >&5
5047 echo "${ECHO_T}yes" >&6
5049 echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6
5055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5056 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5058 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5059 if test "${enable_fs_zip+set}" = set; then
5060 enableval
="$enable_fs_zip"
5062 if test "$enableval" = yes; then
5063 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5065 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5070 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5071 if test "x$LINE" != x
; then
5072 eval "DEFAULT_$LINE"
5077 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5081 eval "$ac_cv_use_fs_zip"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5086 if test "$wxUSE_FS_ZIP" = yes; then
5087 echo "$as_me:$LINENO: result: yes" >&5
5088 echo "${ECHO_T}yes" >&6
5090 echo "$as_me:$LINENO: result: no" >&5
5091 echo "${ECHO_T}no" >&6
5096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5099 # Check whether --enable-geometry or --disable-geometry was given.
5100 if test "${enable_geometry+set}" = set; then
5101 enableval
="$enable_geometry"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5106 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5111 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x
; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5122 eval "$ac_cv_use_geometry"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5127 if test "$wxUSE_GEOMETRY" = yes; then
5128 echo "$as_me:$LINENO: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5140 # Check whether --enable-log or --disable-log was given.
5141 if test "${enable_log+set}" = set; then
5142 enableval
="$enable_log"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_log
='wxUSE_LOG=yes'
5147 ac_cv_use_log
='wxUSE_LOG=no'
5152 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x
; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5163 eval "$ac_cv_use_log"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5168 if test "$wxUSE_LOG" = yes; then
5169 echo "$as_me:$LINENO: result: yes" >&5
5170 echo "${ECHO_T}yes" >&6
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5179 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5181 # Check whether --enable-longlong or --disable-longlong was given.
5182 if test "${enable_longlong+set}" = set; then
5183 enableval
="$enable_longlong"
5185 if test "$enableval" = yes; then
5186 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5188 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5193 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x
; then
5195 eval "DEFAULT_$LINE"
5200 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5204 eval "$ac_cv_use_longlong"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5209 if test "$wxUSE_LONGLONG" = yes; then
5210 echo "$as_me:$LINENO: result: yes" >&5
5211 echo "${ECHO_T}yes" >&6
5213 echo "$as_me:$LINENO: result: no" >&5
5214 echo "${ECHO_T}no" >&6
5219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5222 # Check whether --enable-mimetype or --disable-mimetype was given.
5223 if test "${enable_mimetype+set}" = set; then
5224 enableval
="$enable_mimetype"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5229 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5234 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5245 eval "$ac_cv_use_mimetype"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5250 if test "$wxUSE_MIMETYPE" = yes; then
5251 echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6
5254 echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6
5260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5263 # Check whether --enable-mslu or --disable-mslu was given.
5264 if test "${enable_mslu+set}" = set; then
5265 enableval
="$enable_mslu"
5267 if test "$enableval" = yes; then
5268 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5270 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5275 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x
; then
5277 eval "DEFAULT_$LINE"
5282 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5286 eval "$ac_cv_use_mslu"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_UNICODE_MSLU" = yes; then
5292 echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6
5295 echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5304 # Check whether --enable-snglinst or --disable-snglinst was given.
5305 if test "${enable_snglinst+set}" = set; then
5306 enableval
="$enable_snglinst"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5311 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5316 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x
; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5327 eval "$ac_cv_use_snglinst"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5332 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5345 # Check whether --enable-streams or --disable-streams was given.
5346 if test "${enable_streams+set}" = set; then
5347 enableval
="$enable_streams"
5349 if test "$enableval" = yes; then
5350 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5352 ac_cv_use_streams
='wxUSE_STREAMS=no'
5357 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x
; then
5359 eval "DEFAULT_$LINE"
5364 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5368 eval "$ac_cv_use_streams"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5373 if test "$wxUSE_STREAMS" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5386 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5387 if test "${enable_std_iostreams+set}" = set; then
5388 enableval
="$enable_std_iostreams"
5390 if test "$enableval" = yes; then
5391 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5393 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5398 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x
; then
5400 eval "DEFAULT_$LINE"
5405 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5409 eval "$ac_cv_use_std_iostreams"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5414 if test "$wxUSE_STD_IOSTREAM" = yes; then
5415 echo "$as_me:$LINENO: result: yes" >&5
5416 echo "${ECHO_T}yes" >&6
5418 echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6
5424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5427 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5428 if test "${enable_stopwatch+set}" = set; then
5429 enableval
="$enable_stopwatch"
5431 if test "$enableval" = yes; then
5432 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5434 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5439 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x
; then
5441 eval "DEFAULT_$LINE"
5446 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5450 eval "$ac_cv_use_stopwatch"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5455 if test "$wxUSE_STOPWATCH" = yes; then
5456 echo "$as_me:$LINENO: result: yes" >&5
5457 echo "${ECHO_T}yes" >&6
5459 echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6
5465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5466 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5468 # Check whether --enable-system_options or --disable-system_options was given.
5469 if test "${enable_system_options+set}" = set; then
5470 enableval
="$enable_system_options"
5472 if test "$enableval" = yes; then
5473 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5475 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5480 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x
; then
5482 eval "DEFAULT_$LINE"
5487 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5491 eval "$ac_cv_use_system_options"
5492 if test "$no_cache" != 1; then
5493 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5496 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5497 echo "$as_me:$LINENO: result: yes" >&5
5498 echo "${ECHO_T}yes" >&6
5500 echo "$as_me:$LINENO: result: no" >&5
5501 echo "${ECHO_T}no" >&6
5506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5507 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5509 # Check whether --enable-textbuf or --disable-textbuf was given.
5510 if test "${enable_textbuf+set}" = set; then
5511 enableval
="$enable_textbuf"
5513 if test "$enableval" = yes; then
5514 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5516 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5521 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x
; then
5523 eval "DEFAULT_$LINE"
5528 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5532 eval "$ac_cv_use_textbuf"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5537 if test "$wxUSE_TEXTBUFFER" = yes; then
5538 echo "$as_me:$LINENO: result: yes" >&5
5539 echo "${ECHO_T}yes" >&6
5541 echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6
5547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5550 # Check whether --enable-textfile or --disable-textfile was given.
5551 if test "${enable_textfile+set}" = set; then
5552 enableval
="$enable_textfile"
5554 if test "$enableval" = yes; then
5555 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5557 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5562 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x
; then
5564 eval "DEFAULT_$LINE"
5569 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5573 eval "$ac_cv_use_textfile"
5574 if test "$no_cache" != 1; then
5575 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5578 if test "$wxUSE_TEXTFILE" = yes; then
5579 echo "$as_me:$LINENO: result: yes" >&5
5580 echo "${ECHO_T}yes" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5591 # Check whether --enable-timer or --disable-timer was given.
5592 if test "${enable_timer+set}" = set; then
5593 enableval
="$enable_timer"
5595 if test "$enableval" = yes; then
5596 ac_cv_use_timer
='wxUSE_TIMER=yes'
5598 ac_cv_use_timer
='wxUSE_TIMER=no'
5603 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5604 if test "x$LINE" != x
; then
5605 eval "DEFAULT_$LINE"
5610 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5614 eval "$ac_cv_use_timer"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5619 if test "$wxUSE_TIMER" = yes; then
5620 echo "$as_me:$LINENO: result: yes" >&5
5621 echo "${ECHO_T}yes" >&6
5623 echo "$as_me:$LINENO: result: no" >&5
5624 echo "${ECHO_T}no" >&6
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5632 # Check whether --enable-unicode or --disable-unicode was given.
5633 if test "${enable_unicode+set}" = set; then
5634 enableval
="$enable_unicode"
5636 if test "$enableval" = yes; then
5637 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5639 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5644 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x
; then
5646 eval "DEFAULT_$LINE"
5651 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5655 eval "$ac_cv_use_unicode"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5660 if test "$wxUSE_UNICODE" = yes; then
5661 echo "$as_me:$LINENO: result: yes" >&5
5662 echo "${ECHO_T}yes" >&6
5664 echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6
5670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5673 # Check whether --enable-sound or --disable-sound was given.
5674 if test "${enable_sound+set}" = set; then
5675 enableval
="$enable_sound"
5677 if test "$enableval" = yes; then
5678 ac_cv_use_sound
='wxUSE_SOUND=yes'
5680 ac_cv_use_sound
='wxUSE_SOUND=no'
5685 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x
; then
5687 eval "DEFAULT_$LINE"
5692 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5696 eval "$ac_cv_use_sound"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5701 if test "$wxUSE_SOUND" = yes; then
5702 echo "$as_me:$LINENO: result: yes" >&5
5703 echo "${ECHO_T}yes" >&6
5705 echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6
5711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5714 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5715 if test "${enable_wxprintfv+set}" = set; then
5716 enableval
="$enable_wxprintfv"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5721 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5726 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5737 eval "$ac_cv_use_wxprintfv"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5742 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5743 echo "$as_me:$LINENO: result: yes" >&5
5744 echo "${ECHO_T}yes" >&6
5746 echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6
5752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5753 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5755 # Check whether --enable-zipstream or --disable-zipstream was given.
5756 if test "${enable_zipstream+set}" = set; then
5757 enableval
="$enable_zipstream"
5759 if test "$enableval" = yes; then
5760 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5762 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5767 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x
; then
5769 eval "DEFAULT_$LINE"
5774 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5778 eval "$ac_cv_use_zipstream"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5783 if test "$wxUSE_ZIPSTREAM" = yes; then
5784 echo "$as_me:$LINENO: result: yes" >&5
5785 echo "${ECHO_T}yes" >&6
5787 echo "$as_me:$LINENO: result: no" >&5
5788 echo "${ECHO_T}no" >&6
5794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5797 # Check whether --enable-url or --disable-url was given.
5798 if test "${enable_url+set}" = set; then
5799 enableval
="$enable_url"
5801 if test "$enableval" = yes; then
5802 ac_cv_use_url
='wxUSE_URL=yes'
5804 ac_cv_use_url
='wxUSE_URL=no'
5809 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5810 if test "x$LINE" != x
; then
5811 eval "DEFAULT_$LINE"
5816 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5820 eval "$ac_cv_use_url"
5821 if test "$no_cache" != 1; then
5822 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5825 if test "$wxUSE_URL" = yes; then
5826 echo "$as_me:$LINENO: result: yes" >&5
5827 echo "${ECHO_T}yes" >&6
5829 echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6
5835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5838 # Check whether --enable-protocol or --disable-protocol was given.
5839 if test "${enable_protocol+set}" = set; then
5840 enableval
="$enable_protocol"
5842 if test "$enableval" = yes; then
5843 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5845 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5850 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x
; then
5852 eval "DEFAULT_$LINE"
5857 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5861 eval "$ac_cv_use_protocol"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5866 if test "$wxUSE_PROTOCOL" = yes; then
5867 echo "$as_me:$LINENO: result: yes" >&5
5868 echo "${ECHO_T}yes" >&6
5870 echo "$as_me:$LINENO: result: no" >&5
5871 echo "${ECHO_T}no" >&6
5876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5879 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5880 if test "${enable_protocol_http+set}" = set; then
5881 enableval
="$enable_protocol_http"
5883 if test "$enableval" = yes; then
5884 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5886 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5891 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x
; then
5893 eval "DEFAULT_$LINE"
5898 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5902 eval "$ac_cv_use_protocol_http"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5907 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5908 echo "$as_me:$LINENO: result: yes" >&5
5909 echo "${ECHO_T}yes" >&6
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5918 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5920 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5921 if test "${enable_protocol_ftp+set}" = set; then
5922 enableval
="$enable_protocol_ftp"
5924 if test "$enableval" = yes; then
5925 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5927 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5932 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x
; then
5934 eval "DEFAULT_$LINE"
5939 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5943 eval "$ac_cv_use_protocol_ftp"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5948 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5949 echo "$as_me:$LINENO: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5961 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5962 if test "${enable_protocol_file+set}" = set; then
5963 enableval
="$enable_protocol_file"
5965 if test "$enableval" = yes; then
5966 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5968 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5973 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x
; then
5975 eval "DEFAULT_$LINE"
5980 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5984 eval "$ac_cv_use_protocol_file"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5989 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
6002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6005 # Check whether --enable-threads or --disable-threads was given.
6006 if test "${enable_threads+set}" = set; then
6007 enableval
="$enable_threads"
6009 if test "$enableval" = yes; then
6010 ac_cv_use_threads
='wxUSE_THREADS=yes'
6012 ac_cv_use_threads
='wxUSE_THREADS=no'
6017 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6018 if test "x$LINE" != x
; then
6019 eval "DEFAULT_$LINE"
6024 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6028 eval "$ac_cv_use_threads"
6029 if test "$no_cache" != 1; then
6030 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6033 if test "$wxUSE_THREADS" = yes; then
6034 echo "$as_me:$LINENO: result: yes" >&5
6035 echo "${ECHO_T}yes" >&6
6037 echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6
6042 if test "$wxUSE_GUI" = "yes"; then
6047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6048 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6050 # Check whether --enable-docview or --disable-docview was given.
6051 if test "${enable_docview+set}" = set; then
6052 enableval
="$enable_docview"
6054 if test "$enableval" = yes; then
6055 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6057 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6062 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6063 if test "x$LINE" != x
; then
6064 eval "DEFAULT_$LINE"
6069 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6073 eval "$ac_cv_use_docview"
6074 if test "$no_cache" != 1; then
6075 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6078 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6079 echo "$as_me:$LINENO: result: yes" >&5
6080 echo "${ECHO_T}yes" >&6
6082 echo "$as_me:$LINENO: result: no" >&5
6083 echo "${ECHO_T}no" >&6
6088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6089 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6091 # Check whether --enable-help or --disable-help was given.
6092 if test "${enable_help+set}" = set; then
6093 enableval
="$enable_help"
6095 if test "$enableval" = yes; then
6096 ac_cv_use_help
='wxUSE_HELP=yes'
6098 ac_cv_use_help
='wxUSE_HELP=no'
6103 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6104 if test "x$LINE" != x
; then
6105 eval "DEFAULT_$LINE"
6110 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6114 eval "$ac_cv_use_help"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6119 if test "$wxUSE_HELP" = yes; then
6120 echo "$as_me:$LINENO: result: yes" >&5
6121 echo "${ECHO_T}yes" >&6
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6130 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6132 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6133 if test "${enable_mshtmlhelp+set}" = set; then
6134 enableval
="$enable_mshtmlhelp"
6136 if test "$enableval" = yes; then
6137 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6139 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6144 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x
; then
6146 eval "DEFAULT_$LINE"
6151 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6155 eval "$ac_cv_use_mshtmlhelp"
6156 if test "$no_cache" != 1; then
6157 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6160 if test "$wxUSE_MS_HTML_HELP" = yes; then
6161 echo "$as_me:$LINENO: result: yes" >&5
6162 echo "${ECHO_T}yes" >&6
6164 echo "$as_me:$LINENO: result: no" >&5
6165 echo "${ECHO_T}no" >&6
6170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6171 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6173 # Check whether --enable-html or --disable-html was given.
6174 if test "${enable_html+set}" = set; then
6175 enableval
="$enable_html"
6177 if test "$enableval" = yes; then
6178 ac_cv_use_html
='wxUSE_HTML=yes'
6180 ac_cv_use_html
='wxUSE_HTML=no'
6185 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6186 if test "x$LINE" != x
; then
6187 eval "DEFAULT_$LINE"
6192 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6196 eval "$ac_cv_use_html"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_HTML" = yes; then
6202 echo "$as_me:$LINENO: result: yes" >&5
6203 echo "${ECHO_T}yes" >&6
6205 echo "$as_me:$LINENO: result: no" >&5
6206 echo "${ECHO_T}no" >&6
6211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6212 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6214 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6215 if test "${enable_htmlhelp+set}" = set; then
6216 enableval
="$enable_htmlhelp"
6218 if test "$enableval" = yes; then
6219 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6221 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6226 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6227 if test "x$LINE" != x
; then
6228 eval "DEFAULT_$LINE"
6233 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6237 eval "$ac_cv_use_htmlhelp"
6238 if test "$no_cache" != 1; then
6239 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6242 if test "$wxUSE_WXHTML_HELP" = yes; then
6243 echo "$as_me:$LINENO: result: yes" >&5
6244 echo "${ECHO_T}yes" >&6
6246 echo "$as_me:$LINENO: result: no" >&5
6247 echo "${ECHO_T}no" >&6
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6255 # Check whether --enable-constraints or --disable-constraints was given.
6256 if test "${enable_constraints+set}" = set; then
6257 enableval
="$enable_constraints"
6259 if test "$enableval" = yes; then
6260 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6262 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6267 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x
; then
6269 eval "DEFAULT_$LINE"
6274 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6278 eval "$ac_cv_use_constraints"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6283 if test "$wxUSE_CONSTRAINTS" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285 echo "${ECHO_T}yes" >&6
6287 echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6296 # Check whether --enable-printarch or --disable-printarch was given.
6297 if test "${enable_printarch+set}" = set; then
6298 enableval
="$enable_printarch"
6300 if test "$enableval" = yes; then
6301 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6303 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6308 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x
; then
6310 eval "DEFAULT_$LINE"
6315 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6319 eval "$ac_cv_use_printarch"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6324 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326 echo "${ECHO_T}yes" >&6
6328 echo "$as_me:$LINENO: result: no" >&5
6329 echo "${ECHO_T}no" >&6
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6337 # Check whether --enable-mdi or --disable-mdi was given.
6338 if test "${enable_mdi+set}" = set; then
6339 enableval
="$enable_mdi"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_mdi
='wxUSE_MDI=yes'
6344 ac_cv_use_mdi
='wxUSE_MDI=no'
6349 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x
; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6360 eval "$ac_cv_use_mdi"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6365 if test "$wxUSE_MDI" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367 echo "${ECHO_T}yes" >&6
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6378 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6379 if test "${enable_mdidoc+set}" = set; then
6380 enableval
="$enable_mdidoc"
6382 if test "$enableval" = yes; then
6383 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6385 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6390 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6391 if test "x$LINE" != x
; then
6392 eval "DEFAULT_$LINE"
6397 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6401 eval "$ac_cv_use_mdidoc"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6407 echo "$as_me:$LINENO: result: yes" >&5
6408 echo "${ECHO_T}yes" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6419 # Check whether --enable-loggui or --disable-loggui was given.
6420 if test "${enable_loggui+set}" = set; then
6421 enableval
="$enable_loggui"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6426 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6431 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x
; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6442 eval "$ac_cv_use_loggui"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6447 if test "$wxUSE_LOGGUI" = yes; then
6448 echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6
6451 echo "$as_me:$LINENO: result: no" >&5
6452 echo "${ECHO_T}no" >&6
6457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6458 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6460 # Check whether --enable-logwin or --disable-logwin was given.
6461 if test "${enable_logwin+set}" = set; then
6462 enableval
="$enable_logwin"
6464 if test "$enableval" = yes; then
6465 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6467 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6472 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x
; then
6474 eval "DEFAULT_$LINE"
6479 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6483 eval "$ac_cv_use_logwin"
6484 if test "$no_cache" != 1; then
6485 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6488 if test "$wxUSE_LOGWINDOW" = yes; then
6489 echo "$as_me:$LINENO: result: yes" >&5
6490 echo "${ECHO_T}yes" >&6
6492 echo "$as_me:$LINENO: result: no" >&5
6493 echo "${ECHO_T}no" >&6
6498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6501 # Check whether --enable-logdialog or --disable-logdialog was given.
6502 if test "${enable_logdialog+set}" = set; then
6503 enableval
="$enable_logdialog"
6505 if test "$enableval" = yes; then
6506 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6508 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6513 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x
; then
6515 eval "DEFAULT_$LINE"
6520 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6524 eval "$ac_cv_use_logdialog"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6529 if test "$wxUSE_LOGDIALOG" = yes; then
6530 echo "$as_me:$LINENO: result: yes" >&5
6531 echo "${ECHO_T}yes" >&6
6533 echo "$as_me:$LINENO: result: no" >&5
6534 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6543 # Check whether --enable-postscript or --disable-postscript was given.
6544 if test "${enable_postscript+set}" = set; then
6545 enableval
="$enable_postscript"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6550 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6555 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x
; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6566 eval "$ac_cv_use_postscript"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_POSTSCRIPT" = 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
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6587 # Check whether --enable-prologio or --disable-prologio was given.
6588 if test "${enable_prologio+set}" = set; then
6589 enableval
="$enable_prologio"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6594 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6599 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6610 eval "$ac_cv_use_prologio"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_PROLOGIO" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6628 # Check whether --enable-resources or --disable-resources was given.
6629 if test "${enable_resources+set}" = set; then
6630 enableval
="$enable_resources"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6635 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6640 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6651 eval "$ac_cv_use_resources"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_RESOURCES" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6669 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6671 # Check whether --enable-clipboard or --disable-clipboard was given.
6672 if test "${enable_clipboard+set}" = set; then
6673 enableval
="$enable_clipboard"
6675 if test "$enableval" = yes; then
6676 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6678 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6683 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6684 if test "x$LINE" != x
; then
6685 eval "DEFAULT_$LINE"
6690 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6694 eval "$ac_cv_use_clipboard"
6695 if test "$no_cache" != 1; then
6696 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6699 if test "$wxUSE_CLIPBOARD" = yes; then
6700 echo "$as_me:$LINENO: result: yes" >&5
6701 echo "${ECHO_T}yes" >&6
6703 echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6712 # Check whether --enable-dnd or --disable-dnd was given.
6713 if test "${enable_dnd+set}" = set; then
6714 enableval
="$enable_dnd"
6716 if test "$enableval" = yes; then
6717 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6719 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6724 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x
; then
6726 eval "DEFAULT_$LINE"
6731 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6735 eval "$ac_cv_use_dnd"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6753 # Check whether --enable-metafile or --disable-metafile was given.
6754 if test "${enable_metafile+set}" = set; then
6755 enableval
="$enable_metafile"
6757 if test "$enableval" = yes; then
6758 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6760 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6765 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x
; then
6767 eval "DEFAULT_$LINE"
6772 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6776 eval "$ac_cv_use_metafile"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6781 if test "$wxUSE_METAFILE" = 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
6794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6797 # Check whether --enable-controls or --disable-controls was given.
6798 if test "${enable_controls+set}" = set; then
6799 enableval
="$enable_controls"
6801 if test "$enableval" = yes; then
6802 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6804 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6809 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x
; then
6811 eval "DEFAULT_$LINE"
6816 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6820 eval "$ac_cv_use_controls"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6825 if test "$wxUSE_CONTROLS" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6
6829 echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6
6834 if test "$wxUSE_CONTROLS" = "yes"; then
6835 DEFAULT_wxUSE_ACCEL
=yes
6836 DEFAULT_wxUSE_BMPBUTTON
=yes
6837 DEFAULT_wxUSE_BUTTON
=yes
6838 DEFAULT_wxUSE_CALCTRL
=no
6839 DEFAULT_wxUSE_CARET
=yes
6840 DEFAULT_wxUSE_COMBOBOX
=yes
6841 DEFAULT_wxUSE_CHECKBOX
=yes
6842 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6843 DEFAULT_wxUSE_CHOICE
=yes
6844 DEFAULT_wxUSE_GAUGE
=yes
6845 DEFAULT_wxUSE_GRID
=yes
6846 DEFAULT_wxUSE_IMAGLIST
=yes
6847 DEFAULT_wxUSE_LISTBOOK
=yes
6848 DEFAULT_wxUSE_LISTBOX
=yes
6849 DEFAULT_wxUSE_LISTCTRL
=yes
6850 DEFAULT_wxUSE_NOTEBOOK
=yes
6851 DEFAULT_wxUSE_RADIOBOX
=yes
6852 DEFAULT_wxUSE_RADIOBTN
=yes
6853 DEFAULT_wxUSE_SASH
=yes
6854 DEFAULT_wxUSE_SCROLLBAR
=yes
6855 DEFAULT_wxUSE_SLIDER
=yes
6856 DEFAULT_wxUSE_SPINBTN
=yes
6857 DEFAULT_wxUSE_SPINCTRL
=yes
6858 DEFAULT_wxUSE_SPLITTER
=yes
6859 DEFAULT_wxUSE_STATBMP
=yes
6860 DEFAULT_wxUSE_STATBOX
=yes
6861 DEFAULT_wxUSE_STATLINE
=yes
6862 DEFAULT_wxUSE_STATUSBAR
=yes
6863 DEFAULT_wxUSE_TAB_DIALOG
=yes
6864 DEFAULT_wxUSE_TOGGLEBTN
=yes
6865 DEFAULT_wxUSE_TOOLBAR
=yes
6866 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6867 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6868 DEFAULT_wxUSE_TOOLTIPS
=yes
6869 DEFAULT_wxUSE_TREECTRL
=yes
6870 DEFAULT_wxUSE_POPUPWIN
=yes
6871 DEFAULT_wxUSE_TIPWINDOW
=yes
6872 elif test "$wxUSE_CONTROLS" = "no"; then
6873 DEFAULT_wxUSE_ACCEL
=no
6874 DEFAULT_wxUSE_BMPBUTTON
=no
6875 DEFAULT_wxUSE_BUTTON
=no
6876 DEFAULT_wxUSE_CALCTRL
=no
6877 DEFAULT_wxUSE_CARET
=no
6878 DEFAULT_wxUSE_COMBOBOX
=no
6879 DEFAULT_wxUSE_CHECKBOX
=no
6880 DEFAULT_wxUSE_CHECKLISTBOX
=no
6881 DEFAULT_wxUSE_CHOICE
=no
6882 DEFAULT_wxUSE_GAUGE
=no
6883 DEFAULT_wxUSE_GRID
=no
6884 DEFAULT_wxUSE_IMAGLIST
=no
6885 DEFAULT_wxUSE_LISTBOOK
=no
6886 DEFAULT_wxUSE_LISTBOX
=no
6887 DEFAULT_wxUSE_LISTCTRL
=no
6888 DEFAULT_wxUSE_NOTEBOOK
=no
6889 DEFAULT_wxUSE_RADIOBOX
=no
6890 DEFAULT_wxUSE_RADIOBTN
=no
6891 DEFAULT_wxUSE_SASH
=no
6892 DEFAULT_wxUSE_SCROLLBAR
=no
6893 DEFAULT_wxUSE_SLIDER
=no
6894 DEFAULT_wxUSE_SPINBTN
=no
6895 DEFAULT_wxUSE_SPINCTRL
=no
6896 DEFAULT_wxUSE_SPLITTER
=no
6897 DEFAULT_wxUSE_STATBMP
=no
6898 DEFAULT_wxUSE_STATBOX
=no
6899 DEFAULT_wxUSE_STATLINE
=no
6900 DEFAULT_wxUSE_STATUSBAR
=no
6901 DEFAULT_wxUSE_TAB_DIALOG
=no
6902 DEFAULT_wxUSE_TOGGLEBTN
=no
6903 DEFAULT_wxUSE_TOOLBAR
=no
6904 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6905 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6906 DEFAULT_wxUSE_TOOLTIPS
=no
6907 DEFAULT_wxUSE_TREECTRL
=no
6908 DEFAULT_wxUSE_POPUPWIN
=no
6909 DEFAULT_wxUSE_TIPWINDOW
=no
6912 ## FIXME: This is a blatant hack
6913 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6914 wxUSE_PRINTING_ARCHITECTURE
=no
6915 wxUSE_DRAG_AND_DROP
=no
6916 # Generic notebook requires tab dialog
6917 DEFAULT_wxUSE_TABDIALOG
=yes
6918 DEFAULT_wxUSE_SCROLLBAR
=no
6919 DEFAULT_wxUSE_TOOLTIPS
=no
6920 DEFAULT_wxUSE_DRAGIMAGE
=no
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6928 # Check whether --enable-accel or --disable-accel was given.
6929 if test "${enable_accel+set}" = set; then
6930 enableval
="$enable_accel"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6935 ac_cv_use_accel
='wxUSE_ACCEL=no'
6940 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6951 eval "$ac_cv_use_accel"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_ACCEL" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6969 # Check whether --enable-button or --disable-button was given.
6970 if test "${enable_button+set}" = set; then
6971 enableval
="$enable_button"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_button
='wxUSE_BUTTON=yes'
6976 ac_cv_use_button
='wxUSE_BUTTON=no'
6981 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6992 eval "$ac_cv_use_button"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6997 if test "$wxUSE_BUTTON" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7010 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7011 if test "${enable_bmpbutton+set}" = set; then
7012 enableval
="$enable_bmpbutton"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7017 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7022 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7033 eval "$ac_cv_use_bmpbutton"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_BMPBUTTON" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7051 # Check whether --enable-calendar or --disable-calendar was given.
7052 if test "${enable_calendar+set}" = set; then
7053 enableval
="$enable_calendar"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7058 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7063 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7074 eval "$ac_cv_use_calendar"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_CALCTRL" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7092 # Check whether --enable-caret or --disable-caret was given.
7093 if test "${enable_caret+set}" = set; then
7094 enableval
="$enable_caret"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_caret
='wxUSE_CARET=yes'
7099 ac_cv_use_caret
='wxUSE_CARET=no'
7104 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7115 eval "$ac_cv_use_caret"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_CARET" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7133 # Check whether --enable-checkbox or --disable-checkbox was given.
7134 if test "${enable_checkbox+set}" = set; then
7135 enableval
="$enable_checkbox"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7140 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7145 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7156 eval "$ac_cv_use_checkbox"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_CHECKBOX" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7174 # Check whether --enable-checklst or --disable-checklst was given.
7175 if test "${enable_checklst+set}" = set; then
7176 enableval
="$enable_checklst"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7181 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7186 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7197 eval "$ac_cv_use_checklst"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_CHECKLST" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7215 # Check whether --enable-choice or --disable-choice was given.
7216 if test "${enable_choice+set}" = set; then
7217 enableval
="$enable_choice"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7222 ac_cv_use_choice
='wxUSE_CHOICE=no'
7227 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x
; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7238 eval "$ac_cv_use_choice"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_CHOICE" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7256 # Check whether --enable-combobox or --disable-combobox was given.
7257 if test "${enable_combobox+set}" = set; then
7258 enableval
="$enable_combobox"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7263 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7268 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7279 eval "$ac_cv_use_combobox"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7284 if test "$wxUSE_COMBOBOX" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7297 # Check whether --enable-display or --disable-display was given.
7298 if test "${enable_display+set}" = set; then
7299 enableval
="$enable_display"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7304 ac_cv_use_display
='wxUSE_DISPLAY=no'
7309 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7320 eval "$ac_cv_use_display"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_DISPLAY" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7338 # Check whether --enable-gauge or --disable-gauge was given.
7339 if test "${enable_gauge+set}" = set; then
7340 enableval
="$enable_gauge"
7342 if test "$enableval" = yes; then
7343 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7345 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7350 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x
; then
7352 eval "DEFAULT_$LINE"
7357 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7361 eval "$ac_cv_use_gauge"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_GAUGE" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7379 # Check whether --enable-grid or --disable-grid was given.
7380 if test "${enable_grid+set}" = set; then
7381 enableval
="$enable_grid"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_grid
='wxUSE_GRID=yes'
7386 ac_cv_use_grid
='wxUSE_GRID=no'
7391 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7402 eval "$ac_cv_use_grid"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_GRID" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7420 # Check whether --enable-imaglist or --disable-imaglist was given.
7421 if test "${enable_imaglist+set}" = set; then
7422 enableval
="$enable_imaglist"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7427 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7432 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7443 eval "$ac_cv_use_imaglist"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_IMAGLIST" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7461 # Check whether --enable-listbook or --disable-listbook was given.
7462 if test "${enable_listbook+set}" = set; then
7463 enableval
="$enable_listbook"
7465 if test "$enableval" = yes; then
7466 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7468 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7473 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x
; then
7475 eval "DEFAULT_$LINE"
7480 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7484 eval "$ac_cv_use_listbook"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_LISTBOOK" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7502 # Check whether --enable-listbox or --disable-listbox was given.
7503 if test "${enable_listbox+set}" = set; then
7504 enableval
="$enable_listbox"
7506 if test "$enableval" = yes; then
7507 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7509 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7514 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x
; then
7516 eval "DEFAULT_$LINE"
7521 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7525 eval "$ac_cv_use_listbox"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7530 if test "$wxUSE_LISTBOX" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7543 # Check whether --enable-listctrl or --disable-listctrl was given.
7544 if test "${enable_listctrl+set}" = set; then
7545 enableval
="$enable_listctrl"
7547 if test "$enableval" = yes; then
7548 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7550 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7555 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x
; then
7557 eval "DEFAULT_$LINE"
7562 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7566 eval "$ac_cv_use_listctrl"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_LISTCTRL" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7584 # Check whether --enable-notebook or --disable-notebook was given.
7585 if test "${enable_notebook+set}" = set; then
7586 enableval
="$enable_notebook"
7588 if test "$enableval" = yes; then
7589 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7591 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7596 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x
; then
7598 eval "DEFAULT_$LINE"
7603 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7607 eval "$ac_cv_use_notebook"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_NOTEBOOK" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7625 # Check whether --enable-radiobox or --disable-radiobox was given.
7626 if test "${enable_radiobox+set}" = set; then
7627 enableval
="$enable_radiobox"
7629 if test "$enableval" = yes; then
7630 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7632 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7637 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x
; then
7639 eval "DEFAULT_$LINE"
7644 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7648 eval "$ac_cv_use_radiobox"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7653 if test "$wxUSE_RADIOBOX" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7664 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7666 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7667 if test "${enable_radiobtn+set}" = set; then
7668 enableval
="$enable_radiobtn"
7670 if test "$enableval" = yes; then
7671 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7673 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7678 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x
; then
7680 eval "DEFAULT_$LINE"
7685 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7689 eval "$ac_cv_use_radiobtn"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7694 if test "$wxUSE_RADIOBTN" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696 echo "${ECHO_T}yes" >&6
7698 echo "$as_me:$LINENO: result: no" >&5
7699 echo "${ECHO_T}no" >&6
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7707 # Check whether --enable-sash or --disable-sash was given.
7708 if test "${enable_sash+set}" = set; then
7709 enableval
="$enable_sash"
7711 if test "$enableval" = yes; then
7712 ac_cv_use_sash
='wxUSE_SASH=yes'
7714 ac_cv_use_sash
='wxUSE_SASH=no'
7719 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x
; then
7721 eval "DEFAULT_$LINE"
7726 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7730 eval "$ac_cv_use_sash"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7735 if test "$wxUSE_SASH" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7748 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7749 if test "${enable_scrollbar+set}" = set; then
7750 enableval
="$enable_scrollbar"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7755 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7760 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x
; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7771 eval "$ac_cv_use_scrollbar"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7776 if test "$wxUSE_SCROLLBAR" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7789 # Check whether --enable-slider or --disable-slider was given.
7790 if test "${enable_slider+set}" = set; then
7791 enableval
="$enable_slider"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7796 ac_cv_use_slider
='wxUSE_SLIDER=no'
7801 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x
; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7812 eval "$ac_cv_use_slider"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_SLIDER" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7830 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7831 if test "${enable_spinbtn+set}" = set; then
7832 enableval
="$enable_spinbtn"
7834 if test "$enableval" = yes; then
7835 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7837 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7842 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x
; then
7844 eval "DEFAULT_$LINE"
7849 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7853 eval "$ac_cv_use_spinbtn"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_SPINBTN" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860 echo "${ECHO_T}yes" >&6
7862 echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7871 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7872 if test "${enable_spinctrl+set}" = set; then
7873 enableval
="$enable_spinctrl"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7878 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7883 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7894 eval "$ac_cv_use_spinctrl"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_SPINCTRL" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901 echo "${ECHO_T}yes" >&6
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7912 # Check whether --enable-splitter or --disable-splitter was given.
7913 if test "${enable_splitter+set}" = set; then
7914 enableval
="$enable_splitter"
7916 if test "$enableval" = yes; then
7917 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7919 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7924 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x
; then
7926 eval "DEFAULT_$LINE"
7931 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7935 eval "$ac_cv_use_splitter"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7940 if test "$wxUSE_SPLITTER" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7953 # Check whether --enable-statbmp or --disable-statbmp was given.
7954 if test "${enable_statbmp+set}" = set; then
7955 enableval
="$enable_statbmp"
7957 if test "$enableval" = yes; then
7958 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7960 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7965 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x
; then
7967 eval "DEFAULT_$LINE"
7972 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7976 eval "$ac_cv_use_statbmp"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7981 if test "$wxUSE_STATBMP" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7994 # Check whether --enable-statbox or --disable-statbox was given.
7995 if test "${enable_statbox+set}" = set; then
7996 enableval
="$enable_statbox"
7998 if test "$enableval" = yes; then
7999 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8001 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8006 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x
; then
8008 eval "DEFAULT_$LINE"
8013 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8017 eval "$ac_cv_use_statbox"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8022 if test "$wxUSE_STATBOX" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8035 # Check whether --enable-statline or --disable-statline was given.
8036 if test "${enable_statline+set}" = set; then
8037 enableval
="$enable_statline"
8039 if test "$enableval" = yes; then
8040 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8042 ac_cv_use_statline
='wxUSE_STATLINE=no'
8047 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x
; then
8049 eval "DEFAULT_$LINE"
8054 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8058 eval "$ac_cv_use_statline"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8063 if test "$wxUSE_STATLINE" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8076 # Check whether --enable-stattext or --disable-stattext was given.
8077 if test "${enable_stattext+set}" = set; then
8078 enableval
="$enable_stattext"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8083 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8088 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x
; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8099 eval "$ac_cv_use_stattext"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8104 if test "$wxUSE_STATTEXT" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8115 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8117 # Check whether --enable-statusbar or --disable-statusbar was given.
8118 if test "${enable_statusbar+set}" = set; then
8119 enableval
="$enable_statusbar"
8121 if test "$enableval" = yes; then
8122 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8124 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8129 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x
; then
8131 eval "DEFAULT_$LINE"
8136 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8140 eval "$ac_cv_use_statusbar"
8141 if test "$no_cache" != 1; then
8142 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8145 if test "$wxUSE_STATUSBAR" = yes; then
8146 echo "$as_me:$LINENO: result: yes" >&5
8147 echo "${ECHO_T}yes" >&6
8149 echo "$as_me:$LINENO: result: no" >&5
8150 echo "${ECHO_T}no" >&6
8155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8156 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8158 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8159 if test "${enable_tabdialog+set}" = set; then
8160 enableval
="$enable_tabdialog"
8162 if test "$enableval" = yes; then
8163 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8165 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8170 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8171 if test "x$LINE" != x
; then
8172 eval "DEFAULT_$LINE"
8177 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8181 eval "$ac_cv_use_tabdialog"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8186 if test "$wxUSE_TABDIALOG" = yes; then
8187 echo "$as_me:$LINENO: result: yes" >&5
8188 echo "${ECHO_T}yes" >&6
8190 echo "$as_me:$LINENO: result: no" >&5
8191 echo "${ECHO_T}no" >&6
8196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8199 # Check whether --enable-textctrl or --disable-textctrl was given.
8200 if test "${enable_textctrl+set}" = set; then
8201 enableval
="$enable_textctrl"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8206 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8211 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8222 eval "$ac_cv_use_textctrl"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8227 if test "$wxUSE_TEXTCTRL" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229 echo "${ECHO_T}yes" >&6
8231 echo "$as_me:$LINENO: result: no" >&5
8232 echo "${ECHO_T}no" >&6
8237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8240 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8241 if test "${enable_togglebtn+set}" = set; then
8242 enableval
="$enable_togglebtn"
8244 if test "$enableval" = yes; then
8245 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8247 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8252 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x
; then
8254 eval "DEFAULT_$LINE"
8259 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8263 eval "$ac_cv_use_togglebtn"
8264 if test "$no_cache" != 1; then
8265 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8268 if test "$wxUSE_TOGGLEBTN" = yes; then
8269 echo "$as_me:$LINENO: result: yes" >&5
8270 echo "${ECHO_T}yes" >&6
8272 echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6
8278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8279 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8281 # Check whether --enable-toolbar or --disable-toolbar was given.
8282 if test "${enable_toolbar+set}" = set; then
8283 enableval
="$enable_toolbar"
8285 if test "$enableval" = yes; then
8286 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8288 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8293 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8294 if test "x$LINE" != x
; then
8295 eval "DEFAULT_$LINE"
8300 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8304 eval "$ac_cv_use_toolbar"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8309 if test "$wxUSE_TOOLBAR" = yes; then
8310 echo "$as_me:$LINENO: result: yes" >&5
8311 echo "${ECHO_T}yes" >&6
8313 echo "$as_me:$LINENO: result: no" >&5
8314 echo "${ECHO_T}no" >&6
8319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8322 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8323 if test "${enable_tbarnative+set}" = set; then
8324 enableval
="$enable_tbarnative"
8326 if test "$enableval" = yes; then
8327 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8329 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8334 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x
; then
8336 eval "DEFAULT_$LINE"
8341 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8345 eval "$ac_cv_use_tbarnative"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8350 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8354 echo "$as_me:$LINENO: result: no" >&5
8355 echo "${ECHO_T}no" >&6
8360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8363 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8364 if test "${enable_tbarsmpl+set}" = set; then
8365 enableval
="$enable_tbarsmpl"
8367 if test "$enableval" = yes; then
8368 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8370 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8375 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x
; then
8377 eval "DEFAULT_$LINE"
8382 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8386 eval "$ac_cv_use_tbarsmpl"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8391 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8392 echo "$as_me:$LINENO: result: yes" >&5
8393 echo "${ECHO_T}yes" >&6
8395 echo "$as_me:$LINENO: result: no" >&5
8396 echo "${ECHO_T}no" >&6
8401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8404 # Check whether --enable-treectrl or --disable-treectrl was given.
8405 if test "${enable_treectrl+set}" = set; then
8406 enableval
="$enable_treectrl"
8408 if test "$enableval" = yes; then
8409 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8411 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8416 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x
; then
8418 eval "DEFAULT_$LINE"
8423 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8427 eval "$ac_cv_use_treectrl"
8428 if test "$no_cache" != 1; then
8429 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8432 if test "$wxUSE_TREECTRL" = yes; then
8433 echo "$as_me:$LINENO: result: yes" >&5
8434 echo "${ECHO_T}yes" >&6
8436 echo "$as_me:$LINENO: result: no" >&5
8437 echo "${ECHO_T}no" >&6
8442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8445 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8446 if test "${enable_tipwindow+set}" = set; then
8447 enableval
="$enable_tipwindow"
8449 if test "$enableval" = yes; then
8450 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8452 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8457 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8458 if test "x$LINE" != x
; then
8459 eval "DEFAULT_$LINE"
8464 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8468 eval "$ac_cv_use_tipwindow"
8469 if test "$no_cache" != 1; then
8470 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8473 if test "$wxUSE_TIPWINDOW" = yes; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475 echo "${ECHO_T}yes" >&6
8477 echo "$as_me:$LINENO: result: no" >&5
8478 echo "${ECHO_T}no" >&6
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8486 # Check whether --enable-popupwin or --disable-popupwin was given.
8487 if test "${enable_popupwin+set}" = set; then
8488 enableval
="$enable_popupwin"
8490 if test "$enableval" = yes; then
8491 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8493 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8498 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x
; then
8500 eval "DEFAULT_$LINE"
8505 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8509 eval "$ac_cv_use_popupwin"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8514 if test "$wxUSE_POPUPWIN" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8529 # Check whether --enable-commondlg or --disable-commondlg was given.
8530 if test "${enable_commondlg+set}" = set; then
8531 enableval
="$enable_commondlg"
8533 if test "$enableval" = yes; then
8534 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8536 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8541 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x
; then
8543 eval "DEFAULT_$LINE"
8548 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8552 eval "$ac_cv_use_commondlg"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_COMMONDLGS" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8570 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8571 if test "${enable_choicedlg+set}" = set; then
8572 enableval
="$enable_choicedlg"
8574 if test "$enableval" = yes; then
8575 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8577 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8582 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x
; then
8584 eval "DEFAULT_$LINE"
8589 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8593 eval "$ac_cv_use_choicedlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8598 if test "$wxUSE_CHOICEDLG" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8611 # Check whether --enable-coldlg or --disable-coldlg was given.
8612 if test "${enable_coldlg+set}" = set; then
8613 enableval
="$enable_coldlg"
8615 if test "$enableval" = yes; then
8616 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8618 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8623 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x
; then
8625 eval "DEFAULT_$LINE"
8630 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8634 eval "$ac_cv_use_coldlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8639 if test "$wxUSE_COLOURDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8652 # Check whether --enable-filedlg or --disable-filedlg was given.
8653 if test "${enable_filedlg+set}" = set; then
8654 enableval
="$enable_filedlg"
8656 if test "$enableval" = yes; then
8657 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8659 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8664 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x
; then
8666 eval "DEFAULT_$LINE"
8671 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8675 eval "$ac_cv_use_filedlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8680 if test "$wxUSE_FILEDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8691 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8693 # Check whether --enable-finddlg or --disable-finddlg was given.
8694 if test "${enable_finddlg+set}" = set; then
8695 enableval
="$enable_finddlg"
8697 if test "$enableval" = yes; then
8698 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8700 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8705 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x
; then
8707 eval "DEFAULT_$LINE"
8712 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8716 eval "$ac_cv_use_finddlg"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8721 if test "$wxUSE_FINDREPLDLG" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723 echo "${ECHO_T}yes" >&6
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8732 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8734 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8735 if test "${enable_fontdlg+set}" = set; then
8736 enableval
="$enable_fontdlg"
8738 if test "$enableval" = yes; then
8739 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8741 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8746 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8747 if test "x$LINE" != x
; then
8748 eval "DEFAULT_$LINE"
8753 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8757 eval "$ac_cv_use_fontdlg"
8758 if test "$no_cache" != 1; then
8759 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8762 if test "$wxUSE_FONTDLG" = yes; then
8763 echo "$as_me:$LINENO: result: yes" >&5
8764 echo "${ECHO_T}yes" >&6
8766 echo "$as_me:$LINENO: result: no" >&5
8767 echo "${ECHO_T}no" >&6
8772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8775 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8776 if test "${enable_dirdlg+set}" = set; then
8777 enableval
="$enable_dirdlg"
8779 if test "$enableval" = yes; then
8780 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8782 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8787 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8788 if test "x$LINE" != x
; then
8789 eval "DEFAULT_$LINE"
8794 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8798 eval "$ac_cv_use_dirdlg"
8799 if test "$no_cache" != 1; then
8800 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8803 if test "$wxUSE_DIRDLG" = yes; then
8804 echo "$as_me:$LINENO: result: yes" >&5
8805 echo "${ECHO_T}yes" >&6
8807 echo "$as_me:$LINENO: result: no" >&5
8808 echo "${ECHO_T}no" >&6
8813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8816 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8817 if test "${enable_msgdlg+set}" = set; then
8818 enableval
="$enable_msgdlg"
8820 if test "$enableval" = yes; then
8821 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8823 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8828 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x
; then
8830 eval "DEFAULT_$LINE"
8835 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8839 eval "$ac_cv_use_msgdlg"
8840 if test "$no_cache" != 1; then
8841 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8844 if test "$wxUSE_MSGDLG" = yes; then
8845 echo "$as_me:$LINENO: result: yes" >&5
8846 echo "${ECHO_T}yes" >&6
8848 echo "$as_me:$LINENO: result: no" >&5
8849 echo "${ECHO_T}no" >&6
8854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8857 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8858 if test "${enable_numberdlg+set}" = set; then
8859 enableval
="$enable_numberdlg"
8861 if test "$enableval" = yes; then
8862 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8864 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8869 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8870 if test "x$LINE" != x
; then
8871 eval "DEFAULT_$LINE"
8876 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8880 eval "$ac_cv_use_numberdlg"
8881 if test "$no_cache" != 1; then
8882 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8885 if test "$wxUSE_NUMBERDLG" = yes; then
8886 echo "$as_me:$LINENO: result: yes" >&5
8887 echo "${ECHO_T}yes" >&6
8889 echo "$as_me:$LINENO: result: no" >&5
8890 echo "${ECHO_T}no" >&6
8895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8896 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8898 # Check whether --enable-splash or --disable-splash was given.
8899 if test "${enable_splash+set}" = set; then
8900 enableval
="$enable_splash"
8902 if test "$enableval" = yes; then
8903 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8905 ac_cv_use_splash
='wxUSE_SPLASH=no'
8910 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8911 if test "x$LINE" != x
; then
8912 eval "DEFAULT_$LINE"
8917 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8921 eval "$ac_cv_use_splash"
8922 if test "$no_cache" != 1; then
8923 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8926 if test "$wxUSE_SPLASH" = yes; then
8927 echo "$as_me:$LINENO: result: yes" >&5
8928 echo "${ECHO_T}yes" >&6
8930 echo "$as_me:$LINENO: result: no" >&5
8931 echo "${ECHO_T}no" >&6
8936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8939 # Check whether --enable-textdlg or --disable-textdlg was given.
8940 if test "${enable_textdlg+set}" = set; then
8941 enableval
="$enable_textdlg"
8943 if test "$enableval" = yes; then
8944 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8946 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8951 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8952 if test "x$LINE" != x
; then
8953 eval "DEFAULT_$LINE"
8958 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8962 eval "$ac_cv_use_textdlg"
8963 if test "$no_cache" != 1; then
8964 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8967 if test "$wxUSE_TEXTDLG" = yes; then
8968 echo "$as_me:$LINENO: result: yes" >&5
8969 echo "${ECHO_T}yes" >&6
8971 echo "$as_me:$LINENO: result: no" >&5
8972 echo "${ECHO_T}no" >&6
8977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8980 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8981 if test "${enable_tipdlg+set}" = set; then
8982 enableval
="$enable_tipdlg"
8984 if test "$enableval" = yes; then
8985 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8987 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8992 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8993 if test "x$LINE" != x
; then
8994 eval "DEFAULT_$LINE"
8999 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9003 eval "$ac_cv_use_tipdlg"
9004 if test "$no_cache" != 1; then
9005 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9008 if test "$wxUSE_STARTUP_TIPS" = yes; then
9009 echo "$as_me:$LINENO: result: yes" >&5
9010 echo "${ECHO_T}yes" >&6
9012 echo "$as_me:$LINENO: result: no" >&5
9013 echo "${ECHO_T}no" >&6
9018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9019 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9021 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9022 if test "${enable_progressdlg+set}" = set; then
9023 enableval
="$enable_progressdlg"
9025 if test "$enableval" = yes; then
9026 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9028 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9033 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9034 if test "x$LINE" != x
; then
9035 eval "DEFAULT_$LINE"
9040 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9044 eval "$ac_cv_use_progressdlg"
9045 if test "$no_cache" != 1; then
9046 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9049 if test "$wxUSE_PROGRESSDLG" = yes; then
9050 echo "$as_me:$LINENO: result: yes" >&5
9051 echo "${ECHO_T}yes" >&6
9053 echo "$as_me:$LINENO: result: no" >&5
9054 echo "${ECHO_T}no" >&6
9059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9062 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9063 if test "${enable_wizarddlg+set}" = set; then
9064 enableval
="$enable_wizarddlg"
9066 if test "$enableval" = yes; then
9067 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9069 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9074 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9075 if test "x$LINE" != x
; then
9076 eval "DEFAULT_$LINE"
9081 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9085 eval "$ac_cv_use_wizarddlg"
9086 if test "$no_cache" != 1; then
9087 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9090 if test "$wxUSE_WIZARDDLG" = yes; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092 echo "${ECHO_T}yes" >&6
9094 echo "$as_me:$LINENO: result: no" >&5
9095 echo "${ECHO_T}no" >&6
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9105 # Check whether --enable-menus or --disable-menus was given.
9106 if test "${enable_menus+set}" = set; then
9107 enableval
="$enable_menus"
9109 if test "$enableval" = yes; then
9110 ac_cv_use_menus
='wxUSE_MENUS=yes'
9112 ac_cv_use_menus
='wxUSE_MENUS=no'
9117 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x
; then
9119 eval "DEFAULT_$LINE"
9124 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9128 eval "$ac_cv_use_menus"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9133 if test "$wxUSE_MENUS" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9146 # Check whether --enable-miniframe or --disable-miniframe was given.
9147 if test "${enable_miniframe+set}" = set; then
9148 enableval
="$enable_miniframe"
9150 if test "$enableval" = yes; then
9151 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9153 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9158 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x
; then
9160 eval "DEFAULT_$LINE"
9165 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9169 eval "$ac_cv_use_miniframe"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9174 if test "$wxUSE_MINIFRAME" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6
9178 echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9187 # Check whether --enable-tooltips or --disable-tooltips was given.
9188 if test "${enable_tooltips+set}" = set; then
9189 enableval
="$enable_tooltips"
9191 if test "$enableval" = yes; then
9192 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9194 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9199 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x
; then
9201 eval "DEFAULT_$LINE"
9206 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9210 eval "$ac_cv_use_tooltips"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9215 if test "$wxUSE_TOOLTIPS" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6
9219 echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9228 # Check whether --enable-splines or --disable-splines was given.
9229 if test "${enable_splines+set}" = set; then
9230 enableval
="$enable_splines"
9232 if test "$enableval" = yes; then
9233 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9235 ac_cv_use_splines
='wxUSE_SPLINES=no'
9240 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x
; then
9242 eval "DEFAULT_$LINE"
9247 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9251 eval "$ac_cv_use_splines"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9256 if test "$wxUSE_SPLINES" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9260 echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9269 # Check whether --enable-validators or --disable-validators was given.
9270 if test "${enable_validators+set}" = set; then
9271 enableval
="$enable_validators"
9273 if test "$enableval" = yes; then
9274 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9276 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9281 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x
; then
9283 eval "DEFAULT_$LINE"
9288 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9292 eval "$ac_cv_use_validators"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9297 if test "$wxUSE_VALIDATORS" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6
9301 echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6
9307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9310 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9311 if test "${enable_busyinfo+set}" = set; then
9312 enableval
="$enable_busyinfo"
9314 if test "$enableval" = yes; then
9315 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9317 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9322 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9323 if test "x$LINE" != x
; then
9324 eval "DEFAULT_$LINE"
9329 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9333 eval "$ac_cv_use_busyinfo"
9334 if test "$no_cache" != 1; then
9335 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9338 if test "$wxUSE_BUSYINFO" = yes; then
9339 echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6
9342 echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6
9348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9349 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9351 # Check whether --enable-joystick or --disable-joystick was given.
9352 if test "${enable_joystick+set}" = set; then
9353 enableval
="$enable_joystick"
9355 if test "$enableval" = yes; then
9356 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9358 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9363 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9364 if test "x$LINE" != x
; then
9365 eval "DEFAULT_$LINE"
9370 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9374 eval "$ac_cv_use_joystick"
9375 if test "$no_cache" != 1; then
9376 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9379 if test "$wxUSE_JOYSTICK" = yes; then
9380 echo "$as_me:$LINENO: result: yes" >&5
9381 echo "${ECHO_T}yes" >&6
9383 echo "$as_me:$LINENO: result: no" >&5
9384 echo "${ECHO_T}no" >&6
9389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9390 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9392 # Check whether --enable-metafile or --disable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval
="$enable_metafile"
9396 if test "$enableval" = yes; then
9397 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9399 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9404 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9405 if test "x$LINE" != x
; then
9406 eval "DEFAULT_$LINE"
9411 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9415 eval "$ac_cv_use_metafile"
9416 if test "$no_cache" != 1; then
9417 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9420 if test "$wxUSE_METAFILE" = yes; then
9421 echo "$as_me:$LINENO: result: yes" >&5
9422 echo "${ECHO_T}yes" >&6
9424 echo "$as_me:$LINENO: result: no" >&5
9425 echo "${ECHO_T}no" >&6
9430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9433 # Check whether --enable-dragimage or --disable-dragimage was given.
9434 if test "${enable_dragimage+set}" = set; then
9435 enableval
="$enable_dragimage"
9437 if test "$enableval" = yes; then
9438 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9440 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9445 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9446 if test "x$LINE" != x
; then
9447 eval "DEFAULT_$LINE"
9452 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9456 eval "$ac_cv_use_dragimage"
9457 if test "$no_cache" != 1; then
9458 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9461 if test "$wxUSE_DRAGIMAGE" = yes; then
9462 echo "$as_me:$LINENO: result: yes" >&5
9463 echo "${ECHO_T}yes" >&6
9465 echo "$as_me:$LINENO: result: no" >&5
9466 echo "${ECHO_T}no" >&6
9471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9474 # Check whether --enable-accessibility or --disable-accessibility was given.
9475 if test "${enable_accessibility+set}" = set; then
9476 enableval
="$enable_accessibility"
9478 if test "$enableval" = yes; then
9479 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9481 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9486 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9487 if test "x$LINE" != x
; then
9488 eval "DEFAULT_$LINE"
9493 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9497 eval "$ac_cv_use_accessibility"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9502 if test "$wxUSE_ACCESSIBILITY" = yes; then
9503 echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6
9506 echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9517 # Check whether --enable-palette or --disable-palette was given.
9518 if test "${enable_palette+set}" = set; then
9519 enableval
="$enable_palette"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9524 ac_cv_use_palette
='wxUSE_PALETTE=no'
9529 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9540 eval "$ac_cv_use_palette"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_PALETTE" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9558 # Check whether --enable-image or --disable-image was given.
9559 if test "${enable_image+set}" = set; then
9560 enableval
="$enable_image"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_image
='wxUSE_IMAGE=yes'
9565 ac_cv_use_image
='wxUSE_IMAGE=no'
9570 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9581 eval "$ac_cv_use_image"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_IMAGE" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9599 # Check whether --enable-gif or --disable-gif was given.
9600 if test "${enable_gif+set}" = set; then
9601 enableval
="$enable_gif"
9603 if test "$enableval" = yes; then
9604 ac_cv_use_gif
='wxUSE_GIF=yes'
9606 ac_cv_use_gif
='wxUSE_GIF=no'
9611 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x
; then
9613 eval "DEFAULT_$LINE"
9618 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9622 eval "$ac_cv_use_gif"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9627 if test "$wxUSE_GIF" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9640 # Check whether --enable-pcx or --disable-pcx was given.
9641 if test "${enable_pcx+set}" = set; then
9642 enableval
="$enable_pcx"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_pcx
='wxUSE_PCX=yes'
9647 ac_cv_use_pcx
='wxUSE_PCX=no'
9652 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x
; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9663 eval "$ac_cv_use_pcx"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_PCX" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9681 # Check whether --enable-iff or --disable-iff was given.
9682 if test "${enable_iff+set}" = set; then
9683 enableval
="$enable_iff"
9685 if test "$enableval" = yes; then
9686 ac_cv_use_iff
='wxUSE_IFF=yes'
9688 ac_cv_use_iff
='wxUSE_IFF=no'
9693 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x
; then
9695 eval "DEFAULT_$LINE"
9700 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9704 eval "$ac_cv_use_iff"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9709 if test "$wxUSE_IFF" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9722 # Check whether --enable-pnm or --disable-pnm was given.
9723 if test "${enable_pnm+set}" = set; then
9724 enableval
="$enable_pnm"
9726 if test "$enableval" = yes; then
9727 ac_cv_use_pnm
='wxUSE_PNM=yes'
9729 ac_cv_use_pnm
='wxUSE_PNM=no'
9734 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x
; then
9736 eval "DEFAULT_$LINE"
9741 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9745 eval "$ac_cv_use_pnm"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9750 if test "$wxUSE_PNM" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9763 # Check whether --enable-xpm or --disable-xpm was given.
9764 if test "${enable_xpm+set}" = set; then
9765 enableval
="$enable_xpm"
9767 if test "$enableval" = yes; then
9768 ac_cv_use_xpm
='wxUSE_XPM=yes'
9770 ac_cv_use_xpm
='wxUSE_XPM=no'
9775 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x
; then
9777 eval "DEFAULT_$LINE"
9782 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9786 eval "$ac_cv_use_xpm"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9791 if test "$wxUSE_XPM" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9804 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9805 if test "${enable_ico_cur+set}" = set; then
9806 enableval
="$enable_ico_cur"
9808 if test "$enableval" = yes; then
9809 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9811 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9816 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x
; then
9818 eval "DEFAULT_$LINE"
9823 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9827 eval "$ac_cv_use_ico_cur"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9832 if test "$wxUSE_ICO_CUR" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9849 # Check whether --enable-official_build or --disable-official_build was given.
9850 if test "${enable_official_build+set}" = set; then
9851 enableval
="$enable_official_build"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9856 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9861 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x
; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9872 eval "$ac_cv_use_official_build"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9885 # Check whether --enable-vendor or --disable-vendor was given.
9886 if test "${enable_vendor+set}" = set; then
9887 enableval
="$enable_vendor"
9890 if test "x$VENDOR" = "x"; then
9895 *-pc-os2_emx | *-pc-os2-emx )
9905 echo "saving argument cache $wx_arg_cache_file"
9906 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9910 echo "$as_me:$LINENO: checking for toolkit" >&5
9911 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9913 # In Wine, we need to default to MSW, not GTK or MOTIF
9914 if test "$wxUSE_WINE" = "yes"; then
9915 DEFAULT_DEFAULT_wxUSE_GTK
=0
9916 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9917 DEFAULT_DEFAULT_wxUSE_MSW
=1
9921 if test "$wxUSE_GUI" = "yes"; then
9923 if test "$USE_BEOS" = 1; then
9924 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9925 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9926 { (exit 1); exit 1; }; }
9929 if test "$TOOLKIT_GIVEN" = 1; then
9930 for toolkit
in `echo $ALL_TOOLKITS`; do
9932 eval "value=\$${var}"
9933 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9936 for toolkit
in `echo $ALL_TOOLKITS`; do
9937 if test "$has_toolkit_in_cache" != 1; then
9938 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9940 var
=DEFAULT_wxUSE_
$toolkit
9942 eval "wxUSE_$toolkit=\$${var}"
9946 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9947 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9948 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9951 *-pc-os2_emx | *-pc-os2-emx )
9952 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9955 case "$NUM_TOOLKITS" in
9959 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9960 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9961 { (exit 1); exit 1; }; }
9964 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9965 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9966 { (exit 1); exit 1; }; }
9969 for toolkit
in `echo $ALL_TOOLKITS`; do
9971 eval "value=\$${var}"
9972 if test "x$value" != x
; then
9973 cache_var
=CACHE_
$toolkit
9974 eval "cache=\$${cache_var}"
9975 if test "$cache" = 1; then
9976 echo "$var=$value" >> ${wx_arg_cache_file}
9978 if test "$value" = 1; then
9979 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9980 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9981 echo "${ECHO_T}$toolkit_echo" >&6
9986 if test "x$host_alias" != "x"; then
9987 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9988 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9990 echo "$as_me:$LINENO: result: base only" >&5
9991 echo "${ECHO_T}base only" >&6
9999 if test "$wxUSE_MSW" = 1 ; then
10002 doesnt_want_win32
=1
10010 if test "$wxUSE_WINE" = "yes"; then
10015 LDFLAGS_GUI
="-mwindows"
10018 if test "$wants_win32" = 1 ; then
10021 cat >>confdefs.h
<<\_ACEOF
10022 #define __WIN32__ 1
10025 cat >>confdefs.h
<<\_ACEOF
10026 #define __WIN95__ 1
10029 cat >>confdefs.h
<<\_ACEOF
10030 #define __WINDOWS__ 1
10033 cat >>confdefs.h
<<\_ACEOF
10034 #define __GNUWIN32__ 1
10037 cat >>confdefs.h
<<\_ACEOF
10041 cat >>confdefs.h
<<\_ACEOF
10042 #define WINVER 0x0400
10046 if test "$doesnt_want_win32" = 1 ; then
10051 if test "$USE_UNIX" = 1 ; then
10053 cat >>confdefs.h
<<\_ACEOF
10060 cat >confcache
<<\_ACEOF
10061 # This file is a shell script that caches the results of configure
10062 # tests run on this system so they can be shared between configure
10063 # scripts and configure runs, see configure's option --config-cache.
10064 # It is not useful on other systems. If it contains results you don't
10065 # want to keep, you may remove or edit it.
10067 # config.status only pays attention to the cache file if you give it
10068 # the --recheck option to rerun configure.
10070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10072 # following values.
10076 # The following way of writing the cache mishandles newlines in values,
10077 # but we know of no workaround that is simple, portable, and efficient.
10078 # So, don't put newlines in cache variables' values.
10079 # Ultrix sh set writes to stderr and can't be redirected directly,
10080 # and sets the high bit in the cache file unless we assign to the vars.
10083 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10085 # `set' does not quote correctly, so add quotes (double-quote
10086 # substitution turns \\\\ into \\, and sed turns \\ into \).
10089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10092 # `set' quotes correctly as required by POSIX, so do not add quotes.
10094 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10103 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10105 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10106 if test -w $cache_file; then
10107 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10108 cat confcache
>$cache_file
10110 echo "not updating unwritable cache $cache_file"
10115 if test "$build" != "$host" ; then
10116 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10118 CXX
=$host_alias-c++
10120 RANLIB
=$host_alias-ranlib
10121 DLLTOOL
=$host_alias-dlltool
10122 RESCOMP
=$host_alias-windres
10125 STRIP
=$host_alias-strip
10127 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10128 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10129 { (exit 1); exit 1; }; }
10135 ac_cpp
='$CPP $CPPFLAGS'
10136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10139 if test -n "$ac_tool_prefix"; then
10140 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10141 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10142 echo "$as_me:$LINENO: checking for $ac_word" >&5
10143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10144 if test "${ac_cv_prog_CC+set}" = set; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10147 if test -n "$CC"; then
10148 ac_cv_prog_CC
="$CC" # Let the user override the test.
10150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10151 for as_dir
in $PATH
10154 test -z "$as_dir" && as_dir
=.
10155 for ac_exec_ext
in '' $ac_executable_extensions; do
10156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10157 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10167 if test -n "$CC"; then
10168 echo "$as_me:$LINENO: result: $CC" >&5
10169 echo "${ECHO_T}$CC" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10176 if test -z "$ac_cv_prog_CC"; then
10178 # Extract the first word of "gcc", so it can be a program name with args.
10179 set dummy gcc
; ac_word
=$2
10180 echo "$as_me:$LINENO: checking for $ac_word" >&5
10181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10182 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10183 echo $ECHO_N "(cached) $ECHO_C" >&6
10185 if test -n "$ac_ct_CC"; then
10186 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10189 for as_dir
in $PATH
10192 test -z "$as_dir" && as_dir
=.
10193 for ac_exec_ext
in '' $ac_executable_extensions; do
10194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10195 ac_cv_prog_ac_ct_CC
="gcc"
10196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10205 if test -n "$ac_ct_CC"; then
10206 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10207 echo "${ECHO_T}$ac_ct_CC" >&6
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10215 CC
="$ac_cv_prog_CC"
10218 if test -z "$CC"; then
10219 if test -n "$ac_tool_prefix"; then
10220 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10221 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10222 echo "$as_me:$LINENO: checking for $ac_word" >&5
10223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10224 if test "${ac_cv_prog_CC+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 if test -n "$CC"; then
10228 ac_cv_prog_CC
="$CC" # Let the user override the test.
10230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10231 for as_dir
in $PATH
10234 test -z "$as_dir" && as_dir
=.
10235 for ac_exec_ext
in '' $ac_executable_extensions; do
10236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10247 if test -n "$CC"; then
10248 echo "$as_me:$LINENO: result: $CC" >&5
10249 echo "${ECHO_T}$CC" >&6
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10256 if test -z "$ac_cv_prog_CC"; then
10258 # Extract the first word of "cc", so it can be a program name with args.
10259 set dummy cc
; ac_word
=$2
10260 echo "$as_me:$LINENO: checking for $ac_word" >&5
10261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 if test -n "$ac_ct_CC"; then
10266 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10269 for as_dir
in $PATH
10272 test -z "$as_dir" && as_dir
=.
10273 for ac_exec_ext
in '' $ac_executable_extensions; do
10274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10275 ac_cv_prog_ac_ct_CC
="cc"
10276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10284 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10285 if test -n "$ac_ct_CC"; then
10286 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10287 echo "${ECHO_T}$ac_ct_CC" >&6
10289 echo "$as_me:$LINENO: result: no" >&5
10290 echo "${ECHO_T}no" >&6
10295 CC
="$ac_cv_prog_CC"
10299 if test -z "$CC"; then
10300 # Extract the first word of "cc", so it can be a program name with args.
10301 set dummy cc
; ac_word
=$2
10302 echo "$as_me:$LINENO: checking for $ac_word" >&5
10303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10304 if test "${ac_cv_prog_CC+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 if test -n "$CC"; then
10308 ac_cv_prog_CC
="$CC" # Let the user override the test.
10310 ac_prog_rejected
=no
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10319 ac_prog_rejected
=yes
10323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10329 if test $ac_prog_rejected = yes; then
10330 # We found a bogon in the path, so make sure we never use it.
10331 set dummy
$ac_cv_prog_CC
10333 if test $# != 0; then
10334 # We chose a different compiler from the bogus one.
10335 # However, it has the same basename, so the bogon will be chosen
10336 # first if we set CC to just the basename; use the full file name.
10338 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10344 if test -n "$CC"; then
10345 echo "$as_me:$LINENO: result: $CC" >&5
10346 echo "${ECHO_T}$CC" >&6
10348 echo "$as_me:$LINENO: result: no" >&5
10349 echo "${ECHO_T}no" >&6
10353 if test -z "$CC"; then
10354 if test -n "$ac_tool_prefix"; then
10357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10358 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10359 echo "$as_me:$LINENO: checking for $ac_word" >&5
10360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10361 if test "${ac_cv_prog_CC+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 if test -n "$CC"; then
10365 ac_cv_prog_CC
="$CC" # Let the user override the test.
10367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10368 for as_dir
in $PATH
10371 test -z "$as_dir" && as_dir
=.
10372 for ac_exec_ext
in '' $ac_executable_extensions; do
10373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10374 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10384 if test -n "$CC"; then
10385 echo "$as_me:$LINENO: result: $CC" >&5
10386 echo "${ECHO_T}$CC" >&6
10388 echo "$as_me:$LINENO: result: no" >&5
10389 echo "${ECHO_T}no" >&6
10392 test -n "$CC" && break
10395 if test -z "$CC"; then
10399 # Extract the first word of "$ac_prog", so it can be a program name with args.
10400 set dummy
$ac_prog; ac_word
=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 if test -n "$ac_ct_CC"; then
10407 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10410 for as_dir
in $PATH
10413 test -z "$as_dir" && as_dir
=.
10414 for ac_exec_ext
in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_ac_ct_CC
="$ac_prog"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10425 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10426 if test -n "$ac_ct_CC"; then
10427 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10428 echo "${ECHO_T}$ac_ct_CC" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10434 test -n "$ac_ct_CC" && break
10443 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10444 See \`config.log' for more details." >&5
10445 echo "$as_me: error: no acceptable C compiler found in \$PATH
10446 See \`config.log' for more details." >&2;}
10447 { (exit 1); exit 1; }; }
10449 # Provide some information about the compiler.
10450 echo "$as_me:$LINENO:" \
10451 "checking for C compiler version" >&5
10452 ac_compiler
=`set X $ac_compile; echo $2`
10453 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10454 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }
10458 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10459 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }
10463 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10464 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }
10469 cat >conftest.
$ac_ext <<_ACEOF
10472 cat confdefs.h
>>conftest.
$ac_ext
10473 cat >>conftest.
$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10484 ac_clean_files_save
=$ac_clean_files
10485 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10486 # Try to create an executable without -o first, disregard a.out.
10487 # It will help us diagnose broken compilers, and finding out an intuition
10489 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10490 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10491 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10492 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10493 (eval $ac_link_default) 2>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; then
10497 # Find the output, starting from the most likely. This scheme is
10498 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10501 # Be careful to initialize this variable, since it used to be cached.
10502 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10504 # b.out is created by i960 compilers.
10505 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10507 test -f "$ac_file" || continue
10509 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10512 # This is the source file.
10515 # We found the default executable, but exeext='' is most
10519 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10520 # FIXME: I believe we export ac_cv_exeext for Libtool,
10521 # but it would be cool to find out if it's true. Does anybody
10522 # maintain Libtool? --akim.
10523 export ac_cv_exeext
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.
$ac_ext >&5
10533 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10534 See \`config.log' for more details." >&5
10535 echo "$as_me: error: C compiler cannot create executables
10536 See \`config.log' for more details." >&2;}
10537 { (exit 77); exit 77; }; }
10540 ac_exeext
=$ac_cv_exeext
10541 echo "$as_me:$LINENO: result: $ac_file" >&5
10542 echo "${ECHO_T}$ac_file" >&6
10544 # Check the compiler produces executables we can run. If not, either
10545 # the compiler is broken, or we cross compile.
10546 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10547 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10548 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10549 # If not cross compiling, check that we can run a simple program.
10550 if test "$cross_compiling" != yes; then
10551 if { ac_try
='./$ac_file'
10552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); }; }; then
10559 if test "$cross_compiling" = maybe
; then
10560 cross_compiling
=yes
10562 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10563 If you meant to cross compile, use \`--host'.
10564 See \`config.log' for more details." >&5
10565 echo "$as_me: error: cannot run C compiled programs.
10566 If you meant to cross compile, use \`--host'.
10567 See \`config.log' for more details." >&2;}
10568 { (exit 1); exit 1; }; }
10572 echo "$as_me:$LINENO: result: yes" >&5
10573 echo "${ECHO_T}yes" >&6
10575 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10576 ac_clean_files
=$ac_clean_files_save
10577 # Check the compiler produces executables we can run. If not, either
10578 # the compiler is broken, or we cross compile.
10579 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10580 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10581 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10582 echo "${ECHO_T}$cross_compiling" >&6
10584 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10585 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); }; then
10591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10593 # work properly (i.e., refer to `conftest.exe'), while it won't with
10595 for ac_file
in conftest.exe conftest conftest.
*; do
10596 test -f "$ac_file" || continue
10598 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10599 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10600 export ac_cv_exeext
10606 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10607 See \`config.log' for more details." >&5
10608 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10609 See \`config.log' for more details." >&2;}
10610 { (exit 1); exit 1; }; }
10613 rm -f conftest
$ac_cv_exeext
10614 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10615 echo "${ECHO_T}$ac_cv_exeext" >&6
10617 rm -f conftest.
$ac_ext
10618 EXEEXT
=$ac_cv_exeext
10620 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10621 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10622 if test "${ac_cv_objext+set}" = set; then
10623 echo $ECHO_N "(cached) $ECHO_C" >&6
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10640 rm -f conftest.o conftest.obj
10641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10642 (eval $ac_compile) 2>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }; then
10646 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10648 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10649 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10654 echo "$as_me: failed program was:" >&5
10655 sed 's/^/| /' conftest.
$ac_ext >&5
10657 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10658 See \`config.log' for more details." >&5
10659 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10660 See \`config.log' for more details." >&2;}
10661 { (exit 1); exit 1; }; }
10664 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10666 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10667 echo "${ECHO_T}$ac_cv_objext" >&6
10668 OBJEXT
=$ac_cv_objext
10670 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10671 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10672 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 cat >conftest.
$ac_ext <<_ACEOF
10678 cat confdefs.h
>>conftest.
$ac_ext
10679 cat >>conftest.
$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10693 rm -f conftest.
$ac_objext
10694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10695 (eval $ac_compile) 2>conftest.er1
10697 grep -v '^ *+' conftest.er1
>conftest.err
10699 cat conftest.err
>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try
='test -z "$ac_c_werror_flag"
10703 || test ! -s conftest.err'
10704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; } &&
10709 { ac_try
='test -s conftest.$ac_objext'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; }; then
10715 ac_compiler_gnu
=yes
10717 echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.
$ac_ext >&5
10722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10723 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10726 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10727 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10728 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10729 ac_test_CFLAGS
=${CFLAGS+set}
10730 ac_save_CFLAGS
=$CFLAGS
10732 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10733 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10734 if test "${ac_cv_prog_cc_g+set}" = set; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
10737 cat >conftest.
$ac_ext <<_ACEOF
10740 cat confdefs.h
>>conftest.
$ac_ext
10741 cat >>conftest.
$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10752 rm -f conftest.
$ac_objext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10754 (eval $ac_compile) 2>conftest.er1
10756 grep -v '^ *+' conftest.er1
>conftest.err
10758 cat conftest.err
>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } &&
10761 { ac_try
='test -z "$ac_c_werror_flag"
10762 || test ! -s conftest.err'
10763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10764 (eval $ac_try) 2>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); }; } &&
10768 { ac_try
='test -s conftest.$ac_objext'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; }; then
10774 ac_cv_prog_cc_g
=yes
10776 echo "$as_me: failed program was:" >&5
10777 sed 's/^/| /' conftest.
$ac_ext >&5
10781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10783 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10784 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10785 if test "$ac_test_CFLAGS" = set; then
10786 CFLAGS
=$ac_save_CFLAGS
10787 elif test $ac_cv_prog_cc_g = yes; then
10788 if test "$GCC" = yes; then
10794 if test "$GCC" = yes; then
10800 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10801 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10802 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10803 echo $ECHO_N "(cached) $ECHO_C" >&6
10805 ac_cv_prog_cc_stdc
=no
10807 cat >conftest.
$ac_ext <<_ACEOF
10810 cat confdefs.h
>>conftest.
$ac_ext
10811 cat >>conftest.
$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10813 #include <stdarg.h>
10815 #include <sys/types.h>
10816 #include <sys/stat.h>
10817 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10818 struct buf { int x; };
10819 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10820 static char *e (p, i)
10826 static char *f (char * (*g) (char **, int), char **p, ...)
10831 s = g (p, va_arg (v,int));
10836 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10837 function prototypes and stuff, but not '\xHH' hex character constants.
10838 These don't provoke an error unfortunately, instead are silently treated
10839 as 'x'. The following induces an error, until -std1 is added to get
10840 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10841 array size at least. It's necessary to write '\x00'==0 to get something
10842 that's true only with -std1. */
10843 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10845 int test (int i, double x);
10846 struct s1 {int (*f) (int a);};
10847 struct s2 {int (*f) (double a);};
10848 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10854 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10859 # Don't try gcc -ansi; that turns off useful extensions and
10860 # breaks some systems' header files.
10861 # AIX -qlanglvl=ansi
10862 # Ultrix and OSF/1 -std1
10863 # HP-UX 10.20 and later -Ae
10864 # HP-UX older versions -Aa -D_HPUX_SOURCE
10865 # SVR4 -Xc -D__EXTENSIONS__
10866 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10868 CC
="$ac_save_CC $ac_arg"
10869 rm -f conftest.
$ac_objext
10870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10871 (eval $ac_compile) 2>conftest.er1
10873 grep -v '^ *+' conftest.er1
>conftest.err
10875 cat conftest.err
>&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); } &&
10878 { ac_try
='test -z "$ac_c_werror_flag"
10879 || test ! -s conftest.err'
10880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10881 (eval $ac_try) 2>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); }; } &&
10885 { ac_try
='test -s conftest.$ac_objext'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; }; then
10891 ac_cv_prog_cc_stdc
=$ac_arg
10894 echo "$as_me: failed program was:" >&5
10895 sed 's/^/| /' conftest.
$ac_ext >&5
10898 rm -f conftest.err conftest.
$ac_objext
10900 rm -f conftest.
$ac_ext conftest.
$ac_objext
10905 case "x$ac_cv_prog_cc_stdc" in
10907 echo "$as_me:$LINENO: result: none needed" >&5
10908 echo "${ECHO_T}none needed" >&6 ;;
10910 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10911 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10912 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10915 # Some people use a C++ compiler to compile C. Since we use `exit',
10916 # in C++ we need to declare it. In case someone uses the same compiler
10917 # for both compiling C and C++ we need to have the C++ compiler decide
10918 # the declaration of exit, since it's the most demanding environment.
10919 cat >conftest.
$ac_ext <<_ACEOF
10920 #ifndef __cplusplus
10924 rm -f conftest.
$ac_objext
10925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10926 (eval $ac_compile) 2>conftest.er1
10928 grep -v '^ *+' conftest.er1
>conftest.err
10930 cat conftest.err
>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } &&
10933 { ac_try
='test -z "$ac_c_werror_flag"
10934 || test ! -s conftest.err'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; } &&
10940 { ac_try
='test -s conftest.$ac_objext'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10946 for ac_declaration
in \
10948 'extern "C" void std::exit (int) throw (); using std::exit;' \
10949 'extern "C" void std::exit (int); using std::exit;' \
10950 'extern "C" void exit (int) throw ();' \
10951 'extern "C" void exit (int);' \
10954 cat >conftest.
$ac_ext <<_ACEOF
10957 cat confdefs.h
>>conftest.
$ac_ext
10958 cat >>conftest.
$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10961 #include <stdlib.h>
10970 rm -f conftest.
$ac_objext
10971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10972 (eval $ac_compile) 2>conftest.er1
10974 grep -v '^ *+' conftest.er1
>conftest.err
10976 cat conftest.err
>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } &&
10979 { ac_try
='test -z "$ac_c_werror_flag"
10980 || test ! -s conftest.err'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; } &&
10986 { ac_try
='test -s conftest.$ac_objext'
10987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10988 (eval $ac_try) 2>&5
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }; }; then
10994 echo "$as_me: failed program was:" >&5
10995 sed 's/^/| /' conftest.
$ac_ext >&5
10999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11000 cat >conftest.
$ac_ext <<_ACEOF
11003 cat confdefs.h
>>conftest.
$ac_ext
11004 cat >>conftest.
$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11015 rm -f conftest.
$ac_objext
11016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11017 (eval $ac_compile) 2>conftest.er1
11019 grep -v '^ *+' conftest.er1
>conftest.err
11021 cat conftest.err
>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } &&
11024 { ac_try
='test -z "$ac_c_werror_flag"
11025 || test ! -s conftest.err'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; } &&
11031 { ac_try
='test -s conftest.$ac_objext'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11039 echo "$as_me: failed program was:" >&5
11040 sed 's/^/| /' conftest.
$ac_ext >&5
11043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11046 if test -n "$ac_declaration"; then
11047 echo '#ifdef __cplusplus' >>confdefs.h
11048 echo $ac_declaration >>confdefs.h
11049 echo '#endif' >>confdefs.h
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.
$ac_ext >&5
11057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11059 ac_cpp
='$CPP $CPPFLAGS'
11060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11067 ac_cpp
='$CPP $CPPFLAGS'
11068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11071 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11072 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11073 # On Suns, sometimes $CPP names a directory.
11074 if test -n "$CPP" && test -d "$CPP"; then
11077 if test -z "$CPP"; then
11078 if test "${ac_cv_prog_CPP+set}" = set; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11081 # Double quotes because CPP needs to be expanded
11082 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11084 ac_preproc_ok
=false
11085 for ac_c_preproc_warn_flag
in '' yes
11087 # Use a header file that comes with gcc, so configuring glibc
11088 # with a fresh cross-compiler works.
11089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11090 # <limits.h> exists even on freestanding compilers.
11091 # On the NeXT, cc -E runs the code through the compiler's parser,
11092 # not just through cpp. "Syntax error" is here to catch this case.
11093 cat >conftest.
$ac_ext <<_ACEOF
11096 cat confdefs.h
>>conftest.
$ac_ext
11097 cat >>conftest.
$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11100 # include <limits.h>
11102 # include <assert.h>
11106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11109 grep -v '^ *+' conftest.er1
>conftest.err
11111 cat conftest.err
>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } >/dev
/null
; then
11114 if test -s conftest.err
; then
11115 ac_cpp_err
=$ac_c_preproc_warn_flag
11116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11123 if test -z "$ac_cpp_err"; then
11126 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.
$ac_ext >&5
11129 # Broken: fails on valid input.
11132 rm -f conftest.err conftest.
$ac_ext
11134 # OK, works on sane cases. Now check whether non-existent headers
11135 # can be detected and how.
11136 cat >conftest.
$ac_ext <<_ACEOF
11139 cat confdefs.h
>>conftest.
$ac_ext
11140 cat >>conftest.
$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #include <ac_nonexistent.h>
11144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11147 grep -v '^ *+' conftest.er1
>conftest.err
11149 cat conftest.err
>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } >/dev
/null
; then
11152 if test -s conftest.err
; then
11153 ac_cpp_err
=$ac_c_preproc_warn_flag
11154 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11161 if test -z "$ac_cpp_err"; then
11162 # Broken: success on invalid input.
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.
$ac_ext >&5
11168 # Passes both tests.
11172 rm -f conftest.err conftest.
$ac_ext
11175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11176 rm -f conftest.err conftest.
$ac_ext
11177 if $ac_preproc_ok; then
11182 ac_cv_prog_CPP
=$CPP
11185 CPP
=$ac_cv_prog_CPP
11187 ac_cv_prog_CPP
=$CPP
11189 echo "$as_me:$LINENO: result: $CPP" >&5
11190 echo "${ECHO_T}$CPP" >&6
11191 ac_preproc_ok
=false
11192 for ac_c_preproc_warn_flag
in '' yes
11194 # Use a header file that comes with gcc, so configuring glibc
11195 # with a fresh cross-compiler works.
11196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11197 # <limits.h> exists even on freestanding compilers.
11198 # On the NeXT, cc -E runs the code through the compiler's parser,
11199 # not just through cpp. "Syntax error" is here to catch this case.
11200 cat >conftest.
$ac_ext <<_ACEOF
11203 cat confdefs.h
>>conftest.
$ac_ext
11204 cat >>conftest.
$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11207 # include <limits.h>
11209 # include <assert.h>
11213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11216 grep -v '^ *+' conftest.er1
>conftest.err
11218 cat conftest.err
>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } >/dev
/null
; then
11221 if test -s conftest.err
; then
11222 ac_cpp_err
=$ac_c_preproc_warn_flag
11223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11230 if test -z "$ac_cpp_err"; then
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.
$ac_ext >&5
11236 # Broken: fails on valid input.
11239 rm -f conftest.err conftest.
$ac_ext
11241 # OK, works on sane cases. Now check whether non-existent headers
11242 # can be detected and how.
11243 cat >conftest.
$ac_ext <<_ACEOF
11246 cat confdefs.h
>>conftest.
$ac_ext
11247 cat >>conftest.
$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 #include <ac_nonexistent.h>
11251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11254 grep -v '^ *+' conftest.er1
>conftest.err
11256 cat conftest.err
>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } >/dev
/null
; then
11259 if test -s conftest.err
; then
11260 ac_cpp_err
=$ac_c_preproc_warn_flag
11261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11268 if test -z "$ac_cpp_err"; then
11269 # Broken: success on invalid input.
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.
$ac_ext >&5
11275 # Passes both tests.
11279 rm -f conftest.err conftest.
$ac_ext
11282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11283 rm -f conftest.err conftest.
$ac_ext
11284 if $ac_preproc_ok; then
11287 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11288 See \`config.log' for more details." >&5
11289 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11290 See \`config.log' for more details." >&2;}
11291 { (exit 1); exit 1; }; }
11295 ac_cpp
='$CPP $CPPFLAGS'
11296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11301 echo "$as_me:$LINENO: checking for egrep" >&5
11302 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11303 if test "${ac_cv_prog_egrep+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11307 then ac_cv_prog_egrep
='grep -E'
11308 else ac_cv_prog_egrep
='egrep'
11311 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11312 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11313 EGREP
=$ac_cv_prog_egrep
11316 if test $ac_cv_c_compiler_gnu = yes; then
11317 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11318 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11319 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 ac_pattern
="Autoconf.*'x'"
11323 cat >conftest.
$ac_ext <<_ACEOF
11326 cat confdefs.h
>>conftest.
$ac_ext
11327 cat >>conftest.
$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11333 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11334 ac_cv_prog_gcc_traditional
=yes
11336 ac_cv_prog_gcc_traditional
=no
11341 if test $ac_cv_prog_gcc_traditional = no
; then
11342 cat >conftest.
$ac_ext <<_ACEOF
11345 cat confdefs.h
>>conftest.
$ac_ext
11346 cat >>conftest.
$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <termio.h>
11351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11352 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11353 ac_cv_prog_gcc_traditional
=yes
11359 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11360 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11361 if test $ac_cv_prog_gcc_traditional = yes; then
11362 CC
="$CC -traditional"
11370 ac_cpp
='$CXXCPP $CPPFLAGS'
11371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11376 CXXFLAGS
=${CXXFLAGS:=}
11378 ac_cpp
='$CXXCPP $CPPFLAGS'
11379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11382 if test -n "$ac_tool_prefix"; then
11383 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11386 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11387 echo "$as_me:$LINENO: checking for $ac_word" >&5
11388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11389 if test "${ac_cv_prog_CXX+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 if test -n "$CXX"; then
11393 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11396 for as_dir
in $PATH
11399 test -z "$as_dir" && as_dir
=.
11400 for ac_exec_ext
in '' $ac_executable_extensions; do
11401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11402 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11411 CXX
=$ac_cv_prog_CXX
11412 if test -n "$CXX"; then
11413 echo "$as_me:$LINENO: result: $CXX" >&5
11414 echo "${ECHO_T}$CXX" >&6
11416 echo "$as_me:$LINENO: result: no" >&5
11417 echo "${ECHO_T}no" >&6
11420 test -n "$CXX" && break
11423 if test -z "$CXX"; then
11425 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11427 # Extract the first word of "$ac_prog", so it can be a program name with args.
11428 set dummy
$ac_prog; ac_word
=$2
11429 echo "$as_me:$LINENO: checking for $ac_word" >&5
11430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11431 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 if test -n "$ac_ct_CXX"; then
11435 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11438 for as_dir
in $PATH
11441 test -z "$as_dir" && as_dir
=.
11442 for ac_exec_ext
in '' $ac_executable_extensions; do
11443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11444 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11453 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11454 if test -n "$ac_ct_CXX"; then
11455 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11456 echo "${ECHO_T}$ac_ct_CXX" >&6
11458 echo "$as_me:$LINENO: result: no" >&5
11459 echo "${ECHO_T}no" >&6
11462 test -n "$ac_ct_CXX" && break
11464 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11470 # Provide some information about the compiler.
11471 echo "$as_me:$LINENO:" \
11472 "checking for C++ compiler version" >&5
11473 ac_compiler
=`set X $ac_compile; echo $2`
11474 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11475 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }
11479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11480 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }
11484 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11485 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); }
11490 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11491 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11492 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11495 cat >conftest.
$ac_ext <<_ACEOF
11498 cat confdefs.h
>>conftest.
$ac_ext
11499 cat >>conftest.
$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11513 rm -f conftest.
$ac_objext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11515 (eval $ac_compile) 2>conftest.er1
11517 grep -v '^ *+' conftest.er1
>conftest.err
11519 cat conftest.err
>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } &&
11522 { ac_try
='test -z "$ac_cxx_werror_flag"
11523 || test ! -s conftest.err'
11524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11525 (eval $ac_try) 2>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); }; } &&
11529 { ac_try
='test -s conftest.$ac_objext'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; }; then
11535 ac_compiler_gnu
=yes
11537 echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.
$ac_ext >&5
11542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11543 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11546 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11547 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11548 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11549 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11550 ac_save_CXXFLAGS
=$CXXFLAGS
11552 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11553 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11554 if test "${ac_cv_prog_cxx_g+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 cat >conftest.
$ac_ext <<_ACEOF
11560 cat confdefs.h
>>conftest.
$ac_ext
11561 cat >>conftest.
$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11572 rm -f conftest.
$ac_objext
11573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11574 (eval $ac_compile) 2>conftest.er1
11576 grep -v '^ *+' conftest.er1
>conftest.err
11578 cat conftest.err
>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } &&
11581 { ac_try
='test -z "$ac_cxx_werror_flag"
11582 || test ! -s conftest.err'
11583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11584 (eval $ac_try) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; } &&
11588 { ac_try
='test -s conftest.$ac_objext'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11594 ac_cv_prog_cxx_g
=yes
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.
$ac_ext >&5
11599 ac_cv_prog_cxx_g
=no
11601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11603 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11604 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11605 if test "$ac_test_CXXFLAGS" = set; then
11606 CXXFLAGS
=$ac_save_CXXFLAGS
11607 elif test $ac_cv_prog_cxx_g = yes; then
11608 if test "$GXX" = yes; then
11614 if test "$GXX" = yes; then
11620 for ac_declaration
in \
11622 'extern "C" void std::exit (int) throw (); using std::exit;' \
11623 'extern "C" void std::exit (int); using std::exit;' \
11624 'extern "C" void exit (int) throw ();' \
11625 'extern "C" void exit (int);' \
11628 cat >conftest.
$ac_ext <<_ACEOF
11631 cat confdefs.h
>>conftest.
$ac_ext
11632 cat >>conftest.
$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11635 #include <stdlib.h>
11644 rm -f conftest.
$ac_objext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>conftest.er1
11648 grep -v '^ *+' conftest.er1
>conftest.err
11650 cat conftest.err
>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try
='test -z "$ac_cxx_werror_flag"
11654 || test ! -s conftest.err'
11655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11656 (eval $ac_try) 2>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); }; } &&
11660 { ac_try
='test -s conftest.$ac_objext'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.
$ac_ext >&5
11673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11674 cat >conftest.
$ac_ext <<_ACEOF
11677 cat confdefs.h
>>conftest.
$ac_ext
11678 cat >>conftest.
$ac_ext <<_ACEOF
11679 /* end confdefs.h. */
11689 rm -f conftest.
$ac_objext
11690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11691 (eval $ac_compile) 2>conftest.er1
11693 grep -v '^ *+' conftest.er1
>conftest.err
11695 cat conftest.err
>&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } &&
11698 { ac_try
='test -z "$ac_cxx_werror_flag"
11699 || test ! -s conftest.err'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; } &&
11705 { ac_try
='test -s conftest.$ac_objext'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; }; then
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.
$ac_ext >&5
11717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11720 if test -n "$ac_declaration"; then
11721 echo '#ifdef __cplusplus' >>confdefs.h
11722 echo $ac_declaration >>confdefs.h
11723 echo '#endif' >>confdefs.h
11727 ac_cpp
='$CXXCPP $CPPFLAGS'
11728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11734 ac_cpp
='$CPP $CPPFLAGS'
11735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11740 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11741 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11742 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11743 if test "$GCC" = "yes" ; then
11744 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11745 sed -n '1,/End of search list\./p' | \
11746 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11747 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11749 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11750 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11752 if test -n "$ac_tool_prefix"; then
11753 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11754 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11755 echo "$as_me:$LINENO: checking for $ac_word" >&5
11756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11757 if test "${ac_cv_prog_RANLIB+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 if test -n "$RANLIB"; then
11761 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11764 for as_dir
in $PATH
11767 test -z "$as_dir" && as_dir
=.
11768 for ac_exec_ext
in '' $ac_executable_extensions; do
11769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11770 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11779 RANLIB
=$ac_cv_prog_RANLIB
11780 if test -n "$RANLIB"; then
11781 echo "$as_me:$LINENO: result: $RANLIB" >&5
11782 echo "${ECHO_T}$RANLIB" >&6
11784 echo "$as_me:$LINENO: result: no" >&5
11785 echo "${ECHO_T}no" >&6
11789 if test -z "$ac_cv_prog_RANLIB"; then
11790 ac_ct_RANLIB
=$RANLIB
11791 # Extract the first word of "ranlib", so it can be a program name with args.
11792 set dummy ranlib
; ac_word
=$2
11793 echo "$as_me:$LINENO: checking for $ac_word" >&5
11794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11795 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 if test -n "$ac_ct_RANLIB"; then
11799 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11802 for as_dir
in $PATH
11805 test -z "$as_dir" && as_dir
=.
11806 for ac_exec_ext
in '' $ac_executable_extensions; do
11807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11815 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11818 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11819 if test -n "$ac_ct_RANLIB"; then
11820 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11821 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11823 echo "$as_me:$LINENO: result: no" >&5
11824 echo "${ECHO_T}no" >&6
11827 RANLIB
=$ac_ct_RANLIB
11829 RANLIB
="$ac_cv_prog_RANLIB"
11833 # Extract the first word of "ar", so it can be a program name with args.
11834 set dummy
ar; ac_word
=$2
11835 echo "$as_me:$LINENO: checking for $ac_word" >&5
11836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11837 if test "${ac_cv_prog_AR+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 if test -n "$AR"; then
11841 ac_cv_prog_AR
="$AR" # Let the user override the test.
11843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11844 for as_dir
in $PATH
11847 test -z "$as_dir" && as_dir
=.
11848 for ac_exec_ext
in '' $ac_executable_extensions; do
11849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 if test -n "$AR"; then
11861 echo "$as_me:$LINENO: result: $AR" >&5
11862 echo "${ECHO_T}$AR" >&6
11864 echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6
11868 if test "x$AR" = "x" ; then
11869 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11870 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11871 { (exit 1); exit 1; }; }
11874 # Find a good install program. We prefer a C program (faster),
11875 # so one script is as good as another. But avoid the broken or
11876 # incompatible versions:
11877 # SysV /etc/install, /usr/sbin/install
11878 # SunOS /usr/etc/install
11879 # IRIX /sbin/install
11881 # AmigaOS /C/install, which installs bootblocks on floppy discs
11882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11885 # OS/2's system install, which has a completely different semantic
11886 # ./install, which can be erroneously created by make from ./install.sh.
11887 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11888 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11889 if test -z "$INSTALL"; then
11890 if test "${ac_cv_path_install+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11894 for as_dir
in $PATH
11897 test -z "$as_dir" && as_dir
=.
11898 # Account for people who put trailing slashes in PATH elements.
11900 .
/ | .
// | /cC
/* | \
11901 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11902 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11905 # OSF1 and SCO ODT 3.0 have their own names for install.
11906 # Don't use installbsd from OSF since it installs stuff as root
11908 for ac_prog
in ginstall scoinst
install; do
11909 for ac_exec_ext
in '' $ac_executable_extensions; do
11910 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11911 if test $ac_prog = install &&
11912 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11913 # AIX install. It has an incompatible calling convention.
11915 elif test $ac_prog = install &&
11916 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11917 # program-specific install script used by HP pwplus--don't use.
11920 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11932 if test "${ac_cv_path_install+set}" = set; then
11933 INSTALL
=$ac_cv_path_install
11935 # As a last resort, use the slow shell script. We don't cache a
11936 # path for INSTALL within a source directory, because that will
11937 # break other packages using the cache if that directory is
11938 # removed, or if the path is relative.
11939 INSTALL
=$ac_install_sh
11942 echo "$as_me:$LINENO: result: $INSTALL" >&5
11943 echo "${ECHO_T}$INSTALL" >&6
11945 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11946 # It thinks the first close brace ends the variable substitution.
11947 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11949 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11951 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11957 ?
:* ) # Drive letter, considered as absolute.
11960 INSTALL
=`pwd`/${INSTALL} ;;
11965 INSTALL_DIR
="mkdir"
11968 *) INSTALL_DIR
="$INSTALL -d"
11975 powerpc
-*-darwin* )
11976 INSTALL_PROGRAM
="cp -fp"
11977 INSTALL_DATA
="cp -fp"
11983 # Extract the first word of "strip", so it can be a program name with args.
11984 set dummy strip
; ac_word
=$2
11985 echo "$as_me:$LINENO: checking for $ac_word" >&5
11986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11987 if test "${ac_cv_prog_STRIP+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 if test -n "$STRIP"; then
11991 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11994 for as_dir
in $PATH
11997 test -z "$as_dir" && as_dir
=.
11998 for ac_exec_ext
in '' $ac_executable_extensions; do
11999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_prog_STRIP
="strip"
12001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12007 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12010 STRIP
=$ac_cv_prog_STRIP
12011 if test -n "$STRIP"; then
12012 echo "$as_me:$LINENO: result: $STRIP" >&5
12013 echo "${ECHO_T}$STRIP" >&6
12015 echo "$as_me:$LINENO: result: no" >&5
12016 echo "${ECHO_T}no" >&6
12020 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12021 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12022 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12027 egrep -s GNU
> /dev
/null
); then
12028 wx_cv_prog_makeisgnu
="yes"
12030 wx_cv_prog_makeisgnu
="no"
12034 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12035 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12037 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12045 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12046 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12047 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12048 if test "${wx_cv_prog_makevpath+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 cat - << EOF > confMake
12058 if test ! -d sub
; then
12061 echo dummy
> sub
/file
12062 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12064 rm -f sub
/file check final_file confMake
12066 if test "$RESULT" = 0; then
12067 wx_cv_prog_makevpath
="yes"
12069 wx_cv_prog_makevpath
="no"
12073 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12074 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12076 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12077 { { echo "$as_me:$LINENO: error:
12078 You need a make-utility that is able to use the variable
12080 If your version of make does not support VPATH correctly,
12081 please install GNU-make (possibly as gmake), and start
12082 configure with the following command:
12083 export MAKE=gmake; ./configure for sh-type shells
12084 setenv MAKE gmake; ./configure for csh-type shells
12085 Also please do remember to use gmake in this case every time
12086 you are trying to compile.
12088 echo "$as_me: error:
12089 You need a make-utility that is able to use the variable
12091 If your version of make does not support VPATH correctly,
12092 please install GNU-make (possibly as gmake), and start
12093 configure with the following command:
12094 export MAKE=gmake; ./configure for sh-type shells
12095 setenv MAKE gmake; ./configure for csh-type shells
12096 Also please do remember to use gmake in this case every time
12097 you are trying to compile.
12099 { (exit 1); exit 1; }; }
12101 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12102 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12104 if test "$LN_S" = "ln -s"; then
12105 echo "$as_me:$LINENO: result: yes" >&5
12106 echo "${ECHO_T}yes" >&6
12108 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12109 echo "${ECHO_T}no, using $LN_S" >&6
12115 *-pc-os2_emx | *-pc-os2-emx )
12116 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12117 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12118 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12119 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 ac_check_lib_save_LIBS
=$LIBS
12123 LIBS
="-lcExt $LIBS"
12124 cat >conftest.
$ac_ext <<_ACEOF
12127 cat confdefs.h
>>conftest.
$ac_ext
12128 cat >>conftest.
$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12131 /* Override any gcc2 internal prototype to avoid an error. */
12135 /* We use char because int might match the return type of a gcc2
12136 builtin and then its argument prototype would still apply. */
12146 rm -f conftest.
$ac_objext conftest
$ac_exeext
12147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12148 (eval $ac_link) 2>conftest.er1
12150 grep -v '^ *+' conftest.er1
>conftest.err
12152 cat conftest.err
>&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); } &&
12155 { ac_try
='test -z "$ac_c_werror_flag"
12156 || test ! -s conftest.err'
12157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12158 (eval $ac_try) 2>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); }; } &&
12162 { ac_try
='test -s conftest$ac_exeext'
12163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12164 (eval $ac_try) 2>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); }; }; then
12168 ac_cv_lib_cExt_drand48
=yes
12170 echo "$as_me: failed program was:" >&5
12171 sed 's/^/| /' conftest.
$ac_ext >&5
12173 ac_cv_lib_cExt_drand48
=no
12175 rm -f conftest.err conftest.
$ac_objext \
12176 conftest
$ac_exeext conftest.
$ac_ext
12177 LIBS
=$ac_check_lib_save_LIBS
12179 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12180 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12181 if test $ac_cv_lib_cExt_drand48 = yes; then
12182 LIBS
="$LIBS -lcExt"
12186 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12188 echo "$as_me:$LINENO: checking for gcc version" >&5
12189 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12190 if test "${wx_cv_gccversion+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 cat >conftest.
$ac_ext <<_ACEOF
12197 cat confdefs.h
>>conftest.
$ac_ext
12198 cat >>conftest.
$ac_ext <<_ACEOF
12199 /* end confdefs.h. */
12213 rm -f conftest.
$ac_objext
12214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12215 (eval $ac_compile) 2>conftest.er1
12217 grep -v '^ *+' conftest.er1
>conftest.err
12219 cat conftest.err
>&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); } &&
12222 { ac_try
='test -z "$ac_c_werror_flag"
12223 || test ! -s conftest.err'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; } &&
12229 { ac_try
='test -s conftest.$ac_objext'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; }; then
12236 cat >conftest.
$ac_ext <<_ACEOF
12239 cat confdefs.h
>>conftest.
$ac_ext
12240 cat >>conftest.
$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12247 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12248 #error intermediate gcc
12255 rm -f conftest.
$ac_objext
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>conftest.er1
12259 grep -v '^ *+' conftest.er1
>conftest.err
12261 cat conftest.err
>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try
='test -z "$ac_c_werror_flag"
12265 || test ! -s conftest.err'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; } &&
12271 { ac_try
='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12278 wx_cv_gccversion
=Innotek
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.
$ac_ext >&5
12289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.
$ac_ext >&5
12300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12303 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12304 echo "${ECHO_T}$wx_cv_gccversion" >&6
12305 if test "$wx_cv_gccversion" = "2"; then
12306 LIBS
="$LIBS -lstdcpp"
12307 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12309 if test "$wx_cv_gccversion" = "3"; then
12310 LIBS
="$LIBS -lstdcxx"
12311 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12313 LIBS
="$LIBS -lstdc++"
12316 if test "$wxUSE_OMF" = "yes"; then
12317 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12325 ac_cpp
='$CXXCPP $CPPFLAGS'
12326 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12327 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12328 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12332 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12333 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12334 if test "${ac_cv_string_strcasecmp+set}" = set; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 cat >conftest.
$ac_ext <<_ACEOF
12341 cat confdefs.h
>>conftest.
$ac_ext
12342 cat >>conftest.
$ac_ext <<_ACEOF
12343 /* end confdefs.h. */
12345 #include <string.h>
12351 strcasecmp("foo", "bar");
12357 rm -f conftest.
$ac_objext conftest
$ac_exeext
12358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12359 (eval $ac_link) 2>conftest.er1
12361 grep -v '^ *+' conftest.er1
>conftest.err
12363 cat conftest.err
>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try
='test -z "$ac_cxx_werror_flag"
12367 || test ! -s conftest.err'
12368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369 (eval $ac_try) 2>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; } &&
12373 { ac_try
='test -s conftest$ac_exeext'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; }; then
12379 ac_cv_string_strcasecmp
=yes
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.
$ac_ext >&5
12384 ac_cv_string_strcasecmp
=no
12387 rm -f conftest.err conftest.
$ac_objext \
12388 conftest
$ac_exeext conftest.
$ac_ext
12391 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12392 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12394 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12395 cat >>confdefs.h
<<\_ACEOF
12396 #define HAVE_STRCASECMP_IN_STRING_H 1
12400 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12401 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12402 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12406 cat >conftest.
$ac_ext <<_ACEOF
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12413 #include <strings.h>
12419 strcasecmp("foo", "bar");
12425 rm -f conftest.
$ac_objext conftest
$ac_exeext
12426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12427 (eval $ac_link) 2>conftest.er1
12429 grep -v '^ *+' conftest.er1
>conftest.err
12431 cat conftest.err
>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); } &&
12434 { ac_try
='test -z "$ac_cxx_werror_flag"
12435 || test ! -s conftest.err'
12436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12437 (eval $ac_try) 2>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); }; } &&
12441 { ac_try
='test -s conftest$ac_exeext'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; }; then
12447 ac_cv_strings_strcasecmp
=yes
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.
$ac_ext >&5
12452 ac_cv_strings_strcasecmp
=no
12455 rm -f conftest.err conftest.
$ac_objext \
12456 conftest
$ac_exeext conftest.
$ac_ext
12459 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12460 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12462 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12463 cat >>confdefs.h
<<\_ACEOF
12464 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12468 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12469 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12470 { (exit 1); exit 1; }; }
12475 ac_cpp
='$CPP $CPPFLAGS'
12476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12484 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12485 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12486 if test "${ac_cv_header_stdc+set}" = set; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 cat >conftest.
$ac_ext <<_ACEOF
12492 cat confdefs.h
>>conftest.
$ac_ext
12493 cat >>conftest.
$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12495 #include <stdlib.h>
12496 #include <stdarg.h>
12497 #include <string.h>
12508 rm -f conftest.
$ac_objext
12509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12510 (eval $ac_compile) 2>conftest.er1
12512 grep -v '^ *+' conftest.er1
>conftest.err
12514 cat conftest.err
>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } &&
12517 { ac_try
='test -z "$ac_c_werror_flag"
12518 || test ! -s conftest.err'
12519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; } &&
12524 { ac_try
='test -s conftest.$ac_objext'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; }; then
12530 ac_cv_header_stdc
=yes
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.
$ac_ext >&5
12535 ac_cv_header_stdc
=no
12537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12539 if test $ac_cv_header_stdc = yes; then
12540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12541 cat >conftest.
$ac_ext <<_ACEOF
12544 cat confdefs.h
>>conftest.
$ac_ext
12545 cat >>conftest.
$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12547 #include <string.h>
12550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12551 $EGREP "memchr" >/dev
/null
2>&1; then
12554 ac_cv_header_stdc
=no
12560 if test $ac_cv_header_stdc = yes; then
12561 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12562 cat >conftest.
$ac_ext <<_ACEOF
12565 cat confdefs.h
>>conftest.
$ac_ext
12566 cat >>conftest.
$ac_ext <<_ACEOF
12567 /* end confdefs.h. */
12568 #include <stdlib.h>
12571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12572 $EGREP "free" >/dev
/null
2>&1; then
12575 ac_cv_header_stdc
=no
12581 if test $ac_cv_header_stdc = yes; then
12582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12583 if test "$cross_compiling" = yes; then
12586 cat >conftest.
$ac_ext <<_ACEOF
12589 cat confdefs.h
>>conftest.
$ac_ext
12590 cat >>conftest.
$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12593 #if ((' ' & 0x0FF) == 0x020)
12594 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12595 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12597 # define ISLOWER(c) \
12598 (('a' <= (c) && (c) <= 'i') \
12599 || ('j' <= (c) && (c) <= 'r') \
12600 || ('s' <= (c) && (c) <= 'z'))
12601 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12604 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12609 for (i = 0; i < 256; i++)
12610 if (XOR (islower (i), ISLOWER (i))
12611 || toupper (i) != TOUPPER (i))
12616 rm -f conftest
$ac_exeext
12617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12618 (eval $ac_link) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12629 echo "$as_me: program exited with status $ac_status" >&5
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.
$ac_ext >&5
12633 ( exit $ac_status )
12634 ac_cv_header_stdc
=no
12636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12640 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12641 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12642 if test $ac_cv_header_stdc = yes; then
12644 cat >>confdefs.h
<<\_ACEOF
12645 #define STDC_HEADERS 1
12650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12660 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12661 inttypes.h stdint.h unistd.h
12663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12664 echo "$as_me:$LINENO: checking for $ac_header" >&5
12665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12667 echo $ECHO_N "(cached) $ECHO_C" >&6
12669 cat >conftest.
$ac_ext <<_ACEOF
12672 cat confdefs.h
>>conftest.
$ac_ext
12673 cat >>conftest.
$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12675 $ac_includes_default
12677 #include <$ac_header>
12679 rm -f conftest.
$ac_objext
12680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12681 (eval $ac_compile) 2>conftest.er1
12683 grep -v '^ *+' conftest.er1
>conftest.err
12685 cat conftest.err
>&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } &&
12688 { ac_try
='test -z "$ac_c_werror_flag"
12689 || test ! -s conftest.err'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; } &&
12695 { ac_try
='test -s conftest.$ac_objext'
12696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697 (eval $ac_try) 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; }; then
12701 eval "$as_ac_Header=yes"
12703 echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.
$ac_ext >&5
12706 eval "$as_ac_Header=no"
12708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12713 cat >>confdefs.h
<<_ACEOF
12714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12723 for ac_header
in stdlib.h
12725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12727 echo "$as_me:$LINENO: checking for $ac_header" >&5
12728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12735 # Is the header compilable?
12736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12738 cat >conftest.
$ac_ext <<_ACEOF
12741 cat confdefs.h
>>conftest.
$ac_ext
12742 cat >>conftest.
$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 $ac_includes_default
12745 #include <$ac_header>
12747 rm -f conftest.
$ac_objext
12748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12749 (eval $ac_compile) 2>conftest.er1
12751 grep -v '^ *+' conftest.er1
>conftest.err
12753 cat conftest.err
>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); } &&
12756 { ac_try
='test -z "$ac_c_werror_flag"
12757 || test ! -s conftest.err'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; } &&
12763 { ac_try
='test -s conftest.$ac_objext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12769 ac_header_compiler
=yes
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.
$ac_ext >&5
12774 ac_header_compiler
=no
12776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12778 echo "${ECHO_T}$ac_header_compiler" >&6
12780 # Is the header present?
12781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12783 cat >conftest.
$ac_ext <<_ACEOF
12786 cat confdefs.h
>>conftest.
$ac_ext
12787 cat >>conftest.
$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 #include <$ac_header>
12791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12794 grep -v '^ *+' conftest.er1
>conftest.err
12796 cat conftest.err
>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } >/dev
/null
; then
12799 if test -s conftest.err
; then
12800 ac_cpp_err
=$ac_c_preproc_warn_flag
12801 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12808 if test -z "$ac_cpp_err"; then
12809 ac_header_preproc
=yes
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.
$ac_ext >&5
12814 ac_header_preproc
=no
12816 rm -f conftest.err conftest.
$ac_ext
12817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12818 echo "${ECHO_T}$ac_header_preproc" >&6
12820 # So? What about this header?
12821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12827 ac_header_preproc
=yes
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12844 ## ----------------------------------------- ##
12845 ## Report this to wx-dev@lists.wxwidgets.org ##
12846 ## ----------------------------------------- ##
12849 sed "s/^/$as_me: WARNING: /" >&2
12852 echo "$as_me:$LINENO: checking for $ac_header" >&5
12853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12857 eval "$as_ac_Header=\$ac_header_preproc"
12859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12864 cat >>confdefs.h
<<_ACEOF
12865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12873 for ac_header
in malloc.h
12875 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12877 echo "$as_me:$LINENO: checking for $ac_header" >&5
12878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12885 # Is the header compilable?
12886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12888 cat >conftest.
$ac_ext <<_ACEOF
12891 cat confdefs.h
>>conftest.
$ac_ext
12892 cat >>conftest.
$ac_ext <<_ACEOF
12893 /* end confdefs.h. */
12894 $ac_includes_default
12895 #include <$ac_header>
12897 rm -f conftest.
$ac_objext
12898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12899 (eval $ac_compile) 2>conftest.er1
12901 grep -v '^ *+' conftest.er1
>conftest.err
12903 cat conftest.err
>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); } &&
12906 { ac_try
='test -z "$ac_c_werror_flag"
12907 || test ! -s conftest.err'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; } &&
12913 { ac_try
='test -s conftest.$ac_objext'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; }; then
12919 ac_header_compiler
=yes
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.
$ac_ext >&5
12924 ac_header_compiler
=no
12926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12928 echo "${ECHO_T}$ac_header_compiler" >&6
12930 # Is the header present?
12931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12933 cat >conftest.
$ac_ext <<_ACEOF
12936 cat confdefs.h
>>conftest.
$ac_ext
12937 cat >>conftest.
$ac_ext <<_ACEOF
12938 /* end confdefs.h. */
12939 #include <$ac_header>
12941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12944 grep -v '^ *+' conftest.er1
>conftest.err
12946 cat conftest.err
>&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); } >/dev
/null
; then
12949 if test -s conftest.err
; then
12950 ac_cpp_err
=$ac_c_preproc_warn_flag
12951 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12958 if test -z "$ac_cpp_err"; then
12959 ac_header_preproc
=yes
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.
$ac_ext >&5
12964 ac_header_preproc
=no
12966 rm -f conftest.err conftest.
$ac_ext
12967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12968 echo "${ECHO_T}$ac_header_preproc" >&6
12970 # So? What about this header?
12971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12977 ac_header_preproc
=yes
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12994 ## ----------------------------------------- ##
12995 ## Report this to wx-dev@lists.wxwidgets.org ##
12996 ## ----------------------------------------- ##
12999 sed "s/^/$as_me: WARNING: /" >&2
13002 echo "$as_me:$LINENO: checking for $ac_header" >&5
13003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13005 echo $ECHO_N "(cached) $ECHO_C" >&6
13007 eval "$as_ac_Header=\$ac_header_preproc"
13009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13014 cat >>confdefs.h
<<_ACEOF
13015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13023 for ac_header
in unistd.h
13025 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13027 echo "$as_me:$LINENO: checking for $ac_header" >&5
13028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13030 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13035 # Is the header compilable?
13036 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13038 cat >conftest.
$ac_ext <<_ACEOF
13041 cat confdefs.h
>>conftest.
$ac_ext
13042 cat >>conftest.
$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13044 $ac_includes_default
13045 #include <$ac_header>
13047 rm -f conftest.
$ac_objext
13048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13049 (eval $ac_compile) 2>conftest.er1
13051 grep -v '^ *+' conftest.er1
>conftest.err
13053 cat conftest.err
>&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } &&
13056 { ac_try
='test -z "$ac_c_werror_flag"
13057 || test ! -s conftest.err'
13058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13059 (eval $ac_try) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); }; } &&
13063 { ac_try
='test -s conftest.$ac_objext'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; }; then
13069 ac_header_compiler
=yes
13071 echo "$as_me: failed program was:" >&5
13072 sed 's/^/| /' conftest.
$ac_ext >&5
13074 ac_header_compiler
=no
13076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13078 echo "${ECHO_T}$ac_header_compiler" >&6
13080 # Is the header present?
13081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13083 cat >conftest.
$ac_ext <<_ACEOF
13086 cat confdefs.h
>>conftest.
$ac_ext
13087 cat >>conftest.
$ac_ext <<_ACEOF
13088 /* end confdefs.h. */
13089 #include <$ac_header>
13091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13092 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13094 grep -v '^ *+' conftest.er1
>conftest.err
13096 cat conftest.err
>&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } >/dev
/null
; then
13099 if test -s conftest.err
; then
13100 ac_cpp_err
=$ac_c_preproc_warn_flag
13101 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13108 if test -z "$ac_cpp_err"; then
13109 ac_header_preproc
=yes
13111 echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.
$ac_ext >&5
13114 ac_header_preproc
=no
13116 rm -f conftest.err conftest.
$ac_ext
13117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13118 echo "${ECHO_T}$ac_header_preproc" >&6
13120 # So? What about this header?
13121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13127 ac_header_preproc
=yes
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13144 ## ----------------------------------------- ##
13145 ## Report this to wx-dev@lists.wxwidgets.org ##
13146 ## ----------------------------------------- ##
13149 sed "s/^/$as_me: WARNING: /" >&2
13152 echo "$as_me:$LINENO: checking for $ac_header" >&5
13153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13155 echo $ECHO_N "(cached) $ECHO_C" >&6
13157 eval "$as_ac_Header=\$ac_header_preproc"
13159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13164 cat >>confdefs.h
<<_ACEOF
13165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13173 for ac_header
in wchar.h
13175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13177 echo "$as_me:$LINENO: checking for $ac_header" >&5
13178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13185 # Is the header compilable?
13186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13188 cat >conftest.
$ac_ext <<_ACEOF
13191 cat confdefs.h
>>conftest.
$ac_ext
13192 cat >>conftest.
$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 $ac_includes_default
13195 #include <$ac_header>
13197 rm -f conftest.
$ac_objext
13198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13199 (eval $ac_compile) 2>conftest.er1
13201 grep -v '^ *+' conftest.er1
>conftest.err
13203 cat conftest.err
>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } &&
13206 { ac_try
='test -z "$ac_c_werror_flag"
13207 || test ! -s conftest.err'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; } &&
13213 { ac_try
='test -s conftest.$ac_objext'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; }; then
13219 ac_header_compiler
=yes
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.
$ac_ext >&5
13224 ac_header_compiler
=no
13226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13228 echo "${ECHO_T}$ac_header_compiler" >&6
13230 # Is the header present?
13231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13233 cat >conftest.
$ac_ext <<_ACEOF
13236 cat confdefs.h
>>conftest.
$ac_ext
13237 cat >>conftest.
$ac_ext <<_ACEOF
13238 /* end confdefs.h. */
13239 #include <$ac_header>
13241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13244 grep -v '^ *+' conftest.er1
>conftest.err
13246 cat conftest.err
>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } >/dev
/null
; then
13249 if test -s conftest.err
; then
13250 ac_cpp_err
=$ac_c_preproc_warn_flag
13251 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13258 if test -z "$ac_cpp_err"; then
13259 ac_header_preproc
=yes
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.
$ac_ext >&5
13264 ac_header_preproc
=no
13266 rm -f conftest.err conftest.
$ac_ext
13267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13268 echo "${ECHO_T}$ac_header_preproc" >&6
13270 # So? What about this header?
13271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13277 ac_header_preproc
=yes
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13294 ## ----------------------------------------- ##
13295 ## Report this to wx-dev@lists.wxwidgets.org ##
13296 ## ----------------------------------------- ##
13299 sed "s/^/$as_me: WARNING: /" >&2
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 eval "$as_ac_Header=\$ac_header_preproc"
13309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13314 cat >>confdefs.h
<<_ACEOF
13315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13323 if test "$ac_cv_header_wchar_h" != "yes"; then
13325 for ac_header
in wcstr.h
13327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13329 echo "$as_me:$LINENO: checking for $ac_header" >&5
13330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13337 # Is the header compilable?
13338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13340 cat >conftest.
$ac_ext <<_ACEOF
13343 cat confdefs.h
>>conftest.
$ac_ext
13344 cat >>conftest.
$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 $ac_includes_default
13347 #include <$ac_header>
13349 rm -f conftest.
$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>conftest.er1
13353 grep -v '^ *+' conftest.er1
>conftest.err
13355 cat conftest.err
>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } &&
13358 { ac_try
='test -z "$ac_c_werror_flag"
13359 || test ! -s conftest.err'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; } &&
13365 { ac_try
='test -s conftest.$ac_objext'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; }; then
13371 ac_header_compiler
=yes
13373 echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.
$ac_ext >&5
13376 ac_header_compiler
=no
13378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13380 echo "${ECHO_T}$ac_header_compiler" >&6
13382 # Is the header present?
13383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13385 cat >conftest.
$ac_ext <<_ACEOF
13388 cat confdefs.h
>>conftest.
$ac_ext
13389 cat >>conftest.
$ac_ext <<_ACEOF
13390 /* end confdefs.h. */
13391 #include <$ac_header>
13393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13396 grep -v '^ *+' conftest.er1
>conftest.err
13398 cat conftest.err
>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } >/dev
/null
; then
13401 if test -s conftest.err
; then
13402 ac_cpp_err
=$ac_c_preproc_warn_flag
13403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13410 if test -z "$ac_cpp_err"; then
13411 ac_header_preproc
=yes
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.
$ac_ext >&5
13416 ac_header_preproc
=no
13418 rm -f conftest.err conftest.
$ac_ext
13419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13420 echo "${ECHO_T}$ac_header_preproc" >&6
13422 # So? What about this header?
13423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13429 ac_header_preproc
=yes
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13446 ## ----------------------------------------- ##
13447 ## Report this to wx-dev@lists.wxwidgets.org ##
13448 ## ----------------------------------------- ##
13451 sed "s/^/$as_me: WARNING: /" >&2
13454 echo "$as_me:$LINENO: checking for $ac_header" >&5
13455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 eval "$as_ac_Header=\$ac_header_preproc"
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13466 cat >>confdefs.h
<<_ACEOF
13467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13477 for ac_header
in fnmatch.h
13479 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13481 echo "$as_me:$LINENO: checking for $ac_header" >&5
13482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13489 # Is the header compilable?
13490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13492 cat >conftest.
$ac_ext <<_ACEOF
13495 cat confdefs.h
>>conftest.
$ac_ext
13496 cat >>conftest.
$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 $ac_includes_default
13499 #include <$ac_header>
13501 rm -f conftest.
$ac_objext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13503 (eval $ac_compile) 2>conftest.er1
13505 grep -v '^ *+' conftest.er1
>conftest.err
13507 cat conftest.err
>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } &&
13510 { ac_try
='test -z "$ac_c_werror_flag"
13511 || test ! -s conftest.err'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; } &&
13517 { ac_try
='test -s conftest.$ac_objext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 ac_header_compiler
=yes
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.
$ac_ext >&5
13528 ac_header_compiler
=no
13530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13532 echo "${ECHO_T}$ac_header_compiler" >&6
13534 # Is the header present?
13535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13537 cat >conftest.
$ac_ext <<_ACEOF
13540 cat confdefs.h
>>conftest.
$ac_ext
13541 cat >>conftest.
$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13543 #include <$ac_header>
13545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13546 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13548 grep -v '^ *+' conftest.er1
>conftest.err
13550 cat conftest.err
>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } >/dev
/null
; then
13553 if test -s conftest.err
; then
13554 ac_cpp_err
=$ac_c_preproc_warn_flag
13555 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13562 if test -z "$ac_cpp_err"; then
13563 ac_header_preproc
=yes
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.
$ac_ext >&5
13568 ac_header_preproc
=no
13570 rm -f conftest.err conftest.
$ac_ext
13571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13572 echo "${ECHO_T}$ac_header_preproc" >&6
13574 # So? What about this header?
13575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13581 ac_header_preproc
=yes
13584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13590 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13591 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13594 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13598 ## ----------------------------------------- ##
13599 ## Report this to wx-dev@lists.wxwidgets.org ##
13600 ## ----------------------------------------- ##
13603 sed "s/^/$as_me: WARNING: /" >&2
13606 echo "$as_me:$LINENO: checking for $ac_header" >&5
13607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13609 echo $ECHO_N "(cached) $ECHO_C" >&6
13611 eval "$as_ac_Header=\$ac_header_preproc"
13613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13618 cat >>confdefs.h
<<_ACEOF
13619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13627 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13629 for ac_func
in fnmatch
13631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13632 echo "$as_me:$LINENO: checking for $ac_func" >&5
13633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13634 if eval "test \"\${$as_ac_var+set}\" = set"; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 cat >conftest.
$ac_ext <<_ACEOF
13640 cat confdefs.h
>>conftest.
$ac_ext
13641 cat >>conftest.
$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13645 #define $ac_func innocuous_$ac_func
13647 /* System header to define __stub macros and hopefully few prototypes,
13648 which can conflict with char $ac_func (); below.
13649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13650 <limits.h> exists even on freestanding compilers. */
13653 # include <limits.h>
13655 # include <assert.h>
13660 /* Override any gcc2 internal prototype to avoid an error. */
13665 /* We use char because int might match the return type of a gcc2
13666 builtin and then its argument prototype would still apply. */
13668 /* The GNU C library defines this for functions which it implements
13669 to always fail with ENOSYS. Some functions are actually named
13670 something starting with __ and the normal name is an alias. */
13671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13674 char (*f) () = $ac_func;
13683 return f != $ac_func;
13688 rm -f conftest.
$ac_objext conftest
$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>conftest.er1
13692 grep -v '^ *+' conftest.er1
>conftest.err
13694 cat conftest.err
>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } &&
13697 { ac_try
='test -z "$ac_c_werror_flag"
13698 || test ! -s conftest.err'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; } &&
13704 { ac_try
='test -s conftest$ac_exeext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 eval "$as_ac_var=yes"
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.
$ac_ext >&5
13715 eval "$as_ac_var=no"
13717 rm -f conftest.err conftest.
$ac_objext \
13718 conftest
$ac_exeext conftest.
$ac_ext
13720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13722 if test `eval echo '${'$as_ac_var'}'` = yes; then
13723 cat >>confdefs.h
<<_ACEOF
13724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13733 for ac_header
in langinfo.h
13735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13737 echo "$as_me:$LINENO: checking for $ac_header" >&5
13738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13745 # Is the header compilable?
13746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13748 cat >conftest.
$ac_ext <<_ACEOF
13751 cat confdefs.h
>>conftest.
$ac_ext
13752 cat >>conftest.
$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 $ac_includes_default
13755 #include <$ac_header>
13757 rm -f conftest.
$ac_objext
13758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13759 (eval $ac_compile) 2>conftest.er1
13761 grep -v '^ *+' conftest.er1
>conftest.err
13763 cat conftest.err
>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); } &&
13766 { ac_try
='test -z "$ac_c_werror_flag"
13767 || test ! -s conftest.err'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; } &&
13773 { ac_try
='test -s conftest.$ac_objext'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 ac_header_compiler
=yes
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.
$ac_ext >&5
13784 ac_header_compiler
=no
13786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13788 echo "${ECHO_T}$ac_header_compiler" >&6
13790 # Is the header present?
13791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13793 cat >conftest.
$ac_ext <<_ACEOF
13796 cat confdefs.h
>>conftest.
$ac_ext
13797 cat >>conftest.
$ac_ext <<_ACEOF
13798 /* end confdefs.h. */
13799 #include <$ac_header>
13801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } >/dev
/null
; then
13809 if test -s conftest.err
; then
13810 ac_cpp_err
=$ac_c_preproc_warn_flag
13811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13818 if test -z "$ac_cpp_err"; then
13819 ac_header_preproc
=yes
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.
$ac_ext >&5
13824 ac_header_preproc
=no
13826 rm -f conftest.err conftest.
$ac_ext
13827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13828 echo "${ECHO_T}$ac_header_preproc" >&6
13830 # So? What about this header?
13831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13837 ac_header_preproc
=yes
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13854 ## ----------------------------------------- ##
13855 ## Report this to wx-dev@lists.wxwidgets.org ##
13856 ## ----------------------------------------- ##
13859 sed "s/^/$as_me: WARNING: /" >&2
13862 echo "$as_me:$LINENO: checking for $ac_header" >&5
13863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13867 eval "$as_ac_Header=\$ac_header_preproc"
13869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13874 cat >>confdefs.h
<<_ACEOF
13875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13884 *-pc-os2_emx | *-pc-os2-emx )
13885 if test $ac_cv_header_langinfo_h = "yes"; then
13886 LIBS
="$LIBS -lintl"
13891 if test "$wxUSE_GUI" = "yes"; then
13892 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13894 for ac_header
in X
11/Xlib.h
13896 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13898 echo "$as_me:$LINENO: checking for $ac_header" >&5
13899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13906 # Is the header compilable?
13907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13909 cat >conftest.
$ac_ext <<_ACEOF
13912 cat confdefs.h
>>conftest.
$ac_ext
13913 cat >>conftest.
$ac_ext <<_ACEOF
13914 /* end confdefs.h. */
13915 $ac_includes_default
13916 #include <$ac_header>
13918 rm -f conftest.
$ac_objext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13920 (eval $ac_compile) 2>conftest.er1
13922 grep -v '^ *+' conftest.er1
>conftest.err
13924 cat conftest.err
>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try
='test -z "$ac_c_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try
='test -s conftest.$ac_objext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13940 ac_header_compiler
=yes
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.
$ac_ext >&5
13945 ac_header_compiler
=no
13947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13949 echo "${ECHO_T}$ac_header_compiler" >&6
13951 # Is the header present?
13952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13954 cat >conftest.
$ac_ext <<_ACEOF
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <$ac_header>
13962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13965 grep -v '^ *+' conftest.er1
>conftest.err
13967 cat conftest.err
>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); } >/dev
/null
; then
13970 if test -s conftest.err
; then
13971 ac_cpp_err
=$ac_c_preproc_warn_flag
13972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13979 if test -z "$ac_cpp_err"; then
13980 ac_header_preproc
=yes
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.
$ac_ext >&5
13985 ac_header_preproc
=no
13987 rm -f conftest.err conftest.
$ac_ext
13988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13989 echo "${ECHO_T}$ac_header_preproc" >&6
13991 # So? What about this header?
13992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13998 ac_header_preproc
=yes
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14015 ## ----------------------------------------- ##
14016 ## Report this to wx-dev@lists.wxwidgets.org ##
14017 ## ----------------------------------------- ##
14020 sed "s/^/$as_me: WARNING: /" >&2
14023 echo "$as_me:$LINENO: checking for $ac_header" >&5
14024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14026 echo $ECHO_N "(cached) $ECHO_C" >&6
14028 eval "$as_ac_Header=\$ac_header_preproc"
14030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14035 cat >>confdefs.h
<<_ACEOF
14036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14044 for ac_header
in X
11/XKBlib.h
14046 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14047 echo "$as_me:$LINENO: checking for $ac_header" >&5
14048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 cat >conftest.
$ac_ext <<_ACEOF
14055 cat confdefs.h
>>conftest.
$ac_ext
14056 cat >>conftest.
$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14059 #if HAVE_X11_XLIB_H
14060 #include <X11/Xlib.h>
14064 #include <$ac_header>
14066 rm -f conftest.
$ac_objext
14067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14068 (eval $ac_compile) 2>conftest.er1
14070 grep -v '^ *+' conftest.er1
>conftest.err
14072 cat conftest.err
>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); } &&
14075 { ac_try
='test -z "$ac_c_werror_flag"
14076 || test ! -s conftest.err'
14077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14078 (eval $ac_try) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; } &&
14082 { ac_try
='test -s conftest.$ac_objext'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; }; then
14088 eval "$as_ac_Header=yes"
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.
$ac_ext >&5
14093 eval "$as_ac_Header=no"
14095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14100 cat >>confdefs.h
<<_ACEOF
14101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14112 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14113 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14114 if test "${ac_cv_c_const+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 cat >conftest.
$ac_ext <<_ACEOF
14120 cat confdefs.h
>>conftest.
$ac_ext
14121 cat >>conftest.
$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14127 /* FIXME: Include the comments suggested by Paul. */
14128 #ifndef __cplusplus
14129 /* Ultrix mips cc rejects this. */
14130 typedef int charset[2];
14132 /* SunOS 4.1.1 cc rejects this. */
14133 char const *const *ccp;
14135 /* NEC SVR4.0.2 mips cc rejects this. */
14136 struct point {int x, y;};
14137 static struct point const zero = {0,0};
14138 /* AIX XL C 1.02.0.0 rejects this.
14139 It does not let you subtract one const X* pointer from another in
14140 an arm of an if-expression whose if-part is not a constant
14142 const char *g = "string";
14143 ccp = &g + (g ? g-g : 0);
14144 /* HPUX 7.0 cc rejects these. */
14147 ccp = (char const *const *) p;
14148 { /* SCO 3.2v4 cc rejects this. */
14150 char const *s = 0 ? (char *) 0 : (char const *) 0;
14154 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14155 int x[] = {25, 17};
14156 const int *foo = &x[0];
14159 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14160 typedef const int *iptr;
14164 { /* AIX XL C 1.02.0.0 rejects this saying
14165 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14166 struct s { int j; const int *ap[3]; };
14167 struct s *b; b->j = 5;
14169 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14170 const int foo = 10;
14178 rm -f conftest.
$ac_objext
14179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14180 (eval $ac_compile) 2>conftest.er1
14182 grep -v '^ *+' conftest.er1
>conftest.err
14184 cat conftest.err
>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } &&
14187 { ac_try
='test -z "$ac_c_werror_flag"
14188 || test ! -s conftest.err'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; } &&
14194 { ac_try
='test -s conftest.$ac_objext'
14195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196 (eval $ac_try) 2>&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); }; }; then
14202 echo "$as_me: failed program was:" >&5
14203 sed 's/^/| /' conftest.
$ac_ext >&5
14207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14209 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14210 echo "${ECHO_T}$ac_cv_c_const" >&6
14211 if test $ac_cv_c_const = no
; then
14213 cat >>confdefs.h
<<\_ACEOF
14219 echo "$as_me:$LINENO: checking for inline" >&5
14220 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14221 if test "${ac_cv_c_inline+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 for ac_kw
in inline __inline__ __inline
; do
14226 cat >conftest.
$ac_ext <<_ACEOF
14229 cat confdefs.h
>>conftest.
$ac_ext
14230 cat >>conftest.
$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 #ifndef __cplusplus
14234 static $ac_kw foo_t static_foo () {return 0; }
14235 $ac_kw foo_t foo () {return 0; }
14239 rm -f conftest.
$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>conftest.er1
14243 grep -v '^ *+' conftest.er1
>conftest.err
14245 cat conftest.err
>&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); } &&
14248 { ac_try
='test -z "$ac_c_werror_flag"
14249 || test ! -s conftest.err'
14250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14251 (eval $ac_try) 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }; } &&
14255 { ac_try
='test -s conftest.$ac_objext'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; }; then
14261 ac_cv_c_inline
=$ac_kw; break
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.
$ac_ext >&5
14267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14271 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14272 echo "${ECHO_T}$ac_cv_c_inline" >&6
14275 case $ac_cv_c_inline in
14278 case $ac_cv_c_inline in
14280 *) ac_val
=$ac_cv_c_inline;;
14282 cat >>confdefs.h
<<_ACEOF
14283 #ifndef __cplusplus
14284 #define inline $ac_val
14291 echo "$as_me:$LINENO: checking for char" >&5
14292 echo $ECHO_N "checking for char... $ECHO_C" >&6
14293 if test "${ac_cv_type_char+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14296 cat >conftest.
$ac_ext <<_ACEOF
14299 cat confdefs.h
>>conftest.
$ac_ext
14300 cat >>conftest.
$ac_ext <<_ACEOF
14301 /* end confdefs.h. */
14302 $ac_includes_default
14314 rm -f conftest.
$ac_objext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14316 (eval $ac_compile) 2>conftest.er1
14318 grep -v '^ *+' conftest.er1
>conftest.err
14320 cat conftest.err
>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try
='test -z "$ac_c_werror_flag"
14324 || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try
='test -s conftest.$ac_objext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 ac_cv_type_char
=yes
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.
$ac_ext >&5
14343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14345 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14346 echo "${ECHO_T}$ac_cv_type_char" >&6
14348 echo "$as_me:$LINENO: checking size of char" >&5
14349 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14350 if test "${ac_cv_sizeof_char+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 if test "$ac_cv_type_char" = yes; then
14354 # The cast to unsigned long works around a bug in the HP C Compiler
14355 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14356 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14357 # This bug is HP SR number 8606223364.
14358 if test "$cross_compiling" = yes; then
14359 # Depending upon the size, compute the lo and hi bounds.
14360 cat >conftest.
$ac_ext <<_ACEOF
14363 cat confdefs.h
>>conftest.
$ac_ext
14364 cat >>conftest.
$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14366 $ac_includes_default
14370 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14377 rm -f conftest.
$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>conftest.er1
14381 grep -v '^ *+' conftest.er1
>conftest.err
14383 cat conftest.err
>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try
='test -z "$ac_c_werror_flag"
14387 || test ! -s conftest.err'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; } &&
14393 { ac_try
='test -s conftest.$ac_objext'
14394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14395 (eval $ac_try) 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14401 cat >conftest.
$ac_ext <<_ACEOF
14404 cat confdefs.h
>>conftest.
$ac_ext
14405 cat >>conftest.
$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 $ac_includes_default
14411 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14418 rm -f conftest.
$ac_objext
14419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14420 (eval $ac_compile) 2>conftest.er1
14422 grep -v '^ *+' conftest.er1
>conftest.err
14424 cat conftest.err
>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } &&
14427 { ac_try
='test -z "$ac_c_werror_flag"
14428 || test ! -s conftest.err'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; } &&
14434 { ac_try
='test -s conftest.$ac_objext'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; }; then
14440 ac_hi
=$ac_mid; break
14442 echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.
$ac_ext >&5
14445 ac_lo
=`expr $ac_mid + 1`
14446 if test $ac_lo -le $ac_mid; then
14450 ac_mid
=`expr 2 '*' $ac_mid + 1`
14452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.
$ac_ext >&5
14458 cat >conftest.
$ac_ext <<_ACEOF
14461 cat confdefs.h
>>conftest.
$ac_ext
14462 cat >>conftest.
$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464 $ac_includes_default
14468 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14475 rm -f conftest.
$ac_objext
14476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14477 (eval $ac_compile) 2>conftest.er1
14479 grep -v '^ *+' conftest.er1
>conftest.err
14481 cat conftest.err
>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); } &&
14484 { ac_try
='test -z "$ac_c_werror_flag"
14485 || test ! -s conftest.err'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; } &&
14491 { ac_try
='test -s conftest.$ac_objext'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14499 cat >conftest.
$ac_ext <<_ACEOF
14502 cat confdefs.h
>>conftest.
$ac_ext
14503 cat >>conftest.
$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14505 $ac_includes_default
14509 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14516 rm -f conftest.
$ac_objext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14518 (eval $ac_compile) 2>conftest.er1
14520 grep -v '^ *+' conftest.er1
>conftest.err
14522 cat conftest.err
>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try
='test -z "$ac_c_werror_flag"
14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try
='test -s conftest.$ac_objext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14538 ac_lo
=$ac_mid; break
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.
$ac_ext >&5
14543 ac_hi
=`expr '(' $ac_mid ')' - 1`
14544 if test $ac_mid -le $ac_hi; then
14548 ac_mid
=`expr 2 '*' $ac_mid`
14550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.
$ac_ext >&5
14558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14561 # Binary search between lo and hi bounds.
14562 while test "x$ac_lo" != "x$ac_hi"; do
14563 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14564 cat >conftest.
$ac_ext <<_ACEOF
14567 cat confdefs.h
>>conftest.
$ac_ext
14568 cat >>conftest.
$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14570 $ac_includes_default
14574 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14581 rm -f conftest.
$ac_objext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 (eval $ac_compile) 2>conftest.er1
14585 grep -v '^ *+' conftest.er1
>conftest.err
14587 cat conftest.err
>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -z "$ac_c_werror_flag"
14591 || test ! -s conftest.err'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; } &&
14597 { ac_try
='test -s conftest.$ac_objext'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; }; then
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.
$ac_ext >&5
14608 ac_lo
=`expr '(' $ac_mid ')' + 1`
14610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14613 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14614 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14615 See \`config.log' for more details." >&5
14616 echo "$as_me: error: cannot compute sizeof (char), 77
14617 See \`config.log' for more details." >&2;}
14618 { (exit 1); exit 1; }; } ;;
14621 if test "$cross_compiling" = yes; then
14622 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14623 See \`config.log' for more details." >&5
14624 echo "$as_me: error: cannot run test program while cross compiling
14625 See \`config.log' for more details." >&2;}
14626 { (exit 1); exit 1; }; }
14628 cat >conftest.
$ac_ext <<_ACEOF
14631 cat confdefs.h
>>conftest.
$ac_ext
14632 cat >>conftest.
$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 $ac_includes_default
14635 long longval () { return (long) (sizeof (char)); }
14636 unsigned long ulongval () { return (long) (sizeof (char)); }
14638 #include <stdlib.h>
14643 FILE *f = fopen ("conftest.val", "w");
14646 if (((long) (sizeof (char))) < 0)
14648 long i = longval ();
14649 if (i != ((long) (sizeof (char))))
14651 fprintf (f, "%ld\n", i);
14655 unsigned long i = ulongval ();
14656 if (i != ((long) (sizeof (char))))
14658 fprintf (f, "%lu\n", i);
14660 exit (ferror (f) || fclose (f) != 0);
14666 rm -f conftest
$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 (eval $ac_link) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 ac_cv_sizeof_char
=`cat conftest.val`
14679 echo "$as_me: program exited with status $ac_status" >&5
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.
$ac_ext >&5
14683 ( exit $ac_status )
14684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14685 See \`config.log' for more details." >&5
14686 echo "$as_me: error: cannot compute sizeof (char), 77
14687 See \`config.log' for more details." >&2;}
14688 { (exit 1); exit 1; }; }
14690 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14695 ac_cv_sizeof_char
=0
14698 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14699 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14700 cat >>confdefs.h
<<_ACEOF
14701 #define SIZEOF_CHAR $ac_cv_sizeof_char
14705 echo "$as_me:$LINENO: checking for short" >&5
14706 echo $ECHO_N "checking for short... $ECHO_C" >&6
14707 if test "${ac_cv_type_short+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 cat >conftest.
$ac_ext <<_ACEOF
14713 cat confdefs.h
>>conftest.
$ac_ext
14714 cat >>conftest.
$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 $ac_includes_default
14722 if (sizeof (short))
14728 rm -f conftest.
$ac_objext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14730 (eval $ac_compile) 2>conftest.er1
14732 grep -v '^ *+' conftest.er1
>conftest.err
14734 cat conftest.err
>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try
='test -z "$ac_c_werror_flag"
14738 || test ! -s conftest.err'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; } &&
14744 { ac_try
='test -s conftest.$ac_objext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 ac_cv_type_short
=yes
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.
$ac_ext >&5
14755 ac_cv_type_short
=no
14757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14759 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14760 echo "${ECHO_T}$ac_cv_type_short" >&6
14762 echo "$as_me:$LINENO: checking size of short" >&5
14763 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14764 if test "${ac_cv_sizeof_short+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 if test "$ac_cv_type_short" = yes; then
14768 # The cast to unsigned long works around a bug in the HP C Compiler
14769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14771 # This bug is HP SR number 8606223364.
14772 if test "$cross_compiling" = yes; then
14773 # Depending upon the size, compute the lo and hi bounds.
14774 cat >conftest.
$ac_ext <<_ACEOF
14777 cat confdefs.h
>>conftest.
$ac_ext
14778 cat >>conftest.
$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14780 $ac_includes_default
14784 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14791 rm -f conftest.
$ac_objext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14793 (eval $ac_compile) 2>conftest.er1
14795 grep -v '^ *+' conftest.er1
>conftest.err
14797 cat conftest.err
>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try
='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try
='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14815 cat >conftest.
$ac_ext <<_ACEOF
14818 cat confdefs.h
>>conftest.
$ac_ext
14819 cat >>conftest.
$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14821 $ac_includes_default
14825 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14832 rm -f conftest.
$ac_objext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>conftest.er1
14836 grep -v '^ *+' conftest.er1
>conftest.err
14838 cat conftest.err
>&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } &&
14841 { ac_try
='test -z "$ac_c_werror_flag"
14842 || test ! -s conftest.err'
14843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14844 (eval $ac_try) 2>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); }; } &&
14848 { ac_try
='test -s conftest.$ac_objext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 ac_hi
=$ac_mid; break
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.
$ac_ext >&5
14859 ac_lo
=`expr $ac_mid + 1`
14860 if test $ac_lo -le $ac_mid; then
14864 ac_mid
=`expr 2 '*' $ac_mid + 1`
14866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14869 echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.
$ac_ext >&5
14872 cat >conftest.
$ac_ext <<_ACEOF
14875 cat confdefs.h
>>conftest.
$ac_ext
14876 cat >>conftest.
$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 $ac_includes_default
14882 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14889 rm -f conftest.
$ac_objext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>conftest.er1
14893 grep -v '^ *+' conftest.er1
>conftest.err
14895 cat conftest.err
>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try
='test -z "$ac_c_werror_flag"
14899 || test ! -s conftest.err'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; } &&
14905 { ac_try
='test -s conftest.$ac_objext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14913 cat >conftest.
$ac_ext <<_ACEOF
14916 cat confdefs.h
>>conftest.
$ac_ext
14917 cat >>conftest.
$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14919 $ac_includes_default
14923 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14930 rm -f conftest.
$ac_objext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14932 (eval $ac_compile) 2>conftest.er1
14934 grep -v '^ *+' conftest.er1
>conftest.err
14936 cat conftest.err
>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try
='test -z "$ac_c_werror_flag"
14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try
='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_lo
=$ac_mid; break
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.
$ac_ext >&5
14957 ac_hi
=`expr '(' $ac_mid ')' - 1`
14958 if test $ac_mid -le $ac_hi; then
14962 ac_mid
=`expr 2 '*' $ac_mid`
14964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.
$ac_ext >&5
14972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14975 # Binary search between lo and hi bounds.
14976 while test "x$ac_lo" != "x$ac_hi"; do
14977 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14978 cat >conftest.
$ac_ext <<_ACEOF
14981 cat confdefs.h
>>conftest.
$ac_ext
14982 cat >>conftest.
$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 $ac_includes_default
14988 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14995 rm -f conftest.
$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>conftest.er1
14999 grep -v '^ *+' conftest.er1
>conftest.err
15001 cat conftest.err
>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } &&
15004 { ac_try
='test -z "$ac_c_werror_flag"
15005 || test ! -s conftest.err'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; } &&
15011 { ac_try
='test -s conftest.$ac_objext'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; }; then
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.
$ac_ext >&5
15022 ac_lo
=`expr '(' $ac_mid ')' + 1`
15024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15027 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15029 See \`config.log' for more details." >&5
15030 echo "$as_me: error: cannot compute sizeof (short), 77
15031 See \`config.log' for more details." >&2;}
15032 { (exit 1); exit 1; }; } ;;
15035 if test "$cross_compiling" = yes; then
15036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15037 See \`config.log' for more details." >&5
15038 echo "$as_me: error: cannot run test program while cross compiling
15039 See \`config.log' for more details." >&2;}
15040 { (exit 1); exit 1; }; }
15042 cat >conftest.
$ac_ext <<_ACEOF
15045 cat confdefs.h
>>conftest.
$ac_ext
15046 cat >>conftest.
$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15048 $ac_includes_default
15049 long longval () { return (long) (sizeof (short)); }
15050 unsigned long ulongval () { return (long) (sizeof (short)); }
15052 #include <stdlib.h>
15057 FILE *f = fopen ("conftest.val", "w");
15060 if (((long) (sizeof (short))) < 0)
15062 long i = longval ();
15063 if (i != ((long) (sizeof (short))))
15065 fprintf (f, "%ld\n", i);
15069 unsigned long i = ulongval ();
15070 if (i != ((long) (sizeof (short))))
15072 fprintf (f, "%lu\n", i);
15074 exit (ferror (f) || fclose (f) != 0);
15080 rm -f conftest
$ac_exeext
15081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15082 (eval $ac_link) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_cv_sizeof_short
=`cat conftest.val`
15093 echo "$as_me: program exited with status $ac_status" >&5
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.
$ac_ext >&5
15097 ( exit $ac_status )
15098 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15099 See \`config.log' for more details." >&5
15100 echo "$as_me: error: cannot compute sizeof (short), 77
15101 See \`config.log' for more details." >&2;}
15102 { (exit 1); exit 1; }; }
15104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15109 ac_cv_sizeof_short
=0
15112 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15113 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15114 cat >>confdefs.h
<<_ACEOF
15115 #define SIZEOF_SHORT $ac_cv_sizeof_short
15119 echo "$as_me:$LINENO: checking for void *" >&5
15120 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15121 if test "${ac_cv_type_void_p+set}" = set; then
15122 echo $ECHO_N "(cached) $ECHO_C" >&6
15124 cat >conftest.
$ac_ext <<_ACEOF
15127 cat confdefs.h
>>conftest.
$ac_ext
15128 cat >>conftest.
$ac_ext <<_ACEOF
15129 /* end confdefs.h. */
15130 $ac_includes_default
15136 if (sizeof (void *))
15142 rm -f conftest.
$ac_objext
15143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15144 (eval $ac_compile) 2>conftest.er1
15146 grep -v '^ *+' conftest.er1
>conftest.err
15148 cat conftest.err
>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } &&
15151 { ac_try
='test -z "$ac_c_werror_flag"
15152 || test ! -s conftest.err'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; } &&
15158 { ac_try
='test -s conftest.$ac_objext'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; }; then
15164 ac_cv_type_void_p
=yes
15166 echo "$as_me: failed program was:" >&5
15167 sed 's/^/| /' conftest.
$ac_ext >&5
15169 ac_cv_type_void_p
=no
15171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15173 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15174 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15176 echo "$as_me:$LINENO: checking size of void *" >&5
15177 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15178 if test "${ac_cv_sizeof_void_p+set}" = set; then
15179 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 if test "$ac_cv_type_void_p" = yes; then
15182 # The cast to unsigned long works around a bug in the HP C Compiler
15183 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15184 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15185 # This bug is HP SR number 8606223364.
15186 if test "$cross_compiling" = yes; then
15187 # Depending upon the size, compute the lo and hi bounds.
15188 cat >conftest.
$ac_ext <<_ACEOF
15191 cat confdefs.h
>>conftest.
$ac_ext
15192 cat >>conftest.
$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 $ac_includes_default
15198 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15205 rm -f conftest.
$ac_objext
15206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15207 (eval $ac_compile) 2>conftest.er1
15209 grep -v '^ *+' conftest.er1
>conftest.err
15211 cat conftest.err
>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try
='test -z "$ac_c_werror_flag"
15215 || test ! -s conftest.err'
15216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }; } &&
15221 { ac_try
='test -s conftest.$ac_objext'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; }; then
15229 cat >conftest.
$ac_ext <<_ACEOF
15232 cat confdefs.h
>>conftest.
$ac_ext
15233 cat >>conftest.
$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235 $ac_includes_default
15239 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15246 rm -f conftest.
$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>conftest.er1
15250 grep -v '^ *+' conftest.er1
>conftest.err
15252 cat conftest.err
>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try
='test -z "$ac_c_werror_flag"
15256 || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try
='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_hi
=$ac_mid; break
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.
$ac_ext >&5
15273 ac_lo
=`expr $ac_mid + 1`
15274 if test $ac_lo -le $ac_mid; then
15278 ac_mid
=`expr 2 '*' $ac_mid + 1`
15280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.
$ac_ext >&5
15286 cat >conftest.
$ac_ext <<_ACEOF
15289 cat confdefs.h
>>conftest.
$ac_ext
15290 cat >>conftest.
$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15292 $ac_includes_default
15296 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15303 rm -f conftest.
$ac_objext
15304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15305 (eval $ac_compile) 2>conftest.er1
15307 grep -v '^ *+' conftest.er1
>conftest.err
15309 cat conftest.err
>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); } &&
15312 { ac_try
='test -z "$ac_c_werror_flag"
15313 || test ! -s conftest.err'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; } &&
15319 { ac_try
='test -s conftest.$ac_objext'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; }; then
15327 cat >conftest.
$ac_ext <<_ACEOF
15330 cat confdefs.h
>>conftest.
$ac_ext
15331 cat >>conftest.
$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333 $ac_includes_default
15337 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15344 rm -f conftest.
$ac_objext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15346 (eval $ac_compile) 2>conftest.er1
15348 grep -v '^ *+' conftest.er1
>conftest.err
15350 cat conftest.err
>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } &&
15353 { ac_try
='test -z "$ac_c_werror_flag"
15354 || test ! -s conftest.err'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; } &&
15360 { ac_try
='test -s conftest.$ac_objext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; }; then
15366 ac_lo
=$ac_mid; break
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.
$ac_ext >&5
15371 ac_hi
=`expr '(' $ac_mid ')' - 1`
15372 if test $ac_mid -le $ac_hi; then
15376 ac_mid
=`expr 2 '*' $ac_mid`
15378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15381 echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.
$ac_ext >&5
15386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15389 # Binary search between lo and hi bounds.
15390 while test "x$ac_lo" != "x$ac_hi"; do
15391 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15392 cat >conftest.
$ac_ext <<_ACEOF
15395 cat confdefs.h
>>conftest.
$ac_ext
15396 cat >>conftest.
$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 $ac_includes_default
15402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15409 rm -f conftest.
$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try
='test -z "$ac_c_werror_flag"
15419 || test ! -s conftest.err'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try
='test -s conftest.$ac_objext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.
$ac_ext >&5
15436 ac_lo
=`expr '(' $ac_mid ')' + 1`
15438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15441 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15442 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15443 See \`config.log' for more details." >&5
15444 echo "$as_me: error: cannot compute sizeof (void *), 77
15445 See \`config.log' for more details." >&2;}
15446 { (exit 1); exit 1; }; } ;;
15449 if test "$cross_compiling" = yes; then
15450 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15451 See \`config.log' for more details." >&5
15452 echo "$as_me: error: cannot run test program while cross compiling
15453 See \`config.log' for more details." >&2;}
15454 { (exit 1); exit 1; }; }
15456 cat >conftest.
$ac_ext <<_ACEOF
15459 cat confdefs.h
>>conftest.
$ac_ext
15460 cat >>conftest.
$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 $ac_includes_default
15463 long longval () { return (long) (sizeof (void *)); }
15464 unsigned long ulongval () { return (long) (sizeof (void *)); }
15466 #include <stdlib.h>
15471 FILE *f = fopen ("conftest.val", "w");
15474 if (((long) (sizeof (void *))) < 0)
15476 long i = longval ();
15477 if (i != ((long) (sizeof (void *))))
15479 fprintf (f, "%ld\n", i);
15483 unsigned long i = ulongval ();
15484 if (i != ((long) (sizeof (void *))))
15486 fprintf (f, "%lu\n", i);
15488 exit (ferror (f) || fclose (f) != 0);
15494 rm -f conftest
$ac_exeext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15496 (eval $ac_link) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15505 ac_cv_sizeof_void_p
=`cat conftest.val`
15507 echo "$as_me: program exited with status $ac_status" >&5
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.
$ac_ext >&5
15511 ( exit $ac_status )
15512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15513 See \`config.log' for more details." >&5
15514 echo "$as_me: error: cannot compute sizeof (void *), 77
15515 See \`config.log' for more details." >&2;}
15516 { (exit 1); exit 1; }; }
15518 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15523 ac_cv_sizeof_void_p
=0
15526 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15527 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15528 cat >>confdefs.h
<<_ACEOF
15529 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15533 echo "$as_me:$LINENO: checking for int" >&5
15534 echo $ECHO_N "checking for int... $ECHO_C" >&6
15535 if test "${ac_cv_type_int+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 cat >conftest.
$ac_ext <<_ACEOF
15541 cat confdefs.h
>>conftest.
$ac_ext
15542 cat >>conftest.
$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544 $ac_includes_default
15556 rm -f conftest.
$ac_objext
15557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15558 (eval $ac_compile) 2>conftest.er1
15560 grep -v '^ *+' conftest.er1
>conftest.err
15562 cat conftest.err
>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } &&
15565 { ac_try
='test -z "$ac_c_werror_flag"
15566 || test ! -s conftest.err'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; } &&
15572 { ac_try
='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.
$ac_ext >&5
15585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15587 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15588 echo "${ECHO_T}$ac_cv_type_int" >&6
15590 echo "$as_me:$LINENO: checking size of int" >&5
15591 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15592 if test "${ac_cv_sizeof_int+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 if test "$ac_cv_type_int" = yes; then
15596 # The cast to unsigned long works around a bug in the HP C Compiler
15597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15599 # This bug is HP SR number 8606223364.
15600 if test "$cross_compiling" = yes; then
15601 # Depending upon the size, compute the lo and hi bounds.
15602 cat >conftest.
$ac_ext <<_ACEOF
15605 cat confdefs.h
>>conftest.
$ac_ext
15606 cat >>conftest.
$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15612 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15619 rm -f conftest.
$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15623 grep -v '^ *+' conftest.er1
>conftest.err
15625 cat conftest.err
>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try
='test -z "$ac_c_werror_flag"
15629 || test ! -s conftest.err'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try
='test -s conftest.$ac_objext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15643 cat >conftest.
$ac_ext <<_ACEOF
15646 cat confdefs.h
>>conftest.
$ac_ext
15647 cat >>conftest.
$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649 $ac_includes_default
15653 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15660 rm -f conftest.
$ac_objext
15661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15662 (eval $ac_compile) 2>conftest.er1
15664 grep -v '^ *+' conftest.er1
>conftest.err
15666 cat conftest.err
>&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try
='test -z "$ac_c_werror_flag"
15670 || test ! -s conftest.err'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; } &&
15676 { ac_try
='test -s conftest.$ac_objext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15682 ac_hi
=$ac_mid; break
15684 echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.
$ac_ext >&5
15687 ac_lo
=`expr $ac_mid + 1`
15688 if test $ac_lo -le $ac_mid; then
15692 ac_mid
=`expr 2 '*' $ac_mid + 1`
15694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.
$ac_ext >&5
15700 cat >conftest.
$ac_ext <<_ACEOF
15703 cat confdefs.h
>>conftest.
$ac_ext
15704 cat >>conftest.
$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15710 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15717 rm -f conftest.
$ac_objext
15718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15719 (eval $ac_compile) 2>conftest.er1
15721 grep -v '^ *+' conftest.er1
>conftest.err
15723 cat conftest.err
>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } &&
15726 { ac_try
='test -z "$ac_c_werror_flag"
15727 || test ! -s conftest.err'
15728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729 (eval $ac_try) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; } &&
15733 { ac_try
='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15741 cat >conftest.
$ac_ext <<_ACEOF
15744 cat confdefs.h
>>conftest.
$ac_ext
15745 cat >>conftest.
$ac_ext <<_ACEOF
15746 /* end confdefs.h. */
15747 $ac_includes_default
15751 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15758 rm -f conftest.
$ac_objext
15759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15760 (eval $ac_compile) 2>conftest.er1
15762 grep -v '^ *+' conftest.er1
>conftest.err
15764 cat conftest.err
>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } &&
15767 { ac_try
='test -z "$ac_c_werror_flag"
15768 || test ! -s conftest.err'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; } &&
15774 { ac_try
='test -s conftest.$ac_objext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_lo
=$ac_mid; break
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.
$ac_ext >&5
15785 ac_hi
=`expr '(' $ac_mid ')' - 1`
15786 if test $ac_mid -le $ac_hi; then
15790 ac_mid
=`expr 2 '*' $ac_mid`
15792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.
$ac_ext >&5
15800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15803 # Binary search between lo and hi bounds.
15804 while test "x$ac_lo" != "x$ac_hi"; do
15805 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15806 cat >conftest.
$ac_ext <<_ACEOF
15809 cat confdefs.h
>>conftest.
$ac_ext
15810 cat >>conftest.
$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812 $ac_includes_default
15816 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15823 rm -f conftest.
$ac_objext
15824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15825 (eval $ac_compile) 2>conftest.er1
15827 grep -v '^ *+' conftest.er1
>conftest.err
15829 cat conftest.err
>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } &&
15832 { ac_try
='test -z "$ac_c_werror_flag"
15833 || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try
='test -s conftest.$ac_objext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.
$ac_ext >&5
15850 ac_lo
=`expr '(' $ac_mid ')' + 1`
15852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15855 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15857 See \`config.log' for more details." >&5
15858 echo "$as_me: error: cannot compute sizeof (int), 77
15859 See \`config.log' for more details." >&2;}
15860 { (exit 1); exit 1; }; } ;;
15863 if test "$cross_compiling" = yes; then
15864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15865 See \`config.log' for more details." >&5
15866 echo "$as_me: error: cannot run test program while cross compiling
15867 See \`config.log' for more details." >&2;}
15868 { (exit 1); exit 1; }; }
15870 cat >conftest.
$ac_ext <<_ACEOF
15873 cat confdefs.h
>>conftest.
$ac_ext
15874 cat >>conftest.
$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 $ac_includes_default
15877 long longval () { return (long) (sizeof (int)); }
15878 unsigned long ulongval () { return (long) (sizeof (int)); }
15880 #include <stdlib.h>
15885 FILE *f = fopen ("conftest.val", "w");
15888 if (((long) (sizeof (int))) < 0)
15890 long i = longval ();
15891 if (i != ((long) (sizeof (int))))
15893 fprintf (f, "%ld\n", i);
15897 unsigned long i = ulongval ();
15898 if (i != ((long) (sizeof (int))))
15900 fprintf (f, "%lu\n", i);
15902 exit (ferror (f) || fclose (f) != 0);
15908 rm -f conftest
$ac_exeext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15910 (eval $ac_link) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 ac_cv_sizeof_int
=`cat conftest.val`
15921 echo "$as_me: program exited with status $ac_status" >&5
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.
$ac_ext >&5
15925 ( exit $ac_status )
15926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15927 See \`config.log' for more details." >&5
15928 echo "$as_me: error: cannot compute sizeof (int), 77
15929 See \`config.log' for more details." >&2;}
15930 { (exit 1); exit 1; }; }
15932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15941 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15942 cat >>confdefs.h
<<_ACEOF
15943 #define SIZEOF_INT $ac_cv_sizeof_int
15947 echo "$as_me:$LINENO: checking for long" >&5
15948 echo $ECHO_N "checking for long... $ECHO_C" >&6
15949 if test "${ac_cv_type_long+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 cat >conftest.
$ac_ext <<_ACEOF
15955 cat confdefs.h
>>conftest.
$ac_ext
15956 cat >>conftest.
$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958 $ac_includes_default
15970 rm -f conftest.
$ac_objext
15971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15972 (eval $ac_compile) 2>conftest.er1
15974 grep -v '^ *+' conftest.er1
>conftest.err
15976 cat conftest.err
>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try
='test -z "$ac_c_werror_flag"
15980 || test ! -s conftest.err'
15981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15982 (eval $ac_try) 2>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); }; } &&
15986 { ac_try
='test -s conftest.$ac_objext'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_cv_type_long
=yes
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.
$ac_ext >&5
15999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16001 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16002 echo "${ECHO_T}$ac_cv_type_long" >&6
16004 echo "$as_me:$LINENO: checking size of long" >&5
16005 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16006 if test "${ac_cv_sizeof_long+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 if test "$ac_cv_type_long" = yes; then
16010 # The cast to unsigned long works around a bug in the HP C Compiler
16011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16013 # This bug is HP SR number 8606223364.
16014 if test "$cross_compiling" = yes; then
16015 # Depending upon the size, compute the lo and hi bounds.
16016 cat >conftest.
$ac_ext <<_ACEOF
16019 cat confdefs.h
>>conftest.
$ac_ext
16020 cat >>conftest.
$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16022 $ac_includes_default
16026 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16033 rm -f conftest.
$ac_objext
16034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16035 (eval $ac_compile) 2>conftest.er1
16037 grep -v '^ *+' conftest.er1
>conftest.err
16039 cat conftest.err
>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try
='test -z "$ac_c_werror_flag"
16043 || test ! -s conftest.err'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; } &&
16049 { ac_try
='test -s conftest.$ac_objext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16057 cat >conftest.
$ac_ext <<_ACEOF
16060 cat confdefs.h
>>conftest.
$ac_ext
16061 cat >>conftest.
$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 $ac_includes_default
16067 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16074 rm -f conftest.
$ac_objext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16076 (eval $ac_compile) 2>conftest.er1
16078 grep -v '^ *+' conftest.er1
>conftest.err
16080 cat conftest.err
>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try
='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try
='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_hi
=$ac_mid; break
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.
$ac_ext >&5
16101 ac_lo
=`expr $ac_mid + 1`
16102 if test $ac_lo -le $ac_mid; then
16106 ac_mid
=`expr 2 '*' $ac_mid + 1`
16108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16111 echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.
$ac_ext >&5
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 $ac_includes_default
16124 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16131 rm -f conftest.
$ac_objext
16132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16133 (eval $ac_compile) 2>conftest.er1
16135 grep -v '^ *+' conftest.er1
>conftest.err
16137 cat conftest.err
>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } &&
16140 { ac_try
='test -z "$ac_c_werror_flag"
16141 || test ! -s conftest.err'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; } &&
16147 { ac_try
='test -s conftest.$ac_objext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16155 cat >conftest.
$ac_ext <<_ACEOF
16158 cat confdefs.h
>>conftest.
$ac_ext
16159 cat >>conftest.
$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16161 $ac_includes_default
16165 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16172 rm -f conftest.
$ac_objext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16174 (eval $ac_compile) 2>conftest.er1
16176 grep -v '^ *+' conftest.er1
>conftest.err
16178 cat conftest.err
>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try
='test -z "$ac_c_werror_flag"
16182 || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try
='test -s conftest.$ac_objext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16194 ac_lo
=$ac_mid; break
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.
$ac_ext >&5
16199 ac_hi
=`expr '(' $ac_mid ')' - 1`
16200 if test $ac_mid -le $ac_hi; then
16204 ac_mid
=`expr 2 '*' $ac_mid`
16206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16209 echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.
$ac_ext >&5
16214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16217 # Binary search between lo and hi bounds.
16218 while test "x$ac_lo" != "x$ac_hi"; do
16219 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16220 cat >conftest.
$ac_ext <<_ACEOF
16223 cat confdefs.h
>>conftest.
$ac_ext
16224 cat >>conftest.
$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 $ac_includes_default
16230 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16237 rm -f conftest.
$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1
>conftest.err
16243 cat conftest.err
>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try
='test -z "$ac_c_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try
='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.
$ac_ext >&5
16264 ac_lo
=`expr '(' $ac_mid ')' + 1`
16266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16269 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16270 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16271 See \`config.log' for more details." >&5
16272 echo "$as_me: error: cannot compute sizeof (long), 77
16273 See \`config.log' for more details." >&2;}
16274 { (exit 1); exit 1; }; } ;;
16277 if test "$cross_compiling" = yes; then
16278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16279 See \`config.log' for more details." >&5
16280 echo "$as_me: error: cannot run test program while cross compiling
16281 See \`config.log' for more details." >&2;}
16282 { (exit 1); exit 1; }; }
16284 cat >conftest.
$ac_ext <<_ACEOF
16287 cat confdefs.h
>>conftest.
$ac_ext
16288 cat >>conftest.
$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16291 long longval () { return (long) (sizeof (long)); }
16292 unsigned long ulongval () { return (long) (sizeof (long)); }
16294 #include <stdlib.h>
16299 FILE *f = fopen ("conftest.val", "w");
16302 if (((long) (sizeof (long))) < 0)
16304 long i = longval ();
16305 if (i != ((long) (sizeof (long))))
16307 fprintf (f, "%ld\n", i);
16311 unsigned long i = ulongval ();
16312 if (i != ((long) (sizeof (long))))
16314 fprintf (f, "%lu\n", i);
16316 exit (ferror (f) || fclose (f) != 0);
16322 rm -f conftest
$ac_exeext
16323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16324 (eval $ac_link) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16333 ac_cv_sizeof_long
=`cat conftest.val`
16335 echo "$as_me: program exited with status $ac_status" >&5
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.
$ac_ext >&5
16339 ( exit $ac_status )
16340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16341 See \`config.log' for more details." >&5
16342 echo "$as_me: error: cannot compute sizeof (long), 77
16343 See \`config.log' for more details." >&2;}
16344 { (exit 1); exit 1; }; }
16346 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16351 ac_cv_sizeof_long
=0
16354 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16355 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16356 cat >>confdefs.h
<<_ACEOF
16357 #define SIZEOF_LONG $ac_cv_sizeof_long
16361 echo "$as_me:$LINENO: checking for size_t" >&5
16362 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16363 if test "${ac_cv_type_size_t+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 cat >conftest.
$ac_ext <<_ACEOF
16369 cat confdefs.h
>>conftest.
$ac_ext
16370 cat >>conftest.
$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16378 if (sizeof (size_t))
16384 rm -f conftest.
$ac_objext
16385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16386 (eval $ac_compile) 2>conftest.er1
16388 grep -v '^ *+' conftest.er1
>conftest.err
16390 cat conftest.err
>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } &&
16393 { ac_try
='test -z "$ac_c_werror_flag"
16394 || test ! -s conftest.err'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; } &&
16400 { ac_try
='test -s conftest.$ac_objext'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; }; then
16406 ac_cv_type_size_t
=yes
16408 echo "$as_me: failed program was:" >&5
16409 sed 's/^/| /' conftest.
$ac_ext >&5
16411 ac_cv_type_size_t
=no
16413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16415 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16416 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16418 echo "$as_me:$LINENO: checking size of size_t" >&5
16419 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16420 if test "${ac_cv_sizeof_size_t+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 if test "$ac_cv_type_size_t" = yes; then
16424 # The cast to unsigned long works around a bug in the HP C Compiler
16425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16427 # This bug is HP SR number 8606223364.
16428 if test "$cross_compiling" = yes; then
16429 # Depending upon the size, compute the lo and hi bounds.
16430 cat >conftest.
$ac_ext <<_ACEOF
16433 cat confdefs.h
>>conftest.
$ac_ext
16434 cat >>conftest.
$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 $ac_includes_default
16440 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16447 rm -f conftest.
$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>conftest.er1
16451 grep -v '^ *+' conftest.er1
>conftest.err
16453 cat conftest.err
>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } &&
16456 { ac_try
='test -z "$ac_c_werror_flag"
16457 || test ! -s conftest.err'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; } &&
16463 { ac_try
='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16471 cat >conftest.
$ac_ext <<_ACEOF
16474 cat confdefs.h
>>conftest.
$ac_ext
16475 cat >>conftest.
$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 $ac_includes_default
16481 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16488 rm -f conftest.
$ac_objext
16489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16490 (eval $ac_compile) 2>conftest.er1
16492 grep -v '^ *+' conftest.er1
>conftest.err
16494 cat conftest.err
>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } &&
16497 { ac_try
='test -z "$ac_c_werror_flag"
16498 || test ! -s conftest.err'
16499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16500 (eval $ac_try) 2>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); }; } &&
16504 { ac_try
='test -s conftest.$ac_objext'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; }; then
16510 ac_hi
=$ac_mid; break
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.
$ac_ext >&5
16515 ac_lo
=`expr $ac_mid + 1`
16516 if test $ac_lo -le $ac_mid; then
16520 ac_mid
=`expr 2 '*' $ac_mid + 1`
16522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16525 echo "$as_me: failed program was:" >&5
16526 sed 's/^/| /' conftest.
$ac_ext >&5
16528 cat >conftest.
$ac_ext <<_ACEOF
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 $ac_includes_default
16538 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16545 rm -f conftest.
$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16549 grep -v '^ *+' conftest.er1
>conftest.err
16551 cat conftest.err
>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try
='test -z "$ac_c_werror_flag"
16555 || test ! -s conftest.err'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try
='test -s conftest.$ac_objext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16569 cat >conftest.
$ac_ext <<_ACEOF
16572 cat confdefs.h
>>conftest.
$ac_ext
16573 cat >>conftest.
$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16575 $ac_includes_default
16579 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16586 rm -f conftest.
$ac_objext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16588 (eval $ac_compile) 2>conftest.er1
16590 grep -v '^ *+' conftest.er1
>conftest.err
16592 cat conftest.err
>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try
='test -z "$ac_c_werror_flag"
16596 || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try
='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 ac_lo
=$ac_mid; break
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.
$ac_ext >&5
16613 ac_hi
=`expr '(' $ac_mid ')' - 1`
16614 if test $ac_mid -le $ac_hi; then
16618 ac_mid
=`expr 2 '*' $ac_mid`
16620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.
$ac_ext >&5
16628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16631 # Binary search between lo and hi bounds.
16632 while test "x$ac_lo" != "x$ac_hi"; do
16633 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16634 cat >conftest.
$ac_ext <<_ACEOF
16637 cat confdefs.h
>>conftest.
$ac_ext
16638 cat >>conftest.
$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16640 $ac_includes_default
16644 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16651 rm -f conftest.
$ac_objext
16652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16653 (eval $ac_compile) 2>conftest.er1
16655 grep -v '^ *+' conftest.er1
>conftest.err
16657 cat conftest.err
>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try
='test -z "$ac_c_werror_flag"
16661 || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try
='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.
$ac_ext >&5
16678 ac_lo
=`expr '(' $ac_mid ')' + 1`
16680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16683 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16684 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16685 See \`config.log' for more details." >&5
16686 echo "$as_me: error: cannot compute sizeof (size_t), 77
16687 See \`config.log' for more details." >&2;}
16688 { (exit 1); exit 1; }; } ;;
16691 if test "$cross_compiling" = yes; then
16692 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16693 See \`config.log' for more details." >&5
16694 echo "$as_me: error: cannot run test program while cross compiling
16695 See \`config.log' for more details." >&2;}
16696 { (exit 1); exit 1; }; }
16698 cat >conftest.
$ac_ext <<_ACEOF
16701 cat confdefs.h
>>conftest.
$ac_ext
16702 cat >>conftest.
$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 $ac_includes_default
16705 long longval () { return (long) (sizeof (size_t)); }
16706 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16708 #include <stdlib.h>
16713 FILE *f = fopen ("conftest.val", "w");
16716 if (((long) (sizeof (size_t))) < 0)
16718 long i = longval ();
16719 if (i != ((long) (sizeof (size_t))))
16721 fprintf (f, "%ld\n", i);
16725 unsigned long i = ulongval ();
16726 if (i != ((long) (sizeof (size_t))))
16728 fprintf (f, "%lu\n", i);
16730 exit (ferror (f) || fclose (f) != 0);
16736 rm -f conftest
$ac_exeext
16737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16738 (eval $ac_link) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; }; then
16747 ac_cv_sizeof_size_t
=`cat conftest.val`
16749 echo "$as_me: program exited with status $ac_status" >&5
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.
$ac_ext >&5
16753 ( exit $ac_status )
16754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16755 See \`config.log' for more details." >&5
16756 echo "$as_me: error: cannot compute sizeof (size_t), 77
16757 See \`config.log' for more details." >&2;}
16758 { (exit 1); exit 1; }; }
16760 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16765 ac_cv_sizeof_size_t
=0
16768 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16769 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16770 cat >>confdefs.h
<<_ACEOF
16771 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16778 echo "$as_me:$LINENO: checking for long long" >&5
16779 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16780 if test "${ac_cv_type_long_long+set}" = set; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16783 cat >conftest.
$ac_ext <<_ACEOF
16786 cat confdefs.h
>>conftest.
$ac_ext
16787 cat >>conftest.
$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789 $ac_includes_default
16793 if ((long long *) 0)
16795 if (sizeof (long long))
16801 rm -f conftest.
$ac_objext
16802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16803 (eval $ac_compile) 2>conftest.er1
16805 grep -v '^ *+' conftest.er1
>conftest.err
16807 cat conftest.err
>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try
='test -z "$ac_c_werror_flag"
16811 || test ! -s conftest.err'
16812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16813 (eval $ac_try) 2>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); }; } &&
16817 { ac_try
='test -s conftest.$ac_objext'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; }; then
16823 ac_cv_type_long_long
=yes
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.
$ac_ext >&5
16828 ac_cv_type_long_long
=no
16830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16832 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16833 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16835 echo "$as_me:$LINENO: checking size of long long" >&5
16836 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16837 if test "${ac_cv_sizeof_long_long+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 if test "$ac_cv_type_long_long" = yes; then
16841 # The cast to unsigned long works around a bug in the HP C Compiler
16842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16844 # This bug is HP SR number 8606223364.
16845 if test "$cross_compiling" = yes; then
16846 # Depending upon the size, compute the lo and hi bounds.
16847 cat >conftest.
$ac_ext <<_ACEOF
16850 cat confdefs.h
>>conftest.
$ac_ext
16851 cat >>conftest.
$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 $ac_includes_default
16857 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16864 rm -f conftest.
$ac_objext
16865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16866 (eval $ac_compile) 2>conftest.er1
16868 grep -v '^ *+' conftest.er1
>conftest.err
16870 cat conftest.err
>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } &&
16873 { ac_try
='test -z "$ac_c_werror_flag"
16874 || test ! -s conftest.err'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; } &&
16880 { ac_try
='test -s conftest.$ac_objext'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; }; then
16888 cat >conftest.
$ac_ext <<_ACEOF
16891 cat confdefs.h
>>conftest.
$ac_ext
16892 cat >>conftest.
$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16905 rm -f conftest.
$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16909 grep -v '^ *+' conftest.er1
>conftest.err
16911 cat conftest.err
>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -z "$ac_c_werror_flag"
16915 || test ! -s conftest.err'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; } &&
16921 { ac_try
='test -s conftest.$ac_objext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 ac_hi
=$ac_mid; break
16929 echo "$as_me: failed program was:" >&5
16930 sed 's/^/| /' conftest.
$ac_ext >&5
16932 ac_lo
=`expr $ac_mid + 1`
16933 if test $ac_lo -le $ac_mid; then
16937 ac_mid
=`expr 2 '*' $ac_mid + 1`
16939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.
$ac_ext >&5
16945 cat >conftest.
$ac_ext <<_ACEOF
16948 cat confdefs.h
>>conftest.
$ac_ext
16949 cat >>conftest.
$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16962 rm -f conftest.
$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16966 grep -v '^ *+' conftest.er1
>conftest.err
16968 cat conftest.err
>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try
='test -z "$ac_c_werror_flag"
16972 || test ! -s conftest.err'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; } &&
16978 { ac_try
='test -s conftest.$ac_objext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16986 cat >conftest.
$ac_ext <<_ACEOF
16989 cat confdefs.h
>>conftest.
$ac_ext
16990 cat >>conftest.
$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16996 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17003 rm -f conftest.
$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try
='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_lo
=$ac_mid; break
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.
$ac_ext >&5
17030 ac_hi
=`expr '(' $ac_mid ')' - 1`
17031 if test $ac_mid -le $ac_hi; then
17035 ac_mid
=`expr 2 '*' $ac_mid`
17037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.
$ac_ext >&5
17045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17048 # Binary search between lo and hi bounds.
17049 while test "x$ac_lo" != "x$ac_hi"; do
17050 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17051 cat >conftest.
$ac_ext <<_ACEOF
17054 cat confdefs.h
>>conftest.
$ac_ext
17055 cat >>conftest.
$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 $ac_includes_default
17061 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17068 rm -f conftest.
$ac_objext
17069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17070 (eval $ac_compile) 2>conftest.er1
17072 grep -v '^ *+' conftest.er1
>conftest.err
17074 cat conftest.err
>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } &&
17077 { ac_try
='test -z "$ac_c_werror_flag"
17078 || test ! -s conftest.err'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; } &&
17084 { ac_try
='test -s conftest.$ac_objext'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; }; then
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.
$ac_ext >&5
17095 ac_lo
=`expr '(' $ac_mid ')' + 1`
17097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17100 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17101 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17102 See \`config.log' for more details." >&5
17103 echo "$as_me: error: cannot compute sizeof (long long), 77
17104 See \`config.log' for more details." >&2;}
17105 { (exit 1); exit 1; }; } ;;
17108 if test "$cross_compiling" = yes; then
17109 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17110 See \`config.log' for more details." >&5
17111 echo "$as_me: error: cannot run test program while cross compiling
17112 See \`config.log' for more details." >&2;}
17113 { (exit 1); exit 1; }; }
17115 cat >conftest.
$ac_ext <<_ACEOF
17118 cat confdefs.h
>>conftest.
$ac_ext
17119 cat >>conftest.
$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 $ac_includes_default
17122 long longval () { return (long) (sizeof (long long)); }
17123 unsigned long ulongval () { return (long) (sizeof (long long)); }
17125 #include <stdlib.h>
17130 FILE *f = fopen ("conftest.val", "w");
17133 if (((long) (sizeof (long long))) < 0)
17135 long i = longval ();
17136 if (i != ((long) (sizeof (long long))))
17138 fprintf (f, "%ld\n", i);
17142 unsigned long i = ulongval ();
17143 if (i != ((long) (sizeof (long long))))
17145 fprintf (f, "%lu\n", i);
17147 exit (ferror (f) || fclose (f) != 0);
17153 rm -f conftest
$ac_exeext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17155 (eval $ac_link) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17164 ac_cv_sizeof_long_long
=`cat conftest.val`
17166 echo "$as_me: program exited with status $ac_status" >&5
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.
$ac_ext >&5
17170 ( exit $ac_status )
17171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17172 See \`config.log' for more details." >&5
17173 echo "$as_me: error: cannot compute sizeof (long long), 77
17174 See \`config.log' for more details." >&2;}
17175 { (exit 1); exit 1; }; }
17177 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17182 ac_cv_sizeof_long_long
=0
17185 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17186 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17187 cat >>confdefs.h
<<_ACEOF
17188 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17194 echo "$as_me:$LINENO: checking for long long" >&5
17195 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17196 if test "${ac_cv_type_long_long+set}" = set; then
17197 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 cat >conftest.
$ac_ext <<_ACEOF
17202 cat confdefs.h
>>conftest.
$ac_ext
17203 cat >>conftest.
$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17209 if ((long long *) 0)
17211 if (sizeof (long long))
17217 rm -f conftest.
$ac_objext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17219 (eval $ac_compile) 2>conftest.er1
17221 grep -v '^ *+' conftest.er1
>conftest.err
17223 cat conftest.err
>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try
='test -z "$ac_c_werror_flag"
17227 || test ! -s conftest.err'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; } &&
17233 { ac_try
='test -s conftest.$ac_objext'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; }; then
17239 ac_cv_type_long_long
=yes
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.
$ac_ext >&5
17244 ac_cv_type_long_long
=no
17246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17248 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17249 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17251 echo "$as_me:$LINENO: checking size of long long" >&5
17252 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17253 if test "${ac_cv_sizeof_long_long+set}" = set; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17256 if test "$ac_cv_type_long_long" = yes; then
17257 # The cast to unsigned long works around a bug in the HP C Compiler
17258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17260 # This bug is HP SR number 8606223364.
17261 if test "$cross_compiling" = yes; then
17262 # Depending upon the size, compute the lo and hi bounds.
17263 cat >conftest.
$ac_ext <<_ACEOF
17266 cat confdefs.h
>>conftest.
$ac_ext
17267 cat >>conftest.
$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 $ac_includes_default
17273 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17280 rm -f conftest.
$ac_objext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17282 (eval $ac_compile) 2>conftest.er1
17284 grep -v '^ *+' conftest.er1
>conftest.err
17286 cat conftest.err
>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } &&
17289 { ac_try
='test -z "$ac_c_werror_flag"
17290 || test ! -s conftest.err'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try
='test -s conftest.$ac_objext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17304 cat >conftest.
$ac_ext <<_ACEOF
17307 cat confdefs.h
>>conftest.
$ac_ext
17308 cat >>conftest.
$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 $ac_includes_default
17314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17321 rm -f conftest.
$ac_objext
17322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17323 (eval $ac_compile) 2>conftest.er1
17325 grep -v '^ *+' conftest.er1
>conftest.err
17327 cat conftest.err
>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } &&
17330 { ac_try
='test -z "$ac_c_werror_flag"
17331 || test ! -s conftest.err'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; } &&
17337 { ac_try
='test -s conftest.$ac_objext'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17343 ac_hi
=$ac_mid; break
17345 echo "$as_me: failed program was:" >&5
17346 sed 's/^/| /' conftest.
$ac_ext >&5
17348 ac_lo
=`expr $ac_mid + 1`
17349 if test $ac_lo -le $ac_mid; then
17353 ac_mid
=`expr 2 '*' $ac_mid + 1`
17355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.
$ac_ext >&5
17361 cat >conftest.
$ac_ext <<_ACEOF
17364 cat confdefs.h
>>conftest.
$ac_ext
17365 cat >>conftest.
$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17367 $ac_includes_default
17371 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17378 rm -f conftest.
$ac_objext
17379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17380 (eval $ac_compile) 2>conftest.er1
17382 grep -v '^ *+' conftest.er1
>conftest.err
17384 cat conftest.err
>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); } &&
17387 { ac_try
='test -z "$ac_c_werror_flag"
17388 || test ! -s conftest.err'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; } &&
17394 { ac_try
='test -s conftest.$ac_objext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17402 cat >conftest.
$ac_ext <<_ACEOF
17405 cat confdefs.h
>>conftest.
$ac_ext
17406 cat >>conftest.
$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408 $ac_includes_default
17412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17419 rm -f conftest.
$ac_objext
17420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17421 (eval $ac_compile) 2>conftest.er1
17423 grep -v '^ *+' conftest.er1
>conftest.err
17425 cat conftest.err
>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } &&
17428 { ac_try
='test -z "$ac_c_werror_flag"
17429 || test ! -s conftest.err'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; } &&
17435 { ac_try
='test -s conftest.$ac_objext'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; }; then
17441 ac_lo
=$ac_mid; break
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.
$ac_ext >&5
17446 ac_hi
=`expr '(' $ac_mid ')' - 1`
17447 if test $ac_mid -le $ac_hi; then
17451 ac_mid
=`expr 2 '*' $ac_mid`
17453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.
$ac_ext >&5
17461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17464 # Binary search between lo and hi bounds.
17465 while test "x$ac_lo" != "x$ac_hi"; do
17466 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17467 cat >conftest.
$ac_ext <<_ACEOF
17470 cat confdefs.h
>>conftest.
$ac_ext
17471 cat >>conftest.
$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17473 $ac_includes_default
17477 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17484 rm -f conftest.
$ac_objext
17485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17486 (eval $ac_compile) 2>conftest.er1
17488 grep -v '^ *+' conftest.er1
>conftest.err
17490 cat conftest.err
>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } &&
17493 { ac_try
='test -z "$ac_c_werror_flag"
17494 || test ! -s conftest.err'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; } &&
17500 { ac_try
='test -s conftest.$ac_objext'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; }; then
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.
$ac_ext >&5
17511 ac_lo
=`expr '(' $ac_mid ')' + 1`
17513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17516 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17517 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17518 See \`config.log' for more details." >&5
17519 echo "$as_me: error: cannot compute sizeof (long long), 77
17520 See \`config.log' for more details." >&2;}
17521 { (exit 1); exit 1; }; } ;;
17524 if test "$cross_compiling" = yes; then
17525 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17526 See \`config.log' for more details." >&5
17527 echo "$as_me: error: cannot run test program while cross compiling
17528 See \`config.log' for more details." >&2;}
17529 { (exit 1); exit 1; }; }
17531 cat >conftest.
$ac_ext <<_ACEOF
17534 cat confdefs.h
>>conftest.
$ac_ext
17535 cat >>conftest.
$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537 $ac_includes_default
17538 long longval () { return (long) (sizeof (long long)); }
17539 unsigned long ulongval () { return (long) (sizeof (long long)); }
17541 #include <stdlib.h>
17546 FILE *f = fopen ("conftest.val", "w");
17549 if (((long) (sizeof (long long))) < 0)
17551 long i = longval ();
17552 if (i != ((long) (sizeof (long long))))
17554 fprintf (f, "%ld\n", i);
17558 unsigned long i = ulongval ();
17559 if (i != ((long) (sizeof (long long))))
17561 fprintf (f, "%lu\n", i);
17563 exit (ferror (f) || fclose (f) != 0);
17569 rm -f conftest
$ac_exeext
17570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17571 (eval $ac_link) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17580 ac_cv_sizeof_long_long
=`cat conftest.val`
17582 echo "$as_me: program exited with status $ac_status" >&5
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.
$ac_ext >&5
17586 ( exit $ac_status )
17587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17588 See \`config.log' for more details." >&5
17589 echo "$as_me: error: cannot compute sizeof (long long), 77
17590 See \`config.log' for more details." >&2;}
17591 { (exit 1); exit 1; }; }
17593 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17598 ac_cv_sizeof_long_long
=0
17601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17602 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17603 cat >>confdefs.h
<<_ACEOF
17604 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17608 if test "$ac_cv_sizeof_long_long" != "0"; then
17609 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17613 echo "$as_me:$LINENO: checking for long long" >&5
17614 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17615 if test "${ac_cv_type_long_long+set}" = set; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17618 cat >conftest.
$ac_ext <<_ACEOF
17621 cat confdefs.h
>>conftest.
$ac_ext
17622 cat >>conftest.
$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 $ac_includes_default
17628 if ((long long *) 0)
17630 if (sizeof (long long))
17636 rm -f conftest.
$ac_objext
17637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17638 (eval $ac_compile) 2>conftest.er1
17640 grep -v '^ *+' conftest.er1
>conftest.err
17642 cat conftest.err
>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } &&
17645 { ac_try
='test -z "$ac_c_werror_flag"
17646 || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try
='test -s conftest.$ac_objext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_cv_type_long_long
=yes
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.
$ac_ext >&5
17663 ac_cv_type_long_long
=no
17665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17667 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17668 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17670 echo "$as_me:$LINENO: checking size of long long" >&5
17671 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17672 if test "${ac_cv_sizeof_long_long+set}" = set; then
17673 echo $ECHO_N "(cached) $ECHO_C" >&6
17675 if test "$ac_cv_type_long_long" = yes; then
17676 # The cast to unsigned long works around a bug in the HP C Compiler
17677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17679 # This bug is HP SR number 8606223364.
17680 if test "$cross_compiling" = yes; then
17681 # Depending upon the size, compute the lo and hi bounds.
17682 cat >conftest.
$ac_ext <<_ACEOF
17685 cat confdefs.h
>>conftest.
$ac_ext
17686 cat >>conftest.
$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 $ac_includes_default
17692 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17699 rm -f conftest.
$ac_objext
17700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17701 (eval $ac_compile) 2>conftest.er1
17703 grep -v '^ *+' conftest.er1
>conftest.err
17705 cat conftest.err
>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } &&
17708 { ac_try
='test -z "$ac_c_werror_flag"
17709 || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try
='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17723 cat >conftest.
$ac_ext <<_ACEOF
17726 cat confdefs.h
>>conftest.
$ac_ext
17727 cat >>conftest.
$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17733 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17740 rm -f conftest.
$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17744 grep -v '^ *+' conftest.er1
>conftest.err
17746 cat conftest.err
>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try
='test -z "$ac_c_werror_flag"
17750 || test ! -s conftest.err'
17751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 (eval $ac_try) 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; } &&
17756 { ac_try
='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 ac_hi
=$ac_mid; break
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.
$ac_ext >&5
17767 ac_lo
=`expr $ac_mid + 1`
17768 if test $ac_lo -le $ac_mid; then
17772 ac_mid
=`expr 2 '*' $ac_mid + 1`
17774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.
$ac_ext >&5
17780 cat >conftest.
$ac_ext <<_ACEOF
17783 cat confdefs.h
>>conftest.
$ac_ext
17784 cat >>conftest.
$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 $ac_includes_default
17790 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17797 rm -f conftest.
$ac_objext
17798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17799 (eval $ac_compile) 2>conftest.er1
17801 grep -v '^ *+' conftest.er1
>conftest.err
17803 cat conftest.err
>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } &&
17806 { ac_try
='test -z "$ac_c_werror_flag"
17807 || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try
='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17821 cat >conftest.
$ac_ext <<_ACEOF
17824 cat confdefs.h
>>conftest.
$ac_ext
17825 cat >>conftest.
$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17831 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17838 rm -f conftest.
$ac_objext
17839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17840 (eval $ac_compile) 2>conftest.er1
17842 grep -v '^ *+' conftest.er1
>conftest.err
17844 cat conftest.err
>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } &&
17847 { ac_try
='test -z "$ac_c_werror_flag"
17848 || test ! -s conftest.err'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; } &&
17854 { ac_try
='test -s conftest.$ac_objext'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; }; then
17860 ac_lo
=$ac_mid; break
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.
$ac_ext >&5
17865 ac_hi
=`expr '(' $ac_mid ')' - 1`
17866 if test $ac_mid -le $ac_hi; then
17870 ac_mid
=`expr 2 '*' $ac_mid`
17872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.
$ac_ext >&5
17880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17883 # Binary search between lo and hi bounds.
17884 while test "x$ac_lo" != "x$ac_hi"; do
17885 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17886 cat >conftest.
$ac_ext <<_ACEOF
17889 cat confdefs.h
>>conftest.
$ac_ext
17890 cat >>conftest.
$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17896 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17903 rm -f conftest.
$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17907 grep -v '^ *+' conftest.er1
>conftest.err
17909 cat conftest.err
>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try
='test -z "$ac_c_werror_flag"
17913 || test ! -s conftest.err'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; } &&
17919 { ac_try
='test -s conftest.$ac_objext'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; }; then
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.
$ac_ext >&5
17930 ac_lo
=`expr '(' $ac_mid ')' + 1`
17932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17935 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17936 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17937 See \`config.log' for more details." >&5
17938 echo "$as_me: error: cannot compute sizeof (long long), 77
17939 See \`config.log' for more details." >&2;}
17940 { (exit 1); exit 1; }; } ;;
17943 if test "$cross_compiling" = yes; then
17944 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17945 See \`config.log' for more details." >&5
17946 echo "$as_me: error: cannot run test program while cross compiling
17947 See \`config.log' for more details." >&2;}
17948 { (exit 1); exit 1; }; }
17950 cat >conftest.
$ac_ext <<_ACEOF
17953 cat confdefs.h
>>conftest.
$ac_ext
17954 cat >>conftest.
$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17957 long longval () { return (long) (sizeof (long long)); }
17958 unsigned long ulongval () { return (long) (sizeof (long long)); }
17960 #include <stdlib.h>
17965 FILE *f = fopen ("conftest.val", "w");
17968 if (((long) (sizeof (long long))) < 0)
17970 long i = longval ();
17971 if (i != ((long) (sizeof (long long))))
17973 fprintf (f, "%ld\n", i);
17977 unsigned long i = ulongval ();
17978 if (i != ((long) (sizeof (long long))))
17980 fprintf (f, "%lu\n", i);
17982 exit (ferror (f) || fclose (f) != 0);
17988 rm -f conftest
$ac_exeext
17989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17990 (eval $ac_link) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17995 (eval $ac_try) 2>&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); }; }; then
17999 ac_cv_sizeof_long_long
=`cat conftest.val`
18001 echo "$as_me: program exited with status $ac_status" >&5
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.
$ac_ext >&5
18005 ( exit $ac_status )
18006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18007 See \`config.log' for more details." >&5
18008 echo "$as_me: error: cannot compute sizeof (long long), 77
18009 See \`config.log' for more details." >&2;}
18010 { (exit 1); exit 1; }; }
18012 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18017 ac_cv_sizeof_long_long
=0
18020 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18021 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18022 cat >>confdefs.h
<<_ACEOF
18023 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18029 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18030 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18031 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18035 if test "$cross_compiling" = yes; then
18039 wx_cv_sizeof_wchar_t
=0
18042 wx_cv_sizeof_wchar_t
=4
18048 cat >conftest.
$ac_ext <<_ACEOF
18051 cat confdefs.h
>>conftest.
$ac_ext
18052 cat >>conftest.
$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18055 /* DJGPP only has fake wchar_t: */
18057 # error "fake wchar_t"
18059 #ifdef HAVE_WCHAR_H
18061 # include <stddef.h>
18063 # include <wchar.h>
18065 #ifdef HAVE_STDLIB_H
18066 # include <stdlib.h>
18071 FILE *f=fopen("conftestval", "w");
18073 fprintf(f, "%i", sizeof(wchar_t));
18078 rm -f conftest
$ac_exeext
18079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18080 (eval $ac_link) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; }; then
18089 wx_cv_sizeof_wchar_t
=`cat conftestval`
18091 echo "$as_me: program exited with status $ac_status" >&5
18092 echo "$as_me: failed program was:" >&5
18093 sed 's/^/| /' conftest.
$ac_ext >&5
18095 ( exit $ac_status )
18096 wx_cv_sizeof_wchar_t
=0
18098 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18102 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18103 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18105 cat >>confdefs.h
<<_ACEOF
18106 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18110 # Check whether --enable-largefile or --disable-largefile was given.
18111 if test "${enable_largefile+set}" = set; then
18112 enableval
="$enable_largefile"
18115 if test "$enable_largefile" != no
; then
18118 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18119 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18120 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 cat >conftest.
$ac_ext <<_ACEOF
18127 cat confdefs.h
>>conftest.
$ac_ext
18128 cat >>conftest.
$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130 #define _FILE_OFFSET_BITS 64
18131 #include <sys/types.h>
18136 unsigned int field: sizeof(off_t) == 8;
18143 rm -f conftest.
$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>conftest.er1
18147 grep -v '^ *+' conftest.er1
>conftest.err
18149 cat conftest.err
>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } &&
18152 { ac_try
='test -z "$ac_c_werror_flag"
18153 || test ! -s conftest.err'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; } &&
18159 { ac_try
='test -s conftest.$ac_objext'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; }; then
18165 ac_cv_sys_file_offset_bits
=64
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.
$ac_ext >&5
18170 ac_cv_sys_file_offset_bits
=no
18172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18176 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18177 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18179 if test "$ac_cv_sys_file_offset_bits" != no
; then
18181 cat >>confdefs.h
<<_ACEOF
18182 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18187 if test "x$wx_largefile" != "xyes"; then
18189 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18190 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18191 if test "${ac_cv_sys_large_files+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 cat >conftest.
$ac_ext <<_ACEOF
18198 cat confdefs.h
>>conftest.
$ac_ext
18199 cat >>conftest.
$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 #define _LARGE_FILES 1
18202 #include <sys/types.h>
18207 unsigned int field: sizeof(off_t) == 8;
18214 rm -f conftest.
$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216 (eval $ac_compile) 2>conftest.er1
18218 grep -v '^ *+' conftest.er1
>conftest.err
18220 cat conftest.err
>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try
='test -z "$ac_c_werror_flag"
18224 || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try
='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_cv_sys_large_files
=1
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.
$ac_ext >&5
18241 ac_cv_sys_large_files
=no
18243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18247 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18248 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18250 if test "$ac_cv_sys_large_files" != no
; then
18252 cat >>confdefs.h
<<_ACEOF
18253 #define _LARGE_FILES $ac_cv_sys_large_files
18260 echo "$as_me:$LINENO: checking if large file support is available" >&5
18261 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18262 if test "x$wx_largefile" = "xyes"; then
18263 cat >>confdefs.h
<<\_ACEOF
18264 #define HAVE_LARGEFILE_SUPPORT 1
18268 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18269 echo "${ECHO_T}$wx_largefile" >&6
18273 if test "x$wx_largefile" = "xyes"; then
18274 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18275 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18277 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18279 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18282 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18283 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18284 if test "${ac_cv_c_bigendian+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 ac_cv_c_bigendian
=unknown
18288 # See if sys/param.h defines the BYTE_ORDER macro.
18289 cat >conftest.
$ac_ext <<_ACEOF
18292 cat confdefs.h
>>conftest.
$ac_ext
18293 cat >>conftest.
$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 #include <sys/types.h>
18296 #include <sys/param.h>
18301 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18302 bogus endian macros
18308 rm -f conftest.
$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18312 grep -v '^ *+' conftest.er1
>conftest.err
18314 cat conftest.err
>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try
='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try
='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 # It does; now see whether it defined to BIG_ENDIAN or not.
18331 cat >conftest.
$ac_ext <<_ACEOF
18334 cat confdefs.h
>>conftest.
$ac_ext
18335 cat >>conftest.
$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337 #include <sys/types.h>
18338 #include <sys/param.h>
18343 #if BYTE_ORDER != BIG_ENDIAN
18350 rm -f conftest.
$ac_objext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18352 (eval $ac_compile) 2>conftest.er1
18354 grep -v '^ *+' conftest.er1
>conftest.err
18356 cat conftest.err
>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try
='test -z "$ac_c_werror_flag"
18360 || test ! -s conftest.err'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try
='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 ac_cv_c_bigendian
=yes
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.
$ac_ext >&5
18377 ac_cv_c_bigendian
=no
18379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.
$ac_ext >&5
18385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18386 if test $ac_cv_c_bigendian = unknown
; then
18387 if test "$cross_compiling" = yes; then
18388 ac_cv_c_bigendian
=unknown
18390 cat >conftest.
$ac_ext <<_ACEOF
18393 cat confdefs.h
>>conftest.
$ac_ext
18394 cat >>conftest.
$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18397 /* Are we little or big endian? From Harbison&Steele. */
18401 char c[sizeof (long)];
18404 exit (u.c[sizeof (long) - 1] == 1);
18407 rm -f conftest
$ac_exeext
18408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18409 (eval $ac_link) 2>&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_cv_c_bigendian
=no
18420 echo "$as_me: program exited with status $ac_status" >&5
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.
$ac_ext >&5
18424 ( exit $ac_status )
18425 ac_cv_c_bigendian
=yes
18427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18431 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18432 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18433 if test $ac_cv_c_bigendian = unknown
; then
18434 { 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
18435 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;}
18437 if test $ac_cv_c_bigendian = yes; then
18438 cat >>confdefs.h
<<\_ACEOF
18439 #define WORDS_BIGENDIAN 1
18446 ac_cpp
='$CXXCPP $CPPFLAGS'
18447 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18450 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18451 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18452 if test -z "$CXXCPP"; then
18453 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18456 # Double quotes because CXXCPP needs to be expanded
18457 for CXXCPP
in "$CXX -E" "/lib/cpp"
18459 ac_preproc_ok
=false
18460 for ac_cxx_preproc_warn_flag
in '' yes
18462 # Use a header file that comes with gcc, so configuring glibc
18463 # with a fresh cross-compiler works.
18464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18465 # <limits.h> exists even on freestanding compilers.
18466 # On the NeXT, cc -E runs the code through the compiler's parser,
18467 # not just through cpp. "Syntax error" is here to catch this case.
18468 cat >conftest.
$ac_ext <<_ACEOF
18471 cat confdefs.h
>>conftest.
$ac_ext
18472 cat >>conftest.
$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18475 # include <limits.h>
18477 # include <assert.h>
18481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18484 grep -v '^ *+' conftest.er1
>conftest.err
18486 cat conftest.err
>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } >/dev
/null
; then
18489 if test -s conftest.err
; then
18490 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18491 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18498 if test -z "$ac_cpp_err"; then
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.
$ac_ext >&5
18504 # Broken: fails on valid input.
18507 rm -f conftest.err conftest.
$ac_ext
18509 # OK, works on sane cases. Now check whether non-existent headers
18510 # can be detected and how.
18511 cat >conftest.
$ac_ext <<_ACEOF
18514 cat confdefs.h
>>conftest.
$ac_ext
18515 cat >>conftest.
$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 #include <ac_nonexistent.h>
18519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18520 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18522 grep -v '^ *+' conftest.er1
>conftest.err
18524 cat conftest.err
>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } >/dev
/null
; then
18527 if test -s conftest.err
; then
18528 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18529 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18536 if test -z "$ac_cpp_err"; then
18537 # Broken: success on invalid input.
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.
$ac_ext >&5
18543 # Passes both tests.
18547 rm -f conftest.err conftest.
$ac_ext
18550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18551 rm -f conftest.err conftest.
$ac_ext
18552 if $ac_preproc_ok; then
18557 ac_cv_prog_CXXCPP
=$CXXCPP
18560 CXXCPP
=$ac_cv_prog_CXXCPP
18562 ac_cv_prog_CXXCPP
=$CXXCPP
18564 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18565 echo "${ECHO_T}$CXXCPP" >&6
18566 ac_preproc_ok
=false
18567 for ac_cxx_preproc_warn_flag
in '' yes
18569 # Use a header file that comes with gcc, so configuring glibc
18570 # with a fresh cross-compiler works.
18571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18572 # <limits.h> exists even on freestanding compilers.
18573 # On the NeXT, cc -E runs the code through the compiler's parser,
18574 # not just through cpp. "Syntax error" is here to catch this case.
18575 cat >conftest.
$ac_ext <<_ACEOF
18578 cat confdefs.h
>>conftest.
$ac_ext
18579 cat >>conftest.
$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18582 # include <limits.h>
18584 # include <assert.h>
18588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18591 grep -v '^ *+' conftest.er1
>conftest.err
18593 cat conftest.err
>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } >/dev
/null
; then
18596 if test -s conftest.err
; then
18597 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18598 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18605 if test -z "$ac_cpp_err"; then
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.
$ac_ext >&5
18611 # Broken: fails on valid input.
18614 rm -f conftest.err conftest.
$ac_ext
18616 # OK, works on sane cases. Now check whether non-existent headers
18617 # can be detected and how.
18618 cat >conftest.
$ac_ext <<_ACEOF
18621 cat confdefs.h
>>conftest.
$ac_ext
18622 cat >>conftest.
$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 #include <ac_nonexistent.h>
18626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18629 grep -v '^ *+' conftest.er1
>conftest.err
18631 cat conftest.err
>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } >/dev
/null
; then
18634 if test -s conftest.err
; then
18635 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18636 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18643 if test -z "$ac_cpp_err"; then
18644 # Broken: success on invalid input.
18647 echo "$as_me: failed program was:" >&5
18648 sed 's/^/| /' conftest.
$ac_ext >&5
18650 # Passes both tests.
18654 rm -f conftest.err conftest.
$ac_ext
18657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18658 rm -f conftest.err conftest.
$ac_ext
18659 if $ac_preproc_ok; then
18662 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18663 See \`config.log' for more details." >&5
18664 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18665 See \`config.log' for more details." >&2;}
18666 { (exit 1); exit 1; }; }
18670 ac_cpp
='$CXXCPP $CPPFLAGS'
18671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18680 ac_cpp
='$CXXCPP $CPPFLAGS'
18681 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18682 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18683 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18687 for ac_header
in iostream
18689 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18691 echo "$as_me:$LINENO: checking for $ac_header" >&5
18692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18699 # Is the header compilable?
18700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18702 cat >conftest.
$ac_ext <<_ACEOF
18705 cat confdefs.h
>>conftest.
$ac_ext
18706 cat >>conftest.
$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18708 $ac_includes_default
18709 #include <$ac_header>
18711 rm -f conftest.
$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18715 grep -v '^ *+' conftest.er1
>conftest.err
18717 cat conftest.err
>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try
='test -z "$ac_cxx_werror_flag"
18721 || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try
='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_header_compiler
=yes
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.
$ac_ext >&5
18738 ac_header_compiler
=no
18740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18742 echo "${ECHO_T}$ac_header_compiler" >&6
18744 # Is the header present?
18745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18747 cat >conftest.
$ac_ext <<_ACEOF
18750 cat confdefs.h
>>conftest.
$ac_ext
18751 cat >>conftest.
$ac_ext <<_ACEOF
18752 /* end confdefs.h. */
18753 #include <$ac_header>
18755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18758 grep -v '^ *+' conftest.er1
>conftest.err
18760 cat conftest.err
>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } >/dev
/null
; then
18763 if test -s conftest.err
; then
18764 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18765 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18772 if test -z "$ac_cpp_err"; then
18773 ac_header_preproc
=yes
18775 echo "$as_me: failed program was:" >&5
18776 sed 's/^/| /' conftest.
$ac_ext >&5
18778 ac_header_preproc
=no
18780 rm -f conftest.err conftest.
$ac_ext
18781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18782 echo "${ECHO_T}$ac_header_preproc" >&6
18784 # So? What about this header?
18785 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18791 ac_header_preproc
=yes
18794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18808 ## ----------------------------------------- ##
18809 ## Report this to wx-dev@lists.wxwidgets.org ##
18810 ## ----------------------------------------- ##
18813 sed "s/^/$as_me: WARNING: /" >&2
18816 echo "$as_me:$LINENO: checking for $ac_header" >&5
18817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 eval "$as_ac_Header=\$ac_header_preproc"
18823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18828 cat >>confdefs.h
<<_ACEOF
18829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18837 if test "$ac_cv_header_iostream" = "yes" ; then
18840 cat >>confdefs.h
<<\_ACEOF
18841 #define wxUSE_IOSTREAMH 1
18847 ac_cpp
='$CPP $CPPFLAGS'
18848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18855 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18856 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18857 if test "${wx_cv_cpp_bool+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 ac_cpp
='$CXXCPP $CPPFLAGS'
18865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18870 cat >conftest.
$ac_ext <<_ACEOF
18873 cat confdefs.h
>>conftest.
$ac_ext
18874 cat >>conftest.
$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18890 rm -f conftest.
$ac_objext
18891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18892 (eval $ac_compile) 2>conftest.er1
18894 grep -v '^ *+' conftest.er1
>conftest.err
18896 cat conftest.err
>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } &&
18899 { ac_try
='test -z "$ac_cxx_werror_flag"
18900 || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try
='test -s conftest.$ac_objext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.
$ac_ext >&5
18924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18927 ac_cpp
='$CPP $CPPFLAGS'
18928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18934 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18935 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18937 if test "$wx_cv_cpp_bool" = "yes"; then
18938 cat >>confdefs.h
<<\_ACEOF
18939 #define HAVE_BOOL 1
18946 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18947 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18948 if test "${wx_cv_explicit+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 ac_cpp
='$CXXCPP $CPPFLAGS'
18956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18961 cat >conftest.
$ac_ext <<_ACEOF
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18968 class Foo { public: explicit Foo(int) {} };
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
19003 cat >conftest.
$ac_ext <<_ACEOF
19006 cat confdefs.h
>>conftest.
$ac_ext
19007 cat >>conftest.
$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19010 class Foo { public: explicit Foo(int) {} };
19011 static void TakeFoo(const Foo& foo) { }
19024 rm -f conftest.
$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19028 grep -v '^ *+' conftest.er1
>conftest.err
19030 cat conftest.err
>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try
='test -z "$ac_cxx_werror_flag"
19034 || test ! -s conftest.err'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; } &&
19040 { ac_try
='test -s conftest.$ac_objext'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.
$ac_ext >&5
19054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.
$ac_ext >&5
19063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19066 ac_cpp
='$CPP $CPPFLAGS'
19067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19073 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19074 echo "${ECHO_T}$wx_cv_explicit" >&6
19076 if test "$wx_cv_explicit" = "yes"; then
19077 cat >>confdefs.h
<<\_ACEOF
19078 #define HAVE_EXPLICIT 1
19084 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19085 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19086 if test "${ac_cv_cxx_const_cast+set}" = set; then
19087 echo $ECHO_N "(cached) $ECHO_C" >&6
19092 ac_cpp
='$CXXCPP $CPPFLAGS'
19093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19097 cat >conftest.
$ac_ext <<_ACEOF
19100 cat confdefs.h
>>conftest.
$ac_ext
19101 cat >>conftest.
$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19107 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19112 rm -f conftest.
$ac_objext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19114 (eval $ac_compile) 2>conftest.er1
19116 grep -v '^ *+' conftest.er1
>conftest.err
19118 cat conftest.err
>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } &&
19121 { ac_try
='test -z "$ac_cxx_werror_flag"
19122 || test ! -s conftest.err'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; } &&
19128 { ac_try
='test -s conftest.$ac_objext'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; }; then
19134 ac_cv_cxx_const_cast
=yes
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.
$ac_ext >&5
19139 ac_cv_cxx_const_cast
=no
19141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19143 ac_cpp
='$CPP $CPPFLAGS'
19144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19150 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19151 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19152 if test "$ac_cv_cxx_const_cast" = yes; then
19154 cat >>confdefs.h
<<\_ACEOF
19155 #define HAVE_CONST_CAST
19160 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19161 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19162 if test "${ac_cv_cxx_static_cast+set}" = set; then
19163 echo $ECHO_N "(cached) $ECHO_C" >&6
19168 ac_cpp
='$CXXCPP $CPPFLAGS'
19169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19173 cat >conftest.
$ac_ext <<_ACEOF
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 #include <typeinfo>
19180 class Base { public : Base () {} virtual void f () = 0; };
19181 class Derived : public Base { public : Derived () {} virtual void f () {} };
19182 int g (Derived&) { return 0; }
19187 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19192 rm -f conftest.
$ac_objext
19193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19194 (eval $ac_compile) 2>conftest.er1
19196 grep -v '^ *+' conftest.er1
>conftest.err
19198 cat conftest.err
>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } &&
19201 { ac_try
='test -z "$ac_cxx_werror_flag"
19202 || test ! -s conftest.err'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; } &&
19208 { ac_try
='test -s conftest.$ac_objext'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 ac_cv_cxx_static_cast
=yes
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.
$ac_ext >&5
19219 ac_cv_cxx_static_cast
=no
19221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19223 ac_cpp
='$CPP $CPPFLAGS'
19224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19230 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19231 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19232 if test "$ac_cv_cxx_static_cast" = yes; then
19234 cat >>confdefs.h
<<\_ACEOF
19235 #define HAVE_STATIC_CAST
19241 if test "$wxUSE_STL" = "yes"; then
19243 ac_cpp
='$CXXCPP $CPPFLAGS'
19244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19249 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19250 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19251 cat >conftest.
$ac_ext <<_ACEOF
19254 cat confdefs.h
>>conftest.
$ac_ext
19255 cat >>conftest.
$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19258 #include <functional>
19259 #include <algorithm>
19265 std::vector<int> moo;
19266 std::list<int> foo;
19267 std::vector<int>::iterator it =
19268 std::find_if(moo.begin(), moo.end(),
19269 std::bind2nd(std::less<int>(), 3));
19274 rm -f conftest.
$ac_objext
19275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19276 (eval $ac_compile) 2>conftest.er1
19278 grep -v '^ *+' conftest.er1
>conftest.err
19280 cat conftest.err
>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try
='test -z "$ac_cxx_werror_flag"
19284 || test ! -s conftest.err'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; } &&
19290 { ac_try
='test -s conftest.$ac_objext'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; }; then
19296 echo "$as_me:$LINENO: result: yes" >&5
19297 echo "${ECHO_T}yes" >&6
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.
$ac_ext >&5
19302 echo "$as_me:$LINENO: result: no" >&5
19303 echo "${ECHO_T}no" >&6
19304 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19305 echo "$as_me: error: Basic STL functionality missing" >&2;}
19306 { (exit 1); exit 1; }; }
19308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19310 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19311 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19312 cat >conftest.
$ac_ext <<_ACEOF
19315 cat confdefs.h
>>conftest.
$ac_ext
19316 cat >>conftest.
$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19327 rm -f conftest.
$ac_objext
19328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19329 (eval $ac_compile) 2>conftest.er1
19331 grep -v '^ *+' conftest.er1
>conftest.err
19333 cat conftest.err
>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); } &&
19336 { ac_try
='test -z "$ac_cxx_werror_flag"
19337 || test ! -s conftest.err'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; } &&
19343 { ac_try
='test -s conftest.$ac_objext'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; }; then
19349 echo "$as_me:$LINENO: result: yes" >&5
19350 echo "${ECHO_T}yes" >&6
19351 cat >>confdefs.h
<<\_ACEOF
19352 #define HAVE_STD_WSTRING 1
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.
$ac_ext >&5
19359 echo "$as_me:$LINENO: result: no" >&5
19360 echo "${ECHO_T}no" >&6
19362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19364 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19365 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19366 cat >conftest.
$ac_ext <<_ACEOF
19369 cat confdefs.h
>>conftest.
$ac_ext
19370 cat >>conftest.
$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19376 std::string foo, bar;
19378 foo.compare(1, 1, bar);
19379 foo.compare(1, 1, bar, 1, 1);
19381 foo.compare(1, 1, "");
19382 foo.compare(1, 1, "", 2);
19387 rm -f conftest.
$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>conftest.er1
19391 grep -v '^ *+' conftest.er1
>conftest.err
19393 cat conftest.err
>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try
='test -z "$ac_cxx_werror_flag"
19397 || test ! -s conftest.err'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; } &&
19403 { ac_try
='test -s conftest.$ac_objext'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19409 echo "$as_me:$LINENO: result: yes" >&5
19410 echo "${ECHO_T}yes" >&6
19411 cat >>confdefs.h
<<\_ACEOF
19412 #define HAVE_STD_STRING_COMPARE 1
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.
$ac_ext >&5
19419 echo "$as_me:$LINENO: result: no" >&5
19420 echo "${ECHO_T}no" >&6
19422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19424 if test "${ac_cv_header_hash_map+set}" = set; then
19425 echo "$as_me:$LINENO: checking for hash_map" >&5
19426 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19427 if test "${ac_cv_header_hash_map+set}" = set; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19430 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19431 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19433 # Is the header compilable?
19434 echo "$as_me:$LINENO: checking hash_map usability" >&5
19435 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19436 cat >conftest.
$ac_ext <<_ACEOF
19439 cat confdefs.h
>>conftest.
$ac_ext
19440 cat >>conftest.
$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442 $ac_includes_default
19443 #include <hash_map>
19445 rm -f conftest.
$ac_objext
19446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19447 (eval $ac_compile) 2>conftest.er1
19449 grep -v '^ *+' conftest.er1
>conftest.err
19451 cat conftest.err
>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } &&
19454 { ac_try
='test -z "$ac_cxx_werror_flag"
19455 || test ! -s conftest.err'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; } &&
19461 { ac_try
='test -s conftest.$ac_objext'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; }; then
19467 ac_header_compiler
=yes
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.
$ac_ext >&5
19472 ac_header_compiler
=no
19474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19476 echo "${ECHO_T}$ac_header_compiler" >&6
19478 # Is the header present?
19479 echo "$as_me:$LINENO: checking hash_map presence" >&5
19480 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19481 cat >conftest.
$ac_ext <<_ACEOF
19484 cat confdefs.h
>>conftest.
$ac_ext
19485 cat >>conftest.
$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19487 #include <hash_map>
19489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19492 grep -v '^ *+' conftest.er1
>conftest.err
19494 cat conftest.err
>&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } >/dev
/null
; then
19497 if test -s conftest.err
; then
19498 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19499 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19506 if test -z "$ac_cpp_err"; then
19507 ac_header_preproc
=yes
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.
$ac_ext >&5
19512 ac_header_preproc
=no
19514 rm -f conftest.err conftest.
$ac_ext
19515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19516 echo "${ECHO_T}$ac_header_preproc" >&6
19518 # So? What about this header?
19519 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19521 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19522 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19523 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19524 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19525 ac_header_preproc
=yes
19528 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19529 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19530 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19531 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19532 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19533 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19534 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19535 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19536 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19537 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19538 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19539 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19542 ## ----------------------------------------- ##
19543 ## Report this to wx-dev@lists.wxwidgets.org ##
19544 ## ----------------------------------------- ##
19547 sed "s/^/$as_me: WARNING: /" >&2
19550 echo "$as_me:$LINENO: checking for hash_map" >&5
19551 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19552 if test "${ac_cv_header_hash_map+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19555 ac_cv_header_hash_map
=$ac_header_preproc
19557 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19558 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19561 if test $ac_cv_header_hash_map = yes; then
19562 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19563 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19564 cat >conftest.
$ac_ext <<_ACEOF
19567 cat confdefs.h
>>conftest.
$ac_ext
19568 cat >>conftest.
$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 #include <hash_map>
19571 #include <hash_set>
19575 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19576 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19581 rm -f conftest.
$ac_objext
19582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19583 (eval $ac_compile) 2>conftest.er1
19585 grep -v '^ *+' conftest.er1
>conftest.err
19587 cat conftest.err
>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } &&
19590 { ac_try
='test -z "$ac_cxx_werror_flag"
19591 || test ! -s conftest.err'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; } &&
19597 { ac_try
='test -s conftest.$ac_objext'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; }; then
19603 echo "$as_me:$LINENO: result: yes" >&5
19604 echo "${ECHO_T}yes" >&6
19605 cat >>confdefs.h
<<\_ACEOF
19606 #define HAVE_HASH_MAP 1
19609 cat >>confdefs.h
<<\_ACEOF
19610 #define HAVE_STD_HASH_MAP 1
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19617 echo "$as_me:$LINENO: result: no" >&5
19618 echo "${ECHO_T}no" >&6
19620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19626 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19627 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19628 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19629 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19633 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19635 # Is the header compilable?
19636 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19637 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19638 cat >conftest.
$ac_ext <<_ACEOF
19641 cat confdefs.h
>>conftest.
$ac_ext
19642 cat >>conftest.
$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 $ac_includes_default
19645 #include <ext/hash_map>
19647 rm -f conftest.
$ac_objext
19648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19649 (eval $ac_compile) 2>conftest.er1
19651 grep -v '^ *+' conftest.er1
>conftest.err
19653 cat conftest.err
>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } &&
19656 { ac_try
='test -z "$ac_cxx_werror_flag"
19657 || test ! -s conftest.err'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; } &&
19663 { ac_try
='test -s conftest.$ac_objext'
19664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665 (eval $ac_try) 2>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); }; }; then
19669 ac_header_compiler
=yes
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.
$ac_ext >&5
19674 ac_header_compiler
=no
19676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19678 echo "${ECHO_T}$ac_header_compiler" >&6
19680 # Is the header present?
19681 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19682 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19683 cat >conftest.
$ac_ext <<_ACEOF
19686 cat confdefs.h
>>conftest.
$ac_ext
19687 cat >>conftest.
$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 #include <ext/hash_map>
19691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19694 grep -v '^ *+' conftest.er1
>conftest.err
19696 cat conftest.err
>&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } >/dev
/null
; then
19699 if test -s conftest.err
; then
19700 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19701 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19708 if test -z "$ac_cpp_err"; then
19709 ac_header_preproc
=yes
19711 echo "$as_me: failed program was:" >&5
19712 sed 's/^/| /' conftest.
$ac_ext >&5
19714 ac_header_preproc
=no
19716 rm -f conftest.err conftest.
$ac_ext
19717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19718 echo "${ECHO_T}$ac_header_preproc" >&6
19720 # So? What about this header?
19721 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19723 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19724 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19725 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19726 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19727 ac_header_preproc
=yes
19730 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19731 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19732 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19733 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19734 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19735 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19736 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19737 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19738 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19739 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19740 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19741 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19744 ## ----------------------------------------- ##
19745 ## Report this to wx-dev@lists.wxwidgets.org ##
19746 ## ----------------------------------------- ##
19749 sed "s/^/$as_me: WARNING: /" >&2
19752 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19753 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19754 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 ac_cv_header_ext_hash_map
=$ac_header_preproc
19759 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19760 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19763 if test $ac_cv_header_ext_hash_map = yes; then
19764 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19765 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19766 cat >conftest.
$ac_ext <<_ACEOF
19769 cat confdefs.h
>>conftest.
$ac_ext
19770 cat >>conftest.
$ac_ext <<_ACEOF
19771 /* end confdefs.h. */
19772 #include <ext/hash_map>
19773 #include <ext/hash_set>
19777 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19778 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19783 rm -f conftest.
$ac_objext
19784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19785 (eval $ac_compile) 2>conftest.er1
19787 grep -v '^ *+' conftest.er1
>conftest.err
19789 cat conftest.err
>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } &&
19792 { ac_try
='test -z "$ac_cxx_werror_flag"
19793 || test ! -s conftest.err'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; } &&
19799 { ac_try
='test -s conftest.$ac_objext'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; }; then
19805 echo "$as_me:$LINENO: result: yes" >&5
19806 echo "${ECHO_T}yes" >&6
19807 cat >>confdefs.h
<<\_ACEOF
19808 #define HAVE_EXT_HASH_MAP 1
19811 cat >>confdefs.h
<<\_ACEOF
19812 #define HAVE_GNU_CXX_HASH_MAP 1
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.
$ac_ext >&5
19819 echo "$as_me:$LINENO: result: no" >&5
19820 echo "${ECHO_T}no" >&6
19822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19829 ac_cpp
='$CPP $CPPFLAGS'
19830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19838 /usr/local/include \
19840 /usr/Motif-2.1/include \
19841 /usr/Motif-1.2/include \
19842 /usr/include/Motif1.2 \
19843 /opt/xpm/include/X11 \
19844 /opt/GBxpm/include/ \
19845 /opt/GBxpm/X11/include/ \
19848 /usr/openwin/include \
19852 /usr/X11R6/include \
19853 /usr/X11R6.4/include \
19854 /usr/X11R5/include \
19855 /usr/X11R4/include \
19857 /usr/include/X11R6 \
19858 /usr/include/X11R5 \
19859 /usr/include/X11R4 \
19861 /usr/local/X11R6/include \
19862 /usr/local/X11R5/include \
19863 /usr/local/X11R4/include \
19865 /usr/local/include/X11R6 \
19866 /usr/local/include/X11R5 \
19867 /usr/local/include/X11R4 \
19871 /usr/local/X11/include \
19872 /usr/local/include/X11 \
19874 /usr/X386/include \
19875 /usr/x386/include \
19876 /usr/XFree86/include/X11 \
19878 X:/XFree86/include \
19879 X:/XFree86/include/X11 \
19882 /usr/local/include/gtk \
19883 /usr/include/glib \
19884 /usr/local/include/glib \
19887 /usr/local/include/qt \
19889 /usr/local/arm/3.3.2/include \
19891 /usr/include/windows \
19892 /usr/include/wine \
19893 /usr/local/include/wine \
19895 /usr/unsupported/include \
19896 /usr/athena/include \
19897 /usr/local/x11r5/include \
19898 /usr/lpp/Xamples/include \
19900 /usr/openwin/share/include"
19902 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19905 cat >confcache
<<\_ACEOF
19906 # This file is a shell script that caches the results of configure
19907 # tests run on this system so they can be shared between configure
19908 # scripts and configure runs, see configure's option --config-cache.
19909 # It is not useful on other systems. If it contains results you don't
19910 # want to keep, you may remove or edit it.
19912 # config.status only pays attention to the cache file if you give it
19913 # the --recheck option to rerun configure.
19915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19917 # following values.
19921 # The following way of writing the cache mishandles newlines in values,
19922 # but we know of no workaround that is simple, portable, and efficient.
19923 # So, don't put newlines in cache variables' values.
19924 # Ultrix sh set writes to stderr and can't be redirected directly,
19925 # and sets the high bit in the cache file unless we assign to the vars.
19928 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19930 # `set' does not quote correctly, so add quotes (double-quote
19931 # substitution turns \\\\ into \\, and sed turns \\ into \).
19934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19937 # `set' quotes correctly as required by POSIX, so do not add quotes.
19939 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19948 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19950 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19951 if test -w $cache_file; then
19952 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19953 cat confcache
>$cache_file
19955 echo "not updating unwritable cache $cache_file"
19960 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19961 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19962 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19963 if test "${wx_cv_lib_glibc21+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 #include <features.h>
19978 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19979 #error not glibc2.1
19986 rm -f conftest.
$ac_objext
19987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19988 (eval $ac_compile) 2>conftest.er1
19990 grep -v '^ *+' conftest.er1
>conftest.err
19992 cat conftest.err
>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try
='test -z "$ac_c_werror_flag"
19996 || test ! -s conftest.err'
19997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19998 (eval $ac_try) 2>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); }; } &&
20002 { ac_try
='test -s conftest.$ac_objext'
20003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004 (eval $ac_try) 2>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20009 wx_cv_lib_glibc21
=yes
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.
$ac_ext >&5
20016 wx_cv_lib_glibc21
=no
20020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20023 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20024 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20025 if test "$wx_cv_lib_glibc21" = "yes"; then
20026 cat >>confdefs.h
<<\_ACEOF
20027 #define wxHAVE_GLIBC2 1
20033 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20034 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20035 cat >>confdefs.h
<<\_ACEOF
20036 #define _GNU_SOURCE 1
20044 if test "$wxUSE_REGEX" != "no"; then
20045 cat >>confdefs.h
<<\_ACEOF
20046 #define wxUSE_REGEX 1
20050 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20051 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20052 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20053 wxUSE_REGEX
=builtin
20056 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20057 if test "${ac_cv_header_regex_h+set}" = set; then
20058 echo "$as_me:$LINENO: checking for regex.h" >&5
20059 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20060 if test "${ac_cv_header_regex_h+set}" = set; then
20061 echo $ECHO_N "(cached) $ECHO_C" >&6
20063 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20064 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20066 # Is the header compilable?
20067 echo "$as_me:$LINENO: checking regex.h usability" >&5
20068 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20069 cat >conftest.
$ac_ext <<_ACEOF
20072 cat confdefs.h
>>conftest.
$ac_ext
20073 cat >>conftest.
$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20078 rm -f conftest.
$ac_objext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20080 (eval $ac_compile) 2>conftest.er1
20082 grep -v '^ *+' conftest.er1
>conftest.err
20084 cat conftest.err
>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } &&
20087 { ac_try
='test -z "$ac_c_werror_flag"
20088 || test ! -s conftest.err'
20089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20090 (eval $ac_try) 2>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); }; } &&
20094 { ac_try
='test -s conftest.$ac_objext'
20095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20096 (eval $ac_try) 2>&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); }; }; then
20100 ac_header_compiler
=yes
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.
$ac_ext >&5
20105 ac_header_compiler
=no
20107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20109 echo "${ECHO_T}$ac_header_compiler" >&6
20111 # Is the header present?
20112 echo "$as_me:$LINENO: checking regex.h presence" >&5
20113 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20125 grep -v '^ *+' conftest.er1
>conftest.err
20127 cat conftest.err
>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } >/dev
/null
; then
20130 if test -s conftest.err
; then
20131 ac_cpp_err
=$ac_c_preproc_warn_flag
20132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20139 if test -z "$ac_cpp_err"; then
20140 ac_header_preproc
=yes
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.
$ac_ext >&5
20145 ac_header_preproc
=no
20147 rm -f conftest.err conftest.
$ac_ext
20148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20149 echo "${ECHO_T}$ac_header_preproc" >&6
20151 # So? What about this header?
20152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20154 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20155 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20156 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20157 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20158 ac_header_preproc
=yes
20161 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20162 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20163 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20164 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20165 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20166 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20167 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20168 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20169 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20170 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20171 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20172 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20175 ## ----------------------------------------- ##
20176 ## Report this to wx-dev@lists.wxwidgets.org ##
20177 ## ----------------------------------------- ##
20180 sed "s/^/$as_me: WARNING: /" >&2
20183 echo "$as_me:$LINENO: checking for regex.h" >&5
20184 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20185 if test "${ac_cv_header_regex_h+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20188 ac_cv_header_regex_h
=$ac_header_preproc
20190 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20191 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20194 if test $ac_cv_header_regex_h = yes; then
20196 for ac_func
in regcomp
20198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20199 echo "$as_me:$LINENO: checking for $ac_func" >&5
20200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20201 if eval "test \"\${$as_ac_var+set}\" = set"; then
20202 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 cat >conftest.
$ac_ext <<_ACEOF
20207 cat confdefs.h
>>conftest.
$ac_ext
20208 cat >>conftest.
$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20212 #define $ac_func innocuous_$ac_func
20214 /* System header to define __stub macros and hopefully few prototypes,
20215 which can conflict with char $ac_func (); below.
20216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20217 <limits.h> exists even on freestanding compilers. */
20220 # include <limits.h>
20222 # include <assert.h>
20227 /* Override any gcc2 internal prototype to avoid an error. */
20232 /* We use char because int might match the return type of a gcc2
20233 builtin and then its argument prototype would still apply. */
20235 /* The GNU C library defines this for functions which it implements
20236 to always fail with ENOSYS. Some functions are actually named
20237 something starting with __ and the normal name is an alias. */
20238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20241 char (*f) () = $ac_func;
20250 return f != $ac_func;
20255 rm -f conftest.
$ac_objext conftest
$ac_exeext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20257 (eval $ac_link) 2>conftest.er1
20259 grep -v '^ *+' conftest.er1
>conftest.err
20261 cat conftest.err
>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } &&
20264 { ac_try
='test -z "$ac_c_werror_flag"
20265 || test ! -s conftest.err'
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267 (eval $ac_try) 2>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); }; } &&
20271 { ac_try
='test -s conftest$ac_exeext'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; }; then
20277 eval "$as_ac_var=yes"
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.
$ac_ext >&5
20282 eval "$as_ac_var=no"
20284 rm -f conftest.err conftest.
$ac_objext \
20285 conftest
$ac_exeext conftest.
$ac_ext
20287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20289 if test `eval echo '${'$as_ac_var'}'` = yes; then
20290 cat >>confdefs.h
<<_ACEOF
20291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20301 if test "x$ac_cv_func_regcomp" != "xyes"; then
20302 if test "$wxUSE_REGEX" = "sys" ; then
20303 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20304 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20305 { (exit 1); exit 1; }; }
20307 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20308 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20309 wxUSE_REGEX
=builtin
20313 cat >>confdefs.h
<<\_ACEOF
20314 #define WX_NO_REGEX_ADVANCED 1
20323 if test "$wxUSE_ZLIB" != "no" ; then
20324 cat >>confdefs.h
<<\_ACEOF
20325 #define wxUSE_ZLIB 1
20329 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20330 if test "$USE_DARWIN" = 1; then
20331 system_zlib_h_ok
="yes"
20333 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20334 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20335 if test "${ac_cv_header_zlib_h+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20338 if test "$cross_compiling" = yes; then
20339 unset ac_cv_header_zlib_h
20342 cat >conftest.
$ac_ext <<_ACEOF
20345 cat confdefs.h
>>conftest.
$ac_ext
20346 cat >>conftest.
$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20354 FILE *f=fopen("conftestval", "w");
20357 ZLIB_VERSION[0] == '1' &&
20358 (ZLIB_VERSION[2] > '1' ||
20359 (ZLIB_VERSION[2] == '1' &&
20360 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20365 rm -f conftest
$ac_exeext
20366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20367 (eval $ac_link) 2>&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_cv_header_zlib_h
=`cat conftestval`
20378 echo "$as_me: program exited with status $ac_status" >&5
20379 echo "$as_me: failed program was:" >&5
20380 sed 's/^/| /' conftest.
$ac_ext >&5
20382 ( exit $ac_status )
20383 ac_cv_header_zlib_h
=no
20385 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20389 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20390 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20391 if test "${ac_cv_header_zlib_h+set}" = set; then
20392 echo "$as_me:$LINENO: checking for zlib.h" >&5
20393 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20394 if test "${ac_cv_header_zlib_h+set}" = set; then
20395 echo $ECHO_N "(cached) $ECHO_C" >&6
20397 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20398 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20400 # Is the header compilable?
20401 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20402 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 $ac_includes_default
20412 rm -f conftest.
$ac_objext
20413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20414 (eval $ac_compile) 2>conftest.er1
20416 grep -v '^ *+' conftest.er1
>conftest.err
20418 cat conftest.err
>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } &&
20421 { ac_try
='test -z "$ac_c_werror_flag"
20422 || test ! -s conftest.err'
20423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20424 (eval $ac_try) 2>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); }; } &&
20428 { ac_try
='test -s conftest.$ac_objext'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; }; then
20434 ac_header_compiler
=yes
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.
$ac_ext >&5
20439 ac_header_compiler
=no
20441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20443 echo "${ECHO_T}$ac_header_compiler" >&6
20445 # Is the header present?
20446 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20447 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20448 cat >conftest.
$ac_ext <<_ACEOF
20451 cat confdefs.h
>>conftest.
$ac_ext
20452 cat >>conftest.
$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20459 grep -v '^ *+' conftest.er1
>conftest.err
20461 cat conftest.err
>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } >/dev
/null
; then
20464 if test -s conftest.err
; then
20465 ac_cpp_err
=$ac_c_preproc_warn_flag
20466 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20473 if test -z "$ac_cpp_err"; then
20474 ac_header_preproc
=yes
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.
$ac_ext >&5
20479 ac_header_preproc
=no
20481 rm -f conftest.err conftest.
$ac_ext
20482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20483 echo "${ECHO_T}$ac_header_preproc" >&6
20485 # So? What about this header?
20486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20488 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20489 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20490 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20491 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20492 ac_header_preproc
=yes
20495 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20496 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20497 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20498 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20499 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20500 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20501 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20502 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20503 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20504 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20505 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20506 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20509 ## ----------------------------------------- ##
20510 ## Report this to wx-dev@lists.wxwidgets.org ##
20511 ## ----------------------------------------- ##
20514 sed "s/^/$as_me: WARNING: /" >&2
20517 echo "$as_me:$LINENO: checking for zlib.h" >&5
20518 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20519 if test "${ac_cv_header_zlib_h+set}" = set; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20522 ac_cv_header_zlib_h
=$ac_header_preproc
20524 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20525 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20531 system_zlib_h_ok
=$ac_cv_header_zlib_h
20534 if test "$system_zlib_h_ok" = "yes"; then
20535 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20536 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20537 if test "${ac_cv_lib_z_deflate+set}" = set; then
20538 echo $ECHO_N "(cached) $ECHO_C" >&6
20540 ac_check_lib_save_LIBS
=$LIBS
20542 cat >conftest.
$ac_ext <<_ACEOF
20545 cat confdefs.h
>>conftest.
$ac_ext
20546 cat >>conftest.
$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20549 /* Override any gcc2 internal prototype to avoid an error. */
20553 /* We use char because int might match the return type of a gcc2
20554 builtin and then its argument prototype would still apply. */
20564 rm -f conftest.
$ac_objext conftest
$ac_exeext
20565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20566 (eval $ac_link) 2>conftest.er1
20568 grep -v '^ *+' conftest.er1
>conftest.err
20570 cat conftest.err
>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } &&
20573 { ac_try
='test -z "$ac_c_werror_flag"
20574 || test ! -s conftest.err'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; } &&
20580 { ac_try
='test -s conftest$ac_exeext'
20581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582 (eval $ac_try) 2>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; }; then
20586 ac_cv_lib_z_deflate
=yes
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.
$ac_ext >&5
20591 ac_cv_lib_z_deflate
=no
20593 rm -f conftest.err conftest.
$ac_objext \
20594 conftest
$ac_exeext conftest.
$ac_ext
20595 LIBS
=$ac_check_lib_save_LIBS
20597 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20598 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20599 if test $ac_cv_lib_z_deflate = yes; then
20605 if test "x$ZLIB_LINK" = "x" ; then
20606 if test "$wxUSE_ZLIB" = "sys" ; then
20607 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20608 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20609 { (exit 1); exit 1; }; }
20611 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20612 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20623 if test "$wxUSE_LIBPNG" != "no" ; then
20624 cat >>confdefs.h
<<\_ACEOF
20625 #define wxUSE_LIBPNG 1
20629 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20630 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20631 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20635 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20636 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20637 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20638 wxUSE_LIBPNG
=builtin
20641 if test "$wxUSE_MGL" != 1 ; then
20642 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20643 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20644 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20645 if test "${ac_cv_header_png_h+set}" = set; then
20646 echo $ECHO_N "(cached) $ECHO_C" >&6
20648 if test "$cross_compiling" = yes; then
20649 unset ac_cv_header_png_h
20652 cat >conftest.
$ac_ext <<_ACEOF
20655 cat confdefs.h
>>conftest.
$ac_ext
20656 cat >>conftest.
$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20664 FILE *f=fopen("conftestval", "w");
20667 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20672 rm -f conftest
$ac_exeext
20673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20674 (eval $ac_link) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20679 (eval $ac_try) 2>&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); }; }; then
20683 ac_cv_header_png_h
=`cat conftestval`
20685 echo "$as_me: program exited with status $ac_status" >&5
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.
$ac_ext >&5
20689 ( exit $ac_status )
20690 ac_cv_header_png_h
=no
20692 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20696 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20697 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20698 if test "${ac_cv_header_png_h+set}" = set; then
20699 echo "$as_me:$LINENO: checking for png.h" >&5
20700 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20701 if test "${ac_cv_header_png_h+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20705 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20707 # Is the header compilable?
20708 echo "$as_me:$LINENO: checking png.h usability" >&5
20709 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20710 cat >conftest.
$ac_ext <<_ACEOF
20713 cat confdefs.h
>>conftest.
$ac_ext
20714 cat >>conftest.
$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716 $ac_includes_default
20719 rm -f conftest.
$ac_objext
20720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20721 (eval $ac_compile) 2>conftest.er1
20723 grep -v '^ *+' conftest.er1
>conftest.err
20725 cat conftest.err
>&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } &&
20728 { ac_try
='test -z "$ac_c_werror_flag"
20729 || test ! -s conftest.err'
20730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20731 (eval $ac_try) 2>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); }; } &&
20735 { ac_try
='test -s conftest.$ac_objext'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; }; then
20741 ac_header_compiler
=yes
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.
$ac_ext >&5
20746 ac_header_compiler
=no
20748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20750 echo "${ECHO_T}$ac_header_compiler" >&6
20752 # Is the header present?
20753 echo "$as_me:$LINENO: checking png.h presence" >&5
20754 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20755 cat >conftest.
$ac_ext <<_ACEOF
20758 cat confdefs.h
>>conftest.
$ac_ext
20759 cat >>conftest.
$ac_ext <<_ACEOF
20760 /* end confdefs.h. */
20763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20766 grep -v '^ *+' conftest.er1
>conftest.err
20768 cat conftest.err
>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } >/dev
/null
; then
20771 if test -s conftest.err
; then
20772 ac_cpp_err
=$ac_c_preproc_warn_flag
20773 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20780 if test -z "$ac_cpp_err"; then
20781 ac_header_preproc
=yes
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.
$ac_ext >&5
20786 ac_header_preproc
=no
20788 rm -f conftest.err conftest.
$ac_ext
20789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20790 echo "${ECHO_T}$ac_header_preproc" >&6
20792 # So? What about this header?
20793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20795 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20796 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20797 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20798 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20799 ac_header_preproc
=yes
20802 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20803 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20804 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20805 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20806 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20807 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20808 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20809 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20810 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20811 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20812 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20813 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20816 ## ----------------------------------------- ##
20817 ## Report this to wx-dev@lists.wxwidgets.org ##
20818 ## ----------------------------------------- ##
20821 sed "s/^/$as_me: WARNING: /" >&2
20824 echo "$as_me:$LINENO: checking for png.h" >&5
20825 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20826 if test "${ac_cv_header_png_h+set}" = set; then
20827 echo $ECHO_N "(cached) $ECHO_C" >&6
20829 ac_cv_header_png_h
=$ac_header_preproc
20831 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20832 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20838 if test "$ac_cv_header_png_h" = "yes"; then
20839 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20840 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20841 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 ac_check_lib_save_LIBS
=$LIBS
20845 LIBS
="-lpng -lz -lm $LIBS"
20846 cat >conftest.
$ac_ext <<_ACEOF
20849 cat confdefs.h
>>conftest.
$ac_ext
20850 cat >>conftest.
$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20853 /* Override any gcc2 internal prototype to avoid an error. */
20857 /* We use char because int might match the return type of a gcc2
20858 builtin and then its argument prototype would still apply. */
20859 char png_check_sig ();
20868 rm -f conftest.
$ac_objext conftest
$ac_exeext
20869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20870 (eval $ac_link) 2>conftest.er1
20872 grep -v '^ *+' conftest.er1
>conftest.err
20874 cat conftest.err
>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } &&
20877 { ac_try
='test -z "$ac_c_werror_flag"
20878 || test ! -s conftest.err'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; } &&
20884 { ac_try
='test -s conftest$ac_exeext'
20885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20886 (eval $ac_try) 2>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); }; }; then
20890 ac_cv_lib_png_png_check_sig
=yes
20892 echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.
$ac_ext >&5
20895 ac_cv_lib_png_png_check_sig
=no
20897 rm -f conftest.err conftest.
$ac_objext \
20898 conftest
$ac_exeext conftest.
$ac_ext
20899 LIBS
=$ac_check_lib_save_LIBS
20901 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20902 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20903 if test $ac_cv_lib_png_png_check_sig = yes; then
20904 PNG_LINK
=" -lpng -lz"
20909 if test "x$PNG_LINK" = "x" ; then
20910 if test "$wxUSE_LIBPNG" = "sys" ; then
20911 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20912 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20913 { (exit 1); exit 1; }; }
20915 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20916 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20917 wxUSE_LIBPNG
=builtin
20925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20930 if test "$wxUSE_LIBJPEG" != "no" ; then
20931 cat >>confdefs.h
<<\_ACEOF
20932 #define wxUSE_LIBJPEG 1
20936 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20937 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20938 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20942 if test "$wxUSE_MGL" != 1 ; then
20943 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20944 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20945 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20946 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20947 echo $ECHO_N "(cached) $ECHO_C" >&6
20949 cat >conftest.
$ac_ext <<_ACEOF
20952 cat confdefs.h
>>conftest.
$ac_ext
20953 cat >>conftest.
$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20956 #undef HAVE_STDLIB_H
20958 #include <jpeglib.h>
20969 rm -f conftest.
$ac_objext
20970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20971 (eval $ac_compile) 2>conftest.er1
20973 grep -v '^ *+' conftest.er1
>conftest.err
20975 cat conftest.err
>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } &&
20978 { ac_try
='test -z "$ac_c_werror_flag"
20979 || test ! -s conftest.err'
20980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 (eval $ac_try) 2>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); }; } &&
20985 { ac_try
='test -s conftest.$ac_objext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_header_jpeglib_h
=yes
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.
$ac_ext >&5
20996 ac_cv_header_jpeglib_h
=no
20999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21003 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21004 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21006 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21007 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21008 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21009 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 ac_check_lib_save_LIBS
=$LIBS
21013 LIBS
="-ljpeg $LIBS"
21014 cat >conftest.
$ac_ext <<_ACEOF
21017 cat confdefs.h
>>conftest.
$ac_ext
21018 cat >>conftest.
$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21021 /* Override any gcc2 internal prototype to avoid an error. */
21025 /* We use char because int might match the return type of a gcc2
21026 builtin and then its argument prototype would still apply. */
21027 char jpeg_read_header ();
21031 jpeg_read_header ();
21036 rm -f conftest.
$ac_objext conftest
$ac_exeext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21038 (eval $ac_link) 2>conftest.er1
21040 grep -v '^ *+' conftest.er1
>conftest.err
21042 cat conftest.err
>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try
='test -z "$ac_c_werror_flag"
21046 || test ! -s conftest.err'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try
='test -s conftest$ac_exeext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_cv_lib_jpeg_jpeg_read_header
=yes
21060 echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.
$ac_ext >&5
21063 ac_cv_lib_jpeg_jpeg_read_header
=no
21065 rm -f conftest.err conftest.
$ac_objext \
21066 conftest
$ac_exeext conftest.
$ac_ext
21067 LIBS
=$ac_check_lib_save_LIBS
21069 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21070 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21071 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21072 JPEG_LINK
=" -ljpeg"
21077 if test "x$JPEG_LINK" = "x" ; then
21078 if test "$wxUSE_LIBJPEG" = "sys" ; then
21079 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21080 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21081 { (exit 1); exit 1; }; }
21083 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21084 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21085 wxUSE_LIBJPEG
=builtin
21096 TIFF_PREREQ_LINKS
=-lm
21097 if test "$wxUSE_LIBTIFF" != "no" ; then
21098 cat >>confdefs.h
<<\_ACEOF
21099 #define wxUSE_LIBTIFF 1
21103 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21104 if test "$wxUSE_LIBJPEG" = "sys"; then
21105 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21107 if test "$wxUSE_ZLIB" = "sys"; then
21108 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21110 if test "${ac_cv_header_tiffio_h+set}" = set; then
21111 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21112 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21113 if test "${ac_cv_header_tiffio_h+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21116 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21117 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21119 # Is the header compilable?
21120 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21121 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21122 cat >conftest.
$ac_ext <<_ACEOF
21125 cat confdefs.h
>>conftest.
$ac_ext
21126 cat >>conftest.
$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 $ac_includes_default
21129 #include <tiffio.h>
21131 rm -f conftest.
$ac_objext
21132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21133 (eval $ac_compile) 2>conftest.er1
21135 grep -v '^ *+' conftest.er1
>conftest.err
21137 cat conftest.err
>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); } &&
21140 { ac_try
='test -z "$ac_c_werror_flag"
21141 || test ! -s conftest.err'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; } &&
21147 { ac_try
='test -s conftest.$ac_objext'
21148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149 (eval $ac_try) 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; }; then
21153 ac_header_compiler
=yes
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.
$ac_ext >&5
21158 ac_header_compiler
=no
21160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21162 echo "${ECHO_T}$ac_header_compiler" >&6
21164 # Is the header present?
21165 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21166 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21167 cat >conftest.
$ac_ext <<_ACEOF
21170 cat confdefs.h
>>conftest.
$ac_ext
21171 cat >>conftest.
$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 #include <tiffio.h>
21175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21178 grep -v '^ *+' conftest.er1
>conftest.err
21180 cat conftest.err
>&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } >/dev
/null
; then
21183 if test -s conftest.err
; then
21184 ac_cpp_err
=$ac_c_preproc_warn_flag
21185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21192 if test -z "$ac_cpp_err"; then
21193 ac_header_preproc
=yes
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.
$ac_ext >&5
21198 ac_header_preproc
=no
21200 rm -f conftest.err conftest.
$ac_ext
21201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21202 echo "${ECHO_T}$ac_header_preproc" >&6
21204 # So? What about this header?
21205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21207 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21208 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21209 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21210 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21211 ac_header_preproc
=yes
21214 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21215 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21216 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21217 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21218 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21219 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21220 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21221 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21222 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21223 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21224 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21225 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21228 ## ----------------------------------------- ##
21229 ## Report this to wx-dev@lists.wxwidgets.org ##
21230 ## ----------------------------------------- ##
21233 sed "s/^/$as_me: WARNING: /" >&2
21236 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21237 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21238 if test "${ac_cv_header_tiffio_h+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21241 ac_cv_header_tiffio_h
=$ac_header_preproc
21243 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21244 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21247 if test $ac_cv_header_tiffio_h = yes; then
21249 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21250 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21251 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21254 ac_check_lib_save_LIBS
=$LIBS
21255 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21256 cat >conftest.
$ac_ext <<_ACEOF
21259 cat confdefs.h
>>conftest.
$ac_ext
21260 cat >>conftest.
$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21263 /* Override any gcc2 internal prototype to avoid an error. */
21267 /* We use char because int might match the return type of a gcc2
21268 builtin and then its argument prototype would still apply. */
21278 rm -f conftest.
$ac_objext conftest
$ac_exeext
21279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21280 (eval $ac_link) 2>conftest.er1
21282 grep -v '^ *+' conftest.er1
>conftest.err
21284 cat conftest.err
>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } &&
21287 { ac_try
='test -z "$ac_c_werror_flag"
21288 || test ! -s conftest.err'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; } &&
21294 { ac_try
='test -s conftest$ac_exeext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_cv_lib_tiff_TIFFError
=yes
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.
$ac_ext >&5
21305 ac_cv_lib_tiff_TIFFError
=no
21307 rm -f conftest.err conftest.
$ac_objext \
21308 conftest
$ac_exeext conftest.
$ac_ext
21309 LIBS
=$ac_check_lib_save_LIBS
21311 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21312 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21313 if test $ac_cv_lib_tiff_TIFFError = yes; then
21314 TIFF_LINK
=" -ltiff"
21323 if test "x$TIFF_LINK" = "x" ; then
21324 if test "$wxUSE_LIBTIFF" = "sys" ; then
21325 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21326 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21327 { (exit 1); exit 1; }; }
21329 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21330 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21331 wxUSE_LIBTIFF
=builtin
21340 if test "$wxUSE_EXPAT" != "no"; then
21342 cat >>confdefs.h
<<\_ACEOF
21343 #define wxUSE_EXPAT 1
21346 cat >>confdefs.h
<<\_ACEOF
21347 #define wxUSE_XML 1
21351 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21352 if test "${ac_cv_header_expat_h+set}" = set; then
21353 echo "$as_me:$LINENO: checking for expat.h" >&5
21354 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21355 if test "${ac_cv_header_expat_h+set}" = set; then
21356 echo $ECHO_N "(cached) $ECHO_C" >&6
21358 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21359 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21361 # Is the header compilable?
21362 echo "$as_me:$LINENO: checking expat.h usability" >&5
21363 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21364 cat >conftest.
$ac_ext <<_ACEOF
21367 cat confdefs.h
>>conftest.
$ac_ext
21368 cat >>conftest.
$ac_ext <<_ACEOF
21369 /* end confdefs.h. */
21370 $ac_includes_default
21373 rm -f conftest.
$ac_objext
21374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21375 (eval $ac_compile) 2>conftest.er1
21377 grep -v '^ *+' conftest.er1
>conftest.err
21379 cat conftest.err
>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); } &&
21382 { ac_try
='test -z "$ac_c_werror_flag"
21383 || test ! -s conftest.err'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; } &&
21389 { ac_try
='test -s conftest.$ac_objext'
21390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21391 (eval $ac_try) 2>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }; }; then
21395 ac_header_compiler
=yes
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.
$ac_ext >&5
21400 ac_header_compiler
=no
21402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21404 echo "${ECHO_T}$ac_header_compiler" >&6
21406 # Is the header present?
21407 echo "$as_me:$LINENO: checking expat.h presence" >&5
21408 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21409 cat >conftest.
$ac_ext <<_ACEOF
21412 cat confdefs.h
>>conftest.
$ac_ext
21413 cat >>conftest.
$ac_ext <<_ACEOF
21414 /* end confdefs.h. */
21417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21420 grep -v '^ *+' conftest.er1
>conftest.err
21422 cat conftest.err
>&5
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); } >/dev
/null
; then
21425 if test -s conftest.err
; then
21426 ac_cpp_err
=$ac_c_preproc_warn_flag
21427 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21434 if test -z "$ac_cpp_err"; then
21435 ac_header_preproc
=yes
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.
$ac_ext >&5
21440 ac_header_preproc
=no
21442 rm -f conftest.err conftest.
$ac_ext
21443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21444 echo "${ECHO_T}$ac_header_preproc" >&6
21446 # So? What about this header?
21447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21449 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21450 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21451 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21452 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21453 ac_header_preproc
=yes
21456 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21457 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21458 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21459 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21460 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21461 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21462 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21463 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21464 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21465 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21466 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21467 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21470 ## ----------------------------------------- ##
21471 ## Report this to wx-dev@lists.wxwidgets.org ##
21472 ## ----------------------------------------- ##
21475 sed "s/^/$as_me: WARNING: /" >&2
21478 echo "$as_me:$LINENO: checking for expat.h" >&5
21479 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21480 if test "${ac_cv_header_expat_h+set}" = set; then
21481 echo $ECHO_N "(cached) $ECHO_C" >&6
21483 ac_cv_header_expat_h
=$ac_header_preproc
21485 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21486 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21489 if test $ac_cv_header_expat_h = yes; then
21494 if test "x$found_expat_h" = "x1"; then
21495 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21496 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21497 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21498 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 ac_cpp
='$CXXCPP $CPPFLAGS'
21505 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21509 cat >conftest.
$ac_ext <<_ACEOF
21512 cat confdefs.h
>>conftest.
$ac_ext
21513 cat >>conftest.
$ac_ext <<_ACEOF
21514 /* end confdefs.h. */
21524 rm -f conftest.
$ac_objext
21525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21526 (eval $ac_compile) 2>conftest.er1
21528 grep -v '^ *+' conftest.er1
>conftest.err
21530 cat conftest.err
>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); } &&
21533 { ac_try
='test -z "$ac_cxx_werror_flag"
21534 || test ! -s conftest.err'
21535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21536 (eval $ac_try) 2>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); }; } &&
21540 { ac_try
='test -s conftest.$ac_objext'
21541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542 (eval $ac_try) 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 wx_cv_expat_is_not_broken
=yes
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.
$ac_ext >&5
21551 wx_cv_expat_is_not_broken
=no
21554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21556 ac_cpp
='$CPP $CPPFLAGS'
21557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21564 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21565 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21566 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21567 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21568 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21569 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21570 echo $ECHO_N "(cached) $ECHO_C" >&6
21572 ac_check_lib_save_LIBS
=$LIBS
21573 LIBS
="-lexpat $LIBS"
21574 cat >conftest.
$ac_ext <<_ACEOF
21577 cat confdefs.h
>>conftest.
$ac_ext
21578 cat >>conftest.
$ac_ext <<_ACEOF
21579 /* end confdefs.h. */
21581 /* Override any gcc2 internal prototype to avoid an error. */
21585 /* We use char because int might match the return type of a gcc2
21586 builtin and then its argument prototype would still apply. */
21587 char XML_ParserCreate ();
21591 XML_ParserCreate ();
21596 rm -f conftest.
$ac_objext conftest
$ac_exeext
21597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21598 (eval $ac_link) 2>conftest.er1
21600 grep -v '^ *+' conftest.er1
>conftest.err
21602 cat conftest.err
>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try
='test -z "$ac_c_werror_flag"
21606 || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try
='test -s conftest$ac_exeext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_lib_expat_XML_ParserCreate
=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21623 ac_cv_lib_expat_XML_ParserCreate
=no
21625 rm -f conftest.err conftest.
$ac_objext \
21626 conftest
$ac_exeext conftest.
$ac_ext
21627 LIBS
=$ac_check_lib_save_LIBS
21629 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21630 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21631 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21632 EXPAT_LINK
=" -lexpat"
21637 if test "x$EXPAT_LINK" = "x" ; then
21638 if test "$wxUSE_EXPAT" = "sys" ; then
21639 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21640 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21641 { (exit 1); exit 1; }; }
21643 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21644 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21645 wxUSE_EXPAT
=builtin
21651 if test "$wxUSE_EXPAT" = "builtin" ; then
21654 subdirs
="$subdirs src/expat"
21661 if test "$wxUSE_LIBMSPACK" != "no"; then
21663 if test "${ac_cv_header_mspack_h+set}" = set; then
21664 echo "$as_me:$LINENO: checking for mspack.h" >&5
21665 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21666 if test "${ac_cv_header_mspack_h+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21669 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21670 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21672 # Is the header compilable?
21673 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21674 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21675 cat >conftest.
$ac_ext <<_ACEOF
21678 cat confdefs.h
>>conftest.
$ac_ext
21679 cat >>conftest.
$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21681 $ac_includes_default
21682 #include <mspack.h>
21684 rm -f conftest.
$ac_objext
21685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21686 (eval $ac_compile) 2>conftest.er1
21688 grep -v '^ *+' conftest.er1
>conftest.err
21690 cat conftest.err
>&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } &&
21693 { ac_try
='test -z "$ac_c_werror_flag"
21694 || test ! -s conftest.err'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; } &&
21700 { ac_try
='test -s conftest.$ac_objext'
21701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21702 (eval $ac_try) 2>&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); }; }; then
21706 ac_header_compiler
=yes
21708 echo "$as_me: failed program was:" >&5
21709 sed 's/^/| /' conftest.
$ac_ext >&5
21711 ac_header_compiler
=no
21713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21715 echo "${ECHO_T}$ac_header_compiler" >&6
21717 # Is the header present?
21718 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21719 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21720 cat >conftest.
$ac_ext <<_ACEOF
21723 cat confdefs.h
>>conftest.
$ac_ext
21724 cat >>conftest.
$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 #include <mspack.h>
21728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21731 grep -v '^ *+' conftest.er1
>conftest.err
21733 cat conftest.err
>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } >/dev
/null
; then
21736 if test -s conftest.err
; then
21737 ac_cpp_err
=$ac_c_preproc_warn_flag
21738 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21745 if test -z "$ac_cpp_err"; then
21746 ac_header_preproc
=yes
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.
$ac_ext >&5
21751 ac_header_preproc
=no
21753 rm -f conftest.err conftest.
$ac_ext
21754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21755 echo "${ECHO_T}$ac_header_preproc" >&6
21757 # So? What about this header?
21758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21760 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21761 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21762 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21763 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21764 ac_header_preproc
=yes
21767 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21768 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21769 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21770 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21771 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21772 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21773 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21774 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21775 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21776 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21777 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21778 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21781 ## ----------------------------------------- ##
21782 ## Report this to wx-dev@lists.wxwidgets.org ##
21783 ## ----------------------------------------- ##
21786 sed "s/^/$as_me: WARNING: /" >&2
21789 echo "$as_me:$LINENO: checking for mspack.h" >&5
21790 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21791 if test "${ac_cv_header_mspack_h+set}" = set; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21794 ac_cv_header_mspack_h
=$ac_header_preproc
21796 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21797 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21800 if test $ac_cv_header_mspack_h = yes; then
21805 if test "x$found_mspack_h" = "x1"; then
21806 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21807 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21808 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 ac_check_lib_save_LIBS
=$LIBS
21812 LIBS
="-lmspack $LIBS"
21813 cat >conftest.
$ac_ext <<_ACEOF
21816 cat confdefs.h
>>conftest.
$ac_ext
21817 cat >>conftest.
$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21820 /* Override any gcc2 internal prototype to avoid an error. */
21824 /* We use char because int might match the return type of a gcc2
21825 builtin and then its argument prototype would still apply. */
21826 char mspack_create_chm_decompressor ();
21830 mspack_create_chm_decompressor ();
21835 rm -f conftest.
$ac_objext conftest
$ac_exeext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21837 (eval $ac_link) 2>conftest.er1
21839 grep -v '^ *+' conftest.er1
>conftest.err
21841 cat conftest.err
>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try
='test -z "$ac_c_werror_flag"
21845 || test ! -s conftest.err'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; } &&
21851 { ac_try
='test -s conftest$ac_exeext'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21857 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21859 echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.
$ac_ext >&5
21862 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21864 rm -f conftest.err conftest.
$ac_objext \
21865 conftest
$ac_exeext conftest.
$ac_ext
21866 LIBS
=$ac_check_lib_save_LIBS
21868 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21869 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21870 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21871 MSPACK_LINK
=" -lmspack"
21875 if test "x$MSPACK_LINK" = "x" ; then
21878 cat >>confdefs.h
<<\_ACEOF
21879 #define wxUSE_LIBMSPACK 1
21894 if test "$USE_WIN32" = 1 ; then
21896 for ac_header
in w32api.h
21898 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21900 echo "$as_me:$LINENO: checking for $ac_header" >&5
21901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21903 echo $ECHO_N "(cached) $ECHO_C" >&6
21905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21908 # Is the header compilable?
21909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21911 cat >conftest.
$ac_ext <<_ACEOF
21914 cat confdefs.h
>>conftest.
$ac_ext
21915 cat >>conftest.
$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 $ac_includes_default
21918 #include <$ac_header>
21920 rm -f conftest.
$ac_objext
21921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21922 (eval $ac_compile) 2>conftest.er1
21924 grep -v '^ *+' conftest.er1
>conftest.err
21926 cat conftest.err
>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); } &&
21929 { ac_try
='test -z "$ac_c_werror_flag"
21930 || test ! -s conftest.err'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; } &&
21936 { ac_try
='test -s conftest.$ac_objext'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; }; then
21942 ac_header_compiler
=yes
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.
$ac_ext >&5
21947 ac_header_compiler
=no
21949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21951 echo "${ECHO_T}$ac_header_compiler" >&6
21953 # Is the header present?
21954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21956 cat >conftest.
$ac_ext <<_ACEOF
21959 cat confdefs.h
>>conftest.
$ac_ext
21960 cat >>conftest.
$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 #include <$ac_header>
21964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21967 grep -v '^ *+' conftest.er1
>conftest.err
21969 cat conftest.err
>&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } >/dev
/null
; then
21972 if test -s conftest.err
; then
21973 ac_cpp_err
=$ac_c_preproc_warn_flag
21974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21981 if test -z "$ac_cpp_err"; then
21982 ac_header_preproc
=yes
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.
$ac_ext >&5
21987 ac_header_preproc
=no
21989 rm -f conftest.err conftest.
$ac_ext
21990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21991 echo "${ECHO_T}$ac_header_preproc" >&6
21993 # So? What about this header?
21994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22000 ac_header_preproc
=yes
22003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22017 ## ----------------------------------------- ##
22018 ## Report this to wx-dev@lists.wxwidgets.org ##
22019 ## ----------------------------------------- ##
22022 sed "s/^/$as_me: WARNING: /" >&2
22025 echo "$as_me:$LINENO: checking for $ac_header" >&5
22026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22028 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 eval "$as_ac_Header=\$ac_header_preproc"
22032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22037 cat >>confdefs.h
<<_ACEOF
22038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22045 if test "${ac_cv_header_windows_h+set}" = set; then
22046 echo "$as_me:$LINENO: checking for windows.h" >&5
22047 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22048 if test "${ac_cv_header_windows_h+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22052 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22054 # Is the header compilable?
22055 echo "$as_me:$LINENO: checking windows.h usability" >&5
22056 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22057 cat >conftest.
$ac_ext <<_ACEOF
22060 cat confdefs.h
>>conftest.
$ac_ext
22061 cat >>conftest.
$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22063 $ac_includes_default
22064 #include <windows.h>
22066 rm -f conftest.
$ac_objext
22067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22068 (eval $ac_compile) 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_objext'
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 ac_header_compiler
=yes
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.
$ac_ext >&5
22093 ac_header_compiler
=no
22095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22097 echo "${ECHO_T}$ac_header_compiler" >&6
22099 # Is the header present?
22100 echo "$as_me:$LINENO: checking windows.h presence" >&5
22101 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22102 cat >conftest.
$ac_ext <<_ACEOF
22105 cat confdefs.h
>>conftest.
$ac_ext
22106 cat >>conftest.
$ac_ext <<_ACEOF
22107 /* end confdefs.h. */
22108 #include <windows.h>
22110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22113 grep -v '^ *+' conftest.er1
>conftest.err
22115 cat conftest.err
>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } >/dev
/null
; then
22118 if test -s conftest.err
; then
22119 ac_cpp_err
=$ac_c_preproc_warn_flag
22120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22127 if test -z "$ac_cpp_err"; then
22128 ac_header_preproc
=yes
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.
$ac_ext >&5
22133 ac_header_preproc
=no
22135 rm -f conftest.err conftest.
$ac_ext
22136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22137 echo "${ECHO_T}$ac_header_preproc" >&6
22139 # So? What about this header?
22140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22142 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22143 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22144 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22145 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22146 ac_header_preproc
=yes
22149 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22150 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22151 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22152 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22153 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22154 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22155 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22156 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22157 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22158 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22159 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22160 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22163 ## ----------------------------------------- ##
22164 ## Report this to wx-dev@lists.wxwidgets.org ##
22165 ## ----------------------------------------- ##
22168 sed "s/^/$as_me: WARNING: /" >&2
22171 echo "$as_me:$LINENO: checking for windows.h" >&5
22172 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22173 if test "${ac_cv_header_windows_h+set}" = set; then
22174 echo $ECHO_N "(cached) $ECHO_C" >&6
22176 ac_cv_header_windows_h
=$ac_header_preproc
22178 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22179 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22182 if test $ac_cv_header_windows_h = yes; then
22186 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22187 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22188 { (exit 1); exit 1; }; }
22194 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22196 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22197 LIBS
="$LIBS -loleacc"
22202 LIBS
="$LIBS -lkernel32 -luser32"
22203 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22206 if test "$wxUSE_ODBC" = "sys" ; then
22209 if test "$wxUSE_ODBC" = "yes" ; then
22210 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22211 cat >>confdefs.h
<<\_ACEOF
22212 #define wxUSE_ODBC 1
22217 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22218 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22220 WIN32INSTALL
=win32install
22223 if test "$wxUSE_GUI" = "yes"; then
22233 if test "$wxUSE_MSW" = 1 ; then
22239 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22243 if test "$wxUSE_GTK" = 1; then
22244 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22245 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22247 gtk_version_cached
=1
22248 if test "${wx_cv_lib_gtk+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22252 gtk_version_cached
=0
22253 echo "$as_me:$LINENO: result: " >&5
22254 echo "${ECHO_T}" >&6
22257 if test "$wxUSE_THREADS" = "yes"; then
22258 GTK_MODULES
=gthread
22262 if test "x$wxUSE_GTK2" = "xyes"; then
22263 # Check whether --enable-gtktest or --disable-gtktest was given.
22264 if test "${enable_gtktest+set}" = set; then
22265 enableval
="$enable_gtktest"
22271 pkg_config_args
=gtk
+-2.0
22272 for module
in .
$GTK_MODULES
22276 pkg_config_args
="$pkg_config_args gthread-2.0"
22283 # Extract the first word of "pkg-config", so it can be a program name with args.
22284 set dummy pkg
-config; ac_word
=$2
22285 echo "$as_me:$LINENO: checking for $ac_word" >&5
22286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22287 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22288 echo $ECHO_N "(cached) $ECHO_C" >&6
22290 case $PKG_CONFIG in
22292 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22296 for as_dir
in $PATH
22299 test -z "$as_dir" && as_dir
=.
22300 for ac_exec_ext
in '' $ac_executable_extensions; do
22301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22302 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22309 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22313 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22315 if test -n "$PKG_CONFIG"; then
22316 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22317 echo "${ECHO_T}$PKG_CONFIG" >&6
22319 echo "$as_me:$LINENO: result: no" >&5
22320 echo "${ECHO_T}no" >&6
22324 if test x
$PKG_CONFIG != xno
; then
22325 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22328 echo "*** pkg-config too old; version 0.7 or better required."
22336 min_gtk_version
=2.0.0
22337 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22338 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22340 if test x
$PKG_CONFIG != xno
; then
22341 ## don't try to run the test against uninstalled libtool libs
22342 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22343 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22347 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22354 if test x
"$no_gtk" = x
; then
22355 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22356 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22357 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22359 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22361 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22362 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22363 if test "x$enable_gtktest" = "xyes" ; then
22364 ac_save_CFLAGS
="$CFLAGS"
22365 ac_save_LIBS
="$LIBS"
22366 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22367 LIBS
="$GTK_LIBS $LIBS"
22369 if test "$cross_compiling" = yes; then
22370 echo $ac_n "cross compiling; assumed OK... $ac_c"
22372 cat >conftest.
$ac_ext <<_ACEOF
22375 cat confdefs.h
>>conftest.
$ac_ext
22376 cat >>conftest.
$ac_ext <<_ACEOF
22377 /* end confdefs.h. */
22379 #include <gtk/gtk.h>
22381 #include <stdlib.h>
22386 int major, minor, micro;
22389 system ("touch conf.gtktest");
22391 /* HP/UX 9 (%@#!) writes to sscanf strings */
22392 tmp_version = g_strdup("$min_gtk_version");
22393 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22394 printf("%s, bad version string\n", "$min_gtk_version");
22398 if ((gtk_major_version != $gtk_config_major_version) ||
22399 (gtk_minor_version != $gtk_config_minor_version) ||
22400 (gtk_micro_version != $gtk_config_micro_version))
22402 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22403 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22404 gtk_major_version, gtk_minor_version, gtk_micro_version);
22405 printf ("*** was found! If pkg-config was correct, then it is best\n");
22406 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22407 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22408 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22409 printf("*** required on your system.\n");
22410 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22411 printf("*** to point to the correct configuration files\n");
22413 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22414 (gtk_minor_version != GTK_MINOR_VERSION) ||
22415 (gtk_micro_version != GTK_MICRO_VERSION))
22417 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22418 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22419 printf("*** library (version %d.%d.%d)\n",
22420 gtk_major_version, gtk_minor_version, gtk_micro_version);
22424 if ((gtk_major_version > major) ||
22425 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22426 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22432 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22433 gtk_major_version, gtk_minor_version, gtk_micro_version);
22434 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22435 major, minor, micro);
22436 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22438 printf("*** If you have already installed a sufficiently new version, this error\n");
22439 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22440 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22441 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22442 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22443 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22444 printf("*** so that the correct libraries are found at run-time))\n");
22451 rm -f conftest
$ac_exeext
22452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22453 (eval $ac_link) 2>&5
22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22464 echo "$as_me: program exited with status $ac_status" >&5
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.
$ac_ext >&5
22468 ( exit $ac_status )
22471 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22473 CFLAGS
="$ac_save_CFLAGS"
22474 LIBS
="$ac_save_LIBS"
22477 if test "x$no_gtk" = x
; then
22478 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22479 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22482 echo "$as_me:$LINENO: result: no" >&5
22483 echo "${ECHO_T}no" >&6
22484 if test "$PKG_CONFIG" = "no" ; then
22485 echo "*** A new enough version of pkg-config was not found."
22486 echo "*** See http://pkgconfig.sourceforge.net"
22488 if test -f conf.gtktest
; then
22491 echo "*** Could not run GTK+ test program, checking why..."
22492 ac_save_CFLAGS
="$CFLAGS"
22493 ac_save_LIBS
="$LIBS"
22494 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22495 LIBS
="$LIBS $GTK_LIBS"
22496 cat >conftest.
$ac_ext <<_ACEOF
22499 cat confdefs.h
>>conftest.
$ac_ext
22500 cat >>conftest.
$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22503 #include <gtk/gtk.h>
22509 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22514 rm -f conftest.
$ac_objext conftest
$ac_exeext
22515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22516 (eval $ac_link) 2>conftest.er1
22518 grep -v '^ *+' conftest.er1
>conftest.err
22520 cat conftest.err
>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } &&
22523 { ac_try
='test -z "$ac_c_werror_flag"
22524 || test ! -s conftest.err'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; } &&
22530 { ac_try
='test -s conftest$ac_exeext'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 echo "*** The test program compiled, but did not run. This usually means"
22537 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22538 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22539 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22540 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22541 echo "*** is required on your system"
22543 echo "*** If you have an old version installed, it is best to remove it, although"
22544 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.
$ac_ext >&5
22549 echo "*** The test program failed to compile or link. See the file config.log for the"
22550 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22552 rm -f conftest.err conftest.
$ac_objext \
22553 conftest
$ac_exeext conftest.
$ac_ext
22554 CFLAGS
="$ac_save_CFLAGS"
22555 LIBS
="$ac_save_LIBS"
22568 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22569 if test "${with_gtk_prefix+set}" = set; then
22570 withval
="$with_gtk_prefix"
22571 gtk_config_prefix
="$withval"
22573 gtk_config_prefix
=""
22576 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22577 if test "${with_gtk_exec_prefix+set}" = set; then
22578 withval
="$with_gtk_exec_prefix"
22579 gtk_config_exec_prefix
="$withval"
22581 gtk_config_exec_prefix
=""
22583 # Check whether --enable-gtktest or --disable-gtktest was given.
22584 if test "${enable_gtktest+set}" = set; then
22585 enableval
="$enable_gtktest"
22591 for module
in .
$GTK_MODULES
22595 gtk_config_args
="$gtk_config_args gthread"
22600 if test x
$gtk_config_exec_prefix != x
; then
22601 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22602 if test x
${GTK_CONFIG+set} != xset
; then
22603 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22606 if test x
$gtk_config_prefix != x
; then
22607 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22608 if test x
${GTK_CONFIG+set} != xset
; then
22609 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22613 # Extract the first word of "gtk-config", so it can be a program name with args.
22614 set dummy gtk
-config; ac_word
=$2
22615 echo "$as_me:$LINENO: checking for $ac_word" >&5
22616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22617 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22618 echo $ECHO_N "(cached) $ECHO_C" >&6
22620 case $GTK_CONFIG in
22622 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22626 for as_dir
in $PATH
22629 test -z "$as_dir" && as_dir
=.
22630 for ac_exec_ext
in '' $ac_executable_extensions; do
22631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22632 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22639 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22643 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22645 if test -n "$GTK_CONFIG"; then
22646 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22647 echo "${ECHO_T}$GTK_CONFIG" >&6
22649 echo "$as_me:$LINENO: result: no" >&5
22650 echo "${ECHO_T}no" >&6
22653 min_gtk_version
=1.2.7
22654 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22655 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22657 if test "$GTK_CONFIG" = "no" ; then
22660 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22661 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22662 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22664 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22666 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22668 if test "x$enable_gtktest" = "xyes" ; then
22669 ac_save_CFLAGS
="$CFLAGS"
22670 ac_save_LIBS
="$LIBS"
22671 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22672 LIBS
="$GTK_LIBS $LIBS"
22674 if test "$cross_compiling" = yes; then
22675 echo $ac_n "cross compiling; assumed OK... $ac_c"
22677 cat >conftest.
$ac_ext <<_ACEOF
22680 cat confdefs.h
>>conftest.
$ac_ext
22681 cat >>conftest.
$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22684 #include <gtk/gtk.h>
22686 #include <stdlib.h>
22691 int major, minor, micro;
22694 system ("touch conf.gtktest");
22696 /* HP/UX 9 (%@#!) writes to sscanf strings */
22697 tmp_version = g_strdup("$min_gtk_version");
22698 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22699 printf("%s, bad version string\n", "$min_gtk_version");
22703 if ((gtk_major_version != $gtk_config_major_version) ||
22704 (gtk_minor_version != $gtk_config_minor_version) ||
22705 (gtk_micro_version != $gtk_config_micro_version))
22707 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22708 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22709 gtk_major_version, gtk_minor_version, gtk_micro_version);
22710 printf ("*** was found! If gtk-config was correct, then it is best\n");
22711 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22712 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22713 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22714 printf("*** required on your system.\n");
22715 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22716 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22717 printf("*** before re-running configure\n");
22719 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22720 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22721 (gtk_minor_version != GTK_MINOR_VERSION) ||
22722 (gtk_micro_version != GTK_MICRO_VERSION))
22724 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22725 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22726 printf("*** library (version %d.%d.%d)\n",
22727 gtk_major_version, gtk_minor_version, gtk_micro_version);
22729 #endif /* defined (GTK_MAJOR_VERSION) ... */
22732 if ((gtk_major_version > major) ||
22733 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22734 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22740 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22741 gtk_major_version, gtk_minor_version, gtk_micro_version);
22742 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22743 major, minor, micro);
22744 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22746 printf("*** If you have already installed a sufficiently new version, this error\n");
22747 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22748 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22749 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22750 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22751 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22752 printf("*** so that the correct libraries are found at run-time))\n");
22759 rm -f conftest
$ac_exeext
22760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22761 (eval $ac_link) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22766 (eval $ac_try) 2>&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); }; }; then
22772 echo "$as_me: program exited with status $ac_status" >&5
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.
$ac_ext >&5
22776 ( exit $ac_status )
22779 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22781 CFLAGS
="$ac_save_CFLAGS"
22782 LIBS
="$ac_save_LIBS"
22785 if test "x$no_gtk" = x
; then
22786 echo "$as_me:$LINENO: result: yes" >&5
22787 echo "${ECHO_T}yes" >&6
22788 wx_cv_lib_gtk
=1.2.7
22790 echo "$as_me:$LINENO: result: no" >&5
22791 echo "${ECHO_T}no" >&6
22792 if test "$GTK_CONFIG" = "no" ; then
22793 echo "*** The gtk-config script installed by GTK could not be found"
22794 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22795 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22796 echo "*** full path to gtk-config."
22798 if test -f conf.gtktest
; then
22801 echo "*** Could not run GTK test program, checking why..."
22802 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22803 LIBS
="$LIBS $GTK_LIBS"
22804 cat >conftest.
$ac_ext <<_ACEOF
22807 cat confdefs.h
>>conftest.
$ac_ext
22808 cat >>conftest.
$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22811 #include <gtk/gtk.h>
22817 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22822 rm -f conftest.
$ac_objext conftest
$ac_exeext
22823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22824 (eval $ac_link) 2>conftest.er1
22826 grep -v '^ *+' conftest.er1
>conftest.err
22828 cat conftest.err
>&5
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); } &&
22831 { ac_try
='test -z "$ac_c_werror_flag"
22832 || test ! -s conftest.err'
22833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22834 (eval $ac_try) 2>&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); }; } &&
22838 { ac_try
='test -s conftest$ac_exeext'
22839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22840 (eval $ac_try) 2>&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); }; }; then
22844 echo "*** The test program compiled, but did not run. This usually means"
22845 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22846 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22847 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22848 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22849 echo "*** is required on your system"
22851 echo "*** If you have an old version installed, it is best to remove it, although"
22852 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22854 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22855 echo "*** came with the system with the command"
22857 echo "*** rpm --erase --nodeps gtk gtk-devel"
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.
$ac_ext >&5
22862 echo "*** The test program failed to compile or link. See the file config.log for the"
22863 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22864 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22865 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22867 rm -f conftest.err conftest.
$ac_objext \
22868 conftest
$ac_exeext conftest.
$ac_ext
22869 CFLAGS
="$ac_save_CFLAGS"
22870 LIBS
="$ac_save_LIBS"
22882 if test -z "$wx_cv_lib_gtk"; then
22884 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22885 if test "${with_gtk_prefix+set}" = set; then
22886 withval
="$with_gtk_prefix"
22887 gtk_config_prefix
="$withval"
22889 gtk_config_prefix
=""
22892 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22893 if test "${with_gtk_exec_prefix+set}" = set; then
22894 withval
="$with_gtk_exec_prefix"
22895 gtk_config_exec_prefix
="$withval"
22897 gtk_config_exec_prefix
=""
22899 # Check whether --enable-gtktest or --disable-gtktest was given.
22900 if test "${enable_gtktest+set}" = set; then
22901 enableval
="$enable_gtktest"
22907 for module
in .
$GTK_MODULES
22911 gtk_config_args
="$gtk_config_args gthread"
22916 if test x
$gtk_config_exec_prefix != x
; then
22917 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22918 if test x
${GTK_CONFIG+set} != xset
; then
22919 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22922 if test x
$gtk_config_prefix != x
; then
22923 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22924 if test x
${GTK_CONFIG+set} != xset
; then
22925 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22929 # Extract the first word of "gtk-config", so it can be a program name with args.
22930 set dummy gtk
-config; ac_word
=$2
22931 echo "$as_me:$LINENO: checking for $ac_word" >&5
22932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22933 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22934 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 case $GTK_CONFIG in
22938 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22942 for as_dir
in $PATH
22945 test -z "$as_dir" && as_dir
=.
22946 for ac_exec_ext
in '' $ac_executable_extensions; do
22947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22948 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22955 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22959 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22961 if test -n "$GTK_CONFIG"; then
22962 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22963 echo "${ECHO_T}$GTK_CONFIG" >&6
22965 echo "$as_me:$LINENO: result: no" >&5
22966 echo "${ECHO_T}no" >&6
22969 min_gtk_version
=1.2.3
22970 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22971 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22973 if test "$GTK_CONFIG" = "no" ; then
22976 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22977 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22978 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22980 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22982 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22984 if test "x$enable_gtktest" = "xyes" ; then
22985 ac_save_CFLAGS
="$CFLAGS"
22986 ac_save_LIBS
="$LIBS"
22987 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22988 LIBS
="$GTK_LIBS $LIBS"
22990 if test "$cross_compiling" = yes; then
22991 echo $ac_n "cross compiling; assumed OK... $ac_c"
22993 cat >conftest.
$ac_ext <<_ACEOF
22996 cat confdefs.h
>>conftest.
$ac_ext
22997 cat >>conftest.
$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
23000 #include <gtk/gtk.h>
23002 #include <stdlib.h>
23007 int major, minor, micro;
23010 system ("touch conf.gtktest");
23012 /* HP/UX 9 (%@#!) writes to sscanf strings */
23013 tmp_version = g_strdup("$min_gtk_version");
23014 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23015 printf("%s, bad version string\n", "$min_gtk_version");
23019 if ((gtk_major_version != $gtk_config_major_version) ||
23020 (gtk_minor_version != $gtk_config_minor_version) ||
23021 (gtk_micro_version != $gtk_config_micro_version))
23023 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23024 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23025 gtk_major_version, gtk_minor_version, gtk_micro_version);
23026 printf ("*** was found! If gtk-config was correct, then it is best\n");
23027 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23028 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23029 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23030 printf("*** required on your system.\n");
23031 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23032 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23033 printf("*** before re-running configure\n");
23035 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23036 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23037 (gtk_minor_version != GTK_MINOR_VERSION) ||
23038 (gtk_micro_version != GTK_MICRO_VERSION))
23040 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23041 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23042 printf("*** library (version %d.%d.%d)\n",
23043 gtk_major_version, gtk_minor_version, gtk_micro_version);
23045 #endif /* defined (GTK_MAJOR_VERSION) ... */
23048 if ((gtk_major_version > major) ||
23049 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23050 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23056 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23057 gtk_major_version, gtk_minor_version, gtk_micro_version);
23058 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23059 major, minor, micro);
23060 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23062 printf("*** If you have already installed a sufficiently new version, this error\n");
23063 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23064 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23065 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23066 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23067 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23068 printf("*** so that the correct libraries are found at run-time))\n");
23075 rm -f conftest
$ac_exeext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23077 (eval $ac_link) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23088 echo "$as_me: program exited with status $ac_status" >&5
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.
$ac_ext >&5
23092 ( exit $ac_status )
23095 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23097 CFLAGS
="$ac_save_CFLAGS"
23098 LIBS
="$ac_save_LIBS"
23101 if test "x$no_gtk" = x
; then
23102 echo "$as_me:$LINENO: result: yes" >&5
23103 echo "${ECHO_T}yes" >&6
23104 wx_cv_lib_gtk
=1.2.3
23106 echo "$as_me:$LINENO: result: no" >&5
23107 echo "${ECHO_T}no" >&6
23108 if test "$GTK_CONFIG" = "no" ; then
23109 echo "*** The gtk-config script installed by GTK could not be found"
23110 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23111 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23112 echo "*** full path to gtk-config."
23114 if test -f conf.gtktest
; then
23117 echo "*** Could not run GTK test program, checking why..."
23118 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23119 LIBS
="$LIBS $GTK_LIBS"
23120 cat >conftest.
$ac_ext <<_ACEOF
23123 cat confdefs.h
>>conftest.
$ac_ext
23124 cat >>conftest.
$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23127 #include <gtk/gtk.h>
23133 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23138 rm -f conftest.
$ac_objext conftest
$ac_exeext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23140 (eval $ac_link) 2>conftest.er1
23142 grep -v '^ *+' conftest.er1
>conftest.err
23144 cat conftest.err
>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try
='test -z "$ac_c_werror_flag"
23148 || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try
='test -s conftest$ac_exeext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 echo "*** The test program compiled, but did not run. This usually means"
23161 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23162 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23163 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23164 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23165 echo "*** is required on your system"
23167 echo "*** If you have an old version installed, it is best to remove it, although"
23168 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23170 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23171 echo "*** came with the system with the command"
23173 echo "*** rpm --erase --nodeps gtk gtk-devel"
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.
$ac_ext >&5
23178 echo "*** The test program failed to compile or link. See the file config.log for the"
23179 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23180 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23181 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23183 rm -f conftest.err conftest.
$ac_objext \
23184 conftest
$ac_exeext conftest.
$ac_ext
23185 CFLAGS
="$ac_save_CFLAGS"
23186 LIBS
="$ac_save_LIBS"
23200 if test -z "$wx_cv_lib_gtk"; then
23203 wx_cv_cflags_gtk
=$GTK_CFLAGS
23204 wx_cv_libs_gtk
=$GTK_LIBS
23211 if test "$gtk_version_cached" = 1; then
23212 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23213 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23216 case "$wx_cv_lib_gtk" in
23225 *) { { echo "$as_me:$LINENO: error:
23226 Please check that gtk-config is in path, the directory
23227 where GTK+ libraries are installed (returned by
23228 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23229 equivalent variable and GTK+ is version 1.2.3 or above.
23231 echo "$as_me: error:
23232 Please check that gtk-config is in path, the directory
23233 where GTK+ libraries are installed (returned by
23234 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23235 equivalent variable and GTK+ is version 1.2.3 or above.
23237 { (exit 1); exit 1; }; }
23241 if test "$WXGTK20" = 1; then
23242 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23246 if test -z "$PKG_CONFIG"; then
23247 # Extract the first word of "pkg-config", so it can be a program name with args.
23248 set dummy pkg
-config; ac_word
=$2
23249 echo "$as_me:$LINENO: checking for $ac_word" >&5
23250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23251 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23252 echo $ECHO_N "(cached) $ECHO_C" >&6
23254 case $PKG_CONFIG in
23256 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23260 for as_dir
in $PATH
23263 test -z "$as_dir" && as_dir
=.
23264 for ac_exec_ext
in '' $ac_executable_extensions; do
23265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23266 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23273 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23277 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23279 if test -n "$PKG_CONFIG"; then
23280 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23281 echo "${ECHO_T}$PKG_CONFIG" >&6
23283 echo "$as_me:$LINENO: result: no" >&5
23284 echo "${ECHO_T}no" >&6
23289 if test "$PKG_CONFIG" = "no" ; then
23290 echo "*** The pkg-config script could not be found. Make sure it is"
23291 echo "*** in your path, or set the PKG_CONFIG environment variable"
23292 echo "*** to the full path to pkg-config."
23293 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23295 PKG_CONFIG_MIN_VERSION
=0.9.0
23296 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23297 echo "$as_me:$LINENO: checking for pangoft2" >&5
23298 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23300 if $PKG_CONFIG --exists "pangoft2" ; then
23301 echo "$as_me:$LINENO: result: yes" >&5
23302 echo "${ECHO_T}yes" >&6
23305 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23306 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23307 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23308 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23309 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23311 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23312 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23313 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23314 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23315 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23319 ## If we have a custom action on failure, don't print errors, but
23320 ## do set a variable so people can do so.
23321 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23328 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23329 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23333 if test $succeeded = yes; then
23335 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23336 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23340 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23341 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23342 wxUSE_PRINTING_ARCHITECTURE
="no"
23349 save_CFLAGS
="$CFLAGS"
23351 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23352 LIBS
="$LIBS $GTK_LIBS"
23354 for ac_func
in pango_font_family_is_monospace
23356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23357 echo "$as_me:$LINENO: checking for $ac_func" >&5
23358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23359 if eval "test \"\${$as_ac_var+set}\" = set"; then
23360 echo $ECHO_N "(cached) $ECHO_C" >&6
23362 cat >conftest.
$ac_ext <<_ACEOF
23365 cat confdefs.h
>>conftest.
$ac_ext
23366 cat >>conftest.
$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23370 #define $ac_func innocuous_$ac_func
23372 /* System header to define __stub macros and hopefully few prototypes,
23373 which can conflict with char $ac_func (); below.
23374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23375 <limits.h> exists even on freestanding compilers. */
23378 # include <limits.h>
23380 # include <assert.h>
23385 /* Override any gcc2 internal prototype to avoid an error. */
23390 /* We use char because int might match the return type of a gcc2
23391 builtin and then its argument prototype would still apply. */
23393 /* The GNU C library defines this for functions which it implements
23394 to always fail with ENOSYS. Some functions are actually named
23395 something starting with __ and the normal name is an alias. */
23396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23399 char (*f) () = $ac_func;
23408 return f != $ac_func;
23413 rm -f conftest.
$ac_objext conftest
$ac_exeext
23414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23415 (eval $ac_link) 2>conftest.er1
23417 grep -v '^ *+' conftest.er1
>conftest.err
23419 cat conftest.err
>&5
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); } &&
23422 { ac_try
='test -z "$ac_c_werror_flag"
23423 || test ! -s conftest.err'
23424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425 (eval $ac_try) 2>&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; } &&
23429 { ac_try
='test -s conftest$ac_exeext'
23430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23431 (eval $ac_try) 2>&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); }; }; then
23435 eval "$as_ac_var=yes"
23437 echo "$as_me: failed program was:" >&5
23438 sed 's/^/| /' conftest.
$ac_ext >&5
23440 eval "$as_ac_var=no"
23442 rm -f conftest.err conftest.
$ac_objext \
23443 conftest
$ac_exeext conftest.
$ac_ext
23445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23447 if test `eval echo '${'$as_ac_var'}'` = yes; then
23448 cat >>confdefs.h
<<_ACEOF
23449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23455 CFLAGS
="$save_CFLAGS"
23458 if test "$wxUSE_UNICODE" = "yes"; then
23459 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23460 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23465 if test "$USE_DARWIN" != 1; then
23467 for ac_func
in poll
23469 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23470 echo "$as_me:$LINENO: checking for $ac_func" >&5
23471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23472 if eval "test \"\${$as_ac_var+set}\" = set"; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 cat >conftest.
$ac_ext <<_ACEOF
23478 cat confdefs.h
>>conftest.
$ac_ext
23479 cat >>conftest.
$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23483 #define $ac_func innocuous_$ac_func
23485 /* System header to define __stub macros and hopefully few prototypes,
23486 which can conflict with char $ac_func (); below.
23487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23488 <limits.h> exists even on freestanding compilers. */
23491 # include <limits.h>
23493 # include <assert.h>
23498 /* Override any gcc2 internal prototype to avoid an error. */
23503 /* We use char because int might match the return type of a gcc2
23504 builtin and then its argument prototype would still apply. */
23506 /* The GNU C library defines this for functions which it implements
23507 to always fail with ENOSYS. Some functions are actually named
23508 something starting with __ and the normal name is an alias. */
23509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23512 char (*f) () = $ac_func;
23521 return f != $ac_func;
23526 rm -f conftest.
$ac_objext conftest
$ac_exeext
23527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23528 (eval $ac_link) 2>conftest.er1
23530 grep -v '^ *+' conftest.er1
>conftest.err
23532 cat conftest.err
>&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); } &&
23535 { ac_try
='test -z "$ac_c_werror_flag"
23536 || test ! -s conftest.err'
23537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23538 (eval $ac_try) 2>&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); }; } &&
23542 { ac_try
='test -s conftest$ac_exeext'
23543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23544 (eval $ac_try) 2>&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); }; }; then
23548 eval "$as_ac_var=yes"
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.
$ac_ext >&5
23553 eval "$as_ac_var=no"
23555 rm -f conftest.err conftest.
$ac_objext \
23556 conftest
$ac_exeext conftest.
$ac_ext
23558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23560 if test `eval echo '${'$as_ac_var'}'` = yes; then
23561 cat >>confdefs.h
<<_ACEOF
23562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23570 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23571 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23573 AFMINSTALL
=afminstall
23577 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23578 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23579 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23582 ac_check_lib_save_LIBS
=$LIBS
23584 cat >conftest.
$ac_ext <<_ACEOF
23587 cat confdefs.h
>>conftest.
$ac_ext
23588 cat >>conftest.
$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23591 /* Override any gcc2 internal prototype to avoid an error. */
23595 /* We use char because int might match the return type of a gcc2
23596 builtin and then its argument prototype would still apply. */
23597 char gdk_im_open ();
23606 rm -f conftest.
$ac_objext conftest
$ac_exeext
23607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23608 (eval $ac_link) 2>conftest.er1
23610 grep -v '^ *+' conftest.er1
>conftest.err
23612 cat conftest.err
>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try
='test -z "$ac_c_werror_flag"
23616 || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try
='test -s conftest$ac_exeext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 ac_cv_lib_gdk_gdk_im_open
=yes
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.
$ac_ext >&5
23633 ac_cv_lib_gdk_gdk_im_open
=no
23635 rm -f conftest.err conftest.
$ac_objext \
23636 conftest
$ac_exeext conftest.
$ac_ext
23637 LIBS
=$ac_check_lib_save_LIBS
23639 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23640 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23641 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23642 cat >>confdefs.h
<<\_ACEOF
23650 if test "$wxUSE_GPE" = "yes"; then
23651 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23652 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23655 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23657 for ac_extension
in a so sl dylib
; do
23658 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23659 ac_find_libraries
=$ac_dir
23665 if test "$ac_find_libraries" != "" ; then
23667 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23669 if test $result = 0; then
23672 ac_path_to_link
=" -L$ac_find_libraries"
23675 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23677 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23678 echo "${ECHO_T}found at $ac_find_libraries" >&6
23680 echo "$as_me:$LINENO: result: not found" >&5
23681 echo "${ECHO_T}not found" >&6
23687 if test "$wxUSE_MGL" = 1; then
23688 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23689 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23690 if test "x$MGL_ROOT" = x
; then
23691 echo "$as_me:$LINENO: result: not found" >&5
23692 echo "${ECHO_T}not found" >&6
23693 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23694 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23695 { (exit 1); exit 1; }; }
23697 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23698 echo "${ECHO_T}$MGL_ROOT" >&6
23701 echo "$as_me:$LINENO: checking for libmgl location" >&5
23702 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23705 if test "x$wxUSE_SHARED" = xyes
; then
23706 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23708 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23712 mgl_os_candidates
="dos32/dj2"
23715 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23716 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23717 { (exit 1); exit 1; }; }
23723 for mgl_os_i
in $mgl_os_candidates ; do
23724 if test "x$mgl_os" = x
; then
23725 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23726 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23727 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23732 if test "x$mgl_lib_type" = x
; then
23733 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23734 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23735 mgl_lib_type
=release
23742 if test "x$mgl_os" = x
; then
23743 echo "$as_me:$LINENO: result: not found" >&5
23744 echo "${ECHO_T}not found" >&6
23745 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23746 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23747 { (exit 1); exit 1; }; }
23749 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23750 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23752 wxUSE_UNIVERSAL
="yes"
23754 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23755 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23757 AFMINSTALL
=afminstall
23762 if test "$wxUSE_MICROWIN" = 1; then
23763 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23764 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23765 if test "x$MICROWINDOWS" = x
; then
23766 echo "$as_me:$LINENO: result: not found" >&5
23767 echo "${ECHO_T}not found" >&6
23768 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23769 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23770 { (exit 1); exit 1; }; }
23772 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23773 echo "${ECHO_T}$MICROWINDOWS" >&6
23776 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23777 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23778 echo "${ECHO_T}MicroWindows' libraries found." >&6
23780 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23781 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23782 { (exit 1); exit 1; }; }
23785 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23786 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23788 wxUSE_UNIVERSAL
="yes"
23790 AFMINSTALL
=afminstall
23792 GUIDIST
=MICROWIN_DIST
23794 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23797 if test "$wxUSE_X11" = 1; then
23798 echo "$as_me:$LINENO: checking for X" >&5
23799 echo $ECHO_N "checking for X... $ECHO_C" >&6
23802 # Check whether --with-x or --without-x was given.
23803 if test "${with_x+set}" = set; then
23807 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23808 if test "x$with_x" = xno
; then
23809 # The user explicitly disabled X.
23812 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23813 # Both variables are already set.
23816 if test "${ac_cv_have_x+set}" = set; then
23817 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 # One or both of the vars are not set, and there is no cached value.
23820 ac_x_includes
=no ac_x_libraries
=no
23821 rm -fr conftest.dir
23822 if mkdir conftest.dir
; then
23824 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23825 cat >Imakefile
<<'_ACEOF'
23827 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23829 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23830 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23831 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23832 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23833 for ac_extension
in a so sl
; do
23834 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23835 test -f $ac_im_libdir/libX11.
$ac_extension; then
23836 ac_im_usrlibdir
=$ac_im_libdir; break
23839 # Screen out bogus values from the imake configuration. They are
23840 # bogus both because they are the default anyway, and because
23841 # using them would break gcc on systems where it needs fixed includes.
23842 case $ac_im_incroot in
23844 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23846 case $ac_im_usrlibdir in
23847 /usr
/lib
| /lib
) ;;
23848 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23852 rm -fr conftest.dir
23855 # Standard set of common directories for X headers.
23856 # Check X11 before X11Rn because it is often a symlink to the current release.
23868 /usr/local/X11/include
23869 /usr/local/X11R6/include
23870 /usr/local/X11R5/include
23871 /usr/local/X11R4/include
23873 /usr/local/include/X11
23874 /usr/local/include/X11R6
23875 /usr/local/include/X11R5
23876 /usr/local/include/X11R4
23880 /usr/XFree86/include/X11
23884 /usr/unsupported/include
23885 /usr/athena/include
23886 /usr/local/x11r5/include
23887 /usr/lpp/Xamples/include
23889 /usr/openwin/include
23890 /usr/openwin/share/include'
23892 if test "$ac_x_includes" = no
; then
23893 # Guess where to find include files, by looking for Intrinsic.h.
23894 # First, try using that file with no special directory specified.
23895 cat >conftest.
$ac_ext <<_ACEOF
23898 cat confdefs.h
>>conftest.
$ac_ext
23899 cat >>conftest.
$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 #include <X11/Intrinsic.h>
23903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23904 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23906 grep -v '^ *+' conftest.er1
>conftest.err
23908 cat conftest.err
>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } >/dev
/null
; then
23911 if test -s conftest.err
; then
23912 ac_cpp_err
=$ac_c_preproc_warn_flag
23913 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23920 if test -z "$ac_cpp_err"; then
23921 # We can compile using X headers with no special include directory.
23924 echo "$as_me: failed program was:" >&5
23925 sed 's/^/| /' conftest.
$ac_ext >&5
23927 for ac_dir
in $ac_x_header_dirs; do
23928 if test -r "$ac_dir/X11/Intrinsic.h"; then
23929 ac_x_includes
=$ac_dir
23934 rm -f conftest.err conftest.
$ac_ext
23935 fi # $ac_x_includes = no
23937 if test "$ac_x_libraries" = no
; then
23938 # Check for the libraries.
23939 # See if we find them without any special options.
23940 # Don't add to $LIBS permanently.
23943 cat >conftest.
$ac_ext <<_ACEOF
23946 cat confdefs.h
>>conftest.
$ac_ext
23947 cat >>conftest.
$ac_ext <<_ACEOF
23948 /* end confdefs.h. */
23949 #include <X11/Intrinsic.h>
23958 rm -f conftest.
$ac_objext conftest
$ac_exeext
23959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23960 (eval $ac_link) 2>conftest.er1
23962 grep -v '^ *+' conftest.er1
>conftest.err
23964 cat conftest.err
>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); } &&
23967 { ac_try
='test -z "$ac_c_werror_flag"
23968 || test ! -s conftest.err'
23969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23970 (eval $ac_try) 2>&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); }; } &&
23974 { ac_try
='test -s conftest$ac_exeext'
23975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23976 (eval $ac_try) 2>&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); }; }; then
23981 # We can link X programs with no special library path.
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.
$ac_ext >&5
23988 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23990 # Don't even attempt the hair of trying to link an X program!
23991 for ac_extension
in a so sl
; do
23992 if test -r $ac_dir/libXt.
$ac_extension; then
23993 ac_x_libraries
=$ac_dir
23999 rm -f conftest.err conftest.
$ac_objext \
24000 conftest
$ac_exeext conftest.
$ac_ext
24001 fi # $ac_x_libraries = no
24003 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24004 # Didn't find X anywhere. Cache the known absence of X.
24005 ac_cv_have_x
="have_x=no"
24007 # Record where we found X for the cache.
24008 ac_cv_have_x
="have_x=yes \
24009 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24014 eval "$ac_cv_have_x"
24017 if test "$have_x" != yes; then
24018 echo "$as_me:$LINENO: result: $have_x" >&5
24019 echo "${ECHO_T}$have_x" >&6
24022 # If each of the values was on the command line, it overrides each guess.
24023 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24024 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24025 # Update the cache value to reflect the command line values.
24026 ac_cv_have_x
="have_x=yes \
24027 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24028 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24029 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24032 if test "$no_x" = yes; then
24033 # Not all programs may use this symbol, but it does not hurt to define it.
24035 cat >>confdefs.h
<<\_ACEOF
24036 #define X_DISPLAY_MISSING 1
24039 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24041 if test -n "$x_includes"; then
24042 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24045 # It would also be nice to do this for all -L options, not just this one.
24046 if test -n "$x_libraries"; then
24047 X_LIBS
="$X_LIBS -L$x_libraries"
24048 # For Solaris; some versions of Sun CC require a space after -R and
24049 # others require no space. Words are not sufficient . . . .
24050 case `(uname -sr) 2>/dev/null` in
24052 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24053 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24054 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24055 cat >conftest.
$ac_ext <<_ACEOF
24058 cat confdefs.h
>>conftest.
$ac_ext
24059 cat >>conftest.
$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24070 rm -f conftest.
$ac_objext conftest
$ac_exeext
24071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24072 (eval $ac_link) 2>conftest.er1
24074 grep -v '^ *+' conftest.er1
>conftest.err
24076 cat conftest.err
>&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); } &&
24079 { ac_try
='test -z "$ac_c_werror_flag"
24080 || test ! -s conftest.err'
24081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24082 (eval $ac_try) 2>&5
24084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085 (exit $ac_status); }; } &&
24086 { ac_try
='test -s conftest$ac_exeext'
24087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24088 (eval $ac_try) 2>&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); }; }; then
24094 echo "$as_me: failed program was:" >&5
24095 sed 's/^/| /' conftest.
$ac_ext >&5
24099 rm -f conftest.err conftest.
$ac_objext \
24100 conftest
$ac_exeext conftest.
$ac_ext
24101 if test $ac_R_nospace = yes; then
24102 echo "$as_me:$LINENO: result: no" >&5
24103 echo "${ECHO_T}no" >&6
24104 X_LIBS
="$X_LIBS -R$x_libraries"
24106 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24107 cat >conftest.
$ac_ext <<_ACEOF
24110 cat confdefs.h
>>conftest.
$ac_ext
24111 cat >>conftest.
$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24122 rm -f conftest.
$ac_objext conftest
$ac_exeext
24123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24124 (eval $ac_link) 2>conftest.er1
24126 grep -v '^ *+' conftest.er1
>conftest.err
24128 cat conftest.err
>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } &&
24131 { ac_try
='test -z "$ac_c_werror_flag"
24132 || test ! -s conftest.err'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; } &&
24138 { ac_try
='test -s conftest$ac_exeext'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; }; then
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.
$ac_ext >&5
24151 rm -f conftest.err conftest.
$ac_objext \
24152 conftest
$ac_exeext conftest.
$ac_ext
24153 if test $ac_R_space = yes; then
24154 echo "$as_me:$LINENO: result: yes" >&5
24155 echo "${ECHO_T}yes" >&6
24156 X_LIBS
="$X_LIBS -R $x_libraries"
24158 echo "$as_me:$LINENO: result: neither works" >&5
24159 echo "${ECHO_T}neither works" >&6
24162 LIBS
=$ac_xsave_LIBS
24166 # Check for system-dependent libraries X programs must link with.
24167 # Do this before checking for the system-independent R6 libraries
24168 # (-lICE), since we may need -lsocket or whatever for X linking.
24170 if test "$ISC" = yes; then
24171 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24173 # Martyn Johnson says this is needed for Ultrix, if the X
24174 # libraries were built with DECnet support. And Karl Berry says
24175 # the Alpha needs dnet_stub (dnet does not exist).
24176 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24177 cat >conftest.
$ac_ext <<_ACEOF
24180 cat confdefs.h
>>conftest.
$ac_ext
24181 cat >>conftest.
$ac_ext <<_ACEOF
24182 /* end confdefs.h. */
24184 /* Override any gcc2 internal prototype to avoid an error. */
24188 /* We use char because int might match the return type of a gcc2
24189 builtin and then its argument prototype would still apply. */
24190 char XOpenDisplay ();
24199 rm -f conftest.
$ac_objext conftest
$ac_exeext
24200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24201 (eval $ac_link) 2>conftest.er1
24203 grep -v '^ *+' conftest.er1
>conftest.err
24205 cat conftest.err
>&5
24206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24207 (exit $ac_status); } &&
24208 { ac_try
='test -z "$ac_c_werror_flag"
24209 || test ! -s conftest.err'
24210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24211 (eval $ac_try) 2>&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); }; } &&
24215 { ac_try
='test -s conftest$ac_exeext'
24216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24217 (eval $ac_try) 2>&5
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); }; }; then
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.
$ac_ext >&5
24226 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24227 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24228 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24229 echo $ECHO_N "(cached) $ECHO_C" >&6
24231 ac_check_lib_save_LIBS
=$LIBS
24232 LIBS
="-ldnet $LIBS"
24233 cat >conftest.
$ac_ext <<_ACEOF
24236 cat confdefs.h
>>conftest.
$ac_ext
24237 cat >>conftest.
$ac_ext <<_ACEOF
24238 /* end confdefs.h. */
24240 /* Override any gcc2 internal prototype to avoid an error. */
24244 /* We use char because int might match the return type of a gcc2
24245 builtin and then its argument prototype would still apply. */
24255 rm -f conftest.
$ac_objext conftest
$ac_exeext
24256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24257 (eval $ac_link) 2>conftest.er1
24259 grep -v '^ *+' conftest.er1
>conftest.err
24261 cat conftest.err
>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } &&
24264 { ac_try
='test -z "$ac_c_werror_flag"
24265 || test ! -s conftest.err'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; } &&
24271 { ac_try
='test -s conftest$ac_exeext'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; }; then
24277 ac_cv_lib_dnet_dnet_ntoa
=yes
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.
$ac_ext >&5
24282 ac_cv_lib_dnet_dnet_ntoa
=no
24284 rm -f conftest.err conftest.
$ac_objext \
24285 conftest
$ac_exeext conftest.
$ac_ext
24286 LIBS
=$ac_check_lib_save_LIBS
24288 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24289 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24290 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24291 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24294 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24295 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24296 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24297 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24298 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 ac_check_lib_save_LIBS
=$LIBS
24301 LIBS
="-ldnet_stub $LIBS"
24302 cat >conftest.
$ac_ext <<_ACEOF
24305 cat confdefs.h
>>conftest.
$ac_ext
24306 cat >>conftest.
$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24309 /* Override any gcc2 internal prototype to avoid an error. */
24313 /* We use char because int might match the return type of a gcc2
24314 builtin and then its argument prototype would still apply. */
24324 rm -f conftest.
$ac_objext conftest
$ac_exeext
24325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24326 (eval $ac_link) 2>conftest.er1
24328 grep -v '^ *+' conftest.er1
>conftest.err
24330 cat conftest.err
>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } &&
24333 { ac_try
='test -z "$ac_c_werror_flag"
24334 || test ! -s conftest.err'
24335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24336 (eval $ac_try) 2>&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); }; } &&
24340 { ac_try
='test -s conftest$ac_exeext'
24341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24342 (eval $ac_try) 2>&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); }; }; then
24346 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.
$ac_ext >&5
24351 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24353 rm -f conftest.err conftest.
$ac_objext \
24354 conftest
$ac_exeext conftest.
$ac_ext
24355 LIBS
=$ac_check_lib_save_LIBS
24357 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24358 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24359 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24360 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24365 rm -f conftest.err conftest.
$ac_objext \
24366 conftest
$ac_exeext conftest.
$ac_ext
24367 LIBS
="$ac_xsave_LIBS"
24369 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24370 # to get the SysV transport functions.
24371 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24373 # The nsl library prevents programs from opening the X display
24374 # on Irix 5.2, according to T.E. Dickey.
24375 # The functions gethostbyname, getservbyname, and inet_addr are
24376 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24377 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24378 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24379 if test "${ac_cv_func_gethostbyname+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24382 cat >conftest.
$ac_ext <<_ACEOF
24385 cat confdefs.h
>>conftest.
$ac_ext
24386 cat >>conftest.
$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24390 #define gethostbyname innocuous_gethostbyname
24392 /* System header to define __stub macros and hopefully few prototypes,
24393 which can conflict with char gethostbyname (); below.
24394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24395 <limits.h> exists even on freestanding compilers. */
24398 # include <limits.h>
24400 # include <assert.h>
24403 #undef gethostbyname
24405 /* Override any gcc2 internal prototype to avoid an error. */
24410 /* We use char because int might match the return type of a gcc2
24411 builtin and then its argument prototype would still apply. */
24412 char gethostbyname ();
24413 /* The GNU C library defines this for functions which it implements
24414 to always fail with ENOSYS. Some functions are actually named
24415 something starting with __ and the normal name is an alias. */
24416 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24419 char (*f) () = gethostbyname;
24428 return f != gethostbyname;
24433 rm -f conftest.
$ac_objext conftest
$ac_exeext
24434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24435 (eval $ac_link) 2>conftest.er1
24437 grep -v '^ *+' conftest.er1
>conftest.err
24439 cat conftest.err
>&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } &&
24442 { ac_try
='test -z "$ac_c_werror_flag"
24443 || test ! -s conftest.err'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; } &&
24449 { ac_try
='test -s conftest$ac_exeext'
24450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24451 (eval $ac_try) 2>&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); }; }; then
24455 ac_cv_func_gethostbyname
=yes
24457 echo "$as_me: failed program was:" >&5
24458 sed 's/^/| /' conftest.
$ac_ext >&5
24460 ac_cv_func_gethostbyname
=no
24462 rm -f conftest.err conftest.
$ac_objext \
24463 conftest
$ac_exeext conftest.
$ac_ext
24465 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24466 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24468 if test $ac_cv_func_gethostbyname = no
; then
24469 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24470 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24471 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 ac_check_lib_save_LIBS
=$LIBS
24476 cat >conftest.
$ac_ext <<_ACEOF
24479 cat confdefs.h
>>conftest.
$ac_ext
24480 cat >>conftest.
$ac_ext <<_ACEOF
24481 /* end confdefs.h. */
24483 /* Override any gcc2 internal prototype to avoid an error. */
24487 /* We use char because int might match the return type of a gcc2
24488 builtin and then its argument prototype would still apply. */
24489 char gethostbyname ();
24498 rm -f conftest.
$ac_objext conftest
$ac_exeext
24499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24500 (eval $ac_link) 2>conftest.er1
24502 grep -v '^ *+' conftest.er1
>conftest.err
24504 cat conftest.err
>&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } &&
24507 { ac_try
='test -z "$ac_c_werror_flag"
24508 || test ! -s conftest.err'
24509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510 (eval $ac_try) 2>&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); }; } &&
24514 { ac_try
='test -s conftest$ac_exeext'
24515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24516 (eval $ac_try) 2>&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); }; }; then
24520 ac_cv_lib_nsl_gethostbyname
=yes
24522 echo "$as_me: failed program was:" >&5
24523 sed 's/^/| /' conftest.
$ac_ext >&5
24525 ac_cv_lib_nsl_gethostbyname
=no
24527 rm -f conftest.err conftest.
$ac_objext \
24528 conftest
$ac_exeext conftest.
$ac_ext
24529 LIBS
=$ac_check_lib_save_LIBS
24531 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24532 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24533 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24534 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24537 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24538 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24539 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24540 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24541 echo $ECHO_N "(cached) $ECHO_C" >&6
24543 ac_check_lib_save_LIBS
=$LIBS
24545 cat >conftest.
$ac_ext <<_ACEOF
24548 cat confdefs.h
>>conftest.
$ac_ext
24549 cat >>conftest.
$ac_ext <<_ACEOF
24550 /* end confdefs.h. */
24552 /* Override any gcc2 internal prototype to avoid an error. */
24556 /* We use char because int might match the return type of a gcc2
24557 builtin and then its argument prototype would still apply. */
24558 char gethostbyname ();
24567 rm -f conftest.
$ac_objext conftest
$ac_exeext
24568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24569 (eval $ac_link) 2>conftest.er1
24571 grep -v '^ *+' conftest.er1
>conftest.err
24573 cat conftest.err
>&5
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); } &&
24576 { ac_try
='test -z "$ac_c_werror_flag"
24577 || test ! -s conftest.err'
24578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24579 (eval $ac_try) 2>&5
24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 (exit $ac_status); }; } &&
24583 { ac_try
='test -s conftest$ac_exeext'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; }; then
24589 ac_cv_lib_bsd_gethostbyname
=yes
24591 echo "$as_me: failed program was:" >&5
24592 sed 's/^/| /' conftest.
$ac_ext >&5
24594 ac_cv_lib_bsd_gethostbyname
=no
24596 rm -f conftest.err conftest.
$ac_objext \
24597 conftest
$ac_exeext conftest.
$ac_ext
24598 LIBS
=$ac_check_lib_save_LIBS
24600 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24601 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24602 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24603 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24609 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24610 # socket/setsockopt and other routines are undefined under SCO ODT
24611 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24612 # on later versions), says Simon Leinen: it contains gethostby*
24613 # variants that don't use the name server (or something). -lsocket
24614 # must be given before -lnsl if both are needed. We assume that
24615 # if connect needs -lnsl, so does gethostbyname.
24616 echo "$as_me:$LINENO: checking for connect" >&5
24617 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24618 if test "${ac_cv_func_connect+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 cat >conftest.
$ac_ext <<_ACEOF
24624 cat confdefs.h
>>conftest.
$ac_ext
24625 cat >>conftest.
$ac_ext <<_ACEOF
24626 /* end confdefs.h. */
24627 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24629 #define connect innocuous_connect
24631 /* System header to define __stub macros and hopefully few prototypes,
24632 which can conflict with char connect (); below.
24633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24634 <limits.h> exists even on freestanding compilers. */
24637 # include <limits.h>
24639 # include <assert.h>
24644 /* Override any gcc2 internal prototype to avoid an error. */
24649 /* We use char because int might match the return type of a gcc2
24650 builtin and then its argument prototype would still apply. */
24652 /* The GNU C library defines this for functions which it implements
24653 to always fail with ENOSYS. Some functions are actually named
24654 something starting with __ and the normal name is an alias. */
24655 #if defined (__stub_connect) || defined (__stub___connect)
24658 char (*f) () = connect;
24667 return f != connect;
24672 rm -f conftest.
$ac_objext conftest
$ac_exeext
24673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24674 (eval $ac_link) 2>conftest.er1
24676 grep -v '^ *+' conftest.er1
>conftest.err
24678 cat conftest.err
>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); } &&
24681 { ac_try
='test -z "$ac_c_werror_flag"
24682 || test ! -s conftest.err'
24683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24684 (eval $ac_try) 2>&5
24686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); }; } &&
24688 { ac_try
='test -s conftest$ac_exeext'
24689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24690 (eval $ac_try) 2>&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); }; }; then
24694 ac_cv_func_connect
=yes
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.
$ac_ext >&5
24699 ac_cv_func_connect
=no
24701 rm -f conftest.err conftest.
$ac_objext \
24702 conftest
$ac_exeext conftest.
$ac_ext
24704 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24705 echo "${ECHO_T}$ac_cv_func_connect" >&6
24707 if test $ac_cv_func_connect = no
; then
24708 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24709 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24710 if test "${ac_cv_lib_socket_connect+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 ac_check_lib_save_LIBS
=$LIBS
24714 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24715 cat >conftest.
$ac_ext <<_ACEOF
24718 cat confdefs.h
>>conftest.
$ac_ext
24719 cat >>conftest.
$ac_ext <<_ACEOF
24720 /* end confdefs.h. */
24722 /* Override any gcc2 internal prototype to avoid an error. */
24726 /* We use char because int might match the return type of a gcc2
24727 builtin and then its argument prototype would still apply. */
24737 rm -f conftest.
$ac_objext conftest
$ac_exeext
24738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24739 (eval $ac_link) 2>conftest.er1
24741 grep -v '^ *+' conftest.er1
>conftest.err
24743 cat conftest.err
>&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } &&
24746 { ac_try
='test -z "$ac_c_werror_flag"
24747 || test ! -s conftest.err'
24748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749 (eval $ac_try) 2>&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }; } &&
24753 { ac_try
='test -s conftest$ac_exeext'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; }; then
24759 ac_cv_lib_socket_connect
=yes
24761 echo "$as_me: failed program was:" >&5
24762 sed 's/^/| /' conftest.
$ac_ext >&5
24764 ac_cv_lib_socket_connect
=no
24766 rm -f conftest.err conftest.
$ac_objext \
24767 conftest
$ac_exeext conftest.
$ac_ext
24768 LIBS
=$ac_check_lib_save_LIBS
24770 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24771 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24772 if test $ac_cv_lib_socket_connect = yes; then
24773 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24778 # Guillermo Gomez says -lposix is necessary on A/UX.
24779 echo "$as_me:$LINENO: checking for remove" >&5
24780 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24781 if test "${ac_cv_func_remove+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 cat >conftest.
$ac_ext <<_ACEOF
24787 cat confdefs.h
>>conftest.
$ac_ext
24788 cat >>conftest.
$ac_ext <<_ACEOF
24789 /* end confdefs.h. */
24790 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24792 #define remove innocuous_remove
24794 /* System header to define __stub macros and hopefully few prototypes,
24795 which can conflict with char remove (); below.
24796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24797 <limits.h> exists even on freestanding compilers. */
24800 # include <limits.h>
24802 # include <assert.h>
24807 /* Override any gcc2 internal prototype to avoid an error. */
24812 /* We use char because int might match the return type of a gcc2
24813 builtin and then its argument prototype would still apply. */
24815 /* The GNU C library defines this for functions which it implements
24816 to always fail with ENOSYS. Some functions are actually named
24817 something starting with __ and the normal name is an alias. */
24818 #if defined (__stub_remove) || defined (__stub___remove)
24821 char (*f) () = remove;
24830 return f != remove;
24835 rm -f conftest.
$ac_objext conftest
$ac_exeext
24836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24837 (eval $ac_link) 2>conftest.er1
24839 grep -v '^ *+' conftest.er1
>conftest.err
24841 cat conftest.err
>&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } &&
24844 { ac_try
='test -z "$ac_c_werror_flag"
24845 || test ! -s conftest.err'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; } &&
24851 { ac_try
='test -s conftest$ac_exeext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 ac_cv_func_remove
=yes
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.
$ac_ext >&5
24862 ac_cv_func_remove
=no
24864 rm -f conftest.err conftest.
$ac_objext \
24865 conftest
$ac_exeext conftest.
$ac_ext
24867 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24868 echo "${ECHO_T}$ac_cv_func_remove" >&6
24870 if test $ac_cv_func_remove = no
; then
24871 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24872 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24873 if test "${ac_cv_lib_posix_remove+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 ac_check_lib_save_LIBS
=$LIBS
24877 LIBS
="-lposix $LIBS"
24878 cat >conftest.
$ac_ext <<_ACEOF
24881 cat confdefs.h
>>conftest.
$ac_ext
24882 cat >>conftest.
$ac_ext <<_ACEOF
24883 /* end confdefs.h. */
24885 /* Override any gcc2 internal prototype to avoid an error. */
24889 /* We use char because int might match the return type of a gcc2
24890 builtin and then its argument prototype would still apply. */
24900 rm -f conftest.
$ac_objext conftest
$ac_exeext
24901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24902 (eval $ac_link) 2>conftest.er1
24904 grep -v '^ *+' conftest.er1
>conftest.err
24906 cat conftest.err
>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } &&
24909 { ac_try
='test -z "$ac_c_werror_flag"
24910 || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try
='test -s conftest$ac_exeext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 ac_cv_lib_posix_remove
=yes
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.
$ac_ext >&5
24927 ac_cv_lib_posix_remove
=no
24929 rm -f conftest.err conftest.
$ac_objext \
24930 conftest
$ac_exeext conftest.
$ac_ext
24931 LIBS
=$ac_check_lib_save_LIBS
24933 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24934 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24935 if test $ac_cv_lib_posix_remove = yes; then
24936 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24941 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24942 echo "$as_me:$LINENO: checking for shmat" >&5
24943 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24944 if test "${ac_cv_func_shmat+set}" = set; then
24945 echo $ECHO_N "(cached) $ECHO_C" >&6
24947 cat >conftest.
$ac_ext <<_ACEOF
24950 cat confdefs.h
>>conftest.
$ac_ext
24951 cat >>conftest.
$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24953 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24955 #define shmat innocuous_shmat
24957 /* System header to define __stub macros and hopefully few prototypes,
24958 which can conflict with char shmat (); below.
24959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24960 <limits.h> exists even on freestanding compilers. */
24963 # include <limits.h>
24965 # include <assert.h>
24970 /* Override any gcc2 internal prototype to avoid an error. */
24975 /* We use char because int might match the return type of a gcc2
24976 builtin and then its argument prototype would still apply. */
24978 /* The GNU C library defines this for functions which it implements
24979 to always fail with ENOSYS. Some functions are actually named
24980 something starting with __ and the normal name is an alias. */
24981 #if defined (__stub_shmat) || defined (__stub___shmat)
24984 char (*f) () = shmat;
24998 rm -f conftest.
$ac_objext conftest
$ac_exeext
24999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25000 (eval $ac_link) 2>conftest.er1
25002 grep -v '^ *+' conftest.er1
>conftest.err
25004 cat conftest.err
>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } &&
25007 { ac_try
='test -z "$ac_c_werror_flag"
25008 || test ! -s conftest.err'
25009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010 (eval $ac_try) 2>&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); }; } &&
25014 { ac_try
='test -s conftest$ac_exeext'
25015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25016 (eval $ac_try) 2>&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); }; }; then
25020 ac_cv_func_shmat
=yes
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.
$ac_ext >&5
25025 ac_cv_func_shmat
=no
25027 rm -f conftest.err conftest.
$ac_objext \
25028 conftest
$ac_exeext conftest.
$ac_ext
25030 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25031 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25033 if test $ac_cv_func_shmat = no
; then
25034 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25035 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25036 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 ac_check_lib_save_LIBS
=$LIBS
25041 cat >conftest.
$ac_ext <<_ACEOF
25044 cat confdefs.h
>>conftest.
$ac_ext
25045 cat >>conftest.
$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25048 /* Override any gcc2 internal prototype to avoid an error. */
25052 /* We use char because int might match the return type of a gcc2
25053 builtin and then its argument prototype would still apply. */
25063 rm -f conftest.
$ac_objext conftest
$ac_exeext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25065 (eval $ac_link) 2>conftest.er1
25067 grep -v '^ *+' conftest.er1
>conftest.err
25069 cat conftest.err
>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } &&
25072 { ac_try
='test -z "$ac_c_werror_flag"
25073 || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try
='test -s conftest$ac_exeext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_lib_ipc_shmat
=yes
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.
$ac_ext >&5
25090 ac_cv_lib_ipc_shmat
=no
25092 rm -f conftest.err conftest.
$ac_objext \
25093 conftest
$ac_exeext conftest.
$ac_ext
25094 LIBS
=$ac_check_lib_save_LIBS
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25097 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25098 if test $ac_cv_lib_ipc_shmat = yes; then
25099 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25105 # Check for libraries that X11R6 Xt/Xaw programs need.
25106 ac_save_LDFLAGS
=$LDFLAGS
25107 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25108 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25109 # check for ICE first), but we must link in the order -lSM -lICE or
25110 # we get undefined symbols. So assume we have SM if we have ICE.
25111 # These have to be linked with before -lX11, unlike the other
25112 # libraries we check for below, so use a different variable.
25113 # John Interrante, Karl Berry
25114 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25115 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25116 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25117 echo $ECHO_N "(cached) $ECHO_C" >&6
25119 ac_check_lib_save_LIBS
=$LIBS
25120 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25121 cat >conftest.
$ac_ext <<_ACEOF
25124 cat confdefs.h
>>conftest.
$ac_ext
25125 cat >>conftest.
$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25128 /* Override any gcc2 internal prototype to avoid an error. */
25132 /* We use char because int might match the return type of a gcc2
25133 builtin and then its argument prototype would still apply. */
25134 char IceConnectionNumber ();
25138 IceConnectionNumber ();
25143 rm -f conftest.
$ac_objext conftest
$ac_exeext
25144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25145 (eval $ac_link) 2>conftest.er1
25147 grep -v '^ *+' conftest.er1
>conftest.err
25149 cat conftest.err
>&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } &&
25152 { ac_try
='test -z "$ac_c_werror_flag"
25153 || test ! -s conftest.err'
25154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155 (eval $ac_try) 2>&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); }; } &&
25159 { ac_try
='test -s conftest$ac_exeext'
25160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161 (eval $ac_try) 2>&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); }; }; then
25165 ac_cv_lib_ICE_IceConnectionNumber
=yes
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.
$ac_ext >&5
25170 ac_cv_lib_ICE_IceConnectionNumber
=no
25172 rm -f conftest.err conftest.
$ac_objext \
25173 conftest
$ac_exeext conftest.
$ac_ext
25174 LIBS
=$ac_check_lib_save_LIBS
25176 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25177 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25178 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25179 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25182 LDFLAGS
=$ac_save_LDFLAGS
25187 if test "$no_x" = "yes"; then
25188 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25189 echo "$as_me: error: X11 not found" >&2;}
25190 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25193 GUI_TK_LIBRARY
="$X_LIBS"
25194 TOOLKIT_INCLUDE
="$X_CFLAGS"
25195 AFMINSTALL
=afminstall
25196 COMPILED_X_PROGRAM
=0
25198 if test "$wxUSE_NANOX" = "yes"; then
25199 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25200 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25201 if test "x$MICROWIN" = x
; then
25202 echo "$as_me:$LINENO: result: not found" >&5
25203 echo "${ECHO_T}not found" >&6
25204 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25205 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25206 { (exit 1); exit 1; }; }
25208 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25209 echo "${ECHO_T}$MICROWIN" >&6
25210 cat >>confdefs.h
<<\_ACEOF
25211 #define wxUSE_NANOX 1
25217 if test "$wxUSE_UNICODE" = "yes"; then
25221 if test -z "$PKG_CONFIG"; then
25222 # Extract the first word of "pkg-config", so it can be a program name with args.
25223 set dummy pkg
-config; ac_word
=$2
25224 echo "$as_me:$LINENO: checking for $ac_word" >&5
25225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25226 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25229 case $PKG_CONFIG in
25231 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25235 for as_dir
in $PATH
25238 test -z "$as_dir" && as_dir
=.
25239 for ac_exec_ext
in '' $ac_executable_extensions; do
25240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25241 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25248 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25252 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25254 if test -n "$PKG_CONFIG"; then
25255 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25256 echo "${ECHO_T}$PKG_CONFIG" >&6
25258 echo "$as_me:$LINENO: result: no" >&5
25259 echo "${ECHO_T}no" >&6
25264 if test "$PKG_CONFIG" = "no" ; then
25265 echo "*** The pkg-config script could not be found. Make sure it is"
25266 echo "*** in your path, or set the PKG_CONFIG environment variable"
25267 echo "*** to the full path to pkg-config."
25268 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25270 PKG_CONFIG_MIN_VERSION
=0.9.0
25271 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25272 echo "$as_me:$LINENO: checking for pangox" >&5
25273 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25275 if $PKG_CONFIG --exists "pangox" ; then
25276 echo "$as_me:$LINENO: result: yes" >&5
25277 echo "${ECHO_T}yes" >&6
25280 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25281 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25282 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25283 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25284 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25286 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25287 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25288 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25289 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25290 echo "${ECHO_T}$PANGOX_LIBS" >&6
25294 ## If we have a custom action on failure, don't print errors, but
25295 ## do set a variable so people can do so.
25296 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25303 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25304 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25308 if test $succeeded = yes; then
25310 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25311 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25315 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25316 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25317 { (exit 1); exit 1; }; }
25325 if test -z "$PKG_CONFIG"; then
25326 # Extract the first word of "pkg-config", so it can be a program name with args.
25327 set dummy pkg
-config; ac_word
=$2
25328 echo "$as_me:$LINENO: checking for $ac_word" >&5
25329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25330 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25331 echo $ECHO_N "(cached) $ECHO_C" >&6
25333 case $PKG_CONFIG in
25335 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25339 for as_dir
in $PATH
25342 test -z "$as_dir" && as_dir
=.
25343 for ac_exec_ext
in '' $ac_executable_extensions; do
25344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25345 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25352 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25356 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25358 if test -n "$PKG_CONFIG"; then
25359 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25360 echo "${ECHO_T}$PKG_CONFIG" >&6
25362 echo "$as_me:$LINENO: result: no" >&5
25363 echo "${ECHO_T}no" >&6
25368 if test "$PKG_CONFIG" = "no" ; then
25369 echo "*** The pkg-config script could not be found. Make sure it is"
25370 echo "*** in your path, or set the PKG_CONFIG environment variable"
25371 echo "*** to the full path to pkg-config."
25372 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25374 PKG_CONFIG_MIN_VERSION
=0.9.0
25375 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25376 echo "$as_me:$LINENO: checking for pangoft2" >&5
25377 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25379 if $PKG_CONFIG --exists "pangoft2" ; then
25380 echo "$as_me:$LINENO: result: yes" >&5
25381 echo "${ECHO_T}yes" >&6
25384 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25385 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25386 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25387 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25388 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25390 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25391 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25392 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25393 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25394 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25398 ## If we have a custom action on failure, don't print errors, but
25399 ## do set a variable so people can do so.
25400 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25407 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25408 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25412 if test $succeeded = yes; then
25414 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25415 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25419 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25420 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25421 wxUSE_PRINTING_ARCHITECTURE
="no"
25429 if test -z "$PKG_CONFIG"; then
25430 # Extract the first word of "pkg-config", so it can be a program name with args.
25431 set dummy pkg
-config; ac_word
=$2
25432 echo "$as_me:$LINENO: checking for $ac_word" >&5
25433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25434 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25437 case $PKG_CONFIG in
25439 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25443 for as_dir
in $PATH
25446 test -z "$as_dir" && as_dir
=.
25447 for ac_exec_ext
in '' $ac_executable_extensions; do
25448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25449 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25456 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25460 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25462 if test -n "$PKG_CONFIG"; then
25463 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25464 echo "${ECHO_T}$PKG_CONFIG" >&6
25466 echo "$as_me:$LINENO: result: no" >&5
25467 echo "${ECHO_T}no" >&6
25472 if test "$PKG_CONFIG" = "no" ; then
25473 echo "*** The pkg-config script could not be found. Make sure it is"
25474 echo "*** in your path, or set the PKG_CONFIG environment variable"
25475 echo "*** to the full path to pkg-config."
25476 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25478 PKG_CONFIG_MIN_VERSION
=0.9.0
25479 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25480 echo "$as_me:$LINENO: checking for pangoxft" >&5
25481 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25483 if $PKG_CONFIG --exists "pangoxft" ; then
25484 echo "$as_me:$LINENO: result: yes" >&5
25485 echo "${ECHO_T}yes" >&6
25488 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25489 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25490 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25491 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25492 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25494 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25495 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25496 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25497 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25498 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25502 ## If we have a custom action on failure, don't print errors, but
25503 ## do set a variable so people can do so.
25504 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25511 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25512 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25516 if test $succeeded = yes; then
25518 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25519 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25523 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25524 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25529 save_CFLAGS
="$CFLAGS"
25531 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25532 LIBS
="$LIBS $PANGOX_LIBS"
25534 for ac_func
in pango_font_family_is_monospace
25536 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25537 echo "$as_me:$LINENO: checking for $ac_func" >&5
25538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25539 if eval "test \"\${$as_ac_var+set}\" = set"; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25542 cat >conftest.
$ac_ext <<_ACEOF
25545 cat confdefs.h
>>conftest.
$ac_ext
25546 cat >>conftest.
$ac_ext <<_ACEOF
25547 /* end confdefs.h. */
25548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25550 #define $ac_func innocuous_$ac_func
25552 /* System header to define __stub macros and hopefully few prototypes,
25553 which can conflict with char $ac_func (); below.
25554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25555 <limits.h> exists even on freestanding compilers. */
25558 # include <limits.h>
25560 # include <assert.h>
25565 /* Override any gcc2 internal prototype to avoid an error. */
25570 /* We use char because int might match the return type of a gcc2
25571 builtin and then its argument prototype would still apply. */
25573 /* The GNU C library defines this for functions which it implements
25574 to always fail with ENOSYS. Some functions are actually named
25575 something starting with __ and the normal name is an alias. */
25576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25579 char (*f) () = $ac_func;
25588 return f != $ac_func;
25593 rm -f conftest.
$ac_objext conftest
$ac_exeext
25594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25595 (eval $ac_link) 2>conftest.er1
25597 grep -v '^ *+' conftest.er1
>conftest.err
25599 cat conftest.err
>&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } &&
25602 { ac_try
='test -z "$ac_c_werror_flag"
25603 || test ! -s conftest.err'
25604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25605 (eval $ac_try) 2>&5
25607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); }; } &&
25609 { ac_try
='test -s conftest$ac_exeext'
25610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25611 (eval $ac_try) 2>&5
25613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614 (exit $ac_status); }; }; then
25615 eval "$as_ac_var=yes"
25617 echo "$as_me: failed program was:" >&5
25618 sed 's/^/| /' conftest.
$ac_ext >&5
25620 eval "$as_ac_var=no"
25622 rm -f conftest.err conftest.
$ac_objext \
25623 conftest
$ac_exeext conftest.
$ac_ext
25625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25627 if test `eval echo '${'$as_ac_var'}'` = yes; then
25628 cat >>confdefs.h
<<_ACEOF
25629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25635 CFLAGS
="$save_CFLAGS"
25639 wxUSE_UNIVERSAL
="yes"
25641 if test "$wxUSE_NANOX" = "yes"; then
25642 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25643 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"
25644 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25646 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25649 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25654 if test "$wxUSE_MOTIF" = 1; then
25655 if test "$no_x" = yes; then
25656 # Not all programs may use this symbol, but it does not hurt to define it.
25658 cat >>confdefs.h
<<\_ACEOF
25659 #define X_DISPLAY_MISSING 1
25662 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25664 if test -n "$x_includes"; then
25665 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25668 # It would also be nice to do this for all -L options, not just this one.
25669 if test -n "$x_libraries"; then
25670 X_LIBS
="$X_LIBS -L$x_libraries"
25671 # For Solaris; some versions of Sun CC require a space after -R and
25672 # others require no space. Words are not sufficient . . . .
25673 case `(uname -sr) 2>/dev/null` in
25675 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25676 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25677 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25678 cat >conftest.
$ac_ext <<_ACEOF
25681 cat confdefs.h
>>conftest.
$ac_ext
25682 cat >>conftest.
$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25693 rm -f conftest.
$ac_objext conftest
$ac_exeext
25694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25695 (eval $ac_link) 2>conftest.er1
25697 grep -v '^ *+' conftest.er1
>conftest.err
25699 cat conftest.err
>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } &&
25702 { ac_try
='test -z "$ac_c_werror_flag"
25703 || test ! -s conftest.err'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; } &&
25709 { ac_try
='test -s conftest$ac_exeext'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.
$ac_ext >&5
25722 rm -f conftest.err conftest.
$ac_objext \
25723 conftest
$ac_exeext conftest.
$ac_ext
25724 if test $ac_R_nospace = yes; then
25725 echo "$as_me:$LINENO: result: no" >&5
25726 echo "${ECHO_T}no" >&6
25727 X_LIBS
="$X_LIBS -R$x_libraries"
25729 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25730 cat >conftest.
$ac_ext <<_ACEOF
25733 cat confdefs.h
>>conftest.
$ac_ext
25734 cat >>conftest.
$ac_ext <<_ACEOF
25735 /* end confdefs.h. */
25745 rm -f conftest.
$ac_objext conftest
$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25749 grep -v '^ *+' conftest.er1
>conftest.err
25751 cat conftest.err
>&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try
='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try
='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.
$ac_ext >&5
25774 rm -f conftest.err conftest.
$ac_objext \
25775 conftest
$ac_exeext conftest.
$ac_ext
25776 if test $ac_R_space = yes; then
25777 echo "$as_me:$LINENO: result: yes" >&5
25778 echo "${ECHO_T}yes" >&6
25779 X_LIBS
="$X_LIBS -R $x_libraries"
25781 echo "$as_me:$LINENO: result: neither works" >&5
25782 echo "${ECHO_T}neither works" >&6
25785 LIBS
=$ac_xsave_LIBS
25789 # Check for system-dependent libraries X programs must link with.
25790 # Do this before checking for the system-independent R6 libraries
25791 # (-lICE), since we may need -lsocket or whatever for X linking.
25793 if test "$ISC" = yes; then
25794 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25796 # Martyn Johnson says this is needed for Ultrix, if the X
25797 # libraries were built with DECnet support. And Karl Berry says
25798 # the Alpha needs dnet_stub (dnet does not exist).
25799 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25800 cat >conftest.
$ac_ext <<_ACEOF
25803 cat confdefs.h
>>conftest.
$ac_ext
25804 cat >>conftest.
$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25807 /* Override any gcc2 internal prototype to avoid an error. */
25811 /* We use char because int might match the return type of a gcc2
25812 builtin and then its argument prototype would still apply. */
25813 char XOpenDisplay ();
25822 rm -f conftest.
$ac_objext conftest
$ac_exeext
25823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25824 (eval $ac_link) 2>conftest.er1
25826 grep -v '^ *+' conftest.er1
>conftest.err
25828 cat conftest.err
>&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); } &&
25831 { ac_try
='test -z "$ac_c_werror_flag"
25832 || test ! -s conftest.err'
25833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834 (eval $ac_try) 2>&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); }; } &&
25838 { ac_try
='test -s conftest$ac_exeext'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; }; then
25846 echo "$as_me: failed program was:" >&5
25847 sed 's/^/| /' conftest.
$ac_ext >&5
25849 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25850 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25851 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25852 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 ac_check_lib_save_LIBS
=$LIBS
25855 LIBS
="-ldnet $LIBS"
25856 cat >conftest.
$ac_ext <<_ACEOF
25859 cat confdefs.h
>>conftest.
$ac_ext
25860 cat >>conftest.
$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25863 /* Override any gcc2 internal prototype to avoid an error. */
25867 /* We use char because int might match the return type of a gcc2
25868 builtin and then its argument prototype would still apply. */
25878 rm -f conftest.
$ac_objext conftest
$ac_exeext
25879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25880 (eval $ac_link) 2>conftest.er1
25882 grep -v '^ *+' conftest.er1
>conftest.err
25884 cat conftest.err
>&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } &&
25887 { ac_try
='test -z "$ac_c_werror_flag"
25888 || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try
='test -s conftest$ac_exeext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 ac_cv_lib_dnet_dnet_ntoa
=yes
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.
$ac_ext >&5
25905 ac_cv_lib_dnet_dnet_ntoa
=no
25907 rm -f conftest.err conftest.
$ac_objext \
25908 conftest
$ac_exeext conftest.
$ac_ext
25909 LIBS
=$ac_check_lib_save_LIBS
25911 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25912 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25913 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25914 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25917 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25918 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25919 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25920 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25921 echo $ECHO_N "(cached) $ECHO_C" >&6
25923 ac_check_lib_save_LIBS
=$LIBS
25924 LIBS
="-ldnet_stub $LIBS"
25925 cat >conftest.
$ac_ext <<_ACEOF
25928 cat confdefs.h
>>conftest.
$ac_ext
25929 cat >>conftest.
$ac_ext <<_ACEOF
25930 /* end confdefs.h. */
25932 /* Override any gcc2 internal prototype to avoid an error. */
25936 /* We use char because int might match the return type of a gcc2
25937 builtin and then its argument prototype would still apply. */
25947 rm -f conftest.
$ac_objext conftest
$ac_exeext
25948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25949 (eval $ac_link) 2>conftest.er1
25951 grep -v '^ *+' conftest.er1
>conftest.err
25953 cat conftest.err
>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try
='test -z "$ac_c_werror_flag"
25957 || test ! -s conftest.err'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; } &&
25963 { ac_try
='test -s conftest$ac_exeext'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; }; then
25969 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25974 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25976 rm -f conftest.err conftest.
$ac_objext \
25977 conftest
$ac_exeext conftest.
$ac_ext
25978 LIBS
=$ac_check_lib_save_LIBS
25980 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25981 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25982 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25983 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25988 rm -f conftest.err conftest.
$ac_objext \
25989 conftest
$ac_exeext conftest.
$ac_ext
25990 LIBS
="$ac_xsave_LIBS"
25992 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25993 # to get the SysV transport functions.
25994 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25996 # The nsl library prevents programs from opening the X display
25997 # on Irix 5.2, according to T.E. Dickey.
25998 # The functions gethostbyname, getservbyname, and inet_addr are
25999 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26000 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26001 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26002 if test "${ac_cv_func_gethostbyname+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 cat >conftest.
$ac_ext <<_ACEOF
26008 cat confdefs.h
>>conftest.
$ac_ext
26009 cat >>conftest.
$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26013 #define gethostbyname innocuous_gethostbyname
26015 /* System header to define __stub macros and hopefully few prototypes,
26016 which can conflict with char gethostbyname (); below.
26017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26018 <limits.h> exists even on freestanding compilers. */
26021 # include <limits.h>
26023 # include <assert.h>
26026 #undef gethostbyname
26028 /* Override any gcc2 internal prototype to avoid an error. */
26033 /* We use char because int might match the return type of a gcc2
26034 builtin and then its argument prototype would still apply. */
26035 char gethostbyname ();
26036 /* The GNU C library defines this for functions which it implements
26037 to always fail with ENOSYS. Some functions are actually named
26038 something starting with __ and the normal name is an alias. */
26039 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26042 char (*f) () = gethostbyname;
26051 return f != gethostbyname;
26056 rm -f conftest.
$ac_objext conftest
$ac_exeext
26057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26058 (eval $ac_link) 2>conftest.er1
26060 grep -v '^ *+' conftest.er1
>conftest.err
26062 cat conftest.err
>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } &&
26065 { ac_try
='test -z "$ac_c_werror_flag"
26066 || test ! -s conftest.err'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; } &&
26072 { ac_try
='test -s conftest$ac_exeext'
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; }; then
26078 ac_cv_func_gethostbyname
=yes
26080 echo "$as_me: failed program was:" >&5
26081 sed 's/^/| /' conftest.
$ac_ext >&5
26083 ac_cv_func_gethostbyname
=no
26085 rm -f conftest.err conftest.
$ac_objext \
26086 conftest
$ac_exeext conftest.
$ac_ext
26088 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26089 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26091 if test $ac_cv_func_gethostbyname = no
; then
26092 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26093 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26094 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26095 echo $ECHO_N "(cached) $ECHO_C" >&6
26097 ac_check_lib_save_LIBS
=$LIBS
26099 cat >conftest.
$ac_ext <<_ACEOF
26102 cat confdefs.h
>>conftest.
$ac_ext
26103 cat >>conftest.
$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26106 /* Override any gcc2 internal prototype to avoid an error. */
26110 /* We use char because int might match the return type of a gcc2
26111 builtin and then its argument prototype would still apply. */
26112 char gethostbyname ();
26121 rm -f conftest.
$ac_objext conftest
$ac_exeext
26122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26123 (eval $ac_link) 2>conftest.er1
26125 grep -v '^ *+' conftest.er1
>conftest.err
26127 cat conftest.err
>&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } &&
26130 { ac_try
='test -z "$ac_c_werror_flag"
26131 || test ! -s conftest.err'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; } &&
26137 { ac_try
='test -s conftest$ac_exeext'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; }; then
26143 ac_cv_lib_nsl_gethostbyname
=yes
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.
$ac_ext >&5
26148 ac_cv_lib_nsl_gethostbyname
=no
26150 rm -f conftest.err conftest.
$ac_objext \
26151 conftest
$ac_exeext conftest.
$ac_ext
26152 LIBS
=$ac_check_lib_save_LIBS
26154 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26155 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26156 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26160 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26161 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26162 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26163 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26164 echo $ECHO_N "(cached) $ECHO_C" >&6
26166 ac_check_lib_save_LIBS
=$LIBS
26168 cat >conftest.
$ac_ext <<_ACEOF
26171 cat confdefs.h
>>conftest.
$ac_ext
26172 cat >>conftest.
$ac_ext <<_ACEOF
26173 /* end confdefs.h. */
26175 /* Override any gcc2 internal prototype to avoid an error. */
26179 /* We use char because int might match the return type of a gcc2
26180 builtin and then its argument prototype would still apply. */
26181 char gethostbyname ();
26190 rm -f conftest.
$ac_objext conftest
$ac_exeext
26191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26192 (eval $ac_link) 2>conftest.er1
26194 grep -v '^ *+' conftest.er1
>conftest.err
26196 cat conftest.err
>&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } &&
26199 { ac_try
='test -z "$ac_c_werror_flag"
26200 || test ! -s conftest.err'
26201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26202 (eval $ac_try) 2>&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); }; } &&
26206 { ac_try
='test -s conftest$ac_exeext'
26207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26208 (eval $ac_try) 2>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); }; }; then
26212 ac_cv_lib_bsd_gethostbyname
=yes
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.
$ac_ext >&5
26217 ac_cv_lib_bsd_gethostbyname
=no
26219 rm -f conftest.err conftest.
$ac_objext \
26220 conftest
$ac_exeext conftest.
$ac_ext
26221 LIBS
=$ac_check_lib_save_LIBS
26223 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26224 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26225 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26226 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26232 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26233 # socket/setsockopt and other routines are undefined under SCO ODT
26234 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26235 # on later versions), says Simon Leinen: it contains gethostby*
26236 # variants that don't use the name server (or something). -lsocket
26237 # must be given before -lnsl if both are needed. We assume that
26238 # if connect needs -lnsl, so does gethostbyname.
26239 echo "$as_me:$LINENO: checking for connect" >&5
26240 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26241 if test "${ac_cv_func_connect+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 cat >conftest.
$ac_ext <<_ACEOF
26247 cat confdefs.h
>>conftest.
$ac_ext
26248 cat >>conftest.
$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26250 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26252 #define connect innocuous_connect
26254 /* System header to define __stub macros and hopefully few prototypes,
26255 which can conflict with char connect (); below.
26256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26257 <limits.h> exists even on freestanding compilers. */
26260 # include <limits.h>
26262 # include <assert.h>
26267 /* Override any gcc2 internal prototype to avoid an error. */
26272 /* We use char because int might match the return type of a gcc2
26273 builtin and then its argument prototype would still apply. */
26275 /* The GNU C library defines this for functions which it implements
26276 to always fail with ENOSYS. Some functions are actually named
26277 something starting with __ and the normal name is an alias. */
26278 #if defined (__stub_connect) || defined (__stub___connect)
26281 char (*f) () = connect;
26290 return f != connect;
26295 rm -f conftest.
$ac_objext conftest
$ac_exeext
26296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26297 (eval $ac_link) 2>conftest.er1
26299 grep -v '^ *+' conftest.er1
>conftest.err
26301 cat conftest.err
>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } &&
26304 { ac_try
='test -z "$ac_c_werror_flag"
26305 || test ! -s conftest.err'
26306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307 (eval $ac_try) 2>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); }; } &&
26311 { ac_try
='test -s conftest$ac_exeext'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; }; then
26317 ac_cv_func_connect
=yes
26319 echo "$as_me: failed program was:" >&5
26320 sed 's/^/| /' conftest.
$ac_ext >&5
26322 ac_cv_func_connect
=no
26324 rm -f conftest.err conftest.
$ac_objext \
26325 conftest
$ac_exeext conftest.
$ac_ext
26327 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26328 echo "${ECHO_T}$ac_cv_func_connect" >&6
26330 if test $ac_cv_func_connect = no
; then
26331 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26332 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26333 if test "${ac_cv_lib_socket_connect+set}" = set; then
26334 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 ac_check_lib_save_LIBS
=$LIBS
26337 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26338 cat >conftest.
$ac_ext <<_ACEOF
26341 cat confdefs.h
>>conftest.
$ac_ext
26342 cat >>conftest.
$ac_ext <<_ACEOF
26343 /* end confdefs.h. */
26345 /* Override any gcc2 internal prototype to avoid an error. */
26349 /* We use char because int might match the return type of a gcc2
26350 builtin and then its argument prototype would still apply. */
26360 rm -f conftest.
$ac_objext conftest
$ac_exeext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26362 (eval $ac_link) 2>conftest.er1
26364 grep -v '^ *+' conftest.er1
>conftest.err
26366 cat conftest.err
>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } &&
26369 { ac_try
='test -z "$ac_c_werror_flag"
26370 || test ! -s conftest.err'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; } &&
26376 { ac_try
='test -s conftest$ac_exeext'
26377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26378 (eval $ac_try) 2>&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); }; }; then
26382 ac_cv_lib_socket_connect
=yes
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.
$ac_ext >&5
26387 ac_cv_lib_socket_connect
=no
26389 rm -f conftest.err conftest.
$ac_objext \
26390 conftest
$ac_exeext conftest.
$ac_ext
26391 LIBS
=$ac_check_lib_save_LIBS
26393 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26394 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26395 if test $ac_cv_lib_socket_connect = yes; then
26396 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26401 # Guillermo Gomez says -lposix is necessary on A/UX.
26402 echo "$as_me:$LINENO: checking for remove" >&5
26403 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26404 if test "${ac_cv_func_remove+set}" = set; then
26405 echo $ECHO_N "(cached) $ECHO_C" >&6
26407 cat >conftest.
$ac_ext <<_ACEOF
26410 cat confdefs.h
>>conftest.
$ac_ext
26411 cat >>conftest.
$ac_ext <<_ACEOF
26412 /* end confdefs.h. */
26413 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26415 #define remove innocuous_remove
26417 /* System header to define __stub macros and hopefully few prototypes,
26418 which can conflict with char remove (); below.
26419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26420 <limits.h> exists even on freestanding compilers. */
26423 # include <limits.h>
26425 # include <assert.h>
26430 /* Override any gcc2 internal prototype to avoid an error. */
26435 /* We use char because int might match the return type of a gcc2
26436 builtin and then its argument prototype would still apply. */
26438 /* The GNU C library defines this for functions which it implements
26439 to always fail with ENOSYS. Some functions are actually named
26440 something starting with __ and the normal name is an alias. */
26441 #if defined (__stub_remove) || defined (__stub___remove)
26444 char (*f) () = remove;
26453 return f != remove;
26458 rm -f conftest.
$ac_objext conftest
$ac_exeext
26459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26460 (eval $ac_link) 2>conftest.er1
26462 grep -v '^ *+' conftest.er1
>conftest.err
26464 cat conftest.err
>&5
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); } &&
26467 { ac_try
='test -z "$ac_c_werror_flag"
26468 || test ! -s conftest.err'
26469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26470 (eval $ac_try) 2>&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); }; } &&
26474 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
26480 ac_cv_func_remove
=yes
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.
$ac_ext >&5
26485 ac_cv_func_remove
=no
26487 rm -f conftest.err conftest.
$ac_objext \
26488 conftest
$ac_exeext conftest.
$ac_ext
26490 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26491 echo "${ECHO_T}$ac_cv_func_remove" >&6
26493 if test $ac_cv_func_remove = no
; then
26494 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26495 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26496 if test "${ac_cv_lib_posix_remove+set}" = set; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 ac_check_lib_save_LIBS
=$LIBS
26500 LIBS
="-lposix $LIBS"
26501 cat >conftest.
$ac_ext <<_ACEOF
26504 cat confdefs.h
>>conftest.
$ac_ext
26505 cat >>conftest.
$ac_ext <<_ACEOF
26506 /* end confdefs.h. */
26508 /* Override any gcc2 internal prototype to avoid an error. */
26512 /* We use char because int might match the return type of a gcc2
26513 builtin and then its argument prototype would still apply. */
26523 rm -f conftest.
$ac_objext conftest
$ac_exeext
26524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26525 (eval $ac_link) 2>conftest.er1
26527 grep -v '^ *+' conftest.er1
>conftest.err
26529 cat conftest.err
>&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } &&
26532 { ac_try
='test -z "$ac_c_werror_flag"
26533 || test ! -s conftest.err'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; } &&
26539 { ac_try
='test -s conftest$ac_exeext'
26540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26541 (eval $ac_try) 2>&5
26543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26544 (exit $ac_status); }; }; then
26545 ac_cv_lib_posix_remove
=yes
26547 echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.
$ac_ext >&5
26550 ac_cv_lib_posix_remove
=no
26552 rm -f conftest.err conftest.
$ac_objext \
26553 conftest
$ac_exeext conftest.
$ac_ext
26554 LIBS
=$ac_check_lib_save_LIBS
26556 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26557 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26558 if test $ac_cv_lib_posix_remove = yes; then
26559 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26564 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26565 echo "$as_me:$LINENO: checking for shmat" >&5
26566 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26567 if test "${ac_cv_func_shmat+set}" = set; then
26568 echo $ECHO_N "(cached) $ECHO_C" >&6
26570 cat >conftest.
$ac_ext <<_ACEOF
26573 cat confdefs.h
>>conftest.
$ac_ext
26574 cat >>conftest.
$ac_ext <<_ACEOF
26575 /* end confdefs.h. */
26576 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26578 #define shmat innocuous_shmat
26580 /* System header to define __stub macros and hopefully few prototypes,
26581 which can conflict with char shmat (); below.
26582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26583 <limits.h> exists even on freestanding compilers. */
26586 # include <limits.h>
26588 # include <assert.h>
26593 /* Override any gcc2 internal prototype to avoid an error. */
26598 /* We use char because int might match the return type of a gcc2
26599 builtin and then its argument prototype would still apply. */
26601 /* The GNU C library defines this for functions which it implements
26602 to always fail with ENOSYS. Some functions are actually named
26603 something starting with __ and the normal name is an alias. */
26604 #if defined (__stub_shmat) || defined (__stub___shmat)
26607 char (*f) () = shmat;
26621 rm -f conftest.
$ac_objext conftest
$ac_exeext
26622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26623 (eval $ac_link) 2>conftest.er1
26625 grep -v '^ *+' conftest.er1
>conftest.err
26627 cat conftest.err
>&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } &&
26630 { ac_try
='test -z "$ac_c_werror_flag"
26631 || test ! -s conftest.err'
26632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26633 (eval $ac_try) 2>&5
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); }; } &&
26637 { ac_try
='test -s conftest$ac_exeext'
26638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26639 (eval $ac_try) 2>&5
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); }; }; then
26643 ac_cv_func_shmat
=yes
26645 echo "$as_me: failed program was:" >&5
26646 sed 's/^/| /' conftest.
$ac_ext >&5
26648 ac_cv_func_shmat
=no
26650 rm -f conftest.err conftest.
$ac_objext \
26651 conftest
$ac_exeext conftest.
$ac_ext
26653 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26654 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26656 if test $ac_cv_func_shmat = no
; then
26657 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26658 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26659 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26660 echo $ECHO_N "(cached) $ECHO_C" >&6
26662 ac_check_lib_save_LIBS
=$LIBS
26664 cat >conftest.
$ac_ext <<_ACEOF
26667 cat confdefs.h
>>conftest.
$ac_ext
26668 cat >>conftest.
$ac_ext <<_ACEOF
26669 /* end confdefs.h. */
26671 /* Override any gcc2 internal prototype to avoid an error. */
26675 /* We use char because int might match the return type of a gcc2
26676 builtin and then its argument prototype would still apply. */
26686 rm -f conftest.
$ac_objext conftest
$ac_exeext
26687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26688 (eval $ac_link) 2>conftest.er1
26690 grep -v '^ *+' conftest.er1
>conftest.err
26692 cat conftest.err
>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } &&
26695 { ac_try
='test -z "$ac_c_werror_flag"
26696 || test ! -s conftest.err'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; } &&
26702 { ac_try
='test -s conftest$ac_exeext'
26703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26704 (eval $ac_try) 2>&5
26706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26707 (exit $ac_status); }; }; then
26708 ac_cv_lib_ipc_shmat
=yes
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.
$ac_ext >&5
26713 ac_cv_lib_ipc_shmat
=no
26715 rm -f conftest.err conftest.
$ac_objext \
26716 conftest
$ac_exeext conftest.
$ac_ext
26717 LIBS
=$ac_check_lib_save_LIBS
26719 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26720 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26721 if test $ac_cv_lib_ipc_shmat = yes; then
26722 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26728 # Check for libraries that X11R6 Xt/Xaw programs need.
26729 ac_save_LDFLAGS
=$LDFLAGS
26730 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26731 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26732 # check for ICE first), but we must link in the order -lSM -lICE or
26733 # we get undefined symbols. So assume we have SM if we have ICE.
26734 # These have to be linked with before -lX11, unlike the other
26735 # libraries we check for below, so use a different variable.
26736 # John Interrante, Karl Berry
26737 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26738 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26739 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26742 ac_check_lib_save_LIBS
=$LIBS
26743 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26744 cat >conftest.
$ac_ext <<_ACEOF
26747 cat confdefs.h
>>conftest.
$ac_ext
26748 cat >>conftest.
$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26751 /* Override any gcc2 internal prototype to avoid an error. */
26755 /* We use char because int might match the return type of a gcc2
26756 builtin and then its argument prototype would still apply. */
26757 char IceConnectionNumber ();
26761 IceConnectionNumber ();
26766 rm -f conftest.
$ac_objext conftest
$ac_exeext
26767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26768 (eval $ac_link) 2>conftest.er1
26770 grep -v '^ *+' conftest.er1
>conftest.err
26772 cat conftest.err
>&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); } &&
26775 { ac_try
='test -z "$ac_c_werror_flag"
26776 || test ! -s conftest.err'
26777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26778 (eval $ac_try) 2>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); }; } &&
26782 { ac_try
='test -s conftest$ac_exeext'
26783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26784 (eval $ac_try) 2>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); }; }; then
26788 ac_cv_lib_ICE_IceConnectionNumber
=yes
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.
$ac_ext >&5
26793 ac_cv_lib_ICE_IceConnectionNumber
=no
26795 rm -f conftest.err conftest.
$ac_objext \
26796 conftest
$ac_exeext conftest.
$ac_ext
26797 LIBS
=$ac_check_lib_save_LIBS
26799 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26800 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26801 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26802 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26805 LDFLAGS
=$ac_save_LDFLAGS
26810 if test "$no_x" = "yes"; then
26811 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26812 echo "$as_me: error: X11 not found" >&2;}
26813 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26816 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26817 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26818 AFMINSTALL
=afminstall
26819 COMPILED_X_PROGRAM
=0
26821 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26822 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26825 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26827 if test -f "$ac_dir/Xm/Xm.h"; then
26828 ac_find_includes
=$ac_dir
26833 if test "$ac_find_includes" != "" ; then
26834 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26835 echo "${ECHO_T}found in $ac_find_includes" >&6
26837 if test "x$ac_find_includes" = "x/usr/include"; then
26838 ac_path_to_include
=""
26840 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26842 if test $result = 0; then
26843 ac_path_to_include
=""
26845 ac_path_to_include
=" -I$ac_find_includes"
26849 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26851 cat >conftest.
$ac_ext <<_ACEOF
26854 cat confdefs.h
>>conftest.
$ac_ext
26855 cat >>conftest.
$ac_ext <<_ACEOF
26856 /* end confdefs.h. */
26865 version = xmUseVersion;
26871 rm -f conftest.
$ac_objext
26872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26873 (eval $ac_compile) 2>conftest.er1
26875 grep -v '^ *+' conftest.er1
>conftest.err
26877 cat conftest.err
>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); } &&
26880 { ac_try
='test -z "$ac_c_werror_flag"
26881 || test ! -s conftest.err'
26882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26883 (eval $ac_try) 2>&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); }; } &&
26887 { ac_try
='test -s conftest.$ac_objext'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; }; then
26894 echo "$as_me:$LINENO: result: found in default search path" >&5
26895 echo "${ECHO_T}found in default search path" >&6
26896 COMPILED_X_PROGRAM
=1
26899 echo "$as_me: failed program was:" >&5
26900 sed 's/^/| /' conftest.
$ac_ext >&5
26903 echo "$as_me:$LINENO: result: no" >&5
26904 echo "${ECHO_T}no" >&6
26905 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26906 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26907 { (exit 1); exit 1; }; }
26911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26914 if test "$COMPILED_X_PROGRAM" = 0; then
26915 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26916 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26919 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26921 for ac_extension
in a so sl dylib
; do
26922 if test -f "$ac_dir/libXm.$ac_extension"; then
26923 ac_find_libraries
=$ac_dir
26929 if test "$ac_find_libraries" != "" ; then
26930 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26931 echo "${ECHO_T}found at $ac_find_libraries" >&6
26934 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26936 if test $result = 0; then
26939 ac_path_to_link
=" -L$ac_find_libraries"
26942 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26944 save_CFLAGS
=$CFLAGS
26945 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26947 cat >conftest.
$ac_ext <<_ACEOF
26950 cat confdefs.h
>>conftest.
$ac_ext
26951 cat >>conftest.
$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26961 version = xmUseVersion;
26967 rm -f conftest.
$ac_objext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26969 (eval $ac_compile) 2>conftest.er1
26971 grep -v '^ *+' conftest.er1
>conftest.err
26973 cat conftest.err
>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try
='test -z "$ac_c_werror_flag"
26977 || test ! -s conftest.err'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; } &&
26983 { ac_try
='test -s conftest.$ac_objext'
26984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985 (eval $ac_try) 2>&5
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26990 echo "$as_me:$LINENO: result: found in default search path" >&5
26991 echo "${ECHO_T}found in default search path" >&6
26992 COMPILED_X_PROGRAM
=1
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.
$ac_ext >&5
26999 echo "$as_me:$LINENO: result: no" >&5
27000 echo "${ECHO_T}no" >&6
27001 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27002 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27003 { (exit 1); exit 1; }; }
27007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27009 CFLAGS
=$save_CFLAGS
27013 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27014 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27018 for libp
in "" " -lXp"; do
27019 if test "$libs_found" = "0"; then
27020 for libsm_ice
in "" " -lSM -lICE"; do
27021 if test "$libs_found" = "0"; then
27023 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27024 save_CFLAGS
=$CFLAGS
27025 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27027 cat >conftest.
$ac_ext <<_ACEOF
27030 cat confdefs.h
>>conftest.
$ac_ext
27031 cat >>conftest.
$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27035 #include <Xm/List.h>
27041 XmString string = NULL;
27044 XmListAddItem(w, string, position);
27050 rm -f conftest.
$ac_objext conftest
$ac_exeext
27051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27052 (eval $ac_link) 2>conftest.er1
27054 grep -v '^ *+' conftest.er1
>conftest.err
27056 cat conftest.err
>&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); } &&
27059 { ac_try
='test -z "$ac_c_werror_flag"
27060 || test ! -s conftest.err'
27061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062 (eval $ac_try) 2>&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); }; } &&
27066 { ac_try
='test -s conftest$ac_exeext'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; }; then
27074 libsm_ice_link
="$libsm_ice"
27075 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27076 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.
$ac_ext >&5
27086 rm -f conftest.err conftest.
$ac_objext \
27087 conftest
$ac_exeext conftest.
$ac_ext
27090 CFLAGS
=$save_CFLAGS
27096 if test "$libs_found" = "0"; then
27097 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27098 echo "${ECHO_T}can't find the right libraries" >&6
27099 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27100 echo "$as_me: error: can't link a simple motif program" >&2;}
27101 { (exit 1); exit 1; }; }
27104 save_CFLAGS
=$CFLAGS
27105 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27106 echo "$as_me:$LINENO: checking for Motif 2" >&5
27107 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27108 cat >conftest.
$ac_ext <<_ACEOF
27111 cat confdefs.h
>>conftest.
$ac_ext
27112 cat >>conftest.
$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27121 #if XmVersion < 2000
27122 #error "Not Motif 2"
27129 rm -f conftest.
$ac_objext
27130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27131 (eval $ac_compile) 2>conftest.er1
27133 grep -v '^ *+' conftest.er1
>conftest.err
27135 cat conftest.err
>&5
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); } &&
27138 { ac_try
='test -z "$ac_c_werror_flag"
27139 || test ! -s conftest.err'
27140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27141 (eval $ac_try) 2>&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); }; } &&
27145 { ac_try
='test -s conftest.$ac_objext'
27146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147 (eval $ac_try) 2>&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); }; }; then
27152 cat >>confdefs.h
<<\_ACEOF
27153 #define __WXMOTIF20__ 1
27156 echo "$as_me:$LINENO: result: found" >&5
27157 echo "${ECHO_T}found" >&6
27160 echo "$as_me: failed program was:" >&5
27161 sed 's/^/| /' conftest.
$ac_ext >&5
27164 cat >>confdefs.h
<<\_ACEOF
27165 #define __WXMOTIF20__ 0
27168 echo "$as_me:$LINENO: result: not found" >&5
27169 echo "${ECHO_T}not found" >&6
27172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27173 CFLAGS
=$save_CFLAGS
27175 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27176 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
27181 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27182 if test "$wxUSE_LIBXPM" = "sys"; then
27183 echo "$as_me:$LINENO: checking for Xpm library" >&5
27184 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27187 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27189 for ac_extension
in a so sl dylib
; do
27190 if test -f "$ac_dir/libXpm.$ac_extension"; then
27191 ac_find_libraries
=$ac_dir
27197 if test "$ac_find_libraries" != "" ; then
27199 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27201 if test $result = 0; then
27204 ac_path_to_link
=" -L$ac_find_libraries"
27207 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27208 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27209 echo "${ECHO_T}found at $ac_find_libraries" >&6
27211 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27212 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27213 if test "${wx_cv_x11_xpm_h+set}" = set; then
27214 echo $ECHO_N "(cached) $ECHO_C" >&6
27217 save_CFLAGS
=$CFLAGS
27218 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27220 cat >conftest.
$ac_ext <<_ACEOF
27223 cat confdefs.h
>>conftest.
$ac_ext
27224 cat >>conftest.
$ac_ext <<_ACEOF
27225 /* end confdefs.h. */
27227 #include <X11/xpm.h>
27234 version = XpmLibraryVersion();
27240 rm -f conftest.
$ac_objext
27241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27242 (eval $ac_compile) 2>conftest.er1
27244 grep -v '^ *+' conftest.er1
>conftest.err
27246 cat conftest.err
>&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } &&
27249 { ac_try
='test -z "$ac_c_werror_flag"
27250 || test ! -s conftest.err'
27251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 (eval $ac_try) 2>&5
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); }; } &&
27256 { ac_try
='test -s conftest.$ac_objext'
27257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27258 (eval $ac_try) 2>&5
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; }; then
27262 wx_cv_x11_xpm_h
=yes
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.
$ac_ext >&5
27270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27272 CFLAGS
=$save_CFLAGS
27276 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27277 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27279 if test $wx_cv_x11_xpm_h = "yes"; then
27280 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27281 cat >>confdefs.h
<<\_ACEOF
27282 #define wxHAVE_LIB_XPM 1
27286 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27287 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27293 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27294 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27295 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27296 echo $ECHO_N "(cached) $ECHO_C" >&6
27298 ac_check_lib_save_LIBS
=$LIBS
27299 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27300 cat >conftest.
$ac_ext <<_ACEOF
27303 cat confdefs.h
>>conftest.
$ac_ext
27304 cat >>conftest.
$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27307 /* Override any gcc2 internal prototype to avoid an error. */
27311 /* We use char because int might match the return type of a gcc2
27312 builtin and then its argument prototype would still apply. */
27313 char XShapeQueryExtension ();
27317 XShapeQueryExtension ();
27322 rm -f conftest.
$ac_objext conftest
$ac_exeext
27323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27324 (eval $ac_link) 2>conftest.er1
27326 grep -v '^ *+' conftest.er1
>conftest.err
27328 cat conftest.err
>&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try
='test -z "$ac_c_werror_flag"
27332 || test ! -s conftest.err'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; } &&
27338 { ac_try
='test -s conftest$ac_exeext'
27339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340 (eval $ac_try) 2>&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; }; then
27344 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.
$ac_ext >&5
27349 ac_cv_lib_Xext_XShapeQueryExtension
=no
27351 rm -f conftest.err conftest.
$ac_objext \
27352 conftest
$ac_exeext conftest.
$ac_ext
27353 LIBS
=$ac_check_lib_save_LIBS
27355 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27356 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27357 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27359 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27365 if test "$wxHAVE_XEXT_LIB" = 1; then
27366 save_CFLAGS
="$CFLAGS"
27367 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27369 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27370 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27371 cat >conftest.
$ac_ext <<_ACEOF
27374 cat confdefs.h
>>conftest.
$ac_ext
27375 cat >>conftest.
$ac_ext <<_ACEOF
27376 /* end confdefs.h. */
27378 #include <X11/Xlib.h>
27379 #include <X11/extensions/shape.h>
27385 int dummy1, dummy2;
27386 XShapeQueryExtension((Display*)NULL,
27387 (int*)NULL, (int*)NULL);
27393 rm -f conftest.
$ac_objext
27394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27395 (eval $ac_compile) 2>conftest.er1
27397 grep -v '^ *+' conftest.er1
>conftest.err
27399 cat conftest.err
>&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } &&
27402 { ac_try
='test -z "$ac_c_werror_flag"
27403 || test ! -s conftest.err'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; } &&
27409 { ac_try
='test -s conftest.$ac_objext'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27416 cat >>confdefs.h
<<\_ACEOF
27417 #define HAVE_XSHAPE 1
27420 echo "$as_me:$LINENO: result: found" >&5
27421 echo "${ECHO_T}found" >&6
27424 echo "$as_me: failed program was:" >&5
27425 sed 's/^/| /' conftest.
$ac_ext >&5
27428 echo "$as_me:$LINENO: result: not found" >&5
27429 echo "${ECHO_T}not found" >&6
27432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27433 CFLAGS
="$save_CFLAGS"
27438 if test "$wxUSE_MAC" = 1; then
27439 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27440 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27441 if test "$GCC" = yes; then
27442 echo "$as_me:$LINENO: result: gcc" >&5
27443 echo "${ECHO_T}gcc" >&6
27444 CPPFLAGS_PASCAL
="-fpascal-strings"
27445 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27446 echo "$as_me:$LINENO: result: xlc" >&5
27447 echo "${ECHO_T}xlc" >&6
27448 CPPFLAGS_PASCAL
="-qmacpstr"
27450 echo "$as_me:$LINENO: result: none" >&5
27451 echo "${ECHO_T}none" >&6
27454 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27456 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
27459 WXBASEPORT
="_carbon"
27462 if test "$wxUSE_COCOA" = 1; then
27463 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
27468 if test "$wxUSE_PM" = 1; then
27471 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27472 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27473 if test "${wx_cv_spbcdata+set}" = set; then
27474 echo $ECHO_N "(cached) $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. */
27497 rm -f conftest.
$ac_objext
27498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27499 (eval $ac_compile) 2>conftest.er1
27501 grep -v '^ *+' conftest.er1
>conftest.err
27503 cat conftest.err
>&5
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } &&
27506 { ac_try
='test -z "$ac_c_werror_flag"
27507 || test ! -s conftest.err'
27508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27509 (eval $ac_try) 2>&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); }; } &&
27513 { ac_try
='test -s conftest.$ac_objext'
27514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27515 (eval $ac_try) 2>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); }; }; then
27521 echo "$as_me: failed program was:" >&5
27522 sed 's/^/| /' conftest.
$ac_ext >&5
27527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27531 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27532 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27534 if test $wx_cv_spbcdata = "yes"; then
27535 cat >>confdefs.h
<<\_ACEOF
27536 #define HAVE_SPBCDATA 1
27542 if test "$TOOLKIT" = "PM" ; then
27545 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27548 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
27550 if test "$wxUSE_UNIVERSAL" = "yes"; then
27551 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
27553 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
27554 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
27556 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
27557 if test "$wxUSE_X11" = 1; then
27558 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
27560 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
27562 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27565 ALL_OBJECTS
="\$(GUIOBJS)"
27566 ALL_SOURCES
="\$(ALL_SOURCES)"
27567 ALL_HEADERS
="\$(ALL_HEADERS)"
27570 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
27572 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
27573 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
27576 if test "$wxUSE_HTML" = "yes"; then
27577 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
27580 if test "$wxUSE_LIBJPEG" = "builtin" ; then
27581 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
27583 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27584 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
27586 if test "$wxUSE_LIBPNG" = "builtin" ; then
27587 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
27590 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27591 DISTDIR
="wx\$(TOOLKIT)"
27597 if test "$USE_WIN32" = 1 ; then
27598 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
27599 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
27603 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
27604 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
27607 ALL_SOURCES
="\$(ALL_SOURCES)"
27608 ALL_HEADERS
="\$(ALL_HEADERS)"
27610 PORT_FILES
="\${top_srcdir}/src/files.lst"
27612 GUIDIST
="BASE_DIST"
27622 if test "$TOOLKIT" != "MSW" ; then
27624 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27626 if test "${ac_cv_header_sql_h+set}" = set; then
27627 echo "$as_me:$LINENO: checking for sql.h" >&5
27628 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27629 if test "${ac_cv_header_sql_h+set}" = set; then
27630 echo $ECHO_N "(cached) $ECHO_C" >&6
27632 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27633 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27635 # Is the header compilable?
27636 echo "$as_me:$LINENO: checking sql.h usability" >&5
27637 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27638 cat >conftest.
$ac_ext <<_ACEOF
27641 cat confdefs.h
>>conftest.
$ac_ext
27642 cat >>conftest.
$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27644 $ac_includes_default
27647 rm -f conftest.
$ac_objext
27648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27649 (eval $ac_compile) 2>conftest.er1
27651 grep -v '^ *+' conftest.er1
>conftest.err
27653 cat conftest.err
>&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); } &&
27656 { ac_try
='test -z "$ac_c_werror_flag"
27657 || test ! -s conftest.err'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; } &&
27663 { ac_try
='test -s conftest.$ac_objext'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; }; then
27669 ac_header_compiler
=yes
27671 echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.
$ac_ext >&5
27674 ac_header_compiler
=no
27676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27678 echo "${ECHO_T}$ac_header_compiler" >&6
27680 # Is the header present?
27681 echo "$as_me:$LINENO: checking sql.h presence" >&5
27682 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27683 cat >conftest.
$ac_ext <<_ACEOF
27686 cat confdefs.h
>>conftest.
$ac_ext
27687 cat >>conftest.
$ac_ext <<_ACEOF
27688 /* end confdefs.h. */
27691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27694 grep -v '^ *+' conftest.er1
>conftest.err
27696 cat conftest.err
>&5
27697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698 (exit $ac_status); } >/dev
/null
; then
27699 if test -s conftest.err
; then
27700 ac_cpp_err
=$ac_c_preproc_warn_flag
27701 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27708 if test -z "$ac_cpp_err"; then
27709 ac_header_preproc
=yes
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.
$ac_ext >&5
27714 ac_header_preproc
=no
27716 rm -f conftest.err conftest.
$ac_ext
27717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27718 echo "${ECHO_T}$ac_header_preproc" >&6
27720 # So? What about this header?
27721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27723 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27724 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27725 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27726 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27727 ac_header_preproc
=yes
27730 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27731 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27732 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27733 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27734 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27735 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27736 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27737 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27738 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27739 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27740 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27741 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27744 ## ----------------------------------------- ##
27745 ## Report this to wx-dev@lists.wxwidgets.org ##
27746 ## ----------------------------------------- ##
27749 sed "s/^/$as_me: WARNING: /" >&2
27752 echo "$as_me:$LINENO: checking for sql.h" >&5
27753 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27754 if test "${ac_cv_header_sql_h+set}" = set; then
27755 echo $ECHO_N "(cached) $ECHO_C" >&6
27757 ac_cv_header_sql_h
=$ac_header_preproc
27759 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27760 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27763 if test $ac_cv_header_sql_h = yes; then
27768 if test "x$found_sql_h" = "x1" ; then
27769 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27770 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27771 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27772 echo $ECHO_N "(cached) $ECHO_C" >&6
27774 ac_check_lib_save_LIBS
=$LIBS
27775 LIBS
="-liodbc $LIBS"
27776 cat >conftest.
$ac_ext <<_ACEOF
27779 cat confdefs.h
>>conftest.
$ac_ext
27780 cat >>conftest.
$ac_ext <<_ACEOF
27781 /* end confdefs.h. */
27783 /* Override any gcc2 internal prototype to avoid an error. */
27787 /* We use char because int might match the return type of a gcc2
27788 builtin and then its argument prototype would still apply. */
27789 char SQLAllocEnv ();
27798 rm -f conftest.
$ac_objext conftest
$ac_exeext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27800 (eval $ac_link) 2>conftest.er1
27802 grep -v '^ *+' conftest.er1
>conftest.err
27804 cat conftest.err
>&5
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } &&
27807 { ac_try
='test -z "$ac_c_werror_flag"
27808 || test ! -s conftest.err'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; } &&
27814 { ac_try
='test -s conftest$ac_exeext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.
$ac_ext >&5
27825 ac_cv_lib_iodbc_SQLAllocEnv
=no
27827 rm -f conftest.err conftest.
$ac_objext \
27828 conftest
$ac_exeext conftest.
$ac_ext
27829 LIBS
=$ac_check_lib_save_LIBS
27831 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27832 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27833 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27834 ODBC_LINK
=" -liodbc"
27837 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27838 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27839 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27842 ac_check_lib_save_LIBS
=$LIBS
27843 LIBS
="-lunixodbc $LIBS"
27844 cat >conftest.
$ac_ext <<_ACEOF
27847 cat confdefs.h
>>conftest.
$ac_ext
27848 cat >>conftest.
$ac_ext <<_ACEOF
27849 /* end confdefs.h. */
27851 /* Override any gcc2 internal prototype to avoid an error. */
27855 /* We use char because int might match the return type of a gcc2
27856 builtin and then its argument prototype would still apply. */
27857 char SQLAllocEnv ();
27866 rm -f conftest.
$ac_objext conftest
$ac_exeext
27867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27868 (eval $ac_link) 2>conftest.er1
27870 grep -v '^ *+' conftest.er1
>conftest.err
27872 cat conftest.err
>&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } &&
27875 { ac_try
='test -z "$ac_c_werror_flag"
27876 || test ! -s conftest.err'
27877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27878 (eval $ac_try) 2>&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); }; } &&
27882 { ac_try
='test -s conftest$ac_exeext'
27883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884 (eval $ac_try) 2>&5
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); }; }; then
27888 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27890 echo "$as_me: failed program was:" >&5
27891 sed 's/^/| /' conftest.
$ac_ext >&5
27893 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27895 rm -f conftest.err conftest.
$ac_objext \
27896 conftest
$ac_exeext conftest.
$ac_ext
27897 LIBS
=$ac_check_lib_save_LIBS
27899 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27900 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27901 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27902 ODBC_LINK
=" -lunixodbc"
27905 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27906 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27907 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27908 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 ac_check_lib_save_LIBS
=$LIBS
27911 LIBS
="-lodbc $LIBS"
27912 cat >conftest.
$ac_ext <<_ACEOF
27915 cat confdefs.h
>>conftest.
$ac_ext
27916 cat >>conftest.
$ac_ext <<_ACEOF
27917 /* end confdefs.h. */
27919 /* Override any gcc2 internal prototype to avoid an error. */
27923 /* We use char because int might match the return type of a gcc2
27924 builtin and then its argument prototype would still apply. */
27925 char SQLAllocEnv ();
27934 rm -f conftest.
$ac_objext conftest
$ac_exeext
27935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27936 (eval $ac_link) 2>conftest.er1
27938 grep -v '^ *+' conftest.er1
>conftest.err
27940 cat conftest.err
>&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); } &&
27943 { ac_try
='test -z "$ac_c_werror_flag"
27944 || test ! -s conftest.err'
27945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27946 (eval $ac_try) 2>&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); }; } &&
27950 { ac_try
='test -s conftest$ac_exeext'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; }; then
27956 ac_cv_lib_odbc_SQLAllocEnv
=yes
27958 echo "$as_me: failed program was:" >&5
27959 sed 's/^/| /' conftest.
$ac_ext >&5
27961 ac_cv_lib_odbc_SQLAllocEnv
=no
27963 rm -f conftest.err conftest.
$ac_objext \
27964 conftest
$ac_exeext conftest.
$ac_ext
27965 LIBS
=$ac_check_lib_save_LIBS
27967 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27968 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27969 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27970 ODBC_LINK
=" -lodbc"
27980 if test "x$ODBC_LINK" = "x" ; then
27981 if test "$wxUSE_ODBC" = "sys" ; then
27982 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27983 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27984 { (exit 1); exit 1; }; }
27986 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27987 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27994 if test "$wxUSE_ODBC" != "no" ; then
27995 cat >>confdefs.h
<<\_ACEOF
27996 #define wxUSE_ODBC 1
27999 if test "$wxUSE_ODBC" = "builtin" ; then
28000 cat >>confdefs.h
<<\_ACEOF
28001 #define wxUSE_BUILTIN_IODBC 1
28005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28007 WXODBCFLAG
="-D_IODBC_"
28011 if test "$wxUSE_REGEX" = "builtin" ; then
28012 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
28014 if test "$wxUSE_ZLIB" = "builtin" ; then
28015 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
28019 if test "$wxUSE_DISPLAY" = "yes"; then
28020 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28021 echo "$as_me:$LINENO: checking for Xinerama" >&5
28022 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28025 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28027 for ac_extension
in a so sl dylib
; do
28028 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28029 ac_find_libraries
=$ac_dir
28035 if test "$ac_find_libraries" != "" ; then
28037 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28039 if test $result = 0; then
28042 ac_path_to_link
=" -L$ac_find_libraries"
28045 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28046 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28048 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28049 echo "$as_me:$LINENO: result: yes" >&5
28050 echo "${ECHO_T}yes" >&6
28052 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28053 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28056 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28058 for ac_extension
in a so sl dylib
; do
28059 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28060 ac_find_libraries
=$ac_dir
28066 if test "$ac_find_libraries" != "" ; then
28067 echo "$as_me:$LINENO: result: yes" >&5
28068 echo "${ECHO_T}yes" >&6
28070 for ac_header
in X
11/extensions
/xf86vmode.h
28072 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28073 echo "$as_me:$LINENO: checking for $ac_header" >&5
28074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28076 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 cat >conftest.
$ac_ext <<_ACEOF
28081 cat confdefs.h
>>conftest.
$ac_ext
28082 cat >>conftest.
$ac_ext <<_ACEOF
28083 /* end confdefs.h. */
28085 #if HAVE_X11_XLIB_H
28086 #include <X11/Xlib.h>
28090 #include <$ac_header>
28092 rm -f conftest.
$ac_objext
28093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28094 (eval $ac_compile) 2>conftest.er1
28096 grep -v '^ *+' conftest.er1
>conftest.err
28098 cat conftest.err
>&5
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); } &&
28101 { ac_try
='test -z "$ac_c_werror_flag"
28102 || test ! -s conftest.err'
28103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28104 (eval $ac_try) 2>&5
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; } &&
28108 { ac_try
='test -s conftest.$ac_objext'
28109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28110 (eval $ac_try) 2>&5
28112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113 (exit $ac_status); }; }; then
28114 eval "$as_ac_Header=yes"
28116 echo "$as_me: failed program was:" >&5
28117 sed 's/^/| /' conftest.
$ac_ext >&5
28119 eval "$as_ac_Header=no"
28121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28126 cat >>confdefs.h
<<_ACEOF
28127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28130 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28137 echo "$as_me:$LINENO: result: no" >&5
28138 echo "${ECHO_T}no" >&6
28142 echo "$as_me:$LINENO: result: no" >&5
28143 echo "${ECHO_T}no" >&6
28144 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28145 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28148 elif test "$wxUSE_MSW" = 1; then
28151 for ac_header
in multimon.h ddraw.h
28153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28155 echo "$as_me:$LINENO: checking for $ac_header" >&5
28156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28158 echo $ECHO_N "(cached) $ECHO_C" >&6
28160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28163 # Is the header compilable?
28164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28166 cat >conftest.
$ac_ext <<_ACEOF
28169 cat confdefs.h
>>conftest.
$ac_ext
28170 cat >>conftest.
$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 $ac_includes_default
28173 #include <$ac_header>
28175 rm -f conftest.
$ac_objext
28176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28177 (eval $ac_compile) 2>conftest.er1
28179 grep -v '^ *+' conftest.er1
>conftest.err
28181 cat conftest.err
>&5
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); } &&
28184 { ac_try
='test -z "$ac_c_werror_flag"
28185 || test ! -s conftest.err'
28186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28187 (eval $ac_try) 2>&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); }; } &&
28191 { ac_try
='test -s conftest.$ac_objext'
28192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28193 (eval $ac_try) 2>&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); }; }; then
28197 ac_header_compiler
=yes
28199 echo "$as_me: failed program was:" >&5
28200 sed 's/^/| /' conftest.
$ac_ext >&5
28202 ac_header_compiler
=no
28204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28206 echo "${ECHO_T}$ac_header_compiler" >&6
28208 # Is the header present?
28209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28211 cat >conftest.
$ac_ext <<_ACEOF
28214 cat confdefs.h
>>conftest.
$ac_ext
28215 cat >>conftest.
$ac_ext <<_ACEOF
28216 /* end confdefs.h. */
28217 #include <$ac_header>
28219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28222 grep -v '^ *+' conftest.er1
>conftest.err
28224 cat conftest.err
>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } >/dev
/null
; then
28227 if test -s conftest.err
; then
28228 ac_cpp_err
=$ac_c_preproc_warn_flag
28229 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28236 if test -z "$ac_cpp_err"; then
28237 ac_header_preproc
=yes
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.
$ac_ext >&5
28242 ac_header_preproc
=no
28244 rm -f conftest.err conftest.
$ac_ext
28245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28246 echo "${ECHO_T}$ac_header_preproc" >&6
28248 # So? What about this header?
28249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28255 ac_header_preproc
=yes
28258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28272 ## ----------------------------------------- ##
28273 ## Report this to wx-dev@lists.wxwidgets.org ##
28274 ## ----------------------------------------- ##
28277 sed "s/^/$as_me: WARNING: /" >&2
28280 echo "$as_me:$LINENO: checking for $ac_header" >&5
28281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28283 echo $ECHO_N "(cached) $ECHO_C" >&6
28285 eval "$as_ac_Header=\$ac_header_preproc"
28287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28292 cat >>confdefs.h
<<_ACEOF
28293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28299 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28300 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28311 if test "$wxUSE_OPENGL" = "yes"; then
28312 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28313 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28314 elif test "$wxUSE_MSW" = 1; then
28315 OPENGL_LIBS
="-lopengl32 -lglu32"
28320 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28322 if test -f "$ac_dir/GL/gl.h"; then
28323 ac_find_includes
=$ac_dir
28328 if test "$ac_find_includes" != "" ; then
28329 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28330 echo "${ECHO_T}found in $ac_find_includes" >&6
28332 if test "x$ac_find_includes" = "x/usr/include"; then
28333 ac_path_to_include
=""
28335 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28337 if test $result = 0; then
28338 ac_path_to_include
=""
28340 ac_path_to_include
=" -I$ac_find_includes"
28344 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28347 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28348 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28349 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28350 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28351 echo $ECHO_N "(cached) $ECHO_C" >&6
28353 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28354 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28356 # Is the header compilable?
28357 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28358 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28359 cat >conftest.
$ac_ext <<_ACEOF
28362 cat confdefs.h
>>conftest.
$ac_ext
28363 cat >>conftest.
$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365 $ac_includes_default
28368 rm -f conftest.
$ac_objext
28369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28370 (eval $ac_compile) 2>conftest.er1
28372 grep -v '^ *+' conftest.er1
>conftest.err
28374 cat conftest.err
>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); } &&
28377 { ac_try
='test -z "$ac_c_werror_flag"
28378 || test ! -s conftest.err'
28379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28380 (eval $ac_try) 2>&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); }; } &&
28384 { ac_try
='test -s conftest.$ac_objext'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; }; then
28390 ac_header_compiler
=yes
28392 echo "$as_me: failed program was:" >&5
28393 sed 's/^/| /' conftest.
$ac_ext >&5
28395 ac_header_compiler
=no
28397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28398 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28399 echo "${ECHO_T}$ac_header_compiler" >&6
28401 # Is the header present?
28402 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28403 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28404 cat >conftest.
$ac_ext <<_ACEOF
28407 cat confdefs.h
>>conftest.
$ac_ext
28408 cat >>conftest.
$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28415 grep -v '^ *+' conftest.er1
>conftest.err
28417 cat conftest.err
>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); } >/dev
/null
; then
28420 if test -s conftest.err
; then
28421 ac_cpp_err
=$ac_c_preproc_warn_flag
28422 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28429 if test -z "$ac_cpp_err"; then
28430 ac_header_preproc
=yes
28432 echo "$as_me: failed program was:" >&5
28433 sed 's/^/| /' conftest.
$ac_ext >&5
28435 ac_header_preproc
=no
28437 rm -f conftest.err conftest.
$ac_ext
28438 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28439 echo "${ECHO_T}$ac_header_preproc" >&6
28441 # So? What about this header?
28442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28444 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28445 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28446 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28447 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28448 ac_header_preproc
=yes
28451 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28452 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28453 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28454 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28455 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28456 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28457 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28458 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28459 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28460 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28461 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28462 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28465 ## ----------------------------------------- ##
28466 ## Report this to wx-dev@lists.wxwidgets.org ##
28467 ## ----------------------------------------- ##
28470 sed "s/^/$as_me: WARNING: /" >&2
28473 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28474 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28475 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 ac_cv_header_GL_gl_h
=$ac_header_preproc
28480 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28481 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28484 if test $ac_cv_header_GL_gl_h = yes; then
28488 echo "$as_me:$LINENO: checking for -lGL" >&5
28489 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28492 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28494 for ac_extension
in a so sl dylib
; do
28495 if test -f "$ac_dir/libGL.$ac_extension"; then
28496 ac_find_libraries
=$ac_dir
28502 if test "$ac_find_libraries" != "" ; then
28504 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28506 if test $result = 0; then
28509 ac_path_to_link
=" -L$ac_find_libraries"
28512 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28513 LDFLAGS_GL
="$ac_path_to_link"
28518 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28520 for ac_extension
in a so sl dylib
; do
28521 if test -f "$ac_dir/libGLU.$ac_extension"; then
28522 ac_find_libraries
=$ac_dir
28528 if test "$ac_find_libraries" != "" ; then
28530 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28532 if test $result = 0; then
28535 ac_path_to_link
=" -L$ac_find_libraries"
28538 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28539 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28540 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28544 OPENGL_LIBS
="-lGL -lGLU"
28545 echo "$as_me:$LINENO: result: yes" >&5
28546 echo "${ECHO_T}yes" >&6
28550 if test "$found_gl" != 1; then
28551 echo "$as_me:$LINENO: result: no" >&5
28552 echo "${ECHO_T}no" >&6
28553 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28554 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28557 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28559 for ac_extension
in a so sl dylib
; do
28560 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28561 ac_find_libraries
=$ac_dir
28567 if test "$ac_find_libraries" != "" ; then
28569 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28571 if test $result = 0; then
28574 ac_path_to_link
=" -L$ac_find_libraries"
28577 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28578 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28579 echo "$as_me:$LINENO: result: yes" >&5
28580 echo "${ECHO_T}yes" >&6
28582 echo "$as_me:$LINENO: result: no" >&5
28583 echo "${ECHO_T}no" >&6
28591 if test "x$OPENGL_LIBS" = "x"; then
28592 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28593 echo "$as_me: error: OpenGL libraries not available" >&2;}
28594 { (exit 1); exit 1; }; }
28598 if test "$wxUSE_OPENGL" = "yes"; then
28600 cat >>confdefs.h
<<\_ACEOF
28601 #define wxUSE_OPENGL 1
28604 cat >>confdefs.h
<<\_ACEOF
28605 #define wxUSE_GLCANVAS 1
28608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28612 if test -z "$TOOLKIT_VPATH" ; then
28613 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
28616 if test -n "$TOOLKIT" ; then
28617 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28621 lib_unicode_suffix
=
28622 if test "$wxUSE_UNICODE" = "yes"; then
28623 lib_unicode_suffix
=u
28629 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28635 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28639 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28641 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
28642 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
28644 if test "$cross_compiling" = "yes"; then
28645 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
28646 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
28647 HOST_SUFFIX
="-${host_alias}"
28650 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
28651 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
28652 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
28653 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
28655 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28656 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
28658 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
28659 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28660 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
28661 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28664 *-*-cygwin* | *-*-mingw32* )
28665 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28666 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28671 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28672 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
28674 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
28675 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
28676 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
28677 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
28679 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28680 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
28681 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
28686 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
28687 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
28689 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
28690 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
28692 if test "$wxUSE_OPENGL" = "yes"; then
28693 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
28694 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
28699 if test "$wxUSE_SHARED" = "yes"; then
28703 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28704 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28710 if test "$wxUSE_SHARED" = "yes"; then
28714 found_versioning
=no
28717 if test $found_versioning = no
; then
28718 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28719 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28720 if test "${wx_cv_version_script+set}" = set; then
28721 echo $ECHO_N "(cached) $ECHO_C" >&6
28724 echo "VER_1 { *; };" >conftest.sym
28725 echo "int main() { return 0; }" >conftest.cpp
28728 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28729 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28731 (eval $ac_try) 2>&5
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); }; } ; then
28735 if test -s conftest.stderr
; then
28736 wx_cv_version_script
=no
28738 wx_cv_version_script
=yes
28741 wx_cv_version_script
=no
28743 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28746 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28747 echo "${ECHO_T}$wx_cv_version_script" >&6
28748 if test $wx_cv_version_script = yes ; then
28749 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28755 *-*-linux* | *-*-gnu* )
28756 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28760 if test "$GCC" = yes ; then
28761 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28763 saveLdflags
="$LDFLAGS"
28764 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28765 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28766 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28767 cat >conftest.
$ac_ext <<_ACEOF
28770 cat confdefs.h
>>conftest.
$ac_ext
28771 cat >>conftest.
$ac_ext <<_ACEOF
28772 /* end confdefs.h. */
28782 rm -f conftest.
$ac_objext conftest
$ac_exeext
28783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28784 (eval $ac_link) 2>conftest.er1
28786 grep -v '^ *+' conftest.er1
>conftest.err
28788 cat conftest.err
>&5
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); } &&
28791 { ac_try
='test -z "$ac_c_werror_flag"
28792 || test ! -s conftest.err'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try
='test -s conftest$ac_exeext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28805 echo "$as_me:$LINENO: result: yes" >&5
28806 echo "${ECHO_T}yes" >&6
28807 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28810 echo "$as_me: failed program was:" >&5
28811 sed 's/^/| /' conftest.
$ac_ext >&5
28814 echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6
28816 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28817 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28818 LDFLAGS
="$saveLdflags -Wl,-R,/"
28819 cat >conftest.
$ac_ext <<_ACEOF
28822 cat confdefs.h
>>conftest.
$ac_ext
28823 cat >>conftest.
$ac_ext <<_ACEOF
28824 /* end confdefs.h. */
28834 rm -f conftest.
$ac_objext conftest
$ac_exeext
28835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28836 (eval $ac_link) 2>conftest.er1
28838 grep -v '^ *+' conftest.er1
>conftest.err
28840 cat conftest.err
>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } &&
28843 { ac_try
='test -z "$ac_c_werror_flag"
28844 || test ! -s conftest.err'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; } &&
28850 { ac_try
='test -s conftest$ac_exeext'
28851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28852 (eval $ac_try) 2>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; }; then
28857 echo "$as_me:$LINENO: result: yes" >&5
28858 echo "${ECHO_T}yes" >&6
28859 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28861 echo "$as_me: failed program was:" >&5
28862 sed 's/^/| /' conftest.
$ac_ext >&5
28865 echo "$as_me:$LINENO: result: no" >&5
28866 echo "${ECHO_T}no" >&6
28869 rm -f conftest.err conftest.
$ac_objext \
28870 conftest
$ac_exeext conftest.
$ac_ext
28873 rm -f conftest.err conftest.
$ac_objext \
28874 conftest
$ac_exeext conftest.
$ac_ext
28875 LDFLAGS
="$saveLdflags"
28877 SHARED_LD
="${CXX} -G -o"
28879 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28883 powerpc
-*-darwin* )
28884 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28885 cat <<EOF >change-install-names
28887 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28888 inst_cmd="install_name_tool "
28889 for i in \${libnames} ; do
28890 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28894 chmod +x change
-install-names
28897 *-*-cygwin* | *-*-mingw32* )
28898 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28903 if test "x$WX_TARGET_LIBRARY" = "x"; then
28904 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28905 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28908 WX_TARGET_LIBRARY_TYPE
="so"
28909 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28912 if test "$wxUSE_SHARED" = "no"; then
28914 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28915 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28918 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28919 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28922 if test "$wxUSE_OPENGL" = "yes"; then
28923 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28924 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28926 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28929 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28930 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28932 WX_TARGET_LIBRARY_TYPE
="a"
28933 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28940 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28941 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28942 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28943 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28945 # Extract the first word of "Rez", so it can be a program name with args.
28946 set dummy Rez
; ac_word
=$2
28947 echo "$as_me:$LINENO: checking for $ac_word" >&5
28948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28949 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28952 if test -n "$RESCOMP"; then
28953 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28956 for as_dir
in $PATH
28959 test -z "$as_dir" && as_dir
=.
28960 for ac_exec_ext
in '' $ac_executable_extensions; do
28961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28962 ac_cv_prog_RESCOMP
="Rez"
28963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28969 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28972 RESCOMP
=$ac_cv_prog_RESCOMP
28973 if test -n "$RESCOMP"; then
28974 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28975 echo "${ECHO_T}$RESCOMP" >&6
28977 echo "$as_me:$LINENO: result: no" >&5
28978 echo "${ECHO_T}no" >&6
28981 # Extract the first word of "DeRez", so it can be a program name with args.
28982 set dummy DeRez
; ac_word
=$2
28983 echo "$as_me:$LINENO: checking for $ac_word" >&5
28984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28985 if test "${ac_cv_prog_DEREZ+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 if test -n "$DEREZ"; then
28989 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28992 for as_dir
in $PATH
28995 test -z "$as_dir" && as_dir
=.
28996 for ac_exec_ext
in '' $ac_executable_extensions; do
28997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28998 ac_cv_prog_DEREZ
="DeRez"
28999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29005 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29008 DEREZ
=$ac_cv_prog_DEREZ
29009 if test -n "$DEREZ"; then
29010 echo "$as_me:$LINENO: result: $DEREZ" >&5
29011 echo "${ECHO_T}$DEREZ" >&6
29013 echo "$as_me:$LINENO: result: no" >&5
29014 echo "${ECHO_T}no" >&6
29017 # Extract the first word of "SetFile", so it can be a program name with args.
29018 set dummy SetFile
; ac_word
=$2
29019 echo "$as_me:$LINENO: checking for $ac_word" >&5
29020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29021 if test "${ac_cv_prog_SETFILE+set}" = set; then
29022 echo $ECHO_N "(cached) $ECHO_C" >&6
29024 if test -n "$SETFILE"; then
29025 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29028 for as_dir
in $PATH
29031 test -z "$as_dir" && as_dir
=.
29032 for ac_exec_ext
in '' $ac_executable_extensions; do
29033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29034 ac_cv_prog_SETFILE
="SetFile"
29035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29041 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29044 SETFILE
=$ac_cv_prog_SETFILE
29045 if test -n "$SETFILE"; then
29046 echo "$as_me:$LINENO: result: $SETFILE" >&5
29047 echo "${ECHO_T}$SETFILE" >&6
29049 echo "$as_me:$LINENO: result: no" >&5
29050 echo "${ECHO_T}no" >&6
29054 MACSETFILE
="\$(SETFILE)"
29056 if test "$wxUSE_MAC" = 1; then
29057 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29059 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29061 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29062 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29068 if test "$wxUSE_PM" = 1; then
29069 MACRESCOMP
="emxbind -ep"
29077 echo "$as_me:$LINENO: checking for mode_t" >&5
29078 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29079 if test "${ac_cv_type_mode_t+set}" = set; then
29080 echo $ECHO_N "(cached) $ECHO_C" >&6
29082 cat >conftest.
$ac_ext <<_ACEOF
29085 cat confdefs.h
>>conftest.
$ac_ext
29086 cat >>conftest.
$ac_ext <<_ACEOF
29087 /* end confdefs.h. */
29088 $ac_includes_default
29094 if (sizeof (mode_t))
29100 rm -f conftest.
$ac_objext
29101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29102 (eval $ac_compile) 2>conftest.er1
29104 grep -v '^ *+' conftest.er1
>conftest.err
29106 cat conftest.err
>&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } &&
29109 { ac_try
='test -z "$ac_c_werror_flag"
29110 || test ! -s conftest.err'
29111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29112 (eval $ac_try) 2>&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); }; } &&
29116 { ac_try
='test -s conftest.$ac_objext'
29117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118 (eval $ac_try) 2>&5
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; }; then
29122 ac_cv_type_mode_t
=yes
29124 echo "$as_me: failed program was:" >&5
29125 sed 's/^/| /' conftest.
$ac_ext >&5
29127 ac_cv_type_mode_t
=no
29129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29131 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29132 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29133 if test $ac_cv_type_mode_t = yes; then
29137 cat >>confdefs.h
<<_ACEOF
29143 echo "$as_me:$LINENO: checking for off_t" >&5
29144 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29145 if test "${ac_cv_type_off_t+set}" = set; then
29146 echo $ECHO_N "(cached) $ECHO_C" >&6
29148 cat >conftest.
$ac_ext <<_ACEOF
29151 cat confdefs.h
>>conftest.
$ac_ext
29152 cat >>conftest.
$ac_ext <<_ACEOF
29153 /* end confdefs.h. */
29154 $ac_includes_default
29160 if (sizeof (off_t))
29166 rm -f conftest.
$ac_objext
29167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29168 (eval $ac_compile) 2>conftest.er1
29170 grep -v '^ *+' conftest.er1
>conftest.err
29172 cat conftest.err
>&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); } &&
29175 { ac_try
='test -z "$ac_c_werror_flag"
29176 || test ! -s conftest.err'
29177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29178 (eval $ac_try) 2>&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); }; } &&
29182 { ac_try
='test -s conftest.$ac_objext'
29183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184 (eval $ac_try) 2>&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); }; }; then
29188 ac_cv_type_off_t
=yes
29190 echo "$as_me: failed program was:" >&5
29191 sed 's/^/| /' conftest.
$ac_ext >&5
29193 ac_cv_type_off_t
=no
29195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29197 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29198 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29199 if test $ac_cv_type_off_t = yes; then
29203 cat >>confdefs.h
<<_ACEOF
29209 echo "$as_me:$LINENO: checking for pid_t" >&5
29210 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29211 if test "${ac_cv_type_pid_t+set}" = set; then
29212 echo $ECHO_N "(cached) $ECHO_C" >&6
29214 cat >conftest.
$ac_ext <<_ACEOF
29217 cat confdefs.h
>>conftest.
$ac_ext
29218 cat >>conftest.
$ac_ext <<_ACEOF
29219 /* end confdefs.h. */
29220 $ac_includes_default
29226 if (sizeof (pid_t))
29232 rm -f conftest.
$ac_objext
29233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29234 (eval $ac_compile) 2>conftest.er1
29236 grep -v '^ *+' conftest.er1
>conftest.err
29238 cat conftest.err
>&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); } &&
29241 { ac_try
='test -z "$ac_c_werror_flag"
29242 || test ! -s conftest.err'
29243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29244 (eval $ac_try) 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; } &&
29248 { ac_try
='test -s conftest.$ac_objext'
29249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29250 (eval $ac_try) 2>&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; }; then
29254 ac_cv_type_pid_t
=yes
29256 echo "$as_me: failed program was:" >&5
29257 sed 's/^/| /' conftest.
$ac_ext >&5
29259 ac_cv_type_pid_t
=no
29261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29263 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29264 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29265 if test $ac_cv_type_pid_t = yes; then
29269 cat >>confdefs.h
<<_ACEOF
29275 echo "$as_me:$LINENO: checking for size_t" >&5
29276 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29277 if test "${ac_cv_type_size_t+set}" = set; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29280 cat >conftest.
$ac_ext <<_ACEOF
29283 cat confdefs.h
>>conftest.
$ac_ext
29284 cat >>conftest.
$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29286 $ac_includes_default
29292 if (sizeof (size_t))
29298 rm -f conftest.
$ac_objext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29300 (eval $ac_compile) 2>conftest.er1
29302 grep -v '^ *+' conftest.er1
>conftest.err
29304 cat conftest.err
>&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } &&
29307 { ac_try
='test -z "$ac_c_werror_flag"
29308 || test ! -s conftest.err'
29309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29310 (eval $ac_try) 2>&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); }; } &&
29314 { ac_try
='test -s conftest.$ac_objext'
29315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316 (eval $ac_try) 2>&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); }; }; then
29320 ac_cv_type_size_t
=yes
29322 echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.
$ac_ext >&5
29325 ac_cv_type_size_t
=no
29327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29329 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29330 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29331 if test $ac_cv_type_size_t = yes; then
29335 cat >>confdefs.h
<<_ACEOF
29336 #define size_t unsigned
29341 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29342 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29343 if test "${ac_cv_type_uid_t+set}" = set; then
29344 echo $ECHO_N "(cached) $ECHO_C" >&6
29346 cat >conftest.
$ac_ext <<_ACEOF
29349 cat confdefs.h
>>conftest.
$ac_ext
29350 cat >>conftest.
$ac_ext <<_ACEOF
29351 /* end confdefs.h. */
29352 #include <sys/types.h>
29355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29356 $EGREP "uid_t" >/dev
/null
2>&1; then
29357 ac_cv_type_uid_t
=yes
29359 ac_cv_type_uid_t
=no
29364 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29365 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29366 if test $ac_cv_type_uid_t = no
; then
29368 cat >>confdefs.h
<<\_ACEOF
29373 cat >>confdefs.h
<<\_ACEOF
29383 ac_cpp
='$CXXCPP $CPPFLAGS'
29384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29388 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29389 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29390 if test "${wx_cv_size_t_is_uint+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 cat >conftest.
$ac_ext <<_ACEOF
29397 cat confdefs.h
>>conftest.
$ac_ext
29398 cat >>conftest.
$ac_ext <<_ACEOF
29399 /* end confdefs.h. */
29400 #include <stddef.h>
29407 struct Foo { void foo(size_t); void foo(unsigned int); };
29415 rm -f conftest.
$ac_objext
29416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29417 (eval $ac_compile) 2>conftest.er1
29419 grep -v '^ *+' conftest.er1
>conftest.err
29421 cat conftest.err
>&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); } &&
29424 { ac_try
='test -z "$ac_cxx_werror_flag"
29425 || test ! -s conftest.err'
29426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29427 (eval $ac_try) 2>&5
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); }; } &&
29431 { ac_try
='test -s conftest.$ac_objext'
29432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433 (eval $ac_try) 2>&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); }; }; then
29437 wx_cv_size_t_is_uint
=no
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.
$ac_ext >&5
29442 wx_cv_size_t_is_uint
=yes
29445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29449 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29450 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29452 if test "$wx_cv_size_t_is_uint" = "yes"; then
29453 cat >>confdefs.h
<<\_ACEOF
29454 #define wxSIZE_T_IS_UINT 1
29458 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29459 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29460 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29461 echo $ECHO_N "(cached) $ECHO_C" >&6
29463 cat >conftest.
$ac_ext <<_ACEOF
29466 cat confdefs.h
>>conftest.
$ac_ext
29467 cat >>conftest.
$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29469 #include <stddef.h>
29476 struct Foo { void foo(size_t); void foo(unsigned long); };
29484 rm -f conftest.
$ac_objext
29485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29486 (eval $ac_compile) 2>conftest.er1
29488 grep -v '^ *+' conftest.er1
>conftest.err
29490 cat conftest.err
>&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); } &&
29493 { ac_try
='test -z "$ac_cxx_werror_flag"
29494 || test ! -s conftest.err'
29495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496 (eval $ac_try) 2>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; } &&
29500 { ac_try
='test -s conftest.$ac_objext'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; }; then
29506 wx_cv_size_t_is_ulong
=no
29508 echo "$as_me: failed program was:" >&5
29509 sed 's/^/| /' conftest.
$ac_ext >&5
29511 wx_cv_size_t_is_ulong
=yes
29514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29517 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29518 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29520 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29521 cat >>confdefs.h
<<\_ACEOF
29522 #define wxSIZE_T_IS_ULONG 1
29529 ac_cpp
='$CPP $CPPFLAGS'
29530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29536 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29537 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29538 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29539 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 cat >conftest.
$ac_ext <<_ACEOF
29545 cat confdefs.h
>>conftest.
$ac_ext
29546 cat >>conftest.
$ac_ext <<_ACEOF
29547 /* end confdefs.h. */
29561 rm -f conftest.
$ac_objext
29562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29563 (eval $ac_compile) 2>conftest.er1
29565 grep -v '^ *+' conftest.er1
>conftest.err
29567 cat conftest.err
>&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); } &&
29570 { ac_try
='test -z "$ac_c_werror_flag"
29571 || test ! -s conftest.err'
29572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29573 (eval $ac_try) 2>&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); }; } &&
29577 { ac_try
='test -s conftest.$ac_objext'
29578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579 (eval $ac_try) 2>&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; }; then
29584 wx_cv_struct_pw_gecos
=yes
29587 echo "$as_me: failed program was:" >&5
29588 sed 's/^/| /' conftest.
$ac_ext >&5
29591 wx_cv_struct_pw_gecos
=no
29595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29599 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29600 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29602 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29603 cat >>confdefs.h
<<\_ACEOF
29604 #define HAVE_PW_GECOS 1
29610 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29611 cat >>confdefs.h
<<\_ACEOF
29612 #define wxUSE_WCHAR_T 1
29619 for ac_func
in wcslen
29621 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29622 echo "$as_me:$LINENO: checking for $ac_func" >&5
29623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29624 if eval "test \"\${$as_ac_var+set}\" = set"; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 cat >conftest.
$ac_ext <<_ACEOF
29630 cat confdefs.h
>>conftest.
$ac_ext
29631 cat >>conftest.
$ac_ext <<_ACEOF
29632 /* end confdefs.h. */
29633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29635 #define $ac_func innocuous_$ac_func
29637 /* System header to define __stub macros and hopefully few prototypes,
29638 which can conflict with char $ac_func (); below.
29639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29640 <limits.h> exists even on freestanding compilers. */
29643 # include <limits.h>
29645 # include <assert.h>
29650 /* Override any gcc2 internal prototype to avoid an error. */
29655 /* We use char because int might match the return type of a gcc2
29656 builtin and then its argument prototype would still apply. */
29658 /* The GNU C library defines this for functions which it implements
29659 to always fail with ENOSYS. Some functions are actually named
29660 something starting with __ and the normal name is an alias. */
29661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29664 char (*f) () = $ac_func;
29673 return f != $ac_func;
29678 rm -f conftest.
$ac_objext conftest
$ac_exeext
29679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29680 (eval $ac_link) 2>conftest.er1
29682 grep -v '^ *+' conftest.er1
>conftest.err
29684 cat conftest.err
>&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } &&
29687 { ac_try
='test -z "$ac_c_werror_flag"
29688 || test ! -s conftest.err'
29689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29690 (eval $ac_try) 2>&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); }; } &&
29694 { ac_try
='test -s conftest$ac_exeext'
29695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29696 (eval $ac_try) 2>&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); }; }; then
29700 eval "$as_ac_var=yes"
29702 echo "$as_me: failed program was:" >&5
29703 sed 's/^/| /' conftest.
$ac_ext >&5
29705 eval "$as_ac_var=no"
29707 rm -f conftest.err conftest.
$ac_objext \
29708 conftest
$ac_exeext conftest.
$ac_ext
29710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29712 if test `eval echo '${'$as_ac_var'}'` = yes; then
29713 cat >>confdefs.h
<<_ACEOF
29714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29721 if test "$WCSLEN_FOUND" = 0; then
29722 if test "$TOOLKIT" = "MSW"; then
29723 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29724 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29725 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29726 echo $ECHO_N "(cached) $ECHO_C" >&6
29728 ac_check_lib_save_LIBS
=$LIBS
29729 LIBS
="-lmsvcrt $LIBS"
29730 cat >conftest.
$ac_ext <<_ACEOF
29733 cat confdefs.h
>>conftest.
$ac_ext
29734 cat >>conftest.
$ac_ext <<_ACEOF
29735 /* end confdefs.h. */
29737 /* Override any gcc2 internal prototype to avoid an error. */
29741 /* We use char because int might match the return type of a gcc2
29742 builtin and then its argument prototype would still apply. */
29752 rm -f conftest.
$ac_objext conftest
$ac_exeext
29753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29754 (eval $ac_link) 2>conftest.er1
29756 grep -v '^ *+' conftest.er1
>conftest.err
29758 cat conftest.err
>&5
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); } &&
29761 { ac_try
='test -z "$ac_c_werror_flag"
29762 || test ! -s conftest.err'
29763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764 (eval $ac_try) 2>&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); }; } &&
29768 { ac_try
='test -s conftest$ac_exeext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29774 ac_cv_lib_msvcrt_wcslen
=yes
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.
$ac_ext >&5
29779 ac_cv_lib_msvcrt_wcslen
=no
29781 rm -f conftest.err conftest.
$ac_objext \
29782 conftest
$ac_exeext conftest.
$ac_ext
29783 LIBS
=$ac_check_lib_save_LIBS
29785 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29786 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29787 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29792 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29793 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29794 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29795 echo $ECHO_N "(cached) $ECHO_C" >&6
29797 ac_check_lib_save_LIBS
=$LIBS
29799 cat >conftest.
$ac_ext <<_ACEOF
29802 cat confdefs.h
>>conftest.
$ac_ext
29803 cat >>conftest.
$ac_ext <<_ACEOF
29804 /* end confdefs.h. */
29806 /* Override any gcc2 internal prototype to avoid an error. */
29810 /* We use char because int might match the return type of a gcc2
29811 builtin and then its argument prototype would still apply. */
29821 rm -f conftest.
$ac_objext conftest
$ac_exeext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29823 (eval $ac_link) 2>conftest.er1
29825 grep -v '^ *+' conftest.er1
>conftest.err
29827 cat conftest.err
>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try
='test -z "$ac_c_werror_flag"
29831 || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try
='test -s conftest$ac_exeext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29843 ac_cv_lib_w_wcslen
=yes
29845 echo "$as_me: failed program was:" >&5
29846 sed 's/^/| /' conftest.
$ac_ext >&5
29848 ac_cv_lib_w_wcslen
=no
29850 rm -f conftest.err conftest.
$ac_objext \
29851 conftest
$ac_exeext conftest.
$ac_ext
29852 LIBS
=$ac_check_lib_save_LIBS
29854 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29855 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29856 if test $ac_cv_lib_w_wcslen = yes; then
29866 if test "$WCSLEN_FOUND" = 1; then
29867 cat >>confdefs.h
<<\_ACEOF
29868 #define HAVE_WCSLEN 1
29873 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29874 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29878 for ac_func
in wcsrtombs
29880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29881 echo "$as_me:$LINENO: checking for $ac_func" >&5
29882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29883 if eval "test \"\${$as_ac_var+set}\" = set"; then
29884 echo $ECHO_N "(cached) $ECHO_C" >&6
29886 cat >conftest.
$ac_ext <<_ACEOF
29889 cat confdefs.h
>>conftest.
$ac_ext
29890 cat >>conftest.
$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29894 #define $ac_func innocuous_$ac_func
29896 /* System header to define __stub macros and hopefully few prototypes,
29897 which can conflict with char $ac_func (); below.
29898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29899 <limits.h> exists even on freestanding compilers. */
29902 # include <limits.h>
29904 # include <assert.h>
29909 /* Override any gcc2 internal prototype to avoid an error. */
29914 /* We use char because int might match the return type of a gcc2
29915 builtin and then its argument prototype would still apply. */
29917 /* The GNU C library defines this for functions which it implements
29918 to always fail with ENOSYS. Some functions are actually named
29919 something starting with __ and the normal name is an alias. */
29920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29923 char (*f) () = $ac_func;
29932 return f != $ac_func;
29937 rm -f conftest.
$ac_objext conftest
$ac_exeext
29938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29939 (eval $ac_link) 2>conftest.er1
29941 grep -v '^ *+' conftest.er1
>conftest.err
29943 cat conftest.err
>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); } &&
29946 { ac_try
='test -z "$ac_c_werror_flag"
29947 || test ! -s conftest.err'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; } &&
29953 { ac_try
='test -s conftest$ac_exeext'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; }; then
29959 eval "$as_ac_var=yes"
29961 echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.
$ac_ext >&5
29964 eval "$as_ac_var=no"
29966 rm -f conftest.err conftest.
$ac_objext \
29967 conftest
$ac_exeext conftest.
$ac_ext
29969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29971 if test `eval echo '${'$as_ac_var'}'` = yes; then
29972 cat >>confdefs.h
<<_ACEOF
29973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29980 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29981 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29987 ac_cpp
='$CXXCPP $CPPFLAGS'
29988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29994 for ac_func
in vsnprintf
29996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29997 echo "$as_me:$LINENO: checking for $ac_func" >&5
29998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29999 if eval "test \"\${$as_ac_var+set}\" = set"; then
30000 echo $ECHO_N "(cached) $ECHO_C" >&6
30002 cat >conftest.
$ac_ext <<_ACEOF
30005 cat confdefs.h
>>conftest.
$ac_ext
30006 cat >>conftest.
$ac_ext <<_ACEOF
30007 /* end confdefs.h. */
30008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30010 #define $ac_func innocuous_$ac_func
30012 /* System header to define __stub macros and hopefully few prototypes,
30013 which can conflict with char $ac_func (); below.
30014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30015 <limits.h> exists even on freestanding compilers. */
30018 # include <limits.h>
30020 # include <assert.h>
30025 /* Override any gcc2 internal prototype to avoid an error. */
30030 /* We use char because int might match the return type of a gcc2
30031 builtin and then its argument prototype would still apply. */
30033 /* The GNU C library defines this for functions which it implements
30034 to always fail with ENOSYS. Some functions are actually named
30035 something starting with __ and the normal name is an alias. */
30036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30039 char (*f) () = $ac_func;
30048 return f != $ac_func;
30053 rm -f conftest.
$ac_objext conftest
$ac_exeext
30054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30055 (eval $ac_link) 2>conftest.er1
30057 grep -v '^ *+' conftest.er1
>conftest.err
30059 cat conftest.err
>&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); } &&
30062 { ac_try
='test -z "$ac_cxx_werror_flag"
30063 || test ! -s conftest.err'
30064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30065 (eval $ac_try) 2>&5
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); }; } &&
30069 { ac_try
='test -s conftest$ac_exeext'
30070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071 (eval $ac_try) 2>&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); }; }; then
30075 eval "$as_ac_var=yes"
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.
$ac_ext >&5
30080 eval "$as_ac_var=no"
30082 rm -f conftest.err conftest.
$ac_objext \
30083 conftest
$ac_exeext conftest.
$ac_ext
30085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30087 if test `eval echo '${'$as_ac_var'}'` = yes; then
30088 cat >>confdefs.h
<<_ACEOF
30089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30096 if test "$ac_cv_func_vsnprintf" = "yes"; then
30097 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30098 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30099 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30100 echo $ECHO_N "(cached) $ECHO_C" >&6
30103 cat >conftest.
$ac_ext <<_ACEOF
30106 cat confdefs.h
>>conftest.
$ac_ext
30107 cat >>conftest.
$ac_ext <<_ACEOF
30108 /* end confdefs.h. */
30111 #include <stdarg.h>
30119 vsnprintf(buf, 10u, "%s", ap);
30125 rm -f conftest.
$ac_objext
30126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30127 (eval $ac_compile) 2>conftest.er1
30129 grep -v '^ *+' conftest.er1
>conftest.err
30131 cat conftest.err
>&5
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); } &&
30134 { ac_try
='test -z "$ac_cxx_werror_flag"
30135 || test ! -s conftest.err'
30136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137 (eval $ac_try) 2>&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; } &&
30141 { ac_try
='test -s conftest.$ac_objext'
30142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143 (eval $ac_try) 2>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); }; }; then
30147 wx_cv_func_vsnprintf_decl
=yes
30149 echo "$as_me: failed program was:" >&5
30150 sed 's/^/| /' conftest.
$ac_ext >&5
30152 wx_cv_func_vsnprintf_decl
=no
30155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30159 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30160 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30162 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30163 cat >>confdefs.h
<<\_ACEOF
30164 #define HAVE_VSNPRINTF_DECL 1
30170 if test "$wxUSE_UNICODE" = yes; then
30174 for ac_func
in fputwc wprintf vswprintf
30176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30177 echo "$as_me:$LINENO: checking for $ac_func" >&5
30178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30179 if eval "test \"\${$as_ac_var+set}\" = set"; then
30180 echo $ECHO_N "(cached) $ECHO_C" >&6
30182 cat >conftest.
$ac_ext <<_ACEOF
30185 cat confdefs.h
>>conftest.
$ac_ext
30186 cat >>conftest.
$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30190 #define $ac_func innocuous_$ac_func
30192 /* System header to define __stub macros and hopefully few prototypes,
30193 which can conflict with char $ac_func (); below.
30194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30195 <limits.h> exists even on freestanding compilers. */
30198 # include <limits.h>
30200 # include <assert.h>
30205 /* Override any gcc2 internal prototype to avoid an error. */
30210 /* We use char because int might match the return type of a gcc2
30211 builtin and then its argument prototype would still apply. */
30213 /* The GNU C library defines this for functions which it implements
30214 to always fail with ENOSYS. Some functions are actually named
30215 something starting with __ and the normal name is an alias. */
30216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30219 char (*f) () = $ac_func;
30228 return f != $ac_func;
30233 rm -f conftest.
$ac_objext conftest
$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>conftest.er1
30237 grep -v '^ *+' conftest.er1
>conftest.err
30239 cat conftest.err
>&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try
='test -z "$ac_cxx_werror_flag"
30243 || test ! -s conftest.err'
30244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30245 (eval $ac_try) 2>&5
30247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30248 (exit $ac_status); }; } &&
30249 { ac_try
='test -s conftest$ac_exeext'
30250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251 (eval $ac_try) 2>&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; }; then
30255 eval "$as_ac_var=yes"
30257 echo "$as_me: failed program was:" >&5
30258 sed 's/^/| /' conftest.
$ac_ext >&5
30260 eval "$as_ac_var=no"
30262 rm -f conftest.err conftest.
$ac_objext \
30263 conftest
$ac_exeext conftest.
$ac_ext
30265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30267 if test `eval echo '${'$as_ac_var'}'` = yes; then
30268 cat >>confdefs.h
<<_ACEOF
30269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30276 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30277 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30278 cat >conftest.
$ac_ext <<_ACEOF
30281 cat confdefs.h
>>conftest.
$ac_ext
30282 cat >>conftest.
$ac_ext <<_ACEOF
30283 /* end confdefs.h. */
30293 rm -f conftest.
$ac_objext
30294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30295 (eval $ac_compile) 2>conftest.er1
30297 grep -v '^ *+' conftest.er1
>conftest.err
30299 cat conftest.err
>&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } &&
30302 { ac_try
='test -z "$ac_cxx_werror_flag"
30303 || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try
='test -s conftest.$ac_objext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 echo "$as_me:$LINENO: result: yes" >&5
30316 echo "${ECHO_T}yes" >&6
30317 cat >>confdefs.h
<<\_ACEOF
30318 #define HAVE__VSNWPRINTF 1
30322 echo "$as_me: failed program was:" >&5
30323 sed 's/^/| /' conftest.
$ac_ext >&5
30325 echo "$as_me:$LINENO: result: no" >&5
30326 echo "${ECHO_T}no" >&6
30328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30332 ac_cpp
='$CPP $CPPFLAGS'
30333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30340 if test "$TOOLKIT" != "MSW"; then
30346 ac_cpp
='$CXXCPP $CPPFLAGS'
30347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30354 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30355 if test "${with_libiconv_prefix+set}" = set; then
30356 withval
="$with_libiconv_prefix"
30358 for dir
in `echo "$withval" | tr : ' '`; do
30359 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30360 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30365 echo "$as_me:$LINENO: checking for iconv" >&5
30366 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30367 if test "${am_cv_func_iconv+set}" = set; then
30368 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 am_cv_func_iconv
="no, consider installing GNU libiconv"
30373 cat >conftest.
$ac_ext <<_ACEOF
30376 cat confdefs.h
>>conftest.
$ac_ext
30377 cat >>conftest.
$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379 #include <stdlib.h>
30384 iconv_t cd = iconv_open("","");
30385 iconv(cd,NULL,NULL,NULL,NULL);
30391 rm -f conftest.
$ac_objext conftest
$ac_exeext
30392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30393 (eval $ac_link) 2>conftest.er1
30395 grep -v '^ *+' conftest.er1
>conftest.err
30397 cat conftest.err
>&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } &&
30400 { ac_try
='test -z "$ac_cxx_werror_flag"
30401 || test ! -s conftest.err'
30402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30403 (eval $ac_try) 2>&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); }; } &&
30407 { ac_try
='test -s conftest$ac_exeext'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; }; then
30413 am_cv_func_iconv
=yes
30415 echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.
$ac_ext >&5
30419 rm -f conftest.err conftest.
$ac_objext \
30420 conftest
$ac_exeext conftest.
$ac_ext
30421 if test "$am_cv_func_iconv" != yes; then
30422 am_save_LIBS
="$LIBS"
30423 LIBS
="$LIBS -liconv"
30424 cat >conftest.
$ac_ext <<_ACEOF
30427 cat confdefs.h
>>conftest.
$ac_ext
30428 cat >>conftest.
$ac_ext <<_ACEOF
30429 /* end confdefs.h. */
30430 #include <stdlib.h>
30435 iconv_t cd = iconv_open("","");
30436 iconv(cd,NULL,NULL,NULL,NULL);
30442 rm -f conftest.
$ac_objext conftest
$ac_exeext
30443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30444 (eval $ac_link) 2>conftest.er1
30446 grep -v '^ *+' conftest.er1
>conftest.err
30448 cat conftest.err
>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); } &&
30451 { ac_try
='test -z "$ac_cxx_werror_flag"
30452 || test ! -s conftest.err'
30453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30454 (eval $ac_try) 2>&5
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); }; } &&
30458 { ac_try
='test -s conftest$ac_exeext'
30459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30460 (eval $ac_try) 2>&5
30462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463 (exit $ac_status); }; }; then
30464 am_cv_lib_iconv
=yes
30465 am_cv_func_iconv
=yes
30467 echo "$as_me: failed program was:" >&5
30468 sed 's/^/| /' conftest.
$ac_ext >&5
30471 rm -f conftest.err conftest.
$ac_objext \
30472 conftest
$ac_exeext conftest.
$ac_ext
30473 LIBS
="$am_save_LIBS"
30477 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30478 echo "${ECHO_T}$am_cv_func_iconv" >&6
30479 if test "$am_cv_func_iconv" = yes; then
30481 cat >>confdefs.h
<<\_ACEOF
30482 #define HAVE_ICONV 1
30485 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30486 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30487 if test "${wx_cv_func_iconv_const+set}" = set; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 cat >conftest.
$ac_ext <<_ACEOF
30493 cat confdefs.h
>>conftest.
$ac_ext
30494 cat >>conftest.
$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30497 #include <stdlib.h>
30503 #if defined(__STDC__) || defined(__cplusplus)
30504 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30517 rm -f conftest.
$ac_objext
30518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30519 (eval $ac_compile) 2>conftest.er1
30521 grep -v '^ *+' conftest.er1
>conftest.err
30523 cat conftest.err
>&5
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); } &&
30526 { ac_try
='test -z "$ac_cxx_werror_flag"
30527 || test ! -s conftest.err'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; } &&
30533 { ac_try
='test -s conftest.$ac_objext'
30534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30535 (eval $ac_try) 2>&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 wx_cv_func_iconv_const
="no"
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.
$ac_ext >&5
30544 wx_cv_func_iconv_const
="yes"
30547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30550 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30551 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30554 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30555 iconv_const
="const"
30559 cat >>confdefs.h
<<_ACEOF
30560 #define ICONV_CONST $iconv_const
30565 if test "$am_cv_lib_iconv" = yes; then
30570 LIBS
="$LIBICONV $LIBS"
30572 ac_cpp
='$CPP $CPPFLAGS'
30573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30578 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30580 for ac_func
in sigaction
30582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30583 echo "$as_me:$LINENO: checking for $ac_func" >&5
30584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30585 if eval "test \"\${$as_ac_var+set}\" = set"; then
30586 echo $ECHO_N "(cached) $ECHO_C" >&6
30588 cat >conftest.
$ac_ext <<_ACEOF
30591 cat confdefs.h
>>conftest.
$ac_ext
30592 cat >>conftest.
$ac_ext <<_ACEOF
30593 /* end confdefs.h. */
30594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30596 #define $ac_func innocuous_$ac_func
30598 /* System header to define __stub macros and hopefully few prototypes,
30599 which can conflict with char $ac_func (); below.
30600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30601 <limits.h> exists even on freestanding compilers. */
30604 # include <limits.h>
30606 # include <assert.h>
30611 /* Override any gcc2 internal prototype to avoid an error. */
30616 /* We use char because int might match the return type of a gcc2
30617 builtin and then its argument prototype would still apply. */
30619 /* The GNU C library defines this for functions which it implements
30620 to always fail with ENOSYS. Some functions are actually named
30621 something starting with __ and the normal name is an alias. */
30622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30625 char (*f) () = $ac_func;
30634 return f != $ac_func;
30639 rm -f conftest.
$ac_objext conftest
$ac_exeext
30640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30641 (eval $ac_link) 2>conftest.er1
30643 grep -v '^ *+' conftest.er1
>conftest.err
30645 cat conftest.err
>&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); } &&
30648 { ac_try
='test -z "$ac_c_werror_flag"
30649 || test ! -s conftest.err'
30650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30651 (eval $ac_try) 2>&5
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); }; } &&
30655 { ac_try
='test -s conftest$ac_exeext'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; }; then
30661 eval "$as_ac_var=yes"
30663 echo "$as_me: failed program was:" >&5
30664 sed 's/^/| /' conftest.
$ac_ext >&5
30666 eval "$as_ac_var=no"
30668 rm -f conftest.err conftest.
$ac_objext \
30669 conftest
$ac_exeext conftest.
$ac_ext
30671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30673 if test `eval echo '${'$as_ac_var'}'` = yes; then
30674 cat >>confdefs.h
<<_ACEOF
30675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30682 if test "$ac_cv_func_sigaction" = "no"; then
30683 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30684 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30685 wxUSE_ON_FATAL_EXCEPTION
=no
30688 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30692 ac_cpp
='$CXXCPP $CPPFLAGS'
30693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30698 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30699 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30700 if test "${wx_cv_type_sa_handler+set}" = set; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30704 cat >conftest.
$ac_ext <<_ACEOF
30707 cat confdefs.h
>>conftest.
$ac_ext
30708 cat >>conftest.
$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30710 #include <signal.h>
30715 extern void testSigHandler(int);
30717 struct sigaction sa;
30718 sa.sa_handler = testSigHandler;
30724 rm -f conftest.
$ac_objext
30725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30726 (eval $ac_compile) 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_cxx_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_objext'
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
30747 wx_cv_type_sa_handler
=int
30750 echo "$as_me: failed program was:" >&5
30751 sed 's/^/| /' conftest.
$ac_ext >&5
30754 wx_cv_type_sa_handler
=void
30757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30760 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30761 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30764 ac_cpp
='$CPP $CPPFLAGS'
30765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30770 cat >>confdefs.h
<<_ACEOF
30771 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30779 for ac_func
in mkstemp mktemp
30781 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30782 echo "$as_me:$LINENO: checking for $ac_func" >&5
30783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30784 if eval "test \"\${$as_ac_var+set}\" = set"; then
30785 echo $ECHO_N "(cached) $ECHO_C" >&6
30787 cat >conftest.
$ac_ext <<_ACEOF
30790 cat confdefs.h
>>conftest.
$ac_ext
30791 cat >>conftest.
$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30795 #define $ac_func innocuous_$ac_func
30797 /* System header to define __stub macros and hopefully few prototypes,
30798 which can conflict with char $ac_func (); below.
30799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30800 <limits.h> exists even on freestanding compilers. */
30803 # include <limits.h>
30805 # include <assert.h>
30810 /* Override any gcc2 internal prototype to avoid an error. */
30815 /* We use char because int might match the return type of a gcc2
30816 builtin and then its argument prototype would still apply. */
30818 /* The GNU C library defines this for functions which it implements
30819 to always fail with ENOSYS. Some functions are actually named
30820 something starting with __ and the normal name is an alias. */
30821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30824 char (*f) () = $ac_func;
30833 return f != $ac_func;
30838 rm -f conftest.
$ac_objext conftest
$ac_exeext
30839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30840 (eval $ac_link) 2>conftest.er1
30842 grep -v '^ *+' conftest.er1
>conftest.err
30844 cat conftest.err
>&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); } &&
30847 { ac_try
='test -z "$ac_c_werror_flag"
30848 || test ! -s conftest.err'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; } &&
30854 { ac_try
='test -s conftest$ac_exeext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860 eval "$as_ac_var=yes"
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.
$ac_ext >&5
30865 eval "$as_ac_var=no"
30867 rm -f conftest.err conftest.
$ac_objext \
30868 conftest
$ac_exeext conftest.
$ac_ext
30870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30872 if test `eval echo '${'$as_ac_var'}'` = yes; then
30873 cat >>confdefs.h
<<_ACEOF
30874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30881 echo "$as_me:$LINENO: checking for statfs" >&5
30882 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30883 if test "${wx_cv_func_statfs+set}" = set; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30886 cat >conftest.
$ac_ext <<_ACEOF
30889 cat confdefs.h
>>conftest.
$ac_ext
30890 cat >>conftest.
$ac_ext <<_ACEOF
30891 /* end confdefs.h. */
30893 #if defined(__BSD__)
30894 #include <sys/param.h>
30895 #include <sys/mount.h>
30897 #include <sys/vfs.h>
30915 rm -f conftest.
$ac_objext
30916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30917 (eval $ac_compile) 2>conftest.er1
30919 grep -v '^ *+' conftest.er1
>conftest.err
30921 cat conftest.err
>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } &&
30924 { ac_try
='test -z "$ac_c_werror_flag"
30925 || test ! -s conftest.err'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; } &&
30931 { ac_try
='test -s conftest.$ac_objext'
30932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933 (eval $ac_try) 2>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); }; }; then
30938 wx_cv_func_statfs
=yes
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.
$ac_ext >&5
30945 wx_cv_func_statfs
=no
30949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30952 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30953 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30955 if test "$wx_cv_func_statfs" = "yes"; then
30956 wx_cv_type_statvfs_t
="struct statfs"
30957 cat >>confdefs.h
<<\_ACEOF
30958 #define HAVE_STATFS 1
30962 echo "$as_me:$LINENO: checking for statvfs" >&5
30963 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30964 if test "${wx_cv_func_statvfs+set}" = set; then
30965 echo $ECHO_N "(cached) $ECHO_C" >&6
30967 cat >conftest.
$ac_ext <<_ACEOF
30970 cat confdefs.h
>>conftest.
$ac_ext
30971 cat >>conftest.
$ac_ext <<_ACEOF
30972 /* end confdefs.h. */
30974 #include <stddef.h>
30975 #include <sys/statvfs.h>
30981 statvfs("/", NULL);
30987 rm -f conftest.
$ac_objext
30988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30989 (eval $ac_compile) 2>conftest.er1
30991 grep -v '^ *+' conftest.er1
>conftest.err
30993 cat conftest.err
>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try
='test -z "$ac_c_werror_flag"
30997 || test ! -s conftest.err'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; } &&
31003 { ac_try
='test -s conftest.$ac_objext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 wx_cv_func_statvfs
=yes
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.
$ac_ext >&5
31014 wx_cv_func_statvfs
=no
31017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31020 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31021 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31023 if test "$wx_cv_func_statvfs" = "yes"; then
31027 ac_cpp
='$CXXCPP $CPPFLAGS'
31028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31033 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31034 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31035 if test "${wx_cv_type_statvfs_t+set}" = set; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31038 cat >conftest.
$ac_ext <<_ACEOF
31041 cat confdefs.h
>>conftest.
$ac_ext
31042 cat >>conftest.
$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31045 #include <sys/statvfs.h>
31062 rm -f conftest.
$ac_objext
31063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31064 (eval $ac_compile) 2>conftest.er1
31066 grep -v '^ *+' conftest.er1
>conftest.err
31068 cat conftest.err
>&5
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); } &&
31071 { ac_try
='test -z "$ac_cxx_werror_flag"
31072 || test ! -s conftest.err'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; } &&
31078 { ac_try
='test -s conftest.$ac_objext'
31079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31080 (eval $ac_try) 2>&5
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); }; }; then
31084 wx_cv_type_statvfs_t
=statvfs_t
31086 echo "$as_me: failed program was:" >&5
31087 sed 's/^/| /' conftest.
$ac_ext >&5
31090 cat >conftest.
$ac_ext <<_ACEOF
31093 cat confdefs.h
>>conftest.
$ac_ext
31094 cat >>conftest.
$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31097 #include <sys/statvfs.h>
31114 rm -f conftest.
$ac_objext
31115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31116 (eval $ac_compile) 2>conftest.er1
31118 grep -v '^ *+' conftest.er1
>conftest.err
31120 cat conftest.err
>&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); } &&
31123 { ac_try
='test -z "$ac_cxx_werror_flag"
31124 || test ! -s conftest.err'
31125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31126 (eval $ac_try) 2>&5
31128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129 (exit $ac_status); }; } &&
31130 { ac_try
='test -s conftest.$ac_objext'
31131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31132 (eval $ac_try) 2>&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); }; }; then
31136 wx_cv_type_statvfs_t
="struct statvfs"
31138 echo "$as_me: failed program was:" >&5
31139 sed 's/^/| /' conftest.
$ac_ext >&5
31141 wx_cv_type_statvfs_t
="unknown"
31144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31151 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31152 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31155 ac_cpp
='$CPP $CPPFLAGS'
31156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31161 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31162 cat >>confdefs.h
<<\_ACEOF
31163 #define HAVE_STATVFS 1
31168 wx_cv_type_statvfs_t
="unknown"
31172 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31173 cat >>confdefs.h
<<_ACEOF
31174 #define WX_STATFS_T $wx_cv_type_statvfs_t
31178 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31179 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31182 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31185 for ac_func
in fcntl flock
31187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31188 echo "$as_me:$LINENO: checking for $ac_func" >&5
31189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31190 if eval "test \"\${$as_ac_var+set}\" = set"; then
31191 echo $ECHO_N "(cached) $ECHO_C" >&6
31193 cat >conftest.
$ac_ext <<_ACEOF
31196 cat confdefs.h
>>conftest.
$ac_ext
31197 cat >>conftest.
$ac_ext <<_ACEOF
31198 /* end confdefs.h. */
31199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31201 #define $ac_func innocuous_$ac_func
31203 /* System header to define __stub macros and hopefully few prototypes,
31204 which can conflict with char $ac_func (); below.
31205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31206 <limits.h> exists even on freestanding compilers. */
31209 # include <limits.h>
31211 # include <assert.h>
31216 /* Override any gcc2 internal prototype to avoid an error. */
31221 /* We use char because int might match the return type of a gcc2
31222 builtin and then its argument prototype would still apply. */
31224 /* The GNU C library defines this for functions which it implements
31225 to always fail with ENOSYS. Some functions are actually named
31226 something starting with __ and the normal name is an alias. */
31227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31230 char (*f) () = $ac_func;
31239 return f != $ac_func;
31244 rm -f conftest.
$ac_objext conftest
$ac_exeext
31245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31246 (eval $ac_link) 2>conftest.er1
31248 grep -v '^ *+' conftest.er1
>conftest.err
31250 cat conftest.err
>&5
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } &&
31253 { ac_try
='test -z "$ac_c_werror_flag"
31254 || test ! -s conftest.err'
31255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256 (eval $ac_try) 2>&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); }; } &&
31260 { ac_try
='test -s conftest$ac_exeext'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; }; then
31266 eval "$as_ac_var=yes"
31268 echo "$as_me: failed program was:" >&5
31269 sed 's/^/| /' conftest.
$ac_ext >&5
31271 eval "$as_ac_var=no"
31273 rm -f conftest.err conftest.
$ac_objext \
31274 conftest
$ac_exeext conftest.
$ac_ext
31276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31278 if test `eval echo '${'$as_ac_var'}'` = yes; then
31279 cat >>confdefs.h
<<_ACEOF
31280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31287 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31288 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31289 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31290 wxUSE_SNGLINST_CHECKER
=no
31295 for ac_func
in timegm
31297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31298 echo "$as_me:$LINENO: checking for $ac_func" >&5
31299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31300 if eval "test \"\${$as_ac_var+set}\" = set"; then
31301 echo $ECHO_N "(cached) $ECHO_C" >&6
31303 cat >conftest.
$ac_ext <<_ACEOF
31306 cat confdefs.h
>>conftest.
$ac_ext
31307 cat >>conftest.
$ac_ext <<_ACEOF
31308 /* end confdefs.h. */
31309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31311 #define $ac_func innocuous_$ac_func
31313 /* System header to define __stub macros and hopefully few prototypes,
31314 which can conflict with char $ac_func (); below.
31315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31316 <limits.h> exists even on freestanding compilers. */
31319 # include <limits.h>
31321 # include <assert.h>
31326 /* Override any gcc2 internal prototype to avoid an error. */
31331 /* We use char because int might match the return type of a gcc2
31332 builtin and then its argument prototype would still apply. */
31334 /* The GNU C library defines this for functions which it implements
31335 to always fail with ENOSYS. Some functions are actually named
31336 something starting with __ and the normal name is an alias. */
31337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31340 char (*f) () = $ac_func;
31349 return f != $ac_func;
31354 rm -f conftest.
$ac_objext conftest
$ac_exeext
31355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31356 (eval $ac_link) 2>conftest.er1
31358 grep -v '^ *+' conftest.er1
>conftest.err
31360 cat conftest.err
>&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } &&
31363 { ac_try
='test -z "$ac_c_werror_flag"
31364 || test ! -s conftest.err'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; } &&
31370 { ac_try
='test -s conftest$ac_exeext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 eval "$as_ac_var=yes"
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.
$ac_ext >&5
31381 eval "$as_ac_var=no"
31383 rm -f conftest.err conftest.
$ac_objext \
31384 conftest
$ac_exeext conftest.
$ac_ext
31386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31388 if test `eval echo '${'$as_ac_var'}'` = yes; then
31389 cat >>confdefs.h
<<_ACEOF
31390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31399 for ac_func
in putenv setenv
31401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31402 echo "$as_me:$LINENO: checking for $ac_func" >&5
31403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31404 if eval "test \"\${$as_ac_var+set}\" = set"; then
31405 echo $ECHO_N "(cached) $ECHO_C" >&6
31407 cat >conftest.
$ac_ext <<_ACEOF
31410 cat confdefs.h
>>conftest.
$ac_ext
31411 cat >>conftest.
$ac_ext <<_ACEOF
31412 /* end confdefs.h. */
31413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31415 #define $ac_func innocuous_$ac_func
31417 /* System header to define __stub macros and hopefully few prototypes,
31418 which can conflict with char $ac_func (); below.
31419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31420 <limits.h> exists even on freestanding compilers. */
31423 # include <limits.h>
31425 # include <assert.h>
31430 /* Override any gcc2 internal prototype to avoid an error. */
31435 /* We use char because int might match the return type of a gcc2
31436 builtin and then its argument prototype would still apply. */
31438 /* The GNU C library defines this for functions which it implements
31439 to always fail with ENOSYS. Some functions are actually named
31440 something starting with __ and the normal name is an alias. */
31441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31444 char (*f) () = $ac_func;
31453 return f != $ac_func;
31458 rm -f conftest.
$ac_objext conftest
$ac_exeext
31459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31460 (eval $ac_link) 2>conftest.er1
31462 grep -v '^ *+' conftest.er1
>conftest.err
31464 cat conftest.err
>&5
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); } &&
31467 { ac_try
='test -z "$ac_c_werror_flag"
31468 || test ! -s conftest.err'
31469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31470 (eval $ac_try) 2>&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); }; } &&
31474 { ac_try
='test -s conftest$ac_exeext'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; }; then
31480 eval "$as_ac_var=yes"
31482 echo "$as_me: failed program was:" >&5
31483 sed 's/^/| /' conftest.
$ac_ext >&5
31485 eval "$as_ac_var=no"
31487 rm -f conftest.err conftest.
$ac_objext \
31488 conftest
$ac_exeext conftest.
$ac_ext
31490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31492 if test `eval echo '${'$as_ac_var'}'` = yes; then
31493 cat >>confdefs.h
<<_ACEOF
31494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31501 HAVE_SOME_SLEEP_FUNC
=0
31502 if test "$USE_BEOS" = 1; then
31503 cat >>confdefs.h
<<\_ACEOF
31504 #define HAVE_SLEEP 1
31507 HAVE_SOME_SLEEP_FUNC
=1
31510 if test "$USE_DARWIN" = 1; then
31511 cat >>confdefs.h
<<\_ACEOF
31512 #define HAVE_USLEEP 1
31515 HAVE_SOME_SLEEP_FUNC
=1
31518 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31521 for ac_func
in nanosleep
31523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31524 echo "$as_me:$LINENO: checking for $ac_func" >&5
31525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31526 if eval "test \"\${$as_ac_var+set}\" = set"; then
31527 echo $ECHO_N "(cached) $ECHO_C" >&6
31529 cat >conftest.
$ac_ext <<_ACEOF
31532 cat confdefs.h
>>conftest.
$ac_ext
31533 cat >>conftest.
$ac_ext <<_ACEOF
31534 /* end confdefs.h. */
31535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31537 #define $ac_func innocuous_$ac_func
31539 /* System header to define __stub macros and hopefully few prototypes,
31540 which can conflict with char $ac_func (); below.
31541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31542 <limits.h> exists even on freestanding compilers. */
31545 # include <limits.h>
31547 # include <assert.h>
31552 /* Override any gcc2 internal prototype to avoid an error. */
31557 /* We use char because int might match the return type of a gcc2
31558 builtin and then its argument prototype would still apply. */
31560 /* The GNU C library defines this for functions which it implements
31561 to always fail with ENOSYS. Some functions are actually named
31562 something starting with __ and the normal name is an alias. */
31563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31566 char (*f) () = $ac_func;
31575 return f != $ac_func;
31580 rm -f conftest.
$ac_objext conftest
$ac_exeext
31581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31582 (eval $ac_link) 2>conftest.er1
31584 grep -v '^ *+' conftest.er1
>conftest.err
31586 cat conftest.err
>&5
31587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31588 (exit $ac_status); } &&
31589 { ac_try
='test -z "$ac_c_werror_flag"
31590 || test ! -s conftest.err'
31591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31592 (eval $ac_try) 2>&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); }; } &&
31596 { ac_try
='test -s conftest$ac_exeext'
31597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31598 (eval $ac_try) 2>&5
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); }; }; then
31602 eval "$as_ac_var=yes"
31604 echo "$as_me: failed program was:" >&5
31605 sed 's/^/| /' conftest.
$ac_ext >&5
31607 eval "$as_ac_var=no"
31609 rm -f conftest.err conftest.
$ac_objext \
31610 conftest
$ac_exeext conftest.
$ac_ext
31612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31614 if test `eval echo '${'$as_ac_var'}'` = yes; then
31615 cat >>confdefs.h
<<_ACEOF
31616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31618 cat >>confdefs.h
<<\_ACEOF
31619 #define HAVE_NANOSLEEP 1
31624 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31625 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31626 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31627 echo $ECHO_N "(cached) $ECHO_C" >&6
31629 ac_check_lib_save_LIBS
=$LIBS
31630 LIBS
="-lposix4 $LIBS"
31631 cat >conftest.
$ac_ext <<_ACEOF
31634 cat confdefs.h
>>conftest.
$ac_ext
31635 cat >>conftest.
$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31638 /* Override any gcc2 internal prototype to avoid an error. */
31642 /* We use char because int might match the return type of a gcc2
31643 builtin and then its argument prototype would still apply. */
31653 rm -f conftest.
$ac_objext conftest
$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655 (eval $ac_link) 2>conftest.er1
31657 grep -v '^ *+' conftest.er1
>conftest.err
31659 cat conftest.err
>&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try
='test -z "$ac_c_werror_flag"
31663 || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try
='test -s conftest$ac_exeext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 ac_cv_lib_posix4_nanosleep
=yes
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.
$ac_ext >&5
31680 ac_cv_lib_posix4_nanosleep
=no
31682 rm -f conftest.err conftest.
$ac_objext \
31683 conftest
$ac_exeext conftest.
$ac_ext
31684 LIBS
=$ac_check_lib_save_LIBS
31686 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31687 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31688 if test $ac_cv_lib_posix4_nanosleep = yes; then
31690 cat >>confdefs.h
<<\_ACEOF
31691 #define HAVE_NANOSLEEP 1
31694 POSIX4_LINK
=" -lposix4"
31699 for ac_func
in usleep
31701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31702 echo "$as_me:$LINENO: checking for $ac_func" >&5
31703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31704 if eval "test \"\${$as_ac_var+set}\" = set"; then
31705 echo $ECHO_N "(cached) $ECHO_C" >&6
31707 cat >conftest.
$ac_ext <<_ACEOF
31710 cat confdefs.h
>>conftest.
$ac_ext
31711 cat >>conftest.
$ac_ext <<_ACEOF
31712 /* end confdefs.h. */
31713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31715 #define $ac_func innocuous_$ac_func
31717 /* System header to define __stub macros and hopefully few prototypes,
31718 which can conflict with char $ac_func (); below.
31719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31720 <limits.h> exists even on freestanding compilers. */
31723 # include <limits.h>
31725 # include <assert.h>
31730 /* Override any gcc2 internal prototype to avoid an error. */
31735 /* We use char because int might match the return type of a gcc2
31736 builtin and then its argument prototype would still apply. */
31738 /* The GNU C library defines this for functions which it implements
31739 to always fail with ENOSYS. Some functions are actually named
31740 something starting with __ and the normal name is an alias. */
31741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31744 char (*f) () = $ac_func;
31753 return f != $ac_func;
31758 rm -f conftest.
$ac_objext conftest
$ac_exeext
31759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31760 (eval $ac_link) 2>conftest.er1
31762 grep -v '^ *+' conftest.er1
>conftest.err
31764 cat conftest.err
>&5
31765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766 (exit $ac_status); } &&
31767 { ac_try
='test -z "$ac_c_werror_flag"
31768 || test ! -s conftest.err'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; } &&
31774 { ac_try
='test -s conftest$ac_exeext'
31775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31776 (eval $ac_try) 2>&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); }; }; then
31780 eval "$as_ac_var=yes"
31782 echo "$as_me: failed program was:" >&5
31783 sed 's/^/| /' conftest.
$ac_ext >&5
31785 eval "$as_ac_var=no"
31787 rm -f conftest.err conftest.
$ac_objext \
31788 conftest
$ac_exeext conftest.
$ac_ext
31790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31792 if test `eval echo '${'$as_ac_var'}'` = yes; then
31793 cat >>confdefs.h
<<_ACEOF
31794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31796 cat >>confdefs.h
<<\_ACEOF
31797 #define HAVE_USLEEP 1
31801 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31802 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31820 for ac_func
in uname gethostname
31822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31823 echo "$as_me:$LINENO: checking for $ac_func" >&5
31824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31825 if eval "test \"\${$as_ac_var+set}\" = set"; then
31826 echo $ECHO_N "(cached) $ECHO_C" >&6
31828 cat >conftest.
$ac_ext <<_ACEOF
31831 cat confdefs.h
>>conftest.
$ac_ext
31832 cat >>conftest.
$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31836 #define $ac_func innocuous_$ac_func
31838 /* System header to define __stub macros and hopefully few prototypes,
31839 which can conflict with char $ac_func (); below.
31840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31841 <limits.h> exists even on freestanding compilers. */
31844 # include <limits.h>
31846 # include <assert.h>
31851 /* Override any gcc2 internal prototype to avoid an error. */
31856 /* We use char because int might match the return type of a gcc2
31857 builtin and then its argument prototype would still apply. */
31859 /* The GNU C library defines this for functions which it implements
31860 to always fail with ENOSYS. Some functions are actually named
31861 something starting with __ and the normal name is an alias. */
31862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31865 char (*f) () = $ac_func;
31874 return f != $ac_func;
31879 rm -f conftest.
$ac_objext conftest
$ac_exeext
31880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31881 (eval $ac_link) 2>conftest.er1
31883 grep -v '^ *+' conftest.er1
>conftest.err
31885 cat conftest.err
>&5
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); } &&
31888 { ac_try
='test -z "$ac_c_werror_flag"
31889 || test ! -s conftest.err'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; } &&
31895 { ac_try
='test -s conftest$ac_exeext'
31896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897 (eval $ac_try) 2>&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; }; then
31901 eval "$as_ac_var=yes"
31903 echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.
$ac_ext >&5
31906 eval "$as_ac_var=no"
31908 rm -f conftest.err conftest.
$ac_objext \
31909 conftest
$ac_exeext conftest.
$ac_ext
31911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31913 if test `eval echo '${'$as_ac_var'}'` = yes; then
31914 cat >>confdefs.h
<<_ACEOF
31915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31925 ac_cpp
='$CXXCPP $CPPFLAGS'
31926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31932 for ac_func
in strtok_r
31934 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31935 echo "$as_me:$LINENO: checking for $ac_func" >&5
31936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31937 if eval "test \"\${$as_ac_var+set}\" = set"; then
31938 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 cat >conftest.
$ac_ext <<_ACEOF
31943 cat confdefs.h
>>conftest.
$ac_ext
31944 cat >>conftest.
$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31948 #define $ac_func innocuous_$ac_func
31950 /* System header to define __stub macros and hopefully few prototypes,
31951 which can conflict with char $ac_func (); below.
31952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31953 <limits.h> exists even on freestanding compilers. */
31956 # include <limits.h>
31958 # include <assert.h>
31963 /* Override any gcc2 internal prototype to avoid an error. */
31968 /* We use char because int might match the return type of a gcc2
31969 builtin and then its argument prototype would still apply. */
31971 /* The GNU C library defines this for functions which it implements
31972 to always fail with ENOSYS. Some functions are actually named
31973 something starting with __ and the normal name is an alias. */
31974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31977 char (*f) () = $ac_func;
31986 return f != $ac_func;
31991 rm -f conftest.
$ac_objext conftest
$ac_exeext
31992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31993 (eval $ac_link) 2>conftest.er1
31995 grep -v '^ *+' conftest.er1
>conftest.err
31997 cat conftest.err
>&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); } &&
32000 { ac_try
='test -z "$ac_cxx_werror_flag"
32001 || test ! -s conftest.err'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; } &&
32007 { ac_try
='test -s conftest$ac_exeext'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; }; then
32013 eval "$as_ac_var=yes"
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.
$ac_ext >&5
32018 eval "$as_ac_var=no"
32020 rm -f conftest.err conftest.
$ac_objext \
32021 conftest
$ac_exeext conftest.
$ac_ext
32023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32025 if test `eval echo '${'$as_ac_var'}'` = yes; then
32026 cat >>confdefs.h
<<_ACEOF
32027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32035 ac_cpp
='$CPP $CPPFLAGS'
32036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32043 for ac_func
in inet_addr
32045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32046 echo "$as_me:$LINENO: checking for $ac_func" >&5
32047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32048 if eval "test \"\${$as_ac_var+set}\" = set"; then
32049 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 cat >conftest.
$ac_ext <<_ACEOF
32054 cat confdefs.h
>>conftest.
$ac_ext
32055 cat >>conftest.
$ac_ext <<_ACEOF
32056 /* end confdefs.h. */
32057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32059 #define $ac_func innocuous_$ac_func
32061 /* System header to define __stub macros and hopefully few prototypes,
32062 which can conflict with char $ac_func (); below.
32063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32064 <limits.h> exists even on freestanding compilers. */
32067 # include <limits.h>
32069 # include <assert.h>
32074 /* Override any gcc2 internal prototype to avoid an error. */
32079 /* We use char because int might match the return type of a gcc2
32080 builtin and then its argument prototype would still apply. */
32082 /* The GNU C library defines this for functions which it implements
32083 to always fail with ENOSYS. Some functions are actually named
32084 something starting with __ and the normal name is an alias. */
32085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32088 char (*f) () = $ac_func;
32097 return f != $ac_func;
32102 rm -f conftest.
$ac_objext conftest
$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104 (eval $ac_link) 2>conftest.er1
32106 grep -v '^ *+' conftest.er1
>conftest.err
32108 cat conftest.err
>&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); } &&
32111 { ac_try
='test -z "$ac_c_werror_flag"
32112 || test ! -s conftest.err'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; } &&
32118 { ac_try
='test -s conftest$ac_exeext'
32119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32120 (eval $ac_try) 2>&5
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); }; }; then
32124 eval "$as_ac_var=yes"
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.
$ac_ext >&5
32129 eval "$as_ac_var=no"
32131 rm -f conftest.err conftest.
$ac_objext \
32132 conftest
$ac_exeext conftest.
$ac_ext
32134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32136 if test `eval echo '${'$as_ac_var'}'` = yes; then
32137 cat >>confdefs.h
<<_ACEOF
32138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32140 cat >>confdefs.h
<<\_ACEOF
32141 #define HAVE_INET_ADDR 1
32146 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32147 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32148 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32149 echo $ECHO_N "(cached) $ECHO_C" >&6
32151 ac_check_lib_save_LIBS
=$LIBS
32153 cat >conftest.
$ac_ext <<_ACEOF
32156 cat confdefs.h
>>conftest.
$ac_ext
32157 cat >>conftest.
$ac_ext <<_ACEOF
32158 /* end confdefs.h. */
32160 /* Override any gcc2 internal prototype to avoid an error. */
32164 /* We use char because int might match the return type of a gcc2
32165 builtin and then its argument prototype would still apply. */
32175 rm -f conftest.
$ac_objext conftest
$ac_exeext
32176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32177 (eval $ac_link) 2>conftest.er1
32179 grep -v '^ *+' conftest.er1
>conftest.err
32181 cat conftest.err
>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try
='test -z "$ac_c_werror_flag"
32185 || test ! -s conftest.err'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; } &&
32191 { ac_try
='test -s conftest$ac_exeext'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 ac_cv_lib_nsl_inet_addr
=yes
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.
$ac_ext >&5
32202 ac_cv_lib_nsl_inet_addr
=no
32204 rm -f conftest.err conftest.
$ac_objext \
32205 conftest
$ac_exeext conftest.
$ac_ext
32206 LIBS
=$ac_check_lib_save_LIBS
32208 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32209 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32210 if test $ac_cv_lib_nsl_inet_addr = yes; then
32214 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32215 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32216 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32217 echo $ECHO_N "(cached) $ECHO_C" >&6
32219 ac_check_lib_save_LIBS
=$LIBS
32220 LIBS
="-lresolv $LIBS"
32221 cat >conftest.
$ac_ext <<_ACEOF
32224 cat confdefs.h
>>conftest.
$ac_ext
32225 cat >>conftest.
$ac_ext <<_ACEOF
32226 /* end confdefs.h. */
32228 /* Override any gcc2 internal prototype to avoid an error. */
32232 /* We use char because int might match the return type of a gcc2
32233 builtin and then its argument prototype would still apply. */
32243 rm -f conftest.
$ac_objext conftest
$ac_exeext
32244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32245 (eval $ac_link) 2>conftest.er1
32247 grep -v '^ *+' conftest.er1
>conftest.err
32249 cat conftest.err
>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } &&
32252 { ac_try
='test -z "$ac_c_werror_flag"
32253 || test ! -s conftest.err'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; } &&
32259 { ac_try
='test -s conftest$ac_exeext'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; }; then
32265 ac_cv_lib_resolv_inet_addr
=yes
32267 echo "$as_me: failed program was:" >&5
32268 sed 's/^/| /' conftest.
$ac_ext >&5
32270 ac_cv_lib_resolv_inet_addr
=no
32272 rm -f conftest.err conftest.
$ac_objext \
32273 conftest
$ac_exeext conftest.
$ac_ext
32274 LIBS
=$ac_check_lib_save_LIBS
32276 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32277 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32278 if test $ac_cv_lib_resolv_inet_addr = yes; then
32282 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32283 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32284 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32285 echo $ECHO_N "(cached) $ECHO_C" >&6
32287 ac_check_lib_save_LIBS
=$LIBS
32288 LIBS
="-lsocket $LIBS"
32289 cat >conftest.
$ac_ext <<_ACEOF
32292 cat confdefs.h
>>conftest.
$ac_ext
32293 cat >>conftest.
$ac_ext <<_ACEOF
32294 /* end confdefs.h. */
32296 /* Override any gcc2 internal prototype to avoid an error. */
32300 /* We use char because int might match the return type of a gcc2
32301 builtin and then its argument prototype would still apply. */
32311 rm -f conftest.
$ac_objext conftest
$ac_exeext
32312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32313 (eval $ac_link) 2>conftest.er1
32315 grep -v '^ *+' conftest.er1
>conftest.err
32317 cat conftest.err
>&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); } &&
32320 { ac_try
='test -z "$ac_c_werror_flag"
32321 || test ! -s conftest.err'
32322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32323 (eval $ac_try) 2>&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); }; } &&
32327 { ac_try
='test -s conftest$ac_exeext'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; }; then
32333 ac_cv_lib_socket_inet_addr
=yes
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.
$ac_ext >&5
32338 ac_cv_lib_socket_inet_addr
=no
32340 rm -f conftest.err conftest.
$ac_objext \
32341 conftest
$ac_exeext conftest.
$ac_ext
32342 LIBS
=$ac_check_lib_save_LIBS
32344 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32345 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32346 if test $ac_cv_lib_socket_inet_addr = yes; then
32366 for ac_func
in inet_aton
32368 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32369 echo "$as_me:$LINENO: checking for $ac_func" >&5
32370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32371 if eval "test \"\${$as_ac_var+set}\" = set"; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32374 cat >conftest.
$ac_ext <<_ACEOF
32377 cat confdefs.h
>>conftest.
$ac_ext
32378 cat >>conftest.
$ac_ext <<_ACEOF
32379 /* end confdefs.h. */
32380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32382 #define $ac_func innocuous_$ac_func
32384 /* System header to define __stub macros and hopefully few prototypes,
32385 which can conflict with char $ac_func (); below.
32386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32387 <limits.h> exists even on freestanding compilers. */
32390 # include <limits.h>
32392 # include <assert.h>
32397 /* Override any gcc2 internal prototype to avoid an error. */
32402 /* We use char because int might match the return type of a gcc2
32403 builtin and then its argument prototype would still apply. */
32405 /* The GNU C library defines this for functions which it implements
32406 to always fail with ENOSYS. Some functions are actually named
32407 something starting with __ and the normal name is an alias. */
32408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32411 char (*f) () = $ac_func;
32420 return f != $ac_func;
32425 rm -f conftest.
$ac_objext conftest
$ac_exeext
32426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32427 (eval $ac_link) 2>conftest.er1
32429 grep -v '^ *+' conftest.er1
>conftest.err
32431 cat conftest.err
>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); } &&
32434 { ac_try
='test -z "$ac_c_werror_flag"
32435 || test ! -s conftest.err'
32436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32437 (eval $ac_try) 2>&5
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); }; } &&
32441 { ac_try
='test -s conftest$ac_exeext'
32442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32443 (eval $ac_try) 2>&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); }; }; then
32447 eval "$as_ac_var=yes"
32449 echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.
$ac_ext >&5
32452 eval "$as_ac_var=no"
32454 rm -f conftest.err conftest.
$ac_objext \
32455 conftest
$ac_exeext conftest.
$ac_ext
32457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32459 if test `eval echo '${'$as_ac_var'}'` = yes; then
32460 cat >>confdefs.h
<<_ACEOF
32461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32463 cat >>confdefs.h
<<\_ACEOF
32464 #define HAVE_INET_ATON 1
32469 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32470 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32471 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32472 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32473 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 ac_check_lib_save_LIBS
=$LIBS
32476 LIBS
="-l$INET_LINK $LIBS"
32477 cat >conftest.
$ac_ext <<_ACEOF
32480 cat confdefs.h
>>conftest.
$ac_ext
32481 cat >>conftest.
$ac_ext <<_ACEOF
32482 /* end confdefs.h. */
32484 /* Override any gcc2 internal prototype to avoid an error. */
32488 /* We use char because int might match the return type of a gcc2
32489 builtin and then its argument prototype would still apply. */
32499 rm -f conftest.
$ac_objext conftest
$ac_exeext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32501 (eval $ac_link) 2>conftest.er1
32503 grep -v '^ *+' conftest.er1
>conftest.err
32505 cat conftest.err
>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } &&
32508 { ac_try
='test -z "$ac_c_werror_flag"
32509 || test ! -s conftest.err'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; } &&
32515 { ac_try
='test -s conftest$ac_exeext'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; }; then
32521 eval "$as_ac_Lib=yes"
32523 echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.
$ac_ext >&5
32526 eval "$as_ac_Lib=no"
32528 rm -f conftest.err conftest.
$ac_objext \
32529 conftest
$ac_exeext conftest.
$ac_ext
32530 LIBS
=$ac_check_lib_save_LIBS
32532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32533 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32534 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32535 cat >>confdefs.h
<<\_ACEOF
32536 #define HAVE_INET_ATON 1
32546 if test "x$INET_LINK" != "x"; then
32547 cat >>confdefs.h
<<\_ACEOF
32548 #define HAVE_INET_ADDR 1
32551 INET_LINK
=" -l$INET_LINK"
32559 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32560 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32561 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32564 ac_check_lib_save_LIBS
=$LIBS
32566 cat >conftest.
$ac_ext <<_ACEOF
32569 cat confdefs.h
>>conftest.
$ac_ext
32570 cat >>conftest.
$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32573 /* Override any gcc2 internal prototype to avoid an error. */
32577 /* We use char because int might match the return type of a gcc2
32578 builtin and then its argument prototype would still apply. */
32588 rm -f conftest.
$ac_objext conftest
$ac_exeext
32589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32590 (eval $ac_link) 2>conftest.er1
32592 grep -v '^ *+' conftest.er1
>conftest.err
32594 cat conftest.err
>&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } &&
32597 { ac_try
='test -z "$ac_c_werror_flag"
32598 || test ! -s conftest.err'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; } &&
32604 { ac_try
='test -s conftest$ac_exeext'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; }; then
32610 ac_cv_lib_esd_esd_close
=yes
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.
$ac_ext >&5
32615 ac_cv_lib_esd_esd_close
=no
32617 rm -f conftest.err conftest.
$ac_objext \
32618 conftest
$ac_exeext conftest.
$ac_ext
32619 LIBS
=$ac_check_lib_save_LIBS
32621 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32622 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32623 if test $ac_cv_lib_esd_esd_close = yes; then
32626 for ac_header
in esd.h
32628 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32630 echo "$as_me:$LINENO: checking for $ac_header" >&5
32631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32638 # Is the header compilable?
32639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32641 cat >conftest.
$ac_ext <<_ACEOF
32644 cat confdefs.h
>>conftest.
$ac_ext
32645 cat >>conftest.
$ac_ext <<_ACEOF
32646 /* end confdefs.h. */
32647 $ac_includes_default
32648 #include <$ac_header>
32650 rm -f conftest.
$ac_objext
32651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32652 (eval $ac_compile) 2>conftest.er1
32654 grep -v '^ *+' conftest.er1
>conftest.err
32656 cat conftest.err
>&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } &&
32659 { ac_try
='test -z "$ac_c_werror_flag"
32660 || test ! -s conftest.err'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; } &&
32666 { ac_try
='test -s conftest.$ac_objext'
32667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32668 (eval $ac_try) 2>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); }; }; then
32672 ac_header_compiler
=yes
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.
$ac_ext >&5
32677 ac_header_compiler
=no
32679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32681 echo "${ECHO_T}$ac_header_compiler" >&6
32683 # Is the header present?
32684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32686 cat >conftest.
$ac_ext <<_ACEOF
32689 cat confdefs.h
>>conftest.
$ac_ext
32690 cat >>conftest.
$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32692 #include <$ac_header>
32694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32697 grep -v '^ *+' conftest.er1
>conftest.err
32699 cat conftest.err
>&5
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); } >/dev
/null
; then
32702 if test -s conftest.err
; then
32703 ac_cpp_err
=$ac_c_preproc_warn_flag
32704 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32711 if test -z "$ac_cpp_err"; then
32712 ac_header_preproc
=yes
32714 echo "$as_me: failed program was:" >&5
32715 sed 's/^/| /' conftest.
$ac_ext >&5
32717 ac_header_preproc
=no
32719 rm -f conftest.err conftest.
$ac_ext
32720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32721 echo "${ECHO_T}$ac_header_preproc" >&6
32723 # So? What about this header?
32724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32730 ac_header_preproc
=yes
32733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32747 ## ----------------------------------------- ##
32748 ## Report this to wx-dev@lists.wxwidgets.org ##
32749 ## ----------------------------------------- ##
32752 sed "s/^/$as_me: WARNING: /" >&2
32755 echo "$as_me:$LINENO: checking for $ac_header" >&5
32756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32758 echo $ECHO_N "(cached) $ECHO_C" >&6
32760 eval "$as_ac_Header=\$ac_header_preproc"
32762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32767 cat >>confdefs.h
<<_ACEOF
32768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32771 EXTRALIBS_ESD
="-lesd"
32782 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32783 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32784 cat >conftest.
$ac_ext <<_ACEOF
32787 cat confdefs.h
>>conftest.
$ac_ext
32788 cat >>conftest.
$ac_ext <<_ACEOF
32789 /* end confdefs.h. */
32791 #include <linux/cdrom.h>
32794 #include <sys/cdio.h>
32800 struct cdrom_tocentry entry, old_entry;
32805 rm -f conftest.
$ac_objext
32806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32807 (eval $ac_compile) 2>conftest.er1
32809 grep -v '^ *+' conftest.er1
>conftest.err
32811 cat conftest.err
>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } &&
32814 { ac_try
='test -z "$ac_c_werror_flag"
32815 || test ! -s conftest.err'
32816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32817 (eval $ac_try) 2>&5
32819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 (exit $ac_status); }; } &&
32821 { ac_try
='test -s conftest.$ac_objext'
32822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823 (eval $ac_try) 2>&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); }; }; then
32827 echo "$as_me:$LINENO: result: yes" >&5
32828 echo "${ECHO_T}yes" >&6
32829 cat >>confdefs.h
<<\_ACEOF
32830 #define HAVE_KNOWN_CDROM_INTERFACE 1
32834 echo "$as_me: failed program was:" >&5
32835 sed 's/^/| /' conftest.
$ac_ext >&5
32837 echo "$as_me:$LINENO: result: no" >&5
32838 echo "${ECHO_T}no" >&6
32840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32843 cat >confcache
<<\_ACEOF
32844 # This file is a shell script that caches the results of configure
32845 # tests run on this system so they can be shared between configure
32846 # scripts and configure runs, see configure's option --config-cache.
32847 # It is not useful on other systems. If it contains results you don't
32848 # want to keep, you may remove or edit it.
32850 # config.status only pays attention to the cache file if you give it
32851 # the --recheck option to rerun configure.
32853 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32854 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32855 # following values.
32859 # The following way of writing the cache mishandles newlines in values,
32860 # but we know of no workaround that is simple, portable, and efficient.
32861 # So, don't put newlines in cache variables' values.
32862 # Ultrix sh set writes to stderr and can't be redirected directly,
32863 # and sets the high bit in the cache file unless we assign to the vars.
32866 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32868 # `set' does not quote correctly, so add quotes (double-quote
32869 # substitution turns \\\\ into \\, and sed turns \\ into \).
32872 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32875 # `set' quotes correctly as required by POSIX, so do not add quotes.
32877 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32884 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32886 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32888 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32889 if test -w $cache_file; then
32890 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32891 cat confcache
>$cache_file
32893 echo "not updating unwritable cache $cache_file"
32900 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32906 if test "$wxUSE_THREADS" = "yes" ; then
32907 if test "$USE_BEOS" = 1; then
32908 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32909 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32914 if test "$wxUSE_THREADS" = "yes" ; then
32917 THREAD_OPTS
="-pthread"
32919 *-*-solaris2* | *-*-sunos4* )
32920 if test "x$GCC" = "xyes"; then
32921 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32923 THREAD_OPTS
="-mt $THREAD_OPTS"
32927 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32929 *-*-darwin* | *-*-cygwin* )
32933 THREAD_OPTS
="pthreads"
32936 if test "x$GCC" != "xyes"; then
32942 if test "x$GCC" = "xyes"; then
32948 if test "x$GCC" != "xyes"; then
32949 THREAD_OPTS
="-Ethread"
32954 THREAD_OPTS
="$THREAD_OPTS pthread none"
32957 for flag
in $THREAD_OPTS; do
32960 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32961 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32965 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32966 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32967 THREADS_CFLAGS
="$flag"
32971 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32972 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32973 THREADS_LINK
="-l$flag"
32978 save_CFLAGS
="$CFLAGS"
32979 LIBS
="$THREADS_LINK $LIBS"
32980 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32982 cat >conftest.
$ac_ext <<_ACEOF
32985 cat confdefs.h
>>conftest.
$ac_ext
32986 cat >>conftest.
$ac_ext <<_ACEOF
32987 /* end confdefs.h. */
32988 #include <pthread.h>
32992 pthread_create(0,0,0,0);
32997 rm -f conftest.
$ac_objext conftest
$ac_exeext
32998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32999 (eval $ac_link) 2>conftest.er1
33001 grep -v '^ *+' conftest.er1
>conftest.err
33003 cat conftest.err
>&5
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); } &&
33006 { ac_try
='test -z "$ac_c_werror_flag"
33007 || test ! -s conftest.err'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; } &&
33013 { ac_try
='test -s conftest$ac_exeext'
33014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015 (eval $ac_try) 2>&5
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); }; }; then
33021 echo "$as_me: failed program was:" >&5
33022 sed 's/^/| /' conftest.
$ac_ext >&5
33025 rm -f conftest.err conftest.
$ac_objext \
33026 conftest
$ac_exeext conftest.
$ac_ext
33029 CFLAGS
="$save_CFLAGS"
33031 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33032 echo "${ECHO_T}$THREADS_OK" >&6
33033 if test "x$THREADS_OK" = "xyes"; then
33041 if test "x$THREADS_OK" != "xyes"; then
33043 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33044 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33046 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33047 LIBS
="$THREADS_LINK $LIBS"
33049 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33050 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33054 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33055 flag
="-D_THREAD_SAFE"
33058 flag
="-D_THREAD_SAFE"
33061 flag
="-D_REENTRANT"
33062 if test "x$GCC" != "xyes"; then
33063 flag
="$flag -D_RWSTD_MULTI_THREAD"
33068 *solaris
* | alpha
*-osf*)
33069 flag
="-D_REENTRANT"
33072 echo "$as_me:$LINENO: result: ${flag}" >&5
33073 echo "${ECHO_T}${flag}" >&6
33074 if test "x$flag" != xno
; then
33075 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33078 if test "x$THREADS_CFLAGS" != "x"; then
33079 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33080 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33085 if test "$wxUSE_THREADS" = "yes" ; then
33087 for ac_func
in thr_setconcurrency
33089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33090 echo "$as_me:$LINENO: checking for $ac_func" >&5
33091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33092 if eval "test \"\${$as_ac_var+set}\" = set"; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 cat >conftest.
$ac_ext <<_ACEOF
33098 cat confdefs.h
>>conftest.
$ac_ext
33099 cat >>conftest.
$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33103 #define $ac_func innocuous_$ac_func
33105 /* System header to define __stub macros and hopefully few prototypes,
33106 which can conflict with char $ac_func (); below.
33107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33108 <limits.h> exists even on freestanding compilers. */
33111 # include <limits.h>
33113 # include <assert.h>
33118 /* Override any gcc2 internal prototype to avoid an error. */
33123 /* We use char because int might match the return type of a gcc2
33124 builtin and then its argument prototype would still apply. */
33126 /* The GNU C library defines this for functions which it implements
33127 to always fail with ENOSYS. Some functions are actually named
33128 something starting with __ and the normal name is an alias. */
33129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33132 char (*f) () = $ac_func;
33141 return f != $ac_func;
33146 rm -f conftest.
$ac_objext conftest
$ac_exeext
33147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33148 (eval $ac_link) 2>conftest.er1
33150 grep -v '^ *+' conftest.er1
>conftest.err
33152 cat conftest.err
>&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } &&
33155 { ac_try
='test -z "$ac_c_werror_flag"
33156 || test ! -s conftest.err'
33157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33158 (eval $ac_try) 2>&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); }; } &&
33162 { ac_try
='test -s conftest$ac_exeext'
33163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 (eval $ac_try) 2>&5
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); }; }; then
33168 eval "$as_ac_var=yes"
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.
$ac_ext >&5
33173 eval "$as_ac_var=no"
33175 rm -f conftest.err conftest.
$ac_objext \
33176 conftest
$ac_exeext conftest.
$ac_ext
33178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33180 if test `eval echo '${'$as_ac_var'}'` = yes; then
33181 cat >>confdefs.h
<<_ACEOF
33182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33190 for ac_header
in sched.h
33192 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33194 echo "$as_me:$LINENO: checking for $ac_header" >&5
33195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33197 echo $ECHO_N "(cached) $ECHO_C" >&6
33199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33202 # Is the header compilable?
33203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33205 cat >conftest.
$ac_ext <<_ACEOF
33208 cat confdefs.h
>>conftest.
$ac_ext
33209 cat >>conftest.
$ac_ext <<_ACEOF
33210 /* end confdefs.h. */
33211 $ac_includes_default
33212 #include <$ac_header>
33214 rm -f conftest.
$ac_objext
33215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33216 (eval $ac_compile) 2>conftest.er1
33218 grep -v '^ *+' conftest.er1
>conftest.err
33220 cat conftest.err
>&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } &&
33223 { ac_try
='test -z "$ac_c_werror_flag"
33224 || test ! -s conftest.err'
33225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33226 (eval $ac_try) 2>&5
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); }; } &&
33230 { ac_try
='test -s conftest.$ac_objext'
33231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33232 (eval $ac_try) 2>&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); }; }; then
33236 ac_header_compiler
=yes
33238 echo "$as_me: failed program was:" >&5
33239 sed 's/^/| /' conftest.
$ac_ext >&5
33241 ac_header_compiler
=no
33243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33245 echo "${ECHO_T}$ac_header_compiler" >&6
33247 # Is the header present?
33248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33250 cat >conftest.
$ac_ext <<_ACEOF
33253 cat confdefs.h
>>conftest.
$ac_ext
33254 cat >>conftest.
$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 #include <$ac_header>
33258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33261 grep -v '^ *+' conftest.er1
>conftest.err
33263 cat conftest.err
>&5
33264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33265 (exit $ac_status); } >/dev
/null
; then
33266 if test -s conftest.err
; then
33267 ac_cpp_err
=$ac_c_preproc_warn_flag
33268 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33275 if test -z "$ac_cpp_err"; then
33276 ac_header_preproc
=yes
33278 echo "$as_me: failed program was:" >&5
33279 sed 's/^/| /' conftest.
$ac_ext >&5
33281 ac_header_preproc
=no
33283 rm -f conftest.err conftest.
$ac_ext
33284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33285 echo "${ECHO_T}$ac_header_preproc" >&6
33287 # So? What about this header?
33288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33294 ac_header_preproc
=yes
33297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33311 ## ----------------------------------------- ##
33312 ## Report this to wx-dev@lists.wxwidgets.org ##
33313 ## ----------------------------------------- ##
33316 sed "s/^/$as_me: WARNING: /" >&2
33319 echo "$as_me:$LINENO: checking for $ac_header" >&5
33320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33322 echo $ECHO_N "(cached) $ECHO_C" >&6
33324 eval "$as_ac_Header=\$ac_header_preproc"
33326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33331 cat >>confdefs.h
<<_ACEOF
33332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33339 if test "$ac_cv_header_sched_h" = "yes"; then
33340 echo "$as_me:$LINENO: checking for sched_yield" >&5
33341 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33342 if test "${ac_cv_func_sched_yield+set}" = set; then
33343 echo $ECHO_N "(cached) $ECHO_C" >&6
33345 cat >conftest.
$ac_ext <<_ACEOF
33348 cat confdefs.h
>>conftest.
$ac_ext
33349 cat >>conftest.
$ac_ext <<_ACEOF
33350 /* end confdefs.h. */
33351 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33353 #define sched_yield innocuous_sched_yield
33355 /* System header to define __stub macros and hopefully few prototypes,
33356 which can conflict with char sched_yield (); below.
33357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33358 <limits.h> exists even on freestanding compilers. */
33361 # include <limits.h>
33363 # include <assert.h>
33368 /* Override any gcc2 internal prototype to avoid an error. */
33373 /* We use char because int might match the return type of a gcc2
33374 builtin and then its argument prototype would still apply. */
33375 char sched_yield ();
33376 /* The GNU C library defines this for functions which it implements
33377 to always fail with ENOSYS. Some functions are actually named
33378 something starting with __ and the normal name is an alias. */
33379 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33382 char (*f) () = sched_yield;
33391 return f != sched_yield;
33396 rm -f conftest.
$ac_objext conftest
$ac_exeext
33397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33398 (eval $ac_link) 2>conftest.er1
33400 grep -v '^ *+' conftest.er1
>conftest.err
33402 cat conftest.err
>&5
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); } &&
33405 { ac_try
='test -z "$ac_c_werror_flag"
33406 || test ! -s conftest.err'
33407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33408 (eval $ac_try) 2>&5
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); }; } &&
33412 { ac_try
='test -s conftest$ac_exeext'
33413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33414 (eval $ac_try) 2>&5
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); }; }; then
33418 ac_cv_func_sched_yield
=yes
33420 echo "$as_me: failed program was:" >&5
33421 sed 's/^/| /' conftest.
$ac_ext >&5
33423 ac_cv_func_sched_yield
=no
33425 rm -f conftest.err conftest.
$ac_objext \
33426 conftest
$ac_exeext conftest.
$ac_ext
33428 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33429 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33430 if test $ac_cv_func_sched_yield = yes; then
33431 cat >>confdefs.h
<<\_ACEOF
33432 #define HAVE_SCHED_YIELD 1
33437 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33438 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33439 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33440 echo $ECHO_N "(cached) $ECHO_C" >&6
33442 ac_check_lib_save_LIBS
=$LIBS
33443 LIBS
="-lposix4 $LIBS"
33444 cat >conftest.
$ac_ext <<_ACEOF
33447 cat confdefs.h
>>conftest.
$ac_ext
33448 cat >>conftest.
$ac_ext <<_ACEOF
33449 /* end confdefs.h. */
33451 /* Override any gcc2 internal prototype to avoid an error. */
33455 /* We use char because int might match the return type of a gcc2
33456 builtin and then its argument prototype would still apply. */
33457 char sched_yield ();
33466 rm -f conftest.
$ac_objext conftest
$ac_exeext
33467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33468 (eval $ac_link) 2>conftest.er1
33470 grep -v '^ *+' conftest.er1
>conftest.err
33472 cat conftest.err
>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); } &&
33475 { ac_try
='test -z "$ac_c_werror_flag"
33476 || test ! -s conftest.err'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; } &&
33482 { ac_try
='test -s conftest$ac_exeext'
33483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33484 (eval $ac_try) 2>&5
33486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33487 (exit $ac_status); }; }; then
33488 ac_cv_lib_posix4_sched_yield
=yes
33490 echo "$as_me: failed program was:" >&5
33491 sed 's/^/| /' conftest.
$ac_ext >&5
33493 ac_cv_lib_posix4_sched_yield
=no
33495 rm -f conftest.err conftest.
$ac_objext \
33496 conftest
$ac_exeext conftest.
$ac_ext
33497 LIBS
=$ac_check_lib_save_LIBS
33499 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33500 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33501 if test $ac_cv_lib_posix4_sched_yield = yes; then
33502 cat >>confdefs.h
<<\_ACEOF
33503 #define HAVE_SCHED_YIELD 1
33505 POSIX4_LINK
=" -lposix4"
33507 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33508 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33519 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33520 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33521 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33522 echo $ECHO_N "(cached) $ECHO_C" >&6
33524 cat >conftest.
$ac_ext <<_ACEOF
33527 cat confdefs.h
>>conftest.
$ac_ext
33528 cat >>conftest.
$ac_ext <<_ACEOF
33529 /* end confdefs.h. */
33530 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33532 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33534 /* System header to define __stub macros and hopefully few prototypes,
33535 which can conflict with char pthread_attr_getschedpolicy (); below.
33536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33537 <limits.h> exists even on freestanding compilers. */
33540 # include <limits.h>
33542 # include <assert.h>
33545 #undef pthread_attr_getschedpolicy
33547 /* Override any gcc2 internal prototype to avoid an error. */
33552 /* We use char because int might match the return type of a gcc2
33553 builtin and then its argument prototype would still apply. */
33554 char pthread_attr_getschedpolicy ();
33555 /* The GNU C library defines this for functions which it implements
33556 to always fail with ENOSYS. Some functions are actually named
33557 something starting with __ and the normal name is an alias. */
33558 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33561 char (*f) () = pthread_attr_getschedpolicy;
33570 return f != pthread_attr_getschedpolicy;
33575 rm -f conftest.
$ac_objext conftest
$ac_exeext
33576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33577 (eval $ac_link) 2>conftest.er1
33579 grep -v '^ *+' conftest.er1
>conftest.err
33581 cat conftest.err
>&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); } &&
33584 { ac_try
='test -z "$ac_c_werror_flag"
33585 || test ! -s conftest.err'
33586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33587 (eval $ac_try) 2>&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); }; } &&
33591 { ac_try
='test -s conftest$ac_exeext'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; }; then
33597 ac_cv_func_pthread_attr_getschedpolicy
=yes
33599 echo "$as_me: failed program was:" >&5
33600 sed 's/^/| /' conftest.
$ac_ext >&5
33602 ac_cv_func_pthread_attr_getschedpolicy
=no
33604 rm -f conftest.err conftest.
$ac_objext \
33605 conftest
$ac_exeext conftest.
$ac_ext
33607 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33608 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33609 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33610 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33611 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33612 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33613 echo $ECHO_N "(cached) $ECHO_C" >&6
33615 cat >conftest.
$ac_ext <<_ACEOF
33618 cat confdefs.h
>>conftest.
$ac_ext
33619 cat >>conftest.
$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33621 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33623 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33625 /* System header to define __stub macros and hopefully few prototypes,
33626 which can conflict with char pthread_attr_setschedparam (); below.
33627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33628 <limits.h> exists even on freestanding compilers. */
33631 # include <limits.h>
33633 # include <assert.h>
33636 #undef pthread_attr_setschedparam
33638 /* Override any gcc2 internal prototype to avoid an error. */
33643 /* We use char because int might match the return type of a gcc2
33644 builtin and then its argument prototype would still apply. */
33645 char pthread_attr_setschedparam ();
33646 /* The GNU C library defines this for functions which it implements
33647 to always fail with ENOSYS. Some functions are actually named
33648 something starting with __ and the normal name is an alias. */
33649 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33652 char (*f) () = pthread_attr_setschedparam;
33661 return f != pthread_attr_setschedparam;
33666 rm -f conftest.
$ac_objext conftest
$ac_exeext
33667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33668 (eval $ac_link) 2>conftest.er1
33670 grep -v '^ *+' conftest.er1
>conftest.err
33672 cat conftest.err
>&5
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); } &&
33675 { ac_try
='test -z "$ac_c_werror_flag"
33676 || test ! -s conftest.err'
33677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678 (eval $ac_try) 2>&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; } &&
33682 { ac_try
='test -s conftest$ac_exeext'
33683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684 (eval $ac_try) 2>&5
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); }; }; then
33688 ac_cv_func_pthread_attr_setschedparam
=yes
33690 echo "$as_me: failed program was:" >&5
33691 sed 's/^/| /' conftest.
$ac_ext >&5
33693 ac_cv_func_pthread_attr_setschedparam
=no
33695 rm -f conftest.err conftest.
$ac_objext \
33696 conftest
$ac_exeext conftest.
$ac_ext
33698 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33699 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33700 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33701 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33702 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33703 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 cat >conftest.
$ac_ext <<_ACEOF
33709 cat confdefs.h
>>conftest.
$ac_ext
33710 cat >>conftest.
$ac_ext <<_ACEOF
33711 /* end confdefs.h. */
33712 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33714 #define sched_get_priority_max innocuous_sched_get_priority_max
33716 /* System header to define __stub macros and hopefully few prototypes,
33717 which can conflict with char sched_get_priority_max (); below.
33718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33719 <limits.h> exists even on freestanding compilers. */
33722 # include <limits.h>
33724 # include <assert.h>
33727 #undef sched_get_priority_max
33729 /* Override any gcc2 internal prototype to avoid an error. */
33734 /* We use char because int might match the return type of a gcc2
33735 builtin and then its argument prototype would still apply. */
33736 char sched_get_priority_max ();
33737 /* The GNU C library defines this for functions which it implements
33738 to always fail with ENOSYS. Some functions are actually named
33739 something starting with __ and the normal name is an alias. */
33740 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33743 char (*f) () = sched_get_priority_max;
33752 return f != sched_get_priority_max;
33757 rm -f conftest.
$ac_objext conftest
$ac_exeext
33758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33759 (eval $ac_link) 2>conftest.er1
33761 grep -v '^ *+' conftest.er1
>conftest.err
33763 cat conftest.err
>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } &&
33766 { ac_try
='test -z "$ac_c_werror_flag"
33767 || test ! -s conftest.err'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; } &&
33773 { ac_try
='test -s conftest$ac_exeext'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; }; then
33779 ac_cv_func_sched_get_priority_max
=yes
33781 echo "$as_me: failed program was:" >&5
33782 sed 's/^/| /' conftest.
$ac_ext >&5
33784 ac_cv_func_sched_get_priority_max
=no
33786 rm -f conftest.err conftest.
$ac_objext \
33787 conftest
$ac_exeext conftest.
$ac_ext
33789 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33790 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33791 if test $ac_cv_func_sched_get_priority_max = yes; then
33794 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33795 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33796 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33799 ac_check_lib_save_LIBS
=$LIBS
33800 LIBS
="-lposix4 $LIBS"
33801 cat >conftest.
$ac_ext <<_ACEOF
33804 cat confdefs.h
>>conftest.
$ac_ext
33805 cat >>conftest.
$ac_ext <<_ACEOF
33806 /* end confdefs.h. */
33808 /* Override any gcc2 internal prototype to avoid an error. */
33812 /* We use char because int might match the return type of a gcc2
33813 builtin and then its argument prototype would still apply. */
33814 char sched_get_priority_max ();
33818 sched_get_priority_max ();
33823 rm -f conftest.
$ac_objext conftest
$ac_exeext
33824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33825 (eval $ac_link) 2>conftest.er1
33827 grep -v '^ *+' conftest.er1
>conftest.err
33829 cat conftest.err
>&5
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); } &&
33832 { ac_try
='test -z "$ac_c_werror_flag"
33833 || test ! -s conftest.err'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; } &&
33839 { ac_try
='test -s conftest$ac_exeext'
33840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33841 (eval $ac_try) 2>&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33845 ac_cv_lib_posix4_sched_get_priority_max
=yes
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.
$ac_ext >&5
33850 ac_cv_lib_posix4_sched_get_priority_max
=no
33852 rm -f conftest.err conftest.
$ac_objext \
33853 conftest
$ac_exeext conftest.
$ac_ext
33854 LIBS
=$ac_check_lib_save_LIBS
33856 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33857 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33858 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33861 POSIX4_LINK
=" -lposix4"
33875 if test "$HAVE_PRIOR_FUNCS" = 1; then
33876 cat >>confdefs.h
<<\_ACEOF
33877 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33881 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33882 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33885 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33886 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33887 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33888 echo $ECHO_N "(cached) $ECHO_C" >&6
33890 cat >conftest.
$ac_ext <<_ACEOF
33893 cat confdefs.h
>>conftest.
$ac_ext
33894 cat >>conftest.
$ac_ext <<_ACEOF
33895 /* end confdefs.h. */
33896 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33898 #define pthread_cancel innocuous_pthread_cancel
33900 /* System header to define __stub macros and hopefully few prototypes,
33901 which can conflict with char pthread_cancel (); below.
33902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33903 <limits.h> exists even on freestanding compilers. */
33906 # include <limits.h>
33908 # include <assert.h>
33911 #undef pthread_cancel
33913 /* Override any gcc2 internal prototype to avoid an error. */
33918 /* We use char because int might match the return type of a gcc2
33919 builtin and then its argument prototype would still apply. */
33920 char pthread_cancel ();
33921 /* The GNU C library defines this for functions which it implements
33922 to always fail with ENOSYS. Some functions are actually named
33923 something starting with __ and the normal name is an alias. */
33924 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33927 char (*f) () = pthread_cancel;
33936 return f != pthread_cancel;
33941 rm -f conftest.
$ac_objext conftest
$ac_exeext
33942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33943 (eval $ac_link) 2>conftest.er1
33945 grep -v '^ *+' conftest.er1
>conftest.err
33947 cat conftest.err
>&5
33948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33949 (exit $ac_status); } &&
33950 { ac_try
='test -z "$ac_c_werror_flag"
33951 || test ! -s conftest.err'
33952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953 (eval $ac_try) 2>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); }; } &&
33957 { ac_try
='test -s conftest$ac_exeext'
33958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33959 (eval $ac_try) 2>&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); }; }; then
33963 ac_cv_func_pthread_cancel
=yes
33965 echo "$as_me: failed program was:" >&5
33966 sed 's/^/| /' conftest.
$ac_ext >&5
33968 ac_cv_func_pthread_cancel
=no
33970 rm -f conftest.err conftest.
$ac_objext \
33971 conftest
$ac_exeext conftest.
$ac_ext
33973 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33974 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33975 if test $ac_cv_func_pthread_cancel = yes; then
33976 cat >>confdefs.h
<<\_ACEOF
33977 #define HAVE_PTHREAD_CANCEL 1
33981 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33982 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33988 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33989 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33990 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 cat >conftest.
$ac_ext <<_ACEOF
33997 cat confdefs.h
>>conftest.
$ac_ext
33998 cat >>conftest.
$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 #include <pthread.h>
34005 pthread_mutexattr_t attr;
34006 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34012 rm -f conftest.
$ac_objext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34014 (eval $ac_compile) 2>conftest.er1
34016 grep -v '^ *+' conftest.er1
>conftest.err
34018 cat conftest.err
>&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try
='test -z "$ac_c_werror_flag"
34022 || test ! -s conftest.err'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; } &&
34028 { ac_try
='test -s conftest.$ac_objext'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; }; then
34035 wx_cv_type_pthread_mutexattr_t
=yes
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.
$ac_ext >&5
34042 wx_cv_type_pthread_mutexattr_t
=no
34046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34049 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34050 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34052 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34053 cat >>confdefs.h
<<\_ACEOF
34054 #define HAVE_PTHREAD_MUTEXATTR_T 1
34058 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34059 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34060 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 cat >conftest.
$ac_ext <<_ACEOF
34067 cat confdefs.h
>>conftest.
$ac_ext
34068 cat >>conftest.
$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 #include <pthread.h>
34075 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34081 rm -f conftest.
$ac_objext
34082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34083 (eval $ac_compile) 2>conftest.er1
34085 grep -v '^ *+' conftest.er1
>conftest.err
34087 cat conftest.err
>&5
34088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34089 (exit $ac_status); } &&
34090 { ac_try
='test -z "$ac_c_werror_flag"
34091 || test ! -s conftest.err'
34092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34093 (eval $ac_try) 2>&5
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); }; } &&
34097 { ac_try
='test -s conftest.$ac_objext'
34098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34099 (eval $ac_try) 2>&5
34101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102 (exit $ac_status); }; }; then
34104 wx_cv_type_pthread_rec_mutex_init
=yes
34107 echo "$as_me: failed program was:" >&5
34108 sed 's/^/| /' conftest.
$ac_ext >&5
34111 wx_cv_type_pthread_rec_mutex_init
=no
34115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34118 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34119 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34120 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34121 cat >>confdefs.h
<<\_ACEOF
34122 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34126 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34127 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34133 if test "$wxUSE_THREADS" = "yes" ; then
34136 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34137 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34138 if test "${wx_cv_cflags_mthread+set}" = set; then
34139 echo $ECHO_N "(cached) $ECHO_C" >&6
34142 CFLAGS_OLD
="$CFLAGS"
34143 CFLAGS
="$CFLAGS -mthreads"
34144 cat >conftest.
$ac_ext <<_ACEOF
34147 cat confdefs.h
>>conftest.
$ac_ext
34148 cat >>conftest.
$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34159 rm -f conftest.
$ac_objext
34160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34161 (eval $ac_compile) 2>conftest.er1
34163 grep -v '^ *+' conftest.er1
>conftest.err
34165 cat conftest.err
>&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); } &&
34168 { ac_try
='test -z "$ac_c_werror_flag"
34169 || test ! -s conftest.err'
34170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34171 (eval $ac_try) 2>&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); }; } &&
34175 { ac_try
='test -s conftest.$ac_objext'
34176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34177 (eval $ac_try) 2>&5
34179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34180 (exit $ac_status); }; }; then
34181 wx_cv_cflags_mthread
=yes
34183 echo "$as_me: failed program was:" >&5
34184 sed 's/^/| /' conftest.
$ac_ext >&5
34186 wx_cv_cflags_mthread
=no
34189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34193 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34194 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34196 if test "$wx_cv_cflags_mthread" = "yes"; then
34197 CXXFLAGS
="$CXXFLAGS -mthreads"
34198 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34199 LDFLAGS
="$LDFLAGS -mthreads"
34201 CFLAGS
="$CFLAGS_OLD"
34205 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34206 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34207 LDFLAGS
="$LDFLAGS -Zmt"
34213 if test "$wxUSE_THREADS" = "yes"; then
34214 cat >>confdefs.h
<<\_ACEOF
34215 #define wxUSE_THREADS 1
34219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34221 if test "$ac_cv_func_strtok_r" = "yes"; then
34222 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34223 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34224 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34225 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34226 echo "$as_me:$LINENO: result: yes" >&5
34227 echo "${ECHO_T}yes" >&6
34229 echo "$as_me:$LINENO: result: no" >&5
34230 echo "${ECHO_T}no" >&6
34235 if test "$WXGTK20" = 1 ; then
34236 cat >>confdefs.h
<<_ACEOF
34237 #define __WXGTK20__ $WXGTK20
34243 if test "$WXGTK12" = 1 ; then
34244 cat >>confdefs.h
<<_ACEOF
34245 #define __WXGTK12__ $WXGTK12
34250 if test "$WXGTK127" = 1 ; then
34251 cat >>confdefs.h
<<_ACEOF
34252 #define __WXGTK127__ $WXGTK127
34257 if test "$WXGPE" = 1 ; then
34258 cat >>confdefs.h
<<_ACEOF
34259 #define __WXGPE__ $WXGPE
34266 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34271 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34272 wxUSE_DEBUG_INFO
=yes
34276 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34277 cat >>confdefs.h
<<\_ACEOF
34281 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34283 if test "$wxUSE_GTK" = 1 ; then
34284 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34288 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34289 cat >>confdefs.h
<<\_ACEOF
34290 #define wxUSE_MEMORY_TRACING 1
34293 cat >>confdefs.h
<<\_ACEOF
34294 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34297 cat >>confdefs.h
<<\_ACEOF
34298 #define wxUSE_DEBUG_NEW_ALWAYS 1
34301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34304 if test "$wxUSE_DMALLOC" = "yes" ; then
34305 DMALLOC_LIBS
="-ldmalloc"
34309 if test "$wxUSE_PROFILE" = "yes" ; then
34314 CODE_GEN_FLAGS_CXX
=
34315 if test "$GCC" = "yes" ; then
34316 if test "$wxUSE_NO_RTTI" = "yes" ; then
34317 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34319 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34320 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34322 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34323 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34328 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34331 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34337 if test "$wxUSE_OPTIMISE" = "no" ; then
34338 if test "$GCC" = yes ; then
34342 if test "$GCC" = yes ; then
34346 i586
-*-*|i686
-*-* )
34347 OPTIMISE
="${OPTIMISE} "
34356 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34357 cat >>confdefs.h
<<\_ACEOF
34358 #define WXWIN_COMPATIBILITY_2_2 1
34362 WXWIN_COMPATIBILITY_2_4
="yes"
34365 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34366 cat >>confdefs.h
<<\_ACEOF
34367 #define WXWIN_COMPATIBILITY_2_4 1
34373 if test "$wxUSE_GUI" = "yes"; then
34374 cat >>confdefs.h
<<\_ACEOF
34375 #define wxUSE_GUI 1
34380 cat >>confdefs.h
<<\_ACEOF
34381 #define wxUSE_NOGUI 1
34387 if test "$wxUSE_UNIX" = "yes"; then
34388 cat >>confdefs.h
<<\_ACEOF
34389 #define wxUSE_UNIX 1
34395 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34399 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34400 if test "$USE_DARWIN" = 1; then
34404 for ac_func
in dlopen
34406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34407 echo "$as_me:$LINENO: checking for $ac_func" >&5
34408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34409 if eval "test \"\${$as_ac_var+set}\" = set"; then
34410 echo $ECHO_N "(cached) $ECHO_C" >&6
34412 cat >conftest.
$ac_ext <<_ACEOF
34415 cat confdefs.h
>>conftest.
$ac_ext
34416 cat >>conftest.
$ac_ext <<_ACEOF
34417 /* end confdefs.h. */
34418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34420 #define $ac_func innocuous_$ac_func
34422 /* System header to define __stub macros and hopefully few prototypes,
34423 which can conflict with char $ac_func (); below.
34424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34425 <limits.h> exists even on freestanding compilers. */
34428 # include <limits.h>
34430 # include <assert.h>
34435 /* Override any gcc2 internal prototype to avoid an error. */
34440 /* We use char because int might match the return type of a gcc2
34441 builtin and then its argument prototype would still apply. */
34443 /* The GNU C library defines this for functions which it implements
34444 to always fail with ENOSYS. Some functions are actually named
34445 something starting with __ and the normal name is an alias. */
34446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34449 char (*f) () = $ac_func;
34458 return f != $ac_func;
34463 rm -f conftest.
$ac_objext conftest
$ac_exeext
34464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34465 (eval $ac_link) 2>conftest.er1
34467 grep -v '^ *+' conftest.er1
>conftest.err
34469 cat conftest.err
>&5
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); } &&
34472 { ac_try
='test -z "$ac_c_werror_flag"
34473 || test ! -s conftest.err'
34474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475 (eval $ac_try) 2>&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); }; } &&
34479 { ac_try
='test -s conftest$ac_exeext'
34480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34481 (eval $ac_try) 2>&5
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); }; }; then
34485 eval "$as_ac_var=yes"
34487 echo "$as_me: failed program was:" >&5
34488 sed 's/^/| /' conftest.
$ac_ext >&5
34490 eval "$as_ac_var=no"
34492 rm -f conftest.err conftest.
$ac_objext \
34493 conftest
$ac_exeext conftest.
$ac_ext
34495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34497 if test `eval echo '${'$as_ac_var'}'` = yes; then
34498 cat >>confdefs.h
<<_ACEOF
34499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34502 cat >>confdefs.h
<<\_ACEOF
34503 #define HAVE_DLOPEN 1
34510 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34511 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34512 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34513 echo $ECHO_N "(cached) $ECHO_C" >&6
34515 ac_check_lib_save_LIBS
=$LIBS
34517 cat >conftest.
$ac_ext <<_ACEOF
34520 cat confdefs.h
>>conftest.
$ac_ext
34521 cat >>conftest.
$ac_ext <<_ACEOF
34522 /* end confdefs.h. */
34524 /* Override any gcc2 internal prototype to avoid an error. */
34528 /* We use char because int might match the return type of a gcc2
34529 builtin and then its argument prototype would still apply. */
34539 rm -f conftest.
$ac_objext conftest
$ac_exeext
34540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34541 (eval $ac_link) 2>conftest.er1
34543 grep -v '^ *+' conftest.er1
>conftest.err
34545 cat conftest.err
>&5
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); } &&
34548 { ac_try
='test -z "$ac_c_werror_flag"
34549 || test ! -s conftest.err'
34550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551 (eval $ac_try) 2>&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); }; } &&
34555 { ac_try
='test -s conftest$ac_exeext'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; }; then
34561 ac_cv_lib_dl_dlopen
=yes
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.
$ac_ext >&5
34566 ac_cv_lib_dl_dlopen
=no
34568 rm -f conftest.err conftest.
$ac_objext \
34569 conftest
$ac_exeext conftest.
$ac_ext
34570 LIBS
=$ac_check_lib_save_LIBS
34572 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34573 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34574 if test $ac_cv_lib_dl_dlopen = yes; then
34576 cat >>confdefs.h
<<\_ACEOF
34577 #define HAVE_DLOPEN 1
34581 DL_LINK
=" -ldl$DL_LINK"
34586 for ac_func
in shl_load
34588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34589 echo "$as_me:$LINENO: checking for $ac_func" >&5
34590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34591 if eval "test \"\${$as_ac_var+set}\" = set"; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 cat >conftest.
$ac_ext <<_ACEOF
34597 cat confdefs.h
>>conftest.
$ac_ext
34598 cat >>conftest.
$ac_ext <<_ACEOF
34599 /* end confdefs.h. */
34600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34602 #define $ac_func innocuous_$ac_func
34604 /* System header to define __stub macros and hopefully few prototypes,
34605 which can conflict with char $ac_func (); below.
34606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34607 <limits.h> exists even on freestanding compilers. */
34610 # include <limits.h>
34612 # include <assert.h>
34617 /* Override any gcc2 internal prototype to avoid an error. */
34622 /* We use char because int might match the return type of a gcc2
34623 builtin and then its argument prototype would still apply. */
34625 /* The GNU C library defines this for functions which it implements
34626 to always fail with ENOSYS. Some functions are actually named
34627 something starting with __ and the normal name is an alias. */
34628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34631 char (*f) () = $ac_func;
34640 return f != $ac_func;
34645 rm -f conftest.
$ac_objext conftest
$ac_exeext
34646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34647 (eval $ac_link) 2>conftest.er1
34649 grep -v '^ *+' conftest.er1
>conftest.err
34651 cat conftest.err
>&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); } &&
34654 { ac_try
='test -z "$ac_c_werror_flag"
34655 || test ! -s conftest.err'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; } &&
34661 { ac_try
='test -s conftest$ac_exeext'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; }; then
34667 eval "$as_ac_var=yes"
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.
$ac_ext >&5
34672 eval "$as_ac_var=no"
34674 rm -f conftest.err conftest.
$ac_objext \
34675 conftest
$ac_exeext conftest.
$ac_ext
34677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34679 if test `eval echo '${'$as_ac_var'}'` = yes; then
34680 cat >>confdefs.h
<<_ACEOF
34681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34684 cat >>confdefs.h
<<\_ACEOF
34685 #define HAVE_SHL_LOAD 1
34692 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34693 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34694 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34695 echo $ECHO_N "(cached) $ECHO_C" >&6
34697 ac_check_lib_save_LIBS
=$LIBS
34698 LIBS
="-lshl_load $LIBS"
34699 cat >conftest.
$ac_ext <<_ACEOF
34702 cat confdefs.h
>>conftest.
$ac_ext
34703 cat >>conftest.
$ac_ext <<_ACEOF
34704 /* end confdefs.h. */
34706 /* Override any gcc2 internal prototype to avoid an error. */
34710 /* We use char because int might match the return type of a gcc2
34711 builtin and then its argument prototype would still apply. */
34721 rm -f conftest.
$ac_objext conftest
$ac_exeext
34722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34723 (eval $ac_link) 2>conftest.er1
34725 grep -v '^ *+' conftest.er1
>conftest.err
34727 cat conftest.err
>&5
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); } &&
34730 { ac_try
='test -z "$ac_c_werror_flag"
34731 || test ! -s conftest.err'
34732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34733 (eval $ac_try) 2>&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); }; } &&
34737 { ac_try
='test -s conftest$ac_exeext'
34738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34739 (eval $ac_try) 2>&5
34741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34742 (exit $ac_status); }; }; then
34743 ac_cv_lib_shl_load_dld
=yes
34745 echo "$as_me: failed program was:" >&5
34746 sed 's/^/| /' conftest.
$ac_ext >&5
34748 ac_cv_lib_shl_load_dld
=no
34750 rm -f conftest.err conftest.
$ac_objext \
34751 conftest
$ac_exeext conftest.
$ac_ext
34752 LIBS
=$ac_check_lib_save_LIBS
34754 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34755 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34756 if test $ac_cv_lib_shl_load_dld = yes; then
34759 DL_LINK
=" -ldld$DL_LINK"
34775 if test "$HAVE_DL_FUNCS" = 1; then
34777 for ac_func
in dlerror
34779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34780 echo "$as_me:$LINENO: checking for $ac_func" >&5
34781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34782 if eval "test \"\${$as_ac_var+set}\" = set"; then
34783 echo $ECHO_N "(cached) $ECHO_C" >&6
34785 cat >conftest.
$ac_ext <<_ACEOF
34788 cat confdefs.h
>>conftest.
$ac_ext
34789 cat >>conftest.
$ac_ext <<_ACEOF
34790 /* end confdefs.h. */
34791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34793 #define $ac_func innocuous_$ac_func
34795 /* System header to define __stub macros and hopefully few prototypes,
34796 which can conflict with char $ac_func (); below.
34797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34798 <limits.h> exists even on freestanding compilers. */
34801 # include <limits.h>
34803 # include <assert.h>
34808 /* Override any gcc2 internal prototype to avoid an error. */
34813 /* We use char because int might match the return type of a gcc2
34814 builtin and then its argument prototype would still apply. */
34816 /* The GNU C library defines this for functions which it implements
34817 to always fail with ENOSYS. Some functions are actually named
34818 something starting with __ and the normal name is an alias. */
34819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34822 char (*f) () = $ac_func;
34831 return f != $ac_func;
34836 rm -f conftest.
$ac_objext conftest
$ac_exeext
34837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34838 (eval $ac_link) 2>conftest.er1
34840 grep -v '^ *+' conftest.er1
>conftest.err
34842 cat conftest.err
>&5
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); } &&
34845 { ac_try
='test -z "$ac_c_werror_flag"
34846 || test ! -s conftest.err'
34847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34848 (eval $ac_try) 2>&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); }; } &&
34852 { ac_try
='test -s conftest$ac_exeext'
34853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34854 (eval $ac_try) 2>&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); }; }; then
34858 eval "$as_ac_var=yes"
34860 echo "$as_me: failed program was:" >&5
34861 sed 's/^/| /' conftest.
$ac_ext >&5
34863 eval "$as_ac_var=no"
34865 rm -f conftest.err conftest.
$ac_objext \
34866 conftest
$ac_exeext conftest.
$ac_ext
34868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34870 if test `eval echo '${'$as_ac_var'}'` = yes; then
34871 cat >>confdefs.h
<<_ACEOF
34872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34874 cat >>confdefs.h
<<\_ACEOF
34875 #define HAVE_DLERROR 1
34880 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34881 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34882 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 ac_check_lib_save_LIBS
=$LIBS
34887 cat >conftest.
$ac_ext <<_ACEOF
34890 cat confdefs.h
>>conftest.
$ac_ext
34891 cat >>conftest.
$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34894 /* Override any gcc2 internal prototype to avoid an error. */
34898 /* We use char because int might match the return type of a gcc2
34899 builtin and then its argument prototype would still apply. */
34909 rm -f conftest.
$ac_objext conftest
$ac_exeext
34910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34911 (eval $ac_link) 2>conftest.er1
34913 grep -v '^ *+' conftest.er1
>conftest.err
34915 cat conftest.err
>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try
='test -z "$ac_c_werror_flag"
34919 || test ! -s conftest.err'
34920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34921 (eval $ac_try) 2>&5
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); }; } &&
34925 { ac_try
='test -s conftest$ac_exeext'
34926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927 (eval $ac_try) 2>&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); }; }; then
34931 ac_cv_lib_dl_dlerror
=yes
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.
$ac_ext >&5
34936 ac_cv_lib_dl_dlerror
=no
34938 rm -f conftest.err conftest.
$ac_objext \
34939 conftest
$ac_exeext conftest.
$ac_ext
34940 LIBS
=$ac_check_lib_save_LIBS
34942 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34943 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34944 if test $ac_cv_lib_dl_dlerror = yes; then
34945 cat >>confdefs.h
<<\_ACEOF
34946 #define HAVE_DLERROR 1
34959 if test "$HAVE_DL_FUNCS" = 0; then
34960 if test "$HAVE_SHL_FUNCS" = 0; then
34961 if test "$USE_UNIX" = 1; then
34962 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34963 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34964 wxUSE_DYNAMIC_LOADER
=no
34965 wxUSE_DYNLIB_CLASS
=no
34967 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34968 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34975 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34976 cat >>confdefs.h
<<\_ACEOF
34977 #define wxUSE_DYNAMIC_LOADER 1
34981 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34982 cat >>confdefs.h
<<\_ACEOF
34983 #define wxUSE_DYNLIB_CLASS 1
34990 if test "$wxUSE_PLUGINS" = "yes" ; then
34991 if test "$wxUSE_SHARED" = "no" ; then
34992 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34993 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34996 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34997 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34998 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35001 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35002 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35003 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35006 if test "$wxUSE_PLUGINS" = "yes" ; then
35007 cat >>confdefs.h
<<\_ACEOF
35008 #define wxUSE_PLUGINS 1
35015 if test "$wxUSE_STL" = "yes"; then
35016 cat >>confdefs.h
<<\_ACEOF
35017 #define wxUSE_STL 1
35022 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35023 cat >>confdefs.h
<<\_ACEOF
35024 #define wxUSE_APPLE_IEEE 1
35029 if test "$wxUSE_TIMER" = "yes"; then
35030 cat >>confdefs.h
<<\_ACEOF
35031 #define wxUSE_TIMER 1
35037 if test "$wxUSE_SOUND" = "yes"; then
35038 if test "$USE_UNIX" = "1" ; then
35040 for ac_header
in sys
/soundcard.h
35042 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35044 echo "$as_me:$LINENO: checking for $ac_header" >&5
35045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35047 echo $ECHO_N "(cached) $ECHO_C" >&6
35049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35052 # Is the header compilable?
35053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35055 cat >conftest.
$ac_ext <<_ACEOF
35058 cat confdefs.h
>>conftest.
$ac_ext
35059 cat >>conftest.
$ac_ext <<_ACEOF
35060 /* end confdefs.h. */
35061 $ac_includes_default
35062 #include <$ac_header>
35064 rm -f conftest.
$ac_objext
35065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35066 (eval $ac_compile) 2>conftest.er1
35068 grep -v '^ *+' conftest.er1
>conftest.err
35070 cat conftest.err
>&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); } &&
35073 { ac_try
='test -z "$ac_c_werror_flag"
35074 || test ! -s conftest.err'
35075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35076 (eval $ac_try) 2>&5
35078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 (exit $ac_status); }; } &&
35080 { ac_try
='test -s conftest.$ac_objext'
35081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35082 (eval $ac_try) 2>&5
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); }; }; then
35086 ac_header_compiler
=yes
35088 echo "$as_me: failed program was:" >&5
35089 sed 's/^/| /' conftest.
$ac_ext >&5
35091 ac_header_compiler
=no
35093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35095 echo "${ECHO_T}$ac_header_compiler" >&6
35097 # Is the header present?
35098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35100 cat >conftest.
$ac_ext <<_ACEOF
35103 cat confdefs.h
>>conftest.
$ac_ext
35104 cat >>conftest.
$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35106 #include <$ac_header>
35108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35111 grep -v '^ *+' conftest.er1
>conftest.err
35113 cat conftest.err
>&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); } >/dev
/null
; then
35116 if test -s conftest.err
; then
35117 ac_cpp_err
=$ac_c_preproc_warn_flag
35118 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35125 if test -z "$ac_cpp_err"; then
35126 ac_header_preproc
=yes
35128 echo "$as_me: failed program was:" >&5
35129 sed 's/^/| /' conftest.
$ac_ext >&5
35131 ac_header_preproc
=no
35133 rm -f conftest.err conftest.
$ac_ext
35134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35135 echo "${ECHO_T}$ac_header_preproc" >&6
35137 # So? What about this header?
35138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35144 ac_header_preproc
=yes
35147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35161 ## ----------------------------------------- ##
35162 ## Report this to wx-dev@lists.wxwidgets.org ##
35163 ## ----------------------------------------- ##
35166 sed "s/^/$as_me: WARNING: /" >&2
35169 echo "$as_me:$LINENO: checking for $ac_header" >&5
35170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35172 echo $ECHO_N "(cached) $ECHO_C" >&6
35174 eval "$as_ac_Header=\$ac_header_preproc"
35176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35181 cat >>confdefs.h
<<_ACEOF
35182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35190 if test "$wxUSE_LIBSDL" != "no"; then
35192 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35193 if test "${with_sdl_prefix+set}" = set; then
35194 withval
="$with_sdl_prefix"
35195 sdl_prefix
="$withval"
35200 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35201 if test "${with_sdl_exec_prefix+set}" = set; then
35202 withval
="$with_sdl_exec_prefix"
35203 sdl_exec_prefix
="$withval"
35207 # Check whether --enable-sdltest or --disable-sdltest was given.
35208 if test "${enable_sdltest+set}" = set; then
35209 enableval
="$enable_sdltest"
35215 if test x
$sdl_exec_prefix != x
; then
35216 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35217 if test x
${SDL_CONFIG+set} != xset
; then
35218 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35221 if test x
$sdl_prefix != x
; then
35222 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35223 if test x
${SDL_CONFIG+set} != xset
; then
35224 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35229 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35230 # Extract the first word of "sdl-config", so it can be a program name with args.
35231 set dummy sdl
-config; ac_word
=$2
35232 echo "$as_me:$LINENO: checking for $ac_word" >&5
35233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35234 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35235 echo $ECHO_N "(cached) $ECHO_C" >&6
35237 case $SDL_CONFIG in
35239 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35243 for as_dir
in $PATH
35246 test -z "$as_dir" && as_dir
=.
35247 for ac_exec_ext
in '' $ac_executable_extensions; do
35248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35249 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35256 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35260 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35262 if test -n "$SDL_CONFIG"; then
35263 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35264 echo "${ECHO_T}$SDL_CONFIG" >&6
35266 echo "$as_me:$LINENO: result: no" >&5
35267 echo "${ECHO_T}no" >&6
35270 min_sdl_version
=1.2.0
35271 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35272 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35274 if test "$SDL_CONFIG" = "no" ; then
35277 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35278 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35280 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35281 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35282 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35283 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35284 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35286 if test "x$enable_sdltest" = "xyes" ; then
35287 ac_save_CFLAGS
="$CFLAGS"
35288 ac_save_LIBS
="$LIBS"
35289 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35290 LIBS
="$LIBS $SDL_LIBS"
35292 if test "$cross_compiling" = yes; then
35293 echo $ac_n "cross compiling; assumed OK... $ac_c"
35295 cat >conftest.
$ac_ext <<_ACEOF
35298 cat confdefs.h
>>conftest.
$ac_ext
35299 cat >>conftest.
$ac_ext <<_ACEOF
35300 /* end confdefs.h. */
35303 #include <stdlib.h>
35304 #include <string.h>
35308 my_strdup (char *str)
35314 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35315 strcpy (new_str, str);
35323 int main (int argc, char *argv[])
35325 int major, minor, micro;
35328 /* This hangs on some systems (?)
35329 system ("touch conf.sdltest");
35331 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35333 /* HP/UX 9 (%@#!) writes to sscanf strings */
35334 tmp_version = my_strdup("$min_sdl_version");
35335 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35336 printf("%s, bad version string\n", "$min_sdl_version");
35340 if (($sdl_major_version > major) ||
35341 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35342 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35348 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35349 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35350 printf("*** best to upgrade to the required version.\n");
35351 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35352 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35353 printf("*** config.cache before re-running configure\n");
35360 rm -f conftest
$ac_exeext
35361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35362 (eval $ac_link) 2>&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367 (eval $ac_try) 2>&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); }; }; then
35373 echo "$as_me: program exited with status $ac_status" >&5
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.
$ac_ext >&5
35377 ( exit $ac_status )
35380 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35382 CFLAGS
="$ac_save_CFLAGS"
35383 LIBS
="$ac_save_LIBS"
35386 if test "x$no_sdl" = x
; then
35387 echo "$as_me:$LINENO: result: yes" >&5
35388 echo "${ECHO_T}yes" >&6
35390 EXTRALIBS_SDL
="$SDL_LIBS"
35391 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35392 cat >>confdefs.h
<<\_ACEOF
35393 #define wxUSE_LIBSDL 1
35398 echo "$as_me:$LINENO: result: no" >&5
35399 echo "${ECHO_T}no" >&6
35400 if test "$SDL_CONFIG" = "no" ; then
35401 echo "*** The sdl-config script installed by SDL could not be found"
35402 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35403 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35404 echo "*** full path to sdl-config."
35406 if test -f conf.sdltest
; then
35409 echo "*** Could not run SDL test program, checking why..."
35410 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35411 LIBS
="$LIBS $SDL_LIBS"
35412 cat >conftest.
$ac_ext <<_ACEOF
35415 cat confdefs.h
>>conftest.
$ac_ext
35416 cat >>conftest.
$ac_ext <<_ACEOF
35417 /* end confdefs.h. */
35422 int main(int argc, char *argv[])
35425 #define main K_and_R_C_main
35435 rm -f conftest.
$ac_objext conftest
$ac_exeext
35436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35437 (eval $ac_link) 2>conftest.er1
35439 grep -v '^ *+' conftest.er1
>conftest.err
35441 cat conftest.err
>&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } &&
35444 { ac_try
='test -z "$ac_c_werror_flag"
35445 || test ! -s conftest.err'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; } &&
35451 { ac_try
='test -s conftest$ac_exeext'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; }; then
35457 echo "*** The test program compiled, but did not run. This usually means"
35458 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35459 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35460 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35461 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35462 echo "*** is required on your system"
35464 echo "*** If you have an old version installed, it is best to remove it, although"
35465 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35467 echo "$as_me: failed program was:" >&5
35468 sed 's/^/| /' conftest.
$ac_ext >&5
35470 echo "*** The test program failed to compile or link. See the file config.log for the"
35471 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35472 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35473 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35475 rm -f conftest.err conftest.
$ac_objext \
35476 conftest
$ac_exeext conftest.
$ac_ext
35477 CFLAGS
="$ac_save_CFLAGS"
35478 LIBS
="$ac_save_LIBS"
35489 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35495 cat >>confdefs.h
<<\_ACEOF
35496 #define wxUSE_SOUND 1
35499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35502 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35503 cat >>confdefs.h
<<\_ACEOF
35504 #define wxUSE_CMDLINE_PARSER 1
35509 if test "$wxUSE_STOPWATCH" = "yes"; then
35510 cat >>confdefs.h
<<\_ACEOF
35511 #define wxUSE_STOPWATCH 1
35516 if test "$wxUSE_DATETIME" = "yes"; then
35517 cat >>confdefs.h
<<\_ACEOF
35518 #define wxUSE_DATETIME 1
35523 if test "$wxUSE_FILE" = "yes"; then
35524 cat >>confdefs.h
<<\_ACEOF
35525 #define wxUSE_FILE 1
35530 if test "$wxUSE_FFILE" = "yes"; then
35531 cat >>confdefs.h
<<\_ACEOF
35532 #define wxUSE_FFILE 1
35537 if test "$wxUSE_FILESYSTEM" = "yes"; then
35538 cat >>confdefs.h
<<\_ACEOF
35539 #define wxUSE_FILESYSTEM 1
35544 if test "$wxUSE_FS_ZIP" = "yes"; then
35545 cat >>confdefs.h
<<\_ACEOF
35546 #define wxUSE_FS_ZIP 1
35551 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35552 cat >>confdefs.h
<<\_ACEOF
35553 #define wxUSE_ZIPSTREAM 1
35558 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35559 cat >>confdefs.h
<<\_ACEOF
35560 #define wxUSE_ON_FATAL_EXCEPTION 1
35565 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35566 cat >>confdefs.h
<<\_ACEOF
35567 #define wxUSE_SNGLINST_CHECKER 1
35572 if test "$wxUSE_BUSYINFO" = "yes"; then
35573 cat >>confdefs.h
<<\_ACEOF
35574 #define wxUSE_BUSYINFO 1
35579 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35580 cat >>confdefs.h
<<\_ACEOF
35581 #define wxUSE_STD_IOSTREAM 1
35586 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35587 cat >>confdefs.h
<<\_ACEOF
35588 #define wxUSE_TEXTBUFFER 1
35593 if test "$wxUSE_TEXTFILE" = "yes"; then
35594 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35595 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35596 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35598 cat >>confdefs.h
<<\_ACEOF
35599 #define wxUSE_TEXTFILE 1
35605 if test "$wxUSE_CONFIG" = "yes" ; then
35606 if test "$wxUSE_TEXTFILE" != "yes"; then
35607 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35608 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35610 cat >>confdefs.h
<<\_ACEOF
35611 #define wxUSE_CONFIG 1
35614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35618 if test "$wxUSE_INTL" = "yes" ; then
35619 if test "$wxUSE_FILE" != "yes"; then
35620 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35621 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35623 cat >>confdefs.h
<<\_ACEOF
35624 #define wxUSE_INTL 1
35627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35628 GUIDIST
="$GUIDIST INTL_DIST"
35632 if test "$wxUSE_LOG" = "yes"; then
35633 cat >>confdefs.h
<<\_ACEOF
35634 #define wxUSE_LOG 1
35638 if test "$wxUSE_LOGGUI" = "yes"; then
35639 cat >>confdefs.h
<<\_ACEOF
35640 #define wxUSE_LOGGUI 1
35645 if test "$wxUSE_LOGWINDOW" = "yes"; then
35646 cat >>confdefs.h
<<\_ACEOF
35647 #define wxUSE_LOGWINDOW 1
35652 if test "$wxUSE_LOGDIALOG" = "yes"; then
35653 cat >>confdefs.h
<<\_ACEOF
35654 #define wxUSE_LOG_DIALOG 1
35660 if test "$wxUSE_LONGLONG" = "yes"; then
35661 cat >>confdefs.h
<<\_ACEOF
35662 #define wxUSE_LONGLONG 1
35667 if test "$wxUSE_GEOMETRY" = "yes"; then
35668 cat >>confdefs.h
<<\_ACEOF
35669 #define wxUSE_GEOMETRY 1
35674 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35675 cat >>confdefs.h
<<\_ACEOF
35676 #define wxUSE_DIALUP_MANAGER 1
35679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35682 if test "$wxUSE_STREAMS" = "yes" ; then
35683 cat >>confdefs.h
<<\_ACEOF
35684 #define wxUSE_STREAMS 1
35690 if test "$wxUSE_DATETIME" = "yes"; then
35692 for ac_func
in strptime
35694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35695 echo "$as_me:$LINENO: checking for $ac_func" >&5
35696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35697 if eval "test \"\${$as_ac_var+set}\" = set"; then
35698 echo $ECHO_N "(cached) $ECHO_C" >&6
35700 cat >conftest.
$ac_ext <<_ACEOF
35703 cat confdefs.h
>>conftest.
$ac_ext
35704 cat >>conftest.
$ac_ext <<_ACEOF
35705 /* end confdefs.h. */
35706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35708 #define $ac_func innocuous_$ac_func
35710 /* System header to define __stub macros and hopefully few prototypes,
35711 which can conflict with char $ac_func (); below.
35712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35713 <limits.h> exists even on freestanding compilers. */
35716 # include <limits.h>
35718 # include <assert.h>
35723 /* Override any gcc2 internal prototype to avoid an error. */
35728 /* We use char because int might match the return type of a gcc2
35729 builtin and then its argument prototype would still apply. */
35731 /* The GNU C library defines this for functions which it implements
35732 to always fail with ENOSYS. Some functions are actually named
35733 something starting with __ and the normal name is an alias. */
35734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35737 char (*f) () = $ac_func;
35746 return f != $ac_func;
35751 rm -f conftest.
$ac_objext conftest
$ac_exeext
35752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35753 (eval $ac_link) 2>conftest.er1
35755 grep -v '^ *+' conftest.er1
>conftest.err
35757 cat conftest.err
>&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } &&
35760 { ac_try
='test -z "$ac_c_werror_flag"
35761 || test ! -s conftest.err'
35762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35763 (eval $ac_try) 2>&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); }; } &&
35767 { ac_try
='test -s conftest$ac_exeext'
35768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35769 (eval $ac_try) 2>&5
35771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35772 (exit $ac_status); }; }; then
35773 eval "$as_ac_var=yes"
35775 echo "$as_me: failed program was:" >&5
35776 sed 's/^/| /' conftest.
$ac_ext >&5
35778 eval "$as_ac_var=no"
35780 rm -f conftest.err conftest.
$ac_objext \
35781 conftest
$ac_exeext conftest.
$ac_ext
35783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35785 if test `eval echo '${'$as_ac_var'}'` = yes; then
35786 cat >>confdefs.h
<<_ACEOF
35787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35794 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35795 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35796 if test "${wx_cv_var_timezone+set}" = set; then
35797 echo $ECHO_N "(cached) $ECHO_C" >&6
35800 cat >conftest.
$ac_ext <<_ACEOF
35803 cat confdefs.h
>>conftest.
$ac_ext
35804 cat >>conftest.
$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35820 rm -f conftest.
$ac_objext
35821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35822 (eval $ac_compile) 2>conftest.er1
35824 grep -v '^ *+' conftest.er1
>conftest.err
35826 cat conftest.err
>&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } &&
35829 { ac_try
='test -z "$ac_c_werror_flag"
35830 || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try
='test -s conftest.$ac_objext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35843 wx_cv_var_timezone
=timezone
35846 echo "$as_me: failed program was:" >&5
35847 sed 's/^/| /' conftest.
$ac_ext >&5
35850 cat >conftest.
$ac_ext <<_ACEOF
35853 cat confdefs.h
>>conftest.
$ac_ext
35854 cat >>conftest.
$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35870 rm -f conftest.
$ac_objext
35871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35872 (eval $ac_compile) 2>conftest.er1
35874 grep -v '^ *+' conftest.er1
>conftest.err
35876 cat conftest.err
>&5
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); } &&
35879 { ac_try
='test -z "$ac_c_werror_flag"
35880 || test ! -s conftest.err'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; } &&
35886 { ac_try
='test -s conftest.$ac_objext'
35887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35888 (eval $ac_try) 2>&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); }; }; then
35893 wx_cv_var_timezone
=_timezone
35896 echo "$as_me: failed program was:" >&5
35897 sed 's/^/| /' conftest.
$ac_ext >&5
35900 cat >conftest.
$ac_ext <<_ACEOF
35903 cat confdefs.h
>>conftest.
$ac_ext
35904 cat >>conftest.
$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35920 rm -f conftest.
$ac_objext
35921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35922 (eval $ac_compile) 2>conftest.er1
35924 grep -v '^ *+' conftest.er1
>conftest.err
35926 cat conftest.err
>&5
35927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35928 (exit $ac_status); } &&
35929 { ac_try
='test -z "$ac_c_werror_flag"
35930 || test ! -s conftest.err'
35931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35932 (eval $ac_try) 2>&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); }; } &&
35936 { ac_try
='test -s conftest.$ac_objext'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; }; then
35943 wx_cv_var_timezone
=__timezone
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.
$ac_ext >&5
35950 if test "$USE_DOS" = 0 ; then
35951 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35952 echo "$as_me: WARNING: no timezone variable" >&2;}
35957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35969 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35970 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35972 if test "x$wx_cv_var_timezone" != x
; then
35973 cat >>confdefs.h
<<_ACEOF
35974 #define WX_TIMEZONE $wx_cv_var_timezone
35980 for ac_func
in localtime
35982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35983 echo "$as_me:$LINENO: checking for $ac_func" >&5
35984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35985 if eval "test \"\${$as_ac_var+set}\" = set"; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35988 cat >conftest.
$ac_ext <<_ACEOF
35991 cat confdefs.h
>>conftest.
$ac_ext
35992 cat >>conftest.
$ac_ext <<_ACEOF
35993 /* end confdefs.h. */
35994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35996 #define $ac_func innocuous_$ac_func
35998 /* System header to define __stub macros and hopefully few prototypes,
35999 which can conflict with char $ac_func (); below.
36000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36001 <limits.h> exists even on freestanding compilers. */
36004 # include <limits.h>
36006 # include <assert.h>
36011 /* Override any gcc2 internal prototype to avoid an error. */
36016 /* We use char because int might match the return type of a gcc2
36017 builtin and then its argument prototype would still apply. */
36019 /* The GNU C library defines this for functions which it implements
36020 to always fail with ENOSYS. Some functions are actually named
36021 something starting with __ and the normal name is an alias. */
36022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36025 char (*f) () = $ac_func;
36034 return f != $ac_func;
36039 rm -f conftest.
$ac_objext conftest
$ac_exeext
36040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36041 (eval $ac_link) 2>conftest.er1
36043 grep -v '^ *+' conftest.er1
>conftest.err
36045 cat conftest.err
>&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } &&
36048 { ac_try
='test -z "$ac_c_werror_flag"
36049 || test ! -s conftest.err'
36050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36051 (eval $ac_try) 2>&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); }; } &&
36055 { ac_try
='test -s conftest$ac_exeext'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; }; then
36061 eval "$as_ac_var=yes"
36063 echo "$as_me: failed program was:" >&5
36064 sed 's/^/| /' conftest.
$ac_ext >&5
36066 eval "$as_ac_var=no"
36068 rm -f conftest.err conftest.
$ac_objext \
36069 conftest
$ac_exeext conftest.
$ac_ext
36071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36073 if test `eval echo '${'$as_ac_var'}'` = yes; then
36074 cat >>confdefs.h
<<_ACEOF
36075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36082 if test "$ac_cv_func_localtime" = "yes"; then
36083 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36084 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36085 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36086 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 cat >conftest.
$ac_ext <<_ACEOF
36092 cat confdefs.h
>>conftest.
$ac_ext
36093 cat >>conftest.
$ac_ext <<_ACEOF
36094 /* end confdefs.h. */
36109 rm -f conftest.
$ac_objext
36110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36111 (eval $ac_compile) 2>conftest.er1
36113 grep -v '^ *+' conftest.er1
>conftest.err
36115 cat conftest.err
>&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } &&
36118 { ac_try
='test -z "$ac_c_werror_flag"
36119 || test ! -s conftest.err'
36120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36121 (eval $ac_try) 2>&5
36123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 (exit $ac_status); }; } &&
36125 { ac_try
='test -s conftest.$ac_objext'
36126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36127 (eval $ac_try) 2>&5
36129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 (exit $ac_status); }; }; then
36132 wx_cv_struct_tm_has_gmtoff
=yes
36135 echo "$as_me: failed program was:" >&5
36136 sed 's/^/| /' conftest.
$ac_ext >&5
36138 wx_cv_struct_tm_has_gmtoff
=no
36141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36144 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36145 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36148 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36149 cat >>confdefs.h
<<\_ACEOF
36150 #define WX_GMTOFF_IN_TM 1
36157 for ac_func
in gettimeofday ftime
36159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36160 echo "$as_me:$LINENO: checking for $ac_func" >&5
36161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36162 if eval "test \"\${$as_ac_var+set}\" = set"; then
36163 echo $ECHO_N "(cached) $ECHO_C" >&6
36165 cat >conftest.
$ac_ext <<_ACEOF
36168 cat confdefs.h
>>conftest.
$ac_ext
36169 cat >>conftest.
$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36173 #define $ac_func innocuous_$ac_func
36175 /* System header to define __stub macros and hopefully few prototypes,
36176 which can conflict with char $ac_func (); below.
36177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36178 <limits.h> exists even on freestanding compilers. */
36181 # include <limits.h>
36183 # include <assert.h>
36188 /* Override any gcc2 internal prototype to avoid an error. */
36193 /* We use char because int might match the return type of a gcc2
36194 builtin and then its argument prototype would still apply. */
36196 /* The GNU C library defines this for functions which it implements
36197 to always fail with ENOSYS. Some functions are actually named
36198 something starting with __ and the normal name is an alias. */
36199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36202 char (*f) () = $ac_func;
36211 return f != $ac_func;
36216 rm -f conftest.
$ac_objext conftest
$ac_exeext
36217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36218 (eval $ac_link) 2>conftest.er1
36220 grep -v '^ *+' conftest.er1
>conftest.err
36222 cat conftest.err
>&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); } &&
36225 { ac_try
='test -z "$ac_c_werror_flag"
36226 || test ! -s conftest.err'
36227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36228 (eval $ac_try) 2>&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); }; } &&
36232 { ac_try
='test -s conftest$ac_exeext'
36233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36234 (eval $ac_try) 2>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); }; }; then
36238 eval "$as_ac_var=yes"
36240 echo "$as_me: failed program was:" >&5
36241 sed 's/^/| /' conftest.
$ac_ext >&5
36243 eval "$as_ac_var=no"
36245 rm -f conftest.err conftest.
$ac_objext \
36246 conftest
$ac_exeext conftest.
$ac_ext
36248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36250 if test `eval echo '${'$as_ac_var'}'` = yes; then
36251 cat >>confdefs.h
<<_ACEOF
36252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36259 if test "$ac_cv_func_gettimeofday" = "yes"; then
36260 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36261 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36262 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 ac_cpp
='$CXXCPP $CPPFLAGS'
36270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36275 cat >conftest.
$ac_ext <<_ACEOF
36278 cat confdefs.h
>>conftest.
$ac_ext
36279 cat >>conftest.
$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36282 #include <sys/time.h>
36283 #include <unistd.h>
36290 gettimeofday(&tv, NULL);
36296 rm -f conftest.
$ac_objext
36297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36298 (eval $ac_compile) 2>conftest.er1
36300 grep -v '^ *+' conftest.er1
>conftest.err
36302 cat conftest.err
>&5
36303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36304 (exit $ac_status); } &&
36305 { ac_try
='test -z "$ac_cxx_werror_flag"
36306 || test ! -s conftest.err'
36307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36308 (eval $ac_try) 2>&5
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); }; } &&
36312 { ac_try
='test -s conftest.$ac_objext'
36313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36314 (eval $ac_try) 2>&5
36316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317 (exit $ac_status); }; }; then
36318 wx_cv_func_gettimeofday_has_2_args
=yes
36320 echo "$as_me: failed program was:" >&5
36321 sed 's/^/| /' conftest.
$ac_ext >&5
36323 cat >conftest.
$ac_ext <<_ACEOF
36326 cat confdefs.h
>>conftest.
$ac_ext
36327 cat >>conftest.
$ac_ext <<_ACEOF
36328 /* end confdefs.h. */
36330 #include <sys/time.h>
36331 #include <unistd.h>
36344 rm -f conftest.
$ac_objext
36345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36346 (eval $ac_compile) 2>conftest.er1
36348 grep -v '^ *+' conftest.er1
>conftest.err
36350 cat conftest.err
>&5
36351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352 (exit $ac_status); } &&
36353 { ac_try
='test -z "$ac_cxx_werror_flag"
36354 || test ! -s conftest.err'
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); }; } &&
36360 { ac_try
='test -s conftest.$ac_objext'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; }; then
36366 wx_cv_func_gettimeofday_has_2_args
=no
36368 echo "$as_me: failed program was:" >&5
36369 sed 's/^/| /' conftest.
$ac_ext >&5
36372 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36373 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36374 wx_cv_func_gettimeofday_has_2_args
=unknown
36378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36383 ac_cpp
='$CPP $CPPFLAGS'
36384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36390 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36391 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36393 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36394 cat >>confdefs.h
<<\_ACEOF
36395 #define WX_GETTIMEOFDAY_NO_TZ 1
36401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36405 if test "$wxUSE_SOCKETS" = "yes"; then
36406 if test "$wxUSE_MGL" = "1"; then
36407 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36408 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36413 if test "$wxUSE_SOCKETS" = "yes"; then
36414 if test "$TOOLKIT" != "MSW"; then
36415 echo "$as_me:$LINENO: checking for socket" >&5
36416 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36417 if test "${ac_cv_func_socket+set}" = set; then
36418 echo $ECHO_N "(cached) $ECHO_C" >&6
36420 cat >conftest.
$ac_ext <<_ACEOF
36423 cat confdefs.h
>>conftest.
$ac_ext
36424 cat >>conftest.
$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36426 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36428 #define socket innocuous_socket
36430 /* System header to define __stub macros and hopefully few prototypes,
36431 which can conflict with char socket (); below.
36432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36433 <limits.h> exists even on freestanding compilers. */
36436 # include <limits.h>
36438 # include <assert.h>
36443 /* Override any gcc2 internal prototype to avoid an error. */
36448 /* We use char because int might match the return type of a gcc2
36449 builtin and then its argument prototype would still apply. */
36451 /* The GNU C library defines this for functions which it implements
36452 to always fail with ENOSYS. Some functions are actually named
36453 something starting with __ and the normal name is an alias. */
36454 #if defined (__stub_socket) || defined (__stub___socket)
36457 char (*f) () = socket;
36466 return f != socket;
36471 rm -f conftest.
$ac_objext conftest
$ac_exeext
36472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36473 (eval $ac_link) 2>conftest.er1
36475 grep -v '^ *+' conftest.er1
>conftest.err
36477 cat conftest.err
>&5
36478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36479 (exit $ac_status); } &&
36480 { ac_try
='test -z "$ac_c_werror_flag"
36481 || test ! -s conftest.err'
36482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36483 (eval $ac_try) 2>&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); }; } &&
36487 { ac_try
='test -s conftest$ac_exeext'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; }; then
36493 ac_cv_func_socket
=yes
36495 echo "$as_me: failed program was:" >&5
36496 sed 's/^/| /' conftest.
$ac_ext >&5
36498 ac_cv_func_socket
=no
36500 rm -f conftest.err conftest.
$ac_objext \
36501 conftest
$ac_exeext conftest.
$ac_ext
36503 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36504 echo "${ECHO_T}$ac_cv_func_socket" >&6
36505 if test $ac_cv_func_socket = yes; then
36509 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36510 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36511 if test "${ac_cv_lib_socket_socket+set}" = set; then
36512 echo $ECHO_N "(cached) $ECHO_C" >&6
36514 ac_check_lib_save_LIBS
=$LIBS
36515 LIBS
="-lsocket $LIBS"
36516 cat >conftest.
$ac_ext <<_ACEOF
36519 cat confdefs.h
>>conftest.
$ac_ext
36520 cat >>conftest.
$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36523 /* Override any gcc2 internal prototype to avoid an error. */
36527 /* We use char because int might match the return type of a gcc2
36528 builtin and then its argument prototype would still apply. */
36538 rm -f conftest.
$ac_objext conftest
$ac_exeext
36539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36540 (eval $ac_link) 2>conftest.er1
36542 grep -v '^ *+' conftest.er1
>conftest.err
36544 cat conftest.err
>&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); } &&
36547 { ac_try
='test -z "$ac_c_werror_flag"
36548 || test ! -s conftest.err'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; } &&
36554 { ac_try
='test -s conftest$ac_exeext'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; }; then
36560 ac_cv_lib_socket_socket
=yes
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.
$ac_ext >&5
36565 ac_cv_lib_socket_socket
=no
36567 rm -f conftest.err conftest.
$ac_objext \
36568 conftest
$ac_exeext conftest.
$ac_ext
36569 LIBS
=$ac_check_lib_save_LIBS
36571 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36572 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36573 if test $ac_cv_lib_socket_socket = yes; then
36574 if test "$INET_LINK" != " -lsocket"; then
36575 INET_LINK
="$INET_LINK -lsocket"
36579 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36580 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36593 if test "$wxUSE_SOCKETS" = "yes" ; then
36594 if test "$TOOLKIT" != "MSW"; then
36595 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36596 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36597 if test "${wx_cv_type_getsockname3+set}" = set; then
36598 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 cat >conftest.
$ac_ext <<_ACEOF
36604 cat confdefs.h
>>conftest.
$ac_ext
36605 cat >>conftest.
$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36608 #include <sys/types.h>
36609 #include <sys/socket.h>
36616 getsockname(0, 0, &len);
36622 rm -f conftest.
$ac_objext
36623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36624 (eval $ac_compile) 2>conftest.er1
36626 grep -v '^ *+' conftest.er1
>conftest.err
36628 cat conftest.err
>&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } &&
36631 { ac_try
='test -z "$ac_c_werror_flag"
36632 || test ! -s conftest.err'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; } &&
36638 { ac_try
='test -s conftest.$ac_objext'
36639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640 (eval $ac_try) 2>&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); }; }; then
36644 wx_cv_type_getsockname3
=socklen_t
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.
$ac_ext >&5
36650 CFLAGS_OLD
="$CFLAGS"
36651 if test "$GCC" = yes ; then
36652 CFLAGS
="$CFLAGS -Werror"
36655 cat >conftest.
$ac_ext <<_ACEOF
36658 cat confdefs.h
>>conftest.
$ac_ext
36659 cat >>conftest.
$ac_ext <<_ACEOF
36660 /* end confdefs.h. */
36662 #include <sys/types.h>
36663 #include <sys/socket.h>
36670 getsockname(0, 0, &len);
36676 rm -f conftest.
$ac_objext
36677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36678 (eval $ac_compile) 2>conftest.er1
36680 grep -v '^ *+' conftest.er1
>conftest.err
36682 cat conftest.err
>&5
36683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684 (exit $ac_status); } &&
36685 { ac_try
='test -z "$ac_c_werror_flag"
36686 || test ! -s conftest.err'
36687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36688 (eval $ac_try) 2>&5
36690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36691 (exit $ac_status); }; } &&
36692 { ac_try
='test -s conftest.$ac_objext'
36693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36694 (eval $ac_try) 2>&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); }; }; then
36698 wx_cv_type_getsockname3
=size_t
36700 echo "$as_me: failed program was:" >&5
36701 sed 's/^/| /' conftest.
$ac_ext >&5
36703 cat >conftest.
$ac_ext <<_ACEOF
36706 cat confdefs.h
>>conftest.
$ac_ext
36707 cat >>conftest.
$ac_ext <<_ACEOF
36708 /* end confdefs.h. */
36710 #include <sys/types.h>
36711 #include <sys/socket.h>
36718 getsockname(0, 0, &len);
36724 rm -f conftest.
$ac_objext
36725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36726 (eval $ac_compile) 2>conftest.er1
36728 grep -v '^ *+' conftest.er1
>conftest.err
36730 cat conftest.err
>&5
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); } &&
36733 { ac_try
='test -z "$ac_c_werror_flag"
36734 || test ! -s conftest.err'
36735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36736 (eval $ac_try) 2>&5
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); }; } &&
36740 { ac_try
='test -s conftest.$ac_objext'
36741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36742 (eval $ac_try) 2>&5
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); }; }; then
36746 wx_cv_type_getsockname3
=int
36748 echo "$as_me: failed program was:" >&5
36749 sed 's/^/| /' conftest.
$ac_ext >&5
36751 wx_cv_type_getsockname3
=unknown
36754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36759 CFLAGS
="$CFLAGS_OLD"
36763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36766 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36767 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36769 if test "$wx_cv_type_getsockname3" = "unknown"; then
36771 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36772 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36774 cat >>confdefs.h
<<_ACEOF
36775 #define SOCKLEN_T $wx_cv_type_getsockname3
36782 if test "$wxUSE_SOCKETS" = "yes" ; then
36783 cat >>confdefs.h
<<\_ACEOF
36784 #define wxUSE_SOCKETS 1
36787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36790 if test "$wxUSE_PROTOCOL" = "yes"; then
36791 if test "$wxUSE_SOCKETS" != "yes"; then
36792 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36793 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36798 if test "$wxUSE_PROTOCOL" = "yes"; then
36799 cat >>confdefs.h
<<\_ACEOF
36800 #define wxUSE_PROTOCOL 1
36804 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36805 cat >>confdefs.h
<<\_ACEOF
36806 #define wxUSE_PROTOCOL_HTTP 1
36810 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36811 cat >>confdefs.h
<<\_ACEOF
36812 #define wxUSE_PROTOCOL_FTP 1
36816 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36817 cat >>confdefs.h
<<\_ACEOF
36818 #define wxUSE_PROTOCOL_FILE 1
36823 if test "$wxUSE_FS_INET" = "yes"; then
36824 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36825 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36830 if test "$wxUSE_URL" = "yes"; then
36831 if test "$wxUSE_PROTOCOL" != "yes"; then
36832 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36833 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36836 if test "$wxUSE_URL" = "yes"; then
36837 cat >>confdefs.h
<<\_ACEOF
36838 #define wxUSE_URL 1
36844 if test "$wxUSE_FS_INET" = "yes"; then
36845 cat >>confdefs.h
<<\_ACEOF
36846 #define wxUSE_FS_INET 1
36852 if test "$wxUSE_GUI" = "yes"; then
36854 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36855 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36856 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36860 if test "$TOOLKIT" != "MSW"; then
36861 if test "$wxUSE_JOYSTICK" = "yes"; then
36863 for ac_header
in linux
/joystick.h
36865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36867 echo "$as_me:$LINENO: checking for $ac_header" >&5
36868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36870 echo $ECHO_N "(cached) $ECHO_C" >&6
36872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36875 # Is the header compilable?
36876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36878 cat >conftest.
$ac_ext <<_ACEOF
36881 cat confdefs.h
>>conftest.
$ac_ext
36882 cat >>conftest.
$ac_ext <<_ACEOF
36883 /* end confdefs.h. */
36884 $ac_includes_default
36885 #include <$ac_header>
36887 rm -f conftest.
$ac_objext
36888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36889 (eval $ac_compile) 2>conftest.er1
36891 grep -v '^ *+' conftest.er1
>conftest.err
36893 cat conftest.err
>&5
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); } &&
36896 { ac_try
='test -z "$ac_c_werror_flag"
36897 || test ! -s conftest.err'
36898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36899 (eval $ac_try) 2>&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); }; } &&
36903 { ac_try
='test -s conftest.$ac_objext'
36904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36905 (eval $ac_try) 2>&5
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); }; }; then
36909 ac_header_compiler
=yes
36911 echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.
$ac_ext >&5
36914 ac_header_compiler
=no
36916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36918 echo "${ECHO_T}$ac_header_compiler" >&6
36920 # Is the header present?
36921 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36923 cat >conftest.
$ac_ext <<_ACEOF
36926 cat confdefs.h
>>conftest.
$ac_ext
36927 cat >>conftest.
$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 #include <$ac_header>
36931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36934 grep -v '^ *+' conftest.er1
>conftest.err
36936 cat conftest.err
>&5
36937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36938 (exit $ac_status); } >/dev
/null
; then
36939 if test -s conftest.err
; then
36940 ac_cpp_err
=$ac_c_preproc_warn_flag
36941 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36948 if test -z "$ac_cpp_err"; then
36949 ac_header_preproc
=yes
36951 echo "$as_me: failed program was:" >&5
36952 sed 's/^/| /' conftest.
$ac_ext >&5
36954 ac_header_preproc
=no
36956 rm -f conftest.err conftest.
$ac_ext
36957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36958 echo "${ECHO_T}$ac_header_preproc" >&6
36960 # So? What about this header?
36961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36963 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36964 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36966 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36967 ac_header_preproc
=yes
36970 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36971 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36972 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36973 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36974 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36975 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36976 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36977 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36980 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36981 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36984 ## ----------------------------------------- ##
36985 ## Report this to wx-dev@lists.wxwidgets.org ##
36986 ## ----------------------------------------- ##
36989 sed "s/^/$as_me: WARNING: /" >&2
36992 echo "$as_me:$LINENO: checking for $ac_header" >&5
36993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36995 echo $ECHO_N "(cached) $ECHO_C" >&6
36997 eval "$as_ac_Header=\$ac_header_preproc"
36999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37004 cat >>confdefs.h
<<_ACEOF
37005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37012 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37014 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37015 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37020 if test "$wxUSE_JOYSTICK" = "yes"; then
37021 cat >>confdefs.h
<<\_ACEOF
37022 #define wxUSE_JOYSTICK 1
37025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37031 if test "$wxUSE_FONTMAP" = "yes" ; then
37032 cat >>confdefs.h
<<\_ACEOF
37033 #define wxUSE_FONTMAP 1
37038 if test "$wxUSE_UNICODE" = "yes" ; then
37039 cat >>confdefs.h
<<\_ACEOF
37040 #define wxUSE_UNICODE 1
37044 if test "$USE_WIN32" != 1; then
37045 wxUSE_UNICODE_MSLU
=no
37048 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37049 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37050 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37051 if test "${ac_cv_lib_unicows_main+set}" = set; then
37052 echo $ECHO_N "(cached) $ECHO_C" >&6
37054 ac_check_lib_save_LIBS
=$LIBS
37055 LIBS
="-lunicows $LIBS"
37056 cat >conftest.
$ac_ext <<_ACEOF
37059 cat confdefs.h
>>conftest.
$ac_ext
37060 cat >>conftest.
$ac_ext <<_ACEOF
37061 /* end confdefs.h. */
37072 rm -f conftest.
$ac_objext conftest
$ac_exeext
37073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37074 (eval $ac_link) 2>conftest.er1
37076 grep -v '^ *+' conftest.er1
>conftest.err
37078 cat conftest.err
>&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); } &&
37081 { ac_try
='test -z "$ac_c_werror_flag"
37082 || test ! -s conftest.err'
37083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37084 (eval $ac_try) 2>&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); }; } &&
37088 { ac_try
='test -s conftest$ac_exeext'
37089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37090 (eval $ac_try) 2>&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); }; }; then
37094 ac_cv_lib_unicows_main
=yes
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.
$ac_ext >&5
37099 ac_cv_lib_unicows_main
=no
37101 rm -f conftest.err conftest.
$ac_objext \
37102 conftest
$ac_exeext conftest.
$ac_ext
37103 LIBS
=$ac_check_lib_save_LIBS
37105 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37106 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37107 if test $ac_cv_lib_unicows_main = yes; then
37109 cat >>confdefs.h
<<\_ACEOF
37110 #define wxUSE_UNICODE_MSLU 1
37116 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37117 Applications will only run on Windows NT/2000/XP!" >&5
37118 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37119 Applications will only run on Windows NT/2000/XP!" >&2;}
37120 wxUSE_UNICODE_MSLU
=no
37127 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37128 cat >>confdefs.h
<<\_ACEOF
37129 #define wxUSE_EXPERIMENTAL_PRINTF 1
37135 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37136 cat >>confdefs.h
<<\_ACEOF
37137 #define wxUSE_POSTSCRIPT 1
37142 cat >>confdefs.h
<<\_ACEOF
37143 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37147 cat >>confdefs.h
<<\_ACEOF
37148 #define wxUSE_NORMALIZED_PS_FONTS 1
37153 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define wxUSE_CONSTRAINTS 1
37158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37161 if test "$wxUSE_MDI" = "yes"; then
37162 cat >>confdefs.h
<<\_ACEOF
37163 #define wxUSE_MDI 1
37167 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37168 cat >>confdefs.h
<<\_ACEOF
37169 #define wxUSE_MDI_ARCHITECTURE 1
37172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37176 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37177 cat >>confdefs.h
<<\_ACEOF
37178 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37182 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37187 if test "$wxUSE_HELP" = "yes"; then
37188 cat >>confdefs.h
<<\_ACEOF
37189 #define wxUSE_HELP 1
37192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37194 if test "$wxUSE_MSW" = 1; then
37195 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37196 cat >>confdefs.h
<<\_ACEOF
37197 #define wxUSE_MS_HTML_HELP 1
37203 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37204 if test "$wxUSE_HTML" = "yes"; then
37205 cat >>confdefs.h
<<\_ACEOF
37206 #define wxUSE_WXHTML_HELP 1
37210 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37211 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37212 wxUSE_WXHTML_HELP
=no
37217 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37218 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37219 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37220 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37222 cat >>confdefs.h
<<\_ACEOF
37223 #define wxUSE_PRINTING_ARCHITECTURE 1
37227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37230 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37231 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37232 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37233 { (exit 1); exit 1; }; }
37237 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37238 -o "$wxUSE_CLIPBOARD" = "yes" \
37239 -o "$wxUSE_OLE" = "yes" \
37240 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37242 for ac_header
in ole2.h
37244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37246 echo "$as_me:$LINENO: checking for $ac_header" >&5
37247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37254 # Is the header compilable?
37255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37257 cat >conftest.
$ac_ext <<_ACEOF
37260 cat confdefs.h
>>conftest.
$ac_ext
37261 cat >>conftest.
$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 $ac_includes_default
37264 #include <$ac_header>
37266 rm -f conftest.
$ac_objext
37267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37268 (eval $ac_compile) 2>conftest.er1
37270 grep -v '^ *+' conftest.er1
>conftest.err
37272 cat conftest.err
>&5
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); } &&
37275 { ac_try
='test -z "$ac_c_werror_flag"
37276 || test ! -s conftest.err'
37277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278 (eval $ac_try) 2>&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); }; } &&
37282 { ac_try
='test -s conftest.$ac_objext'
37283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284 (eval $ac_try) 2>&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; }; then
37288 ac_header_compiler
=yes
37290 echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.
$ac_ext >&5
37293 ac_header_compiler
=no
37295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37297 echo "${ECHO_T}$ac_header_compiler" >&6
37299 # Is the header present?
37300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37302 cat >conftest.
$ac_ext <<_ACEOF
37305 cat confdefs.h
>>conftest.
$ac_ext
37306 cat >>conftest.
$ac_ext <<_ACEOF
37307 /* end confdefs.h. */
37308 #include <$ac_header>
37310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37311 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37313 grep -v '^ *+' conftest.er1
>conftest.err
37315 cat conftest.err
>&5
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); } >/dev
/null
; then
37318 if test -s conftest.err
; then
37319 ac_cpp_err
=$ac_c_preproc_warn_flag
37320 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37327 if test -z "$ac_cpp_err"; then
37328 ac_header_preproc
=yes
37330 echo "$as_me: failed program was:" >&5
37331 sed 's/^/| /' conftest.
$ac_ext >&5
37333 ac_header_preproc
=no
37335 rm -f conftest.err conftest.
$ac_ext
37336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37337 echo "${ECHO_T}$ac_header_preproc" >&6
37339 # So? What about this header?
37340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37346 ac_header_preproc
=yes
37349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37363 ## ----------------------------------------- ##
37364 ## Report this to wx-dev@lists.wxwidgets.org ##
37365 ## ----------------------------------------- ##
37368 sed "s/^/$as_me: WARNING: /" >&2
37371 echo "$as_me:$LINENO: checking for $ac_header" >&5
37372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37374 echo $ECHO_N "(cached) $ECHO_C" >&6
37376 eval "$as_ac_Header=\$ac_header_preproc"
37378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37383 cat >>confdefs.h
<<_ACEOF
37384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37392 if test "$ac_cv_header_ole2_h" = "yes" ; then
37393 if test "$GCC" = yes ; then
37397 ac_cpp
='$CXXCPP $CPPFLAGS'
37398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37403 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37404 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37405 cat >conftest.
$ac_ext <<_ACEOF
37408 cat confdefs.h
>>conftest.
$ac_ext
37409 cat >>conftest.
$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37411 #include <windows.h>
37421 rm -f conftest.
$ac_objext
37422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37423 (eval $ac_compile) 2>conftest.er1
37425 grep -v '^ *+' conftest.er1
>conftest.err
37427 cat conftest.err
>&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); } &&
37430 { ac_try
='test -z "$ac_cxx_werror_flag"
37431 || test ! -s conftest.err'
37432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37433 (eval $ac_try) 2>&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); }; } &&
37437 { ac_try
='test -s conftest.$ac_objext'
37438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37439 (eval $ac_try) 2>&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); }; }; then
37443 echo "$as_me:$LINENO: result: no" >&5
37444 echo "${ECHO_T}no" >&6
37446 echo "$as_me: failed program was:" >&5
37447 sed 's/^/| /' conftest.
$ac_ext >&5
37449 echo "$as_me:$LINENO: result: yes" >&5
37450 echo "${ECHO_T}yes" >&6
37451 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37455 ac_cpp
='$CPP $CPPFLAGS'
37456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37460 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
37461 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37462 if test "$wxUSE_OLE" = "yes" ; then
37463 cat >>confdefs.h
<<\_ACEOF
37464 #define wxUSE_OLE 1
37470 if test "$wxUSE_DATAOBJ" = "yes" ; then
37471 cat >>confdefs.h
<<\_ACEOF
37472 #define wxUSE_DATAOBJ 1
37477 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37478 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37481 wxUSE_DRAG_AND_DROP
=no
37486 if test "$wxUSE_METAFILE" = "yes"; then
37487 cat >>confdefs.h
<<\_ACEOF
37488 #define wxUSE_METAFILE 1
37492 cat >>confdefs.h
<<\_ACEOF
37493 #define wxUSE_ENH_METAFILE 1
37499 if test "$wxUSE_IPC" = "yes"; then
37500 if test "$wxUSE_SOCKETS" != "yes"; then
37501 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37502 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37505 cat >>confdefs.h
<<\_ACEOF
37506 #define wxUSE_IPC 1
37511 if test "$wxUSE_CLIPBOARD" = "yes"; then
37512 if test "$wxUSE_MGL" = 1; then
37513 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37514 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37518 if test "$wxUSE_CLIPBOARD" = "yes"; then
37519 cat >>confdefs.h
<<\_ACEOF
37520 #define wxUSE_CLIPBOARD 1
37524 cat >>confdefs.h
<<\_ACEOF
37525 #define wxUSE_DATAOBJ 1
37531 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37532 if test "$wxUSE_GTK" = 1; then
37533 if test "$WXGTK12" != 1; then
37534 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37535 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37536 wxUSE_DRAG_AND_DROP
=no
37540 if test "$wxUSE_MOTIF" = 1; then
37541 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37542 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37543 wxUSE_DRAG_AND_DROP
=no
37546 if test "$wxUSE_X11" = 1; then
37547 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37548 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37549 wxUSE_DRAG_AND_DROP
=no
37552 if test "$wxUSE_MGL" = 1; then
37553 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37554 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37555 wxUSE_DRAG_AND_DROP
=no
37558 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37559 cat >>confdefs.h
<<\_ACEOF
37560 #define wxUSE_DRAG_AND_DROP 1
37567 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37571 if test "$wxUSE_SPLINES" = "yes" ; then
37572 cat >>confdefs.h
<<\_ACEOF
37573 #define wxUSE_SPLINES 1
37580 if test "$wxUSE_CONTROLS" = "yes"; then
37584 if test "$wxUSE_ACCEL" = "yes"; then
37585 cat >>confdefs.h
<<\_ACEOF
37586 #define wxUSE_ACCEL 1
37592 if test "$wxUSE_BUTTON" = "yes"; then
37593 cat >>confdefs.h
<<\_ACEOF
37594 #define wxUSE_BUTTON 1
37600 if test "$wxUSE_BMPBUTTON" = "yes"; then
37601 cat >>confdefs.h
<<\_ACEOF
37602 #define wxUSE_BMPBUTTON 1
37608 if test "$wxUSE_CALCTRL" = "yes"; then
37609 cat >>confdefs.h
<<\_ACEOF
37610 #define wxUSE_CALENDARCTRL 1
37614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37617 if test "$wxUSE_CARET" = "yes"; then
37618 cat >>confdefs.h
<<\_ACEOF
37619 #define wxUSE_CARET 1
37623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37626 if test "$wxUSE_COMBOBOX" = "yes"; then
37627 cat >>confdefs.h
<<\_ACEOF
37628 #define wxUSE_COMBOBOX 1
37634 if test "$wxUSE_CHOICE" = "yes"; then
37635 cat >>confdefs.h
<<\_ACEOF
37636 #define wxUSE_CHOICE 1
37642 if test "$wxUSE_CHECKBOX" = "yes"; then
37643 cat >>confdefs.h
<<\_ACEOF
37644 #define wxUSE_CHECKBOX 1
37650 if test "$wxUSE_CHECKLST" = "yes"; then
37651 cat >>confdefs.h
<<\_ACEOF
37652 #define wxUSE_CHECKLISTBOX 1
37656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37659 if test "$wxUSE_DISPLAY" = "yes"; then
37660 cat >>confdefs.h
<<\_ACEOF
37661 #define wxUSE_DISPLAY 1
37664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37667 if test "$wxUSE_GAUGE" = "yes"; then
37668 cat >>confdefs.h
<<\_ACEOF
37669 #define wxUSE_GAUGE 1
37675 if test "$wxUSE_GRID" = "yes"; then
37676 cat >>confdefs.h
<<\_ACEOF
37677 #define wxUSE_GRID 1
37681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37684 if test "$wxUSE_IMAGLIST" = "yes"; then
37685 cat >>confdefs.h
<<\_ACEOF
37686 #define wxUSE_IMAGLIST 1
37691 if test "$wxUSE_LISTBOOK" = "yes"; then
37692 cat >>confdefs.h
<<\_ACEOF
37693 #define wxUSE_LISTBOOK 1
37699 if test "$wxUSE_LISTBOX" = "yes"; then
37700 cat >>confdefs.h
<<\_ACEOF
37701 #define wxUSE_LISTBOX 1
37707 if test "$wxUSE_LISTCTRL" = "yes"; then
37708 if test "$wxUSE_IMAGLIST" = "yes"; then
37709 cat >>confdefs.h
<<\_ACEOF
37710 #define wxUSE_LISTCTRL 1
37714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37716 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37717 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37721 if test "$wxUSE_NOTEBOOK" = "yes"; then
37722 cat >>confdefs.h
<<\_ACEOF
37723 #define wxUSE_NOTEBOOK 1
37727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37731 if test "$wxUSE_RADIOBOX" = "yes"; then
37732 cat >>confdefs.h
<<\_ACEOF
37733 #define wxUSE_RADIOBOX 1
37739 if test "$wxUSE_RADIOBTN" = "yes"; then
37740 cat >>confdefs.h
<<\_ACEOF
37741 #define wxUSE_RADIOBTN 1
37747 if test "$wxUSE_SASH" = "yes"; then
37748 cat >>confdefs.h
<<\_ACEOF
37749 #define wxUSE_SASH 1
37752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37755 if test "$wxUSE_SCROLLBAR" = "yes"; then
37756 cat >>confdefs.h
<<\_ACEOF
37757 #define wxUSE_SCROLLBAR 1
37761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37764 if test "$wxUSE_SLIDER" = "yes"; then
37765 cat >>confdefs.h
<<\_ACEOF
37766 #define wxUSE_SLIDER 1
37772 if test "$wxUSE_SPINBTN" = "yes"; then
37773 cat >>confdefs.h
<<\_ACEOF
37774 #define wxUSE_SPINBTN 1
37780 if test "$wxUSE_SPINCTRL" = "yes"; then
37781 cat >>confdefs.h
<<\_ACEOF
37782 #define wxUSE_SPINCTRL 1
37788 if test "$wxUSE_SPLITTER" = "yes"; then
37789 cat >>confdefs.h
<<\_ACEOF
37790 #define wxUSE_SPLITTER 1
37793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37796 if test "$wxUSE_STATBMP" = "yes"; then
37797 cat >>confdefs.h
<<\_ACEOF
37798 #define wxUSE_STATBMP 1
37804 if test "$wxUSE_STATBOX" = "yes"; then
37805 cat >>confdefs.h
<<\_ACEOF
37806 #define wxUSE_STATBOX 1
37812 if test "$wxUSE_STATTEXT" = "yes"; then
37813 cat >>confdefs.h
<<\_ACEOF
37814 #define wxUSE_STATTEXT 1
37820 if test "$wxUSE_STATLINE" = "yes"; then
37821 cat >>confdefs.h
<<\_ACEOF
37822 #define wxUSE_STATLINE 1
37828 if test "$wxUSE_STATUSBAR" = "yes"; then
37829 cat >>confdefs.h
<<\_ACEOF
37830 #define wxUSE_STATUSBAR 1
37835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37838 if test "$wxUSE_TABDIALOG" = "yes"; then
37839 cat >>confdefs.h
<<\_ACEOF
37840 #define wxUSE_TAB_DIALOG 1
37843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37846 if test "$wxUSE_TEXTCTRL" = "yes"; then
37847 cat >>confdefs.h
<<\_ACEOF
37848 #define wxUSE_TEXTCTRL 1
37852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37855 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37856 if test "$wxUSE_COCOA" = 1 ; then
37857 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37858 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37861 if test "$wxUSE_PM" = 1; then
37862 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37863 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37867 if test "$wxUSE_UNIVERSAL" = "yes"; then
37868 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37869 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37873 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37874 cat >>confdefs.h
<<\_ACEOF
37875 #define wxUSE_TOGGLEBTN 1
37882 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37883 cat >>confdefs.h
<<\_ACEOF
37884 #define wxUSE_TOOLBAR_SIMPLE 1
37887 wxUSE_TOOLBAR
="yes"
37891 if test "$wxUSE_TOOLBAR" = "yes"; then
37892 cat >>confdefs.h
<<\_ACEOF
37893 #define wxUSE_TOOLBAR 1
37898 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37899 wxUSE_TOOLBAR_NATIVE
="yes"
37902 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37903 cat >>confdefs.h
<<\_ACEOF
37904 #define wxUSE_TOOLBAR_NATIVE 1
37910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37913 if test "$wxUSE_TOOLTIPS" = "yes"; then
37914 if test "$wxUSE_MOTIF" = 1; then
37915 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37916 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37918 if test "$wxUSE_UNIVERSAL" = "yes"; then
37919 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37920 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37922 cat >>confdefs.h
<<\_ACEOF
37923 #define wxUSE_TOOLTIPS 1
37930 if test "$wxUSE_TREECTRL" = "yes"; then
37931 if test "$wxUSE_IMAGLIST" = "yes"; then
37932 cat >>confdefs.h
<<\_ACEOF
37933 #define wxUSE_TREECTRL 1
37937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37939 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37940 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37944 if test "$wxUSE_POPUPWIN" = "yes"; then
37945 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37946 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37947 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37949 if test "$wxUSE_PM" = 1; then
37950 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37951 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37953 cat >>confdefs.h
<<\_ACEOF
37954 #define wxUSE_POPUPWIN 1
37963 if test "$wxUSE_TIPWINDOW" = "yes"; then
37964 if test "$wxUSE_PM" = 1; then
37965 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37966 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37968 cat >>confdefs.h
<<\_ACEOF
37969 #define wxUSE_TIPWINDOW 1
37975 if test "$USES_CONTROLS" = 1; then
37976 cat >>confdefs.h
<<\_ACEOF
37977 #define wxUSE_CONTROLS 1
37983 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37984 cat >>confdefs.h
<<\_ACEOF
37985 #define wxUSE_ACCESSIBILITY 1
37988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37991 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37992 cat >>confdefs.h
<<\_ACEOF
37993 #define wxUSE_DRAGIMAGE 1
37996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37999 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38000 cat >>confdefs.h
<<\_ACEOF
38001 #define wxUSE_EXCEPTIONS 1
38007 if test "$wxUSE_HTML" = "yes"; then
38008 cat >>confdefs.h
<<\_ACEOF
38009 #define wxUSE_HTML 1
38013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38014 if test "$wxUSE_MAC" = 1; then
38015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38019 if test "$wxUSE_MENUS" = "yes"; then
38020 cat >>confdefs.h
<<\_ACEOF
38021 #define wxUSE_MENUS 1
38024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38027 if test "$wxUSE_METAFILE" = "yes"; then
38028 cat >>confdefs.h
<<\_ACEOF
38029 #define wxUSE_METAFILE 1
38034 if test "$wxUSE_MIMETYPE" = "yes"; then
38035 cat >>confdefs.h
<<\_ACEOF
38036 #define wxUSE_MIMETYPE 1
38041 if test "$wxUSE_MINIFRAME" = "yes"; then
38042 cat >>confdefs.h
<<\_ACEOF
38043 #define wxUSE_MINIFRAME 1
38046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38049 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38050 cat >>confdefs.h
<<\_ACEOF
38051 #define wxUSE_SYSTEM_OPTIONS 1
38054 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38055 "$TOOLKIT" = "MOTIF"; then
38056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38061 if test "$wxUSE_VALIDATORS" = "yes"; then
38062 cat >>confdefs.h
<<\_ACEOF
38063 #define wxUSE_VALIDATORS 1
38066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38069 if test "$wxUSE_PALETTE" = "yes" ; then
38070 cat >>confdefs.h
<<\_ACEOF
38071 #define wxUSE_PALETTE 1
38076 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38077 LIBS
=" -lunicows $LIBS"
38081 if test "$wxUSE_IMAGE" = "yes" ; then
38082 cat >>confdefs.h
<<\_ACEOF
38083 #define wxUSE_IMAGE 1
38087 if test "$wxUSE_GIF" = "yes" ; then
38088 cat >>confdefs.h
<<\_ACEOF
38089 #define wxUSE_GIF 1
38094 if test "$wxUSE_PCX" = "yes" ; then
38095 cat >>confdefs.h
<<\_ACEOF
38096 #define wxUSE_PCX 1
38101 if test "$wxUSE_IFF" = "yes" ; then
38102 cat >>confdefs.h
<<\_ACEOF
38103 #define wxUSE_IFF 1
38108 if test "$wxUSE_PNM" = "yes" ; then
38109 cat >>confdefs.h
<<\_ACEOF
38110 #define wxUSE_PNM 1
38115 if test "$wxUSE_XPM" = "yes" ; then
38116 cat >>confdefs.h
<<\_ACEOF
38117 #define wxUSE_XPM 1
38122 if test "$wxUSE_ICO_CUR" = "yes" ; then
38123 cat >>confdefs.h
<<\_ACEOF
38124 #define wxUSE_ICO_CUR 1
38131 if test "$wxUSE_CHOICEDLG" = "yes"; then
38132 cat >>confdefs.h
<<\_ACEOF
38133 #define wxUSE_CHOICEDLG 1
38138 if test "$wxUSE_COLOURDLG" = "yes"; then
38139 cat >>confdefs.h
<<\_ACEOF
38140 #define wxUSE_COLOURDLG 1
38145 if test "$wxUSE_FILEDLG" = "yes"; then
38146 cat >>confdefs.h
<<\_ACEOF
38147 #define wxUSE_FILEDLG 1
38152 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38153 cat >>confdefs.h
<<\_ACEOF
38154 #define wxUSE_FINDREPLDLG 1
38159 if test "$wxUSE_FONTDLG" = "yes"; then
38160 cat >>confdefs.h
<<\_ACEOF
38161 #define wxUSE_FONTDLG 1
38166 if test "$wxUSE_DIRDLG" = "yes"; then
38167 if test "$wxUSE_TREECTRL" != "yes"; then
38168 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38169 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38171 cat >>confdefs.h
<<\_ACEOF
38172 #define wxUSE_DIRDLG 1
38178 if test "$wxUSE_MSGDLG" = "yes"; then
38179 cat >>confdefs.h
<<\_ACEOF
38180 #define wxUSE_MSGDLG 1
38185 if test "$wxUSE_NUMBERDLG" = "yes"; then
38186 cat >>confdefs.h
<<\_ACEOF
38187 #define wxUSE_NUMBERDLG 1
38192 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38193 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38194 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38195 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38197 cat >>confdefs.h
<<\_ACEOF
38198 #define wxUSE_PROGRESSDLG 1
38204 if test "$wxUSE_SPLASH" = "yes"; then
38205 cat >>confdefs.h
<<\_ACEOF
38206 #define wxUSE_SPLASH 1
38211 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38212 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38213 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38214 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38216 cat >>confdefs.h
<<\_ACEOF
38217 #define wxUSE_STARTUP_TIPS 1
38223 if test "$wxUSE_TEXTDLG" = "yes"; then
38224 cat >>confdefs.h
<<\_ACEOF
38225 #define wxUSE_TEXTDLG 1
38230 if test "$wxUSE_WIZARDDLG" = "yes"; then
38231 cat >>confdefs.h
<<\_ACEOF
38232 #define wxUSE_WIZARDDLG 1
38235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38239 if test "$cross_compiling" = "yes"; then
38242 OSINFO
=`uname -s -r -m`
38243 OSINFO
="\"$OSINFO\""
38246 cat >>confdefs.h
<<_ACEOF
38247 #define WXWIN_OS_DESCRIPTION $OSINFO
38252 if test "x$prefix" != "xNONE"; then
38255 wxPREFIX
=$ac_default_prefix
38258 cat >>confdefs.h
<<_ACEOF
38259 #define wxINSTALL_PREFIX "$wxPREFIX"
38263 top_builddir_wxconfig
=`pwd`
38267 CORE_BASE_LIBS
="net base"
38268 CORE_GUI_LIBS
="adv core"
38270 if test "$wxUSE_XML" = "yes" ; then
38271 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38273 if test "$wxUSE_ODBC" != "no" ; then
38274 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38275 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38277 if test "$wxUSE_HTML" = "yes" ; then
38278 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38281 if test "$wxUSE_GUI" != "yes"; then
38292 if test "$wxUSE_MAC" = 1 ; then
38293 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
38295 if test "$wxUSE_COCOA" = 1 ; then
38296 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
38300 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38308 echo "$as_me:$LINENO: checking for $ac_func" >&5
38309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38310 if eval "test \"\${$as_ac_var+set}\" = set"; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38313 cat >conftest.
$ac_ext <<_ACEOF
38316 cat confdefs.h
>>conftest.
$ac_ext
38317 cat >>conftest.
$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38321 #define $ac_func innocuous_$ac_func
38323 /* System header to define __stub macros and hopefully few prototypes,
38324 which can conflict with char $ac_func (); below.
38325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38326 <limits.h> exists even on freestanding compilers. */
38329 # include <limits.h>
38331 # include <assert.h>
38336 /* Override any gcc2 internal prototype to avoid an error. */
38341 /* We use char because int might match the return type of a gcc2
38342 builtin and then its argument prototype would still apply. */
38344 /* The GNU C library defines this for functions which it implements
38345 to always fail with ENOSYS. Some functions are actually named
38346 something starting with __ and the normal name is an alias. */
38347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38350 char (*f) () = $ac_func;
38359 return f != $ac_func;
38364 rm -f conftest.
$ac_objext conftest
$ac_exeext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38366 (eval $ac_link) 2>conftest.er1
38368 grep -v '^ *+' conftest.er1
>conftest.err
38370 cat conftest.err
>&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try
='test -z "$ac_c_werror_flag"
38374 || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try
='test -s conftest$ac_exeext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38386 eval "$as_ac_var=yes"
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.
$ac_ext >&5
38391 eval "$as_ac_var=no"
38393 rm -f conftest.err conftest.
$ac_objext \
38394 conftest
$ac_exeext conftest.
$ac_ext
38396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38398 if test `eval echo '${'$as_ac_var'}'` = yes; then
38399 cat >>confdefs.h
<<_ACEOF
38400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38407 for ac_func
in floor
38409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38410 echo "$as_me:$LINENO: checking for $ac_func" >&5
38411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38412 if eval "test \"\${$as_ac_var+set}\" = set"; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38415 cat >conftest.
$ac_ext <<_ACEOF
38418 cat confdefs.h
>>conftest.
$ac_ext
38419 cat >>conftest.
$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38423 #define $ac_func innocuous_$ac_func
38425 /* System header to define __stub macros and hopefully few prototypes,
38426 which can conflict with char $ac_func (); below.
38427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38428 <limits.h> exists even on freestanding compilers. */
38431 # include <limits.h>
38433 # include <assert.h>
38438 /* Override any gcc2 internal prototype to avoid an error. */
38443 /* We use char because int might match the return type of a gcc2
38444 builtin and then its argument prototype would still apply. */
38446 /* The GNU C library defines this for functions which it implements
38447 to always fail with ENOSYS. Some functions are actually named
38448 something starting with __ and the normal name is an alias. */
38449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38452 char (*f) () = $ac_func;
38461 return f != $ac_func;
38466 rm -f conftest.
$ac_objext conftest
$ac_exeext
38467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38468 (eval $ac_link) 2>conftest.er1
38470 grep -v '^ *+' conftest.er1
>conftest.err
38472 cat conftest.err
>&5
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); } &&
38475 { ac_try
='test -z "$ac_c_werror_flag"
38476 || test ! -s conftest.err'
38477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38478 (eval $ac_try) 2>&5
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); }; } &&
38482 { ac_try
='test -s conftest$ac_exeext'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; }; then
38488 eval "$as_ac_var=yes"
38490 echo "$as_me: failed program was:" >&5
38491 sed 's/^/| /' conftest.
$ac_ext >&5
38493 eval "$as_ac_var=no"
38495 rm -f conftest.err conftest.
$ac_objext \
38496 conftest
$ac_exeext conftest.
$ac_ext
38498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38500 if test `eval echo '${'$as_ac_var'}'` = yes; then
38501 cat >>confdefs.h
<<_ACEOF
38502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38508 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38509 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38510 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38511 echo "$as_me:$LINENO: result: yes" >&5
38512 echo "${ECHO_T}yes" >&6
38514 echo "$as_me:$LINENO: result: no" >&5
38515 echo "${ECHO_T}no" >&6
38517 # use different functions to avoid configure caching
38523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38524 echo "$as_me:$LINENO: checking for $ac_func" >&5
38525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38526 if eval "test \"\${$as_ac_var+set}\" = set"; then
38527 echo $ECHO_N "(cached) $ECHO_C" >&6
38529 cat >conftest.
$ac_ext <<_ACEOF
38532 cat confdefs.h
>>conftest.
$ac_ext
38533 cat >>conftest.
$ac_ext <<_ACEOF
38534 /* end confdefs.h. */
38535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38537 #define $ac_func innocuous_$ac_func
38539 /* System header to define __stub macros and hopefully few prototypes,
38540 which can conflict with char $ac_func (); below.
38541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38542 <limits.h> exists even on freestanding compilers. */
38545 # include <limits.h>
38547 # include <assert.h>
38552 /* Override any gcc2 internal prototype to avoid an error. */
38557 /* We use char because int might match the return type of a gcc2
38558 builtin and then its argument prototype would still apply. */
38560 /* The GNU C library defines this for functions which it implements
38561 to always fail with ENOSYS. Some functions are actually named
38562 something starting with __ and the normal name is an alias. */
38563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38566 char (*f) () = $ac_func;
38575 return f != $ac_func;
38580 rm -f conftest.
$ac_objext conftest
$ac_exeext
38581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38582 (eval $ac_link) 2>conftest.er1
38584 grep -v '^ *+' conftest.er1
>conftest.err
38586 cat conftest.err
>&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } &&
38589 { ac_try
='test -z "$ac_c_werror_flag"
38590 || test ! -s conftest.err'
38591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38592 (eval $ac_try) 2>&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); }; } &&
38596 { ac_try
='test -s conftest$ac_exeext'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; }; then
38602 eval "$as_ac_var=yes"
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.
$ac_ext >&5
38607 eval "$as_ac_var=no"
38609 rm -f conftest.err conftest.
$ac_objext \
38610 conftest
$ac_exeext conftest.
$ac_ext
38612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38614 if test `eval echo '${'$as_ac_var'}'` = yes; then
38615 cat >>confdefs.h
<<_ACEOF
38616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38623 for ac_func
in ceil
38625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38626 echo "$as_me:$LINENO: checking for $ac_func" >&5
38627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38628 if eval "test \"\${$as_ac_var+set}\" = set"; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38631 cat >conftest.
$ac_ext <<_ACEOF
38634 cat confdefs.h
>>conftest.
$ac_ext
38635 cat >>conftest.
$ac_ext <<_ACEOF
38636 /* end confdefs.h. */
38637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38639 #define $ac_func innocuous_$ac_func
38641 /* System header to define __stub macros and hopefully few prototypes,
38642 which can conflict with char $ac_func (); below.
38643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38644 <limits.h> exists even on freestanding compilers. */
38647 # include <limits.h>
38649 # include <assert.h>
38654 /* Override any gcc2 internal prototype to avoid an error. */
38659 /* We use char because int might match the return type of a gcc2
38660 builtin and then its argument prototype would still apply. */
38662 /* The GNU C library defines this for functions which it implements
38663 to always fail with ENOSYS. Some functions are actually named
38664 something starting with __ and the normal name is an alias. */
38665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38668 char (*f) () = $ac_func;
38677 return f != $ac_func;
38682 rm -f conftest.
$ac_objext conftest
$ac_exeext
38683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38684 (eval $ac_link) 2>conftest.er1
38686 grep -v '^ *+' conftest.er1
>conftest.err
38688 cat conftest.err
>&5
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); } &&
38691 { ac_try
='test -z "$ac_c_werror_flag"
38692 || test ! -s conftest.err'
38693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38694 (eval $ac_try) 2>&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); }; } &&
38698 { ac_try
='test -s conftest$ac_exeext'
38699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38700 (eval $ac_try) 2>&5
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); }; }; then
38704 eval "$as_ac_var=yes"
38706 echo "$as_me: failed program was:" >&5
38707 sed 's/^/| /' conftest.
$ac_ext >&5
38709 eval "$as_ac_var=no"
38711 rm -f conftest.err conftest.
$ac_objext \
38712 conftest
$ac_exeext conftest.
$ac_ext
38714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38716 if test `eval echo '${'$as_ac_var'}'` = yes; then
38717 cat >>confdefs.h
<<_ACEOF
38718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38724 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38725 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38726 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38727 echo "$as_me:$LINENO: result: yes" >&5
38728 echo "${ECHO_T}yes" >&6
38730 echo "$as_me:$LINENO: result: no" >&5
38731 echo "${ECHO_T}no" >&6
38732 # not sure we should warn the user, crash, etc.
38736 if test "$wxUSE_GUI" = "yes"; then
38739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38740 drawing dynamic erase event exec font image \
38741 minimal propsize rotate shaped widgets render"
38743 if test "$wxUSE_MONOLITHIC" != "yes"; then
38744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38747 SAMPLES_SUBDIRS
="console"
38751 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
38752 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38754 if test "$GXX" = yes ; then
38755 CXXWARNINGS
="-Wall"
38758 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38760 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
38761 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
38762 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
38765 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
38766 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38767 EXTRALIBS_XML
="$EXPAT_LINK"
38768 EXTRALIBS_HTML
="$MSPACK_LINK"
38769 EXTRALIBS_ODBC
="$ODBC_LINK"
38770 if test "$wxUSE_GUI" = "yes"; then
38771 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
38773 if test "$wxUSE_OPENGL" = "yes"; then
38774 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38777 LDFLAGS
="$LDFLAGS $PROFILE"
38779 if test "$wxUSE_GTK" = 1; then
38782 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38785 WXCONFIG_EXTRALIBS
="$LIBS"
38787 if test "$wxUSE_REGEX" = "builtin" ; then
38788 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38790 if test "$wxUSE_EXPAT" = "builtin" ; then
38791 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38793 if test "$wxUSE_ODBC" = "builtin" ; then
38794 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38796 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38797 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38799 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38800 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38802 if test "$wxUSE_LIBPNG" = "builtin" ; then
38803 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38805 if test "$wxUSE_ZLIB" = "builtin" ; then
38806 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38808 if test "$wxUSE_ODBC" = "builtin" ; then
38809 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38812 for i
in $wxconfig_3rdparty ; do
38813 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
38817 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38831 if test $wxUSE_MONOLITHIC = "yes" ; then
38837 if test $wxUSE_PLUGINS = "yes" ; then
38843 if test $wxUSE_ODBC != "no" ; then
38849 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38875 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38885 if test "x$BAKEFILE_HOST" = "x"; then
38886 BAKEFILE_HOST
="${host}"
38889 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38891 if test -n "$ac_tool_prefix"; then
38892 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38893 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38894 echo "$as_me:$LINENO: checking for $ac_word" >&5
38895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38896 if test "${ac_cv_prog_RANLIB+set}" = set; then
38897 echo $ECHO_N "(cached) $ECHO_C" >&6
38899 if test -n "$RANLIB"; then
38900 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38903 for as_dir
in $PATH
38906 test -z "$as_dir" && as_dir
=.
38907 for ac_exec_ext
in '' $ac_executable_extensions; do
38908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38909 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38918 RANLIB
=$ac_cv_prog_RANLIB
38919 if test -n "$RANLIB"; then
38920 echo "$as_me:$LINENO: result: $RANLIB" >&5
38921 echo "${ECHO_T}$RANLIB" >&6
38923 echo "$as_me:$LINENO: result: no" >&5
38924 echo "${ECHO_T}no" >&6
38928 if test -z "$ac_cv_prog_RANLIB"; then
38929 ac_ct_RANLIB
=$RANLIB
38930 # Extract the first word of "ranlib", so it can be a program name with args.
38931 set dummy ranlib
; ac_word
=$2
38932 echo "$as_me:$LINENO: checking for $ac_word" >&5
38933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38934 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38935 echo $ECHO_N "(cached) $ECHO_C" >&6
38937 if test -n "$ac_ct_RANLIB"; then
38938 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38941 for as_dir
in $PATH
38944 test -z "$as_dir" && as_dir
=.
38945 for ac_exec_ext
in '' $ac_executable_extensions; do
38946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38947 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38954 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38957 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38958 if test -n "$ac_ct_RANLIB"; then
38959 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38960 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38962 echo "$as_me:$LINENO: result: no" >&5
38963 echo "${ECHO_T}no" >&6
38966 RANLIB
=$ac_ct_RANLIB
38968 RANLIB
="$ac_cv_prog_RANLIB"
38971 # Find a good install program. We prefer a C program (faster),
38972 # so one script is as good as another. But avoid the broken or
38973 # incompatible versions:
38974 # SysV /etc/install, /usr/sbin/install
38975 # SunOS /usr/etc/install
38976 # IRIX /sbin/install
38978 # AmigaOS /C/install, which installs bootblocks on floppy discs
38979 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38980 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38981 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38982 # OS/2's system install, which has a completely different semantic
38983 # ./install, which can be erroneously created by make from ./install.sh.
38984 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38985 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38986 if test -z "$INSTALL"; then
38987 if test "${ac_cv_path_install+set}" = set; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38991 for as_dir
in $PATH
38994 test -z "$as_dir" && as_dir
=.
38995 # Account for people who put trailing slashes in PATH elements.
38997 .
/ | .
// | /cC
/* | \
38998 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38999 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39002 # OSF1 and SCO ODT 3.0 have their own names for install.
39003 # Don't use installbsd from OSF since it installs stuff as root
39005 for ac_prog
in ginstall scoinst
install; do
39006 for ac_exec_ext
in '' $ac_executable_extensions; do
39007 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39008 if test $ac_prog = install &&
39009 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39010 # AIX install. It has an incompatible calling convention.
39012 elif test $ac_prog = install &&
39013 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39014 # program-specific install script used by HP pwplus--don't use.
39017 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39029 if test "${ac_cv_path_install+set}" = set; then
39030 INSTALL
=$ac_cv_path_install
39032 # As a last resort, use the slow shell script. We don't cache a
39033 # path for INSTALL within a source directory, because that will
39034 # break other packages using the cache if that directory is
39035 # removed, or if the path is relative.
39036 INSTALL
=$ac_install_sh
39039 echo "$as_me:$LINENO: result: $INSTALL" >&5
39040 echo "${ECHO_T}$INSTALL" >&6
39042 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39043 # It thinks the first close brace ends the variable substitution.
39044 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39046 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39048 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39050 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39051 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39053 if test "$LN_S" = "ln -s"; then
39054 echo "$as_me:$LINENO: result: yes" >&5
39055 echo "${ECHO_T}yes" >&6
39057 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39058 echo "${ECHO_T}no, using $LN_S" >&6
39062 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39063 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39064 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39065 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 cat >conftest.
make <<\_ACEOF
39070 @
echo 'ac_maketemp="$(MAKE)"'
39072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39073 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39074 if test -n "$ac_maketemp"; then
39075 eval ac_cv_prog_make_
${ac_make}_set
=yes
39077 eval ac_cv_prog_make_
${ac_make}_set
=no
39079 rm -f conftest.
make
39081 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39082 echo "$as_me:$LINENO: result: yes" >&5
39083 echo "${ECHO_T}yes" >&6
39086 echo "$as_me:$LINENO: result: no" >&5
39087 echo "${ECHO_T}no" >&6
39088 SET_MAKE
="MAKE=${MAKE-make}"
39093 if test -n "$ac_tool_prefix"; then
39094 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39095 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39096 echo "$as_me:$LINENO: checking for $ac_word" >&5
39097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39098 if test "${ac_cv_prog_AR+set}" = set; then
39099 echo $ECHO_N "(cached) $ECHO_C" >&6
39101 if test -n "$AR"; then
39102 ac_cv_prog_AR
="$AR" # Let the user override the test.
39104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39105 for as_dir
in $PATH
39108 test -z "$as_dir" && as_dir
=.
39109 for ac_exec_ext
in '' $ac_executable_extensions; do
39110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39111 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39121 if test -n "$AR"; then
39122 echo "$as_me:$LINENO: result: $AR" >&5
39123 echo "${ECHO_T}$AR" >&6
39125 echo "$as_me:$LINENO: result: no" >&5
39126 echo "${ECHO_T}no" >&6
39130 if test -z "$ac_cv_prog_AR"; then
39132 # Extract the first word of "ar", so it can be a program name with args.
39133 set dummy
ar; ac_word
=$2
39134 echo "$as_me:$LINENO: checking for $ac_word" >&5
39135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39136 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 if test -n "$ac_ct_AR"; then
39140 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39143 for as_dir
in $PATH
39146 test -z "$as_dir" && as_dir
=.
39147 for ac_exec_ext
in '' $ac_executable_extensions; do
39148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39149 ac_cv_prog_ac_ct_AR
="ar"
39150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39156 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39159 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39160 if test -n "$ac_ct_AR"; then
39161 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39162 echo "${ECHO_T}$ac_ct_AR" >&6
39164 echo "$as_me:$LINENO: result: no" >&5
39165 echo "${ECHO_T}no" >&6
39170 AR
="$ac_cv_prog_AR"
39173 if test -n "$ac_tool_prefix"; then
39174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39175 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39176 echo "$as_me:$LINENO: checking for $ac_word" >&5
39177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39178 if test "${ac_cv_prog_STRIP+set}" = set; then
39179 echo $ECHO_N "(cached) $ECHO_C" >&6
39181 if test -n "$STRIP"; then
39182 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39185 for as_dir
in $PATH
39188 test -z "$as_dir" && as_dir
=.
39189 for ac_exec_ext
in '' $ac_executable_extensions; do
39190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39191 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39200 STRIP
=$ac_cv_prog_STRIP
39201 if test -n "$STRIP"; then
39202 echo "$as_me:$LINENO: result: $STRIP" >&5
39203 echo "${ECHO_T}$STRIP" >&6
39205 echo "$as_me:$LINENO: result: no" >&5
39206 echo "${ECHO_T}no" >&6
39210 if test -z "$ac_cv_prog_STRIP"; then
39212 # Extract the first word of "strip", so it can be a program name with args.
39213 set dummy strip
; ac_word
=$2
39214 echo "$as_me:$LINENO: checking for $ac_word" >&5
39215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39216 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39217 echo $ECHO_N "(cached) $ECHO_C" >&6
39219 if test -n "$ac_ct_STRIP"; then
39220 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39223 for as_dir
in $PATH
39226 test -z "$as_dir" && as_dir
=.
39227 for ac_exec_ext
in '' $ac_executable_extensions; do
39228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39229 ac_cv_prog_ac_ct_STRIP
="strip"
39230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39236 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39239 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39240 if test -n "$ac_ct_STRIP"; then
39241 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39242 echo "${ECHO_T}$ac_ct_STRIP" >&6
39244 echo "$as_me:$LINENO: result: no" >&5
39245 echo "${ECHO_T}no" >&6
39250 STRIP
="$ac_cv_prog_STRIP"
39253 if test -n "$ac_tool_prefix"; then
39254 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39255 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39256 echo "$as_me:$LINENO: checking for $ac_word" >&5
39257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39258 if test "${ac_cv_prog_NM+set}" = set; then
39259 echo $ECHO_N "(cached) $ECHO_C" >&6
39261 if test -n "$NM"; then
39262 ac_cv_prog_NM
="$NM" # Let the user override the test.
39264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39265 for as_dir
in $PATH
39268 test -z "$as_dir" && as_dir
=.
39269 for ac_exec_ext
in '' $ac_executable_extensions; do
39270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39271 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39281 if test -n "$NM"; then
39282 echo "$as_me:$LINENO: result: $NM" >&5
39283 echo "${ECHO_T}$NM" >&6
39285 echo "$as_me:$LINENO: result: no" >&5
39286 echo "${ECHO_T}no" >&6
39290 if test -z "$ac_cv_prog_NM"; then
39292 # Extract the first word of "nm", so it can be a program name with args.
39293 set dummy nm
; ac_word
=$2
39294 echo "$as_me:$LINENO: checking for $ac_word" >&5
39295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39296 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39297 echo $ECHO_N "(cached) $ECHO_C" >&6
39299 if test -n "$ac_ct_NM"; then
39300 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39303 for as_dir
in $PATH
39306 test -z "$as_dir" && as_dir
=.
39307 for ac_exec_ext
in '' $ac_executable_extensions; do
39308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39309 ac_cv_prog_ac_ct_NM
="nm"
39310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39316 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39319 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39320 if test -n "$ac_ct_NM"; then
39321 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39322 echo "${ECHO_T}$ac_ct_NM" >&6
39324 echo "$as_me:$LINENO: result: no" >&5
39325 echo "${ECHO_T}no" >&6
39330 NM
="$ac_cv_prog_NM"
39334 case ${BAKEFILE_HOST} in
39336 INSTALL_DIR
="mkdir"
39338 *) INSTALL_DIR
="$INSTALL -d"
39344 case ${BAKEFILE_HOST} in
39345 *-*-cygwin* | *-*-mingw32* )
39346 LDFLAGS_GUI
="-mwindows"
39352 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39353 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39354 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39358 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39359 egrep -s GNU
> /dev
/null
); then
39360 bakefile_cv_prog_makeisgnu
="yes"
39362 bakefile_cv_prog_makeisgnu
="no"
39366 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39367 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39369 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39384 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39385 case "${BAKEFILE_HOST}" in
39386 *-*-cygwin* | *-*-mingw32* )
39392 *-pc-os2_emx | *-pc-os2-emx )
39395 powerpc
-*-darwin* )
39404 case "$BAKEFILE_FORCE_PLATFORM" in
39422 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39423 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39424 { (exit 1); exit 1; }; }
39437 # Check whether --enable-omf or --disable-omf was given.
39438 if test "${enable_omf+set}" = set; then
39439 enableval
="$enable_omf"
39440 bk_os2_use_omf
="$enableval"
39443 case "${BAKEFILE_HOST}" in
39445 CFLAGS
="$CFLAGS -fno-common"
39446 CXXFLAGS
="$CXXFLAGS -fno-common"
39449 *-pc-os2_emx | *-pc-os2-emx )
39450 if test "x$bk_os2_use_omf" = "xyes" ; then
39453 LDFLAGS
="-Zomf $LDFLAGS"
39454 CFLAGS
="-Zomf $CFLAGS"
39455 CXXFLAGS
="-Zomf $CXXFLAGS"
39465 SO_SUFFIX_MODULE
="so"
39470 DLLPREFIX_MODULE
=""
39473 case "${BAKEFILE_HOST}" in
39476 SO_SUFFIX_MODULE
="sl"
39480 SO_SUFFIX_MODULE
="a"
39482 *-*-cygwin* | *-*-mingw32* )
39484 SO_SUFFIX_MODULE
="dll"
39485 DLLIMP_SUFFIX
="dll.a"
39493 *-pc-os2_emx | *-pc-os2-emx )
39495 SO_SUFFIX_MODULE
="dll"
39496 DLLIMP_SUFFIX
=$OS2_LIBEXT
39500 LIBEXT
=".$OS2_LIBEXT"
39502 powerpc
-*-darwin* )
39504 SO_SUFFIX_MODULE
="bundle"
39508 if test "x$DLLIMP_SUFFIX" = "x" ; then
39509 DLLIMP_SUFFIX
="$SO_SUFFIX"
39522 SHARED_LD_CC
="\$(CC) -shared -o"
39523 SHARED_LD_CXX
="\$(CXX) -shared -o"
39525 if test "x$GCC" = "xyes"; then
39529 case "${BAKEFILE_HOST}" in
39531 if test "x$GCC" = "xyes"; then
39532 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
39533 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
39535 LDFLAGS
="$LDFLAGS -L/usr/lib"
39537 SHARED_LD_CC
="${CC} -b -o"
39538 SHARED_LD_CXX
="${CXX} -b -o"
39544 if test "x$GCC" != "xyes"; then
39545 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39546 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39547 if test "${bakefile_cv_prog_icc+set}" = set; then
39548 echo $ECHO_N "(cached) $ECHO_C" >&6
39551 cat >conftest.
$ac_ext <<_ACEOF
39554 cat confdefs.h
>>conftest.
$ac_ext
39555 cat >>conftest.
$ac_ext <<_ACEOF
39556 /* end confdefs.h. */
39562 #ifndef __INTEL_COMPILER
39570 rm -f conftest.
$ac_objext
39571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39572 (eval $ac_compile) 2>conftest.er1
39574 grep -v '^ *+' conftest.er1
>conftest.err
39576 cat conftest.err
>&5
39577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578 (exit $ac_status); } &&
39579 { ac_try
='test -z "$ac_c_werror_flag"
39580 || test ! -s conftest.err'
39581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39582 (eval $ac_try) 2>&5
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); }; } &&
39586 { ac_try
='test -s conftest.$ac_objext'
39587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39588 (eval $ac_try) 2>&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); }; }; then
39592 bakefile_cv_prog_icc
=yes
39594 echo "$as_me: failed program was:" >&5
39595 sed 's/^/| /' conftest.
$ac_ext >&5
39597 bakefile_cv_prog_icc
=no
39600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39603 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39604 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39605 if test "$bakefile_cv_prog_icc" = "yes"; then
39612 if test "x$GCC" != xyes
; then
39613 SHARED_LD_CC
="${CC} -G -o"
39614 SHARED_LD_CXX
="${CXX} -G -o"
39621 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39622 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39623 if test "${wx_cv_gcc31+set}" = set; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39627 cat >conftest.
$ac_ext <<_ACEOF
39630 cat confdefs.h
>>conftest.
$ac_ext
39631 cat >>conftest.
$ac_ext <<_ACEOF
39632 /* end confdefs.h. */
39638 #if (__GNUC__ < 3) || \
39639 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39647 rm -f conftest.
$ac_objext
39648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39649 (eval $ac_compile) 2>conftest.er1
39651 grep -v '^ *+' conftest.er1
>conftest.err
39653 cat conftest.err
>&5
39654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39655 (exit $ac_status); } &&
39656 { ac_try
='test -z "$ac_c_werror_flag"
39657 || test ! -s conftest.err'
39658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39659 (eval $ac_try) 2>&5
39661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39662 (exit $ac_status); }; } &&
39663 { ac_try
='test -s conftest.$ac_objext'
39664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665 (eval $ac_try) 2>&5
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); }; }; then
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.
$ac_ext >&5
39681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39684 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39685 echo "${ECHO_T}$wx_cv_gcc31" >&6
39686 if test "$wx_cv_gcc31" = "no"; then
39689 cat <<EOF >shared-ld-sh
39691 #-----------------------------------------------------------------------------
39692 #-- Name: distrib/mac/shared-ld-sh
39693 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39694 #-- Author: Gilles Depeyrot
39695 #-- Copyright: (c) 2002 Gilles Depeyrot
39696 #-- Licence: any use permitted
39697 #-----------------------------------------------------------------------------
39702 linking_flag="-dynamiclib"
39704 while test ${D}# -gt 0; do
39711 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39712 # collect these options and values
39713 args="${D}{args} ${D}1 ${D}2"
39717 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39718 # collect these options
39719 args="${D}{args} ${D}1"
39722 -dynamiclib|-bundle)
39723 linking_flag="${D}1"
39727 echo "shared-ld: unhandled option '${D}1'"
39731 *.o | *.a | *.dylib)
39732 # collect object files
39733 objects="${D}{objects} ${D}1"
39737 echo "shared-ld: unhandled argument '${D}1'"
39746 # Link one module containing all the others
39748 if test ${D}{verbose} = 1; then
39749 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39751 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39753 if test ${D}{status} != 0; then
39758 # Link the shared library from the single module created
39760 if test ${D}{verbose} = 1; then
39761 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39763 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39765 if test ${D}{status} != 0; then
39770 # Remove intermediate module
39772 rm -f master.${D}${D}.o
39777 chmod +x shared
-ld-sh
39779 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39780 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39781 SHARED_LD_CXX
="$SHARED_LD_CC"
39782 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39784 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39785 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39786 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39787 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39790 PIC_FLAG
="-dynamic -fPIC"
39794 if test "x$GCC" != "xyes"; then
39795 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39796 set dummy makeC
++SharedLib
; ac_word
=$2
39797 echo "$as_me:$LINENO: checking for $ac_word" >&5
39798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39799 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39800 echo $ECHO_N "(cached) $ECHO_C" >&6
39802 if test -n "$AIX_CXX_LD"; then
39803 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39806 for as_dir
in $PATH
39809 test -z "$as_dir" && as_dir
=.
39810 for ac_exec_ext
in '' $ac_executable_extensions; do
39811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39812 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39819 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39822 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39823 if test -n "$AIX_CXX_LD"; then
39824 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39825 echo "${ECHO_T}$AIX_CXX_LD" >&6
39827 echo "$as_me:$LINENO: result: no" >&5
39828 echo "${ECHO_T}no" >&6
39831 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39832 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39837 SHARED_LD_CC
="${LD} -shared -o"
39838 SHARED_LD_CXX
="${LD} -shared -o"
39842 if test "x$GCC" != "xyes"; then
39847 *-*-cygwin* | *-*-mingw32* )
39851 *-pc-os2_emx | *-pc-os2-emx )
39852 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39853 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39857 cat <<EOF >dllar.sh
39860 # dllar - a tool to build both a .dll and an .a file
39861 # from a set of object (.o) files for EMX/OS2.
39863 # Written by Andrew Zabolotny, bit@freya.etu.ru
39864 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39866 # This script will accept a set of files on the command line.
39867 # All the public symbols from the .o files will be exported into
39868 # a .DEF file, then linker will be run (through gcc) against them to
39869 # build a shared library consisting of all given .o files. All libraries
39870 # (.a) will be first decompressed into component .o files then act as
39871 # described above. You can optionally give a description (-d "description")
39872 # which will be put into .DLL. To see the list of accepted options (as well
39873 # as command-line format) simply run this program without options. The .DLL
39874 # is built to be imported by name (there is no guarantee that new versions
39875 # of the library you build will have same ordinals for same symbols).
39877 # dllar is free software; you can redistribute it and/or modify
39878 # it under the terms of the GNU General Public License as published by
39879 # the Free Software Foundation; either version 2, or (at your option)
39880 # any later version.
39882 # dllar is distributed in the hope that it will be useful,
39883 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39884 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39885 # GNU General Public License for more details.
39887 # You should have received a copy of the GNU General Public License
39888 # along with dllar; see the file COPYING. If not, write to the Free
39889 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39892 # To successfuly run this program you will need:
39893 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39894 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39896 # (used to build the .dll)
39898 # (used to create .def file from .o files)
39900 # (used to create .a file from .def file)
39901 # - GNU text utilites (cat, sort, uniq)
39902 # used to process emxexp output
39903 # - GNU file utilities (mv, rm)
39905 # - lxlite (optional, see flag below)
39906 # (used for general .dll cleanup)
39913 # basnam, variant of basename, which does _not_ remove the path, _iff_
39914 # second argument (suffix to remove) is given
39918 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39921 echo ${D}1 | sed 's/'${D}2'${D}//'
39924 echo "error in basnam ${D}*"
39930 # Cleanup temporary files and output
39933 for i in ${D}inputFiles ; do
39936 rm -rf \`basnam ${D}i !\`
39943 # Kill result in case of failure as there is just to many stupid make/nmake
39944 # things out there which doesn't do this.
39945 if ${D}# -eq 0 ; then
39946 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39950 # Print usage and exit script with rc=1.
39952 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
39953 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
39954 echo ' -ord[inals] -exclude "symbol(s)"'
39955 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
39957 echo '*> "output_file" should have no extension.'
39958 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39959 echo ' The import library name is derived from this and is set to "name".a,'
39960 echo ' unless overridden by -import'
39961 echo '*> "importlib_name" should have no extension.'
39962 echo ' If it has the .o, or .a extension, it is automatically removed.'
39963 echo ' This name is used as the import library name and may be longer and'
39964 echo ' more descriptive than the DLL name which has to follow the old '
39965 echo ' 8.3 convention of FAT.'
39966 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39967 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39968 echo ' These flags will be put at the start of GCC command line.'
39969 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
39970 echo '*> -exclude defines symbols which will not be exported. You can define'
39971 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39972 echo ' If the last character of a symbol is "*", all symbols beginning'
39973 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39974 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
39975 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39976 echo '*> -nocrtdll switch will disable linking the library against emx''s'
39977 echo ' C runtime DLLs.'
39978 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
39979 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39980 echo ' unchanged to GCC at the end of command line.'
39981 echo '*> If you create a DLL from a library and you do not specify -o,'
39982 echo ' the basename for DLL and import library will be set to library name,'
39983 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39984 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39985 echo ' library will be renamed into gcc_s.a.'
39988 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39989 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39994 # Execute a command.
39995 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39996 # @Uses Whatever CleanUp() uses.
40002 if ${D}rcCmd -ne 0 ; then
40003 echo "command failed, exit code="${D}rcCmd
40017 CFLAGS="-s -Zcrtdll"
40019 EXPORT_BY_ORDINALS=0
40024 case ${D}curDirS in
40028 curDirS=${D}{curDirS}"/"
40031 # Parse commandline
40036 EXPORT_BY_ORDINALS=1;
40063 exclude_symbols=${D}{exclude_symbols}${D}1" "
40067 library_flags=${D}{library_flags}${D}1" "
40083 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40087 if ${D}libsToLink -ne 0 ; then
40088 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40090 for file in ${D}1 ; do
40091 if -f ${D}file ; then
40092 inputFiles="${D}{inputFiles} ${D}file"
40096 if ${D}found -eq 0 ; then
40097 echo "ERROR: No file(s) found: "${D}1
40104 done # iterate cmdline words
40107 if -z "${D}inputFiles" ; then
40108 echo "dllar: no input files"
40112 # Now extract all .o files from .a files
40114 for file in ${D}inputFiles ; do
40125 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40130 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40132 if ${D}? -ne 0 ; then
40133 echo "Failed to create subdirectory ./${D}dirname"
40137 # Append '!' to indicate archive
40138 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40139 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40142 for subfile in ${D}dirname/*.o* ; do
40143 if -f ${D}subfile ; then
40145 if -s ${D}subfile ; then
40146 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40147 newInputFiles="${D}newInputFiles ${D}subfile"
40151 if ${D}found -eq 0 ; then
40152 echo "WARNING: there are no files in archive \'${D}file\'"
40156 newInputFiles="${D}{newInputFiles} ${D}file"
40160 inputFiles="${D}newInputFiles"
40162 # Output filename(s).
40164 if -z ${D}outFile ; then
40166 set outFile ${D}inputFiles; outFile=${D}2
40169 # If it is an archive, remove the '!' and the '_%' suffixes
40170 case ${D}outFile in
40172 outFile=\`basnam ${D}outFile _%!\`
40177 case ${D}outFile in
40179 outFile=\`basnam ${D}outFile .dll\`
40182 outFile=\`basnam ${D}outFile .DLL\`
40185 outFile=\`basnam ${D}outFile .o\`
40188 outFile=\`basnam ${D}outFile .obj\`
40191 outFile=\`basnam ${D}outFile .a\`
40194 outFile=\`basnam ${D}outFile .lib\`
40199 case ${D}outimpFile in
40201 outimpFile=\`basnam ${D}outimpFile .a\`
40204 outimpFile=\`basnam ${D}outimpFile .lib\`
40209 if -z ${D}outimpFile ; then
40210 outimpFile=${D}outFile
40212 defFile="${D}{outFile}.def"
40213 arcFile="${D}{outimpFile}.a"
40214 arcFile2="${D}{outimpFile}.lib"
40215 dllFile="${D}outFile"
40216 # Add suffix to dllFile later, first we need a version to use as
40217 # name in .def file.
40219 if ${D}do_backup -ne 0 ; then
40220 if -f ${D}arcFile ; then
40221 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40223 if -f ${D}arcFile2 ; then
40224 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40228 # Extract public symbols from all the object files.
40229 tmpdefFile=${D}{defFile}_%
40230 rm -f ${D}tmpdefFile
40231 for file in ${D}inputFiles ; do
40236 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40241 # Create the def file.
40243 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40244 dllFile="${D}dllFile.dll"
40245 if -n ${D}description ; then
40246 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
40248 echo "EXPORTS" >> ${D}defFile
40250 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40251 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40253 # Checks if the export is ok or not.
40254 for word in ${D}exclude_symbols; do
40255 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40256 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40260 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40261 sed "=" < ${D}tmpdefFile | \
40265 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
40267 ' > ${D}{tmpdefFile}%
40268 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40270 rm -f ${D}{tmpdefFile}%
40272 cat ${D}tmpdefFile >> ${D}defFile
40273 rm -f ${D}tmpdefFile
40275 # Do linking, create implib, and apply lxlite.
40277 for file in ${D}inputFiles ; do
40282 gccCmdl="${D}gccCmdl ${D}file"
40286 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40287 touch "${D}{outFile}.dll"
40289 doCommand "emximp -o ${D}arcFile ${D}defFile"
40290 if ${D}flag_USE_LXLITE -ne 0 ; then
40292 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
40295 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40297 doCommand "emxomf -s -l ${D}arcFile"
40307 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40315 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40316 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40317 { (exit 1); exit 1; }; }
40320 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40321 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40323 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40324 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40341 case "${BAKEFILE_HOST}" in
40343 SONAME_FLAG
="-Wl,-soname,"
40371 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40372 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40375 if test "x$GCC" = "xyes"; then
40378 case "${BAKEFILE_HOST}" in
40379 powerpc
-*-darwin* )
40380 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40383 DEPSFLAG_GCC
="-MMD"
40386 echo "$as_me:$LINENO: result: gcc" >&5
40387 echo "${ECHO_T}gcc" >&6
40389 echo "$as_me:$LINENO: result: none" >&5
40390 echo "${ECHO_T}none" >&6
40393 if test $DEPS_TRACKING = 1 ; then
40399 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40400 # script. It is used to track C/C++ files dependencies in portable way.
40402 # Permission is given to use this file in any way.
40404 DEPSMODE=${DEPSMODE}
40406 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40408 mkdir -p ${D}DEPSDIR
40410 if test ${D}DEPSMODE = gcc ; then
40411 ${D}* ${D}{DEPSFLAG_GCC}
40413 if test ${D}{status} != 0 ; then
40416 # move created file to the location we want it in:
40417 while test ${D}# -gt 0; do
40431 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
40432 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
40433 if test -f ${D}depfile ; then
40434 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40437 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
40438 if test -f ${D}depfile ; then
40439 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40459 case ${BAKEFILE_HOST} in
40460 *-*-cygwin* | *-*-mingw32* )
40461 if test "$build" != "$host" ; then
40462 RESCOMP
=$host_alias-windres
40464 # Extract the first word of "windres", so it can be a program name with args.
40465 set dummy windres
; ac_word
=$2
40466 echo "$as_me:$LINENO: checking for $ac_word" >&5
40467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40468 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40471 if test -n "$RESCOMP"; then
40472 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40475 for as_dir
in $PATH
40478 test -z "$as_dir" && as_dir
=.
40479 for ac_exec_ext
in '' $ac_executable_extensions; do
40480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40481 ac_cv_prog_RESCOMP
="windres"
40482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40488 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40491 RESCOMP
=$ac_cv_prog_RESCOMP
40492 if test -n "$RESCOMP"; then
40493 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40494 echo "${ECHO_T}$RESCOMP" >&6
40496 echo "$as_me:$LINENO: result: no" >&5
40497 echo "${ECHO_T}no" >&6
40504 # Extract the first word of "Rez", so it can be a program name with args.
40505 set dummy Rez
; ac_word
=$2
40506 echo "$as_me:$LINENO: checking for $ac_word" >&5
40507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40508 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40511 if test -n "$RESCOMP"; then
40512 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40515 for as_dir
in $PATH
40518 test -z "$as_dir" && as_dir
=.
40519 for ac_exec_ext
in '' $ac_executable_extensions; do
40520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40521 ac_cv_prog_RESCOMP
="Rez"
40522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40528 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40531 RESCOMP
=$ac_cv_prog_RESCOMP
40532 if test -n "$RESCOMP"; then
40533 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40534 echo "${ECHO_T}$RESCOMP" >&6
40536 echo "$as_me:$LINENO: result: no" >&5
40537 echo "${ECHO_T}no" >&6
40540 # Extract the first word of "SetFile", so it can be a program name with args.
40541 set dummy SetFile
; ac_word
=$2
40542 echo "$as_me:$LINENO: checking for $ac_word" >&5
40543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40544 if test "${ac_cv_prog_SETFILE+set}" = set; then
40545 echo $ECHO_N "(cached) $ECHO_C" >&6
40547 if test -n "$SETFILE"; then
40548 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40551 for as_dir
in $PATH
40554 test -z "$as_dir" && as_dir
=.
40555 for ac_exec_ext
in '' $ac_executable_extensions; do
40556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40557 ac_cv_prog_SETFILE
="SetFile"
40558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40564 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40567 SETFILE
=$ac_cv_prog_SETFILE
40568 if test -n "$SETFILE"; then
40569 echo "$as_me:$LINENO: result: $SETFILE" >&5
40570 echo "${ECHO_T}$SETFILE" >&6
40572 echo "$as_me:$LINENO: result: no" >&5
40573 echo "${ECHO_T}no" >&6
40584 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
40588 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40589 if test "${enable_precomp_headers+set}" = set; then
40590 enableval
="$enable_precomp_headers"
40591 bk_use_pch
="$enableval"
40596 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40597 if test "x$GCC" = "xyes"; then
40598 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40599 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40600 cat >conftest.
$ac_ext <<_ACEOF
40603 cat confdefs.h
>>conftest.
$ac_ext
40604 cat >>conftest.
$ac_ext <<_ACEOF
40605 /* end confdefs.h. */
40611 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40612 #error "no pch support"
40615 #error "no pch support"
40617 #if (__GNUC__ == 3) && \
40618 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40619 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40620 #error "no pch support"
40627 rm -f conftest.
$ac_objext
40628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40629 (eval $ac_compile) 2>conftest.er1
40631 grep -v '^ *+' conftest.er1
>conftest.err
40633 cat conftest.err
>&5
40634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40635 (exit $ac_status); } &&
40636 { ac_try
='test -z "$ac_c_werror_flag"
40637 || test ! -s conftest.err'
40638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40639 (eval $ac_try) 2>&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); }; } &&
40643 { ac_try
='test -s conftest.$ac_objext'
40644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40645 (eval $ac_try) 2>&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); }; }; then
40650 echo "$as_me:$LINENO: result: yes" >&5
40651 echo "${ECHO_T}yes" >&6
40652 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40656 echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.
$ac_ext >&5
40660 echo "$as_me:$LINENO: result: no" >&5
40661 echo "${ECHO_T}no" >&6
40664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40665 if test $GCC_PCH = 1 ; then
40666 cat <<EOF >bk-make-pch
40669 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40670 # script. It is used to generated precompiled headers.
40672 # Permission is given to use this file in any way.
40681 while test \${#} -gt 0; do
40684 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40685 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40686 headerfile="\${incdir}/\${header}"
40690 compiler="\${compiler} \${1}"
40694 if test "x\${headerfile}" = "x" ; then
40695 echo "error: can't find header \${header} in include paths" >2
40697 if test -f \${outfile} ; then
40700 mkdir -p \`dirname \${outfile}\`
40702 depsfile=".deps/\`basename \${outfile}\`.d"
40704 # can do this because gcc is >= 3.4:
40705 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40709 chmod +x bk
-make-pch
40720 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40721 if test "${enable_precomp_headers+set}" = set; then
40722 enableval
="$enable_precomp_headers"
40723 bk_use_pch
="$enableval"
40728 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40729 if test "x$GCC" = "xyes"; then
40730 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40731 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40732 cat >conftest.
$ac_ext <<_ACEOF
40735 cat confdefs.h
>>conftest.
$ac_ext
40736 cat >>conftest.
$ac_ext <<_ACEOF
40737 /* end confdefs.h. */
40743 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40744 #error "no pch support"
40747 #error "no pch support"
40749 #if (__GNUC__ == 3) && \
40750 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40751 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40752 #error "no pch support"
40759 rm -f conftest.
$ac_objext
40760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40761 (eval $ac_compile) 2>conftest.er1
40763 grep -v '^ *+' conftest.er1
>conftest.err
40765 cat conftest.err
>&5
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); } &&
40768 { ac_try
='test -z "$ac_c_werror_flag"
40769 || test ! -s conftest.err'
40770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40771 (eval $ac_try) 2>&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); }; } &&
40775 { ac_try
='test -s conftest.$ac_objext'
40776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40777 (eval $ac_try) 2>&5
40779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40780 (exit $ac_status); }; }; then
40782 echo "$as_me:$LINENO: result: yes" >&5
40783 echo "${ECHO_T}yes" >&6
40784 CPPFLAGS
="-fpch-deps $CPPFLAGS"
40788 echo "$as_me: failed program was:" >&5
40789 sed 's/^/| /' conftest.
$ac_ext >&5
40792 echo "$as_me:$LINENO: result: no" >&5
40793 echo "${ECHO_T}no" >&6
40796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40797 if test $GCC_PCH = 1 ; then
40798 cat <<EOF >bk-make-pch
40801 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40802 # script. It is used to generated precompiled headers.
40804 # Permission is given to use this file in any way.
40813 while test \${#} -gt 0; do
40816 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40817 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40818 headerfile="\${incdir}/\${header}"
40822 compiler="\${compiler} \${1}"
40826 if test "x\${headerfile}" = "x" ; then
40827 echo "error: can't find header \${header} in include paths" >2
40829 if test -f \${outfile} ; then
40832 mkdir -p \`dirname \${outfile}\`
40834 depsfile=".deps/\`basename \${outfile}\`.d"
40836 # can do this because gcc is >= 3.4:
40837 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40841 chmod +x bk
-make-pch
40849 COND_BUILD_DEBUG
="#"
40850 if test "x$BUILD" = "xdebug" ; then
40851 COND_BUILD_DEBUG
=""
40854 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40855 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40856 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40859 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40860 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40861 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40864 COND_BUILD_DEBUG_UNICODE_0
="#"
40865 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40866 COND_BUILD_DEBUG_UNICODE_0
=""
40869 COND_BUILD_DEBUG_UNICODE_1
="#"
40870 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40871 COND_BUILD_DEBUG_UNICODE_1
=""
40874 COND_BUILD_RELEASE
="#"
40875 if test "x$BUILD" = "xrelease" ; then
40876 COND_BUILD_RELEASE
=""
40879 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40880 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40881 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40884 COND_BUILD_RELEASE_UNICODE_0
="#"
40885 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40886 COND_BUILD_RELEASE_UNICODE_0
=""
40889 COND_BUILD_RELEASE_UNICODE_1
="#"
40890 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40891 COND_BUILD_RELEASE_UNICODE_1
=""
40894 COND_DEBUG_FLAG_1
="#"
40895 if test "x$DEBUG_FLAG" = "x1" ; then
40896 COND_DEBUG_FLAG_1
=""
40899 COND_DEBUG_INFO_0
="#"
40900 if test "x$DEBUG_INFO" = "x0" ; then
40901 COND_DEBUG_INFO_0
=""
40904 COND_DEBUG_INFO_1
="#"
40905 if test "x$DEBUG_INFO" = "x1" ; then
40906 COND_DEBUG_INFO_1
=""
40909 COND_DEPS_TRACKING_0
="#"
40910 if test "x$DEPS_TRACKING" = "x0" ; then
40911 COND_DEPS_TRACKING_0
=""
40914 COND_DEPS_TRACKING_1
="#"
40915 if test "x$DEPS_TRACKING" = "x1" ; then
40916 COND_DEPS_TRACKING_1
=""
40920 if test "x$GCC_PCH" = "x1" ; then
40924 COND_MONOLITHIC_0
="#"
40925 if test "x$MONOLITHIC" = "x0" ; then
40926 COND_MONOLITHIC_0
=""
40929 COND_MONOLITHIC_0_SHARED_0
="#"
40930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40931 COND_MONOLITHIC_0_SHARED_0
=""
40934 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40936 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40939 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40944 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40946 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40949 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40951 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40954 COND_MONOLITHIC_0_SHARED_1
="#"
40955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40956 COND_MONOLITHIC_0_SHARED_1
=""
40959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40969 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40971 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40974 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40976 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40979 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40980 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40981 COND_MONOLITHIC_0_USE_ODBC_1
=""
40984 COND_MONOLITHIC_1
="#"
40985 if test "x$MONOLITHIC" = "x1" ; then
40986 COND_MONOLITHIC_1
=""
40989 COND_MONOLITHIC_1_SHARED_0
="#"
40990 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40991 COND_MONOLITHIC_1_SHARED_0
=""
40994 COND_MONOLITHIC_1_SHARED_1
="#"
40995 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40996 COND_MONOLITHIC_1_SHARED_1
=""
40999 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41000 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41001 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41004 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41005 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41006 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41009 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41010 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41011 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41014 COND_PLATFORM_MACOSX_1
="#"
41015 if test "x$PLATFORM_MACOSX" = "x1" ; then
41016 COND_PLATFORM_MACOSX_1
=""
41019 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41021 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41024 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41026 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41029 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41031 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41034 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41036 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41039 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41041 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41044 COND_PLATFORM_MAC_1
="#"
41045 if test "x$PLATFORM_MAC" = "x1" ; then
41046 COND_PLATFORM_MAC_1
=""
41049 COND_PLATFORM_OS2_1
="#"
41050 if test "x$PLATFORM_OS2" = "x1" ; then
41051 COND_PLATFORM_OS2_1
=""
41054 COND_PLATFORM_UNIX_0
="#"
41055 if test "x$PLATFORM_UNIX" = "x0" ; then
41056 COND_PLATFORM_UNIX_0
=""
41059 COND_PLATFORM_UNIX_1
="#"
41060 if test "x$PLATFORM_UNIX" = "x1" ; then
41061 COND_PLATFORM_UNIX_1
=""
41064 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41065 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41066 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41069 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41070 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41071 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41074 COND_PLATFORM_WIN32_0
="#"
41075 if test "x$PLATFORM_WIN32" = "x0" ; then
41076 COND_PLATFORM_WIN32_0
=""
41079 COND_PLATFORM_WIN32_1
="#"
41080 if test "x$PLATFORM_WIN32" = "x1" ; then
41081 COND_PLATFORM_WIN32_1
=""
41085 if test "x$SHARED" = "x0" ; then
41089 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41090 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41091 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41094 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41095 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41096 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41099 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41100 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41101 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41104 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41105 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41106 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41109 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41110 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41111 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41114 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41115 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41116 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41119 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41120 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41121 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41124 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41125 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41126 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41130 if test "x$SHARED" = "x1" ; then
41134 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41135 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41136 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41139 COND_TOOLKIT_COCOA
="#"
41140 if test "x$TOOLKIT" = "xCOCOA" ; then
41141 COND_TOOLKIT_COCOA
=""
41144 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41145 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41146 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41149 COND_TOOLKIT_GTK
="#"
41150 if test "x$TOOLKIT" = "xGTK" ; then
41151 COND_TOOLKIT_GTK
=""
41154 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41155 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41156 COND_TOOLKIT_GTK_USE_GUI_1
=""
41159 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41160 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41161 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41164 COND_TOOLKIT_MAC
="#"
41165 if test "x$TOOLKIT" = "xMAC" ; then
41166 COND_TOOLKIT_MAC
=""
41169 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41170 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41171 COND_TOOLKIT_MAC_USE_GUI_1
=""
41174 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41175 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41176 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41179 COND_TOOLKIT_MGL
="#"
41180 if test "x$TOOLKIT" = "xMGL" ; then
41181 COND_TOOLKIT_MGL
=""
41184 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41185 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41186 COND_TOOLKIT_MGL_USE_GUI_1
=""
41189 COND_TOOLKIT_MOTIF
="#"
41190 if test "x$TOOLKIT" = "xMOTIF" ; then
41191 COND_TOOLKIT_MOTIF
=""
41194 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41195 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41196 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41199 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41200 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41201 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41204 COND_TOOLKIT_MSW
="#"
41205 if test "x$TOOLKIT" = "xMSW" ; then
41206 COND_TOOLKIT_MSW
=""
41209 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41210 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41211 COND_TOOLKIT_MSW_USE_GUI_1
=""
41214 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41215 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41216 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41219 COND_TOOLKIT_PM
="#"
41220 if test "x$TOOLKIT" = "xPM" ; then
41224 COND_TOOLKIT_PM_USE_GUI_1
="#"
41225 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41226 COND_TOOLKIT_PM_USE_GUI_1
=""
41229 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41230 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41231 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41234 COND_TOOLKIT_WINCE
="#"
41235 if test "x$TOOLKIT" = "xWINCE" ; then
41236 COND_TOOLKIT_WINCE
=""
41239 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41240 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41241 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41244 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41245 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41246 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41249 COND_TOOLKIT_X11
="#"
41250 if test "x$TOOLKIT" = "xX11" ; then
41251 COND_TOOLKIT_X11
=""
41254 COND_TOOLKIT_X11_USE_GUI_1
="#"
41255 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41256 COND_TOOLKIT_X11_USE_GUI_1
=""
41260 if test "x$UNICODE" = "x1" ; then
41264 COND_USE_EXCEPTIONS_0
="#"
41265 if test "x$USE_EXCEPTIONS" = "x0" ; then
41266 COND_USE_EXCEPTIONS_0
=""
41269 COND_USE_EXCEPTIONS_1
="#"
41270 if test "x$USE_EXCEPTIONS" = "x1" ; then
41271 COND_USE_EXCEPTIONS_1
=""
41275 if test "x$USE_GUI" = "x0" ; then
41280 if test "x$USE_GUI" = "x1" ; then
41284 COND_USE_GUI_1_WXUNIV_0
="#"
41285 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41286 COND_USE_GUI_1_WXUNIV_0
=""
41289 COND_USE_GUI_1_WXUNIV_1
="#"
41290 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41291 COND_USE_GUI_1_WXUNIV_1
=""
41294 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41296 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41299 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41300 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41301 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41304 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41305 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41306 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41309 COND_USE_ODBC_1
="#"
41310 if test "x$USE_ODBC" = "x1" ; then
41314 COND_USE_PLUGINS_0
="#"
41315 if test "x$USE_PLUGINS" = "x0" ; then
41316 COND_USE_PLUGINS_0
=""
41319 COND_USE_SOSYMLINKS_1
="#"
41320 if test "x$USE_SOSYMLINKS" = "x1" ; then
41321 COND_USE_SOSYMLINKS_1
=""
41324 COND_USE_SOVERLINUX_1
="#"
41325 if test "x$USE_SOVERLINUX" = "x1" ; then
41326 COND_USE_SOVERLINUX_1
=""
41329 COND_USE_SOVERSION_0
="#"
41330 if test "x$USE_SOVERSION" = "x0" ; then
41331 COND_USE_SOVERSION_0
=""
41334 COND_USE_SOVERSOLARIS_1
="#"
41335 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41336 COND_USE_SOVERSOLARIS_1
=""
41339 COND_WITH_PLUGIN_SDL_1
="#"
41340 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41341 COND_WITH_PLUGIN_SDL_1
=""
41344 COND_WITH_SDL_1
="#"
41345 if test "x$WITH_SDL" = "x1" ; then
41350 if test "x$WXUNIV" = "x1" ; then
41354 COND_WXUSE_EXPAT_BUILTIN
="#"
41355 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41356 COND_WXUSE_EXPAT_BUILTIN
=""
41359 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41360 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41361 COND_WXUSE_LIBJPEG_BUILTIN
=""
41364 COND_WXUSE_LIBPNG_BUILTIN
="#"
41365 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41366 COND_WXUSE_LIBPNG_BUILTIN
=""
41369 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41370 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41371 COND_WXUSE_LIBTIFF_BUILTIN
=""
41374 COND_WXUSE_ODBC_BUILTIN
="#"
41375 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41376 COND_WXUSE_ODBC_BUILTIN
=""
41379 COND_WXUSE_REGEX_BUILTIN
="#"
41380 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41381 COND_WXUSE_REGEX_BUILTIN
=""
41384 COND_WXUSE_ZLIB_BUILTIN
="#"
41385 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41386 COND_WXUSE_ZLIB_BUILTIN
=""
41389 COND_BUILD_DEBUG
="#"
41390 if test "x$BUILD" = "xdebug" ; then
41391 COND_BUILD_DEBUG
=""
41394 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
41395 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41396 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
41399 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
41400 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41401 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
41404 COND_BUILD_DEBUG_UNICODE_0
="#"
41405 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41406 COND_BUILD_DEBUG_UNICODE_0
=""
41409 COND_BUILD_DEBUG_UNICODE_1
="#"
41410 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41411 COND_BUILD_DEBUG_UNICODE_1
=""
41414 COND_BUILD_RELEASE
="#"
41415 if test "x$BUILD" = "xrelease" ; then
41416 COND_BUILD_RELEASE
=""
41419 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
41420 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41421 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41424 COND_BUILD_RELEASE_UNICODE_0
="#"
41425 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41426 COND_BUILD_RELEASE_UNICODE_0
=""
41429 COND_BUILD_RELEASE_UNICODE_1
="#"
41430 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41431 COND_BUILD_RELEASE_UNICODE_1
=""
41434 COND_DEBUG_FLAG_1
="#"
41435 if test "x$DEBUG_FLAG" = "x1" ; then
41436 COND_DEBUG_FLAG_1
=""
41439 COND_DEBUG_INFO_0
="#"
41440 if test "x$DEBUG_INFO" = "x0" ; then
41441 COND_DEBUG_INFO_0
=""
41444 COND_DEBUG_INFO_1
="#"
41445 if test "x$DEBUG_INFO" = "x1" ; then
41446 COND_DEBUG_INFO_1
=""
41449 COND_DEPS_TRACKING_0
="#"
41450 if test "x$DEPS_TRACKING" = "x0" ; then
41451 COND_DEPS_TRACKING_0
=""
41454 COND_DEPS_TRACKING_1
="#"
41455 if test "x$DEPS_TRACKING" = "x1" ; then
41456 COND_DEPS_TRACKING_1
=""
41460 if test "x$GCC_PCH" = "x1" ; then
41464 COND_MONOLITHIC_0
="#"
41465 if test "x$MONOLITHIC" = "x0" ; then
41466 COND_MONOLITHIC_0
=""
41469 COND_MONOLITHIC_0_SHARED_0
="#"
41470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41471 COND_MONOLITHIC_0_SHARED_0
=""
41474 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41476 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41479 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41481 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41484 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41486 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41489 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41491 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41494 COND_MONOLITHIC_0_SHARED_1
="#"
41495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41496 COND_MONOLITHIC_0_SHARED_1
=""
41499 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41501 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41504 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41506 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41509 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41511 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41514 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41516 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41519 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41520 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41521 COND_MONOLITHIC_0_USE_ODBC_1
=""
41524 COND_MONOLITHIC_1
="#"
41525 if test "x$MONOLITHIC" = "x1" ; then
41526 COND_MONOLITHIC_1
=""
41529 COND_MONOLITHIC_1_SHARED_0
="#"
41530 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41531 COND_MONOLITHIC_1_SHARED_0
=""
41534 COND_MONOLITHIC_1_SHARED_1
="#"
41535 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41536 COND_MONOLITHIC_1_SHARED_1
=""
41539 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41540 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41541 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41544 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41545 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41546 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41549 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41550 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41551 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41554 COND_PLATFORM_MACOSX_1
="#"
41555 if test "x$PLATFORM_MACOSX" = "x1" ; then
41556 COND_PLATFORM_MACOSX_1
=""
41559 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41561 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41564 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41566 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41569 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41571 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41574 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41576 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41579 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41581 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41584 COND_PLATFORM_MAC_1
="#"
41585 if test "x$PLATFORM_MAC" = "x1" ; then
41586 COND_PLATFORM_MAC_1
=""
41589 COND_PLATFORM_OS2_1
="#"
41590 if test "x$PLATFORM_OS2" = "x1" ; then
41591 COND_PLATFORM_OS2_1
=""
41594 COND_PLATFORM_UNIX_0
="#"
41595 if test "x$PLATFORM_UNIX" = "x0" ; then
41596 COND_PLATFORM_UNIX_0
=""
41599 COND_PLATFORM_UNIX_1
="#"
41600 if test "x$PLATFORM_UNIX" = "x1" ; then
41601 COND_PLATFORM_UNIX_1
=""
41604 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41605 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41606 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41609 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41610 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41611 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41614 COND_PLATFORM_WIN32_0
="#"
41615 if test "x$PLATFORM_WIN32" = "x0" ; then
41616 COND_PLATFORM_WIN32_0
=""
41619 COND_PLATFORM_WIN32_1
="#"
41620 if test "x$PLATFORM_WIN32" = "x1" ; then
41621 COND_PLATFORM_WIN32_1
=""
41625 if test "x$SHARED" = "x0" ; then
41629 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41630 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41631 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41634 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41635 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41636 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41639 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41640 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41641 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41644 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41645 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41646 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41649 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41650 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41651 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41654 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41655 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41656 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41659 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41660 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41661 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41664 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41665 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41666 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41670 if test "x$SHARED" = "x1" ; then
41674 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41675 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41676 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41679 COND_TOOLKIT_COCOA
="#"
41680 if test "x$TOOLKIT" = "xCOCOA" ; then
41681 COND_TOOLKIT_COCOA
=""
41684 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41685 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41686 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41689 COND_TOOLKIT_GTK
="#"
41690 if test "x$TOOLKIT" = "xGTK" ; then
41691 COND_TOOLKIT_GTK
=""
41694 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41695 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41696 COND_TOOLKIT_GTK_USE_GUI_1
=""
41699 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41700 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41701 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41704 COND_TOOLKIT_MAC
="#"
41705 if test "x$TOOLKIT" = "xMAC" ; then
41706 COND_TOOLKIT_MAC
=""
41709 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41710 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41711 COND_TOOLKIT_MAC_USE_GUI_1
=""
41714 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41715 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41716 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41719 COND_TOOLKIT_MGL
="#"
41720 if test "x$TOOLKIT" = "xMGL" ; then
41721 COND_TOOLKIT_MGL
=""
41724 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41725 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41726 COND_TOOLKIT_MGL_USE_GUI_1
=""
41729 COND_TOOLKIT_MOTIF
="#"
41730 if test "x$TOOLKIT" = "xMOTIF" ; then
41731 COND_TOOLKIT_MOTIF
=""
41734 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41735 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41736 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41739 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41740 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41741 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41744 COND_TOOLKIT_MSW
="#"
41745 if test "x$TOOLKIT" = "xMSW" ; then
41746 COND_TOOLKIT_MSW
=""
41749 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41750 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41751 COND_TOOLKIT_MSW_USE_GUI_1
=""
41754 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41755 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41756 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41759 COND_TOOLKIT_PM
="#"
41760 if test "x$TOOLKIT" = "xPM" ; then
41764 COND_TOOLKIT_PM_USE_GUI_1
="#"
41765 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41766 COND_TOOLKIT_PM_USE_GUI_1
=""
41769 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41770 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41771 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41774 COND_TOOLKIT_WINCE
="#"
41775 if test "x$TOOLKIT" = "xWINCE" ; then
41776 COND_TOOLKIT_WINCE
=""
41779 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41780 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41781 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41784 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41785 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41786 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41789 COND_TOOLKIT_X11
="#"
41790 if test "x$TOOLKIT" = "xX11" ; then
41791 COND_TOOLKIT_X11
=""
41794 COND_TOOLKIT_X11_USE_GUI_1
="#"
41795 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41796 COND_TOOLKIT_X11_USE_GUI_1
=""
41800 if test "x$UNICODE" = "x1" ; then
41804 COND_USE_EXCEPTIONS_0
="#"
41805 if test "x$USE_EXCEPTIONS" = "x0" ; then
41806 COND_USE_EXCEPTIONS_0
=""
41809 COND_USE_EXCEPTIONS_1
="#"
41810 if test "x$USE_EXCEPTIONS" = "x1" ; then
41811 COND_USE_EXCEPTIONS_1
=""
41815 if test "x$USE_GUI" = "x0" ; then
41820 if test "x$USE_GUI" = "x1" ; then
41824 COND_USE_GUI_1_WXUNIV_0
="#"
41825 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41826 COND_USE_GUI_1_WXUNIV_0
=""
41829 COND_USE_GUI_1_WXUNIV_1
="#"
41830 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41831 COND_USE_GUI_1_WXUNIV_1
=""
41834 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41835 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41836 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41839 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41840 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41841 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41844 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41845 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41846 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41849 COND_USE_ODBC_1
="#"
41850 if test "x$USE_ODBC" = "x1" ; then
41854 COND_USE_PLUGINS_0
="#"
41855 if test "x$USE_PLUGINS" = "x0" ; then
41856 COND_USE_PLUGINS_0
=""
41859 COND_USE_SOSYMLINKS_1
="#"
41860 if test "x$USE_SOSYMLINKS" = "x1" ; then
41861 COND_USE_SOSYMLINKS_1
=""
41864 COND_USE_SOVERLINUX_1
="#"
41865 if test "x$USE_SOVERLINUX" = "x1" ; then
41866 COND_USE_SOVERLINUX_1
=""
41869 COND_USE_SOVERSION_0
="#"
41870 if test "x$USE_SOVERSION" = "x0" ; then
41871 COND_USE_SOVERSION_0
=""
41874 COND_USE_SOVERSOLARIS_1
="#"
41875 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41876 COND_USE_SOVERSOLARIS_1
=""
41879 COND_WITH_PLUGIN_SDL_1
="#"
41880 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41881 COND_WITH_PLUGIN_SDL_1
=""
41885 if test "x$WXUNIV" = "x1" ; then
41889 COND_WXUSE_EXPAT_BUILTIN
="#"
41890 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41891 COND_WXUSE_EXPAT_BUILTIN
=""
41894 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41895 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41896 COND_WXUSE_LIBJPEG_BUILTIN
=""
41899 COND_WXUSE_LIBPNG_BUILTIN
="#"
41900 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41901 COND_WXUSE_LIBPNG_BUILTIN
=""
41904 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41905 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41906 COND_WXUSE_LIBTIFF_BUILTIN
=""
41909 COND_WXUSE_ODBC_BUILTIN
="#"
41910 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41911 COND_WXUSE_ODBC_BUILTIN
=""
41914 COND_WXUSE_REGEX_BUILTIN
="#"
41915 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41916 COND_WXUSE_REGEX_BUILTIN
=""
41919 COND_WXUSE_ZLIB_BUILTIN
="#"
41920 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41921 COND_WXUSE_ZLIB_BUILTIN
=""
41928 if test $GCC_PCH = 1 ; then
41929 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41930 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
41933 powerpc
-*-darwin* )
41934 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41935 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
41938 if test "$wxUSE_STL" = "yes" -o \
41939 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41940 "$wxUSE_NO_RTTI" != "yes"; then
41941 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41942 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41943 cat >conftest.
$ac_ext <<_ACEOF
41946 cat confdefs.h
>>conftest.
$ac_ext
41947 cat >>conftest.
$ac_ext <<_ACEOF
41948 /* end confdefs.h. */
41953 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41954 #error "Not GCC 3.2 or greater"
41961 rm -f conftest.
$ac_objext
41962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41963 (eval $ac_compile) 2>conftest.er1
41965 grep -v '^ *+' conftest.er1
>conftest.err
41967 cat conftest.err
>&5
41968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41969 (exit $ac_status); } &&
41970 { ac_try
='test -z "$ac_c_werror_flag"
41971 || test ! -s conftest.err'
41972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41973 (eval $ac_try) 2>&5
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); }; } &&
41977 { ac_try
='test -s conftest.$ac_objext'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; }; then
41983 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
41984 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
41985 echo "$as_me:$LINENO: result: yes" >&5
41986 echo "${ECHO_T}yes" >&6
41988 echo "$as_me: failed program was:" >&5
41989 sed 's/^/| /' conftest.
$ac_ext >&5
41991 echo "$as_me:$LINENO: result: no" >&5
41992 echo "${ECHO_T}no" >&6
41994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42001 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42102 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42103 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42104 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42105 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42106 echo $ECHO_N "(cached) $ECHO_C" >&6
42108 cat >conftest.
make <<\_ACEOF
42110 @
echo 'ac_maketemp="$(MAKE)"'
42112 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42113 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42114 if test -n "$ac_maketemp"; then
42115 eval ac_cv_prog_make_
${ac_make}_set
=yes
42117 eval ac_cv_prog_make_
${ac_make}_set
=no
42119 rm -f conftest.
make
42121 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42122 echo "$as_me:$LINENO: result: yes" >&5
42123 echo "${ECHO_T}yes" >&6
42126 echo "$as_me:$LINENO: result: no" >&5
42127 echo "${ECHO_T}no" >&6
42128 SET_MAKE
="MAKE=${MAKE-make}"
42132 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
42133 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
42136 ac_config_headers
="$ac_config_headers setup.h"
42139 ac_config_files
="$ac_config_files wx-config version-script Makefile"
42142 ac_config_commands
="$ac_config_commands default"
42146 if test "$wxUSE_GUI" = "yes"; then
42147 SUBDIRS
="samples demos utils contrib"
42148 else SUBDIRS
="samples utils"
42153 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42154 if test "${with_cppunit_prefix+set}" = set; then
42155 withval
="$with_cppunit_prefix"
42156 cppunit_config_prefix
="$withval"
42158 cppunit_config_prefix
=""
42161 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42162 if test "${with_cppunit_exec_prefix+set}" = set; then
42163 withval
="$with_cppunit_exec_prefix"
42164 cppunit_config_exec_prefix
="$withval"
42166 cppunit_config_exec_prefix
=""
42169 if test x
$cppunit_config_exec_prefix != x
; then
42170 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42171 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42172 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
42175 if test x
$cppunit_config_prefix != x
; then
42176 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
42177 if test x
${CPPUNIT_CONFIG+set} != xset
; then
42178 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
42182 # Extract the first word of "cppunit-config", so it can be a program name with args.
42183 set dummy cppunit
-config; ac_word
=$2
42184 echo "$as_me:$LINENO: checking for $ac_word" >&5
42185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42186 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42187 echo $ECHO_N "(cached) $ECHO_C" >&6
42189 case $CPPUNIT_CONFIG in
42191 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42195 for as_dir
in $PATH
42198 test -z "$as_dir" && as_dir
=.
42199 for ac_exec_ext
in '' $ac_executable_extensions; do
42200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42201 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42208 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
42212 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
42214 if test -n "$CPPUNIT_CONFIG"; then
42215 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42216 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42218 echo "$as_me:$LINENO: result: no" >&5
42219 echo "${ECHO_T}no" >&6
42222 cppunit_version_min
=1.8.0
42224 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42225 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42227 if test "$CPPUNIT_CONFIG" = "no" ; then
42229 echo "$as_me:$LINENO: result: no" >&5
42230 echo "${ECHO_T}no" >&6
42232 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
42233 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
42234 cppunit_version
=`$CPPUNIT_CONFIG --version`
42236 cppunit_major_version
=`echo $cppunit_version | \
42237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42238 cppunit_minor_version
=`echo $cppunit_version | \
42239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42240 cppunit_micro_version
=`echo $cppunit_version | \
42241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42243 cppunit_major_min
=`echo $cppunit_version_min | \
42244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42245 cppunit_minor_min
=`echo $cppunit_version_min | \
42246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42247 cppunit_micro_min
=`echo $cppunit_version_min | \
42248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42250 cppunit_version_proper
=`expr \
42251 $cppunit_major_version \> $cppunit_major_min \| \
42252 $cppunit_major_version \= $cppunit_major_min \& \
42253 $cppunit_minor_version \> $cppunit_minor_min \| \
42254 $cppunit_major_version \= $cppunit_major_min \& \
42255 $cppunit_minor_version \= $cppunit_minor_min \& \
42256 $cppunit_micro_version \>= $cppunit_micro_min `
42258 if test "$cppunit_version_proper" = "1" ; then
42259 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42260 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42262 echo "$as_me:$LINENO: result: no" >&5
42263 echo "${ECHO_T}no" >&6
42268 if test "x$no_cppunit" = x
; then
42269 SUBDIRS
="$SUBDIRS tests"
42280 for subdir
in `echo $SUBDIRS`; do
42281 if test -d ${srcdir}/${subdir} ; then
42282 if test "$wxUSE_GUI" = "yes"; then
42283 if test ${subdir} = "samples"; then
42284 makefiles
="samples/Makefile.in $makefiles"
42285 for sample
in `echo $SAMPLES_SUBDIRS`; do
42286 if test -d $srcdir/samples
/$sample; then
42287 makefiles
="samples/$sample/Makefile.in $makefiles"
42290 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42292 else if test ${subdir} = "samples"; then
42293 makefiles
="samples/Makefile.in samples/console/Makefile.in"
42294 elif test ${subdir} = "utils"; then
42295 makefiles
="utils/HelpGen/Makefile.in \
42296 utils/HelpGen/src/Makefile.in \
42297 utils/tex2rtf/Makefile.in \
42298 utils/tex2rtf/src/Makefile.in"
42299 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
42303 for mkin
in $makefiles ; do
42304 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42305 ac_config_files
="$ac_config_files $mk"
42312 cat >confcache
<<\_ACEOF
42313 # This file is a shell script that caches the results of configure
42314 # tests run on this system so they can be shared between configure
42315 # scripts and configure runs, see configure's option --config-cache.
42316 # It is not useful on other systems. If it contains results you don't
42317 # want to keep, you may remove or edit it.
42319 # config.status only pays attention to the cache file if you give it
42320 # the --recheck option to rerun configure.
42322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42324 # following values.
42328 # The following way of writing the cache mishandles newlines in values,
42329 # but we know of no workaround that is simple, portable, and efficient.
42330 # So, don't put newlines in cache variables' values.
42331 # Ultrix sh set writes to stderr and can't be redirected directly,
42332 # and sets the high bit in the cache file unless we assign to the vars.
42335 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42337 # `set' does not quote correctly, so add quotes (double-quote
42338 # substitution turns \\\\ into \\, and sed turns \\ into \).
42341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42344 # `set' quotes correctly as required by POSIX, so do not add quotes.
42346 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42353 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42355 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42357 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
42358 if test -w $cache_file; then
42359 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42360 cat confcache
>$cache_file
42362 echo "not updating unwritable cache $cache_file"
42367 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
42368 # Let make expand exec_prefix.
42369 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
42371 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42372 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42373 # trailing colons and then remove the whole line if VPATH becomes empty
42374 # (actually we leave an empty line to preserve line numbers).
42375 if test "x$srcdir" = x.
; then
42376 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
42377 s/:*\$(srcdir):*/:/;
42378 s/:*\${srcdir}:*/:/;
42380 s/^\([^=]*=[ ]*\):*/\1/;
42386 DEFS
=-DHAVE_CONFIG_H
42390 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
42391 # 1. Remove the extension, and $U if already installed.
42392 ac_i
=`echo "$ac_i" |
42393 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42395 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
42396 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
42398 LIBOBJS
=$ac_libobjs
42400 LTLIBOBJS
=$ac_ltlibobjs
42404 : ${CONFIG_STATUS=./config.status}
42405 ac_clean_files_save
=$ac_clean_files
42406 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42407 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42408 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42409 cat >$CONFIG_STATUS <<_ACEOF
42411 # Generated by $as_me.
42412 # Run this file to recreate the current configuration.
42413 # Compiler output produced by configure, useful for debugging
42414 # configure, is in config.log if it exists.
42417 ac_cs_recheck=false
42419 SHELL=\${CONFIG_SHELL-$SHELL}
42422 cat >>$CONFIG_STATUS <<\_ACEOF
42423 ## --------------------- ##
42424 ## M4sh Initialization. ##
42425 ## --------------------- ##
42427 # Be Bourne compatible
42428 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42431 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42432 # is contrary to our usage. Disable this feature.
42433 alias -g '${1+"$@"}'='"$@"'
42434 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42437 DUALCASE
=1; export DUALCASE
# for MKS sh
42439 # Support unset when possible.
42440 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42447 # Work around bugs in pre-3.0 UWIN ksh.
42448 $as_unset ENV MAIL MAILPATH
42455 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42456 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42457 LC_TELEPHONE LC_TIME
42459 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42460 eval $as_var=C
; export $as_var
42466 # Required to use basename.
42467 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42473 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42474 as_basename
=basename
42480 # Name of the executable.
42481 as_me
=`$as_basename "$0" ||
42482 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42483 X"$0" : 'X\(//\)$' \| \
42484 X"$0" : 'X\(/\)$' \| \
42485 . : '\(.\)' 2>/dev/null ||
42487 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42488 /^X\/\(\/\/\)$/{ s//\1/; q; }
42489 /^X\/\(\/\).*/{ s//\1/; q; }
42493 # PATH needs CR, and LINENO needs CR and PATH.
42494 # Avoid depending upon Character Ranges.
42495 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42496 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42497 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42498 as_cr_digits
='0123456789'
42499 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42501 # The user is always right.
42502 if test "${PATH_SEPARATOR+set}" != set; then
42503 echo "#! /bin/sh" >conf$$.sh
42504 echo "exit 0" >>conf$$.sh
42506 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42515 as_lineno_1
=$LINENO
42516 as_lineno_2
=$LINENO
42517 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42518 test "x$as_lineno_1" != "x$as_lineno_2" &&
42519 test "x$as_lineno_3" = "x$as_lineno_2" || {
42520 # Find who we are. Look in the path if we contain no path at all
42523 *[\\/]* ) as_myself
=$0 ;;
42524 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42525 for as_dir
in $PATH
42528 test -z "$as_dir" && as_dir
=.
42529 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42534 # We did not find ourselves, most probably we were run as `sh COMMAND'
42535 # in which case we are not to be found in the path.
42536 if test "x$as_myself" = x
; then
42539 if test ! -f "$as_myself"; then
42540 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42541 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42542 { (exit 1); exit 1; }; }
42544 case $CONFIG_SHELL in
42546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42547 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42550 test -z "$as_dir" && as_dir
=.
42551 for as_base
in sh bash ksh sh5
; do
42554 if ("$as_dir/$as_base" -c '
42555 as_lineno_1=$LINENO
42556 as_lineno_2=$LINENO
42557 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42558 test "x$as_lineno_1" != "x$as_lineno_2" &&
42559 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42560 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42561 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42562 CONFIG_SHELL
=$as_dir/$as_base
42563 export CONFIG_SHELL
42564 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42572 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42573 # uniformly replaced by the line number. The first 'sed' inserts a
42574 # line-number line before each line; the second 'sed' does the real
42575 # work. The second script uses 'N' to pair each line-number line
42576 # with the numbered line, and appends trailing '-' during
42577 # substitution so that $LINENO is not a special case at line end.
42578 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42579 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42580 sed '=' <$as_myself |
42585 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42588 s,^['$as_cr_digits']*\n,,
42589 ' >$as_me.lineno
&&
42590 chmod +x
$as_me.lineno
||
42591 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42592 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42593 { (exit 1); exit 1; }; }
42595 # Don't try to exec as it changes $[0], causing all sort of problems
42596 # (the dirname of $[0] is not the place where we might find the
42597 # original and so on. Autoconf is especially sensible to this).
42599 # Exit status is that of the last command.
42604 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42605 *c
*,-n*) ECHO_N
= ECHO_C
='
42607 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42608 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42611 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42617 rm -f conf$$ conf$$.exe conf$$.
file
42619 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42620 # We could just check for DJGPP; but this test a) works b) is more generic
42621 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42622 if test -f conf$$.exe
; then
42623 # Don't use ln at all; we don't have any links
42628 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42633 rm -f conf$$ conf$$.exe conf$$.
file
42635 if mkdir -p .
2>/dev
/null
; then
42638 test -d .
/-p && rmdir .
/-p
42642 as_executable_p
="test -f"
42644 # Sed expression to map a string onto a valid CPP name.
42645 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42647 # Sed expression to map a string onto a valid variable name.
42648 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42652 # We need space, tab and new line, in precisely that order.
42662 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42663 # report actual input values of CONFIG_FILES etc. instead of their
42664 # values after options handling. Logging --version etc. is OK.
42668 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42669 ## Running $as_me. ##
42674 This file was extended by wxWidgets $as_me 2.5.2, which was
42675 generated by GNU Autoconf 2.59. Invocation command line was
42677 CONFIG_FILES = $CONFIG_FILES
42678 CONFIG_HEADERS = $CONFIG_HEADERS
42679 CONFIG_LINKS = $CONFIG_LINKS
42680 CONFIG_COMMANDS = $CONFIG_COMMANDS
42684 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42688 # Files that config.status was made for.
42689 if test -n "$ac_config_files"; then
42690 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42693 if test -n "$ac_config_headers"; then
42694 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42697 if test -n "$ac_config_links"; then
42698 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42701 if test -n "$ac_config_commands"; then
42702 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42705 cat >>$CONFIG_STATUS <<\_ACEOF
42708 \`$as_me' instantiates files from templates according to the
42709 current configuration.
42711 Usage: $0 [OPTIONS] [FILE]...
42713 -h, --help print this help, then exit
42714 -V, --version print version number, then exit
42715 -q, --quiet do not print progress messages
42716 -d, --debug don't remove temporary files
42717 --recheck update $as_me by reconfiguring in the same conditions
42718 --file=FILE[:TEMPLATE]
42719 instantiate the configuration file FILE
42720 --header=FILE[:TEMPLATE]
42721 instantiate the configuration header FILE
42723 Configuration files:
42726 Configuration headers:
42729 Configuration commands:
42732 Report bugs to <bug-autoconf@gnu.org>."
42735 cat >>$CONFIG_STATUS <<_ACEOF
42737 wxWidgets config.status 2.5.2
42738 configured by $0, generated by GNU Autoconf 2.59,
42739 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42741 Copyright (C) 2003 Free Software Foundation, Inc.
42742 This config.status script is free software; the Free Software Foundation
42743 gives unlimited permission to copy, distribute and modify it."
42748 cat >>$CONFIG_STATUS <<\_ACEOF
42749 # If no file are specified by the user, then we need to provide default
42750 # value. By we need to know if files were specified by the user.
42756 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42757 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42765 *) # This is not an option, so the user has probably given explicit
42768 ac_need_defaults
=false
;;
42772 # Handling of the options.
42774 cat >>$CONFIG_STATUS <<\_ACEOF
42775 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42777 --version | --vers* | -V )
42778 echo "$ac_cs_version"; exit 0 ;;
42780 # Conflict between --help and --header
42781 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42782 Try \`$0 --help' for more information." >&5
42783 echo "$as_me: error: ambiguous option: $1
42784 Try \`$0 --help' for more information." >&2;}
42785 { (exit 1); exit 1; }; };;
42786 --help | --hel | -h )
42787 echo "$ac_cs_usage"; exit 0 ;;
42788 --debug | --d* | -d )
42790 --file | --fil | --fi | --f )
42792 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42793 ac_need_defaults
=false
;;
42794 --header | --heade | --head | --hea )
42796 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42797 ac_need_defaults
=false
;;
42798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42799 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42802 # This is an error.
42803 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42804 Try \`$0 --help' for more information." >&5
42805 echo "$as_me: error: unrecognized option: $1
42806 Try \`$0 --help' for more information." >&2;}
42807 { (exit 1); exit 1; }; } ;;
42809 *) ac_config_targets
="$ac_config_targets $1" ;;
42815 ac_configure_extra_args
=
42817 if $ac_cs_silent; then
42819 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42823 cat >>$CONFIG_STATUS <<_ACEOF
42824 if \$ac_cs_recheck; then
42825 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42826 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42831 cat >>$CONFIG_STATUS <<_ACEOF
42833 # INIT-COMMANDS section.
42837 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
42846 cat >>$CONFIG_STATUS <<\_ACEOF
42847 for ac_config_target
in $ac_config_targets
42849 case "$ac_config_target" in
42850 # Handling of arguments.
42851 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
42852 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42853 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42854 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42855 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
42856 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
42857 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42858 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42859 { (exit 1); exit 1; }; };;
42863 # If the user did not use the arguments to specify the items to instantiate,
42864 # then the envvar interface is used. Set only those that are not.
42865 # We use the long form for the default assignment because of an extremely
42866 # bizarre bug on SunOS 4.1.3.
42867 if $ac_need_defaults; then
42868 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42869 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42870 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42873 # Have a temporary directory for convenience. Make it in the build tree
42874 # simply because there is no reason to put it here, and in addition,
42875 # creating and moving files from /tmp can sometimes cause problems.
42876 # Create a temporary directory, and hook for its removal unless debugging.
42879 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42880 trap '{ (exit 1); exit 1; }' 1 2 13 15
42883 # Create a (secure) tmp directory for tmp files.
42886 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42887 test -n "$tmp" && test -d "$tmp"
42890 tmp
=.
/confstat$$
-$RANDOM
42891 (umask 077 && mkdir $tmp)
42894 echo "$me: cannot create a temporary directory in ." >&2
42895 { (exit 1); exit 1; }
42900 cat >>$CONFIG_STATUS <<_ACEOF
42903 # CONFIG_FILES section.
42906 # No need to generate the scripts if there are no CONFIG_FILES.
42907 # This happens for instance when ./config.status config.h
42908 if test -n "\$CONFIG_FILES"; then
42909 # Protect against being on the right side of a sed subst in config.status.
42910 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42911 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42912 s,@SHELL@,$SHELL,;t t
42913 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42914 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42915 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42916 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42917 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42918 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42919 s,@exec_prefix@,$exec_prefix,;t t
42920 s,@prefix@,$prefix,;t t
42921 s,@program_transform_name@,$program_transform_name,;t t
42922 s,@bindir@,$bindir,;t t
42923 s,@sbindir@,$sbindir,;t t
42924 s,@libexecdir@,$libexecdir,;t t
42925 s,@datadir@,$datadir,;t t
42926 s,@sysconfdir@,$sysconfdir,;t t
42927 s,@sharedstatedir@,$sharedstatedir,;t t
42928 s,@localstatedir@,$localstatedir,;t t
42929 s,@libdir@,$libdir,;t t
42930 s,@includedir@,$includedir,;t t
42931 s,@oldincludedir@,$oldincludedir,;t t
42932 s,@infodir@,$infodir,;t t
42933 s,@mandir@,$mandir,;t t
42934 s,@build_alias@,$build_alias,;t t
42935 s,@host_alias@,$host_alias,;t t
42936 s,@target_alias@,$target_alias,;t t
42937 s,@DEFS@,$DEFS,;t t
42938 s,@ECHO_C@,$ECHO_C,;t t
42939 s,@ECHO_N@,$ECHO_N,;t t
42940 s,@ECHO_T@,$ECHO_T,;t t
42941 s,@LIBS@,$LIBS,;t t
42942 s,@build@,$build,;t t
42943 s,@build_cpu@,$build_cpu,;t t
42944 s,@build_vendor@,$build_vendor,;t t
42945 s,@build_os@,$build_os,;t t
42946 s,@host@,$host,;t t
42947 s,@host_cpu@,$host_cpu,;t t
42948 s,@host_vendor@,$host_vendor,;t t
42949 s,@host_os@,$host_os,;t t
42950 s,@target@,$target,;t t
42951 s,@target_cpu@,$target_cpu,;t t
42952 s,@target_vendor@,$target_vendor,;t t
42953 s,@target_os@,$target_os,;t t
42955 s,@CFLAGS@,$CFLAGS,;t t
42956 s,@LDFLAGS@,$LDFLAGS,;t t
42957 s,@CPPFLAGS@,$CPPFLAGS,;t t
42958 s,@ac_ct_CC@,$ac_ct_CC,;t t
42959 s,@EXEEXT@,$EXEEXT,;t t
42960 s,@OBJEXT@,$OBJEXT,;t t
42962 s,@EGREP@,$EGREP,;t t
42964 s,@CXXFLAGS@,$CXXFLAGS,;t t
42965 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42966 s,@RANLIB@,$RANLIB,;t t
42967 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42969 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42970 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42971 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42972 s,@STRIP@,$STRIP,;t t
42973 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42974 s,@LN_S@,$LN_S,;t t
42975 s,@CXXCPP@,$CXXCPP,;t t
42976 s,@subdirs@,$subdirs,;t t
42977 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42978 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42979 s,@GTK_LIBS@,$GTK_LIBS,;t t
42980 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42981 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42982 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42983 s,@X_CFLAGS@,$X_CFLAGS,;t t
42984 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42985 s,@X_LIBS@,$X_LIBS,;t t
42986 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42987 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42988 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42989 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42990 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42991 s,@RESCOMP@,$RESCOMP,;t t
42992 s,@DEREZ@,$DEREZ,;t t
42993 s,@SETFILE@,$SETFILE,;t t
42994 s,@LIBICONV@,$LIBICONV,;t t
42995 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42996 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42997 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42998 s,@SDL_LIBS@,$SDL_LIBS,;t t
42999 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43000 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43001 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43002 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43003 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43004 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43005 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43006 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43007 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43008 s,@VENDOR@,$VENDOR,;t t
43009 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43010 s,@WXUNIV@,$WXUNIV,;t t
43011 s,@MONOLITHIC@,$MONOLITHIC,;t t
43012 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43013 s,@EXTRALIBS@,$EXTRALIBS,;t t
43014 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43015 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43016 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43017 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43018 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43019 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43020 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43021 s,@UNICODE@,$UNICODE,;t t
43022 s,@BUILD@,$BUILD,;t t
43023 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43024 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43025 s,@SHARED@,$SHARED,;t t
43026 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43027 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43028 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43029 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43030 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43031 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43032 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43033 s,@SET_MAKE@,$SET_MAKE,;t t
43034 s,@MAKE_SET@,$MAKE_SET,;t t
43035 s,@ac_ct_AR@,$ac_ct_AR,;t t
43036 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43038 s,@ac_ct_NM@,$ac_ct_NM,;t t
43039 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43040 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43041 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43042 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43043 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43044 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43045 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43046 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43047 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43048 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43049 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43050 s,@LIBPREFIX@,$LIBPREFIX,;t t
43051 s,@LIBEXT@,$LIBEXT,;t t
43052 s,@DLLPREFIX@,$DLLPREFIX,;t t
43053 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43054 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43055 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43056 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43057 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43058 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43059 s,@PIC_FLAG@,$PIC_FLAG,;t t
43060 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43061 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43062 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43063 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43064 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43065 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43066 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43067 s,@GCC_PCH@,$GCC_PCH,;t t
43068 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43069 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43070 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43071 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43072 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43073 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43074 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43075 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43076 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43077 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43078 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43079 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43080 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43081 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43082 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43083 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43084 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43085 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43086 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
43087 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
43088 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43089 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43090 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43091 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
43092 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
43093 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43094 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43095 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43096 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43097 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43098 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43099 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43100 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43101 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43102 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43103 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43104 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43105 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43106 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43107 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43108 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43109 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43110 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43111 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43112 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43113 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43114 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43115 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43116 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43117 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43118 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43119 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43120 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43121 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43122 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43123 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43124 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43125 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43126 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43127 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43128 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43129 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43130 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43131 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43132 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43133 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43134 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43135 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43136 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43137 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43138 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43139 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43140 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43141 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43142 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43143 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43144 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43145 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43146 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43147 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43148 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43149 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43150 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43151 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43152 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43153 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43154 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43155 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43156 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43157 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43158 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43159 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43160 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43161 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43162 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43163 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43164 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43165 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43166 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43167 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
43168 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43169 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43170 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43171 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43172 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43173 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43174 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43175 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43176 s,@PATH_IFS@,$PATH_IFS,;t t
43177 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
43178 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
43179 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
43180 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
43181 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
43182 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43183 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43184 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
43185 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
43186 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
43187 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
43188 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
43189 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
43190 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
43191 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
43192 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
43193 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
43194 s,@WX_ALL@,$WX_ALL,;t t
43195 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
43196 s,@SHARED_LD@,$SHARED_LD,;t t
43197 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
43198 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
43199 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43200 s,@USE_GUI@,$USE_GUI,;t t
43201 s,@AFMINSTALL@,$AFMINSTALL,;t t
43202 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43203 s,@TOOLKIT@,$TOOLKIT,;t t
43204 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43205 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
43206 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43207 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43208 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43209 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
43210 s,@cross_compiling@,$cross_compiling,;t t
43211 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43212 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
43213 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
43214 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
43215 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
43216 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43217 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43218 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43219 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43220 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43221 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43222 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
43223 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
43224 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
43225 s,@GUIDIST@,$GUIDIST,;t t
43226 s,@PORT_FILES@,$PORT_FILES,;t t
43227 s,@DISTDIR@,$DISTDIR,;t t
43228 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43229 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43230 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
43231 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
43232 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43233 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43234 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43235 s,@RESFLAGS@,$RESFLAGS,;t t
43236 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43237 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43238 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43239 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43240 s,@MACRESCOMP@,$MACRESCOMP,;t t
43241 s,@MACSETFILE@,$MACSETFILE,;t t
43242 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43244 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
43245 s,@DLLTOOL@,$DLLTOOL,;t t
43248 s,@MAKEINFO@,$MAKEINFO,;t t
43249 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
43250 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43251 s,@LIBOBJS@,$LIBOBJS,;t t
43252 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43257 cat >>$CONFIG_STATUS <<\_ACEOF
43258 # Split the substitutions into bite-sized pieces for seds with
43259 # small command number limits, like on Digital OSF/1 and HP-UX.
43260 ac_max_sed_lines
=48
43261 ac_sed_frag
=1 # Number of current file.
43262 ac_beg
=1 # First line for current file.
43263 ac_end
=$ac_max_sed_lines # Line after last line for current file.
43266 while $ac_more_lines; do
43267 if test $ac_beg -gt 1; then
43268 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43270 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
43272 if test ! -s $tmp/subs.frag
; then
43273 ac_more_lines
=false
43275 # The purpose of the label and of the branching condition is to
43276 # speed up the sed processing (if there are no `@' at all, there
43277 # is no need to browse any of the substitutions).
43278 # These are the two extra sed commands mentioned above.
43280 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
43281 if test -z "$ac_sed_cmds"; then
43282 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
43284 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43286 ac_sed_frag
=`expr $ac_sed_frag + 1`
43288 ac_end
=`expr $ac_end + $ac_max_sed_lines`
43291 if test -z "$ac_sed_cmds"; then
43294 fi # test -n "$CONFIG_FILES"
43297 cat >>$CONFIG_STATUS <<\_ACEOF
43298 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
43299 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43301 - | *:- | *:-:* ) # input from stdin
43303 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43304 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43305 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43306 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43307 * ) ac_file_in
=$ac_file.
in ;;
43310 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43311 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43312 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43313 X"$ac_file" : 'X\(//\)[^/]' \| \
43314 X"$ac_file" : 'X\(//\)$' \| \
43315 X"$ac_file" : 'X\(/\)' \| \
43316 . : '\(.\)' 2>/dev/null ||
43318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43320 /^X\(\/\/\)$/{ s//\1/; q; }
43321 /^X\(\/\).*/{ s//\1/; q; }
43323 { if $as_mkdir_p; then
43328 while test ! -d "$as_dir"; do
43329 as_dirs
="$as_dir $as_dirs"
43330 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43332 X"$as_dir" : 'X\(//\)[^/]' \| \
43333 X"$as_dir" : 'X\(//\)$' \| \
43334 X"$as_dir" : 'X\(/\)' \| \
43335 . : '\(.\)' 2>/dev/null ||
43337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43339 /^X\(\/\/\)$/{ s//\1/; q; }
43340 /^X\(\/\).*/{ s//\1/; q; }
43343 test ! -n "$as_dirs" || mkdir $as_dirs
43344 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43345 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43346 { (exit 1); exit 1; }; }; }
43350 if test "$ac_dir" != .
; then
43351 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43352 # A "../" for each directory in $ac_dir_suffix.
43353 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43355 ac_dir_suffix
= ac_top_builddir
=
43359 .
) # No --srcdir option. We are building in place.
43361 if test -z "$ac_top_builddir"; then
43364 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43366 [\\/]* | ?
:[\\/]* ) # Absolute path.
43367 ac_srcdir
=$srcdir$ac_dir_suffix;
43368 ac_top_srcdir
=$srcdir ;;
43369 *) # Relative path.
43370 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43371 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43374 # Do not use `cd foo && pwd` to compute absolute paths, because
43375 # the directories may not exist.
43377 .
) ac_abs_builddir
="$ac_dir";;
43380 .
) ac_abs_builddir
=`pwd`;;
43381 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43382 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43385 case $ac_abs_builddir in
43386 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43388 case ${ac_top_builddir}.
in
43389 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43390 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43391 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43394 case $ac_abs_builddir in
43395 .
) ac_abs_srcdir
=$ac_srcdir;;
43398 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43399 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43400 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43403 case $ac_abs_builddir in
43404 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43406 case $ac_top_srcdir in
43407 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43408 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43409 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43415 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43416 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43419 if test x
"$ac_file" != x
-; then
43420 { echo "$as_me:$LINENO: creating $ac_file" >&5
43421 echo "$as_me: creating $ac_file" >&6;}
43424 # Let's still pretend it is `configure' which instantiates (i.e., don't
43425 # use $as_me), people would be surprised to read:
43426 # /* config.h. Generated by config.status. */
43427 if test x
"$ac_file" = x
-; then
43430 configure_input
="$ac_file. "
43432 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43433 sed 's,.*/,,'` by configure."
43435 # First look for the input files in the build tree, otherwise in the
43437 ac_file_inputs
=`IFS=:
43438 for f in $ac_file_in; do
43440 -) echo $tmp/stdin ;;
43442 # Absolute (can't be DOS-style, as IFS=:)
43443 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43444 echo "$as_me: error: cannot find input file: $f" >&2;}
43445 { (exit 1); exit 1; }; }
43448 if test -f "$f"; then
43451 elif test -f "$srcdir/$f"; then
43456 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43457 echo "$as_me: error: cannot find input file: $f" >&2;}
43458 { (exit 1); exit 1; }; }
43461 done` || { (exit 1); exit 1; }
43463 cat >>$CONFIG_STATUS <<_ACEOF
43467 cat >>$CONFIG_STATUS <<\_ACEOF
43469 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43470 s
,@configure_input@
,$configure_input,;t t
43471 s
,@srcdir@
,$ac_srcdir,;t t
43472 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43473 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43474 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43475 s
,@builddir@
,$ac_builddir,;t t
43476 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43477 s
,@top_builddir@
,$ac_top_builddir,;t t
43478 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43479 s
,@INSTALL@
,$ac_INSTALL,;t t
43480 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43482 if test x"$ac_file" != x-; then
43483 mv $tmp/out $ac_file
43491 cat >>$CONFIG_STATUS <<\_ACEOF
43494 # CONFIG_HEADER section.
43497 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43498 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43500 # ac_d sets the value in "#define NAME VALUE" lines.
43501 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43502 ac_dB
='[ ].*$,\1#\2'
43505 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43506 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43507 ac_uB
='$,\1#\2define\3'
43511 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43512 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43514 - | *:- | *:-:* ) # input from stdin
43516 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43517 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43518 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43519 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43520 * ) ac_file_in
=$ac_file.
in ;;
43523 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43524 echo "$as_me: creating $ac_file" >&6;}
43526 # First look for the input files in the build tree, otherwise in the
43528 ac_file_inputs
=`IFS=:
43529 for f in $ac_file_in; do
43531 -) echo $tmp/stdin ;;
43533 # Absolute (can't be DOS-style, as IFS=:)
43534 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43535 echo "$as_me: error: cannot find input file: $f" >&2;}
43536 { (exit 1); exit 1; }; }
43537 # Do quote $f, to prevent DOS paths from being IFS'd.
43540 if test -f "$f"; then
43543 elif test -f "$srcdir/$f"; then
43548 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43549 echo "$as_me: error: cannot find input file: $f" >&2;}
43550 { (exit 1); exit 1; }; }
43553 done` || { (exit 1); exit 1; }
43554 # Remove the trailing spaces.
43555 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43559 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43560 # `conftest.undefs', that substitutes the proper values into
43561 # config.h.in to produce config.h. The first handles `#define'
43562 # templates, and the second `#undef' templates.
43563 # And first: Protect against being on the right side of a sed subst in
43564 # config.status. Protect against being in an unquoted here document
43565 # in config.status.
43566 rm -f conftest.defines conftest.undefs
43567 # Using a here document instead of a string reduces the quoting nightmare.
43568 # Putting comments in sed scripts is not portable.
43570 # `end' is used to avoid that the second main sed command (meant for
43571 # 0-ary CPP macros) applies to n-ary macro definitions.
43572 # See the Autoconf documentation for `clear'.
43573 cat >confdef2sed.
sed <<\_ACEOF
43578 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43580 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43583 # If some macros were called several times there might be several times
43584 # the same #defines, which is useless. Nevertheless, we may not want to
43585 # sort them, since we want the *last* AC-DEFINE to be honored.
43586 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43587 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43588 rm -f confdef2sed.sed
43590 # This sed command replaces #undef with comments. This is necessary, for
43591 # example, in the case of _POSIX_SOURCE, which is predefined and required
43592 # on some systems where configure will not decide to define it.
43593 cat >>conftest.undefs <<\_ACEOF
43594 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43597 # Break up conftest.defines because some shells have a limit on the size
43598 # of here documents, and old seds have small limits too (100 cmds).
43599 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43600 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43601 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43602 echo ' :' >>$CONFIG_STATUS
43603 rm -f conftest.tail
43604 while grep . conftest.defines >/dev/null
43606 # Write a limited-size here document to $tmp/defines.sed.
43607 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43608 # Speed up: don't consider the non `#define' lines.
43609 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43610 # Work around the forget-to-reset-the-flag bug.
43611 echo 't clr' >>$CONFIG_STATUS
43612 echo ': clr' >>$CONFIG_STATUS
43613 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43615 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43617 mv $tmp/out $tmp/in
43619 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43620 rm -f conftest.defines
43621 mv conftest.
tail conftest.defines
43623 rm -f conftest.defines
43624 echo ' fi # grep' >>$CONFIG_STATUS
43625 echo >>$CONFIG_STATUS
43627 # Break up conftest.undefs because some shells have a limit on the size
43628 # of here documents, and old seds have small limits too (100 cmds).
43629 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43630 rm -f conftest.
tail
43631 while grep . conftest.undefs
>/dev
/null
43633 # Write a limited-size here document to $tmp/undefs.sed.
43634 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43635 # Speed up: don't consider the non
`#undef'
43636 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43637 # Work around the forget-to-reset-the-flag bug.
43638 echo 't clr' >>$CONFIG_STATUS
43639 echo ': clr' >>$CONFIG_STATUS
43640 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43642 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43644 mv $tmp/out $tmp/in
43646 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43647 rm -f conftest.undefs
43648 mv conftest.tail conftest.undefs
43650 rm -f conftest.undefs
43652 cat >>$CONFIG_STATUS <<\_ACEOF
43653 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43654 # use $as_me), people would be surprised to read:
43655 # /* config.h. Generated by config.status. */
43656 if test x
"$ac_file" = x
-; then
43657 echo "/* Generated by configure. */" >$tmp/config.h
43659 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43661 cat $tmp/in >>$tmp/config.h
43663 if test x
"$ac_file" != x
-; then
43664 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43665 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43666 echo "$as_me: $ac_file is unchanged" >&6;}
43668 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43670 X"$ac_file" : 'X\(//\)[^/]' \| \
43671 X"$ac_file" : 'X\(//\)$' \| \
43672 X"$ac_file" : 'X\(/\)' \| \
43673 . : '\(.\)' 2>/dev/null ||
43675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43677 /^X\(\/\/\)$/{ s//\1/; q; }
43678 /^X\(\/\).*/{ s//\1/; q; }
43680 { if $as_mkdir_p; then
43685 while test ! -d "$as_dir"; do
43686 as_dirs
="$as_dir $as_dirs"
43687 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43689 X"$as_dir" : 'X\(//\)[^/]' \| \
43690 X"$as_dir" : 'X\(//\)$' \| \
43691 X"$as_dir" : 'X\(/\)' \| \
43692 . : '\(.\)' 2>/dev/null ||
43694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43696 /^X\(\/\/\)$/{ s//\1/; q; }
43697 /^X\(\/\).*/{ s//\1/; q; }
43700 test ! -n "$as_dirs" || mkdir $as_dirs
43701 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43702 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43703 { (exit 1); exit 1; }; }; }
43706 mv $tmp/config.h
$ac_file
43710 rm -f $tmp/config.h
43714 cat >>$CONFIG_STATUS <<\_ACEOF
43717 # CONFIG_COMMANDS section.
43719 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43720 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43721 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43722 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43723 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43724 X"$ac_dest" : 'X\(//\)[^/]' \| \
43725 X"$ac_dest" : 'X\(//\)$' \| \
43726 X"$ac_dest" : 'X\(/\)' \| \
43727 . : '\(.\)' 2>/dev/null ||
43729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43731 /^X\(\/\/\)$/{ s//\1/; q; }
43732 /^X\(\/\).*/{ s//\1/; q; }
43734 { if $as_mkdir_p; then
43739 while test ! -d "$as_dir"; do
43740 as_dirs
="$as_dir $as_dirs"
43741 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43743 X"$as_dir" : 'X\(//\)[^/]' \| \
43744 X"$as_dir" : 'X\(//\)$' \| \
43745 X"$as_dir" : 'X\(/\)' \| \
43746 . : '\(.\)' 2>/dev/null ||
43748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43750 /^X\(\/\/\)$/{ s//\1/; q; }
43751 /^X\(\/\).*/{ s//\1/; q; }
43754 test ! -n "$as_dirs" || mkdir $as_dirs
43755 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43756 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43757 { (exit 1); exit 1; }; }; }
43761 if test "$ac_dir" != .
; then
43762 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43763 # A "../" for each directory in $ac_dir_suffix.
43764 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43766 ac_dir_suffix
= ac_top_builddir
=
43770 .
) # No --srcdir option. We are building in place.
43772 if test -z "$ac_top_builddir"; then
43775 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43777 [\\/]* | ?
:[\\/]* ) # Absolute path.
43778 ac_srcdir
=$srcdir$ac_dir_suffix;
43779 ac_top_srcdir
=$srcdir ;;
43780 *) # Relative path.
43781 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43782 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43785 # Do not use `cd foo && pwd` to compute absolute paths, because
43786 # the directories may not exist.
43788 .
) ac_abs_builddir
="$ac_dir";;
43791 .
) ac_abs_builddir
=`pwd`;;
43792 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43793 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43796 case $ac_abs_builddir in
43797 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43799 case ${ac_top_builddir}.
in
43800 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43801 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43802 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43805 case $ac_abs_builddir in
43806 .
) ac_abs_srcdir
=$ac_srcdir;;
43809 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43810 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43811 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43814 case $ac_abs_builddir in
43815 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43817 case $ac_top_srcdir in
43818 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43819 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43820 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43825 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43826 echo "$as_me: executing $ac_dest commands" >&6;}
43829 if test ! -h wx
-config; then
43831 mv wx
-config wx
${TOOLCHAIN_NAME}-config
43832 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
43835 if test ! -d lib
; then
43838 if test ! -d lib
/wx
; then
43841 if test ! -d lib
/wx
/include
; then
43842 mkdir lib
/wx
/include
43844 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
43845 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
43847 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
43848 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
43850 if test -f setup.h
; then
43851 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
43858 cat >>$CONFIG_STATUS <<\_ACEOF
43860 { (exit 0); exit 0; }
43862 chmod +x
$CONFIG_STATUS
43863 ac_clean_files
=$ac_clean_files_save
43866 # configure is writing to config.log, and then calls config.status.
43867 # config.status does its own redirection, appending to config.log.
43868 # Unfortunately, on DOS this fails, as config.log is still kept open
43869 # by configure, so config.status won't be able to write to it; its
43870 # output is simply discarded. So we exec the FD to /dev/null,
43871 # effectively closing config.log, so it can be properly (re)opened and
43872 # appended to by config.status. When coming back to configure, we
43873 # need to make the FD available again.
43874 if test "$no_create" != yes; then
43876 ac_config_status_args
=
43877 test "$silent" = yes &&
43878 ac_config_status_args
="$ac_config_status_args --quiet"
43880 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43882 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43883 # would make configure fail if this is the last instruction.
43884 $ac_cs_success || { (exit 1); exit 1; }
43888 # CONFIG_SUBDIRS section.
43890 if test "$no_recursion" != yes; then
43892 # Remove --cache-file and --srcdir arguments so they do not pile up.
43893 ac_sub_configure_args
=
43895 for ac_arg
in $ac_configure_args; do
43896 if test -n "$ac_prev"; then
43901 -cache-file | --cache-file | --cache-fil | --cache-fi \
43902 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43903 ac_prev
=cache_file
;;
43904 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43905 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43908 --config-cache | -C)
43910 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43912 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43914 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43916 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43918 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43922 # Always prepend --prefix to ensure using the same prefix
43923 # in subdir configurations.
43924 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43927 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43929 # Do not complain, so a configure script can configure whichever
43930 # parts of a large source tree are present.
43931 test -d $srcdir/$ac_dir || continue
43933 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43934 echo "$as_me: configuring in $ac_dir" >&6;}
43935 { if $as_mkdir_p; then
43940 while test ! -d "$as_dir"; do
43941 as_dirs
="$as_dir $as_dirs"
43942 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43944 X"$as_dir" : 'X\(//\)[^/]' \| \
43945 X"$as_dir" : 'X\(//\)$' \| \
43946 X"$as_dir" : 'X\(/\)' \| \
43947 . : '\(.\)' 2>/dev/null ||
43949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43950 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43951 /^X\(\/\/\)$/{ s//\1/; q; }
43952 /^X\(\/\).*/{ s//\1/; q; }
43955 test ! -n "$as_dirs" || mkdir $as_dirs
43956 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43957 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43958 { (exit 1); exit 1; }; }; }
43962 if test "$ac_dir" != .
; then
43963 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43964 # A "../" for each directory in $ac_dir_suffix.
43965 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43967 ac_dir_suffix
= ac_top_builddir
=
43971 .
) # No --srcdir option. We are building in place.
43973 if test -z "$ac_top_builddir"; then
43976 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43978 [\\/]* | ?
:[\\/]* ) # Absolute path.
43979 ac_srcdir
=$srcdir$ac_dir_suffix;
43980 ac_top_srcdir
=$srcdir ;;
43981 *) # Relative path.
43982 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43983 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43986 # Do not use `cd foo && pwd` to compute absolute paths, because
43987 # the directories may not exist.
43989 .
) ac_abs_builddir
="$ac_dir";;
43992 .
) ac_abs_builddir
=`pwd`;;
43993 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43994 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43997 case $ac_abs_builddir in
43998 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44000 case ${ac_top_builddir}.
in
44001 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44002 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44003 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44006 case $ac_abs_builddir in
44007 .
) ac_abs_srcdir
=$ac_srcdir;;
44010 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44011 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44012 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44015 case $ac_abs_builddir in
44016 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44018 case $ac_top_srcdir in
44019 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44020 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44021 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44028 # Check for guested configure; otherwise get Cygnus style configure.
44029 if test -f $ac_srcdir/configure.gnu
; then
44030 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
44031 elif test -f $ac_srcdir/configure
; then
44032 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
44033 elif test -f $ac_srcdir/configure.
in; then
44034 ac_sub_configure
=$ac_configure
44036 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44037 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44041 # The recursion is here.
44042 if test -n "$ac_sub_configure"; then
44043 # Make the cache file name correct relative to the subdirectory.
44044 case $cache_file in
44045 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
44046 *) # Relative path.
44047 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
44050 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44051 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44052 # The eval makes quoting arguments work.
44053 eval $ac_sub_configure $ac_sub_configure_args \
44054 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44055 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44056 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44057 { (exit 1); exit 1; }; }
44066 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44068 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
44069 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44071 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44072 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44073 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44075 echo " What level of wxWidgets compatibility should be enabled?"
44076 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44077 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44079 echo " Which libraries should wxWidgets use?"
44080 echo " jpeg ${wxUSE_LIBJPEG-none}"
44081 echo " png ${wxUSE_LIBPNG-none}"
44082 echo " regex ${wxUSE_REGEX}"
44083 echo " tiff ${wxUSE_LIBTIFF-none}"
44084 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44085 echo " xpm ${wxUSE_LIBXPM-none}"
44087 echo " zlib ${wxUSE_ZLIB}"
44088 echo " odbc ${wxUSE_ODBC}"
44089 echo " expat ${wxUSE_EXPAT}"
44090 echo " libmspack ${wxUSE_LIBMSPACK}"
44091 echo " sdl ${wxUSE_LIBSDL}"