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.3.
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.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG 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_0_USE_XRC_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_SHARED_1_USE_XRC_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_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_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_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_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_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 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_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_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 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL 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.3 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.3:";;
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 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
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 --disable-rpath disable use of rpath
for uninstalled builds
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-mediactrl use wxMediaCtrl class
935 --enable-wxprintfv use wxWidgets implementation of vprintf
()
936 --enable-zipstream use wxZipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support
in wxProtocol
940 --enable-protocol-ftp FTP support
in wxProtocol
941 --enable-protocol-file FILE support
in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use
help subsystem
945 --enable-mshtmlhelp use MS HTML Help
(win32
)
946 --enable-html use wxHTML sub
-library
947 --enable-htmlhelp use wxHTML
-based help
948 --enable-xrc use XRC resources sub
-library
949 --enable-constraints use layout
-constraints system
950 --enable-printarch use printing architecture
951 --enable-mdi use multiple document interface architecture
952 --enable-mdidoc use docview architecture with MDI
953 --enable-loggui use standard GUI logger
954 --enable-logwin use wxLogWindow
955 --enable-logdialog use wxLogDialog
956 --enable-webkit use wxWebKitCtrl
(Mac
)
957 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
958 --enable-prologio not available
; see contrib
959 --enable-resources not available
; see contrib
960 --enable-clipboard use wxClipboard class
961 --enable-dnd use Drag
'n'Drop classes
962 --enable-metafile use win32 metafiles
963 --enable-controls use all usual controls
964 --enable-accel use accelerators
965 --enable-button use wxButton class
966 --enable-bmpbutton use wxBitmapButton class
967 --enable-calendar use wxCalendarCtrl class
968 --enable-caret use wxCaret class
969 --enable-checkbox use wxCheckBox class
970 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
971 --enable-choice use wxChoice class
972 --enable-choicebook use wxChoicebook class
973 --enable-combobox use wxComboBox class
974 --enable-display use wxDisplay class
975 --enable-gauge use wxGauge class
976 --enable-grid use wxGrid class
977 --enable-imaglist use wxImageList class
978 --enable-listbook use wxListbook class
979 --enable-listbox use wxListBox class
980 --enable-listctrl use wxListCtrl class
981 --enable-notebook use wxNotebook class
982 --enable-radiobox use wxRadioBox class
983 --enable-radiobtn use wxRadioButton class
984 --enable-sash use wxSashWindow class
985 --enable-scrollbar use wxScrollBar class and scrollable windows
986 --enable-slider use wxSlider class
987 --enable-spinbtn use wxSpinButton class
988 --enable-spinctrl use wxSpinCtrl class
989 --enable-splitter use wxSplitterWindow class
990 --enable-statbmp use wxStaticBitmap class
991 --enable-statbox use wxStaticBox class
992 --enable-statline use wxStaticLine class
993 --enable-stattext use wxStaticText class
994 --enable-statusbar use wxStatusBar class
995 --enable-tabdialog use wxTabControl class
996 --enable-textctrl use wxTextCtrl class
997 --enable-togglebtn use wxToggleButton class
998 --enable-toolbar use wxToolBar class
999 --enable-tbarnative use native wxToolBar class
1000 --enable-tbarsmpl use wxToolBarSimple class
1001 --enable-treectrl use wxTreeCtrl class
1002 --enable-tipwindow use wxTipWindow class
1003 --enable-popupwin use wxPopUpWindow class
1004 --enable-commondlg use all common dialogs
1005 --enable-choicedlg use wxChoiceDialog
1006 --enable-coldlg use wxColourDialog
1007 --enable-filedlg use wxFileDialog
1008 --enable-finddlg use wxFindReplaceDialog
1009 --enable-fontdlg use wxFontDialog
1010 --enable-dirdlg use wxDirDialog
1011 --enable-msgdlg use wxMessageDialog
1012 --enable-numberdlg use wxNumberEntryDialog
1013 --enable-splash use wxSplashScreen
1014 --enable-textdlg use wxTextDialog
1015 --enable-tipdlg use startup tips
1016 --enable-progressdlg use wxProgressDialog
1017 --enable-wizarddlg use wxWizard
1018 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1019 --enable-miniframe use wxMiniFrame class
1020 --enable-tooltips use wxToolTip class
1021 --enable-splines use spline drawing code
1022 --enable-validators use wxValidator and derived classes
1023 --enable-busyinfo use wxBusyInfo
1024 --enable-joystick use wxJoystick
(Linux only
)
1025 --enable-metafiles use wxMetaFile
(Windows only
)
1026 --enable-dragimage use wxDragImage
1027 --enable-accessibility enable accessibility support
1028 --enable-palette use wxPalette class
1029 --enable-image use wxImage class
1030 --enable-gif use gif images
(GIF
file format
)
1031 --enable-pcx use pcx images
(PCX
file format
)
1032 --enable-iff use iff images
(IFF
file format
)
1033 --enable-pnm use pnm images
(PNM
file format
)
1034 --enable-xpm use xpm images
(XPM
file format
)
1035 --enable-icocur use Windows ICO and CUR formats
1036 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1037 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1038 --disable-largefile omit support
for large files
1039 --disable-gtktest do not try to compile and run a
test GTK
+ program
1040 --disable-gtktest Do not try to compile and run a
test GTK program
1041 --disable-sdltest Do not try to compile and run a
test SDL program
1042 --enable-omf use OMF object format
(OS
/2)
1043 --disable-precomp-headers
1044 don
't use precompiled headers even if compiler can
1047 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1048 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1050 --with-motif use Motif/Lesstif
1051 --with-mac use Mac OS X
1052 --with-cocoa use Cocoa
1053 --with-wine use Wine
1054 --with-msw use MS-Windows
1055 --with-pm use OS/2 Presentation Manager
1056 --with-mgl use SciTech MGL
1057 --with-microwin use MicroWindows
1059 --with-libpng use libpng (PNG image format)
1060 --with-libjpeg use libjpeg (JPEG file format)
1061 --with-libtiff use libtiff (TIFF file format)
1062 --with-libxpm use libxpm (XPM file format)
1063 --with-libmspack use libmspack (CHM help files loading)
1064 --with-sdl use SDL for audio on Unix
1065 --with-gnomeprint use GNOME print for audio printing under Unix
1066 --with-opengl use OpenGL (or Mesa)
1067 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1068 --with-regex enable support for wxRegEx class
1069 --with-zlib use zlib for LZW compression
1070 --with-odbc use the IODBC and wxODBC classes
1071 --with-expat enable XML support using expat parser
1072 --with-flavour=NAME specify a name to identify this build
1073 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1074 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1075 --with-x use the X Window System
1076 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1077 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1078 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1079 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1080 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1082 Some influential environment variables:
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1090 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags
1092 CXXCPP C++ preprocessor
1094 Use these variables to override the choices made by `configure' or to
help
1095 it to
find libraries and programs with nonstandard names
/locations.
1097 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1101 if test "$ac_init_help" = "recursive"; then
1102 # If there are subdirs, report their specific --help.
1104 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1105 test -d $ac_dir || continue
1108 if test "$ac_dir" != .
; then
1109 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1110 # A "../" for each directory in $ac_dir_suffix.
1111 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1113 ac_dir_suffix
= ac_top_builddir
=
1117 .
) # No --srcdir option. We are building in place.
1119 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1124 [\\/]* | ?
:[\\/]* ) # Absolute path.
1125 ac_srcdir
=$srcdir$ac_dir_suffix;
1126 ac_top_srcdir
=$srcdir ;;
1128 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1129 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1132 # Do not use `cd foo && pwd` to compute absolute paths, because
1133 # the directories may not exist.
1135 .
) ac_abs_builddir
="$ac_dir";;
1138 .
) ac_abs_builddir
=`pwd`;;
1139 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1140 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1143 case $ac_abs_builddir in
1144 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1146 case ${ac_top_builddir}.
in
1147 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1148 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1149 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1152 case $ac_abs_builddir in
1153 .
) ac_abs_srcdir
=$ac_srcdir;;
1156 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1157 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1158 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1161 case $ac_abs_builddir in
1162 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1164 case $ac_top_srcdir in
1165 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1166 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1167 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1172 # Check for guested configure; otherwise get Cygnus style configure.
1173 if test -f $ac_srcdir/configure.gnu
; then
1175 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1176 elif test -f $ac_srcdir/configure
; then
1178 $SHELL $ac_srcdir/configure
--help=recursive
1179 elif test -f $ac_srcdir/configure.ac
||
1180 test -f $ac_srcdir/configure.
in; then
1182 $ac_configure --help
1184 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 test -n "$ac_init_help" && exit 0
1191 if $ac_init_version; then
1193 wxWidgets configure
2.5.3
1194 generated by GNU Autoconf
2.59
1196 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1197 This configure
script is free software
; the Free Software Foundation
1198 gives unlimited permission to copy
, distribute and modify it.
1204 This file contains any messages produced by compilers while
1205 running configure, to aid debugging if configure makes a mistake.
1207 It was created by wxWidgets $as_me 2.5.3, which was
1208 generated by GNU Autoconf 2.59. Invocation command line was
1219 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1220 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1221 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1222 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1223 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1225 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1226 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1228 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1229 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1230 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1231 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1232 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1233 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1234 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1242 test -z "$as_dir" && as_dir
=.
1243 echo "PATH: $as_dir"
1258 # Keep a trace of the command line.
1259 # Strip out --no-create and --no-recursion so they do not pile up.
1260 # Strip out --silent because we don't want to record it for future runs.
1261 # Also quote any args containing shell meta-characters.
1262 # Make two passes to allow for proper duplicate-argument suppression.
1267 ac_must_keep_next
=false
1273 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1275 | -silent | --silent | --silen | --sile | --sil)
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1283 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1284 if test $ac_must_keep_next = true
; then
1285 ac_must_keep_next
=false
# Got value, back to normal.
1288 *=* | --config-cache | -C | -disable-* | --disable-* \
1289 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1290 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1291 | -with-* | --with-* | -without-* | --without-* | --x)
1292 case "$ac_configure_args0 " in
1293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 -* ) ac_must_keep_next
=true
;;
1299 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1300 # Get rid of the leading space.
1306 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1307 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1309 # When interrupted or exit'd, cleanup temporary files, and complete
1310 # config.log. We remove comments because anyway the quotes in there
1311 # would cause problems or look ugly.
1312 # WARNING: Be sure not to use single quotes in there, as some shells,
1313 # such as our DU 5.0 friend, will then `close' the trap.
1314 trap 'exit_status=$?
1315 # Save into config.log some information that might help in debugging.
1320 ## ---------------- ##
1321 ## Cache variables. ##
1322 ## ---------------- ##
1325 # The following way of writing the cache mishandles newlines in values,
1328 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1343 ## ----------------- ##
1344 ## Output variables. ##
1345 ## ----------------- ##
1348 for ac_var in $ac_subst_vars
1350 eval ac_val=$`echo $ac_var`
1351 echo "$ac_var='"'"'$ac_val'"'"'"
1355 if test -n "$ac_subst_files"; then
1362 for ac_var in $ac_subst_files
1364 eval ac_val=$`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1370 if test -s confdefs.h; then
1377 sed "/^$/d" confdefs.h | sort
1380 test "$ac_signal" != 0 &&
1381 echo "$as_me: caught signal $ac_signal"
1382 echo "$as_me: exit $exit_status"
1384 rm -f core *.core &&
1385 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 for ac_signal
in 1 2 13 15; do
1389 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1393 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1394 rm -rf conftest
* confdefs.h
1395 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 # Predefined preprocessor variables.
1400 cat >>confdefs.h
<<_ACEOF
1401 #define PACKAGE_NAME "$PACKAGE_NAME"
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_STRING "$PACKAGE_STRING"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1425 # Let the site file select an alternate cache file if it wants to.
1426 # Prefer explicitly selected file to automatically selected ones.
1427 if test -z "$CONFIG_SITE"; then
1428 if test "x$prefix" != xNONE
; then
1429 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1431 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1434 for ac_site_file
in $CONFIG_SITE; do
1435 if test -r "$ac_site_file"; then
1436 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1437 echo "$as_me: loading site script $ac_site_file" >&6;}
1438 sed 's/^/| /' "$ac_site_file" >&5
1443 if test -r "$cache_file"; then
1444 # Some versions of bash will fail to source /dev/null (special
1445 # files actually), so we avoid doing that.
1446 if test -f "$cache_file"; then
1447 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1448 echo "$as_me: loading cache $cache_file" >&6;}
1450 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1451 *) . .
/$cache_file;;
1455 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1456 echo "$as_me: creating cache $cache_file" >&6;}
1460 # Check that the precious variables saved in the cache have kept the same
1462 ac_cache_corrupted
=false
1463 for ac_var
in `(set) 2>&1 |
1464 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1465 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1466 eval ac_new_set
=\
$ac_env_${ac_var}_set
1467 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1468 eval ac_new_val
="\$ac_env_${ac_var}_value"
1469 case $ac_old_set,$ac_new_set in
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1473 ac_cache_corrupted
=: ;;
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1476 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1477 ac_cache_corrupted
=: ;;
1480 if test "x$ac_old_val" != "x$ac_new_val"; then
1481 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1482 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1483 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1484 echo "$as_me: former value: $ac_old_val" >&2;}
1485 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1486 echo "$as_me: current value: $ac_new_val" >&2;}
1487 ac_cache_corrupted
=:
1490 # Pass precious variables to config.status.
1491 if test "$ac_new_set" = set; then
1493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1494 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1495 *) ac_arg
=$ac_var=$ac_new_val ;;
1497 case " $ac_configure_args " in
1498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1499 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1503 if $ac_cache_corrupted; then
1504 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1505 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1506 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1507 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1508 { (exit 1); exit 1; }; }
1512 ac_cpp
='$CPP $CPPFLAGS'
1513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1547 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1548 if test -f $ac_dir/install-sh; then
1550 ac_install_sh
="$ac_aux_dir/install-sh -c"
1552 elif test -f $ac_dir/install.sh
; then
1554 ac_install_sh
="$ac_aux_dir/install.sh -c"
1556 elif test -f $ac_dir/shtool
; then
1558 ac_install_sh
="$ac_aux_dir/shtool install -c"
1562 if test -z "$ac_aux_dir"; then
1563 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1564 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1565 { (exit 1); exit 1; }; }
1567 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1568 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1569 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1571 # Make sure we can run config.sub.
1572 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1573 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1574 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1575 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: checking build system type" >&5
1578 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1579 if test "${ac_cv_build+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 ac_cv_build_alias
=$build_alias
1583 test -z "$ac_cv_build_alias" &&
1584 ac_cv_build_alias
=`$ac_config_guess`
1585 test -z "$ac_cv_build_alias" &&
1586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1587 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1588 { (exit 1); exit 1; }; }
1589 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1596 echo "${ECHO_T}$ac_cv_build" >&6
1598 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 echo "$as_me:$LINENO: checking host system type" >&5
1604 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1605 if test "${ac_cv_host+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 ac_cv_host_alias
=$host_alias
1609 test -z "$ac_cv_host_alias" &&
1610 ac_cv_host_alias
=$ac_cv_build_alias
1611 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1617 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1618 echo "${ECHO_T}$ac_cv_host" >&6
1620 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625 echo "$as_me:$LINENO: checking target system type" >&5
1626 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1627 if test "${ac_cv_target+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 ac_cv_target_alias
=$target_alias
1631 test "x$ac_cv_target_alias" = "x" &&
1632 ac_cv_target_alias
=$ac_cv_host_alias
1633 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1640 echo "${ECHO_T}$ac_cv_target" >&6
1641 target
=$ac_cv_target
1642 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1647 # The aliases save the names the user supplied, while $host etc.
1648 # will get canonicalized.
1649 test -n "$target_alias" &&
1650 test "$program_prefix$program_suffix$program_transform_name" = \
1652 program_prefix
=${target_alias}-
1656 wx_major_version_number
=2
1657 wx_minor_version_number
=5
1659 wx_subrelease_number
=2
1661 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1662 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1663 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1665 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1681 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1687 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1693 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1695 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1697 DEFAULT_wxUSE_COCOA
=0
1701 DEFAULT_wxUSE_MICROWIN
=0
1702 DEFAULT_wxUSE_MOTIF
=0
1707 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1708 DEFAULT_DEFAULT_wxUSE_GTK
=0
1709 DEFAULT_DEFAULT_wxUSE_MAC
=0
1710 DEFAULT_DEFAULT_wxUSE_MGL
=0
1711 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1712 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1713 DEFAULT_DEFAULT_wxUSE_MSW
=0
1714 DEFAULT_DEFAULT_wxUSE_PM
=0
1715 DEFAULT_DEFAULT_wxUSE_X11
=0
1720 SAMPLES_RPATH_POSTLINK
=
1725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1726 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1728 cat >>confdefs.h
<<\_ACEOF
1735 cat >>confdefs.h
<<\_ACEOF
1740 if test "x$TMP" = "xalpha"; then
1742 cat >>confdefs.h
<<\_ACEOF
1747 DEFAULT_DEFAULT_wxUSE_GTK
=1
1749 *-*-gnu* | *-*-k*bsd
*-gnu )
1752 if test "x$TMP" = "xalpha"; then
1754 cat >>confdefs.h
<<\_ACEOF
1759 DEFAULT_DEFAULT_wxUSE_GTK
=1
1761 *-*-irix5* | *-*-irix6* )
1764 cat >>confdefs.h
<<\_ACEOF
1768 cat >>confdefs.h
<<\_ACEOF
1772 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1778 cat >>confdefs.h
<<\_ACEOF
1782 cat >>confdefs.h
<<\_ACEOF
1783 #define __SOLARIS__ 1
1786 cat >>confdefs.h
<<\_ACEOF
1790 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1791 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1797 cat >>confdefs.h
<<\_ACEOF
1801 cat >>confdefs.h
<<\_ACEOF
1805 cat >>confdefs.h
<<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1814 cat >>confdefs.h
<<\_ACEOF
1815 #define __FREEBSD__ 1
1818 cat >>confdefs.h
<<\_ACEOF
1822 DEFAULT_DEFAULT_wxUSE_GTK
=1
1827 cat >>confdefs.h
<<\_ACEOF
1828 #define __OPENBSD__ 1
1831 cat >>confdefs.h
<<\_ACEOF
1835 DEFAULT_DEFAULT_wxUSE_GTK
=1
1840 cat >>confdefs.h
<<\_ACEOF
1841 #define __NETBSD__ 1
1844 cat >>confdefs.h
<<\_ACEOF
1848 DEFAULT_DEFAULT_wxUSE_GTK
=1
1853 cat >>confdefs.h
<<\_ACEOF
1857 cat >>confdefs.h
<<\_ACEOF
1861 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1862 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1867 cat >>confdefs.h
<<\_ACEOF
1871 cat >>confdefs.h
<<\_ACEOF
1875 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1880 cat >>confdefs.h
<<\_ACEOF
1884 cat >>confdefs.h
<<\_ACEOF
1888 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1895 cat >>confdefs.h
<<\_ACEOF
1899 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1914 cat >>confdefs.h
<<\_ACEOF
1915 #define __UNIXWARE__ 1
1920 *-*-cygwin* | *-*-mingw32* )
1924 DEFAULT_DEFAULT_wxUSE_MSW
=1
1930 cat >>confdefs.h
<<\_ACEOF
1935 DEFAULT_DEFAULT_wxUSE_MGL
=1
1936 LIBS
="$LIBS -lstdc++"
1939 *-pc-os2_emx | *-pc-os2-emx )
1940 cat >>confdefs.h
<<\_ACEOF
1945 cat >>confdefs.h
<<\_ACEOF
1950 DEFAULT_DEFAULT_wxUSE_PM
=1
1952 LDFLAGS
="$LDFLAGS -Zcrtdll"
1953 ac_executable_extensions
=".exe"
1954 export ac_executable_extensions
1958 for ac_dir
in $PATH; do
1960 if test -z "$ac_TEMP_PATH"; then
1961 ac_TEMP_PATH
="$ac_dir"
1963 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1966 export PATH
="$ac_TEMP_PATH"
1974 cat >>confdefs.h
<<\_ACEOF
1978 cat >>confdefs.h
<<\_ACEOF
1979 #define __DARWIN__ 1
1982 cat >>confdefs.h
<<\_ACEOF
1983 #define __POWERPC__ 1
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define TARGET_CARBON 1
1990 DEFAULT_DEFAULT_wxUSE_MAC
=1
1995 cat >>confdefs.h
<<\_ACEOF
2002 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2003 echo "$as_me: error: unknown system type ${host}." >&2;}
2004 { (exit 1); exit 1; }; }
2010 wx_arg_cache_file
="configarg.cache"
2011 echo "loading argument cache $wx_arg_cache_file"
2012 rm -f ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}.tmp
2014 touch ${wx_arg_cache_file}
2018 if test $DEBUG_CONFIGURE = 1; then
2019 DEFAULT_wxUSE_UNIVERSAL
=no
2020 DEFAULT_wxUSE_STL
=no
2022 DEFAULT_wxUSE_NANOX
=no
2024 DEFAULT_wxUSE_THREADS
=yes
2026 DEFAULT_wxUSE_SHARED
=yes
2027 DEFAULT_wxUSE_OPTIMISE
=no
2028 DEFAULT_wxUSE_PROFILE
=no
2029 DEFAULT_wxUSE_NO_DEPS
=no
2030 DEFAULT_wxUSE_NO_RTTI
=no
2031 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2032 DEFAULT_wxUSE_RPATH
=yes
2033 DEFAULT_wxUSE_PERMISSIVE
=no
2034 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2035 DEFAULT_wxUSE_DEBUG_INFO
=yes
2036 DEFAULT_wxUSE_DEBUG_GDB
=yes
2037 DEFAULT_wxUSE_MEM_TRACING
=no
2038 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2039 DEFAULT_wxUSE_DMALLOC
=no
2040 DEFAULT_wxUSE_APPLE_IEEE
=no
2042 DEFAULT_wxUSE_EXCEPTIONS
=no
2043 DEFAULT_wxUSE_LOG
=yes
2044 DEFAULT_wxUSE_LOGWINDOW
=no
2045 DEFAULT_wxUSE_LOGGUI
=no
2046 DEFAULT_wxUSE_LOGDIALOG
=no
2048 DEFAULT_wxUSE_GUI
=yes
2049 DEFAULT_wxUSE_CONTROLS
=no
2051 DEFAULT_wxUSE_REGEX
=no
2052 DEFAULT_wxUSE_XML
=no
2053 DEFAULT_wxUSE_EXPAT
=no
2054 DEFAULT_wxUSE_ZLIB
=no
2055 DEFAULT_wxUSE_LIBPNG
=no
2056 DEFAULT_wxUSE_LIBJPEG
=no
2057 DEFAULT_wxUSE_LIBTIFF
=no
2058 DEFAULT_wxUSE_LIBXPM
=no
2059 DEFAULT_wxUSE_LIBMSPACK
=no
2060 DEFAULT_wxUSE_LIBSDL
=no
2061 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2062 DEFAULT_wxUSE_ODBC
=no
2063 DEFAULT_wxUSE_OPENGL
=no
2065 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2066 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2067 DEFAULT_wxUSE_STD_IOSTREAM
=no
2068 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2069 DEFAULT_wxUSE_DATETIME
=no
2070 DEFAULT_wxUSE_TIMER
=no
2071 DEFAULT_wxUSE_STOPWATCH
=no
2072 DEFAULT_wxUSE_FILE
=no
2073 DEFAULT_wxUSE_FFILE
=no
2074 DEFAULT_wxUSE_TEXTBUFFER
=no
2075 DEFAULT_wxUSE_TEXTFILE
=no
2076 DEFAULT_wxUSE_SOUND
=no
2077 DEFAULT_wxUSE_MEDIACTRL
=no
2078 DEFAULT_wxUSE_DIRECTSHOW
=no
2079 DEFAULT_wxUSE_INTL
=no
2080 DEFAULT_wxUSE_CONFIG
=no
2081 DEFAULT_wxUSE_FONTMAP
=no
2082 DEFAULT_wxUSE_STREAMS
=no
2083 DEFAULT_wxUSE_SOCKETS
=no
2084 DEFAULT_wxUSE_OLE
=no
2085 DEFAULT_wxUSE_DATAOBJ
=no
2086 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2087 DEFAULT_wxUSE_JOYSTICK
=no
2088 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2089 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2090 DEFAULT_wxUSE_LONGLONG
=no
2091 DEFAULT_wxUSE_GEOMETRY
=no
2093 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2094 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2095 DEFAULT_wxUSE_POSTSCRIPT
=no
2097 DEFAULT_wxUSE_CLIPBOARD
=no
2098 DEFAULT_wxUSE_TOOLTIPS
=no
2099 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2100 DEFAULT_wxUSE_DRAGIMAGE
=no
2101 DEFAULT_wxUSE_SPLINES
=no
2103 DEFAULT_wxUSE_MDI
=no
2104 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2105 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2106 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2108 DEFAULT_wxUSE_RESOURCES
=no
2109 DEFAULT_wxUSE_CONSTRAINTS
=no
2110 DEFAULT_wxUSE_IPC
=no
2111 DEFAULT_wxUSE_HELP
=no
2112 DEFAULT_wxUSE_MS_HTML_HELP
=no
2113 DEFAULT_wxUSE_WXHTML_HELP
=no
2114 DEFAULT_wxUSE_TREELAYOUT
=no
2115 DEFAULT_wxUSE_METAFILE
=no
2116 DEFAULT_wxUSE_MIMETYPE
=no
2117 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2118 DEFAULT_wxUSE_PROTOCOL
=no
2119 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2120 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2121 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2122 DEFAULT_wxUSE_URL
=no
2124 DEFAULT_wxUSE_COMMONDLGS
=no
2125 DEFAULT_wxUSE_CHOICEDLG
=no
2126 DEFAULT_wxUSE_COLOURDLG
=no
2127 DEFAULT_wxUSE_DIRDLG
=no
2128 DEFAULT_wxUSE_FILEDLG
=no
2129 DEFAULT_wxUSE_FINDREPLDLG
=no
2130 DEFAULT_wxUSE_FONTDLG
=no
2131 DEFAULT_wxUSE_MSGDLG
=no
2132 DEFAULT_wxUSE_NUMBERDLG
=no
2133 DEFAULT_wxUSE_TEXTDLG
=no
2134 DEFAULT_wxUSE_SPLASH
=no
2135 DEFAULT_wxUSE_STARTUP_TIPS
=no
2136 DEFAULT_wxUSE_PROGRESSDLG
=no
2137 DEFAULT_wxUSE_WIZARDDLG
=no
2139 DEFAULT_wxUSE_MENUS
=no
2140 DEFAULT_wxUSE_MINIFRAME
=no
2141 DEFAULT_wxUSE_HTML
=no
2142 DEFAULT_wxUSE_XRC
=no
2143 DEFAULT_wxUSE_WEBKIT
=no
2144 DEFAULT_wxUSE_FILESYSTEM
=no
2145 DEFAULT_wxUSE_FS_INET
=no
2146 DEFAULT_wxUSE_FS_ZIP
=no
2147 DEFAULT_wxUSE_BUSYINFO
=no
2148 DEFAULT_wxUSE_ZIPSTREAM
=no
2149 DEFAULT_wxUSE_VALIDATORS
=no
2151 DEFAULT_wxUSE_ACCEL
=no
2152 DEFAULT_wxUSE_BUTTON
=no
2153 DEFAULT_wxUSE_BMPBUTTON
=no
2154 DEFAULT_wxUSE_CALCTRL
=no
2155 DEFAULT_wxUSE_CARET
=no
2156 DEFAULT_wxUSE_CHECKBOX
=no
2157 DEFAULT_wxUSE_CHECKLST
=no
2158 DEFAULT_wxUSE_CHOICE
=no
2159 DEFAULT_wxUSE_CHOICEBOOK
=no
2160 DEFAULT_wxUSE_COMBOBOX
=no
2161 DEFAULT_wxUSE_DISPLAY
=no
2162 DEFAULT_wxUSE_GAUGE
=no
2163 DEFAULT_wxUSE_GRID
=no
2164 DEFAULT_wxUSE_IMAGLIST
=no
2165 DEFAULT_wxUSE_LISTBOOK
=no
2166 DEFAULT_wxUSE_LISTBOX
=no
2167 DEFAULT_wxUSE_LISTCTRL
=no
2168 DEFAULT_wxUSE_NOTEBOOK
=no
2169 DEFAULT_wxUSE_RADIOBOX
=no
2170 DEFAULT_wxUSE_RADIOBTN
=no
2171 DEFAULT_wxUSE_SASH
=no
2172 DEFAULT_wxUSE_SCROLLBAR
=no
2173 DEFAULT_wxUSE_SLIDER
=no
2174 DEFAULT_wxUSE_SPINBTN
=no
2175 DEFAULT_wxUSE_SPINCTRL
=no
2176 DEFAULT_wxUSE_SPLITTER
=no
2177 DEFAULT_wxUSE_STATBMP
=no
2178 DEFAULT_wxUSE_STATBOX
=no
2179 DEFAULT_wxUSE_STATLINE
=no
2180 DEFAULT_wxUSE_STATTEXT
=no
2181 DEFAULT_wxUSE_STATUSBAR
=yes
2182 DEFAULT_wxUSE_TABDIALOG
=no
2183 DEFAULT_wxUSE_TEXTCTRL
=no
2184 DEFAULT_wxUSE_TOGGLEBTN
=no
2185 DEFAULT_wxUSE_TOOLBAR
=no
2186 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2187 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2188 DEFAULT_wxUSE_TREECTRL
=no
2189 DEFAULT_wxUSE_POPUPWIN
=no
2190 DEFAULT_wxUSE_TIPWINDOW
=no
2192 DEFAULT_wxUSE_UNICODE
=no
2193 DEFAULT_wxUSE_UNICODE_MSLU
=no
2194 DEFAULT_wxUSE_WCSRTOMBS
=no
2196 DEFAULT_wxUSE_PALETTE
=no
2197 DEFAULT_wxUSE_IMAGE
=no
2198 DEFAULT_wxUSE_GIF
=no
2199 DEFAULT_wxUSE_PCX
=no
2200 DEFAULT_wxUSE_PNM
=no
2201 DEFAULT_wxUSE_IFF
=no
2202 DEFAULT_wxUSE_XPM
=no
2203 DEFAULT_wxUSE_ICO_CUR
=no
2204 DEFAULT_wxUSE_ACCESSIBILITY
=no
2206 DEFAULT_wxUSE_MONOLITHIC
=no
2207 DEFAULT_wxUSE_PLUGINS
=no
2208 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2210 DEFAULT_wxUSE_UNIVERSAL
=no
2211 DEFAULT_wxUSE_STL
=no
2213 DEFAULT_wxUSE_NANOX
=no
2215 DEFAULT_wxUSE_THREADS
=yes
2217 DEFAULT_wxUSE_SHARED
=yes
2218 DEFAULT_wxUSE_OPTIMISE
=yes
2219 DEFAULT_wxUSE_PROFILE
=no
2220 DEFAULT_wxUSE_NO_DEPS
=no
2221 DEFAULT_wxUSE_NO_RTTI
=no
2222 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2223 DEFAULT_wxUSE_RPATH
=yes
2224 DEFAULT_wxUSE_PERMISSIVE
=no
2225 DEFAULT_wxUSE_DEBUG_FLAG
=no
2226 DEFAULT_wxUSE_DEBUG_INFO
=no
2227 DEFAULT_wxUSE_DEBUG_GDB
=no
2228 DEFAULT_wxUSE_MEM_TRACING
=no
2229 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2230 DEFAULT_wxUSE_DMALLOC
=no
2231 DEFAULT_wxUSE_APPLE_IEEE
=yes
2233 DEFAULT_wxUSE_EXCEPTIONS
=yes
2234 DEFAULT_wxUSE_LOG
=yes
2235 DEFAULT_wxUSE_LOGWINDOW
=yes
2236 DEFAULT_wxUSE_LOGGUI
=yes
2237 DEFAULT_wxUSE_LOGDIALOG
=yes
2239 DEFAULT_wxUSE_GUI
=yes
2241 DEFAULT_wxUSE_REGEX
=yes
2242 DEFAULT_wxUSE_XML
=yes
2243 DEFAULT_wxUSE_EXPAT
=yes
2244 DEFAULT_wxUSE_ZLIB
=yes
2245 DEFAULT_wxUSE_LIBPNG
=yes
2246 DEFAULT_wxUSE_LIBJPEG
=yes
2247 DEFAULT_wxUSE_LIBTIFF
=yes
2248 DEFAULT_wxUSE_LIBXPM
=yes
2249 DEFAULT_wxUSE_LIBMSPACK
=yes
2250 DEFAULT_wxUSE_LIBSDL
=no
2251 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2252 DEFAULT_wxUSE_ODBC
=no
2253 DEFAULT_wxUSE_OPENGL
=no
2255 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2256 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2257 DEFAULT_wxUSE_STD_IOSTREAM
=no
2258 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2259 DEFAULT_wxUSE_DATETIME
=yes
2260 DEFAULT_wxUSE_TIMER
=yes
2261 DEFAULT_wxUSE_STOPWATCH
=yes
2262 DEFAULT_wxUSE_FILE
=yes
2263 DEFAULT_wxUSE_FFILE
=yes
2264 DEFAULT_wxUSE_TEXTBUFFER
=yes
2265 DEFAULT_wxUSE_TEXTFILE
=yes
2266 DEFAULT_wxUSE_SOUND
=yes
2267 DEFAULT_wxUSE_MEDIACTRL
=no
2268 DEFAULT_wxUSE_DIRECTSHOW
=no
2269 DEFAULT_wxUSE_INTL
=yes
2270 DEFAULT_wxUSE_CONFIG
=yes
2271 DEFAULT_wxUSE_FONTMAP
=yes
2272 DEFAULT_wxUSE_STREAMS
=yes
2273 DEFAULT_wxUSE_SOCKETS
=yes
2274 DEFAULT_wxUSE_OLE
=yes
2275 DEFAULT_wxUSE_DATAOBJ
=yes
2276 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2277 DEFAULT_wxUSE_JOYSTICK
=yes
2278 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2279 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2280 DEFAULT_wxUSE_LONGLONG
=yes
2281 DEFAULT_wxUSE_GEOMETRY
=yes
2283 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2284 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2285 DEFAULT_wxUSE_POSTSCRIPT
=yes
2287 DEFAULT_wxUSE_CLIPBOARD
=yes
2288 DEFAULT_wxUSE_TOOLTIPS
=yes
2289 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2290 DEFAULT_wxUSE_DRAGIMAGE
=yes
2291 DEFAULT_wxUSE_SPLINES
=yes
2293 DEFAULT_wxUSE_MDI
=yes
2294 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2295 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2296 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2298 DEFAULT_wxUSE_RESOURCES
=no
2299 DEFAULT_wxUSE_CONSTRAINTS
=yes
2300 DEFAULT_wxUSE_IPC
=yes
2301 DEFAULT_wxUSE_HELP
=yes
2302 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2303 DEFAULT_wxUSE_WXHTML_HELP
=yes
2304 DEFAULT_wxUSE_TREELAYOUT
=yes
2305 DEFAULT_wxUSE_METAFILE
=yes
2306 DEFAULT_wxUSE_MIMETYPE
=yes
2307 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2308 DEFAULT_wxUSE_PROTOCOL
=yes
2309 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2310 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2311 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2312 DEFAULT_wxUSE_URL
=yes
2314 DEFAULT_wxUSE_COMMONDLGS
=yes
2315 DEFAULT_wxUSE_CHOICEDLG
=yes
2316 DEFAULT_wxUSE_COLOURDLG
=yes
2317 DEFAULT_wxUSE_DIRDLG
=yes
2318 DEFAULT_wxUSE_FILEDLG
=yes
2319 DEFAULT_wxUSE_FINDREPLDLG
=yes
2320 DEFAULT_wxUSE_FONTDLG
=yes
2321 DEFAULT_wxUSE_MSGDLG
=yes
2322 DEFAULT_wxUSE_NUMBERDLG
=yes
2323 DEFAULT_wxUSE_TEXTDLG
=yes
2324 DEFAULT_wxUSE_SPLASH
=yes
2325 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2326 DEFAULT_wxUSE_PROGRESSDLG
=yes
2327 DEFAULT_wxUSE_WIZARDDLG
=yes
2329 DEFAULT_wxUSE_MENUS
=yes
2330 DEFAULT_wxUSE_MINIFRAME
=yes
2331 DEFAULT_wxUSE_HTML
=yes
2332 DEFAULT_wxUSE_XRC
=yes
2333 DEFAULT_wxUSE_WEBKIT
=yes
2334 DEFAULT_wxUSE_FILESYSTEM
=yes
2335 DEFAULT_wxUSE_FS_INET
=yes
2336 DEFAULT_wxUSE_FS_ZIP
=yes
2337 DEFAULT_wxUSE_BUSYINFO
=yes
2338 DEFAULT_wxUSE_ZIPSTREAM
=yes
2339 DEFAULT_wxUSE_VALIDATORS
=yes
2341 DEFAULT_wxUSE_ACCEL
=yes
2342 DEFAULT_wxUSE_BUTTON
=yes
2343 DEFAULT_wxUSE_BMPBUTTON
=yes
2344 DEFAULT_wxUSE_CALCTRL
=yes
2345 DEFAULT_wxUSE_CARET
=yes
2346 DEFAULT_wxUSE_CHECKBOX
=yes
2347 DEFAULT_wxUSE_CHECKLST
=yes
2348 DEFAULT_wxUSE_CHOICE
=yes
2349 DEFAULT_wxUSE_CHOICEBOOK
=yes
2350 DEFAULT_wxUSE_COMBOBOX
=yes
2351 DEFAULT_wxUSE_DISPLAY
=yes
2352 DEFAULT_wxUSE_GAUGE
=yes
2353 DEFAULT_wxUSE_GRID
=yes
2354 DEFAULT_wxUSE_IMAGLIST
=yes
2355 DEFAULT_wxUSE_LISTBOOK
=yes
2356 DEFAULT_wxUSE_LISTBOX
=yes
2357 DEFAULT_wxUSE_LISTCTRL
=yes
2358 DEFAULT_wxUSE_NOTEBOOK
=yes
2359 DEFAULT_wxUSE_RADIOBOX
=yes
2360 DEFAULT_wxUSE_RADIOBTN
=yes
2361 DEFAULT_wxUSE_SASH
=yes
2362 DEFAULT_wxUSE_SCROLLBAR
=yes
2363 DEFAULT_wxUSE_SLIDER
=yes
2364 DEFAULT_wxUSE_SPINBTN
=yes
2365 DEFAULT_wxUSE_SPINCTRL
=yes
2366 DEFAULT_wxUSE_SPLITTER
=yes
2367 DEFAULT_wxUSE_STATBMP
=yes
2368 DEFAULT_wxUSE_STATBOX
=yes
2369 DEFAULT_wxUSE_STATLINE
=yes
2370 DEFAULT_wxUSE_STATTEXT
=yes
2371 DEFAULT_wxUSE_STATUSBAR
=yes
2372 DEFAULT_wxUSE_TABDIALOG
=no
2373 DEFAULT_wxUSE_TEXTCTRL
=yes
2374 DEFAULT_wxUSE_TOGGLEBTN
=yes
2375 DEFAULT_wxUSE_TOOLBAR
=yes
2376 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2377 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2378 DEFAULT_wxUSE_TREECTRL
=yes
2379 DEFAULT_wxUSE_POPUPWIN
=yes
2380 DEFAULT_wxUSE_TIPWINDOW
=yes
2382 DEFAULT_wxUSE_UNICODE
=no
2383 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2384 DEFAULT_wxUSE_WCSRTOMBS
=no
2386 DEFAULT_wxUSE_PALETTE
=yes
2387 DEFAULT_wxUSE_IMAGE
=yes
2388 DEFAULT_wxUSE_GIF
=yes
2389 DEFAULT_wxUSE_PCX
=yes
2390 DEFAULT_wxUSE_IFF
=no
2391 DEFAULT_wxUSE_PNM
=yes
2392 DEFAULT_wxUSE_XPM
=yes
2393 DEFAULT_wxUSE_ICO_CUR
=yes
2394 DEFAULT_wxUSE_ACCESSIBILITY
=no
2396 DEFAULT_wxUSE_MONOLITHIC
=no
2397 DEFAULT_wxUSE_PLUGINS
=no
2398 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2400 DEFAULT_wxUSE_GTK2
=yes
2405 for toolkit
in `echo $ALL_TOOLKITS`; do
2406 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2407 if test "x$LINE" != "x" ; then
2408 has_toolkit_in_cache
=1
2409 eval "DEFAULT_$LINE"
2410 eval "CACHE_$toolkit=1"
2417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2418 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2420 # Check whether --enable-gui or --disable-gui was given.
2421 if test "${enable_gui+set}" = set; then
2422 enableval
="$enable_gui"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_gui
='wxUSE_GUI=yes'
2427 ac_cv_use_gui
='wxUSE_GUI=no'
2432 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x
; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2443 eval "$ac_cv_use_gui"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2448 if test "$wxUSE_GUI" = yes; then
2449 echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2459 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2461 # Check whether --enable-monolithic or --disable-monolithic was given.
2462 if test "${enable_monolithic+set}" = set; then
2463 enableval
="$enable_monolithic"
2465 if test "$enableval" = yes; then
2466 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2468 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2473 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x
; then
2475 eval "DEFAULT_$LINE"
2480 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2484 eval "$ac_cv_use_monolithic"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2489 if test "$wxUSE_MONOLITHIC" = yes; then
2490 echo "$as_me:$LINENO: result: yes" >&5
2491 echo "${ECHO_T}yes" >&6
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2500 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2502 # Check whether --enable-plugins or --disable-plugins was given.
2503 if test "${enable_plugins+set}" = set; then
2504 enableval
="$enable_plugins"
2506 if test "$enableval" = yes; then
2507 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2509 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2514 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x
; then
2516 eval "DEFAULT_$LINE"
2521 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2525 eval "$ac_cv_use_plugins"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2530 if test "$wxUSE_PLUGINS" = yes; then
2531 echo "$as_me:$LINENO: result: yes" >&5
2532 echo "${ECHO_T}yes" >&6
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2539 if test "$wxUSE_GUI" = "yes"; then
2543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2544 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2546 # Check whether --enable-universal or --disable-universal was given.
2547 if test "${enable_universal+set}" = set; then
2548 enableval
="$enable_universal"
2550 if test "$enableval" = yes; then
2551 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2553 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2558 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x
; then
2560 eval "DEFAULT_$LINE"
2565 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2569 eval "$ac_cv_use_universal"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_UNIVERSAL" = yes; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2583 # Check whether --with-gtk or --without-gtk was given.
2584 if test "${with_gtk+set}" = set; then
2586 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2589 # Check whether --with-motif or --without-motif was given.
2590 if test "${with_motif+set}" = set; then
2591 withval
="$with_motif"
2592 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2595 # Check whether --with-mac or --without-mac was given.
2596 if test "${with_mac+set}" = set; then
2598 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2601 # Check whether --with-cocoa or --without-cocoa was given.
2602 if test "${with_cocoa+set}" = set; then
2603 withval
="$with_cocoa"
2604 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2607 # Check whether --with-wine or --without-wine was given.
2608 if test "${with_wine+set}" = set; then
2609 withval
="$with_wine"
2610 wxUSE_WINE
="$withval" CACHE_WINE
=1
2613 # Check whether --with-msw or --without-msw was given.
2614 if test "${with_msw+set}" = set; then
2616 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2619 # Check whether --with-pm or --without-pm was given.
2620 if test "${with_pm+set}" = set; then
2622 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2625 # Check whether --with-mgl or --without-mgl was given.
2626 if test "${with_mgl+set}" = set; then
2628 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-microwin or --without-microwin was given.
2632 if test "${with_microwin+set}" = set; then
2633 withval
="$with_microwin"
2634 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-x11 or --without-x11 was given.
2638 if test "${with_x11+set}" = set; then
2640 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2645 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2647 # Check whether --enable-nanox or --disable-nanox was given.
2648 if test "${enable_nanox+set}" = set; then
2649 enableval
="$enable_nanox"
2651 if test "$enableval" = yes; then
2652 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2654 ac_cv_use_nanox
='wxUSE_NANOX=no'
2659 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2670 eval "$ac_cv_use_nanox"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_NANOX" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2687 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2689 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2690 if test "${enable_gtk2+set}" = set; then
2691 enableval
="$enable_gtk2"
2693 if test "$enableval" = yes; then
2694 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2696 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2701 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2702 if test "x$LINE" != x
; then
2703 eval "DEFAULT_$LINE"
2708 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2712 eval "$ac_cv_use_gtk2"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2717 if test "$wxUSE_GTK2" = yes; then
2718 echo "$as_me:$LINENO: result: yes" >&5
2719 echo "${ECHO_T}yes" >&6
2721 echo "$as_me:$LINENO: result: no" >&5
2722 echo "${ECHO_T}no" >&6
2727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2728 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2730 # Check whether --enable-gpe or --disable-gpe was given.
2731 if test "${enable_gpe+set}" = set; then
2732 enableval
="$enable_gpe"
2734 if test "$enableval" = yes; then
2735 ac_cv_use_gpe
='wxUSE_GPE=yes'
2737 ac_cv_use_gpe
='wxUSE_GPE=no'
2742 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2743 if test "x$LINE" != x
; then
2744 eval "DEFAULT_$LINE"
2749 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2753 eval "$ac_cv_use_gpe"
2754 if test "$no_cache" != 1; then
2755 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2758 if test "$wxUSE_GPE" = yes; then
2759 echo "$as_me:$LINENO: result: yes" >&5
2760 echo "${ECHO_T}yes" >&6
2762 echo "$as_me:$LINENO: result: no" >&5
2763 echo "${ECHO_T}no" >&6
2768 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2769 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2772 # Check whether --with-libpng or --without-libpng was given.
2773 if test "${with_libpng+set}" = set; then
2774 withval
="$with_libpng"
2776 if test "$withval" = yes; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2778 elif test "$withval" = no
; then
2779 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2780 elif test "$withval" = sys
; then
2781 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2782 elif test "$withval" = builtin; then
2783 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2786 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2787 { (exit 1); exit 1; }; }
2792 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2793 if test "x$LINE" != x
; then
2794 eval "DEFAULT_$LINE"
2799 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2803 eval "$ac_cv_use_libpng"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2808 if test "$wxUSE_LIBPNG" = yes; then
2809 echo "$as_me:$LINENO: result: yes" >&5
2810 echo "${ECHO_T}yes" >&6
2811 elif test "$wxUSE_LIBPNG" = no
; then
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2814 elif test "$wxUSE_LIBPNG" = sys
; then
2815 echo "$as_me:$LINENO: result: system version" >&5
2816 echo "${ECHO_T}system version" >&6
2817 elif test "$wxUSE_LIBPNG" = builtin; then
2818 echo "$as_me:$LINENO: result: builtin version" >&5
2819 echo "${ECHO_T}builtin version" >&6
2821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2822 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2823 { (exit 1); exit 1; }; }
2827 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2828 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2831 # Check whether --with-libjpeg or --without-libjpeg was given.
2832 if test "${with_libjpeg+set}" = set; then
2833 withval
="$with_libjpeg"
2835 if test "$withval" = yes; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2837 elif test "$withval" = no
; then
2838 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2839 elif test "$withval" = sys
; then
2840 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2841 elif test "$withval" = builtin; then
2842 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2845 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2846 { (exit 1); exit 1; }; }
2851 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2852 if test "x$LINE" != x
; then
2853 eval "DEFAULT_$LINE"
2858 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2862 eval "$ac_cv_use_libjpeg"
2863 if test "$no_cache" != 1; then
2864 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2867 if test "$wxUSE_LIBJPEG" = yes; then
2868 echo "$as_me:$LINENO: result: yes" >&5
2869 echo "${ECHO_T}yes" >&6
2870 elif test "$wxUSE_LIBJPEG" = no
; then
2871 echo "$as_me:$LINENO: result: no" >&5
2872 echo "${ECHO_T}no" >&6
2873 elif test "$wxUSE_LIBJPEG" = sys
; then
2874 echo "$as_me:$LINENO: result: system version" >&5
2875 echo "${ECHO_T}system version" >&6
2876 elif test "$wxUSE_LIBJPEG" = builtin; then
2877 echo "$as_me:$LINENO: result: builtin version" >&5
2878 echo "${ECHO_T}builtin version" >&6
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2886 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2887 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2890 # Check whether --with-libtiff or --without-libtiff was given.
2891 if test "${with_libtiff+set}" = set; then
2892 withval
="$with_libtiff"
2894 if test "$withval" = yes; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2896 elif test "$withval" = no
; then
2897 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2898 elif test "$withval" = sys
; then
2899 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2900 elif test "$withval" = builtin; then
2901 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2904 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2905 { (exit 1); exit 1; }; }
2910 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x
; then
2912 eval "DEFAULT_$LINE"
2917 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2921 eval "$ac_cv_use_libtiff"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_LIBTIFF" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2929 elif test "$wxUSE_LIBTIFF" = no
; then
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2932 elif test "$wxUSE_LIBTIFF" = sys
; then
2933 echo "$as_me:$LINENO: result: system version" >&5
2934 echo "${ECHO_T}system version" >&6
2935 elif test "$wxUSE_LIBTIFF" = builtin; then
2936 echo "$as_me:$LINENO: result: builtin version" >&5
2937 echo "${ECHO_T}builtin version" >&6
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2945 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2946 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2949 # Check whether --with-libxpm or --without-libxpm was given.
2950 if test "${with_libxpm+set}" = set; then
2951 withval
="$with_libxpm"
2953 if test "$withval" = yes; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2955 elif test "$withval" = no
; then
2956 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2957 elif test "$withval" = sys
; then
2958 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2959 elif test "$withval" = builtin; then
2960 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2962 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2963 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2964 { (exit 1); exit 1; }; }
2969 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2970 if test "x$LINE" != x
; then
2971 eval "DEFAULT_$LINE"
2976 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2980 eval "$ac_cv_use_libxpm"
2981 if test "$no_cache" != 1; then
2982 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2985 if test "$wxUSE_LIBXPM" = yes; then
2986 echo "$as_me:$LINENO: result: yes" >&5
2987 echo "${ECHO_T}yes" >&6
2988 elif test "$wxUSE_LIBXPM" = no
; then
2989 echo "$as_me:$LINENO: result: no" >&5
2990 echo "${ECHO_T}no" >&6
2991 elif test "$wxUSE_LIBXPM" = sys
; then
2992 echo "$as_me:$LINENO: result: system version" >&5
2993 echo "${ECHO_T}system version" >&6
2994 elif test "$wxUSE_LIBXPM" = builtin; then
2995 echo "$as_me:$LINENO: result: builtin version" >&5
2996 echo "${ECHO_T}builtin version" >&6
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3004 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3005 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3008 # Check whether --with-libmspack or --without-libmspack was given.
3009 if test "${with_libmspack+set}" = set; then
3010 withval
="$with_libmspack"
3012 if test "$withval" = yes; then
3013 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3015 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3020 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x
; then
3022 eval "DEFAULT_$LINE"
3027 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3031 eval "$ac_cv_use_libmspack"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_LIBMSPACK" = yes; then
3037 echo "$as_me:$LINENO: result: yes" >&5
3038 echo "${ECHO_T}yes" >&6
3040 echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3045 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3046 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3049 # Check whether --with-sdl or --without-sdl was given.
3050 if test "${with_sdl+set}" = set; then
3053 if test "$withval" = yes; then
3054 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3056 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3061 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x
; then
3063 eval "DEFAULT_$LINE"
3068 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3072 eval "$ac_cv_use_sdl"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3077 if test "$wxUSE_LIBSDL" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079 echo "${ECHO_T}yes" >&6
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3086 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3087 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3090 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3091 if test "${with_gnomeprint+set}" = set; then
3092 withval
="$with_gnomeprint"
3094 if test "$withval" = yes; then
3095 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3097 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3102 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3103 if test "x$LINE" != x
; then
3104 eval "DEFAULT_$LINE"
3109 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3113 eval "$ac_cv_use_gnomeprint"
3114 if test "$no_cache" != 1; then
3115 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3118 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3119 echo "$as_me:$LINENO: result: yes" >&5
3120 echo "${ECHO_T}yes" >&6
3122 echo "$as_me:$LINENO: result: no" >&5
3123 echo "${ECHO_T}no" >&6
3127 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3128 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3131 # Check whether --with-opengl or --without-opengl was given.
3132 if test "${with_opengl+set}" = set; then
3133 withval
="$with_opengl"
3135 if test "$withval" = yes; then
3136 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3138 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3143 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x
; then
3145 eval "DEFAULT_$LINE"
3150 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3154 eval "$ac_cv_use_opengl"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_OPENGL" = yes; then
3160 echo "$as_me:$LINENO: result: yes" >&5
3161 echo "${ECHO_T}yes" >&6
3163 echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6
3171 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3172 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3175 # Check whether --with-dmalloc or --without-dmalloc was given.
3176 if test "${with_dmalloc+set}" = set; then
3177 withval
="$with_dmalloc"
3179 if test "$withval" = yes; then
3180 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3182 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3187 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x
; then
3189 eval "DEFAULT_$LINE"
3194 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3198 eval "$ac_cv_use_dmalloc"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3203 if test "$wxUSE_DMALLOC" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3212 echo "$as_me:$LINENO: checking for --with-regex" >&5
3213 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3216 # Check whether --with-regex or --without-regex was given.
3217 if test "${with_regex+set}" = set; then
3218 withval
="$with_regex"
3220 if test "$withval" = yes; then
3221 ac_cv_use_regex
='wxUSE_REGEX=yes'
3222 elif test "$withval" = no
; then
3223 ac_cv_use_regex
='wxUSE_REGEX=no'
3224 elif test "$withval" = sys
; then
3225 ac_cv_use_regex
='wxUSE_REGEX=sys'
3226 elif test "$withval" = builtin; then
3227 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3229 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3230 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3231 { (exit 1); exit 1; }; }
3236 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x
; then
3238 eval "DEFAULT_$LINE"
3243 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3247 eval "$ac_cv_use_regex"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3252 if test "$wxUSE_REGEX" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254 echo "${ECHO_T}yes" >&6
3255 elif test "$wxUSE_REGEX" = no
; then
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3258 elif test "$wxUSE_REGEX" = sys
; then
3259 echo "$as_me:$LINENO: result: system version" >&5
3260 echo "${ECHO_T}system version" >&6
3261 elif test "$wxUSE_REGEX" = builtin; then
3262 echo "$as_me:$LINENO: result: builtin version" >&5
3263 echo "${ECHO_T}builtin version" >&6
3265 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3266 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3267 { (exit 1); exit 1; }; }
3271 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3272 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3275 # Check whether --with-zlib or --without-zlib was given.
3276 if test "${with_zlib+set}" = set; then
3277 withval
="$with_zlib"
3279 if test "$withval" = yes; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3281 elif test "$withval" = no
; then
3282 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3283 elif test "$withval" = sys
; then
3284 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3285 elif test "$withval" = builtin; then
3286 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3288 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3289 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3290 { (exit 1); exit 1; }; }
3295 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3296 if test "x$LINE" != x
; then
3297 eval "DEFAULT_$LINE"
3302 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3306 eval "$ac_cv_use_zlib"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3311 if test "$wxUSE_ZLIB" = yes; then
3312 echo "$as_me:$LINENO: result: yes" >&5
3313 echo "${ECHO_T}yes" >&6
3314 elif test "$wxUSE_ZLIB" = no
; then
3315 echo "$as_me:$LINENO: result: no" >&5
3316 echo "${ECHO_T}no" >&6
3317 elif test "$wxUSE_ZLIB" = sys
; then
3318 echo "$as_me:$LINENO: result: system version" >&5
3319 echo "${ECHO_T}system version" >&6
3320 elif test "$wxUSE_ZLIB" = builtin; then
3321 echo "$as_me:$LINENO: result: builtin version" >&5
3322 echo "${ECHO_T}builtin version" >&6
3324 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3325 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3326 { (exit 1); exit 1; }; }
3330 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3331 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3334 # Check whether --with-odbc or --without-odbc was given.
3335 if test "${with_odbc+set}" = set; then
3336 withval
="$with_odbc"
3338 if test "$withval" = yes; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3340 elif test "$withval" = no
; then
3341 ac_cv_use_odbc
='wxUSE_ODBC=no'
3342 elif test "$withval" = sys
; then
3343 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3344 elif test "$withval" = builtin; then
3345 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3347 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3348 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3349 { (exit 1); exit 1; }; }
3354 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x
; then
3356 eval "DEFAULT_$LINE"
3361 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3365 eval "$ac_cv_use_odbc"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3370 if test "$wxUSE_ODBC" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3373 elif test "$wxUSE_ODBC" = no
; then
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3376 elif test "$wxUSE_ODBC" = sys
; then
3377 echo "$as_me:$LINENO: result: system version" >&5
3378 echo "${ECHO_T}system version" >&6
3379 elif test "$wxUSE_ODBC" = builtin; then
3380 echo "$as_me:$LINENO: result: builtin version" >&5
3381 echo "${ECHO_T}builtin version" >&6
3383 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3384 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3385 { (exit 1); exit 1; }; }
3389 echo "$as_me:$LINENO: checking for --with-expat" >&5
3390 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3393 # Check whether --with-expat or --without-expat was given.
3394 if test "${with_expat+set}" = set; then
3395 withval
="$with_expat"
3397 if test "$withval" = yes; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3399 elif test "$withval" = no
; then
3400 ac_cv_use_expat
='wxUSE_EXPAT=no'
3401 elif test "$withval" = sys
; then
3402 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3403 elif test "$withval" = builtin; then
3404 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3406 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3407 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3408 { (exit 1); exit 1; }; }
3413 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x
; then
3415 eval "DEFAULT_$LINE"
3420 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3424 eval "$ac_cv_use_expat"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3429 if test "$wxUSE_EXPAT" = yes; then
3430 echo "$as_me:$LINENO: result: yes" >&5
3431 echo "${ECHO_T}yes" >&6
3432 elif test "$wxUSE_EXPAT" = no
; then
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3435 elif test "$wxUSE_EXPAT" = sys
; then
3436 echo "$as_me:$LINENO: result: system version" >&5
3437 echo "${ECHO_T}system version" >&6
3438 elif test "$wxUSE_EXPAT" = builtin; then
3439 echo "$as_me:$LINENO: result: builtin version" >&5
3440 echo "${ECHO_T}builtin version" >&6
3442 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3443 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3444 { (exit 1); exit 1; }; }
3451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3452 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3454 # Check whether --enable-shared or --disable-shared was given.
3455 if test "${enable_shared+set}" = set; then
3456 enableval
="$enable_shared"
3458 if test "$enableval" = yes; then
3459 ac_cv_use_shared
='wxUSE_SHARED=yes'
3461 ac_cv_use_shared
='wxUSE_SHARED=no'
3466 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3467 if test "x$LINE" != x
; then
3468 eval "DEFAULT_$LINE"
3473 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3477 eval "$ac_cv_use_shared"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3482 if test "$wxUSE_SHARED" = yes; then
3483 echo "$as_me:$LINENO: result: yes" >&5
3484 echo "${ECHO_T}yes" >&6
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3495 # Check whether --enable-optimise or --disable-optimise was given.
3496 if test "${enable_optimise+set}" = set; then
3497 enableval
="$enable_optimise"
3499 if test "$enableval" = yes; then
3500 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3502 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3507 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x
; then
3509 eval "DEFAULT_$LINE"
3514 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3518 eval "$ac_cv_use_optimise"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3523 if test "$wxUSE_OPTIMISE" = yes; then
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3536 # Check whether --enable-debug or --disable-debug was given.
3537 if test "${enable_debug+set}" = set; then
3538 enableval
="$enable_debug"
3540 if test "$enableval" = yes; then
3541 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3543 ac_cv_use_debug
='wxUSE_DEBUG=no'
3548 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x
; then
3550 eval "DEFAULT_$LINE"
3555 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3559 eval "$ac_cv_use_debug"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_DEBUG" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3575 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3577 # Check whether --enable-stl or --disable-stl was given.
3578 if test "${enable_stl+set}" = set; then
3579 enableval
="$enable_stl"
3581 if test "$enableval" = yes; then
3582 ac_cv_use_stl
='wxUSE_STL=yes'
3584 ac_cv_use_stl
='wxUSE_STL=no'
3589 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x
; then
3591 eval "DEFAULT_$LINE"
3596 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3600 eval "$ac_cv_use_stl"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3605 if test "$wxUSE_STL" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3613 if test "$USE_OS2" = "1"; then
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3617 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3619 # Check whether --enable-omf or --disable-omf was given.
3620 if test "${enable_omf+set}" = set; then
3621 enableval
="$enable_omf"
3623 if test "$enableval" = yes; then
3624 ac_cv_use_omf
='wxUSE_OMF=yes'
3626 ac_cv_use_omf
='wxUSE_OMF=no'
3631 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x
; then
3633 eval "DEFAULT_$LINE"
3638 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3642 eval "$ac_cv_use_omf"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3647 if test "$wxUSE_OMF" = yes; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6
3651 echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6
3657 if test "$wxUSE_DEBUG" = "yes"; then
3658 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3659 DEFAULT_wxUSE_DEBUG_INFO
=yes
3661 elif test "$wxUSE_DEBUG" = "no"; then
3662 DEFAULT_wxUSE_DEBUG_FLAG
=no
3663 DEFAULT_wxUSE_DEBUG_INFO
=no
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3672 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3673 if test "${enable_debug_flag+set}" = set; then
3674 enableval
="$enable_debug_flag"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3679 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3684 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x
; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3695 eval "$ac_cv_use_debug_flag"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_DEBUG_FLAG" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6
3704 echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3713 # Check whether --enable-debug_info or --disable-debug_info was given.
3714 if test "${enable_debug_info+set}" = set; then
3715 enableval
="$enable_debug_info"
3717 if test "$enableval" = yes; then
3718 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3720 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3725 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x
; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3736 eval "$ac_cv_use_debug_info"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_DEBUG_INFO" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3754 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3755 if test "${enable_debug_gdb+set}" = set; then
3756 enableval
="$enable_debug_gdb"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3761 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3766 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3777 eval "$ac_cv_use_debug_gdb"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3782 if test "$wxUSE_DEBUG_GDB" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3793 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3795 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3796 if test "${enable_debug_cntxt+set}" = set; then
3797 enableval
="$enable_debug_cntxt"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3802 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3807 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3818 eval "$ac_cv_use_debug_cntxt"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3823 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3824 echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3834 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3836 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3837 if test "${enable_mem_tracing+set}" = set; then
3838 enableval
="$enable_mem_tracing"
3840 if test "$enableval" = yes; then
3841 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3843 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3848 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x
; then
3850 eval "DEFAULT_$LINE"
3855 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3859 eval "$ac_cv_use_mem_tracing"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_MEM_TRACING" = yes; then
3865 echo "$as_me:$LINENO: result: yes" >&5
3866 echo "${ECHO_T}yes" >&6
3868 echo "$as_me:$LINENO: result: no" >&5
3869 echo "${ECHO_T}no" >&6
3874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3875 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3877 # Check whether --enable-profile or --disable-profile was given.
3878 if test "${enable_profile+set}" = set; then
3879 enableval
="$enable_profile"
3881 if test "$enableval" = yes; then
3882 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3884 ac_cv_use_profile
='wxUSE_PROFILE=no'
3889 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x
; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3900 eval "$ac_cv_use_profile"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3905 if test "$wxUSE_PROFILE" = yes; then
3906 echo "$as_me:$LINENO: result: yes" >&5
3907 echo "${ECHO_T}yes" >&6
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3916 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3918 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3919 if test "${enable_no_rtti+set}" = set; then
3920 enableval
="$enable_no_rtti"
3922 if test "$enableval" = yes; then
3923 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3925 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3930 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x
; then
3932 eval "DEFAULT_$LINE"
3937 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3941 eval "$ac_cv_use_no_rtti"
3942 if test "$no_cache" != 1; then
3943 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3946 if test "$wxUSE_NO_RTTI" = yes; then
3947 echo "$as_me:$LINENO: result: yes" >&5
3948 echo "${ECHO_T}yes" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3957 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3959 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3960 if test "${enable_no_exceptions+set}" = set; then
3961 enableval
="$enable_no_exceptions"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3966 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3971 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3982 eval "$ac_cv_use_no_exceptions"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3988 echo "$as_me:$LINENO: result: yes" >&5
3989 echo "${ECHO_T}yes" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3998 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4000 # Check whether --enable-permissive or --disable-permissive was given.
4001 if test "${enable_permissive+set}" = set; then
4002 enableval
="$enable_permissive"
4004 if test "$enableval" = yes; then
4005 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4007 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4012 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x
; then
4014 eval "DEFAULT_$LINE"
4019 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4023 eval "$ac_cv_use_permissive"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_PERMISSIVE" = yes; then
4029 echo "$as_me:$LINENO: result: yes" >&5
4030 echo "${ECHO_T}yes" >&6
4032 echo "$as_me:$LINENO: result: no" >&5
4033 echo "${ECHO_T}no" >&6
4038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4039 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4041 # Check whether --enable-no_deps or --disable-no_deps was given.
4042 if test "${enable_no_deps+set}" = set; then
4043 enableval
="$enable_no_deps"
4045 if test "$enableval" = yes; then
4046 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4048 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4053 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x
; then
4055 eval "DEFAULT_$LINE"
4060 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4064 eval "$ac_cv_use_no_deps"
4065 if test "$no_cache" != 1; then
4066 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4069 if test "$wxUSE_NO_DEPS" = yes; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071 echo "${ECHO_T}yes" >&6
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4083 # Check whether --enable-compat22 or --disable-compat22 was given.
4084 if test "${enable_compat22+set}" = set; then
4085 enableval
="$enable_compat22"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4090 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4095 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x
; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4106 eval "$ac_cv_use_compat22"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4111 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4120 enablestring
=disable
4121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4122 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4124 # Check whether --enable-compat24 or --disable-compat24 was given.
4125 if test "${enable_compat24+set}" = set; then
4126 enableval
="$enable_compat24"
4128 if test "$enableval" = yes; then
4129 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4131 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4136 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x
; then
4138 eval "DEFAULT_$LINE"
4143 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4147 eval "$ac_cv_use_compat24"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4152 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4153 echo "$as_me:$LINENO: result: yes" >&5
4154 echo "${ECHO_T}yes" >&6
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4166 # Check whether --enable-rpath or --disable-rpath was given.
4167 if test "${enable_rpath+set}" = set; then
4168 enableval
="$enable_rpath"
4170 if test "$enableval" = yes; then
4171 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4173 ac_cv_use_rpath
='wxUSE_RPATH=no'
4178 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x
; then
4180 eval "DEFAULT_$LINE"
4185 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4189 eval "$ac_cv_use_rpath"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_RPATH" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4210 # Check whether --enable-intl or --disable-intl was given.
4211 if test "${enable_intl+set}" = set; then
4212 enableval
="$enable_intl"
4214 if test "$enableval" = yes; then
4215 ac_cv_use_intl
='wxUSE_INTL=yes'
4217 ac_cv_use_intl
='wxUSE_INTL=no'
4222 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x
; then
4224 eval "DEFAULT_$LINE"
4229 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4233 eval "$ac_cv_use_intl"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_INTL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4251 # Check whether --enable-config or --disable-config was given.
4252 if test "${enable_config+set}" = set; then
4253 enableval
="$enable_config"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_config
='wxUSE_CONFIG=yes'
4258 ac_cv_use_config
='wxUSE_CONFIG=no'
4263 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4274 eval "$ac_cv_use_config"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4279 if test "$wxUSE_CONFIG" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4291 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4293 # Check whether --enable-protocols or --disable-protocols was given.
4294 if test "${enable_protocols+set}" = set; then
4295 enableval
="$enable_protocols"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4300 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4305 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x
; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4316 eval "$ac_cv_use_protocols"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_PROTOCOL" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4332 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4334 # Check whether --enable-ftp or --disable-ftp was given.
4335 if test "${enable_ftp+set}" = set; then
4336 enableval
="$enable_ftp"
4338 if test "$enableval" = yes; then
4339 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4341 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4346 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x
; then
4348 eval "DEFAULT_$LINE"
4353 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4357 eval "$ac_cv_use_ftp"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4362 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4363 echo "$as_me:$LINENO: result: yes" >&5
4364 echo "${ECHO_T}yes" >&6
4366 echo "$as_me:$LINENO: result: no" >&5
4367 echo "${ECHO_T}no" >&6
4372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4373 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4375 # Check whether --enable-http or --disable-http was given.
4376 if test "${enable_http+set}" = set; then
4377 enableval
="$enable_http"
4379 if test "$enableval" = yes; then
4380 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4382 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4387 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x
; then
4389 eval "DEFAULT_$LINE"
4394 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4398 eval "$ac_cv_use_http"
4399 if test "$no_cache" != 1; then
4400 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4403 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4404 echo "$as_me:$LINENO: result: yes" >&5
4405 echo "${ECHO_T}yes" >&6
4407 echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6
4413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4414 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4416 # Check whether --enable-fileproto or --disable-fileproto was given.
4417 if test "${enable_fileproto+set}" = set; then
4418 enableval
="$enable_fileproto"
4420 if test "$enableval" = yes; then
4421 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4423 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4428 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x
; then
4430 eval "DEFAULT_$LINE"
4435 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4439 eval "$ac_cv_use_fileproto"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4445 echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6
4448 echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6
4454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4455 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4457 # Check whether --enable-sockets or --disable-sockets was given.
4458 if test "${enable_sockets+set}" = set; then
4459 enableval
="$enable_sockets"
4461 if test "$enableval" = yes; then
4462 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4464 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4469 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x
; then
4471 eval "DEFAULT_$LINE"
4476 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4480 eval "$ac_cv_use_sockets"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4485 if test "$wxUSE_SOCKETS" = yes; then
4486 echo "$as_me:$LINENO: result: yes" >&5
4487 echo "${ECHO_T}yes" >&6
4489 echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4498 # Check whether --enable-ole or --disable-ole was given.
4499 if test "${enable_ole+set}" = set; then
4500 enableval
="$enable_ole"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ole
='wxUSE_OLE=yes'
4505 ac_cv_use_ole
='wxUSE_OLE=no'
4510 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4521 eval "$ac_cv_use_ole"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_OLE" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4539 # Check whether --enable-dataobj or --disable-dataobj was given.
4540 if test "${enable_dataobj+set}" = set; then
4541 enableval
="$enable_dataobj"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4546 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4551 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4562 eval "$ac_cv_use_dataobj"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_DATAOBJ" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4581 # Check whether --enable-ipc or --disable-ipc was given.
4582 if test "${enable_ipc+set}" = set; then
4583 enableval
="$enable_ipc"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_ipc
='wxUSE_IPC=yes'
4588 ac_cv_use_ipc
='wxUSE_IPC=no'
4593 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4604 eval "$ac_cv_use_ipc"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_IPC" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4623 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4624 if test "${enable_apple_ieee+set}" = set; then
4625 enableval
="$enable_apple_ieee"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4630 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4635 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4646 eval "$ac_cv_use_apple_ieee"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_APPLE_IEEE" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4664 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4665 if test "${enable_catch_segvs+set}" = set; then
4666 enableval
="$enable_catch_segvs"
4668 if test "$enableval" = yes; then
4669 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4671 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4676 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x
; then
4678 eval "DEFAULT_$LINE"
4683 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4687 eval "$ac_cv_use_catch_segvs"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4692 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4693 echo "$as_me:$LINENO: result: yes" >&5
4694 echo "${ECHO_T}yes" >&6
4696 echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6
4702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4703 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4705 # Check whether --enable-cmdline or --disable-cmdline was given.
4706 if test "${enable_cmdline+set}" = set; then
4707 enableval
="$enable_cmdline"
4709 if test "$enableval" = yes; then
4710 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4712 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4717 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x
; then
4719 eval "DEFAULT_$LINE"
4724 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4728 eval "$ac_cv_use_cmdline"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4733 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4734 echo "$as_me:$LINENO: result: yes" >&5
4735 echo "${ECHO_T}yes" >&6
4737 echo "$as_me:$LINENO: result: no" >&5
4738 echo "${ECHO_T}no" >&6
4743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4746 # Check whether --enable-datetime or --disable-datetime was given.
4747 if test "${enable_datetime+set}" = set; then
4748 enableval
="$enable_datetime"
4750 if test "$enableval" = yes; then
4751 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4753 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4758 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x
; then
4760 eval "DEFAULT_$LINE"
4765 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4769 eval "$ac_cv_use_datetime"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_DATETIME" = yes; then
4775 echo "$as_me:$LINENO: result: yes" >&5
4776 echo "${ECHO_T}yes" >&6
4778 echo "$as_me:$LINENO: result: no" >&5
4779 echo "${ECHO_T}no" >&6
4784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4785 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4787 # Check whether --enable-dialupman or --disable-dialupman was given.
4788 if test "${enable_dialupman+set}" = set; then
4789 enableval
="$enable_dialupman"
4791 if test "$enableval" = yes; then
4792 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4794 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4799 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x
; then
4801 eval "DEFAULT_$LINE"
4806 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4810 eval "$ac_cv_use_dialupman"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4816 echo "$as_me:$LINENO: result: yes" >&5
4817 echo "${ECHO_T}yes" >&6
4819 echo "$as_me:$LINENO: result: no" >&5
4820 echo "${ECHO_T}no" >&6
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4828 # Check whether --enable-dynlib or --disable-dynlib was given.
4829 if test "${enable_dynlib+set}" = set; then
4830 enableval
="$enable_dynlib"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4835 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4840 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4851 eval "$ac_cv_use_dynlib"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4856 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4857 echo "$as_me:$LINENO: result: yes" >&5
4858 echo "${ECHO_T}yes" >&6
4860 echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6
4866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4867 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4869 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4870 if test "${enable_dynamicloader+set}" = set; then
4871 enableval
="$enable_dynamicloader"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4876 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4881 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4892 eval "$ac_cv_use_dynamicloader"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4897 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4898 echo "$as_me:$LINENO: result: yes" >&5
4899 echo "${ECHO_T}yes" >&6
4901 echo "$as_me:$LINENO: result: no" >&5
4902 echo "${ECHO_T}no" >&6
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4910 # Check whether --enable-exceptions or --disable-exceptions was given.
4911 if test "${enable_exceptions+set}" = set; then
4912 enableval
="$enable_exceptions"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4917 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4922 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4933 eval "$ac_cv_use_exceptions"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_EXCEPTIONS" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4951 # Check whether --enable-ffile or --disable-ffile was given.
4952 if test "${enable_ffile+set}" = set; then
4953 enableval
="$enable_ffile"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4958 ac_cv_use_ffile
='wxUSE_FFILE=no'
4963 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4974 eval "$ac_cv_use_ffile"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_FFILE" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4992 # Check whether --enable-file or --disable-file was given.
4993 if test "${enable_file+set}" = set; then
4994 enableval
="$enable_file"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_file
='wxUSE_FILE=yes'
4999 ac_cv_use_file
='wxUSE_FILE=no'
5004 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5015 eval "$ac_cv_use_file"
5016 if test "$no_cache" != 1; then
5017 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5020 if test "$wxUSE_FILE" = yes; then
5021 echo "$as_me:$LINENO: result: yes" >&5
5022 echo "${ECHO_T}yes" >&6
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5033 # Check whether --enable-filesystem or --disable-filesystem was given.
5034 if test "${enable_filesystem+set}" = set; then
5035 enableval
="$enable_filesystem"
5037 if test "$enableval" = yes; then
5038 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5040 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5045 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x
; then
5047 eval "DEFAULT_$LINE"
5052 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5056 eval "$ac_cv_use_filesystem"
5057 if test "$no_cache" != 1; then
5058 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5061 if test "$wxUSE_FILESYSTEM" = yes; then
5062 echo "$as_me:$LINENO: result: yes" >&5
5063 echo "${ECHO_T}yes" >&6
5065 echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6
5071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5074 # Check whether --enable-fontmap or --disable-fontmap was given.
5075 if test "${enable_fontmap+set}" = set; then
5076 enableval
="$enable_fontmap"
5078 if test "$enableval" = yes; then
5079 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5081 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5086 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x
; then
5088 eval "DEFAULT_$LINE"
5093 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5097 eval "$ac_cv_use_fontmap"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5102 if test "$wxUSE_FONTMAP" = yes; then
5103 echo "$as_me:$LINENO: result: yes" >&5
5104 echo "${ECHO_T}yes" >&6
5106 echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6
5112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5115 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5116 if test "${enable_fs_inet+set}" = set; then
5117 enableval
="$enable_fs_inet"
5119 if test "$enableval" = yes; then
5120 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5122 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5127 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x
; then
5129 eval "DEFAULT_$LINE"
5134 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5138 eval "$ac_cv_use_fs_inet"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5143 if test "$wxUSE_FS_INET" = yes; then
5144 echo "$as_me:$LINENO: result: yes" >&5
5145 echo "${ECHO_T}yes" >&6
5147 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6
5153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5156 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5157 if test "${enable_fs_zip+set}" = set; then
5158 enableval
="$enable_fs_zip"
5160 if test "$enableval" = yes; then
5161 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5163 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5168 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x
; then
5170 eval "DEFAULT_$LINE"
5175 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5179 eval "$ac_cv_use_fs_zip"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_FS_ZIP" = yes; then
5185 echo "$as_me:$LINENO: result: yes" >&5
5186 echo "${ECHO_T}yes" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5195 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5197 # Check whether --enable-geometry or --disable-geometry was given.
5198 if test "${enable_geometry+set}" = set; then
5199 enableval
="$enable_geometry"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5204 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5209 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5220 eval "$ac_cv_use_geometry"
5221 if test "$no_cache" != 1; then
5222 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5225 if test "$wxUSE_GEOMETRY" = yes; then
5226 echo "$as_me:$LINENO: result: yes" >&5
5227 echo "${ECHO_T}yes" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5236 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5238 # Check whether --enable-log or --disable-log was given.
5239 if test "${enable_log+set}" = set; then
5240 enableval
="$enable_log"
5242 if test "$enableval" = yes; then
5243 ac_cv_use_log
='wxUSE_LOG=yes'
5245 ac_cv_use_log
='wxUSE_LOG=no'
5250 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x
; then
5252 eval "DEFAULT_$LINE"
5257 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5261 eval "$ac_cv_use_log"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_LOG" = yes; then
5267 echo "$as_me:$LINENO: result: yes" >&5
5268 echo "${ECHO_T}yes" >&6
5270 echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6
5276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5279 # Check whether --enable-longlong or --disable-longlong was given.
5280 if test "${enable_longlong+set}" = set; then
5281 enableval
="$enable_longlong"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5286 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5291 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5302 eval "$ac_cv_use_longlong"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_LONGLONG" = yes; then
5308 echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6
5311 echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5320 # Check whether --enable-mimetype or --disable-mimetype was given.
5321 if test "${enable_mimetype+set}" = set; then
5322 enableval
="$enable_mimetype"
5324 if test "$enableval" = yes; then
5325 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5327 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5332 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x
; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5343 eval "$ac_cv_use_mimetype"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_MIMETYPE" = yes; then
5349 echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6
5352 echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6
5358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5361 # Check whether --enable-mslu or --disable-mslu was given.
5362 if test "${enable_mslu+set}" = set; then
5363 enableval
="$enable_mslu"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5368 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5373 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5384 eval "$ac_cv_use_mslu"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5389 if test "$wxUSE_UNICODE_MSLU" = yes; then
5390 echo "$as_me:$LINENO: result: yes" >&5
5391 echo "${ECHO_T}yes" >&6
5393 echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6
5399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5402 # Check whether --enable-snglinst or --disable-snglinst was given.
5403 if test "${enable_snglinst+set}" = set; then
5404 enableval
="$enable_snglinst"
5406 if test "$enableval" = yes; then
5407 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5409 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5414 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5425 eval "$ac_cv_use_snglinst"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5431 echo "$as_me:$LINENO: result: yes" >&5
5432 echo "${ECHO_T}yes" >&6
5434 echo "$as_me:$LINENO: result: no" >&5
5435 echo "${ECHO_T}no" >&6
5440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5443 # Check whether --enable-streams or --disable-streams was given.
5444 if test "${enable_streams+set}" = set; then
5445 enableval
="$enable_streams"
5447 if test "$enableval" = yes; then
5448 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5450 ac_cv_use_streams
='wxUSE_STREAMS=no'
5455 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x
; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5466 eval "$ac_cv_use_streams"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_STREAMS" = yes; then
5472 echo "$as_me:$LINENO: result: yes" >&5
5473 echo "${ECHO_T}yes" >&6
5475 echo "$as_me:$LINENO: result: no" >&5
5476 echo "${ECHO_T}no" >&6
5481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5484 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5485 if test "${enable_std_iostreams+set}" = set; then
5486 enableval
="$enable_std_iostreams"
5488 if test "$enableval" = yes; then
5489 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5491 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5496 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5497 if test "x$LINE" != x
; then
5498 eval "DEFAULT_$LINE"
5503 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5507 eval "$ac_cv_use_std_iostreams"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5512 if test "$wxUSE_STD_IOSTREAM" = yes; then
5513 echo "$as_me:$LINENO: result: yes" >&5
5514 echo "${ECHO_T}yes" >&6
5516 echo "$as_me:$LINENO: result: no" >&5
5517 echo "${ECHO_T}no" >&6
5522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5523 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5525 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5526 if test "${enable_stopwatch+set}" = set; then
5527 enableval
="$enable_stopwatch"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5532 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5537 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5548 eval "$ac_cv_use_stopwatch"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5553 if test "$wxUSE_STOPWATCH" = yes; then
5554 echo "$as_me:$LINENO: result: yes" >&5
5555 echo "${ECHO_T}yes" >&6
5557 echo "$as_me:$LINENO: result: no" >&5
5558 echo "${ECHO_T}no" >&6
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5566 # Check whether --enable-system_options or --disable-system_options was given.
5567 if test "${enable_system_options+set}" = set; then
5568 enableval
="$enable_system_options"
5570 if test "$enableval" = yes; then
5571 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5573 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5578 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x
; then
5580 eval "DEFAULT_$LINE"
5585 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5589 eval "$ac_cv_use_system_options"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5594 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596 echo "${ECHO_T}yes" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5605 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5607 # Check whether --enable-textbuf or --disable-textbuf was given.
5608 if test "${enable_textbuf+set}" = set; then
5609 enableval
="$enable_textbuf"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5614 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5619 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5630 eval "$ac_cv_use_textbuf"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_TEXTBUFFER" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5639 echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5648 # Check whether --enable-textfile or --disable-textfile was given.
5649 if test "${enable_textfile+set}" = set; then
5650 enableval
="$enable_textfile"
5652 if test "$enableval" = yes; then
5653 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5655 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5660 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x
; then
5662 eval "DEFAULT_$LINE"
5667 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5671 eval "$ac_cv_use_textfile"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5676 if test "$wxUSE_TEXTFILE" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678 echo "${ECHO_T}yes" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5689 # Check whether --enable-timer or --disable-timer was given.
5690 if test "${enable_timer+set}" = set; then
5691 enableval
="$enable_timer"
5693 if test "$enableval" = yes; then
5694 ac_cv_use_timer
='wxUSE_TIMER=yes'
5696 ac_cv_use_timer
='wxUSE_TIMER=no'
5701 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x
; then
5703 eval "DEFAULT_$LINE"
5708 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5712 eval "$ac_cv_use_timer"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_TIMER" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5730 # Check whether --enable-unicode or --disable-unicode was given.
5731 if test "${enable_unicode+set}" = set; then
5732 enableval
="$enable_unicode"
5734 if test "$enableval" = yes; then
5735 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5737 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5742 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x
; then
5744 eval "DEFAULT_$LINE"
5749 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5753 eval "$ac_cv_use_unicode"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_UNICODE" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760 echo "${ECHO_T}yes" >&6
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5769 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5771 # Check whether --enable-sound or --disable-sound was given.
5772 if test "${enable_sound+set}" = set; then
5773 enableval
="$enable_sound"
5775 if test "$enableval" = yes; then
5776 ac_cv_use_sound
='wxUSE_SOUND=yes'
5778 ac_cv_use_sound
='wxUSE_SOUND=no'
5783 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x
; then
5785 eval "DEFAULT_$LINE"
5790 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5794 eval "$ac_cv_use_sound"
5795 if test "$no_cache" != 1; then
5796 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5799 if test "$wxUSE_SOUND" = yes; then
5800 echo "$as_me:$LINENO: result: yes" >&5
5801 echo "${ECHO_T}yes" >&6
5803 echo "$as_me:$LINENO: result: no" >&5
5804 echo "${ECHO_T}no" >&6
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5812 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5813 if test "${enable_mediactrl+set}" = set; then
5814 enableval
="$enable_mediactrl"
5816 if test "$enableval" = yes; then
5817 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5819 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5824 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x
; then
5826 eval "DEFAULT_$LINE"
5831 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5835 eval "$ac_cv_use_mediactrl"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_MEDIACTRL" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5853 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5854 if test "${enable_wxprintfv+set}" = set; then
5855 enableval
="$enable_wxprintfv"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5860 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5865 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5876 eval "$ac_cv_use_wxprintfv"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5894 # Check whether --enable-zipstream or --disable-zipstream was given.
5895 if test "${enable_zipstream+set}" = set; then
5896 enableval
="$enable_zipstream"
5898 if test "$enableval" = yes; then
5899 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5901 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5906 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x
; then
5908 eval "DEFAULT_$LINE"
5913 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5917 eval "$ac_cv_use_zipstream"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_ZIPSTREAM" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5936 # Check whether --enable-url or --disable-url was given.
5937 if test "${enable_url+set}" = set; then
5938 enableval
="$enable_url"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_url
='wxUSE_URL=yes'
5943 ac_cv_use_url
='wxUSE_URL=no'
5948 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x
; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5959 eval "$ac_cv_use_url"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5964 if test "$wxUSE_URL" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5977 # Check whether --enable-protocol or --disable-protocol was given.
5978 if test "${enable_protocol+set}" = set; then
5979 enableval
="$enable_protocol"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5984 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5989 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6000 eval "$ac_cv_use_protocol"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_PROTOCOL" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6018 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6019 if test "${enable_protocol_http+set}" = set; then
6020 enableval
="$enable_protocol_http"
6022 if test "$enableval" = yes; then
6023 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6025 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6030 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x
; then
6032 eval "DEFAULT_$LINE"
6037 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6041 eval "$ac_cv_use_protocol_http"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6046 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6059 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6060 if test "${enable_protocol_ftp+set}" = set; then
6061 enableval
="$enable_protocol_ftp"
6063 if test "$enableval" = yes; then
6064 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6066 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6071 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x
; then
6073 eval "DEFAULT_$LINE"
6078 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6082 eval "$ac_cv_use_protocol_ftp"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6100 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6101 if test "${enable_protocol_file+set}" = set; then
6102 enableval
="$enable_protocol_file"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6107 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6112 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x
; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6123 eval "$ac_cv_use_protocol_file"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6128 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6144 # Check whether --enable-threads or --disable-threads was given.
6145 if test "${enable_threads+set}" = set; then
6146 enableval
="$enable_threads"
6148 if test "$enableval" = yes; then
6149 ac_cv_use_threads
='wxUSE_THREADS=yes'
6151 ac_cv_use_threads
='wxUSE_THREADS=no'
6156 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6157 if test "x$LINE" != x
; then
6158 eval "DEFAULT_$LINE"
6163 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6167 eval "$ac_cv_use_threads"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_THREADS" = yes; then
6173 echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6
6176 echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6
6181 if test "$wxUSE_GUI" = "yes"; then
6186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6189 # Check whether --enable-docview or --disable-docview was given.
6190 if test "${enable_docview+set}" = set; then
6191 enableval
="$enable_docview"
6193 if test "$enableval" = yes; then
6194 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6196 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6201 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x
; then
6203 eval "DEFAULT_$LINE"
6208 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6212 eval "$ac_cv_use_docview"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6217 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6218 echo "$as_me:$LINENO: result: yes" >&5
6219 echo "${ECHO_T}yes" >&6
6221 echo "$as_me:$LINENO: result: no" >&5
6222 echo "${ECHO_T}no" >&6
6227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6230 # Check whether --enable-help or --disable-help was given.
6231 if test "${enable_help+set}" = set; then
6232 enableval
="$enable_help"
6234 if test "$enableval" = yes; then
6235 ac_cv_use_help
='wxUSE_HELP=yes'
6237 ac_cv_use_help
='wxUSE_HELP=no'
6242 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6243 if test "x$LINE" != x
; then
6244 eval "DEFAULT_$LINE"
6249 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6253 eval "$ac_cv_use_help"
6254 if test "$no_cache" != 1; then
6255 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6258 if test "$wxUSE_HELP" = yes; then
6259 echo "$as_me:$LINENO: result: yes" >&5
6260 echo "${ECHO_T}yes" >&6
6262 echo "$as_me:$LINENO: result: no" >&5
6263 echo "${ECHO_T}no" >&6
6268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6269 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6271 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6272 if test "${enable_mshtmlhelp+set}" = set; then
6273 enableval
="$enable_mshtmlhelp"
6275 if test "$enableval" = yes; then
6276 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6278 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6283 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x
; then
6285 eval "DEFAULT_$LINE"
6290 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6294 eval "$ac_cv_use_mshtmlhelp"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6299 if test "$wxUSE_MS_HTML_HELP" = yes; then
6300 echo "$as_me:$LINENO: result: yes" >&5
6301 echo "${ECHO_T}yes" >&6
6303 echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6310 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6312 # Check whether --enable-html or --disable-html was given.
6313 if test "${enable_html+set}" = set; then
6314 enableval
="$enable_html"
6316 if test "$enableval" = yes; then
6317 ac_cv_use_html
='wxUSE_HTML=yes'
6319 ac_cv_use_html
='wxUSE_HTML=no'
6324 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6325 if test "x$LINE" != x
; then
6326 eval "DEFAULT_$LINE"
6331 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6335 eval "$ac_cv_use_html"
6336 if test "$no_cache" != 1; then
6337 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6340 if test "$wxUSE_HTML" = yes; then
6341 echo "$as_me:$LINENO: result: yes" >&5
6342 echo "${ECHO_T}yes" >&6
6344 echo "$as_me:$LINENO: result: no" >&5
6345 echo "${ECHO_T}no" >&6
6350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6351 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6353 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6354 if test "${enable_htmlhelp+set}" = set; then
6355 enableval
="$enable_htmlhelp"
6357 if test "$enableval" = yes; then
6358 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6360 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6365 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6366 if test "x$LINE" != x
; then
6367 eval "DEFAULT_$LINE"
6372 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6376 eval "$ac_cv_use_htmlhelp"
6377 if test "$no_cache" != 1; then
6378 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6381 if test "$wxUSE_WXHTML_HELP" = yes; then
6382 echo "$as_me:$LINENO: result: yes" >&5
6383 echo "${ECHO_T}yes" >&6
6385 echo "$as_me:$LINENO: result: no" >&5
6386 echo "${ECHO_T}no" >&6
6391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6392 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6394 # Check whether --enable-xrc or --disable-xrc was given.
6395 if test "${enable_xrc+set}" = set; then
6396 enableval
="$enable_xrc"
6398 if test "$enableval" = yes; then
6399 ac_cv_use_xrc
='wxUSE_XRC=yes'
6401 ac_cv_use_xrc
='wxUSE_XRC=no'
6406 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x
; then
6408 eval "DEFAULT_$LINE"
6413 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6417 eval "$ac_cv_use_xrc"
6418 if test "$no_cache" != 1; then
6419 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6422 if test "$wxUSE_XRC" = yes; then
6423 echo "$as_me:$LINENO: result: yes" >&5
6424 echo "${ECHO_T}yes" >&6
6426 echo "$as_me:$LINENO: result: no" >&5
6427 echo "${ECHO_T}no" >&6
6432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6433 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6435 # Check whether --enable-constraints or --disable-constraints was given.
6436 if test "${enable_constraints+set}" = set; then
6437 enableval
="$enable_constraints"
6439 if test "$enableval" = yes; then
6440 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6442 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6447 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x
; then
6449 eval "DEFAULT_$LINE"
6454 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6458 eval "$ac_cv_use_constraints"
6459 if test "$no_cache" != 1; then
6460 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6463 if test "$wxUSE_CONSTRAINTS" = yes; then
6464 echo "$as_me:$LINENO: result: yes" >&5
6465 echo "${ECHO_T}yes" >&6
6467 echo "$as_me:$LINENO: result: no" >&5
6468 echo "${ECHO_T}no" >&6
6473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6474 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6476 # Check whether --enable-printarch or --disable-printarch was given.
6477 if test "${enable_printarch+set}" = set; then
6478 enableval
="$enable_printarch"
6480 if test "$enableval" = yes; then
6481 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6483 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6488 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6489 if test "x$LINE" != x
; then
6490 eval "DEFAULT_$LINE"
6495 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6499 eval "$ac_cv_use_printarch"
6500 if test "$no_cache" != 1; then
6501 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6504 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6505 echo "$as_me:$LINENO: result: yes" >&5
6506 echo "${ECHO_T}yes" >&6
6508 echo "$as_me:$LINENO: result: no" >&5
6509 echo "${ECHO_T}no" >&6
6514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6517 # Check whether --enable-mdi or --disable-mdi was given.
6518 if test "${enable_mdi+set}" = set; then
6519 enableval
="$enable_mdi"
6521 if test "$enableval" = yes; then
6522 ac_cv_use_mdi
='wxUSE_MDI=yes'
6524 ac_cv_use_mdi
='wxUSE_MDI=no'
6529 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x
; then
6531 eval "DEFAULT_$LINE"
6536 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6540 eval "$ac_cv_use_mdi"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6545 if test "$wxUSE_MDI" = yes; then
6546 echo "$as_me:$LINENO: result: yes" >&5
6547 echo "${ECHO_T}yes" >&6
6549 echo "$as_me:$LINENO: result: no" >&5
6550 echo "${ECHO_T}no" >&6
6555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6558 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6559 if test "${enable_mdidoc+set}" = set; then
6560 enableval
="$enable_mdidoc"
6562 if test "$enableval" = yes; then
6563 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6565 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6570 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x
; then
6572 eval "DEFAULT_$LINE"
6577 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6581 eval "$ac_cv_use_mdidoc"
6582 if test "$no_cache" != 1; then
6583 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6586 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6587 echo "$as_me:$LINENO: result: yes" >&5
6588 echo "${ECHO_T}yes" >&6
6590 echo "$as_me:$LINENO: result: no" >&5
6591 echo "${ECHO_T}no" >&6
6596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6599 # Check whether --enable-loggui or --disable-loggui was given.
6600 if test "${enable_loggui+set}" = set; then
6601 enableval
="$enable_loggui"
6603 if test "$enableval" = yes; then
6604 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6606 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6611 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x
; then
6613 eval "DEFAULT_$LINE"
6618 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6622 eval "$ac_cv_use_loggui"
6623 if test "$no_cache" != 1; then
6624 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6627 if test "$wxUSE_LOGGUI" = yes; then
6628 echo "$as_me:$LINENO: result: yes" >&5
6629 echo "${ECHO_T}yes" >&6
6631 echo "$as_me:$LINENO: result: no" >&5
6632 echo "${ECHO_T}no" >&6
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6640 # Check whether --enable-logwin or --disable-logwin was given.
6641 if test "${enable_logwin+set}" = set; then
6642 enableval
="$enable_logwin"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6647 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6652 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6663 eval "$ac_cv_use_logwin"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6668 if test "$wxUSE_LOGWINDOW" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6679 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6681 # Check whether --enable-logdialog or --disable-logdialog was given.
6682 if test "${enable_logdialog+set}" = set; then
6683 enableval
="$enable_logdialog"
6685 if test "$enableval" = yes; then
6686 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6688 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6693 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x
; then
6695 eval "DEFAULT_$LINE"
6700 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6704 eval "$ac_cv_use_logdialog"
6705 if test "$no_cache" != 1; then
6706 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6709 if test "$wxUSE_LOGDIALOG" = yes; then
6710 echo "$as_me:$LINENO: result: yes" >&5
6711 echo "${ECHO_T}yes" >&6
6713 echo "$as_me:$LINENO: result: no" >&5
6714 echo "${ECHO_T}no" >&6
6719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6722 # Check whether --enable-webkit or --disable-webkit was given.
6723 if test "${enable_webkit+set}" = set; then
6724 enableval
="$enable_webkit"
6726 if test "$enableval" = yes; then
6727 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6729 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6734 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x
; then
6736 eval "DEFAULT_$LINE"
6741 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6745 eval "$ac_cv_use_webkit"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_WEBKIT" = yes; then
6751 echo "$as_me:$LINENO: result: yes" >&5
6752 echo "${ECHO_T}yes" >&6
6754 echo "$as_me:$LINENO: result: no" >&5
6755 echo "${ECHO_T}no" >&6
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6764 # Check whether --enable-postscript or --disable-postscript was given.
6765 if test "${enable_postscript+set}" = set; then
6766 enableval
="$enable_postscript"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6771 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6776 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x
; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6787 eval "$ac_cv_use_postscript"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6792 if test "$wxUSE_POSTSCRIPT" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6808 # Check whether --enable-prologio or --disable-prologio was given.
6809 if test "${enable_prologio+set}" = set; then
6810 enableval
="$enable_prologio"
6812 if test "$enableval" = yes; then
6813 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6815 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6820 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x
; then
6822 eval "DEFAULT_$LINE"
6827 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6831 eval "$ac_cv_use_prologio"
6832 if test "$no_cache" != 1; then
6833 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6836 if test "$wxUSE_PROLOGIO" = yes; then
6837 echo "$as_me:$LINENO: result: yes" >&5
6838 echo "${ECHO_T}yes" >&6
6840 echo "$as_me:$LINENO: result: no" >&5
6841 echo "${ECHO_T}no" >&6
6846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6847 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6849 # Check whether --enable-resources or --disable-resources was given.
6850 if test "${enable_resources+set}" = set; then
6851 enableval
="$enable_resources"
6853 if test "$enableval" = yes; then
6854 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6856 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6861 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6862 if test "x$LINE" != x
; then
6863 eval "DEFAULT_$LINE"
6868 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6872 eval "$ac_cv_use_resources"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6877 if test "$wxUSE_RESOURCES" = yes; then
6878 echo "$as_me:$LINENO: result: yes" >&5
6879 echo "${ECHO_T}yes" >&6
6881 echo "$as_me:$LINENO: result: no" >&5
6882 echo "${ECHO_T}no" >&6
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6892 # Check whether --enable-clipboard or --disable-clipboard was given.
6893 if test "${enable_clipboard+set}" = set; then
6894 enableval
="$enable_clipboard"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6899 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6904 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6915 eval "$ac_cv_use_clipboard"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_CLIPBOARD" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6933 # Check whether --enable-dnd or --disable-dnd was given.
6934 if test "${enable_dnd+set}" = set; then
6935 enableval
="$enable_dnd"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6940 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6945 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x
; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6956 eval "$ac_cv_use_dnd"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6974 # Check whether --enable-metafile or --disable-metafile was given.
6975 if test "${enable_metafile+set}" = set; then
6976 enableval
="$enable_metafile"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6981 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6986 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x
; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6997 eval "$ac_cv_use_metafile"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_METAFILE" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7018 # Check whether --enable-controls or --disable-controls was given.
7019 if test "${enable_controls+set}" = set; then
7020 enableval
="$enable_controls"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7025 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7030 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x
; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7041 eval "$ac_cv_use_controls"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_CONTROLS" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7055 if test "$wxUSE_CONTROLS" = "yes"; then
7056 DEFAULT_wxUSE_ACCEL
=yes
7057 DEFAULT_wxUSE_BMPBUTTON
=yes
7058 DEFAULT_wxUSE_BUTTON
=yes
7059 DEFAULT_wxUSE_CALCTRL
=no
7060 DEFAULT_wxUSE_CARET
=yes
7061 DEFAULT_wxUSE_COMBOBOX
=yes
7062 DEFAULT_wxUSE_CHECKBOX
=yes
7063 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7064 DEFAULT_wxUSE_CHOICE
=yes
7065 DEFAULT_wxUSE_CHOICEBOOK
=yes
7066 DEFAULT_wxUSE_GAUGE
=yes
7067 DEFAULT_wxUSE_GRID
=yes
7068 DEFAULT_wxUSE_IMAGLIST
=yes
7069 DEFAULT_wxUSE_LISTBOOK
=yes
7070 DEFAULT_wxUSE_LISTBOX
=yes
7071 DEFAULT_wxUSE_LISTCTRL
=yes
7072 DEFAULT_wxUSE_NOTEBOOK
=yes
7073 DEFAULT_wxUSE_RADIOBOX
=yes
7074 DEFAULT_wxUSE_RADIOBTN
=yes
7075 DEFAULT_wxUSE_SASH
=yes
7076 DEFAULT_wxUSE_SCROLLBAR
=yes
7077 DEFAULT_wxUSE_SLIDER
=yes
7078 DEFAULT_wxUSE_SPINBTN
=yes
7079 DEFAULT_wxUSE_SPINCTRL
=yes
7080 DEFAULT_wxUSE_SPLITTER
=yes
7081 DEFAULT_wxUSE_STATBMP
=yes
7082 DEFAULT_wxUSE_STATBOX
=yes
7083 DEFAULT_wxUSE_STATLINE
=yes
7084 DEFAULT_wxUSE_STATUSBAR
=yes
7085 DEFAULT_wxUSE_TAB_DIALOG
=yes
7086 DEFAULT_wxUSE_TOGGLEBTN
=yes
7087 DEFAULT_wxUSE_TOOLBAR
=yes
7088 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7089 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7090 DEFAULT_wxUSE_TOOLTIPS
=yes
7091 DEFAULT_wxUSE_TREECTRL
=yes
7092 DEFAULT_wxUSE_POPUPWIN
=yes
7093 DEFAULT_wxUSE_TIPWINDOW
=yes
7094 elif test "$wxUSE_CONTROLS" = "no"; then
7095 DEFAULT_wxUSE_ACCEL
=no
7096 DEFAULT_wxUSE_BMPBUTTON
=no
7097 DEFAULT_wxUSE_BUTTON
=no
7098 DEFAULT_wxUSE_CALCTRL
=no
7099 DEFAULT_wxUSE_CARET
=no
7100 DEFAULT_wxUSE_COMBOBOX
=no
7101 DEFAULT_wxUSE_CHECKBOX
=no
7102 DEFAULT_wxUSE_CHECKLISTBOX
=no
7103 DEFAULT_wxUSE_CHOICE
=no
7104 DEFAULT_wxUSE_CHOICEBOOK
=no
7105 DEFAULT_wxUSE_GAUGE
=no
7106 DEFAULT_wxUSE_GRID
=no
7107 DEFAULT_wxUSE_IMAGLIST
=no
7108 DEFAULT_wxUSE_LISTBOOK
=no
7109 DEFAULT_wxUSE_LISTBOX
=no
7110 DEFAULT_wxUSE_LISTCTRL
=no
7111 DEFAULT_wxUSE_NOTEBOOK
=no
7112 DEFAULT_wxUSE_RADIOBOX
=no
7113 DEFAULT_wxUSE_RADIOBTN
=no
7114 DEFAULT_wxUSE_SASH
=no
7115 DEFAULT_wxUSE_SCROLLBAR
=no
7116 DEFAULT_wxUSE_SLIDER
=no
7117 DEFAULT_wxUSE_SPINBTN
=no
7118 DEFAULT_wxUSE_SPINCTRL
=no
7119 DEFAULT_wxUSE_SPLITTER
=no
7120 DEFAULT_wxUSE_STATBMP
=no
7121 DEFAULT_wxUSE_STATBOX
=no
7122 DEFAULT_wxUSE_STATLINE
=no
7123 DEFAULT_wxUSE_STATUSBAR
=no
7124 DEFAULT_wxUSE_TAB_DIALOG
=no
7125 DEFAULT_wxUSE_TOGGLEBTN
=no
7126 DEFAULT_wxUSE_TOOLBAR
=no
7127 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7128 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7129 DEFAULT_wxUSE_TOOLTIPS
=no
7130 DEFAULT_wxUSE_TREECTRL
=no
7131 DEFAULT_wxUSE_POPUPWIN
=no
7132 DEFAULT_wxUSE_TIPWINDOW
=no
7137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7140 # Check whether --enable-accel or --disable-accel was given.
7141 if test "${enable_accel+set}" = set; then
7142 enableval
="$enable_accel"
7144 if test "$enableval" = yes; then
7145 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7147 ac_cv_use_accel
='wxUSE_ACCEL=no'
7152 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x
; then
7154 eval "DEFAULT_$LINE"
7159 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7163 eval "$ac_cv_use_accel"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7168 if test "$wxUSE_ACCEL" = yes; then
7169 echo "$as_me:$LINENO: result: yes" >&5
7170 echo "${ECHO_T}yes" >&6
7172 echo "$as_me:$LINENO: result: no" >&5
7173 echo "${ECHO_T}no" >&6
7178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7181 # Check whether --enable-button or --disable-button was given.
7182 if test "${enable_button+set}" = set; then
7183 enableval
="$enable_button"
7185 if test "$enableval" = yes; then
7186 ac_cv_use_button
='wxUSE_BUTTON=yes'
7188 ac_cv_use_button
='wxUSE_BUTTON=no'
7193 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x
; then
7195 eval "DEFAULT_$LINE"
7200 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7204 eval "$ac_cv_use_button"
7205 if test "$no_cache" != 1; then
7206 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7209 if test "$wxUSE_BUTTON" = yes; then
7210 echo "$as_me:$LINENO: result: yes" >&5
7211 echo "${ECHO_T}yes" >&6
7213 echo "$as_me:$LINENO: result: no" >&5
7214 echo "${ECHO_T}no" >&6
7219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7222 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7223 if test "${enable_bmpbutton+set}" = set; then
7224 enableval
="$enable_bmpbutton"
7226 if test "$enableval" = yes; then
7227 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7229 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7234 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x
; then
7236 eval "DEFAULT_$LINE"
7241 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7245 eval "$ac_cv_use_bmpbutton"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7250 if test "$wxUSE_BMPBUTTON" = yes; then
7251 echo "$as_me:$LINENO: result: yes" >&5
7252 echo "${ECHO_T}yes" >&6
7254 echo "$as_me:$LINENO: result: no" >&5
7255 echo "${ECHO_T}no" >&6
7260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7261 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7263 # Check whether --enable-calendar or --disable-calendar was given.
7264 if test "${enable_calendar+set}" = set; then
7265 enableval
="$enable_calendar"
7267 if test "$enableval" = yes; then
7268 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7270 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7275 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7276 if test "x$LINE" != x
; then
7277 eval "DEFAULT_$LINE"
7282 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7286 eval "$ac_cv_use_calendar"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7291 if test "$wxUSE_CALCTRL" = yes; then
7292 echo "$as_me:$LINENO: result: yes" >&5
7293 echo "${ECHO_T}yes" >&6
7295 echo "$as_me:$LINENO: result: no" >&5
7296 echo "${ECHO_T}no" >&6
7301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7304 # Check whether --enable-caret or --disable-caret was given.
7305 if test "${enable_caret+set}" = set; then
7306 enableval
="$enable_caret"
7308 if test "$enableval" = yes; then
7309 ac_cv_use_caret
='wxUSE_CARET=yes'
7311 ac_cv_use_caret
='wxUSE_CARET=no'
7316 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x
; then
7318 eval "DEFAULT_$LINE"
7323 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7327 eval "$ac_cv_use_caret"
7328 if test "$no_cache" != 1; then
7329 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7332 if test "$wxUSE_CARET" = yes; then
7333 echo "$as_me:$LINENO: result: yes" >&5
7334 echo "${ECHO_T}yes" >&6
7336 echo "$as_me:$LINENO: result: no" >&5
7337 echo "${ECHO_T}no" >&6
7342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7343 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7345 # Check whether --enable-checkbox or --disable-checkbox was given.
7346 if test "${enable_checkbox+set}" = set; then
7347 enableval
="$enable_checkbox"
7349 if test "$enableval" = yes; then
7350 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7352 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7357 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7358 if test "x$LINE" != x
; then
7359 eval "DEFAULT_$LINE"
7364 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7368 eval "$ac_cv_use_checkbox"
7369 if test "$no_cache" != 1; then
7370 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7373 if test "$wxUSE_CHECKBOX" = yes; then
7374 echo "$as_me:$LINENO: result: yes" >&5
7375 echo "${ECHO_T}yes" >&6
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7384 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7386 # Check whether --enable-checklst or --disable-checklst was given.
7387 if test "${enable_checklst+set}" = set; then
7388 enableval
="$enable_checklst"
7390 if test "$enableval" = yes; then
7391 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7393 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7398 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7399 if test "x$LINE" != x
; then
7400 eval "DEFAULT_$LINE"
7405 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7409 eval "$ac_cv_use_checklst"
7410 if test "$no_cache" != 1; then
7411 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7414 if test "$wxUSE_CHECKLST" = yes; then
7415 echo "$as_me:$LINENO: result: yes" >&5
7416 echo "${ECHO_T}yes" >&6
7418 echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6
7424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7425 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7427 # Check whether --enable-choice or --disable-choice was given.
7428 if test "${enable_choice+set}" = set; then
7429 enableval
="$enable_choice"
7431 if test "$enableval" = yes; then
7432 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7434 ac_cv_use_choice
='wxUSE_CHOICE=no'
7439 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7440 if test "x$LINE" != x
; then
7441 eval "DEFAULT_$LINE"
7446 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7450 eval "$ac_cv_use_choice"
7451 if test "$no_cache" != 1; then
7452 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7455 if test "$wxUSE_CHOICE" = yes; then
7456 echo "$as_me:$LINENO: result: yes" >&5
7457 echo "${ECHO_T}yes" >&6
7459 echo "$as_me:$LINENO: result: no" >&5
7460 echo "${ECHO_T}no" >&6
7465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7466 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7468 # Check whether --enable-choicebook or --disable-choicebook was given.
7469 if test "${enable_choicebook+set}" = set; then
7470 enableval
="$enable_choicebook"
7472 if test "$enableval" = yes; then
7473 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7475 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7480 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7481 if test "x$LINE" != x
; then
7482 eval "DEFAULT_$LINE"
7487 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7491 eval "$ac_cv_use_choicebook"
7492 if test "$no_cache" != 1; then
7493 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7496 if test "$wxUSE_CHOICEBOOK" = yes; then
7497 echo "$as_me:$LINENO: result: yes" >&5
7498 echo "${ECHO_T}yes" >&6
7500 echo "$as_me:$LINENO: result: no" >&5
7501 echo "${ECHO_T}no" >&6
7506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7507 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7509 # Check whether --enable-combobox or --disable-combobox was given.
7510 if test "${enable_combobox+set}" = set; then
7511 enableval
="$enable_combobox"
7513 if test "$enableval" = yes; then
7514 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7516 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7521 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x
; then
7523 eval "DEFAULT_$LINE"
7528 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7532 eval "$ac_cv_use_combobox"
7533 if test "$no_cache" != 1; then
7534 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7537 if test "$wxUSE_COMBOBOX" = yes; then
7538 echo "$as_me:$LINENO: result: yes" >&5
7539 echo "${ECHO_T}yes" >&6
7541 echo "$as_me:$LINENO: result: no" >&5
7542 echo "${ECHO_T}no" >&6
7547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7550 # Check whether --enable-display or --disable-display was given.
7551 if test "${enable_display+set}" = set; then
7552 enableval
="$enable_display"
7554 if test "$enableval" = yes; then
7555 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7557 ac_cv_use_display
='wxUSE_DISPLAY=no'
7562 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x
; then
7564 eval "DEFAULT_$LINE"
7569 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7573 eval "$ac_cv_use_display"
7574 if test "$no_cache" != 1; then
7575 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7578 if test "$wxUSE_DISPLAY" = yes; then
7579 echo "$as_me:$LINENO: result: yes" >&5
7580 echo "${ECHO_T}yes" >&6
7582 echo "$as_me:$LINENO: result: no" >&5
7583 echo "${ECHO_T}no" >&6
7588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7589 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7591 # Check whether --enable-gauge or --disable-gauge was given.
7592 if test "${enable_gauge+set}" = set; then
7593 enableval
="$enable_gauge"
7595 if test "$enableval" = yes; then
7596 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7598 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7603 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x
; then
7605 eval "DEFAULT_$LINE"
7610 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7614 eval "$ac_cv_use_gauge"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7619 if test "$wxUSE_GAUGE" = yes; then
7620 echo "$as_me:$LINENO: result: yes" >&5
7621 echo "${ECHO_T}yes" >&6
7623 echo "$as_me:$LINENO: result: no" >&5
7624 echo "${ECHO_T}no" >&6
7629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7632 # Check whether --enable-grid or --disable-grid was given.
7633 if test "${enable_grid+set}" = set; then
7634 enableval
="$enable_grid"
7636 if test "$enableval" = yes; then
7637 ac_cv_use_grid
='wxUSE_GRID=yes'
7639 ac_cv_use_grid
='wxUSE_GRID=no'
7644 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7645 if test "x$LINE" != x
; then
7646 eval "DEFAULT_$LINE"
7651 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7655 eval "$ac_cv_use_grid"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7660 if test "$wxUSE_GRID" = yes; then
7661 echo "$as_me:$LINENO: result: yes" >&5
7662 echo "${ECHO_T}yes" >&6
7664 echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6
7670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7671 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7673 # Check whether --enable-imaglist or --disable-imaglist was given.
7674 if test "${enable_imaglist+set}" = set; then
7675 enableval
="$enable_imaglist"
7677 if test "$enableval" = yes; then
7678 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7680 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7685 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x
; then
7687 eval "DEFAULT_$LINE"
7692 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7696 eval "$ac_cv_use_imaglist"
7697 if test "$no_cache" != 1; then
7698 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7701 if test "$wxUSE_IMAGLIST" = yes; then
7702 echo "$as_me:$LINENO: result: yes" >&5
7703 echo "${ECHO_T}yes" >&6
7705 echo "$as_me:$LINENO: result: no" >&5
7706 echo "${ECHO_T}no" >&6
7711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7712 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7714 # Check whether --enable-listbook or --disable-listbook was given.
7715 if test "${enable_listbook+set}" = set; then
7716 enableval
="$enable_listbook"
7718 if test "$enableval" = yes; then
7719 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7721 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7726 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7727 if test "x$LINE" != x
; then
7728 eval "DEFAULT_$LINE"
7733 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7737 eval "$ac_cv_use_listbook"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7742 if test "$wxUSE_LISTBOOK" = yes; then
7743 echo "$as_me:$LINENO: result: yes" >&5
7744 echo "${ECHO_T}yes" >&6
7746 echo "$as_me:$LINENO: result: no" >&5
7747 echo "${ECHO_T}no" >&6
7752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7753 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7755 # Check whether --enable-listbox or --disable-listbox was given.
7756 if test "${enable_listbox+set}" = set; then
7757 enableval
="$enable_listbox"
7759 if test "$enableval" = yes; then
7760 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7762 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7767 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7768 if test "x$LINE" != x
; then
7769 eval "DEFAULT_$LINE"
7774 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7778 eval "$ac_cv_use_listbox"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7783 if test "$wxUSE_LISTBOX" = yes; then
7784 echo "$as_me:$LINENO: result: yes" >&5
7785 echo "${ECHO_T}yes" >&6
7787 echo "$as_me:$LINENO: result: no" >&5
7788 echo "${ECHO_T}no" >&6
7793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7796 # Check whether --enable-listctrl or --disable-listctrl was given.
7797 if test "${enable_listctrl+set}" = set; then
7798 enableval
="$enable_listctrl"
7800 if test "$enableval" = yes; then
7801 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7803 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7808 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7809 if test "x$LINE" != x
; then
7810 eval "DEFAULT_$LINE"
7815 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7819 eval "$ac_cv_use_listctrl"
7820 if test "$no_cache" != 1; then
7821 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7824 if test "$wxUSE_LISTCTRL" = yes; then
7825 echo "$as_me:$LINENO: result: yes" >&5
7826 echo "${ECHO_T}yes" >&6
7828 echo "$as_me:$LINENO: result: no" >&5
7829 echo "${ECHO_T}no" >&6
7834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7835 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7837 # Check whether --enable-notebook or --disable-notebook was given.
7838 if test "${enable_notebook+set}" = set; then
7839 enableval
="$enable_notebook"
7841 if test "$enableval" = yes; then
7842 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7844 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7849 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7850 if test "x$LINE" != x
; then
7851 eval "DEFAULT_$LINE"
7856 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7860 eval "$ac_cv_use_notebook"
7861 if test "$no_cache" != 1; then
7862 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7865 if test "$wxUSE_NOTEBOOK" = yes; then
7866 echo "$as_me:$LINENO: result: yes" >&5
7867 echo "${ECHO_T}yes" >&6
7869 echo "$as_me:$LINENO: result: no" >&5
7870 echo "${ECHO_T}no" >&6
7875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7876 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7878 # Check whether --enable-radiobox or --disable-radiobox was given.
7879 if test "${enable_radiobox+set}" = set; then
7880 enableval
="$enable_radiobox"
7882 if test "$enableval" = yes; then
7883 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7885 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7890 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x
; then
7892 eval "DEFAULT_$LINE"
7897 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7901 eval "$ac_cv_use_radiobox"
7902 if test "$no_cache" != 1; then
7903 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7906 if test "$wxUSE_RADIOBOX" = yes; then
7907 echo "$as_me:$LINENO: result: yes" >&5
7908 echo "${ECHO_T}yes" >&6
7910 echo "$as_me:$LINENO: result: no" >&5
7911 echo "${ECHO_T}no" >&6
7916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7919 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7920 if test "${enable_radiobtn+set}" = set; then
7921 enableval
="$enable_radiobtn"
7923 if test "$enableval" = yes; then
7924 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7926 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7931 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x
; then
7933 eval "DEFAULT_$LINE"
7938 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7942 eval "$ac_cv_use_radiobtn"
7943 if test "$no_cache" != 1; then
7944 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7947 if test "$wxUSE_RADIOBTN" = yes; then
7948 echo "$as_me:$LINENO: result: yes" >&5
7949 echo "${ECHO_T}yes" >&6
7951 echo "$as_me:$LINENO: result: no" >&5
7952 echo "${ECHO_T}no" >&6
7957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7960 # Check whether --enable-sash or --disable-sash was given.
7961 if test "${enable_sash+set}" = set; then
7962 enableval
="$enable_sash"
7964 if test "$enableval" = yes; then
7965 ac_cv_use_sash
='wxUSE_SASH=yes'
7967 ac_cv_use_sash
='wxUSE_SASH=no'
7972 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x
; then
7974 eval "DEFAULT_$LINE"
7979 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7983 eval "$ac_cv_use_sash"
7984 if test "$no_cache" != 1; then
7985 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7988 if test "$wxUSE_SASH" = yes; then
7989 echo "$as_me:$LINENO: result: yes" >&5
7990 echo "${ECHO_T}yes" >&6
7992 echo "$as_me:$LINENO: result: no" >&5
7993 echo "${ECHO_T}no" >&6
7998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7999 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8001 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8002 if test "${enable_scrollbar+set}" = set; then
8003 enableval
="$enable_scrollbar"
8005 if test "$enableval" = yes; then
8006 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8008 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8013 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8014 if test "x$LINE" != x
; then
8015 eval "DEFAULT_$LINE"
8020 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8024 eval "$ac_cv_use_scrollbar"
8025 if test "$no_cache" != 1; then
8026 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8029 if test "$wxUSE_SCROLLBAR" = yes; then
8030 echo "$as_me:$LINENO: result: yes" >&5
8031 echo "${ECHO_T}yes" >&6
8033 echo "$as_me:$LINENO: result: no" >&5
8034 echo "${ECHO_T}no" >&6
8039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8042 # Check whether --enable-slider or --disable-slider was given.
8043 if test "${enable_slider+set}" = set; then
8044 enableval
="$enable_slider"
8046 if test "$enableval" = yes; then
8047 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8049 ac_cv_use_slider
='wxUSE_SLIDER=no'
8054 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8055 if test "x$LINE" != x
; then
8056 eval "DEFAULT_$LINE"
8061 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8065 eval "$ac_cv_use_slider"
8066 if test "$no_cache" != 1; then
8067 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8070 if test "$wxUSE_SLIDER" = yes; then
8071 echo "$as_me:$LINENO: result: yes" >&5
8072 echo "${ECHO_T}yes" >&6
8074 echo "$as_me:$LINENO: result: no" >&5
8075 echo "${ECHO_T}no" >&6
8080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8081 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8083 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8084 if test "${enable_spinbtn+set}" = set; then
8085 enableval
="$enable_spinbtn"
8087 if test "$enableval" = yes; then
8088 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8090 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8095 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8096 if test "x$LINE" != x
; then
8097 eval "DEFAULT_$LINE"
8102 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8106 eval "$ac_cv_use_spinbtn"
8107 if test "$no_cache" != 1; then
8108 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8111 if test "$wxUSE_SPINBTN" = yes; then
8112 echo "$as_me:$LINENO: result: yes" >&5
8113 echo "${ECHO_T}yes" >&6
8115 echo "$as_me:$LINENO: result: no" >&5
8116 echo "${ECHO_T}no" >&6
8121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8124 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8125 if test "${enable_spinctrl+set}" = set; then
8126 enableval
="$enable_spinctrl"
8128 if test "$enableval" = yes; then
8129 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8131 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8136 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x
; then
8138 eval "DEFAULT_$LINE"
8143 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8147 eval "$ac_cv_use_spinctrl"
8148 if test "$no_cache" != 1; then
8149 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8152 if test "$wxUSE_SPINCTRL" = yes; then
8153 echo "$as_me:$LINENO: result: yes" >&5
8154 echo "${ECHO_T}yes" >&6
8156 echo "$as_me:$LINENO: result: no" >&5
8157 echo "${ECHO_T}no" >&6
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8165 # Check whether --enable-splitter or --disable-splitter was given.
8166 if test "${enable_splitter+set}" = set; then
8167 enableval
="$enable_splitter"
8169 if test "$enableval" = yes; then
8170 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8172 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8177 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x
; then
8179 eval "DEFAULT_$LINE"
8184 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8188 eval "$ac_cv_use_splitter"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8193 if test "$wxUSE_SPLITTER" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6
8197 echo "$as_me:$LINENO: result: no" >&5
8198 echo "${ECHO_T}no" >&6
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8206 # Check whether --enable-statbmp or --disable-statbmp was given.
8207 if test "${enable_statbmp+set}" = set; then
8208 enableval
="$enable_statbmp"
8210 if test "$enableval" = yes; then
8211 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8213 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8218 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x
; then
8220 eval "DEFAULT_$LINE"
8225 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8229 eval "$ac_cv_use_statbmp"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8234 if test "$wxUSE_STATBMP" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236 echo "${ECHO_T}yes" >&6
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8247 # Check whether --enable-statbox or --disable-statbox was given.
8248 if test "${enable_statbox+set}" = set; then
8249 enableval
="$enable_statbox"
8251 if test "$enableval" = yes; then
8252 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8254 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8259 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x
; then
8261 eval "DEFAULT_$LINE"
8266 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8270 eval "$ac_cv_use_statbox"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8275 if test "$wxUSE_STATBOX" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8288 # Check whether --enable-statline or --disable-statline was given.
8289 if test "${enable_statline+set}" = set; then
8290 enableval
="$enable_statline"
8292 if test "$enableval" = yes; then
8293 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8295 ac_cv_use_statline
='wxUSE_STATLINE=no'
8300 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x
; then
8302 eval "DEFAULT_$LINE"
8307 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8311 eval "$ac_cv_use_statline"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8316 if test "$wxUSE_STATLINE" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8329 # Check whether --enable-stattext or --disable-stattext was given.
8330 if test "${enable_stattext+set}" = set; then
8331 enableval
="$enable_stattext"
8333 if test "$enableval" = yes; then
8334 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8336 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8341 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x
; then
8343 eval "DEFAULT_$LINE"
8348 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8352 eval "$ac_cv_use_stattext"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8357 if test "$wxUSE_STATTEXT" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8370 # Check whether --enable-statusbar or --disable-statusbar was given.
8371 if test "${enable_statusbar+set}" = set; then
8372 enableval
="$enable_statusbar"
8374 if test "$enableval" = yes; then
8375 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8377 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8382 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x
; then
8384 eval "DEFAULT_$LINE"
8389 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8393 eval "$ac_cv_use_statusbar"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8398 if test "$wxUSE_STATUSBAR" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8411 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8412 if test "${enable_tabdialog+set}" = set; then
8413 enableval
="$enable_tabdialog"
8415 if test "$enableval" = yes; then
8416 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8418 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8423 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x
; then
8425 eval "DEFAULT_$LINE"
8430 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8434 eval "$ac_cv_use_tabdialog"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_TABDIALOG" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8452 # Check whether --enable-textctrl or --disable-textctrl was given.
8453 if test "${enable_textctrl+set}" = set; then
8454 enableval
="$enable_textctrl"
8456 if test "$enableval" = yes; then
8457 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8459 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8464 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x
; then
8466 eval "DEFAULT_$LINE"
8471 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8475 eval "$ac_cv_use_textctrl"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8480 if test "$wxUSE_TEXTCTRL" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8493 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8494 if test "${enable_togglebtn+set}" = set; then
8495 enableval
="$enable_togglebtn"
8497 if test "$enableval" = yes; then
8498 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8500 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8505 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x
; then
8507 eval "DEFAULT_$LINE"
8512 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8516 eval "$ac_cv_use_togglebtn"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8521 if test "$wxUSE_TOGGLEBTN" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8534 # Check whether --enable-toolbar or --disable-toolbar was given.
8535 if test "${enable_toolbar+set}" = set; then
8536 enableval
="$enable_toolbar"
8538 if test "$enableval" = yes; then
8539 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8541 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8546 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x
; then
8548 eval "DEFAULT_$LINE"
8553 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8557 eval "$ac_cv_use_toolbar"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8562 if test "$wxUSE_TOOLBAR" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8575 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8576 if test "${enable_tbarnative+set}" = set; then
8577 enableval
="$enable_tbarnative"
8579 if test "$enableval" = yes; then
8580 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8582 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8587 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x
; then
8589 eval "DEFAULT_$LINE"
8594 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8598 eval "$ac_cv_use_tbarnative"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8603 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8616 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8617 if test "${enable_tbarsmpl+set}" = set; then
8618 enableval
="$enable_tbarsmpl"
8620 if test "$enableval" = yes; then
8621 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8623 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8628 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x
; then
8630 eval "DEFAULT_$LINE"
8635 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8639 eval "$ac_cv_use_tbarsmpl"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8644 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8657 # Check whether --enable-treectrl or --disable-treectrl was given.
8658 if test "${enable_treectrl+set}" = set; then
8659 enableval
="$enable_treectrl"
8661 if test "$enableval" = yes; then
8662 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8664 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8669 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x
; then
8671 eval "DEFAULT_$LINE"
8676 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8680 eval "$ac_cv_use_treectrl"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8685 if test "$wxUSE_TREECTRL" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8698 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8699 if test "${enable_tipwindow+set}" = set; then
8700 enableval
="$enable_tipwindow"
8702 if test "$enableval" = yes; then
8703 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8705 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8710 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x
; then
8712 eval "DEFAULT_$LINE"
8717 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8721 eval "$ac_cv_use_tipwindow"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8726 if test "$wxUSE_TIPWINDOW" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8739 # Check whether --enable-popupwin or --disable-popupwin was given.
8740 if test "${enable_popupwin+set}" = set; then
8741 enableval
="$enable_popupwin"
8743 if test "$enableval" = yes; then
8744 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8746 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8751 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x
; then
8753 eval "DEFAULT_$LINE"
8758 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8762 eval "$ac_cv_use_popupwin"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8767 if test "$wxUSE_POPUPWIN" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6
8771 echo "$as_me:$LINENO: result: no" >&5
8772 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8782 # Check whether --enable-commondlg or --disable-commondlg was given.
8783 if test "${enable_commondlg+set}" = set; then
8784 enableval
="$enable_commondlg"
8786 if test "$enableval" = yes; then
8787 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8789 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8794 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x
; then
8796 eval "DEFAULT_$LINE"
8801 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8805 eval "$ac_cv_use_commondlg"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8810 if test "$wxUSE_COMMONDLGS" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8823 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8824 if test "${enable_choicedlg+set}" = set; then
8825 enableval
="$enable_choicedlg"
8827 if test "$enableval" = yes; then
8828 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8830 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8835 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x
; then
8837 eval "DEFAULT_$LINE"
8842 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8846 eval "$ac_cv_use_choicedlg"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8851 if test "$wxUSE_CHOICEDLG" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8864 # Check whether --enable-coldlg or --disable-coldlg was given.
8865 if test "${enable_coldlg+set}" = set; then
8866 enableval
="$enable_coldlg"
8868 if test "$enableval" = yes; then
8869 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8871 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8876 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x
; then
8878 eval "DEFAULT_$LINE"
8883 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8887 eval "$ac_cv_use_coldlg"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8892 if test "$wxUSE_COLOURDLG" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8905 # Check whether --enable-filedlg or --disable-filedlg was given.
8906 if test "${enable_filedlg+set}" = set; then
8907 enableval
="$enable_filedlg"
8909 if test "$enableval" = yes; then
8910 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8912 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8917 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x
; then
8919 eval "DEFAULT_$LINE"
8924 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8928 eval "$ac_cv_use_filedlg"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8933 if test "$wxUSE_FILEDLG" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8946 # Check whether --enable-finddlg or --disable-finddlg was given.
8947 if test "${enable_finddlg+set}" = set; then
8948 enableval
="$enable_finddlg"
8950 if test "$enableval" = yes; then
8951 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8953 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8958 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x
; then
8960 eval "DEFAULT_$LINE"
8965 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8969 eval "$ac_cv_use_finddlg"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8974 if test "$wxUSE_FINDREPLDLG" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8987 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8988 if test "${enable_fontdlg+set}" = set; then
8989 enableval
="$enable_fontdlg"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8994 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8999 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x
; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9010 eval "$ac_cv_use_fontdlg"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_FONTDLG" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9028 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9029 if test "${enable_dirdlg+set}" = set; then
9030 enableval
="$enable_dirdlg"
9032 if test "$enableval" = yes; then
9033 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9035 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9040 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x
; then
9042 eval "DEFAULT_$LINE"
9047 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9051 eval "$ac_cv_use_dirdlg"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9056 if test "$wxUSE_DIRDLG" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9069 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9070 if test "${enable_msgdlg+set}" = set; then
9071 enableval
="$enable_msgdlg"
9073 if test "$enableval" = yes; then
9074 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9076 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9081 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x
; then
9083 eval "DEFAULT_$LINE"
9088 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9092 eval "$ac_cv_use_msgdlg"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9097 if test "$wxUSE_MSGDLG" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9110 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9111 if test "${enable_numberdlg+set}" = set; then
9112 enableval
="$enable_numberdlg"
9114 if test "$enableval" = yes; then
9115 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9117 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9122 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x
; then
9124 eval "DEFAULT_$LINE"
9129 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9133 eval "$ac_cv_use_numberdlg"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9138 if test "$wxUSE_NUMBERDLG" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9151 # Check whether --enable-splash or --disable-splash was given.
9152 if test "${enable_splash+set}" = set; then
9153 enableval
="$enable_splash"
9155 if test "$enableval" = yes; then
9156 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9158 ac_cv_use_splash
='wxUSE_SPLASH=no'
9163 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x
; then
9165 eval "DEFAULT_$LINE"
9170 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9174 eval "$ac_cv_use_splash"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9179 if test "$wxUSE_SPLASH" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9192 # Check whether --enable-textdlg or --disable-textdlg was given.
9193 if test "${enable_textdlg+set}" = set; then
9194 enableval
="$enable_textdlg"
9196 if test "$enableval" = yes; then
9197 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9199 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9204 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x
; then
9206 eval "DEFAULT_$LINE"
9211 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9215 eval "$ac_cv_use_textdlg"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9220 if test "$wxUSE_TEXTDLG" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9233 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9234 if test "${enable_tipdlg+set}" = set; then
9235 enableval
="$enable_tipdlg"
9237 if test "$enableval" = yes; then
9238 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9240 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9245 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x
; then
9247 eval "DEFAULT_$LINE"
9252 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9256 eval "$ac_cv_use_tipdlg"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9261 if test "$wxUSE_STARTUP_TIPS" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9274 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9275 if test "${enable_progressdlg+set}" = set; then
9276 enableval
="$enable_progressdlg"
9278 if test "$enableval" = yes; then
9279 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9281 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9286 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x
; then
9288 eval "DEFAULT_$LINE"
9293 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9297 eval "$ac_cv_use_progressdlg"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9302 if test "$wxUSE_PROGRESSDLG" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9315 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9316 if test "${enable_wizarddlg+set}" = set; then
9317 enableval
="$enable_wizarddlg"
9319 if test "$enableval" = yes; then
9320 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9322 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9327 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x
; then
9329 eval "DEFAULT_$LINE"
9334 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9338 eval "$ac_cv_use_wizarddlg"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9343 if test "$wxUSE_WIZARDDLG" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9358 # Check whether --enable-menus or --disable-menus was given.
9359 if test "${enable_menus+set}" = set; then
9360 enableval
="$enable_menus"
9362 if test "$enableval" = yes; then
9363 ac_cv_use_menus
='wxUSE_MENUS=yes'
9365 ac_cv_use_menus
='wxUSE_MENUS=no'
9370 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x
; then
9372 eval "DEFAULT_$LINE"
9377 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9381 eval "$ac_cv_use_menus"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9386 if test "$wxUSE_MENUS" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9390 echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9399 # Check whether --enable-miniframe or --disable-miniframe was given.
9400 if test "${enable_miniframe+set}" = set; then
9401 enableval
="$enable_miniframe"
9403 if test "$enableval" = yes; then
9404 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9406 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9411 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x
; then
9413 eval "DEFAULT_$LINE"
9418 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9422 eval "$ac_cv_use_miniframe"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9427 if test "$wxUSE_MINIFRAME" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9440 # Check whether --enable-tooltips or --disable-tooltips was given.
9441 if test "${enable_tooltips+set}" = set; then
9442 enableval
="$enable_tooltips"
9444 if test "$enableval" = yes; then
9445 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9447 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9452 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x
; then
9454 eval "DEFAULT_$LINE"
9459 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9463 eval "$ac_cv_use_tooltips"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_TOOLTIPS" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9481 # Check whether --enable-splines or --disable-splines was given.
9482 if test "${enable_splines+set}" = set; then
9483 enableval
="$enable_splines"
9485 if test "$enableval" = yes; then
9486 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9488 ac_cv_use_splines
='wxUSE_SPLINES=no'
9493 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x
; then
9495 eval "DEFAULT_$LINE"
9500 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9504 eval "$ac_cv_use_splines"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9509 if test "$wxUSE_SPLINES" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9522 # Check whether --enable-validators or --disable-validators was given.
9523 if test "${enable_validators+set}" = set; then
9524 enableval
="$enable_validators"
9526 if test "$enableval" = yes; then
9527 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9529 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9534 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x
; then
9536 eval "DEFAULT_$LINE"
9541 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9545 eval "$ac_cv_use_validators"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9550 if test "$wxUSE_VALIDATORS" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9563 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9564 if test "${enable_busyinfo+set}" = set; then
9565 enableval
="$enable_busyinfo"
9567 if test "$enableval" = yes; then
9568 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9570 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9575 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x
; then
9577 eval "DEFAULT_$LINE"
9582 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9586 eval "$ac_cv_use_busyinfo"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9591 if test "$wxUSE_BUSYINFO" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9604 # Check whether --enable-joystick or --disable-joystick was given.
9605 if test "${enable_joystick+set}" = set; then
9606 enableval
="$enable_joystick"
9608 if test "$enableval" = yes; then
9609 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9611 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9616 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x
; then
9618 eval "DEFAULT_$LINE"
9623 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9627 eval "$ac_cv_use_joystick"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9632 if test "$wxUSE_JOYSTICK" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9645 # Check whether --enable-metafile or --disable-metafile was given.
9646 if test "${enable_metafile+set}" = set; then
9647 enableval
="$enable_metafile"
9649 if test "$enableval" = yes; then
9650 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9652 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9657 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x
; then
9659 eval "DEFAULT_$LINE"
9664 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9668 eval "$ac_cv_use_metafile"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9673 if test "$wxUSE_METAFILE" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9686 # Check whether --enable-dragimage or --disable-dragimage was given.
9687 if test "${enable_dragimage+set}" = set; then
9688 enableval
="$enable_dragimage"
9690 if test "$enableval" = yes; then
9691 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9693 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9698 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x
; then
9700 eval "DEFAULT_$LINE"
9705 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9709 eval "$ac_cv_use_dragimage"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9714 if test "$wxUSE_DRAGIMAGE" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9727 # Check whether --enable-accessibility or --disable-accessibility was given.
9728 if test "${enable_accessibility+set}" = set; then
9729 enableval
="$enable_accessibility"
9731 if test "$enableval" = yes; then
9732 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9734 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9739 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x
; then
9741 eval "DEFAULT_$LINE"
9746 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9750 eval "$ac_cv_use_accessibility"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9755 if test "$wxUSE_ACCESSIBILITY" = yes; then
9756 echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9768 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9770 # Check whether --enable-palette or --disable-palette was given.
9771 if test "${enable_palette+set}" = set; then
9772 enableval
="$enable_palette"
9774 if test "$enableval" = yes; then
9775 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9777 ac_cv_use_palette
='wxUSE_PALETTE=no'
9782 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x
; then
9784 eval "DEFAULT_$LINE"
9789 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9793 eval "$ac_cv_use_palette"
9794 if test "$no_cache" != 1; then
9795 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9798 if test "$wxUSE_PALETTE" = yes; then
9799 echo "$as_me:$LINENO: result: yes" >&5
9800 echo "${ECHO_T}yes" >&6
9802 echo "$as_me:$LINENO: result: no" >&5
9803 echo "${ECHO_T}no" >&6
9808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9809 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9811 # Check whether --enable-image or --disable-image was given.
9812 if test "${enable_image+set}" = set; then
9813 enableval
="$enable_image"
9815 if test "$enableval" = yes; then
9816 ac_cv_use_image
='wxUSE_IMAGE=yes'
9818 ac_cv_use_image
='wxUSE_IMAGE=no'
9823 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x
; then
9825 eval "DEFAULT_$LINE"
9830 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9834 eval "$ac_cv_use_image"
9835 if test "$no_cache" != 1; then
9836 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9839 if test "$wxUSE_IMAGE" = yes; then
9840 echo "$as_me:$LINENO: result: yes" >&5
9841 echo "${ECHO_T}yes" >&6
9843 echo "$as_me:$LINENO: result: no" >&5
9844 echo "${ECHO_T}no" >&6
9849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9850 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9852 # Check whether --enable-gif or --disable-gif was given.
9853 if test "${enable_gif+set}" = set; then
9854 enableval
="$enable_gif"
9856 if test "$enableval" = yes; then
9857 ac_cv_use_gif
='wxUSE_GIF=yes'
9859 ac_cv_use_gif
='wxUSE_GIF=no'
9864 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x
; then
9866 eval "DEFAULT_$LINE"
9871 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9875 eval "$ac_cv_use_gif"
9876 if test "$no_cache" != 1; then
9877 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9880 if test "$wxUSE_GIF" = yes; then
9881 echo "$as_me:$LINENO: result: yes" >&5
9882 echo "${ECHO_T}yes" >&6
9884 echo "$as_me:$LINENO: result: no" >&5
9885 echo "${ECHO_T}no" >&6
9890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9893 # Check whether --enable-pcx or --disable-pcx was given.
9894 if test "${enable_pcx+set}" = set; then
9895 enableval
="$enable_pcx"
9897 if test "$enableval" = yes; then
9898 ac_cv_use_pcx
='wxUSE_PCX=yes'
9900 ac_cv_use_pcx
='wxUSE_PCX=no'
9905 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x
; then
9907 eval "DEFAULT_$LINE"
9912 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9916 eval "$ac_cv_use_pcx"
9917 if test "$no_cache" != 1; then
9918 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9921 if test "$wxUSE_PCX" = yes; then
9922 echo "$as_me:$LINENO: result: yes" >&5
9923 echo "${ECHO_T}yes" >&6
9925 echo "$as_me:$LINENO: result: no" >&5
9926 echo "${ECHO_T}no" >&6
9931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9934 # Check whether --enable-iff or --disable-iff was given.
9935 if test "${enable_iff+set}" = set; then
9936 enableval
="$enable_iff"
9938 if test "$enableval" = yes; then
9939 ac_cv_use_iff
='wxUSE_IFF=yes'
9941 ac_cv_use_iff
='wxUSE_IFF=no'
9946 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x
; then
9948 eval "DEFAULT_$LINE"
9953 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9957 eval "$ac_cv_use_iff"
9958 if test "$no_cache" != 1; then
9959 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9962 if test "$wxUSE_IFF" = yes; then
9963 echo "$as_me:$LINENO: result: yes" >&5
9964 echo "${ECHO_T}yes" >&6
9966 echo "$as_me:$LINENO: result: no" >&5
9967 echo "${ECHO_T}no" >&6
9972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9973 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9975 # Check whether --enable-pnm or --disable-pnm was given.
9976 if test "${enable_pnm+set}" = set; then
9977 enableval
="$enable_pnm"
9979 if test "$enableval" = yes; then
9980 ac_cv_use_pnm
='wxUSE_PNM=yes'
9982 ac_cv_use_pnm
='wxUSE_PNM=no'
9987 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x
; then
9989 eval "DEFAULT_$LINE"
9994 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9998 eval "$ac_cv_use_pnm"
9999 if test "$no_cache" != 1; then
10000 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10003 if test "$wxUSE_PNM" = yes; then
10004 echo "$as_me:$LINENO: result: yes" >&5
10005 echo "${ECHO_T}yes" >&6
10007 echo "$as_me:$LINENO: result: no" >&5
10008 echo "${ECHO_T}no" >&6
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10016 # Check whether --enable-xpm or --disable-xpm was given.
10017 if test "${enable_xpm+set}" = set; then
10018 enableval
="$enable_xpm"
10020 if test "$enableval" = yes; then
10021 ac_cv_use_xpm
='wxUSE_XPM=yes'
10023 ac_cv_use_xpm
='wxUSE_XPM=no'
10028 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x
; then
10030 eval "DEFAULT_$LINE"
10035 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10039 eval "$ac_cv_use_xpm"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10044 if test "$wxUSE_XPM" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10048 echo "$as_me:$LINENO: result: no" >&5
10049 echo "${ECHO_T}no" >&6
10054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10057 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10058 if test "${enable_ico_cur+set}" = set; then
10059 enableval
="$enable_ico_cur"
10061 if test "$enableval" = yes; then
10062 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10064 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10069 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x
; then
10071 eval "DEFAULT_$LINE"
10076 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10080 eval "$ac_cv_use_ico_cur"
10081 if test "$no_cache" != 1; then
10082 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10085 if test "$wxUSE_ICO_CUR" = yes; then
10086 echo "$as_me:$LINENO: result: yes" >&5
10087 echo "${ECHO_T}yes" >&6
10089 echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6
10098 # Check whether --with-flavour or --without-flavour was given.
10099 if test "${with_flavour+set}" = set; then
10100 withval
="$with_flavour"
10101 WX_FLAVOUR
="$withval"
10107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10110 # Check whether --enable-official_build or --disable-official_build was given.
10111 if test "${enable_official_build+set}" = set; then
10112 enableval
="$enable_official_build"
10114 if test "$enableval" = yes; then
10115 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10117 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10122 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10123 if test "x$LINE" != x
; then
10124 eval "DEFAULT_$LINE"
10129 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10133 eval "$ac_cv_use_official_build"
10134 if test "$no_cache" != 1; then
10135 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10138 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10139 echo "$as_me:$LINENO: result: yes" >&5
10140 echo "${ECHO_T}yes" >&6
10142 echo "$as_me:$LINENO: result: no" >&5
10143 echo "${ECHO_T}no" >&6
10146 # Check whether --enable-vendor or --disable-vendor was given.
10147 if test "${enable_vendor+set}" = set; then
10148 enableval
="$enable_vendor"
10149 VENDOR
="$enableval"
10151 if test "x$VENDOR" = "x"; then
10158 echo "saving argument cache $wx_arg_cache_file"
10159 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10163 echo "$as_me:$LINENO: checking for toolkit" >&5
10164 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10166 # In Wine, we need to default to MSW, not GTK or MOTIF
10167 if test "$wxUSE_WINE" = "yes"; then
10168 DEFAULT_DEFAULT_wxUSE_GTK
=0
10169 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10170 DEFAULT_DEFAULT_wxUSE_MSW
=1
10174 if test "$wxUSE_GUI" = "yes"; then
10176 if test "$USE_BEOS" = 1; then
10177 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10178 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10179 { (exit 1); exit 1; }; }
10182 if test "$TOOLKIT_GIVEN" = 1; then
10183 for toolkit
in `echo $ALL_TOOLKITS`; do
10185 eval "value=\$${var}"
10186 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10189 for toolkit
in `echo $ALL_TOOLKITS`; do
10190 if test "$has_toolkit_in_cache" != 1; then
10191 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10193 var
=DEFAULT_wxUSE_
$toolkit
10195 eval "wxUSE_$toolkit=\$${var}"
10199 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10200 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10201 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10204 *-pc-os2_emx | *-pc-os2-emx )
10205 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10208 case "$NUM_TOOLKITS" in
10212 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10213 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10214 { (exit 1); exit 1; }; }
10217 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10218 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10219 { (exit 1); exit 1; }; }
10222 for toolkit
in `echo $ALL_TOOLKITS`; do
10224 eval "value=\$${var}"
10225 if test "x$value" != x
; then
10226 cache_var
=CACHE_
$toolkit
10227 eval "cache=\$${cache_var}"
10228 if test "$cache" = 1; then
10229 echo "$var=$value" >> ${wx_arg_cache_file}
10231 if test "$value" = 1; then
10232 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10233 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10234 echo "${ECHO_T}$toolkit_echo" >&6
10239 if test "x$host_alias" != "x"; then
10240 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10241 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10243 echo "$as_me:$LINENO: result: base only" >&5
10244 echo "${ECHO_T}base only" >&6
10249 doesnt_want_win32
=0
10252 if test "$wxUSE_MSW" = 1 ; then
10255 doesnt_want_win32
=1
10263 if test "$wxUSE_WINE" = "yes"; then
10268 LDFLAGS_GUI
="-mwindows"
10271 if test "$wants_win32" = 1 ; then
10274 cat >>confdefs.h
<<\_ACEOF
10275 #define __WIN32__ 1
10278 cat >>confdefs.h
<<\_ACEOF
10279 #define __WIN95__ 1
10282 cat >>confdefs.h
<<\_ACEOF
10283 #define __WINDOWS__ 1
10286 cat >>confdefs.h
<<\_ACEOF
10287 #define __GNUWIN32__ 1
10290 cat >>confdefs.h
<<\_ACEOF
10294 cat >>confdefs.h
<<\_ACEOF
10295 #define WINVER 0x0400
10299 if test "$doesnt_want_win32" = 1 ; then
10304 if test "$USE_UNIX" = 1 ; then
10306 cat >>confdefs.h
<<\_ACEOF
10313 cat >confcache
<<\_ACEOF
10314 # This file is a shell script that caches the results of configure
10315 # tests run on this system so they can be shared between configure
10316 # scripts and configure runs, see configure's option --config-cache.
10317 # It is not useful on other systems. If it contains results you don't
10318 # want to keep, you may remove or edit it.
10320 # config.status only pays attention to the cache file if you give it
10321 # the --recheck option to rerun configure.
10323 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10324 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10325 # following values.
10329 # The following way of writing the cache mishandles newlines in values,
10330 # but we know of no workaround that is simple, portable, and efficient.
10331 # So, don't put newlines in cache variables' values.
10332 # Ultrix sh set writes to stderr and can't be redirected directly,
10333 # and sets the high bit in the cache file unless we assign to the vars.
10336 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10338 # `set' does not quote correctly, so add quotes (double-quote
10339 # substitution turns \\\\ into \\, and sed turns \\ into \).
10342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10345 # `set' quotes correctly as required by POSIX, so do not add quotes.
10347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10356 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10358 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10359 if test -w $cache_file; then
10360 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10361 cat confcache
>$cache_file
10363 echo "not updating unwritable cache $cache_file"
10368 if test "$build" != "$host" ; then
10369 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10371 CXX
=$host_alias-c++
10373 RANLIB
=$host_alias-ranlib
10374 DLLTOOL
=$host_alias-dlltool
10375 RESCOMP
=$host_alias-windres
10376 STRIP
=$host_alias-strip
10378 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10379 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10380 { (exit 1); exit 1; }; }
10386 ac_cpp
='$CPP $CPPFLAGS'
10387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10390 if test -n "$ac_tool_prefix"; then
10391 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10392 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10393 echo "$as_me:$LINENO: checking for $ac_word" >&5
10394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10395 if test "${ac_cv_prog_CC+set}" = set; then
10396 echo $ECHO_N "(cached) $ECHO_C" >&6
10398 if test -n "$CC"; then
10399 ac_cv_prog_CC
="$CC" # Let the user override the test.
10401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10402 for as_dir
in $PATH
10405 test -z "$as_dir" && as_dir
=.
10406 for ac_exec_ext
in '' $ac_executable_extensions; do
10407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10408 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10418 if test -n "$CC"; then
10419 echo "$as_me:$LINENO: result: $CC" >&5
10420 echo "${ECHO_T}$CC" >&6
10422 echo "$as_me:$LINENO: result: no" >&5
10423 echo "${ECHO_T}no" >&6
10427 if test -z "$ac_cv_prog_CC"; then
10429 # Extract the first word of "gcc", so it can be a program name with args.
10430 set dummy gcc
; ac_word
=$2
10431 echo "$as_me:$LINENO: checking for $ac_word" >&5
10432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 if test -n "$ac_ct_CC"; then
10437 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10440 for as_dir
in $PATH
10443 test -z "$as_dir" && as_dir
=.
10444 for ac_exec_ext
in '' $ac_executable_extensions; do
10445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_ac_ct_CC
="gcc"
10447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10455 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10456 if test -n "$ac_ct_CC"; then
10457 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10458 echo "${ECHO_T}$ac_ct_CC" >&6
10460 echo "$as_me:$LINENO: result: no" >&5
10461 echo "${ECHO_T}no" >&6
10466 CC
="$ac_cv_prog_CC"
10469 if test -z "$CC"; then
10470 if test -n "$ac_tool_prefix"; then
10471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10472 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10473 echo "$as_me:$LINENO: checking for $ac_word" >&5
10474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10475 if test "${ac_cv_prog_CC+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10478 if test -n "$CC"; then
10479 ac_cv_prog_CC
="$CC" # Let the user override the test.
10481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10482 for as_dir
in $PATH
10485 test -z "$as_dir" && as_dir
=.
10486 for ac_exec_ext
in '' $ac_executable_extensions; do
10487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10488 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 if test -n "$CC"; then
10499 echo "$as_me:$LINENO: result: $CC" >&5
10500 echo "${ECHO_T}$CC" >&6
10502 echo "$as_me:$LINENO: result: no" >&5
10503 echo "${ECHO_T}no" >&6
10507 if test -z "$ac_cv_prog_CC"; then
10509 # Extract the first word of "cc", so it can be a program name with args.
10510 set dummy cc
; ac_word
=$2
10511 echo "$as_me:$LINENO: checking for $ac_word" >&5
10512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10516 if test -n "$ac_ct_CC"; then
10517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10520 for as_dir
in $PATH
10523 test -z "$as_dir" && as_dir
=.
10524 for ac_exec_ext
in '' $ac_executable_extensions; do
10525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10526 ac_cv_prog_ac_ct_CC
="cc"
10527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10535 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10536 if test -n "$ac_ct_CC"; then
10537 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10538 echo "${ECHO_T}$ac_ct_CC" >&6
10540 echo "$as_me:$LINENO: result: no" >&5
10541 echo "${ECHO_T}no" >&6
10546 CC
="$ac_cv_prog_CC"
10550 if test -z "$CC"; then
10551 # Extract the first word of "cc", so it can be a program name with args.
10552 set dummy cc
; ac_word
=$2
10553 echo "$as_me:$LINENO: checking for $ac_word" >&5
10554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10555 if test "${ac_cv_prog_CC+set}" = set; then
10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10558 if test -n "$CC"; then
10559 ac_cv_prog_CC
="$CC" # Let the user override the test.
10561 ac_prog_rejected
=no
10562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10563 for as_dir
in $PATH
10566 test -z "$as_dir" && as_dir
=.
10567 for ac_exec_ext
in '' $ac_executable_extensions; do
10568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10569 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10570 ac_prog_rejected
=yes
10574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10580 if test $ac_prog_rejected = yes; then
10581 # We found a bogon in the path, so make sure we never use it.
10582 set dummy
$ac_cv_prog_CC
10584 if test $# != 0; then
10585 # We chose a different compiler from the bogus one.
10586 # However, it has the same basename, so the bogon will be chosen
10587 # first if we set CC to just the basename; use the full file name.
10589 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10595 if test -n "$CC"; then
10596 echo "$as_me:$LINENO: result: $CC" >&5
10597 echo "${ECHO_T}$CC" >&6
10599 echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6
10604 if test -z "$CC"; then
10605 if test -n "$ac_tool_prefix"; then
10608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10609 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10610 echo "$as_me:$LINENO: checking for $ac_word" >&5
10611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10612 if test "${ac_cv_prog_CC+set}" = set; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 if test -n "$CC"; then
10616 ac_cv_prog_CC
="$CC" # Let the user override the test.
10618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10619 for as_dir
in $PATH
10622 test -z "$as_dir" && as_dir
=.
10623 for ac_exec_ext
in '' $ac_executable_extensions; do
10624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10625 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10635 if test -n "$CC"; then
10636 echo "$as_me:$LINENO: result: $CC" >&5
10637 echo "${ECHO_T}$CC" >&6
10639 echo "$as_me:$LINENO: result: no" >&5
10640 echo "${ECHO_T}no" >&6
10643 test -n "$CC" && break
10646 if test -z "$CC"; then
10650 # Extract the first word of "$ac_prog", so it can be a program name with args.
10651 set dummy
$ac_prog; ac_word
=$2
10652 echo "$as_me:$LINENO: checking for $ac_word" >&5
10653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 if test -n "$ac_ct_CC"; then
10658 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10661 for as_dir
in $PATH
10664 test -z "$as_dir" && as_dir
=.
10665 for ac_exec_ext
in '' $ac_executable_extensions; do
10666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10667 ac_cv_prog_ac_ct_CC
="$ac_prog"
10668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10677 if test -n "$ac_ct_CC"; then
10678 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10679 echo "${ECHO_T}$ac_ct_CC" >&6
10681 echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6
10685 test -n "$ac_ct_CC" && break
10694 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10695 See \`config.log' for more details." >&5
10696 echo "$as_me: error: no acceptable C compiler found in \$PATH
10697 See \`config.log' for more details." >&2;}
10698 { (exit 1); exit 1; }; }
10700 # Provide some information about the compiler.
10701 echo "$as_me:$LINENO:" \
10702 "checking for C compiler version" >&5
10703 ac_compiler
=`set X $ac_compile; echo $2`
10704 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10705 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }
10709 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10710 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }
10714 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10715 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }
10720 cat >conftest.
$ac_ext <<_ACEOF
10723 cat confdefs.h
>>conftest.
$ac_ext
10724 cat >>conftest.
$ac_ext <<_ACEOF
10725 /* end confdefs.h. */
10735 ac_clean_files_save
=$ac_clean_files
10736 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10737 # Try to create an executable without -o first, disregard a.out.
10738 # It will help us diagnose broken compilers, and finding out an intuition
10740 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10741 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10742 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10743 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10744 (eval $ac_link_default) 2>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; then
10748 # Find the output, starting from the most likely. This scheme is
10749 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10752 # Be careful to initialize this variable, since it used to be cached.
10753 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10755 # b.out is created by i960 compilers.
10756 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10758 test -f "$ac_file" || continue
10760 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10763 # This is the source file.
10766 # We found the default executable, but exeext='' is most
10770 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10771 # FIXME: I believe we export ac_cv_exeext for Libtool,
10772 # but it would be cool to find out if it's true. Does anybody
10773 # maintain Libtool? --akim.
10774 export ac_cv_exeext
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.
$ac_ext >&5
10784 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10785 See \`config.log' for more details." >&5
10786 echo "$as_me: error: C compiler cannot create executables
10787 See \`config.log' for more details." >&2;}
10788 { (exit 77); exit 77; }; }
10791 ac_exeext
=$ac_cv_exeext
10792 echo "$as_me:$LINENO: result: $ac_file" >&5
10793 echo "${ECHO_T}$ac_file" >&6
10795 # Check the compiler produces executables we can run. If not, either
10796 # the compiler is broken, or we cross compile.
10797 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10798 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10799 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10800 # If not cross compiling, check that we can run a simple program.
10801 if test "$cross_compiling" != yes; then
10802 if { ac_try
='./$ac_file'
10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10804 (eval $ac_try) 2>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; }; then
10810 if test "$cross_compiling" = maybe
; then
10811 cross_compiling
=yes
10813 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10814 If you meant to cross compile, use \`--host'.
10815 See \`config.log' for more details." >&5
10816 echo "$as_me: error: cannot run C compiled programs.
10817 If you meant to cross compile, use \`--host'.
10818 See \`config.log' for more details." >&2;}
10819 { (exit 1); exit 1; }; }
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10826 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10827 ac_clean_files
=$ac_clean_files_save
10828 # Check the compiler produces executables we can run. If not, either
10829 # the compiler is broken, or we cross compile.
10830 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10831 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10832 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10833 echo "${ECHO_T}$cross_compiling" >&6
10835 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10836 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10838 (eval $ac_link) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; then
10842 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10843 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10844 # work properly (i.e., refer to `conftest.exe'), while it won't with
10846 for ac_file
in conftest.exe conftest conftest.
*; do
10847 test -f "$ac_file" || continue
10849 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10850 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10851 export ac_cv_exeext
10857 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10858 See \`config.log' for more details." >&5
10859 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10860 See \`config.log' for more details." >&2;}
10861 { (exit 1); exit 1; }; }
10864 rm -f conftest
$ac_cv_exeext
10865 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10866 echo "${ECHO_T}$ac_cv_exeext" >&6
10868 rm -f conftest.
$ac_ext
10869 EXEEXT
=$ac_cv_exeext
10871 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10872 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10873 if test "${ac_cv_objext+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 cat >conftest.
$ac_ext <<_ACEOF
10879 cat confdefs.h
>>conftest.
$ac_ext
10880 cat >>conftest.
$ac_ext <<_ACEOF
10881 /* end confdefs.h. */
10891 rm -f conftest.o conftest.obj
10892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10893 (eval $ac_compile) 2>&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; then
10897 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10899 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10900 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10905 echo "$as_me: failed program was:" >&5
10906 sed 's/^/| /' conftest.
$ac_ext >&5
10908 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10909 See \`config.log' for more details." >&5
10910 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10911 See \`config.log' for more details." >&2;}
10912 { (exit 1); exit 1; }; }
10915 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10917 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10918 echo "${ECHO_T}$ac_cv_objext" >&6
10919 OBJEXT
=$ac_cv_objext
10921 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10922 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10923 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 cat >conftest.
$ac_ext <<_ACEOF
10929 cat confdefs.h
>>conftest.
$ac_ext
10930 cat >>conftest.
$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10944 rm -f conftest.
$ac_objext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10946 (eval $ac_compile) 2>conftest.er1
10948 grep -v '^ *+' conftest.er1
>conftest.err
10950 cat conftest.err
>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } &&
10953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; } &&
10959 { ac_try
='test -s conftest.$ac_objext'
10960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; }; then
10965 ac_compiler_gnu
=yes
10967 echo "$as_me: failed program was:" >&5
10968 sed 's/^/| /' conftest.
$ac_ext >&5
10972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10973 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10976 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10977 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10978 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10979 ac_test_CFLAGS
=${CFLAGS+set}
10980 ac_save_CFLAGS
=$CFLAGS
10982 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10983 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10984 if test "${ac_cv_prog_cc_g+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 cat >conftest.
$ac_ext <<_ACEOF
10990 cat confdefs.h
>>conftest.
$ac_ext
10991 cat >>conftest.
$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
11002 rm -f conftest.
$ac_objext
11003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11004 (eval $ac_compile) 2>conftest.er1
11006 grep -v '^ *+' conftest.er1
>conftest.err
11008 cat conftest.err
>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } &&
11011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try
='test -s conftest.$ac_objext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_prog_cc_g
=yes
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11032 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11033 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11034 if test "$ac_test_CFLAGS" = set; then
11035 CFLAGS
=$ac_save_CFLAGS
11036 elif test $ac_cv_prog_cc_g = yes; then
11037 if test "$GCC" = yes; then
11043 if test "$GCC" = yes; then
11049 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11050 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11051 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11052 echo $ECHO_N "(cached) $ECHO_C" >&6
11054 ac_cv_prog_cc_stdc
=no
11056 cat >conftest.
$ac_ext <<_ACEOF
11059 cat confdefs.h
>>conftest.
$ac_ext
11060 cat >>conftest.
$ac_ext <<_ACEOF
11061 /* end confdefs.h. */
11062 #include <stdarg.h>
11064 #include <sys/types.h>
11065 #include <sys/stat.h>
11066 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11067 struct buf { int x; };
11068 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11069 static char *e (p, i)
11075 static char *f (char * (*g) (char **, int), char **p, ...)
11080 s = g (p, va_arg (v,int));
11085 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11086 function prototypes and stuff, but not '\xHH' hex character constants.
11087 These don't provoke an error unfortunately, instead are silently treated
11088 as 'x'. The following induces an error, until -std1 is added to get
11089 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11090 array size at least. It's necessary to write '\x00'==0 to get something
11091 that's true only with -std1. */
11092 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11094 int test (int i, double x);
11095 struct s1 {int (*f) (int a);};
11096 struct s2 {int (*f) (double a);};
11097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11108 # Don't try gcc -ansi; that turns off useful extensions and
11109 # breaks some systems' header files.
11110 # AIX -qlanglvl=ansi
11111 # Ultrix and OSF/1 -std1
11112 # HP-UX 10.20 and later -Ae
11113 # HP-UX older versions -Aa -D_HPUX_SOURCE
11114 # SVR4 -Xc -D__EXTENSIONS__
11115 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11117 CC
="$ac_save_CC $ac_arg"
11118 rm -f conftest.
$ac_objext
11119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11120 (eval $ac_compile) 2>conftest.er1
11122 grep -v '^ *+' conftest.er1
>conftest.err
11124 cat conftest.err
>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try
='test -s conftest.$ac_objext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 ac_cv_prog_cc_stdc
=$ac_arg
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.
$ac_ext >&5
11146 rm -f conftest.err conftest.
$ac_objext
11148 rm -f conftest.
$ac_ext conftest.
$ac_objext
11153 case "x$ac_cv_prog_cc_stdc" in
11155 echo "$as_me:$LINENO: result: none needed" >&5
11156 echo "${ECHO_T}none needed" >&6 ;;
11158 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11159 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11160 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11163 # Some people use a C++ compiler to compile C. Since we use `exit',
11164 # in C++ we need to declare it. In case someone uses the same compiler
11165 # for both compiling C and C++ we need to have the C++ compiler decide
11166 # the declaration of exit, since it's the most demanding environment.
11167 cat >conftest.
$ac_ext <<_ACEOF
11168 #ifndef __cplusplus
11172 rm -f conftest.
$ac_objext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11174 (eval $ac_compile) 2>conftest.er1
11176 grep -v '^ *+' conftest.er1
>conftest.err
11178 cat conftest.err
>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try
='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 for ac_declaration
in \
11195 'extern "C" void std::exit (int) throw (); using std::exit;' \
11196 'extern "C" void std::exit (int); using std::exit;' \
11197 'extern "C" void exit (int) throw ();' \
11198 'extern "C" void exit (int);' \
11201 cat >conftest.
$ac_ext <<_ACEOF
11204 cat confdefs.h
>>conftest.
$ac_ext
11205 cat >>conftest.
$ac_ext <<_ACEOF
11206 /* end confdefs.h. */
11208 #include <stdlib.h>
11217 rm -f conftest.
$ac_objext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219 (eval $ac_compile) 2>conftest.er1
11221 grep -v '^ *+' conftest.er1
>conftest.err
11223 cat conftest.err
>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } &&
11226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; } &&
11232 { ac_try
='test -s conftest.$ac_objext'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; }; then
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.
$ac_ext >&5
11245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11246 cat >conftest.
$ac_ext <<_ACEOF
11249 cat confdefs.h
>>conftest.
$ac_ext
11250 cat >>conftest.
$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11261 rm -f conftest.
$ac_objext
11262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263 (eval $ac_compile) 2>conftest.er1
11265 grep -v '^ *+' conftest.er1
>conftest.err
11267 cat conftest.err
>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } &&
11270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; } &&
11276 { ac_try
='test -s conftest.$ac_objext'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.
$ac_ext >&5
11288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11291 if test -n "$ac_declaration"; then
11292 echo '#ifdef __cplusplus' >>confdefs.h
11293 echo $ac_declaration >>confdefs.h
11294 echo '#endif' >>confdefs.h
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.
$ac_ext >&5
11302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11304 ac_cpp
='$CPP $CPPFLAGS'
11305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11312 ac_cpp
='$CPP $CPPFLAGS'
11313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11316 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11317 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11318 # On Suns, sometimes $CPP names a directory.
11319 if test -n "$CPP" && test -d "$CPP"; then
11322 if test -z "$CPP"; then
11323 if test "${ac_cv_prog_CPP+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11326 # Double quotes because CPP needs to be expanded
11327 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11329 ac_preproc_ok
=false
11330 for ac_c_preproc_warn_flag
in '' yes
11332 # Use a header file that comes with gcc, so configuring glibc
11333 # with a fresh cross-compiler works.
11334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11335 # <limits.h> exists even on freestanding compilers.
11336 # On the NeXT, cc -E runs the code through the compiler's parser,
11337 # not just through cpp. "Syntax error" is here to catch this case.
11338 cat >conftest.
$ac_ext <<_ACEOF
11341 cat confdefs.h
>>conftest.
$ac_ext
11342 cat >>conftest.
$ac_ext <<_ACEOF
11343 /* end confdefs.h. */
11345 # include <limits.h>
11347 # include <assert.h>
11351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11354 grep -v '^ *+' conftest.er1
>conftest.err
11356 cat conftest.err
>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); } >/dev
/null
; then
11359 if test -s conftest.err
; then
11360 ac_cpp_err
=$ac_c_preproc_warn_flag
11361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11368 if test -z "$ac_cpp_err"; then
11371 echo "$as_me: failed program was:" >&5
11372 sed 's/^/| /' conftest.
$ac_ext >&5
11374 # Broken: fails on valid input.
11377 rm -f conftest.err conftest.
$ac_ext
11379 # OK, works on sane cases. Now check whether non-existent headers
11380 # can be detected and how.
11381 cat >conftest.
$ac_ext <<_ACEOF
11384 cat confdefs.h
>>conftest.
$ac_ext
11385 cat >>conftest.
$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11387 #include <ac_nonexistent.h>
11389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11392 grep -v '^ *+' conftest.er1
>conftest.err
11394 cat conftest.err
>&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } >/dev
/null
; then
11397 if test -s conftest.err
; then
11398 ac_cpp_err
=$ac_c_preproc_warn_flag
11399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11406 if test -z "$ac_cpp_err"; then
11407 # Broken: success on invalid input.
11410 echo "$as_me: failed program was:" >&5
11411 sed 's/^/| /' conftest.
$ac_ext >&5
11413 # Passes both tests.
11417 rm -f conftest.err conftest.
$ac_ext
11420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11421 rm -f conftest.err conftest.
$ac_ext
11422 if $ac_preproc_ok; then
11427 ac_cv_prog_CPP
=$CPP
11430 CPP
=$ac_cv_prog_CPP
11432 ac_cv_prog_CPP
=$CPP
11434 echo "$as_me:$LINENO: result: $CPP" >&5
11435 echo "${ECHO_T}$CPP" >&6
11436 ac_preproc_ok
=false
11437 for ac_c_preproc_warn_flag
in '' yes
11439 # Use a header file that comes with gcc, so configuring glibc
11440 # with a fresh cross-compiler works.
11441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11442 # <limits.h> exists even on freestanding compilers.
11443 # On the NeXT, cc -E runs the code through the compiler's parser,
11444 # not just through cpp. "Syntax error" is here to catch this case.
11445 cat >conftest.
$ac_ext <<_ACEOF
11448 cat confdefs.h
>>conftest.
$ac_ext
11449 cat >>conftest.
$ac_ext <<_ACEOF
11450 /* end confdefs.h. */
11452 # include <limits.h>
11454 # include <assert.h>
11458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11461 grep -v '^ *+' conftest.er1
>conftest.err
11463 cat conftest.err
>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } >/dev
/null
; then
11466 if test -s conftest.err
; then
11467 ac_cpp_err
=$ac_c_preproc_warn_flag
11468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11475 if test -z "$ac_cpp_err"; then
11478 echo "$as_me: failed program was:" >&5
11479 sed 's/^/| /' conftest.
$ac_ext >&5
11481 # Broken: fails on valid input.
11484 rm -f conftest.err conftest.
$ac_ext
11486 # OK, works on sane cases. Now check whether non-existent headers
11487 # can be detected and how.
11488 cat >conftest.
$ac_ext <<_ACEOF
11491 cat confdefs.h
>>conftest.
$ac_ext
11492 cat >>conftest.
$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 #include <ac_nonexistent.h>
11496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11499 grep -v '^ *+' conftest.er1
>conftest.err
11501 cat conftest.err
>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } >/dev
/null
; then
11504 if test -s conftest.err
; then
11505 ac_cpp_err
=$ac_c_preproc_warn_flag
11506 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11513 if test -z "$ac_cpp_err"; then
11514 # Broken: success on invalid input.
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.
$ac_ext >&5
11520 # Passes both tests.
11524 rm -f conftest.err conftest.
$ac_ext
11527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11528 rm -f conftest.err conftest.
$ac_ext
11529 if $ac_preproc_ok; then
11532 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11533 See \`config.log' for more details." >&5
11534 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11535 See \`config.log' for more details." >&2;}
11536 { (exit 1); exit 1; }; }
11540 ac_cpp
='$CPP $CPPFLAGS'
11541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11546 echo "$as_me:$LINENO: checking for egrep" >&5
11547 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11548 if test "${ac_cv_prog_egrep+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11552 then ac_cv_prog_egrep
='grep -E'
11553 else ac_cv_prog_egrep
='egrep'
11556 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11557 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11558 EGREP
=$ac_cv_prog_egrep
11561 if test $ac_cv_c_compiler_gnu = yes; then
11562 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11563 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11564 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
11567 ac_pattern
="Autoconf.*'x'"
11568 cat >conftest.
$ac_ext <<_ACEOF
11571 cat confdefs.h
>>conftest.
$ac_ext
11572 cat >>conftest.
$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11578 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11579 ac_cv_prog_gcc_traditional
=yes
11581 ac_cv_prog_gcc_traditional
=no
11586 if test $ac_cv_prog_gcc_traditional = no
; then
11587 cat >conftest.
$ac_ext <<_ACEOF
11590 cat confdefs.h
>>conftest.
$ac_ext
11591 cat >>conftest.
$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11593 #include <termio.h>
11596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11597 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11598 ac_cv_prog_gcc_traditional
=yes
11604 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11605 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11606 if test $ac_cv_prog_gcc_traditional = yes; then
11607 CC
="$CC -traditional"
11615 ac_cpp
='$CXXCPP $CPPFLAGS'
11616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11621 CXXFLAGS
=${CXXFLAGS:=}
11623 ac_cpp
='$CXXCPP $CPPFLAGS'
11624 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11625 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11626 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11627 if test -n "$ac_tool_prefix"; then
11628 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11631 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11632 echo "$as_me:$LINENO: checking for $ac_word" >&5
11633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11634 if test "${ac_cv_prog_CXX+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11637 if test -n "$CXX"; then
11638 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11641 for as_dir
in $PATH
11644 test -z "$as_dir" && as_dir
=.
11645 for ac_exec_ext
in '' $ac_executable_extensions; do
11646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11647 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11656 CXX
=$ac_cv_prog_CXX
11657 if test -n "$CXX"; then
11658 echo "$as_me:$LINENO: result: $CXX" >&5
11659 echo "${ECHO_T}$CXX" >&6
11661 echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6
11665 test -n "$CXX" && break
11668 if test -z "$CXX"; then
11670 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11672 # Extract the first word of "$ac_prog", so it can be a program name with args.
11673 set dummy
$ac_prog; ac_word
=$2
11674 echo "$as_me:$LINENO: checking for $ac_word" >&5
11675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11676 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 if test -n "$ac_ct_CXX"; then
11680 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11683 for as_dir
in $PATH
11686 test -z "$as_dir" && as_dir
=.
11687 for ac_exec_ext
in '' $ac_executable_extensions; do
11688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11689 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11698 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11699 if test -n "$ac_ct_CXX"; then
11700 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11701 echo "${ECHO_T}$ac_ct_CXX" >&6
11703 echo "$as_me:$LINENO: result: no" >&5
11704 echo "${ECHO_T}no" >&6
11707 test -n "$ac_ct_CXX" && break
11709 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11715 # Provide some information about the compiler.
11716 echo "$as_me:$LINENO:" \
11717 "checking for C++ compiler version" >&5
11718 ac_compiler
=`set X $ac_compile; echo $2`
11719 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11720 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }
11724 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11725 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }
11729 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11730 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }
11735 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11736 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11737 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11738 echo $ECHO_N "(cached) $ECHO_C" >&6
11740 cat >conftest.
$ac_ext <<_ACEOF
11743 cat confdefs.h
>>conftest.
$ac_ext
11744 cat >>conftest.
$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11758 rm -f conftest.
$ac_objext
11759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11760 (eval $ac_compile) 2>conftest.er1
11762 grep -v '^ *+' conftest.er1
>conftest.err
11764 cat conftest.err
>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11769 (eval $ac_try) 2>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }; } &&
11773 { ac_try
='test -s conftest.$ac_objext'
11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; }; then
11779 ac_compiler_gnu
=yes
11781 echo "$as_me: failed program was:" >&5
11782 sed 's/^/| /' conftest.
$ac_ext >&5
11786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11787 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11790 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11791 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11792 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11793 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11794 ac_save_CXXFLAGS
=$CXXFLAGS
11796 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11797 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11798 if test "${ac_cv_prog_cxx_g+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 cat >conftest.
$ac_ext <<_ACEOF
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11816 rm -f conftest.
$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11820 grep -v '^ *+' conftest.er1
>conftest.err
11822 cat conftest.err
>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; } &&
11831 { ac_try
='test -s conftest.$ac_objext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 ac_cv_prog_cxx_g
=yes
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.
$ac_ext >&5
11842 ac_cv_prog_cxx_g
=no
11844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11846 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11847 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11848 if test "$ac_test_CXXFLAGS" = set; then
11849 CXXFLAGS
=$ac_save_CXXFLAGS
11850 elif test $ac_cv_prog_cxx_g = yes; then
11851 if test "$GXX" = yes; then
11857 if test "$GXX" = yes; then
11863 for ac_declaration
in \
11865 'extern "C" void std::exit (int) throw (); using std::exit;' \
11866 'extern "C" void std::exit (int); using std::exit;' \
11867 'extern "C" void exit (int) throw ();' \
11868 'extern "C" void exit (int);' \
11871 cat >conftest.
$ac_ext <<_ACEOF
11874 cat confdefs.h
>>conftest.
$ac_ext
11875 cat >>conftest.
$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11878 #include <stdlib.h>
11887 rm -f conftest.
$ac_objext
11888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11889 (eval $ac_compile) 2>conftest.er1
11891 grep -v '^ *+' conftest.er1
>conftest.err
11893 cat conftest.err
>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } &&
11896 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; } &&
11902 { ac_try
='test -s conftest.$ac_objext'
11903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11904 (eval $ac_try) 2>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; }; then
11910 echo "$as_me: failed program was:" >&5
11911 sed 's/^/| /' conftest.
$ac_ext >&5
11915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11916 cat >conftest.
$ac_ext <<_ACEOF
11919 cat confdefs.h
>>conftest.
$ac_ext
11920 cat >>conftest.
$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11931 rm -f conftest.
$ac_objext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11933 (eval $ac_compile) 2>conftest.er1
11935 grep -v '^ *+' conftest.er1
>conftest.err
11937 cat conftest.err
>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try
='test -s conftest.$ac_objext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.
$ac_ext >&5
11958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11961 if test -n "$ac_declaration"; then
11962 echo '#ifdef __cplusplus' >>confdefs.h
11963 echo $ac_declaration >>confdefs.h
11964 echo '#endif' >>confdefs.h
11968 ac_cpp
='$CXXCPP $CPPFLAGS'
11969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11975 ac_cpp
='$CPP $CPPFLAGS'
11976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11981 if test -n "$ac_tool_prefix"; then
11982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11983 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11984 echo "$as_me:$LINENO: checking for $ac_word" >&5
11985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11986 if test "${ac_cv_prog_RANLIB+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 if test -n "$RANLIB"; then
11990 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11993 for as_dir
in $PATH
11996 test -z "$as_dir" && as_dir
=.
11997 for ac_exec_ext
in '' $ac_executable_extensions; do
11998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11999 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 RANLIB
=$ac_cv_prog_RANLIB
12009 if test -n "$RANLIB"; then
12010 echo "$as_me:$LINENO: result: $RANLIB" >&5
12011 echo "${ECHO_T}$RANLIB" >&6
12013 echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6
12018 if test -z "$ac_cv_prog_RANLIB"; then
12019 ac_ct_RANLIB
=$RANLIB
12020 # Extract the first word of "ranlib", so it can be a program name with args.
12021 set dummy ranlib
; ac_word
=$2
12022 echo "$as_me:$LINENO: checking for $ac_word" >&5
12023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12027 if test -n "$ac_ct_RANLIB"; then
12028 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12031 for as_dir
in $PATH
12034 test -z "$as_dir" && as_dir
=.
12035 for ac_exec_ext
in '' $ac_executable_extensions; do
12036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12037 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12044 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12047 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12048 if test -n "$ac_ct_RANLIB"; then
12049 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12052 echo "$as_me:$LINENO: result: no" >&5
12053 echo "${ECHO_T}no" >&6
12056 RANLIB
=$ac_ct_RANLIB
12058 RANLIB
="$ac_cv_prog_RANLIB"
12062 # Extract the first word of "ar", so it can be a program name with args.
12063 set dummy
ar; ac_word
=$2
12064 echo "$as_me:$LINENO: checking for $ac_word" >&5
12065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12066 if test "${ac_cv_prog_AR+set}" = set; then
12067 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 if test -n "$AR"; then
12070 ac_cv_prog_AR
="$AR" # Let the user override the test.
12072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12073 for as_dir
in $PATH
12076 test -z "$as_dir" && as_dir
=.
12077 for ac_exec_ext
in '' $ac_executable_extensions; do
12078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12089 if test -n "$AR"; then
12090 echo "$as_me:$LINENO: result: $AR" >&5
12091 echo "${ECHO_T}$AR" >&6
12093 echo "$as_me:$LINENO: result: no" >&5
12094 echo "${ECHO_T}no" >&6
12097 if test "x$AR" = "x" ; then
12098 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12099 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12100 { (exit 1); exit 1; }; }
12103 # Find a good install program. We prefer a C program (faster),
12104 # so one script is as good as another. But avoid the broken or
12105 # incompatible versions:
12106 # SysV /etc/install, /usr/sbin/install
12107 # SunOS /usr/etc/install
12108 # IRIX /sbin/install
12110 # AmigaOS /C/install, which installs bootblocks on floppy discs
12111 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12112 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12113 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12114 # OS/2's system install, which has a completely different semantic
12115 # ./install, which can be erroneously created by make from ./install.sh.
12116 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12117 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12118 if test -z "$INSTALL"; then
12119 if test "${ac_cv_path_install+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12123 for as_dir
in $PATH
12126 test -z "$as_dir" && as_dir
=.
12127 # Account for people who put trailing slashes in PATH elements.
12129 .
/ | .
// | /cC
/* | \
12130 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12131 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12134 # OSF1 and SCO ODT 3.0 have their own names for install.
12135 # Don't use installbsd from OSF since it installs stuff as root
12137 for ac_prog
in ginstall scoinst
install; do
12138 for ac_exec_ext
in '' $ac_executable_extensions; do
12139 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12140 if test $ac_prog = install &&
12141 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12142 # AIX install. It has an incompatible calling convention.
12144 elif test $ac_prog = install &&
12145 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12146 # program-specific install script used by HP pwplus--don't use.
12149 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12161 if test "${ac_cv_path_install+set}" = set; then
12162 INSTALL
=$ac_cv_path_install
12164 # As a last resort, use the slow shell script. We don't cache a
12165 # path for INSTALL within a source directory, because that will
12166 # break other packages using the cache if that directory is
12167 # removed, or if the path is relative.
12168 INSTALL
=$ac_install_sh
12171 echo "$as_me:$LINENO: result: $INSTALL" >&5
12172 echo "${ECHO_T}$INSTALL" >&6
12174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12175 # It thinks the first close brace ends the variable substitution.
12176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12180 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12186 ?
:* ) # Drive letter, considered as absolute.
12189 INSTALL
=`pwd`/${INSTALL} ;;
12195 powerpc
-*-darwin* )
12196 INSTALL_PROGRAM
="cp -fp"
12197 INSTALL_DATA
="cp -fp"
12203 # Extract the first word of "strip", so it can be a program name with args.
12204 set dummy strip
; ac_word
=$2
12205 echo "$as_me:$LINENO: checking for $ac_word" >&5
12206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12207 if test "${ac_cv_prog_STRIP+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 if test -n "$STRIP"; then
12211 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12214 for as_dir
in $PATH
12217 test -z "$as_dir" && as_dir
=.
12218 for ac_exec_ext
in '' $ac_executable_extensions; do
12219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12220 ac_cv_prog_STRIP
="strip"
12221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12227 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12230 STRIP
=$ac_cv_prog_STRIP
12231 if test -n "$STRIP"; then
12232 echo "$as_me:$LINENO: result: $STRIP" >&5
12233 echo "${ECHO_T}$STRIP" >&6
12235 echo "$as_me:$LINENO: result: no" >&5
12236 echo "${ECHO_T}no" >&6
12240 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12241 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12242 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12247 egrep -s GNU
> /dev
/null
); then
12248 wx_cv_prog_makeisgnu
="yes"
12250 wx_cv_prog_makeisgnu
="no"
12254 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12255 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12257 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12265 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12266 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12267 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12268 if test "${wx_cv_prog_makevpath+set}" = set; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 cat - << EOF > confMake
12278 if test ! -d sub
; then
12281 echo dummy
> sub
/file
12282 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12284 rm -f sub
/file check final_file confMake
12286 if test "$RESULT" = 0; then
12287 wx_cv_prog_makevpath
="yes"
12289 wx_cv_prog_makevpath
="no"
12293 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12294 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12296 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12297 { { echo "$as_me:$LINENO: error:
12298 You need a make-utility that is able to use the variable
12300 If your version of make does not support VPATH correctly,
12301 please install GNU-make (possibly as gmake), and start
12302 configure with the following command:
12303 export MAKE=gmake; ./configure for sh-type shells
12304 setenv MAKE gmake; ./configure for csh-type shells
12305 Also please do remember to use gmake in this case every time
12306 you are trying to compile.
12308 echo "$as_me: error:
12309 You need a make-utility that is able to use the variable
12311 If your version of make does not support VPATH correctly,
12312 please install GNU-make (possibly as gmake), and start
12313 configure with the following command:
12314 export MAKE=gmake; ./configure for sh-type shells
12315 setenv MAKE gmake; ./configure for csh-type shells
12316 Also please do remember to use gmake in this case every time
12317 you are trying to compile.
12319 { (exit 1); exit 1; }; }
12321 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12322 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12324 if test "$LN_S" = "ln -s"; then
12325 echo "$as_me:$LINENO: result: yes" >&5
12326 echo "${ECHO_T}yes" >&6
12328 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12329 echo "${ECHO_T}no, using $LN_S" >&6
12335 *-pc-os2_emx | *-pc-os2-emx )
12336 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12337 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12338 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12339 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 ac_check_lib_save_LIBS
=$LIBS
12343 LIBS
="-lcExt $LIBS"
12344 cat >conftest.
$ac_ext <<_ACEOF
12347 cat confdefs.h
>>conftest.
$ac_ext
12348 cat >>conftest.
$ac_ext <<_ACEOF
12349 /* end confdefs.h. */
12351 /* Override any gcc2 internal prototype to avoid an error. */
12355 /* We use char because int might match the return type of a gcc2
12356 builtin and then its argument prototype would still apply. */
12366 rm -f conftest.
$ac_objext conftest
$ac_exeext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12368 (eval $ac_link) 2>conftest.er1
12370 grep -v '^ *+' conftest.er1
>conftest.err
12372 cat conftest.err
>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try
='test -s conftest$ac_exeext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_cv_lib_cExt_drand48
=yes
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.
$ac_ext >&5
12392 ac_cv_lib_cExt_drand48
=no
12394 rm -f conftest.err conftest.
$ac_objext \
12395 conftest
$ac_exeext conftest.
$ac_ext
12396 LIBS
=$ac_check_lib_save_LIBS
12398 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12399 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12400 if test $ac_cv_lib_cExt_drand48 = yes; then
12401 LIBS
="$LIBS -lcExt"
12405 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12407 echo "$as_me:$LINENO: checking for gcc version" >&5
12408 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12409 if test "${wx_cv_gccversion+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 cat >conftest.
$ac_ext <<_ACEOF
12416 cat confdefs.h
>>conftest.
$ac_ext
12417 cat >>conftest.
$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12432 rm -f conftest.
$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12436 grep -v '^ *+' conftest.er1
>conftest.err
12438 cat conftest.err
>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12447 { ac_try
='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12454 cat >conftest.
$ac_ext <<_ACEOF
12457 cat confdefs.h
>>conftest.
$ac_ext
12458 cat >>conftest.
$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12465 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12466 #error intermediate gcc
12473 rm -f conftest.
$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12477 grep -v '^ *+' conftest.er1
>conftest.err
12479 cat conftest.err
>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try
='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12495 wx_cv_gccversion
=Innotek
12498 echo "$as_me: failed program was:" >&5
12499 sed 's/^/| /' conftest.
$ac_ext >&5
12506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.
$ac_ext >&5
12517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12520 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12521 echo "${ECHO_T}$wx_cv_gccversion" >&6
12522 if test "$wx_cv_gccversion" = "2"; then
12523 LIBS
="$LIBS -lstdcpp"
12524 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12526 if test "$wx_cv_gccversion" = "3"; then
12527 LIBS
="$LIBS -lstdcxx"
12528 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12530 LIBS
="$LIBS -lstdc++"
12533 if test "$wxUSE_OMF" = "yes"; then
12534 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12542 ac_cpp
='$CXXCPP $CPPFLAGS'
12543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12549 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12550 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12551 if test "${ac_cv_string_strcasecmp+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 cat >conftest.
$ac_ext <<_ACEOF
12558 cat confdefs.h
>>conftest.
$ac_ext
12559 cat >>conftest.
$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12562 #include <string.h>
12568 strcasecmp("foo", "bar");
12574 rm -f conftest.
$ac_objext conftest
$ac_exeext
12575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12576 (eval $ac_link) 2>conftest.er1
12578 grep -v '^ *+' conftest.er1
>conftest.err
12580 cat conftest.err
>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } &&
12583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12585 (eval $ac_try) 2>&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }; } &&
12589 { ac_try
='test -s conftest$ac_exeext'
12590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591 (eval $ac_try) 2>&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); }; }; then
12595 ac_cv_string_strcasecmp
=yes
12597 echo "$as_me: failed program was:" >&5
12598 sed 's/^/| /' conftest.
$ac_ext >&5
12600 ac_cv_string_strcasecmp
=no
12603 rm -f conftest.err conftest.
$ac_objext \
12604 conftest
$ac_exeext conftest.
$ac_ext
12607 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12608 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12610 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12611 cat >>confdefs.h
<<\_ACEOF
12612 #define HAVE_STRCASECMP_IN_STRING_H 1
12616 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12617 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12618 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 cat >conftest.
$ac_ext <<_ACEOF
12625 cat confdefs.h
>>conftest.
$ac_ext
12626 cat >>conftest.
$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12629 #include <strings.h>
12635 strcasecmp("foo", "bar");
12641 rm -f conftest.
$ac_objext conftest
$ac_exeext
12642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12643 (eval $ac_link) 2>conftest.er1
12645 grep -v '^ *+' conftest.er1
>conftest.err
12647 cat conftest.err
>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } &&
12650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try
='test -s conftest$ac_exeext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_cv_strings_strcasecmp
=yes
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.
$ac_ext >&5
12667 ac_cv_strings_strcasecmp
=no
12670 rm -f conftest.err conftest.
$ac_objext \
12671 conftest
$ac_exeext conftest.
$ac_ext
12674 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12675 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12677 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12678 cat >>confdefs.h
<<\_ACEOF
12679 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12683 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12684 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12685 { (exit 1); exit 1; }; }
12690 ac_cpp
='$CPP $CPPFLAGS'
12691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12699 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12700 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12701 if test "${ac_cv_header_stdc+set}" = set; then
12702 echo $ECHO_N "(cached) $ECHO_C" >&6
12704 cat >conftest.
$ac_ext <<_ACEOF
12707 cat confdefs.h
>>conftest.
$ac_ext
12708 cat >>conftest.
$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12710 #include <stdlib.h>
12711 #include <stdarg.h>
12712 #include <string.h>
12723 rm -f conftest.
$ac_objext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12725 (eval $ac_compile) 2>conftest.er1
12727 grep -v '^ *+' conftest.er1
>conftest.err
12729 cat conftest.err
>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 (eval $ac_try) 2>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); }; } &&
12738 { ac_try
='test -s conftest.$ac_objext'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; }; then
12744 ac_cv_header_stdc
=yes
12746 echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.
$ac_ext >&5
12749 ac_cv_header_stdc
=no
12751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12753 if test $ac_cv_header_stdc = yes; then
12754 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12755 cat >conftest.
$ac_ext <<_ACEOF
12758 cat confdefs.h
>>conftest.
$ac_ext
12759 cat >>conftest.
$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12761 #include <string.h>
12764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12765 $EGREP "memchr" >/dev
/null
2>&1; then
12768 ac_cv_header_stdc
=no
12774 if test $ac_cv_header_stdc = yes; then
12775 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12776 cat >conftest.
$ac_ext <<_ACEOF
12779 cat confdefs.h
>>conftest.
$ac_ext
12780 cat >>conftest.
$ac_ext <<_ACEOF
12781 /* end confdefs.h. */
12782 #include <stdlib.h>
12785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12786 $EGREP "free" >/dev
/null
2>&1; then
12789 ac_cv_header_stdc
=no
12795 if test $ac_cv_header_stdc = yes; then
12796 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12797 if test "$cross_compiling" = yes; then
12800 cat >conftest.
$ac_ext <<_ACEOF
12803 cat confdefs.h
>>conftest.
$ac_ext
12804 cat >>conftest.
$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12807 #if ((' ' & 0x0FF) == 0x020)
12808 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12809 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12811 # define ISLOWER(c) \
12812 (('a' <= (c) && (c) <= 'i') \
12813 || ('j' <= (c) && (c) <= 'r') \
12814 || ('s' <= (c) && (c) <= 'z'))
12815 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12818 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12823 for (i = 0; i < 256; i++)
12824 if (XOR (islower (i), ISLOWER (i))
12825 || toupper (i) != TOUPPER (i))
12830 rm -f conftest
$ac_exeext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12832 (eval $ac_link) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; }; then
12843 echo "$as_me: program exited with status $ac_status" >&5
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.
$ac_ext >&5
12847 ( exit $ac_status )
12848 ac_cv_header_stdc
=no
12850 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12854 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12855 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12856 if test $ac_cv_header_stdc = yes; then
12858 cat >>confdefs.h
<<\_ACEOF
12859 #define STDC_HEADERS 1
12864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12874 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12875 inttypes.h stdint.h unistd.h
12877 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12878 echo "$as_me:$LINENO: checking for $ac_header" >&5
12879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12883 cat >conftest.
$ac_ext <<_ACEOF
12886 cat confdefs.h
>>conftest.
$ac_ext
12887 cat >>conftest.
$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889 $ac_includes_default
12891 #include <$ac_header>
12893 rm -f conftest.
$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>conftest.er1
12897 grep -v '^ *+' conftest.er1
>conftest.err
12899 cat conftest.err
>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try
='test -s conftest.$ac_objext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 eval "$as_ac_Header=yes"
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12919 eval "$as_ac_Header=no"
12921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12926 cat >>confdefs.h
<<_ACEOF
12927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12936 for ac_header
in stdlib.h
12938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12940 echo "$as_me:$LINENO: checking for $ac_header" >&5
12941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12943 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12948 # Is the header compilable?
12949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12951 cat >conftest.
$ac_ext <<_ACEOF
12954 cat confdefs.h
>>conftest.
$ac_ext
12955 cat >>conftest.
$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957 $ac_includes_default
12958 #include <$ac_header>
12960 rm -f conftest.
$ac_objext
12961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12962 (eval $ac_compile) 2>conftest.er1
12964 grep -v '^ *+' conftest.er1
>conftest.err
12966 cat conftest.err
>&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } &&
12969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 (eval $ac_try) 2>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); }; } &&
12975 { ac_try
='test -s conftest.$ac_objext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12981 ac_header_compiler
=yes
12983 echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.
$ac_ext >&5
12986 ac_header_compiler
=no
12988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12990 echo "${ECHO_T}$ac_header_compiler" >&6
12992 # Is the header present?
12993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12995 cat >conftest.
$ac_ext <<_ACEOF
12998 cat confdefs.h
>>conftest.
$ac_ext
12999 cat >>conftest.
$ac_ext <<_ACEOF
13000 /* end confdefs.h. */
13001 #include <$ac_header>
13003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13006 grep -v '^ *+' conftest.er1
>conftest.err
13008 cat conftest.err
>&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); } >/dev
/null
; then
13011 if test -s conftest.err
; then
13012 ac_cpp_err
=$ac_c_preproc_warn_flag
13013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13020 if test -z "$ac_cpp_err"; then
13021 ac_header_preproc
=yes
13023 echo "$as_me: failed program was:" >&5
13024 sed 's/^/| /' conftest.
$ac_ext >&5
13026 ac_header_preproc
=no
13028 rm -f conftest.err conftest.
$ac_ext
13029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13030 echo "${ECHO_T}$ac_header_preproc" >&6
13032 # So? What about this header?
13033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13039 ac_header_preproc
=yes
13042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13056 ## ----------------------------------------- ##
13057 ## Report this to wx-dev@lists.wxwidgets.org ##
13058 ## ----------------------------------------- ##
13061 sed "s/^/$as_me: WARNING: /" >&2
13064 echo "$as_me:$LINENO: checking for $ac_header" >&5
13065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 eval "$as_ac_Header=\$ac_header_preproc"
13071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13076 cat >>confdefs.h
<<_ACEOF
13077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13085 for ac_header
in malloc.h
13087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13089 echo "$as_me:$LINENO: checking for $ac_header" >&5
13090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13097 # Is the header compilable?
13098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13100 cat >conftest.
$ac_ext <<_ACEOF
13103 cat confdefs.h
>>conftest.
$ac_ext
13104 cat >>conftest.
$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 $ac_includes_default
13107 #include <$ac_header>
13109 rm -f conftest.
$ac_objext
13110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13111 (eval $ac_compile) 2>conftest.er1
13113 grep -v '^ *+' conftest.er1
>conftest.err
13115 cat conftest.err
>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } &&
13118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; } &&
13124 { ac_try
='test -s conftest.$ac_objext'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; }; then
13130 ac_header_compiler
=yes
13132 echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.
$ac_ext >&5
13135 ac_header_compiler
=no
13137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13139 echo "${ECHO_T}$ac_header_compiler" >&6
13141 # Is the header present?
13142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13144 cat >conftest.
$ac_ext <<_ACEOF
13147 cat confdefs.h
>>conftest.
$ac_ext
13148 cat >>conftest.
$ac_ext <<_ACEOF
13149 /* end confdefs.h. */
13150 #include <$ac_header>
13152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13155 grep -v '^ *+' conftest.er1
>conftest.err
13157 cat conftest.err
>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } >/dev
/null
; then
13160 if test -s conftest.err
; then
13161 ac_cpp_err
=$ac_c_preproc_warn_flag
13162 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13169 if test -z "$ac_cpp_err"; then
13170 ac_header_preproc
=yes
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.
$ac_ext >&5
13175 ac_header_preproc
=no
13177 rm -f conftest.err conftest.
$ac_ext
13178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13179 echo "${ECHO_T}$ac_header_preproc" >&6
13181 # So? What about this header?
13182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13188 ac_header_preproc
=yes
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13205 ## ----------------------------------------- ##
13206 ## Report this to wx-dev@lists.wxwidgets.org ##
13207 ## ----------------------------------------- ##
13210 sed "s/^/$as_me: WARNING: /" >&2
13213 echo "$as_me:$LINENO: checking for $ac_header" >&5
13214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13216 echo $ECHO_N "(cached) $ECHO_C" >&6
13218 eval "$as_ac_Header=\$ac_header_preproc"
13220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13225 cat >>confdefs.h
<<_ACEOF
13226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13234 for ac_header
in unistd.h
13236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13238 echo "$as_me:$LINENO: checking for $ac_header" >&5
13239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13246 # Is the header compilable?
13247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13249 cat >conftest.
$ac_ext <<_ACEOF
13252 cat confdefs.h
>>conftest.
$ac_ext
13253 cat >>conftest.
$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13255 $ac_includes_default
13256 #include <$ac_header>
13258 rm -f conftest.
$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13262 grep -v '^ *+' conftest.er1
>conftest.err
13264 cat conftest.err
>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try
='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_header_compiler
=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ac_header_compiler
=no
13286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13288 echo "${ECHO_T}$ac_header_compiler" >&6
13290 # Is the header present?
13291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299 #include <$ac_header>
13301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev
/null
; then
13309 if test -s conftest.err
; then
13310 ac_cpp_err
=$ac_c_preproc_warn_flag
13311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13318 if test -z "$ac_cpp_err"; then
13319 ac_header_preproc
=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 ac_header_preproc
=no
13326 rm -f conftest.err conftest.
$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13328 echo "${ECHO_T}$ac_header_preproc" >&6
13330 # So? What about this header?
13331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13337 ac_header_preproc
=yes
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13354 ## ----------------------------------------- ##
13355 ## Report this to wx-dev@lists.wxwidgets.org ##
13356 ## ----------------------------------------- ##
13359 sed "s/^/$as_me: WARNING: /" >&2
13362 echo "$as_me:$LINENO: checking for $ac_header" >&5
13363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 eval "$as_ac_Header=\$ac_header_preproc"
13369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13374 cat >>confdefs.h
<<_ACEOF
13375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13383 for ac_header
in wchar.h
13385 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13387 echo "$as_me:$LINENO: checking for $ac_header" >&5
13388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13395 # Is the header compilable?
13396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13398 cat >conftest.
$ac_ext <<_ACEOF
13401 cat confdefs.h
>>conftest.
$ac_ext
13402 cat >>conftest.
$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404 $ac_includes_default
13405 #include <$ac_header>
13407 rm -f conftest.
$ac_objext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13409 (eval $ac_compile) 2>conftest.er1
13411 grep -v '^ *+' conftest.er1
>conftest.err
13413 cat conftest.err
>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; } &&
13422 { ac_try
='test -s conftest.$ac_objext'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; }; then
13428 ac_header_compiler
=yes
13430 echo "$as_me: failed program was:" >&5
13431 sed 's/^/| /' conftest.
$ac_ext >&5
13433 ac_header_compiler
=no
13435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13437 echo "${ECHO_T}$ac_header_compiler" >&6
13439 # Is the header present?
13440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13442 cat >conftest.
$ac_ext <<_ACEOF
13445 cat confdefs.h
>>conftest.
$ac_ext
13446 cat >>conftest.
$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448 #include <$ac_header>
13450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13453 grep -v '^ *+' conftest.er1
>conftest.err
13455 cat conftest.err
>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } >/dev
/null
; then
13458 if test -s conftest.err
; then
13459 ac_cpp_err
=$ac_c_preproc_warn_flag
13460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13467 if test -z "$ac_cpp_err"; then
13468 ac_header_preproc
=yes
13470 echo "$as_me: failed program was:" >&5
13471 sed 's/^/| /' conftest.
$ac_ext >&5
13473 ac_header_preproc
=no
13475 rm -f conftest.err conftest.
$ac_ext
13476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13477 echo "${ECHO_T}$ac_header_preproc" >&6
13479 # So? What about this header?
13480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13486 ac_header_preproc
=yes
13489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13503 ## ----------------------------------------- ##
13504 ## Report this to wx-dev@lists.wxwidgets.org ##
13505 ## ----------------------------------------- ##
13508 sed "s/^/$as_me: WARNING: /" >&2
13511 echo "$as_me:$LINENO: checking for $ac_header" >&5
13512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 eval "$as_ac_Header=\$ac_header_preproc"
13518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13523 cat >>confdefs.h
<<_ACEOF
13524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13532 if test "$ac_cv_header_wchar_h" != "yes"; then
13534 for ac_header
in wcstr.h
13536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13538 echo "$as_me:$LINENO: checking for $ac_header" >&5
13539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13546 # Is the header compilable?
13547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13549 cat >conftest.
$ac_ext <<_ACEOF
13552 cat confdefs.h
>>conftest.
$ac_ext
13553 cat >>conftest.
$ac_ext <<_ACEOF
13554 /* end confdefs.h. */
13555 $ac_includes_default
13556 #include <$ac_header>
13558 rm -f conftest.
$ac_objext
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560 (eval $ac_compile) 2>conftest.er1
13562 grep -v '^ *+' conftest.er1
>conftest.err
13564 cat conftest.err
>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } &&
13567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13569 (eval $ac_try) 2>&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); }; } &&
13573 { ac_try
='test -s conftest.$ac_objext'
13574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13575 (eval $ac_try) 2>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); }; }; then
13579 ac_header_compiler
=yes
13581 echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.
$ac_ext >&5
13584 ac_header_compiler
=no
13586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13588 echo "${ECHO_T}$ac_header_compiler" >&6
13590 # Is the header present?
13591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13593 cat >conftest.
$ac_ext <<_ACEOF
13596 cat confdefs.h
>>conftest.
$ac_ext
13597 cat >>conftest.
$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 #include <$ac_header>
13601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13602 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13604 grep -v '^ *+' conftest.er1
>conftest.err
13606 cat conftest.err
>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); } >/dev
/null
; then
13609 if test -s conftest.err
; then
13610 ac_cpp_err
=$ac_c_preproc_warn_flag
13611 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13618 if test -z "$ac_cpp_err"; then
13619 ac_header_preproc
=yes
13621 echo "$as_me: failed program was:" >&5
13622 sed 's/^/| /' conftest.
$ac_ext >&5
13624 ac_header_preproc
=no
13626 rm -f conftest.err conftest.
$ac_ext
13627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13628 echo "${ECHO_T}$ac_header_preproc" >&6
13630 # So? What about this header?
13631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13637 ac_header_preproc
=yes
13640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13654 ## ----------------------------------------- ##
13655 ## Report this to wx-dev@lists.wxwidgets.org ##
13656 ## ----------------------------------------- ##
13659 sed "s/^/$as_me: WARNING: /" >&2
13662 echo "$as_me:$LINENO: checking for $ac_header" >&5
13663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 eval "$as_ac_Header=\$ac_header_preproc"
13669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13674 cat >>confdefs.h
<<_ACEOF
13675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13685 for ac_header
in fnmatch.h
13687 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13689 echo "$as_me:$LINENO: checking for $ac_header" >&5
13690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13692 echo $ECHO_N "(cached) $ECHO_C" >&6
13694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13697 # Is the header compilable?
13698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13700 cat >conftest.
$ac_ext <<_ACEOF
13703 cat confdefs.h
>>conftest.
$ac_ext
13704 cat >>conftest.
$ac_ext <<_ACEOF
13705 /* end confdefs.h. */
13706 $ac_includes_default
13707 #include <$ac_header>
13709 rm -f conftest.
$ac_objext
13710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13711 (eval $ac_compile) 2>conftest.er1
13713 grep -v '^ *+' conftest.er1
>conftest.err
13715 cat conftest.err
>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); } &&
13718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try
='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ac_header_compiler
=yes
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.
$ac_ext >&5
13735 ac_header_compiler
=no
13737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13739 echo "${ECHO_T}$ac_header_compiler" >&6
13741 # Is the header present?
13742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13744 cat >conftest.
$ac_ext <<_ACEOF
13747 cat confdefs.h
>>conftest.
$ac_ext
13748 cat >>conftest.
$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13750 #include <$ac_header>
13752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13755 grep -v '^ *+' conftest.er1
>conftest.err
13757 cat conftest.err
>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } >/dev
/null
; then
13760 if test -s conftest.err
; then
13761 ac_cpp_err
=$ac_c_preproc_warn_flag
13762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13769 if test -z "$ac_cpp_err"; then
13770 ac_header_preproc
=yes
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.
$ac_ext >&5
13775 ac_header_preproc
=no
13777 rm -f conftest.err conftest.
$ac_ext
13778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13779 echo "${ECHO_T}$ac_header_preproc" >&6
13781 # So? What about this header?
13782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13788 ac_header_preproc
=yes
13791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13805 ## ----------------------------------------- ##
13806 ## Report this to wx-dev@lists.wxwidgets.org ##
13807 ## ----------------------------------------- ##
13810 sed "s/^/$as_me: WARNING: /" >&2
13813 echo "$as_me:$LINENO: checking for $ac_header" >&5
13814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13818 eval "$as_ac_Header=\$ac_header_preproc"
13820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13825 cat >>confdefs.h
<<_ACEOF
13826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13834 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13836 for ac_func
in fnmatch
13838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13839 echo "$as_me:$LINENO: checking for $ac_func" >&5
13840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13841 if eval "test \"\${$as_ac_var+set}\" = set"; then
13842 echo $ECHO_N "(cached) $ECHO_C" >&6
13844 cat >conftest.
$ac_ext <<_ACEOF
13847 cat confdefs.h
>>conftest.
$ac_ext
13848 cat >>conftest.
$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13852 #define $ac_func innocuous_$ac_func
13854 /* System header to define __stub macros and hopefully few prototypes,
13855 which can conflict with char $ac_func (); below.
13856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13857 <limits.h> exists even on freestanding compilers. */
13860 # include <limits.h>
13862 # include <assert.h>
13867 /* Override any gcc2 internal prototype to avoid an error. */
13872 /* We use char because int might match the return type of a gcc2
13873 builtin and then its argument prototype would still apply. */
13875 /* The GNU C library defines this for functions which it implements
13876 to always fail with ENOSYS. Some functions are actually named
13877 something starting with __ and the normal name is an alias. */
13878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13881 char (*f) () = $ac_func;
13890 return f != $ac_func;
13895 rm -f conftest.
$ac_objext conftest
$ac_exeext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13897 (eval $ac_link) 2>conftest.er1
13899 grep -v '^ *+' conftest.er1
>conftest.err
13901 cat conftest.err
>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } &&
13904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; } &&
13910 { ac_try
='test -s conftest$ac_exeext'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; }; then
13916 eval "$as_ac_var=yes"
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.
$ac_ext >&5
13921 eval "$as_ac_var=no"
13923 rm -f conftest.err conftest.
$ac_objext \
13924 conftest
$ac_exeext conftest.
$ac_ext
13926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13928 if test `eval echo '${'$as_ac_var'}'` = yes; then
13929 cat >>confdefs.h
<<_ACEOF
13930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13939 for ac_header
in langinfo.h
13941 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13943 echo "$as_me:$LINENO: checking for $ac_header" >&5
13944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13946 echo $ECHO_N "(cached) $ECHO_C" >&6
13948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13951 # Is the header compilable?
13952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13953 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
13961 #include <$ac_header>
13963 rm -f conftest.
$ac_objext
13964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13965 (eval $ac_compile) 2>conftest.er1
13967 grep -v '^ *+' conftest.er1
>conftest.err
13969 cat conftest.err
>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } &&
13972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; } &&
13978 { ac_try
='test -s conftest.$ac_objext'
13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13980 (eval $ac_try) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }; }; then
13984 ac_header_compiler
=yes
13986 echo "$as_me: failed program was:" >&5
13987 sed 's/^/| /' conftest.
$ac_ext >&5
13989 ac_header_compiler
=no
13991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13993 echo "${ECHO_T}$ac_header_compiler" >&6
13995 # Is the header present?
13996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13998 cat >conftest.
$ac_ext <<_ACEOF
14001 cat confdefs.h
>>conftest.
$ac_ext
14002 cat >>conftest.
$ac_ext <<_ACEOF
14003 /* end confdefs.h. */
14004 #include <$ac_header>
14006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14007 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14009 grep -v '^ *+' conftest.er1
>conftest.err
14011 cat conftest.err
>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); } >/dev
/null
; then
14014 if test -s conftest.err
; then
14015 ac_cpp_err
=$ac_c_preproc_warn_flag
14016 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14023 if test -z "$ac_cpp_err"; then
14024 ac_header_preproc
=yes
14026 echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.
$ac_ext >&5
14029 ac_header_preproc
=no
14031 rm -f conftest.err conftest.
$ac_ext
14032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14033 echo "${ECHO_T}$ac_header_preproc" >&6
14035 # So? What about this header?
14036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14042 ac_header_preproc
=yes
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14059 ## ----------------------------------------- ##
14060 ## Report this to wx-dev@lists.wxwidgets.org ##
14061 ## ----------------------------------------- ##
14064 sed "s/^/$as_me: WARNING: /" >&2
14067 echo "$as_me:$LINENO: checking for $ac_header" >&5
14068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 eval "$as_ac_Header=\$ac_header_preproc"
14074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14079 cat >>confdefs.h
<<_ACEOF
14080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14089 *-pc-os2_emx | *-pc-os2-emx )
14090 if test $ac_cv_header_langinfo_h = "yes"; then
14091 LIBS
="$LIBS -lintl"
14096 if test "$wxUSE_GUI" = "yes"; then
14097 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14099 for ac_header
in X
11/Xlib.h
14101 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14103 echo "$as_me:$LINENO: checking for $ac_header" >&5
14104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14111 # Is the header compilable?
14112 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14114 cat >conftest.
$ac_ext <<_ACEOF
14117 cat confdefs.h
>>conftest.
$ac_ext
14118 cat >>conftest.
$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120 $ac_includes_default
14121 #include <$ac_header>
14123 rm -f conftest.
$ac_objext
14124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14125 (eval $ac_compile) 2>conftest.er1
14127 grep -v '^ *+' conftest.er1
>conftest.err
14129 cat conftest.err
>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); } &&
14132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14134 (eval $ac_try) 2>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; } &&
14138 { ac_try
='test -s conftest.$ac_objext'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; }; then
14144 ac_header_compiler
=yes
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.
$ac_ext >&5
14149 ac_header_compiler
=no
14151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14153 echo "${ECHO_T}$ac_header_compiler" >&6
14155 # Is the header present?
14156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14158 cat >conftest.
$ac_ext <<_ACEOF
14161 cat confdefs.h
>>conftest.
$ac_ext
14162 cat >>conftest.
$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 #include <$ac_header>
14166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14169 grep -v '^ *+' conftest.er1
>conftest.err
14171 cat conftest.err
>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } >/dev
/null
; then
14174 if test -s conftest.err
; then
14175 ac_cpp_err
=$ac_c_preproc_warn_flag
14176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14183 if test -z "$ac_cpp_err"; then
14184 ac_header_preproc
=yes
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.
$ac_ext >&5
14189 ac_header_preproc
=no
14191 rm -f conftest.err conftest.
$ac_ext
14192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14193 echo "${ECHO_T}$ac_header_preproc" >&6
14195 # So? What about this header?
14196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14202 ac_header_preproc
=yes
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14219 ## ----------------------------------------- ##
14220 ## Report this to wx-dev@lists.wxwidgets.org ##
14221 ## ----------------------------------------- ##
14224 sed "s/^/$as_me: WARNING: /" >&2
14227 echo "$as_me:$LINENO: checking for $ac_header" >&5
14228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 eval "$as_ac_Header=\$ac_header_preproc"
14234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14239 cat >>confdefs.h
<<_ACEOF
14240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14248 for ac_header
in X
11/XKBlib.h
14250 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14251 echo "$as_me:$LINENO: checking for $ac_header" >&5
14252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 cat >conftest.
$ac_ext <<_ACEOF
14259 cat confdefs.h
>>conftest.
$ac_ext
14260 cat >>conftest.
$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14263 #if HAVE_X11_XLIB_H
14264 #include <X11/Xlib.h>
14268 #include <$ac_header>
14270 rm -f conftest.
$ac_objext
14271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14272 (eval $ac_compile) 2>conftest.er1
14274 grep -v '^ *+' conftest.er1
>conftest.err
14276 cat conftest.err
>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; } &&
14285 { ac_try
='test -s conftest.$ac_objext'
14286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14287 (eval $ac_try) 2>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); }; }; then
14291 eval "$as_ac_Header=yes"
14293 echo "$as_me: failed program was:" >&5
14294 sed 's/^/| /' conftest.
$ac_ext >&5
14296 eval "$as_ac_Header=no"
14298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14303 cat >>confdefs.h
<<_ACEOF
14304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14315 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14316 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14317 if test "${ac_cv_c_const+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 cat >conftest.
$ac_ext <<_ACEOF
14323 cat confdefs.h
>>conftest.
$ac_ext
14324 cat >>conftest.
$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14330 /* FIXME: Include the comments suggested by Paul. */
14331 #ifndef __cplusplus
14332 /* Ultrix mips cc rejects this. */
14333 typedef int charset[2];
14335 /* SunOS 4.1.1 cc rejects this. */
14336 char const *const *ccp;
14338 /* NEC SVR4.0.2 mips cc rejects this. */
14339 struct point {int x, y;};
14340 static struct point const zero = {0,0};
14341 /* AIX XL C 1.02.0.0 rejects this.
14342 It does not let you subtract one const X* pointer from another in
14343 an arm of an if-expression whose if-part is not a constant
14345 const char *g = "string";
14346 ccp = &g + (g ? g-g : 0);
14347 /* HPUX 7.0 cc rejects these. */
14350 ccp = (char const *const *) p;
14351 { /* SCO 3.2v4 cc rejects this. */
14353 char const *s = 0 ? (char *) 0 : (char const *) 0;
14357 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14358 int x[] = {25, 17};
14359 const int *foo = &x[0];
14362 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14363 typedef const int *iptr;
14367 { /* AIX XL C 1.02.0.0 rejects this saying
14368 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14369 struct s { int j; const int *ap[3]; };
14370 struct s *b; b->j = 5;
14372 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14373 const int foo = 10;
14381 rm -f conftest.
$ac_objext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14383 (eval $ac_compile) 2>conftest.er1
14385 grep -v '^ *+' conftest.er1
>conftest.err
14387 cat conftest.err
>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } &&
14390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; } &&
14396 { ac_try
='test -s conftest.$ac_objext'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; }; then
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.
$ac_ext >&5
14409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14411 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14412 echo "${ECHO_T}$ac_cv_c_const" >&6
14413 if test $ac_cv_c_const = no
; then
14415 cat >>confdefs.h
<<\_ACEOF
14421 echo "$as_me:$LINENO: checking for inline" >&5
14422 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14423 if test "${ac_cv_c_inline+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 for ac_kw
in inline __inline__ __inline
; do
14428 cat >conftest.
$ac_ext <<_ACEOF
14431 cat confdefs.h
>>conftest.
$ac_ext
14432 cat >>conftest.
$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 #ifndef __cplusplus
14436 static $ac_kw foo_t static_foo () {return 0; }
14437 $ac_kw foo_t foo () {return 0; }
14441 rm -f conftest.
$ac_objext
14442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14443 (eval $ac_compile) 2>conftest.er1
14445 grep -v '^ *+' conftest.er1
>conftest.err
14447 cat conftest.err
>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } &&
14450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; } &&
14456 { ac_try
='test -s conftest.$ac_objext'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; }; then
14462 ac_cv_c_inline
=$ac_kw; break
14464 echo "$as_me: failed program was:" >&5
14465 sed 's/^/| /' conftest.
$ac_ext >&5
14468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14472 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14473 echo "${ECHO_T}$ac_cv_c_inline" >&6
14476 case $ac_cv_c_inline in
14479 case $ac_cv_c_inline in
14481 *) ac_val
=$ac_cv_c_inline;;
14483 cat >>confdefs.h
<<_ACEOF
14484 #ifndef __cplusplus
14485 #define inline $ac_val
14492 echo "$as_me:$LINENO: checking for char" >&5
14493 echo $ECHO_N "checking for char... $ECHO_C" >&6
14494 if test "${ac_cv_type_char+set}" = set; then
14495 echo $ECHO_N "(cached) $ECHO_C" >&6
14497 cat >conftest.
$ac_ext <<_ACEOF
14500 cat confdefs.h
>>conftest.
$ac_ext
14501 cat >>conftest.
$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 $ac_includes_default
14515 rm -f conftest.
$ac_objext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>conftest.er1
14519 grep -v '^ *+' conftest.er1
>conftest.err
14521 cat conftest.err
>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; } &&
14530 { ac_try
='test -s conftest.$ac_objext'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14536 ac_cv_type_char
=yes
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.
$ac_ext >&5
14543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14545 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14546 echo "${ECHO_T}$ac_cv_type_char" >&6
14548 echo "$as_me:$LINENO: checking size of char" >&5
14549 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14550 if test "${ac_cv_sizeof_char+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 if test "$ac_cv_type_char" = yes; then
14554 # The cast to unsigned long works around a bug in the HP C Compiler
14555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14557 # This bug is HP SR number 8606223364.
14558 if test "$cross_compiling" = yes; then
14559 # Depending upon the size, compute the lo and hi bounds.
14560 cat >conftest.
$ac_ext <<_ACEOF
14563 cat confdefs.h
>>conftest.
$ac_ext
14564 cat >>conftest.
$ac_ext <<_ACEOF
14565 /* end confdefs.h. */
14566 $ac_includes_default
14570 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14577 rm -f conftest.
$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14581 grep -v '^ *+' conftest.er1
>conftest.err
14583 cat conftest.err
>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try
='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14600 cat >conftest.
$ac_ext <<_ACEOF
14603 cat confdefs.h
>>conftest.
$ac_ext
14604 cat >>conftest.
$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606 $ac_includes_default
14610 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14617 rm -f conftest.
$ac_objext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 (eval $ac_compile) 2>conftest.er1
14621 grep -v '^ *+' conftest.er1
>conftest.err
14623 cat conftest.err
>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } &&
14626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14628 (eval $ac_try) 2>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; } &&
14632 { ac_try
='test -s conftest.$ac_objext'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; }; then
14638 ac_hi
=$ac_mid; break
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.
$ac_ext >&5
14643 ac_lo
=`expr $ac_mid + 1`
14644 if test $ac_lo -le $ac_mid; then
14648 ac_mid
=`expr 2 '*' $ac_mid + 1`
14650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.
$ac_ext >&5
14656 cat >conftest.
$ac_ext <<_ACEOF
14659 cat confdefs.h
>>conftest.
$ac_ext
14660 cat >>conftest.
$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 $ac_includes_default
14666 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14673 rm -f conftest.
$ac_objext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14675 (eval $ac_compile) 2>conftest.er1
14677 grep -v '^ *+' conftest.er1
>conftest.err
14679 cat conftest.err
>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } &&
14682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; } &&
14688 { ac_try
='test -s conftest.$ac_objext'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14696 cat >conftest.
$ac_ext <<_ACEOF
14699 cat confdefs.h
>>conftest.
$ac_ext
14700 cat >>conftest.
$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702 $ac_includes_default
14706 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14713 rm -f conftest.
$ac_objext
14714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14715 (eval $ac_compile) 2>conftest.er1
14717 grep -v '^ *+' conftest.er1
>conftest.err
14719 cat conftest.err
>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } &&
14722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14724 (eval $ac_try) 2>&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); }; } &&
14728 { ac_try
='test -s conftest.$ac_objext'
14729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730 (eval $ac_try) 2>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14734 ac_lo
=$ac_mid; break
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.
$ac_ext >&5
14739 ac_hi
=`expr '(' $ac_mid ')' - 1`
14740 if test $ac_mid -le $ac_hi; then
14744 ac_mid
=`expr 2 '*' $ac_mid`
14746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.
$ac_ext >&5
14754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14757 # Binary search between lo and hi bounds.
14758 while test "x$ac_lo" != "x$ac_hi"; do
14759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14760 cat >conftest.
$ac_ext <<_ACEOF
14763 cat confdefs.h
>>conftest.
$ac_ext
14764 cat >>conftest.
$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766 $ac_includes_default
14770 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14777 rm -f conftest.
$ac_objext
14778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14779 (eval $ac_compile) 2>conftest.er1
14781 grep -v '^ *+' conftest.er1
>conftest.err
14783 cat conftest.err
>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } &&
14786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; } &&
14792 { ac_try
='test -s conftest.$ac_objext'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.
$ac_ext >&5
14803 ac_lo
=`expr '(' $ac_mid ')' + 1`
14805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14808 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14809 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14810 See \`config.log' for more details." >&5
14811 echo "$as_me: error: cannot compute sizeof (char), 77
14812 See \`config.log' for more details." >&2;}
14813 { (exit 1); exit 1; }; } ;;
14816 if test "$cross_compiling" = yes; then
14817 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14818 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14819 { (exit 1); exit 1; }; }
14821 cat >conftest.
$ac_ext <<_ACEOF
14824 cat confdefs.h
>>conftest.
$ac_ext
14825 cat >>conftest.
$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14828 long longval () { return (long) (sizeof (char)); }
14829 unsigned long ulongval () { return (long) (sizeof (char)); }
14831 #include <stdlib.h>
14836 FILE *f = fopen ("conftest.val", "w");
14839 if (((long) (sizeof (char))) < 0)
14841 long i = longval ();
14842 if (i != ((long) (sizeof (char))))
14844 fprintf (f, "%ld\n", i);
14848 unsigned long i = ulongval ();
14849 if (i != ((long) (sizeof (char))))
14851 fprintf (f, "%lu\n", i);
14853 exit (ferror (f) || fclose (f) != 0);
14859 rm -f conftest
$ac_exeext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14861 (eval $ac_link) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 ac_cv_sizeof_char
=`cat conftest.val`
14872 echo "$as_me: program exited with status $ac_status" >&5
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.
$ac_ext >&5
14876 ( exit $ac_status )
14877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14878 See \`config.log' for more details." >&5
14879 echo "$as_me: error: cannot compute sizeof (char), 77
14880 See \`config.log' for more details." >&2;}
14881 { (exit 1); exit 1; }; }
14883 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14888 ac_cv_sizeof_char
=0
14891 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14892 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14893 cat >>confdefs.h
<<_ACEOF
14894 #define SIZEOF_CHAR $ac_cv_sizeof_char
14898 echo "$as_me:$LINENO: checking for short" >&5
14899 echo $ECHO_N "checking for short... $ECHO_C" >&6
14900 if test "${ac_cv_type_short+set}" = set; then
14901 echo $ECHO_N "(cached) $ECHO_C" >&6
14903 cat >conftest.
$ac_ext <<_ACEOF
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14915 if (sizeof (short))
14921 rm -f conftest.
$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14925 grep -v '^ *+' conftest.er1
>conftest.err
14927 cat conftest.err
>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try
='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 ac_cv_type_short
=yes
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.
$ac_ext >&5
14947 ac_cv_type_short
=no
14949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14951 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14952 echo "${ECHO_T}$ac_cv_type_short" >&6
14954 echo "$as_me:$LINENO: checking size of short" >&5
14955 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14956 if test "${ac_cv_sizeof_short+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 if test "$ac_cv_type_short" = yes; then
14960 # The cast to unsigned long works around a bug in the HP C Compiler
14961 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14962 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14963 # This bug is HP SR number 8606223364.
14964 if test "$cross_compiling" = yes; then
14965 # Depending upon the size, compute the lo and hi bounds.
14966 cat >conftest.
$ac_ext <<_ACEOF
14969 cat confdefs.h
>>conftest.
$ac_ext
14970 cat >>conftest.
$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14972 $ac_includes_default
14976 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14983 rm -f conftest.
$ac_objext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14985 (eval $ac_compile) 2>conftest.er1
14987 grep -v '^ *+' conftest.er1
>conftest.err
14989 cat conftest.err
>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); } &&
14992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; } &&
14998 { ac_try
='test -s conftest.$ac_objext'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; }; then
15006 cat >conftest.
$ac_ext <<_ACEOF
15009 cat confdefs.h
>>conftest.
$ac_ext
15010 cat >>conftest.
$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15012 $ac_includes_default
15016 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15023 rm -f conftest.
$ac_objext
15024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15025 (eval $ac_compile) 2>conftest.er1
15027 grep -v '^ *+' conftest.er1
>conftest.err
15029 cat conftest.err
>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; } &&
15038 { ac_try
='test -s conftest.$ac_objext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_hi
=$ac_mid; break
15046 echo "$as_me: failed program was:" >&5
15047 sed 's/^/| /' conftest.
$ac_ext >&5
15049 ac_lo
=`expr $ac_mid + 1`
15050 if test $ac_lo -le $ac_mid; then
15054 ac_mid
=`expr 2 '*' $ac_mid + 1`
15056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15062 cat >conftest.
$ac_ext <<_ACEOF
15065 cat confdefs.h
>>conftest.
$ac_ext
15066 cat >>conftest.
$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15068 $ac_includes_default
15072 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15079 rm -f conftest.
$ac_objext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15081 (eval $ac_compile) 2>conftest.er1
15083 grep -v '^ *+' conftest.er1
>conftest.err
15085 cat conftest.err
>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try
='test -s conftest.$ac_objext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15102 cat >conftest.
$ac_ext <<_ACEOF
15105 cat confdefs.h
>>conftest.
$ac_ext
15106 cat >>conftest.
$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15108 $ac_includes_default
15112 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15119 rm -f conftest.
$ac_objext
15120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15121 (eval $ac_compile) 2>conftest.er1
15123 grep -v '^ *+' conftest.er1
>conftest.err
15125 cat conftest.err
>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
15128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; } &&
15134 { ac_try
='test -s conftest.$ac_objext'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; }; then
15140 ac_lo
=$ac_mid; break
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.
$ac_ext >&5
15145 ac_hi
=`expr '(' $ac_mid ')' - 1`
15146 if test $ac_mid -le $ac_hi; then
15150 ac_mid
=`expr 2 '*' $ac_mid`
15152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15155 echo "$as_me: failed program was:" >&5
15156 sed 's/^/| /' conftest.
$ac_ext >&5
15160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15163 # Binary search between lo and hi bounds.
15164 while test "x$ac_lo" != "x$ac_hi"; do
15165 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15166 cat >conftest.
$ac_ext <<_ACEOF
15169 cat confdefs.h
>>conftest.
$ac_ext
15170 cat >>conftest.
$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 $ac_includes_default
15176 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15183 rm -f conftest.
$ac_objext
15184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15185 (eval $ac_compile) 2>conftest.er1
15187 grep -v '^ *+' conftest.er1
>conftest.err
15189 cat conftest.err
>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; } &&
15198 { ac_try
='test -s conftest.$ac_objext'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15206 echo "$as_me: failed program was:" >&5
15207 sed 's/^/| /' conftest.
$ac_ext >&5
15209 ac_lo
=`expr '(' $ac_mid ')' + 1`
15211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15214 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15215 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15216 See \`config.log' for more details." >&5
15217 echo "$as_me: error: cannot compute sizeof (short), 77
15218 See \`config.log' for more details." >&2;}
15219 { (exit 1); exit 1; }; } ;;
15222 if test "$cross_compiling" = yes; then
15223 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15224 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15225 { (exit 1); exit 1; }; }
15227 cat >conftest.
$ac_ext <<_ACEOF
15230 cat confdefs.h
>>conftest.
$ac_ext
15231 cat >>conftest.
$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15233 $ac_includes_default
15234 long longval () { return (long) (sizeof (short)); }
15235 unsigned long ulongval () { return (long) (sizeof (short)); }
15237 #include <stdlib.h>
15242 FILE *f = fopen ("conftest.val", "w");
15245 if (((long) (sizeof (short))) < 0)
15247 long i = longval ();
15248 if (i != ((long) (sizeof (short))))
15250 fprintf (f, "%ld\n", i);
15254 unsigned long i = ulongval ();
15255 if (i != ((long) (sizeof (short))))
15257 fprintf (f, "%lu\n", i);
15259 exit (ferror (f) || fclose (f) != 0);
15265 rm -f conftest
$ac_exeext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15267 (eval $ac_link) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; }; then
15276 ac_cv_sizeof_short
=`cat conftest.val`
15278 echo "$as_me: program exited with status $ac_status" >&5
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.
$ac_ext >&5
15282 ( exit $ac_status )
15283 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15284 See \`config.log' for more details." >&5
15285 echo "$as_me: error: cannot compute sizeof (short), 77
15286 See \`config.log' for more details." >&2;}
15287 { (exit 1); exit 1; }; }
15289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15294 ac_cv_sizeof_short
=0
15297 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15298 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15299 cat >>confdefs.h
<<_ACEOF
15300 #define SIZEOF_SHORT $ac_cv_sizeof_short
15304 echo "$as_me:$LINENO: checking for void *" >&5
15305 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15306 if test "${ac_cv_type_void_p+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 cat >conftest.
$ac_ext <<_ACEOF
15312 cat confdefs.h
>>conftest.
$ac_ext
15313 cat >>conftest.
$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 $ac_includes_default
15321 if (sizeof (void *))
15327 rm -f conftest.
$ac_objext
15328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15329 (eval $ac_compile) 2>conftest.er1
15331 grep -v '^ *+' conftest.er1
>conftest.err
15333 cat conftest.err
>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } &&
15336 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try
='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 ac_cv_type_void_p
=yes
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.
$ac_ext >&5
15353 ac_cv_type_void_p
=no
15355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15357 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15358 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15360 echo "$as_me:$LINENO: checking size of void *" >&5
15361 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15362 if test "${ac_cv_sizeof_void_p+set}" = set; then
15363 echo $ECHO_N "(cached) $ECHO_C" >&6
15365 if test "$ac_cv_type_void_p" = yes; then
15366 # The cast to unsigned long works around a bug in the HP C Compiler
15367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15369 # This bug is HP SR number 8606223364.
15370 if test "$cross_compiling" = yes; then
15371 # Depending upon the size, compute the lo and hi bounds.
15372 cat >conftest.
$ac_ext <<_ACEOF
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 $ac_includes_default
15382 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15389 rm -f conftest.
$ac_objext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15391 (eval $ac_compile) 2>conftest.er1
15393 grep -v '^ *+' conftest.er1
>conftest.err
15395 cat conftest.err
>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } &&
15404 { ac_try
='test -s conftest.$ac_objext'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; }; then
15412 cat >conftest.
$ac_ext <<_ACEOF
15415 cat confdefs.h
>>conftest.
$ac_ext
15416 cat >>conftest.
$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15418 $ac_includes_default
15422 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15429 rm -f conftest.
$ac_objext
15430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15431 (eval $ac_compile) 2>conftest.er1
15433 grep -v '^ *+' conftest.er1
>conftest.err
15435 cat conftest.err
>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; } &&
15444 { ac_try
='test -s conftest.$ac_objext'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; }; then
15450 ac_hi
=$ac_mid; break
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.
$ac_ext >&5
15455 ac_lo
=`expr $ac_mid + 1`
15456 if test $ac_lo -le $ac_mid; then
15460 ac_mid
=`expr 2 '*' $ac_mid + 1`
15462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15465 echo "$as_me: failed program was:" >&5
15466 sed 's/^/| /' conftest.
$ac_ext >&5
15468 cat >conftest.
$ac_ext <<_ACEOF
15471 cat confdefs.h
>>conftest.
$ac_ext
15472 cat >>conftest.
$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 $ac_includes_default
15478 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15485 rm -f conftest.
$ac_objext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 (eval $ac_compile) 2>conftest.er1
15489 grep -v '^ *+' conftest.er1
>conftest.err
15491 cat conftest.err
>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15508 cat >conftest.
$ac_ext <<_ACEOF
15511 cat confdefs.h
>>conftest.
$ac_ext
15512 cat >>conftest.
$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514 $ac_includes_default
15518 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15525 rm -f conftest.
$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>conftest.er1
15529 grep -v '^ *+' conftest.er1
>conftest.err
15531 cat conftest.err
>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } &&
15534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536 (eval $ac_try) 2>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); }; } &&
15540 { ac_try
='test -s conftest.$ac_objext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15546 ac_lo
=$ac_mid; break
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.
$ac_ext >&5
15551 ac_hi
=`expr '(' $ac_mid ')' - 1`
15552 if test $ac_mid -le $ac_hi; then
15556 ac_mid
=`expr 2 '*' $ac_mid`
15558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15561 echo "$as_me: failed program was:" >&5
15562 sed 's/^/| /' conftest.
$ac_ext >&5
15566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15569 # Binary search between lo and hi bounds.
15570 while test "x$ac_lo" != "x$ac_hi"; do
15571 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15572 cat >conftest.
$ac_ext <<_ACEOF
15575 cat confdefs.h
>>conftest.
$ac_ext
15576 cat >>conftest.
$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578 $ac_includes_default
15582 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15589 rm -f conftest.
$ac_objext
15590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15591 (eval $ac_compile) 2>conftest.er1
15593 grep -v '^ *+' conftest.er1
>conftest.err
15595 cat conftest.err
>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } &&
15598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; } &&
15604 { ac_try
='test -s conftest.$ac_objext'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; }; then
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.
$ac_ext >&5
15615 ac_lo
=`expr '(' $ac_mid ')' + 1`
15617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15620 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15621 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15622 See \`config.log' for more details." >&5
15623 echo "$as_me: error: cannot compute sizeof (void *), 77
15624 See \`config.log' for more details." >&2;}
15625 { (exit 1); exit 1; }; } ;;
15628 if test "$cross_compiling" = yes; then
15629 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15630 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15631 { (exit 1); exit 1; }; }
15633 cat >conftest.
$ac_ext <<_ACEOF
15636 cat confdefs.h
>>conftest.
$ac_ext
15637 cat >>conftest.
$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 $ac_includes_default
15640 long longval () { return (long) (sizeof (void *)); }
15641 unsigned long ulongval () { return (long) (sizeof (void *)); }
15643 #include <stdlib.h>
15648 FILE *f = fopen ("conftest.val", "w");
15651 if (((long) (sizeof (void *))) < 0)
15653 long i = longval ();
15654 if (i != ((long) (sizeof (void *))))
15656 fprintf (f, "%ld\n", i);
15660 unsigned long i = ulongval ();
15661 if (i != ((long) (sizeof (void *))))
15663 fprintf (f, "%lu\n", i);
15665 exit (ferror (f) || fclose (f) != 0);
15671 rm -f conftest
$ac_exeext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15673 (eval $ac_link) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_cv_sizeof_void_p
=`cat conftest.val`
15684 echo "$as_me: program exited with status $ac_status" >&5
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.
$ac_ext >&5
15688 ( exit $ac_status )
15689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15690 See \`config.log' for more details." >&5
15691 echo "$as_me: error: cannot compute sizeof (void *), 77
15692 See \`config.log' for more details." >&2;}
15693 { (exit 1); exit 1; }; }
15695 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15700 ac_cv_sizeof_void_p
=0
15703 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15704 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15705 cat >>confdefs.h
<<_ACEOF
15706 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15710 echo "$as_me:$LINENO: checking for int" >&5
15711 echo $ECHO_N "checking for int... $ECHO_C" >&6
15712 if test "${ac_cv_type_int+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 cat >conftest.
$ac_ext <<_ACEOF
15718 cat confdefs.h
>>conftest.
$ac_ext
15719 cat >>conftest.
$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721 $ac_includes_default
15733 rm -f conftest.
$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>conftest.er1
15737 grep -v '^ *+' conftest.er1
>conftest.err
15739 cat conftest.err
>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } &&
15742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try
='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.
$ac_ext >&5
15761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15763 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15764 echo "${ECHO_T}$ac_cv_type_int" >&6
15766 echo "$as_me:$LINENO: checking size of int" >&5
15767 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15768 if test "${ac_cv_sizeof_int+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 if test "$ac_cv_type_int" = yes; then
15772 # The cast to unsigned long works around a bug in the HP C Compiler
15773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15775 # This bug is HP SR number 8606223364.
15776 if test "$cross_compiling" = yes; then
15777 # Depending upon the size, compute the lo and hi bounds.
15778 cat >conftest.
$ac_ext <<_ACEOF
15781 cat confdefs.h
>>conftest.
$ac_ext
15782 cat >>conftest.
$ac_ext <<_ACEOF
15783 /* end confdefs.h. */
15784 $ac_includes_default
15788 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15795 rm -f conftest.
$ac_objext
15796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15797 (eval $ac_compile) 2>conftest.er1
15799 grep -v '^ *+' conftest.er1
>conftest.err
15801 cat conftest.err
>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); } &&
15804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; } &&
15810 { ac_try
='test -s conftest.$ac_objext'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then
15818 cat >conftest.
$ac_ext <<_ACEOF
15821 cat confdefs.h
>>conftest.
$ac_ext
15822 cat >>conftest.
$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824 $ac_includes_default
15828 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15835 rm -f conftest.
$ac_objext
15836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15837 (eval $ac_compile) 2>conftest.er1
15839 grep -v '^ *+' conftest.er1
>conftest.err
15841 cat conftest.err
>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); } &&
15844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15846 (eval $ac_try) 2>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); }; } &&
15850 { ac_try
='test -s conftest.$ac_objext'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; }; then
15856 ac_hi
=$ac_mid; break
15858 echo "$as_me: failed program was:" >&5
15859 sed 's/^/| /' conftest.
$ac_ext >&5
15861 ac_lo
=`expr $ac_mid + 1`
15862 if test $ac_lo -le $ac_mid; then
15866 ac_mid
=`expr 2 '*' $ac_mid + 1`
15868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.
$ac_ext >&5
15874 cat >conftest.
$ac_ext <<_ACEOF
15877 cat confdefs.h
>>conftest.
$ac_ext
15878 cat >>conftest.
$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 $ac_includes_default
15884 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15891 rm -f conftest.
$ac_objext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15893 (eval $ac_compile) 2>conftest.er1
15895 grep -v '^ *+' conftest.er1
>conftest.err
15897 cat conftest.err
>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; } &&
15906 { ac_try
='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15914 cat >conftest.
$ac_ext <<_ACEOF
15917 cat confdefs.h
>>conftest.
$ac_ext
15918 cat >>conftest.
$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15924 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15931 rm -f conftest.
$ac_objext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15933 (eval $ac_compile) 2>conftest.er1
15935 grep -v '^ *+' conftest.er1
>conftest.err
15937 cat conftest.err
>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } &&
15940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try
='test -s conftest.$ac_objext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 ac_lo
=$ac_mid; break
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.
$ac_ext >&5
15957 ac_hi
=`expr '(' $ac_mid ')' - 1`
15958 if test $ac_mid -le $ac_hi; then
15962 ac_mid
=`expr 2 '*' $ac_mid`
15964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.
$ac_ext >&5
15972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15975 # Binary search between lo and hi bounds.
15976 while test "x$ac_lo" != "x$ac_hi"; do
15977 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15978 cat >conftest.
$ac_ext <<_ACEOF
15981 cat confdefs.h
>>conftest.
$ac_ext
15982 cat >>conftest.
$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15984 $ac_includes_default
15988 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15995 rm -f conftest.
$ac_objext
15996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15997 (eval $ac_compile) 2>conftest.er1
15999 grep -v '^ *+' conftest.er1
>conftest.err
16001 cat conftest.err
>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } &&
16004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; } &&
16010 { ac_try
='test -s conftest.$ac_objext'
16011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16012 (eval $ac_try) 2>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); }; }; then
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.
$ac_ext >&5
16021 ac_lo
=`expr '(' $ac_mid ')' + 1`
16023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16026 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16027 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16028 See \`config.log' for more details." >&5
16029 echo "$as_me: error: cannot compute sizeof (int), 77
16030 See \`config.log' for more details." >&2;}
16031 { (exit 1); exit 1; }; } ;;
16034 if test "$cross_compiling" = yes; then
16035 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16036 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16037 { (exit 1); exit 1; }; }
16039 cat >conftest.
$ac_ext <<_ACEOF
16042 cat confdefs.h
>>conftest.
$ac_ext
16043 cat >>conftest.
$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045 $ac_includes_default
16046 long longval () { return (long) (sizeof (int)); }
16047 unsigned long ulongval () { return (long) (sizeof (int)); }
16049 #include <stdlib.h>
16054 FILE *f = fopen ("conftest.val", "w");
16057 if (((long) (sizeof (int))) < 0)
16059 long i = longval ();
16060 if (i != ((long) (sizeof (int))))
16062 fprintf (f, "%ld\n", i);
16066 unsigned long i = ulongval ();
16067 if (i != ((long) (sizeof (int))))
16069 fprintf (f, "%lu\n", i);
16071 exit (ferror (f) || fclose (f) != 0);
16077 rm -f conftest
$ac_exeext
16078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16079 (eval $ac_link) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16088 ac_cv_sizeof_int
=`cat conftest.val`
16090 echo "$as_me: program exited with status $ac_status" >&5
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.
$ac_ext >&5
16094 ( exit $ac_status )
16095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16096 See \`config.log' for more details." >&5
16097 echo "$as_me: error: cannot compute sizeof (int), 77
16098 See \`config.log' for more details." >&2;}
16099 { (exit 1); exit 1; }; }
16101 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16109 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16110 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16111 cat >>confdefs.h
<<_ACEOF
16112 #define SIZEOF_INT $ac_cv_sizeof_int
16116 echo "$as_me:$LINENO: checking for long" >&5
16117 echo $ECHO_N "checking for long... $ECHO_C" >&6
16118 if test "${ac_cv_type_long+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 cat >conftest.
$ac_ext <<_ACEOF
16124 cat confdefs.h
>>conftest.
$ac_ext
16125 cat >>conftest.
$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 $ac_includes_default
16139 rm -f conftest.
$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16143 grep -v '^ *+' conftest.er1
>conftest.err
16145 cat conftest.err
>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try
='test -s conftest.$ac_objext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_type_long
=yes
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.
$ac_ext >&5
16167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16169 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16170 echo "${ECHO_T}$ac_cv_type_long" >&6
16172 echo "$as_me:$LINENO: checking size of long" >&5
16173 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16174 if test "${ac_cv_sizeof_long+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 if test "$ac_cv_type_long" = yes; then
16178 # The cast to unsigned long works around a bug in the HP C Compiler
16179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16181 # This bug is HP SR number 8606223364.
16182 if test "$cross_compiling" = yes; then
16183 # Depending upon the size, compute the lo and hi bounds.
16184 cat >conftest.
$ac_ext <<_ACEOF
16187 cat confdefs.h
>>conftest.
$ac_ext
16188 cat >>conftest.
$ac_ext <<_ACEOF
16189 /* end confdefs.h. */
16190 $ac_includes_default
16194 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16201 rm -f conftest.
$ac_objext
16202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16203 (eval $ac_compile) 2>conftest.er1
16205 grep -v '^ *+' conftest.er1
>conftest.err
16207 cat conftest.err
>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); } &&
16210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; } &&
16216 { ac_try
='test -s conftest.$ac_objext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16224 cat >conftest.
$ac_ext <<_ACEOF
16227 cat confdefs.h
>>conftest.
$ac_ext
16228 cat >>conftest.
$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16234 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16241 rm -f conftest.
$ac_objext
16242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16243 (eval $ac_compile) 2>conftest.er1
16245 grep -v '^ *+' conftest.er1
>conftest.err
16247 cat conftest.err
>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); } &&
16250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252 (eval $ac_try) 2>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); }; } &&
16256 { ac_try
='test -s conftest.$ac_objext'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; }; then
16262 ac_hi
=$ac_mid; break
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.
$ac_ext >&5
16267 ac_lo
=`expr $ac_mid + 1`
16268 if test $ac_lo -le $ac_mid; then
16272 ac_mid
=`expr 2 '*' $ac_mid + 1`
16274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.
$ac_ext >&5
16280 cat >conftest.
$ac_ext <<_ACEOF
16283 cat confdefs.h
>>conftest.
$ac_ext
16284 cat >>conftest.
$ac_ext <<_ACEOF
16285 /* end confdefs.h. */
16286 $ac_includes_default
16290 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16297 rm -f conftest.
$ac_objext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16299 (eval $ac_compile) 2>conftest.er1
16301 grep -v '^ *+' conftest.er1
>conftest.err
16303 cat conftest.err
>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } &&
16306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; } &&
16312 { ac_try
='test -s conftest.$ac_objext'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; }; then
16320 cat >conftest.
$ac_ext <<_ACEOF
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16330 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16337 rm -f conftest.
$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>conftest.er1
16341 grep -v '^ *+' conftest.er1
>conftest.err
16343 cat conftest.err
>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try
='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_lo
=$ac_mid; break
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 ac_hi
=`expr '(' $ac_mid ')' - 1`
16364 if test $ac_mid -le $ac_hi; then
16368 ac_mid
=`expr 2 '*' $ac_mid`
16370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16381 # Binary search between lo and hi bounds.
16382 while test "x$ac_lo" != "x$ac_hi"; do
16383 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16384 cat >conftest.
$ac_ext <<_ACEOF
16387 cat confdefs.h
>>conftest.
$ac_ext
16388 cat >>conftest.
$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 $ac_includes_default
16394 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16401 rm -f conftest.
$ac_objext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16403 (eval $ac_compile) 2>conftest.er1
16405 grep -v '^ *+' conftest.er1
>conftest.err
16407 cat conftest.err
>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } &&
16410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; } &&
16416 { ac_try
='test -s conftest.$ac_objext'
16417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16418 (eval $ac_try) 2>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }; }; then
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.
$ac_ext >&5
16427 ac_lo
=`expr '(' $ac_mid ')' + 1`
16429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16432 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16433 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16434 See \`config.log' for more details." >&5
16435 echo "$as_me: error: cannot compute sizeof (long), 77
16436 See \`config.log' for more details." >&2;}
16437 { (exit 1); exit 1; }; } ;;
16440 if test "$cross_compiling" = yes; then
16441 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16442 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16443 { (exit 1); exit 1; }; }
16445 cat >conftest.
$ac_ext <<_ACEOF
16448 cat confdefs.h
>>conftest.
$ac_ext
16449 cat >>conftest.
$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16452 long longval () { return (long) (sizeof (long)); }
16453 unsigned long ulongval () { return (long) (sizeof (long)); }
16455 #include <stdlib.h>
16460 FILE *f = fopen ("conftest.val", "w");
16463 if (((long) (sizeof (long))) < 0)
16465 long i = longval ();
16466 if (i != ((long) (sizeof (long))))
16468 fprintf (f, "%ld\n", i);
16472 unsigned long i = ulongval ();
16473 if (i != ((long) (sizeof (long))))
16475 fprintf (f, "%lu\n", i);
16477 exit (ferror (f) || fclose (f) != 0);
16483 rm -f conftest
$ac_exeext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16485 (eval $ac_link) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_cv_sizeof_long
=`cat conftest.val`
16496 echo "$as_me: program exited with status $ac_status" >&5
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.
$ac_ext >&5
16500 ( exit $ac_status )
16501 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16502 See \`config.log' for more details." >&5
16503 echo "$as_me: error: cannot compute sizeof (long), 77
16504 See \`config.log' for more details." >&2;}
16505 { (exit 1); exit 1; }; }
16507 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16512 ac_cv_sizeof_long
=0
16515 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16516 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16517 cat >>confdefs.h
<<_ACEOF
16518 #define SIZEOF_LONG $ac_cv_sizeof_long
16522 echo "$as_me:$LINENO: checking for size_t" >&5
16523 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16524 if test "${ac_cv_type_size_t+set}" = set; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 cat >conftest.
$ac_ext <<_ACEOF
16530 cat confdefs.h
>>conftest.
$ac_ext
16531 cat >>conftest.
$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 $ac_includes_default
16539 if (sizeof (size_t))
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" || test ! -s conftest.err'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; } &&
16560 { ac_try
='test -s conftest.$ac_objext'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; }; then
16566 ac_cv_type_size_t
=yes
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.
$ac_ext >&5
16571 ac_cv_type_size_t
=no
16573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16575 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16576 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16578 echo "$as_me:$LINENO: checking size of size_t" >&5
16579 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16580 if test "${ac_cv_sizeof_size_t+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 if test "$ac_cv_type_size_t" = yes; then
16584 # The cast to unsigned long works around a bug in the HP C Compiler
16585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16587 # This bug is HP SR number 8606223364.
16588 if test "$cross_compiling" = yes; then
16589 # Depending upon the size, compute the lo and hi bounds.
16590 cat >conftest.
$ac_ext <<_ACEOF
16593 cat confdefs.h
>>conftest.
$ac_ext
16594 cat >>conftest.
$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596 $ac_includes_default
16600 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16607 rm -f conftest.
$ac_objext
16608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16609 (eval $ac_compile) 2>conftest.er1
16611 grep -v '^ *+' conftest.er1
>conftest.err
16613 cat conftest.err
>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } &&
16616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; } &&
16622 { ac_try
='test -s conftest.$ac_objext'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; }; then
16630 cat >conftest.
$ac_ext <<_ACEOF
16633 cat confdefs.h
>>conftest.
$ac_ext
16634 cat >>conftest.
$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16636 $ac_includes_default
16640 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16647 rm -f conftest.
$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16651 grep -v '^ *+' conftest.er1
>conftest.err
16653 cat conftest.err
>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try
='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_hi
=$ac_mid; break
16670 echo "$as_me: failed program was:" >&5
16671 sed 's/^/| /' conftest.
$ac_ext >&5
16673 ac_lo
=`expr $ac_mid + 1`
16674 if test $ac_lo -le $ac_mid; then
16678 ac_mid
=`expr 2 '*' $ac_mid + 1`
16680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.
$ac_ext >&5
16686 cat >conftest.
$ac_ext <<_ACEOF
16689 cat confdefs.h
>>conftest.
$ac_ext
16690 cat >>conftest.
$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16692 $ac_includes_default
16696 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16703 rm -f conftest.
$ac_objext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 (eval $ac_compile) 2>conftest.er1
16707 grep -v '^ *+' conftest.er1
>conftest.err
16709 cat conftest.err
>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try
='test -s conftest.$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16726 cat >conftest.
$ac_ext <<_ACEOF
16729 cat confdefs.h
>>conftest.
$ac_ext
16730 cat >>conftest.
$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16736 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16743 rm -f conftest.
$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16747 grep -v '^ *+' conftest.er1
>conftest.err
16749 cat conftest.err
>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try
='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 ac_lo
=$ac_mid; break
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.
$ac_ext >&5
16769 ac_hi
=`expr '(' $ac_mid ')' - 1`
16770 if test $ac_mid -le $ac_hi; then
16774 ac_mid
=`expr 2 '*' $ac_mid`
16776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16787 # Binary search between lo and hi bounds.
16788 while test "x$ac_lo" != "x$ac_hi"; do
16789 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16790 cat >conftest.
$ac_ext <<_ACEOF
16793 cat confdefs.h
>>conftest.
$ac_ext
16794 cat >>conftest.
$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 $ac_includes_default
16800 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16807 rm -f conftest.
$ac_objext
16808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16809 (eval $ac_compile) 2>conftest.er1
16811 grep -v '^ *+' conftest.er1
>conftest.err
16813 cat conftest.err
>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } &&
16816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; } &&
16822 { ac_try
='test -s conftest.$ac_objext'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; }; then
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.
$ac_ext >&5
16833 ac_lo
=`expr '(' $ac_mid ')' + 1`
16835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16838 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16839 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16840 See \`config.log' for more details." >&5
16841 echo "$as_me: error: cannot compute sizeof (size_t), 77
16842 See \`config.log' for more details." >&2;}
16843 { (exit 1); exit 1; }; } ;;
16846 if test "$cross_compiling" = yes; then
16847 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16848 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16849 { (exit 1); exit 1; }; }
16851 cat >conftest.
$ac_ext <<_ACEOF
16854 cat confdefs.h
>>conftest.
$ac_ext
16855 cat >>conftest.
$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 $ac_includes_default
16858 long longval () { return (long) (sizeof (size_t)); }
16859 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16861 #include <stdlib.h>
16866 FILE *f = fopen ("conftest.val", "w");
16869 if (((long) (sizeof (size_t))) < 0)
16871 long i = longval ();
16872 if (i != ((long) (sizeof (size_t))))
16874 fprintf (f, "%ld\n", i);
16878 unsigned long i = ulongval ();
16879 if (i != ((long) (sizeof (size_t))))
16881 fprintf (f, "%lu\n", i);
16883 exit (ferror (f) || fclose (f) != 0);
16889 rm -f conftest
$ac_exeext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16891 (eval $ac_link) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16900 ac_cv_sizeof_size_t
=`cat conftest.val`
16902 echo "$as_me: program exited with status $ac_status" >&5
16903 echo "$as_me: failed program was:" >&5
16904 sed 's/^/| /' conftest.
$ac_ext >&5
16906 ( exit $ac_status )
16907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16908 See \`config.log' for more details." >&5
16909 echo "$as_me: error: cannot compute sizeof (size_t), 77
16910 See \`config.log' for more details." >&2;}
16911 { (exit 1); exit 1; }; }
16913 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16918 ac_cv_sizeof_size_t
=0
16921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16922 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16923 cat >>confdefs.h
<<_ACEOF
16924 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16931 echo "$as_me:$LINENO: checking for long long" >&5
16932 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16933 if test "${ac_cv_type_long_long+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 cat >conftest.
$ac_ext <<_ACEOF
16939 cat confdefs.h
>>conftest.
$ac_ext
16940 cat >>conftest.
$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 $ac_includes_default
16946 if ((long long *) 0)
16948 if (sizeof (long long))
16954 rm -f conftest.
$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try
='test -s conftest.$ac_objext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 ac_cv_type_long_long
=yes
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.
$ac_ext >&5
16980 ac_cv_type_long_long
=no
16982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16984 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16985 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16987 echo "$as_me:$LINENO: checking size of long long" >&5
16988 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16989 if test "${ac_cv_sizeof_long_long+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 if test "$ac_cv_type_long_long" = yes; then
16993 # The cast to unsigned long works around a bug in the HP C Compiler
16994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16996 # This bug is HP SR number 8606223364.
16997 if test "$cross_compiling" = yes; then
16998 # Depending upon the size, compute the lo and hi bounds.
16999 cat >conftest.
$ac_ext <<_ACEOF
17002 cat confdefs.h
>>conftest.
$ac_ext
17003 cat >>conftest.
$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005 $ac_includes_default
17009 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17016 rm -f conftest.
$ac_objext
17017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17018 (eval $ac_compile) 2>conftest.er1
17020 grep -v '^ *+' conftest.er1
>conftest.err
17022 cat conftest.err
>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } &&
17025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try
='test -s conftest.$ac_objext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17039 cat >conftest.
$ac_ext <<_ACEOF
17042 cat confdefs.h
>>conftest.
$ac_ext
17043 cat >>conftest.
$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17049 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17056 rm -f conftest.
$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>conftest.er1
17060 grep -v '^ *+' conftest.er1
>conftest.err
17062 cat conftest.err
>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17067 (eval $ac_try) 2>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); }; } &&
17071 { ac_try
='test -s conftest.$ac_objext'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; }; then
17077 ac_hi
=$ac_mid; break
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.
$ac_ext >&5
17082 ac_lo
=`expr $ac_mid + 1`
17083 if test $ac_lo -le $ac_mid; then
17087 ac_mid
=`expr 2 '*' $ac_mid + 1`
17089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.
$ac_ext >&5
17095 cat >conftest.
$ac_ext <<_ACEOF
17098 cat confdefs.h
>>conftest.
$ac_ext
17099 cat >>conftest.
$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 $ac_includes_default
17105 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17112 rm -f conftest.
$ac_objext
17113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17114 (eval $ac_compile) 2>conftest.er1
17116 grep -v '^ *+' conftest.er1
>conftest.err
17118 cat conftest.err
>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); } &&
17121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; } &&
17127 { ac_try
='test -s conftest.$ac_objext'
17128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129 (eval $ac_try) 2>&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; }; then
17135 cat >conftest.
$ac_ext <<_ACEOF
17138 cat confdefs.h
>>conftest.
$ac_ext
17139 cat >>conftest.
$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 $ac_includes_default
17145 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17152 rm -f conftest.
$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17156 grep -v '^ *+' conftest.er1
>conftest.err
17158 cat conftest.err
>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try
='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_lo
=$ac_mid; break
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.
$ac_ext >&5
17178 ac_hi
=`expr '(' $ac_mid ')' - 1`
17179 if test $ac_mid -le $ac_hi; then
17183 ac_mid
=`expr 2 '*' $ac_mid`
17185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.
$ac_ext >&5
17193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17196 # Binary search between lo and hi bounds.
17197 while test "x$ac_lo" != "x$ac_hi"; do
17198 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17216 rm -f conftest.
$ac_objext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17218 (eval $ac_compile) 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; } &&
17231 { ac_try
='test -s conftest.$ac_objext'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; }; then
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.
$ac_ext >&5
17242 ac_lo
=`expr '(' $ac_mid ')' + 1`
17244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17247 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17248 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17249 See \`config.log' for more details." >&5
17250 echo "$as_me: error: cannot compute sizeof (long long), 77
17251 See \`config.log' for more details." >&2;}
17252 { (exit 1); exit 1; }; } ;;
17255 if test "$cross_compiling" = yes; then
17256 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17257 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17258 { (exit 1); exit 1; }; }
17260 cat >conftest.
$ac_ext <<_ACEOF
17263 cat confdefs.h
>>conftest.
$ac_ext
17264 cat >>conftest.
$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 $ac_includes_default
17267 long longval () { return (long) (sizeof (long long)); }
17268 unsigned long ulongval () { return (long) (sizeof (long long)); }
17270 #include <stdlib.h>
17275 FILE *f = fopen ("conftest.val", "w");
17278 if (((long) (sizeof (long long))) < 0)
17280 long i = longval ();
17281 if (i != ((long) (sizeof (long long))))
17283 fprintf (f, "%ld\n", i);
17287 unsigned long i = ulongval ();
17288 if (i != ((long) (sizeof (long long))))
17290 fprintf (f, "%lu\n", i);
17292 exit (ferror (f) || fclose (f) != 0);
17298 rm -f conftest
$ac_exeext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17300 (eval $ac_link) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17309 ac_cv_sizeof_long_long
=`cat conftest.val`
17311 echo "$as_me: program exited with status $ac_status" >&5
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.
$ac_ext >&5
17315 ( exit $ac_status )
17316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17317 See \`config.log' for more details." >&5
17318 echo "$as_me: error: cannot compute sizeof (long long), 77
17319 See \`config.log' for more details." >&2;}
17320 { (exit 1); exit 1; }; }
17322 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17327 ac_cv_sizeof_long_long
=0
17330 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17331 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17332 cat >>confdefs.h
<<_ACEOF
17333 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17339 echo "$as_me:$LINENO: checking for long long" >&5
17340 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17341 if test "${ac_cv_type_long_long+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 cat >conftest.
$ac_ext <<_ACEOF
17347 cat confdefs.h
>>conftest.
$ac_ext
17348 cat >>conftest.
$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 $ac_includes_default
17354 if ((long long *) 0)
17356 if (sizeof (long long))
17362 rm -f conftest.
$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17366 grep -v '^ *+' conftest.er1
>conftest.err
17368 cat conftest.err
>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try
='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_cv_type_long_long
=yes
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17388 ac_cv_type_long_long
=no
17390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17392 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17393 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17395 echo "$as_me:$LINENO: checking size of long long" >&5
17396 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17397 if test "${ac_cv_sizeof_long_long+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 if test "$ac_cv_type_long_long" = yes; then
17401 # The cast to unsigned long works around a bug in the HP C Compiler
17402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17404 # This bug is HP SR number 8606223364.
17405 if test "$cross_compiling" = yes; then
17406 # Depending upon the size, compute the lo and hi bounds.
17407 cat >conftest.
$ac_ext <<_ACEOF
17410 cat confdefs.h
>>conftest.
$ac_ext
17411 cat >>conftest.
$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 $ac_includes_default
17417 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17424 rm -f conftest.
$ac_objext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17426 (eval $ac_compile) 2>conftest.er1
17428 grep -v '^ *+' conftest.er1
>conftest.err
17430 cat conftest.err
>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; } &&
17439 { ac_try
='test -s conftest.$ac_objext'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; }; then
17447 cat >conftest.
$ac_ext <<_ACEOF
17450 cat confdefs.h
>>conftest.
$ac_ext
17451 cat >>conftest.
$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17453 $ac_includes_default
17457 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17464 rm -f conftest.
$ac_objext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17466 (eval $ac_compile) 2>conftest.er1
17468 grep -v '^ *+' conftest.er1
>conftest.err
17470 cat conftest.err
>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; } &&
17479 { ac_try
='test -s conftest.$ac_objext'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; }; then
17485 ac_hi
=$ac_mid; break
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.
$ac_ext >&5
17490 ac_lo
=`expr $ac_mid + 1`
17491 if test $ac_lo -le $ac_mid; then
17495 ac_mid
=`expr 2 '*' $ac_mid + 1`
17497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.
$ac_ext >&5
17503 cat >conftest.
$ac_ext <<_ACEOF
17506 cat confdefs.h
>>conftest.
$ac_ext
17507 cat >>conftest.
$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17509 $ac_includes_default
17513 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17520 rm -f conftest.
$ac_objext
17521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17522 (eval $ac_compile) 2>conftest.er1
17524 grep -v '^ *+' conftest.er1
>conftest.err
17526 cat conftest.err
>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); } &&
17529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; } &&
17535 { ac_try
='test -s conftest.$ac_objext'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; }; then
17543 cat >conftest.
$ac_ext <<_ACEOF
17546 cat confdefs.h
>>conftest.
$ac_ext
17547 cat >>conftest.
$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 $ac_includes_default
17553 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17560 rm -f conftest.
$ac_objext
17561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17562 (eval $ac_compile) 2>conftest.er1
17564 grep -v '^ *+' conftest.er1
>conftest.err
17566 cat conftest.err
>&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); } &&
17569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try
='test -s conftest.$ac_objext'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17581 ac_lo
=$ac_mid; break
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.
$ac_ext >&5
17586 ac_hi
=`expr '(' $ac_mid ')' - 1`
17587 if test $ac_mid -le $ac_hi; then
17591 ac_mid
=`expr 2 '*' $ac_mid`
17593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.
$ac_ext >&5
17601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17604 # Binary search between lo and hi bounds.
17605 while test "x$ac_lo" != "x$ac_hi"; do
17606 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17607 cat >conftest.
$ac_ext <<_ACEOF
17610 cat confdefs.h
>>conftest.
$ac_ext
17611 cat >>conftest.
$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17613 $ac_includes_default
17617 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17624 rm -f conftest.
$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17628 grep -v '^ *+' conftest.er1
>conftest.err
17630 cat conftest.err
>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try
='test -s conftest.$ac_objext'
17640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641 (eval $ac_try) 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; }; then
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 ac_lo
=`expr '(' $ac_mid ')' + 1`
17652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17655 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17657 See \`config.log' for more details." >&5
17658 echo "$as_me: error: cannot compute sizeof (long long), 77
17659 See \`config.log' for more details." >&2;}
17660 { (exit 1); exit 1; }; } ;;
17663 if test "$cross_compiling" = yes; then
17664 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17665 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17666 { (exit 1); exit 1; }; }
17668 cat >conftest.
$ac_ext <<_ACEOF
17671 cat confdefs.h
>>conftest.
$ac_ext
17672 cat >>conftest.
$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674 $ac_includes_default
17675 long longval () { return (long) (sizeof (long long)); }
17676 unsigned long ulongval () { return (long) (sizeof (long long)); }
17678 #include <stdlib.h>
17683 FILE *f = fopen ("conftest.val", "w");
17686 if (((long) (sizeof (long long))) < 0)
17688 long i = longval ();
17689 if (i != ((long) (sizeof (long long))))
17691 fprintf (f, "%ld\n", i);
17695 unsigned long i = ulongval ();
17696 if (i != ((long) (sizeof (long long))))
17698 fprintf (f, "%lu\n", i);
17700 exit (ferror (f) || fclose (f) != 0);
17706 rm -f conftest
$ac_exeext
17707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17708 (eval $ac_link) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; }; then
17717 ac_cv_sizeof_long_long
=`cat conftest.val`
17719 echo "$as_me: program exited with status $ac_status" >&5
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.
$ac_ext >&5
17723 ( exit $ac_status )
17724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17725 See \`config.log' for more details." >&5
17726 echo "$as_me: error: cannot compute sizeof (long long), 77
17727 See \`config.log' for more details." >&2;}
17728 { (exit 1); exit 1; }; }
17730 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17735 ac_cv_sizeof_long_long
=0
17738 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17739 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17740 cat >>confdefs.h
<<_ACEOF
17741 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17745 if test "$ac_cv_sizeof_long_long" != "0"; then
17746 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17750 echo "$as_me:$LINENO: checking for long long" >&5
17751 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17752 if test "${ac_cv_type_long_long+set}" = set; then
17753 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 cat >conftest.
$ac_ext <<_ACEOF
17758 cat confdefs.h
>>conftest.
$ac_ext
17759 cat >>conftest.
$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 $ac_includes_default
17765 if ((long long *) 0)
17767 if (sizeof (long long))
17773 rm -f conftest.
$ac_objext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>conftest.er1
17777 grep -v '^ *+' conftest.er1
>conftest.err
17779 cat conftest.err
>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try
='test -s conftest.$ac_objext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 ac_cv_type_long_long
=yes
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.
$ac_ext >&5
17799 ac_cv_type_long_long
=no
17801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17803 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17804 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17806 echo "$as_me:$LINENO: checking size of long long" >&5
17807 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17808 if test "${ac_cv_sizeof_long_long+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17811 if test "$ac_cv_type_long_long" = yes; then
17812 # The cast to unsigned long works around a bug in the HP C Compiler
17813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17815 # This bug is HP SR number 8606223364.
17816 if test "$cross_compiling" = yes; then
17817 # Depending upon the size, compute the lo and hi bounds.
17818 cat >conftest.
$ac_ext <<_ACEOF
17821 cat confdefs.h
>>conftest.
$ac_ext
17822 cat >>conftest.
$ac_ext <<_ACEOF
17823 /* end confdefs.h. */
17824 $ac_includes_default
17828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17835 rm -f conftest.
$ac_objext
17836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17837 (eval $ac_compile) 2>conftest.er1
17839 grep -v '^ *+' conftest.er1
>conftest.err
17841 cat conftest.err
>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } &&
17844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; } &&
17850 { ac_try
='test -s conftest.$ac_objext'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; }; then
17858 cat >conftest.
$ac_ext <<_ACEOF
17861 cat confdefs.h
>>conftest.
$ac_ext
17862 cat >>conftest.
$ac_ext <<_ACEOF
17863 /* end confdefs.h. */
17864 $ac_includes_default
17868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17875 rm -f conftest.
$ac_objext
17876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17877 (eval $ac_compile) 2>conftest.er1
17879 grep -v '^ *+' conftest.er1
>conftest.err
17881 cat conftest.err
>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } &&
17884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try
='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 ac_hi
=$ac_mid; break
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.
$ac_ext >&5
17901 ac_lo
=`expr $ac_mid + 1`
17902 if test $ac_lo -le $ac_mid; then
17906 ac_mid
=`expr 2 '*' $ac_mid + 1`
17908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.
$ac_ext >&5
17914 cat >conftest.
$ac_ext <<_ACEOF
17917 cat confdefs.h
>>conftest.
$ac_ext
17918 cat >>conftest.
$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 $ac_includes_default
17924 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17931 rm -f conftest.
$ac_objext
17932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17933 (eval $ac_compile) 2>conftest.er1
17935 grep -v '^ *+' conftest.er1
>conftest.err
17937 cat conftest.err
>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); } &&
17940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; } &&
17946 { ac_try
='test -s conftest.$ac_objext'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; }; then
17954 cat >conftest.
$ac_ext <<_ACEOF
17957 cat confdefs.h
>>conftest.
$ac_ext
17958 cat >>conftest.
$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 $ac_includes_default
17964 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17971 rm -f conftest.
$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17975 grep -v '^ *+' conftest.er1
>conftest.err
17977 cat conftest.err
>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try
='test -s conftest.$ac_objext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 ac_lo
=$ac_mid; break
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.
$ac_ext >&5
17997 ac_hi
=`expr '(' $ac_mid ')' - 1`
17998 if test $ac_mid -le $ac_hi; then
18002 ac_mid
=`expr 2 '*' $ac_mid`
18004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18007 echo "$as_me: failed program was:" >&5
18008 sed 's/^/| /' conftest.
$ac_ext >&5
18012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18015 # Binary search between lo and hi bounds.
18016 while test "x$ac_lo" != "x$ac_hi"; do
18017 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18018 cat >conftest.
$ac_ext <<_ACEOF
18021 cat confdefs.h
>>conftest.
$ac_ext
18022 cat >>conftest.
$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18024 $ac_includes_default
18028 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18035 rm -f conftest.
$ac_objext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037 (eval $ac_compile) 2>conftest.er1
18039 grep -v '^ *+' conftest.er1
>conftest.err
18041 cat conftest.err
>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try
='test -s conftest.$ac_objext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.
$ac_ext >&5
18061 ac_lo
=`expr '(' $ac_mid ')' + 1`
18063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18066 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18067 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18068 See \`config.log' for more details." >&5
18069 echo "$as_me: error: cannot compute sizeof (long long), 77
18070 See \`config.log' for more details." >&2;}
18071 { (exit 1); exit 1; }; } ;;
18074 if test "$cross_compiling" = yes; then
18075 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18076 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18077 { (exit 1); exit 1; }; }
18079 cat >conftest.
$ac_ext <<_ACEOF
18082 cat confdefs.h
>>conftest.
$ac_ext
18083 cat >>conftest.
$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18086 long longval () { return (long) (sizeof (long long)); }
18087 unsigned long ulongval () { return (long) (sizeof (long long)); }
18089 #include <stdlib.h>
18094 FILE *f = fopen ("conftest.val", "w");
18097 if (((long) (sizeof (long long))) < 0)
18099 long i = longval ();
18100 if (i != ((long) (sizeof (long long))))
18102 fprintf (f, "%ld\n", i);
18106 unsigned long i = ulongval ();
18107 if (i != ((long) (sizeof (long long))))
18109 fprintf (f, "%lu\n", i);
18111 exit (ferror (f) || fclose (f) != 0);
18117 rm -f conftest
$ac_exeext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18119 (eval $ac_link) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_sizeof_long_long
=`cat conftest.val`
18130 echo "$as_me: program exited with status $ac_status" >&5
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18134 ( exit $ac_status )
18135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18136 See \`config.log' for more details." >&5
18137 echo "$as_me: error: cannot compute sizeof (long long), 77
18138 See \`config.log' for more details." >&2;}
18139 { (exit 1); exit 1; }; }
18141 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18146 ac_cv_sizeof_long_long
=0
18149 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18150 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18151 cat >>confdefs.h
<<_ACEOF
18152 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18158 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18159 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18160 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18161 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 if test "$cross_compiling" = yes; then
18168 wx_cv_sizeof_wchar_t
=0
18171 wx_cv_sizeof_wchar_t
=4
18177 cat >conftest.
$ac_ext <<_ACEOF
18180 cat confdefs.h
>>conftest.
$ac_ext
18181 cat >>conftest.
$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18184 /* DJGPP only has fake wchar_t: */
18186 # error "fake wchar_t"
18188 #ifdef HAVE_WCHAR_H
18190 # include <stddef.h>
18192 # include <wchar.h>
18194 #ifdef HAVE_STDLIB_H
18195 # include <stdlib.h>
18200 FILE *f=fopen("conftestval", "w");
18202 fprintf(f, "%i", sizeof(wchar_t));
18207 rm -f conftest
$ac_exeext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18209 (eval $ac_link) 2>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; }; then
18218 wx_cv_sizeof_wchar_t
=`cat conftestval`
18220 echo "$as_me: program exited with status $ac_status" >&5
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.
$ac_ext >&5
18224 ( exit $ac_status )
18225 wx_cv_sizeof_wchar_t
=0
18227 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18231 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18232 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18234 cat >>confdefs.h
<<_ACEOF
18235 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18239 echo "$as_me:$LINENO: checking for va_copy" >&5
18240 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18241 if test "${wx_cv_func_va_copy+set}" = set; then
18242 echo $ECHO_N "(cached) $ECHO_C" >&6
18245 cat >conftest.
$ac_ext <<_ACEOF
18247 #include <stdarg.h>
18248 void foo(char *f, ...)
18257 rm -f conftest.
$ac_objext conftest
$ac_exeext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18259 (eval $ac_link) 2>conftest.er1
18261 grep -v '^ *+' conftest.er1
>conftest.err
18263 cat conftest.err
>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try
='test -s conftest$ac_exeext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 wx_cv_func_va_copy
=yes
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.
$ac_ext >&5
18283 wx_cv_func_va_copy
=no
18286 rm -f conftest.err conftest.
$ac_objext \
18287 conftest
$ac_exeext conftest.
$ac_ext
18291 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18292 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18294 if test $wx_cv_func_va_copy = "yes"; then
18295 cat >>confdefs.h
<<\_ACEOF
18296 #define HAVE_VA_COPY 1
18300 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18301 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18302 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18303 echo $ECHO_N "(cached) $ECHO_C" >&6
18306 if test "$cross_compiling" = yes; then
18307 wx_cv_type_va_list_lvalue
=yes
18310 cat >conftest.
$ac_ext <<_ACEOF
18312 #include <stdarg.h>
18313 int foo(char *f, ...)
18318 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18326 return foo("hi", 17);
18329 rm -f conftest
$ac_exeext
18330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18331 (eval $ac_link) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 wx_cv_type_va_list_lvalue
=yes
18342 echo "$as_me: program exited with status $ac_status" >&5
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.
$ac_ext >&5
18346 ( exit $ac_status )
18347 wx_cv_type_va_list_lvalue
=no
18349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18354 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18355 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18357 if test $wx_cv_type_va_list_lvalue != "yes"; then
18358 cat >>confdefs.h
<<\_ACEOF
18359 #define VA_LIST_IS_ARRAY 1
18365 # Check whether --enable-largefile or --disable-largefile was given.
18366 if test "${enable_largefile+set}" = set; then
18367 enableval
="$enable_largefile"
18370 if test "$enable_largefile" != no
; then
18373 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18374 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18375 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18379 cat >conftest.
$ac_ext <<_ACEOF
18382 cat confdefs.h
>>conftest.
$ac_ext
18383 cat >>conftest.
$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385 #define _FILE_OFFSET_BITS 64
18386 #include <sys/types.h>
18391 unsigned int field: sizeof(off_t) == 8;
18398 rm -f conftest.
$ac_objext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18400 (eval $ac_compile) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1
>conftest.err
18404 cat conftest.err
>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18409 (eval $ac_try) 2>&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); }; } &&
18413 { ac_try
='test -s conftest.$ac_objext'
18414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18415 (eval $ac_try) 2>&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); }; }; then
18419 ac_cv_sys_file_offset_bits
=64
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.
$ac_ext >&5
18424 ac_cv_sys_file_offset_bits
=no
18426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18430 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18431 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18433 if test "$ac_cv_sys_file_offset_bits" != no
; then
18435 cat >>confdefs.h
<<_ACEOF
18436 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18441 if test "x$wx_largefile" != "xyes"; then
18443 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18444 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18445 if test "${ac_cv_sys_large_files+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 cat >conftest.
$ac_ext <<_ACEOF
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 #define _LARGE_FILES 1
18456 #include <sys/types.h>
18461 unsigned int field: sizeof(off_t) == 8;
18468 rm -f conftest.
$ac_objext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18470 (eval $ac_compile) 2>conftest.er1
18472 grep -v '^ *+' conftest.er1
>conftest.err
18474 cat conftest.err
>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } &&
18477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; } &&
18483 { ac_try
='test -s conftest.$ac_objext'
18484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 (eval $ac_try) 2>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; }; then
18489 ac_cv_sys_large_files
=1
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.
$ac_ext >&5
18494 ac_cv_sys_large_files
=no
18496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18500 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18501 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18503 if test "$ac_cv_sys_large_files" != no
; then
18505 cat >>confdefs.h
<<_ACEOF
18506 #define _LARGE_FILES $ac_cv_sys_large_files
18513 echo "$as_me:$LINENO: checking if large file support is available" >&5
18514 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18515 if test "x$wx_largefile" = "xyes"; then
18516 cat >>confdefs.h
<<\_ACEOF
18517 #define HAVE_LARGEFILE_SUPPORT 1
18521 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18522 echo "${ECHO_T}$wx_largefile" >&6
18526 if test "x$wx_largefile" = "xyes"; then
18527 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18528 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18530 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18532 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18535 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18536 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18537 if test "${ac_cv_c_bigendian+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 ac_cv_c_bigendian
=unknown
18541 # See if sys/param.h defines the BYTE_ORDER macro.
18542 cat >conftest.
$ac_ext <<_ACEOF
18545 cat confdefs.h
>>conftest.
$ac_ext
18546 cat >>conftest.
$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 #include <sys/types.h>
18549 #include <sys/param.h>
18554 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18555 bogus endian macros
18561 rm -f conftest.
$ac_objext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18563 (eval $ac_compile) 2>conftest.er1
18565 grep -v '^ *+' conftest.er1
>conftest.err
18567 cat conftest.err
>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } &&
18570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; } &&
18576 { ac_try
='test -s conftest.$ac_objext'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; }; then
18582 # It does; now see whether it defined to BIG_ENDIAN or not.
18583 cat >conftest.
$ac_ext <<_ACEOF
18586 cat confdefs.h
>>conftest.
$ac_ext
18587 cat >>conftest.
$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18589 #include <sys/types.h>
18590 #include <sys/param.h>
18595 #if BYTE_ORDER != BIG_ENDIAN
18602 rm -f conftest.
$ac_objext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18604 (eval $ac_compile) 2>conftest.er1
18606 grep -v '^ *+' conftest.er1
>conftest.err
18608 cat conftest.err
>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try
='test -s conftest.$ac_objext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_c_bigendian
=yes
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.
$ac_ext >&5
18628 ac_cv_c_bigendian
=no
18630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.
$ac_ext >&5
18636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18637 if test $ac_cv_c_bigendian = unknown
; then
18638 if test "$cross_compiling" = yes; then
18639 ac_cv_c_bigendian
=unknown
18641 cat >conftest.
$ac_ext <<_ACEOF
18644 cat confdefs.h
>>conftest.
$ac_ext
18645 cat >>conftest.
$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18648 /* Are we little or big endian? From Harbison&Steele. */
18652 char c[sizeof (long)];
18655 exit (u.c[sizeof (long) - 1] == 1);
18658 rm -f conftest
$ac_exeext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18660 (eval $ac_link) 2>&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; }; then
18669 ac_cv_c_bigendian
=no
18671 echo "$as_me: program exited with status $ac_status" >&5
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.
$ac_ext >&5
18675 ( exit $ac_status )
18676 ac_cv_c_bigendian
=yes
18678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18682 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18683 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18684 if test $ac_cv_c_bigendian = unknown
; then
18685 { 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
18686 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;}
18688 if test $ac_cv_c_bigendian = yes; then
18689 cat >>confdefs.h
<<\_ACEOF
18690 #define WORDS_BIGENDIAN 1
18697 ac_cpp
='$CXXCPP $CPPFLAGS'
18698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18701 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18702 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18703 if test -z "$CXXCPP"; then
18704 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 # Double quotes because CXXCPP needs to be expanded
18708 for CXXCPP
in "$CXX -E" "/lib/cpp"
18710 ac_preproc_ok
=false
18711 for ac_cxx_preproc_warn_flag
in '' yes
18713 # Use a header file that comes with gcc, so configuring glibc
18714 # with a fresh cross-compiler works.
18715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18716 # <limits.h> exists even on freestanding compilers.
18717 # On the NeXT, cc -E runs the code through the compiler's parser,
18718 # not just through cpp. "Syntax error" is here to catch this case.
18719 cat >conftest.
$ac_ext <<_ACEOF
18722 cat confdefs.h
>>conftest.
$ac_ext
18723 cat >>conftest.
$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18726 # include <limits.h>
18728 # include <assert.h>
18732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18735 grep -v '^ *+' conftest.er1
>conftest.err
18737 cat conftest.err
>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } >/dev
/null
; then
18740 if test -s conftest.err
; then
18741 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18742 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18749 if test -z "$ac_cpp_err"; then
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.
$ac_ext >&5
18755 # Broken: fails on valid input.
18758 rm -f conftest.err conftest.
$ac_ext
18760 # OK, works on sane cases. Now check whether non-existent headers
18761 # can be detected and how.
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 #include <ac_nonexistent.h>
18770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18773 grep -v '^ *+' conftest.er1
>conftest.err
18775 cat conftest.err
>&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } >/dev
/null
; then
18778 if test -s conftest.err
; then
18779 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18780 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18787 if test -z "$ac_cpp_err"; then
18788 # Broken: success on invalid input.
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.
$ac_ext >&5
18794 # Passes both tests.
18798 rm -f conftest.err conftest.
$ac_ext
18801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18802 rm -f conftest.err conftest.
$ac_ext
18803 if $ac_preproc_ok; then
18808 ac_cv_prog_CXXCPP
=$CXXCPP
18811 CXXCPP
=$ac_cv_prog_CXXCPP
18813 ac_cv_prog_CXXCPP
=$CXXCPP
18815 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18816 echo "${ECHO_T}$CXXCPP" >&6
18817 ac_preproc_ok
=false
18818 for ac_cxx_preproc_warn_flag
in '' yes
18820 # Use a header file that comes with gcc, so configuring glibc
18821 # with a fresh cross-compiler works.
18822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18823 # <limits.h> exists even on freestanding compilers.
18824 # On the NeXT, cc -E runs the code through the compiler's parser,
18825 # not just through cpp. "Syntax error" is here to catch this case.
18826 cat >conftest.
$ac_ext <<_ACEOF
18829 cat confdefs.h
>>conftest.
$ac_ext
18830 cat >>conftest.
$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18833 # include <limits.h>
18835 # include <assert.h>
18839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18842 grep -v '^ *+' conftest.er1
>conftest.err
18844 cat conftest.err
>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); } >/dev
/null
; then
18847 if test -s conftest.err
; then
18848 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18849 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18856 if test -z "$ac_cpp_err"; then
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.
$ac_ext >&5
18862 # Broken: fails on valid input.
18865 rm -f conftest.err conftest.
$ac_ext
18867 # OK, works on sane cases. Now check whether non-existent headers
18868 # can be detected and how.
18869 cat >conftest.
$ac_ext <<_ACEOF
18872 cat confdefs.h
>>conftest.
$ac_ext
18873 cat >>conftest.
$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <ac_nonexistent.h>
18877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18878 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18880 grep -v '^ *+' conftest.er1
>conftest.err
18882 cat conftest.err
>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } >/dev
/null
; then
18885 if test -s conftest.err
; then
18886 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18887 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18894 if test -z "$ac_cpp_err"; then
18895 # Broken: success on invalid input.
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.
$ac_ext >&5
18901 # Passes both tests.
18905 rm -f conftest.err conftest.
$ac_ext
18908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18909 rm -f conftest.err conftest.
$ac_ext
18910 if $ac_preproc_ok; then
18913 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18914 See \`config.log' for more details." >&5
18915 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18916 See \`config.log' for more details." >&2;}
18917 { (exit 1); exit 1; }; }
18921 ac_cpp
='$CXXCPP $CPPFLAGS'
18922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18931 ac_cpp
='$CXXCPP $CPPFLAGS'
18932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18938 for ac_header
in iostream
18940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18942 echo "$as_me:$LINENO: checking for $ac_header" >&5
18943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18950 # Is the header compilable?
18951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18953 cat >conftest.
$ac_ext <<_ACEOF
18956 cat confdefs.h
>>conftest.
$ac_ext
18957 cat >>conftest.
$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 $ac_includes_default
18960 #include <$ac_header>
18962 rm -f conftest.
$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18966 grep -v '^ *+' conftest.er1
>conftest.err
18968 cat conftest.err
>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try
='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_header_compiler
=yes
18985 echo "$as_me: failed program was:" >&5
18986 sed 's/^/| /' conftest.
$ac_ext >&5
18988 ac_header_compiler
=no
18990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18992 echo "${ECHO_T}$ac_header_compiler" >&6
18994 # Is the header present?
18995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18997 cat >conftest.
$ac_ext <<_ACEOF
19000 cat confdefs.h
>>conftest.
$ac_ext
19001 cat >>conftest.
$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19003 #include <$ac_header>
19005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19008 grep -v '^ *+' conftest.er1
>conftest.err
19010 cat conftest.err
>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } >/dev
/null
; then
19013 if test -s conftest.err
; then
19014 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19015 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19022 if test -z "$ac_cpp_err"; then
19023 ac_header_preproc
=yes
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.
$ac_ext >&5
19028 ac_header_preproc
=no
19030 rm -f conftest.err conftest.
$ac_ext
19031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19032 echo "${ECHO_T}$ac_header_preproc" >&6
19034 # So? What about this header?
19035 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19041 ac_header_preproc
=yes
19044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19058 ## ----------------------------------------- ##
19059 ## Report this to wx-dev@lists.wxwidgets.org ##
19060 ## ----------------------------------------- ##
19063 sed "s/^/$as_me: WARNING: /" >&2
19066 echo "$as_me:$LINENO: checking for $ac_header" >&5
19067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19071 eval "$as_ac_Header=\$ac_header_preproc"
19073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19078 cat >>confdefs.h
<<_ACEOF
19079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19087 if test "$ac_cv_header_iostream" = "yes" ; then
19090 cat >>confdefs.h
<<\_ACEOF
19091 #define wxUSE_IOSTREAMH 1
19097 ac_cpp
='$CPP $CPPFLAGS'
19098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19105 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19106 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19107 if test "${wx_cv_cpp_bool+set}" = set; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 ac_cpp
='$CXXCPP $CPPFLAGS'
19115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19120 cat >conftest.
$ac_ext <<_ACEOF
19123 cat confdefs.h
>>conftest.
$ac_ext
19124 cat >>conftest.
$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19140 rm -f conftest.
$ac_objext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19142 (eval $ac_compile) 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
19149 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try
='test -s conftest.$ac_objext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.
$ac_ext >&5
19173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19176 ac_cpp
='$CPP $CPPFLAGS'
19177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19183 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19184 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19186 if test "$wx_cv_cpp_bool" = "yes"; then
19187 cat >>confdefs.h
<<\_ACEOF
19188 #define HAVE_BOOL 1
19195 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19196 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19197 if test "${wx_cv_explicit+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19204 ac_cpp
='$CXXCPP $CPPFLAGS'
19205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19217 class Foo { public: explicit Foo(int) {} };
19229 rm -f conftest.
$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19233 grep -v '^ *+' conftest.er1
>conftest.err
19235 cat conftest.err
>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; } &&
19244 { ac_try
='test -s conftest.$ac_objext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19251 cat >conftest.
$ac_ext <<_ACEOF
19254 cat confdefs.h
>>conftest.
$ac_ext
19255 cat >>conftest.
$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19258 class Foo { public: explicit Foo(int) {} };
19259 static void TakeFoo(const Foo& foo) { }
19272 rm -f conftest.
$ac_objext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19274 (eval $ac_compile) 2>conftest.er1
19276 grep -v '^ *+' conftest.er1
>conftest.err
19278 cat conftest.err
>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } &&
19281 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; } &&
19287 { ac_try
='test -s conftest.$ac_objext'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; }; then
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.
$ac_ext >&5
19301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.
$ac_ext >&5
19310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19313 ac_cpp
='$CPP $CPPFLAGS'
19314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19320 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19321 echo "${ECHO_T}$wx_cv_explicit" >&6
19323 if test "$wx_cv_explicit" = "yes"; then
19324 cat >>confdefs.h
<<\_ACEOF
19325 #define HAVE_EXPLICIT 1
19331 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19332 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19333 if test "${ac_cv_cxx_const_cast+set}" = set; then
19334 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 ac_cpp
='$CXXCPP $CPPFLAGS'
19340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19344 cat >conftest.
$ac_ext <<_ACEOF
19347 cat confdefs.h
>>conftest.
$ac_ext
19348 cat >>conftest.
$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19354 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19359 rm -f conftest.
$ac_objext
19360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19361 (eval $ac_compile) 2>conftest.er1
19363 grep -v '^ *+' conftest.er1
>conftest.err
19365 cat conftest.err
>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } &&
19368 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; } &&
19374 { ac_try
='test -s conftest.$ac_objext'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; }; then
19380 ac_cv_cxx_const_cast
=yes
19382 echo "$as_me: failed program was:" >&5
19383 sed 's/^/| /' conftest.
$ac_ext >&5
19385 ac_cv_cxx_const_cast
=no
19387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19389 ac_cpp
='$CPP $CPPFLAGS'
19390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19396 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19397 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19398 if test "$ac_cv_cxx_const_cast" = yes; then
19400 cat >>confdefs.h
<<\_ACEOF
19401 #define HAVE_CONST_CAST
19406 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19407 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19408 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19409 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 ac_cpp
='$CXXCPP $CPPFLAGS'
19415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19419 cat >conftest.
$ac_ext <<_ACEOF
19422 cat confdefs.h
>>conftest.
$ac_ext
19423 cat >>conftest.
$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <typeinfo>
19426 class Base { public : Base () {} virtual void f () = 0;};
19427 class Derived : public Base { public : Derived () {} virtual void f () {} };
19428 class Unrelated { public : Unrelated () {} };
19429 int g (Unrelated&) { return 0; }
19434 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19439 rm -f conftest.
$ac_objext
19440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19441 (eval $ac_compile) 2>conftest.er1
19443 grep -v '^ *+' conftest.er1
>conftest.err
19445 cat conftest.err
>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try
='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_cv_cxx_reinterpret_cast
=yes
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.
$ac_ext >&5
19465 ac_cv_cxx_reinterpret_cast
=no
19467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19469 ac_cpp
='$CPP $CPPFLAGS'
19470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19476 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19477 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19478 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19480 cat >>confdefs.h
<<\_ACEOF
19481 #define HAVE_REINTERPRET_CAST
19486 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19487 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19488 if test "${ac_cv_cxx_static_cast+set}" = set; then
19489 echo $ECHO_N "(cached) $ECHO_C" >&6
19494 ac_cpp
='$CXXCPP $CPPFLAGS'
19495 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19496 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19497 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19499 cat >conftest.
$ac_ext <<_ACEOF
19502 cat confdefs.h
>>conftest.
$ac_ext
19503 cat >>conftest.
$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 #include <typeinfo>
19506 class Base { public : Base () {} virtual void f () = 0; };
19507 class Derived : public Base { public : Derived () {} virtual void f () {} };
19508 int g (Derived&) { return 0; }
19513 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19518 rm -f conftest.
$ac_objext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520 (eval $ac_compile) 2>conftest.er1
19522 grep -v '^ *+' conftest.er1
>conftest.err
19524 cat conftest.err
>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try
='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_cxx_static_cast
=yes
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.
$ac_ext >&5
19544 ac_cv_cxx_static_cast
=no
19546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19548 ac_cpp
='$CPP $CPPFLAGS'
19549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19555 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19556 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19557 if test "$ac_cv_cxx_static_cast" = yes; then
19559 cat >>confdefs.h
<<\_ACEOF
19560 #define HAVE_STATIC_CAST
19566 if test "$wxUSE_STL" = "yes"; then
19568 ac_cpp
='$CXXCPP $CPPFLAGS'
19569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19574 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19575 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19576 cat >conftest.
$ac_ext <<_ACEOF
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19583 #include <functional>
19584 #include <algorithm>
19590 std::vector<int> moo;
19591 std::list<int> foo;
19592 std::vector<int>::iterator it =
19593 std::find_if(moo.begin(), moo.end(),
19594 std::bind2nd(std::less<int>(), 3));
19599 rm -f conftest.
$ac_objext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19601 (eval $ac_compile) 2>conftest.er1
19603 grep -v '^ *+' conftest.er1
>conftest.err
19605 cat conftest.err
>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } &&
19608 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try
='test -s conftest.$ac_objext'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; }; then
19620 echo "$as_me:$LINENO: result: yes" >&5
19621 echo "${ECHO_T}yes" >&6
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.
$ac_ext >&5
19626 echo "$as_me:$LINENO: result: no" >&5
19627 echo "${ECHO_T}no" >&6
19628 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19629 echo "$as_me: error: Basic STL functionality missing" >&2;}
19630 { (exit 1); exit 1; }; }
19632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19634 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19635 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19636 cat >conftest.
$ac_ext <<_ACEOF
19639 cat confdefs.h
>>conftest.
$ac_ext
19640 cat >>conftest.
$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19651 rm -f conftest.
$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19655 grep -v '^ *+' conftest.er1
>conftest.err
19657 cat conftest.err
>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; } &&
19666 { ac_try
='test -s conftest.$ac_objext'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; }; then
19672 echo "$as_me:$LINENO: result: yes" >&5
19673 echo "${ECHO_T}yes" >&6
19674 cat >>confdefs.h
<<\_ACEOF
19675 #define HAVE_STD_WSTRING 1
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19682 echo "$as_me:$LINENO: result: no" >&5
19683 echo "${ECHO_T}no" >&6
19685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19687 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19688 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19689 cat >conftest.
$ac_ext <<_ACEOF
19692 cat confdefs.h
>>conftest.
$ac_ext
19693 cat >>conftest.
$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19699 std::string foo, bar;
19701 foo.compare(1, 1, bar);
19702 foo.compare(1, 1, bar, 1, 1);
19704 foo.compare(1, 1, "");
19705 foo.compare(1, 1, "", 2);
19710 rm -f conftest.
$ac_objext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19712 (eval $ac_compile) 2>conftest.er1
19714 grep -v '^ *+' conftest.er1
>conftest.err
19716 cat conftest.err
>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try
='test -s conftest.$ac_objext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 echo "$as_me:$LINENO: result: yes" >&5
19732 echo "${ECHO_T}yes" >&6
19733 cat >>confdefs.h
<<\_ACEOF
19734 #define HAVE_STD_STRING_COMPARE 1
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.
$ac_ext >&5
19741 echo "$as_me:$LINENO: result: no" >&5
19742 echo "${ECHO_T}no" >&6
19744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19746 if test "${ac_cv_header_hash_map+set}" = set; then
19747 echo "$as_me:$LINENO: checking for hash_map" >&5
19748 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19749 if test "${ac_cv_header_hash_map+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19753 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19755 # Is the header compilable?
19756 echo "$as_me:$LINENO: checking hash_map usability" >&5
19757 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19758 cat >conftest.
$ac_ext <<_ACEOF
19761 cat confdefs.h
>>conftest.
$ac_ext
19762 cat >>conftest.
$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19764 $ac_includes_default
19765 #include <hash_map>
19767 rm -f conftest.
$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>conftest.er1
19771 grep -v '^ *+' conftest.er1
>conftest.err
19773 cat conftest.err
>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try
='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_header_compiler
=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.
$ac_ext >&5
19793 ac_header_compiler
=no
19795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19797 echo "${ECHO_T}$ac_header_compiler" >&6
19799 # Is the header present?
19800 echo "$as_me:$LINENO: checking hash_map presence" >&5
19801 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19802 cat >conftest.
$ac_ext <<_ACEOF
19805 cat confdefs.h
>>conftest.
$ac_ext
19806 cat >>conftest.
$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 #include <hash_map>
19810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19813 grep -v '^ *+' conftest.er1
>conftest.err
19815 cat conftest.err
>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } >/dev
/null
; then
19818 if test -s conftest.err
; then
19819 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19820 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19827 if test -z "$ac_cpp_err"; then
19828 ac_header_preproc
=yes
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.
$ac_ext >&5
19833 ac_header_preproc
=no
19835 rm -f conftest.err conftest.
$ac_ext
19836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19837 echo "${ECHO_T}$ac_header_preproc" >&6
19839 # So? What about this header?
19840 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19842 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19843 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19845 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19846 ac_header_preproc
=yes
19849 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19850 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19851 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19852 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19853 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19854 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19855 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19856 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19858 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19859 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19860 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19863 ## ----------------------------------------- ##
19864 ## Report this to wx-dev@lists.wxwidgets.org ##
19865 ## ----------------------------------------- ##
19868 sed "s/^/$as_me: WARNING: /" >&2
19871 echo "$as_me:$LINENO: checking for hash_map" >&5
19872 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19873 if test "${ac_cv_header_hash_map+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 ac_cv_header_hash_map
=$ac_header_preproc
19878 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19879 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19882 if test $ac_cv_header_hash_map = yes; then
19883 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19884 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19885 cat >conftest.
$ac_ext <<_ACEOF
19888 cat confdefs.h
>>conftest.
$ac_ext
19889 cat >>conftest.
$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <hash_map>
19892 #include <hash_set>
19896 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19897 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19902 rm -f conftest.
$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19906 grep -v '^ *+' conftest.er1
>conftest.err
19908 cat conftest.err
>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; } &&
19917 { ac_try
='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 echo "$as_me:$LINENO: result: yes" >&5
19924 echo "${ECHO_T}yes" >&6
19925 cat >>confdefs.h
<<\_ACEOF
19926 #define HAVE_HASH_MAP 1
19929 cat >>confdefs.h
<<\_ACEOF
19930 #define HAVE_STD_HASH_MAP 1
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.
$ac_ext >&5
19937 echo "$as_me:$LINENO: result: no" >&5
19938 echo "${ECHO_T}no" >&6
19940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19946 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19947 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19948 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19949 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19953 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19955 # Is the header compilable?
19956 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19957 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19965 #include <ext/hash_map>
19967 rm -f conftest.
$ac_objext
19968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19969 (eval $ac_compile) 2>conftest.er1
19971 grep -v '^ *+' conftest.er1
>conftest.err
19973 cat conftest.err
>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } &&
19976 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; } &&
19982 { ac_try
='test -s conftest.$ac_objext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19988 ac_header_compiler
=yes
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.
$ac_ext >&5
19993 ac_header_compiler
=no
19995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19997 echo "${ECHO_T}$ac_header_compiler" >&6
19999 # Is the header present?
20000 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20001 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20002 cat >conftest.
$ac_ext <<_ACEOF
20005 cat confdefs.h
>>conftest.
$ac_ext
20006 cat >>conftest.
$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 #include <ext/hash_map>
20010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20011 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20013 grep -v '^ *+' conftest.er1
>conftest.err
20015 cat conftest.err
>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } >/dev
/null
; then
20018 if test -s conftest.err
; then
20019 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20020 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20027 if test -z "$ac_cpp_err"; then
20028 ac_header_preproc
=yes
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.
$ac_ext >&5
20033 ac_header_preproc
=no
20035 rm -f conftest.err conftest.
$ac_ext
20036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20037 echo "${ECHO_T}$ac_header_preproc" >&6
20039 # So? What about this header?
20040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20042 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20043 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20044 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20045 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20046 ac_header_preproc
=yes
20049 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20050 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20051 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20052 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20053 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20054 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20055 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20056 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20057 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20058 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20059 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20060 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20063 ## ----------------------------------------- ##
20064 ## Report this to wx-dev@lists.wxwidgets.org ##
20065 ## ----------------------------------------- ##
20068 sed "s/^/$as_me: WARNING: /" >&2
20071 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20072 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20073 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 ac_cv_header_ext_hash_map
=$ac_header_preproc
20078 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20079 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20082 if test $ac_cv_header_ext_hash_map = yes; then
20083 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20084 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20085 cat >conftest.
$ac_ext <<_ACEOF
20088 cat confdefs.h
>>conftest.
$ac_ext
20089 cat >>conftest.
$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 #include <ext/hash_map>
20092 #include <ext/hash_set>
20096 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20097 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20102 rm -f conftest.
$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104 (eval $ac_compile) 2>conftest.er1
20106 grep -v '^ *+' conftest.er1
>conftest.err
20108 cat conftest.err
>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } &&
20111 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; } &&
20117 { ac_try
='test -s conftest.$ac_objext'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; }; then
20123 echo "$as_me:$LINENO: result: yes" >&5
20124 echo "${ECHO_T}yes" >&6
20125 cat >>confdefs.h
<<\_ACEOF
20126 #define HAVE_EXT_HASH_MAP 1
20129 cat >>confdefs.h
<<\_ACEOF
20130 #define HAVE_GNU_CXX_HASH_MAP 1
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.
$ac_ext >&5
20137 echo "$as_me:$LINENO: result: no" >&5
20138 echo "${ECHO_T}no" >&6
20140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20147 ac_cpp
='$CPP $CPPFLAGS'
20148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20156 /usr/local/include \
20158 /usr/Motif-2.1/include \
20159 /usr/Motif-1.2/include \
20160 /usr/include/Motif1.2 \
20161 /opt/xpm/include/X11 \
20162 /opt/GBxpm/include/ \
20163 /opt/GBxpm/X11/include/ \
20166 /usr/openwin/include \
20170 /usr/X11R6/include \
20171 /usr/X11R6.4/include \
20172 /usr/X11R5/include \
20173 /usr/X11R4/include \
20175 /usr/include/X11R6 \
20176 /usr/include/X11R5 \
20177 /usr/include/X11R4 \
20179 /usr/local/X11R6/include \
20180 /usr/local/X11R5/include \
20181 /usr/local/X11R4/include \
20183 /usr/local/include/X11R6 \
20184 /usr/local/include/X11R5 \
20185 /usr/local/include/X11R4 \
20189 /usr/local/X11/include \
20190 /usr/local/include/X11 \
20192 /usr/X386/include \
20193 /usr/x386/include \
20194 /usr/XFree86/include/X11 \
20196 X:/XFree86/include \
20197 X:/XFree86/include/X11 \
20200 /usr/local/include/gtk \
20201 /usr/include/glib \
20202 /usr/local/include/glib \
20205 /usr/local/include/qt \
20207 /usr/local/arm/3.3.2/include \
20209 /usr/include/windows \
20210 /usr/include/wine \
20211 /usr/local/include/wine \
20213 /usr/unsupported/include \
20214 /usr/athena/include \
20215 /usr/local/x11r5/include \
20216 /usr/lpp/Xamples/include \
20218 /usr/openwin/share/include"
20220 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20223 cat >confcache
<<\_ACEOF
20224 # This file is a shell script that caches the results of configure
20225 # tests run on this system so they can be shared between configure
20226 # scripts and configure runs, see configure's option --config-cache.
20227 # It is not useful on other systems. If it contains results you don't
20228 # want to keep, you may remove or edit it.
20230 # config.status only pays attention to the cache file if you give it
20231 # the --recheck option to rerun configure.
20233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20235 # following values.
20239 # The following way of writing the cache mishandles newlines in values,
20240 # but we know of no workaround that is simple, portable, and efficient.
20241 # So, don't put newlines in cache variables' values.
20242 # Ultrix sh set writes to stderr and can't be redirected directly,
20243 # and sets the high bit in the cache file unless we assign to the vars.
20246 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20248 # `set' does not quote correctly, so add quotes (double-quote
20249 # substitution turns \\\\ into \\, and sed turns \\ into \).
20252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20255 # `set' quotes correctly as required by POSIX, so do not add quotes.
20257 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20266 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20268 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20269 if test -w $cache_file; then
20270 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20271 cat confcache
>$cache_file
20273 echo "not updating unwritable cache $cache_file"
20278 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20279 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20280 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20281 if test "${wx_cv_lib_glibc21+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20285 cat >conftest.
$ac_ext <<_ACEOF
20288 cat confdefs.h
>>conftest.
$ac_ext
20289 cat >>conftest.
$ac_ext <<_ACEOF
20290 /* end confdefs.h. */
20291 #include <features.h>
20296 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20297 #error not glibc2.1
20304 rm -f conftest.
$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306 (eval $ac_compile) 2>conftest.er1
20308 grep -v '^ *+' conftest.er1
>conftest.err
20310 cat conftest.err
>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; } &&
20319 { ac_try
='test -s conftest.$ac_objext'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; }; then
20326 wx_cv_lib_glibc21
=yes
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.
$ac_ext >&5
20333 wx_cv_lib_glibc21
=no
20337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20340 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20341 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20342 if test "$wx_cv_lib_glibc21" = "yes"; then
20343 cat >>confdefs.h
<<\_ACEOF
20344 #define wxHAVE_GLIBC2 1
20350 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20351 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20352 cat >>confdefs.h
<<\_ACEOF
20353 #define _GNU_SOURCE 1
20361 if test "$wxUSE_REGEX" != "no"; then
20362 cat >>confdefs.h
<<\_ACEOF
20363 #define wxUSE_REGEX 1
20367 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20368 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20369 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20370 wxUSE_REGEX
=builtin
20373 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20374 if test "${ac_cv_header_regex_h+set}" = set; then
20375 echo "$as_me:$LINENO: checking for regex.h" >&5
20376 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20377 if test "${ac_cv_header_regex_h+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20381 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20383 # Is the header compilable?
20384 echo "$as_me:$LINENO: checking regex.h usability" >&5
20385 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20386 cat >conftest.
$ac_ext <<_ACEOF
20389 cat confdefs.h
>>conftest.
$ac_ext
20390 cat >>conftest.
$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20395 rm -f conftest.
$ac_objext
20396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20397 (eval $ac_compile) 2>conftest.er1
20399 grep -v '^ *+' conftest.er1
>conftest.err
20401 cat conftest.err
>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try
='test -s conftest.$ac_objext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20416 ac_header_compiler
=yes
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.
$ac_ext >&5
20421 ac_header_compiler
=no
20423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20425 echo "${ECHO_T}$ac_header_compiler" >&6
20427 # Is the header present?
20428 echo "$as_me:$LINENO: checking regex.h presence" >&5
20429 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20430 cat >conftest.
$ac_ext <<_ACEOF
20433 cat confdefs.h
>>conftest.
$ac_ext
20434 cat >>conftest.
$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20441 grep -v '^ *+' conftest.er1
>conftest.err
20443 cat conftest.err
>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } >/dev
/null
; then
20446 if test -s conftest.err
; then
20447 ac_cpp_err
=$ac_c_preproc_warn_flag
20448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20455 if test -z "$ac_cpp_err"; then
20456 ac_header_preproc
=yes
20458 echo "$as_me: failed program was:" >&5
20459 sed 's/^/| /' conftest.
$ac_ext >&5
20461 ac_header_preproc
=no
20463 rm -f conftest.err conftest.
$ac_ext
20464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20465 echo "${ECHO_T}$ac_header_preproc" >&6
20467 # So? What about this header?
20468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20470 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20471 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20472 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20473 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20474 ac_header_preproc
=yes
20477 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20478 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20479 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20480 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20481 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20482 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20483 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20484 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20485 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20486 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20487 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20488 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20491 ## ----------------------------------------- ##
20492 ## Report this to wx-dev@lists.wxwidgets.org ##
20493 ## ----------------------------------------- ##
20496 sed "s/^/$as_me: WARNING: /" >&2
20499 echo "$as_me:$LINENO: checking for regex.h" >&5
20500 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20501 if test "${ac_cv_header_regex_h+set}" = set; then
20502 echo $ECHO_N "(cached) $ECHO_C" >&6
20504 ac_cv_header_regex_h
=$ac_header_preproc
20506 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20507 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20510 if test $ac_cv_header_regex_h = yes; then
20512 for ac_func
in regcomp
20514 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20515 echo "$as_me:$LINENO: checking for $ac_func" >&5
20516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20517 if eval "test \"\${$as_ac_var+set}\" = set"; then
20518 echo $ECHO_N "(cached) $ECHO_C" >&6
20520 cat >conftest.
$ac_ext <<_ACEOF
20523 cat confdefs.h
>>conftest.
$ac_ext
20524 cat >>conftest.
$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20528 #define $ac_func innocuous_$ac_func
20530 /* System header to define __stub macros and hopefully few prototypes,
20531 which can conflict with char $ac_func (); below.
20532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20533 <limits.h> exists even on freestanding compilers. */
20536 # include <limits.h>
20538 # include <assert.h>
20543 /* Override any gcc2 internal prototype to avoid an error. */
20548 /* We use char because int might match the return type of a gcc2
20549 builtin and then its argument prototype would still apply. */
20551 /* The GNU C library defines this for functions which it implements
20552 to always fail with ENOSYS. Some functions are actually named
20553 something starting with __ and the normal name is an alias. */
20554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20557 char (*f) () = $ac_func;
20566 return f != $ac_func;
20571 rm -f conftest.
$ac_objext conftest
$ac_exeext
20572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20573 (eval $ac_link) 2>conftest.er1
20575 grep -v '^ *+' conftest.er1
>conftest.err
20577 cat conftest.err
>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); } &&
20580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20586 { ac_try
='test -s conftest$ac_exeext'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; }; then
20592 eval "$as_ac_var=yes"
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.
$ac_ext >&5
20597 eval "$as_ac_var=no"
20599 rm -f conftest.err conftest.
$ac_objext \
20600 conftest
$ac_exeext conftest.
$ac_ext
20602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20604 if test `eval echo '${'$as_ac_var'}'` = yes; then
20605 cat >>confdefs.h
<<_ACEOF
20606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20616 if test "x$ac_cv_func_regcomp" != "xyes"; then
20617 if test "$wxUSE_REGEX" = "sys" ; then
20618 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20619 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20620 { (exit 1); exit 1; }; }
20622 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20623 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20624 wxUSE_REGEX
=builtin
20628 cat >>confdefs.h
<<\_ACEOF
20629 #define WX_NO_REGEX_ADVANCED 1
20638 if test "$wxUSE_ZLIB" != "no" ; then
20639 cat >>confdefs.h
<<\_ACEOF
20640 #define wxUSE_ZLIB 1
20644 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20645 if test "$USE_DARWIN" = 1; then
20646 system_zlib_h_ok
="yes"
20648 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20649 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20650 if test "${ac_cv_header_zlib_h+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 if test "$cross_compiling" = yes; then
20654 unset ac_cv_header_zlib_h
20657 cat >conftest.
$ac_ext <<_ACEOF
20660 cat confdefs.h
>>conftest.
$ac_ext
20661 cat >>conftest.
$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20669 FILE *f=fopen("conftestval", "w");
20672 ZLIB_VERSION[0] == '1' &&
20673 (ZLIB_VERSION[2] > '1' ||
20674 (ZLIB_VERSION[2] == '1' &&
20675 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20680 rm -f conftest
$ac_exeext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20682 (eval $ac_link) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20687 (eval $ac_try) 2>&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); }; }; then
20691 ac_cv_header_zlib_h
=`cat conftestval`
20693 echo "$as_me: program exited with status $ac_status" >&5
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.
$ac_ext >&5
20697 ( exit $ac_status )
20698 ac_cv_header_zlib_h
=no
20700 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20704 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20705 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20706 if test "${ac_cv_header_zlib_h+set}" = set; then
20707 echo "$as_me:$LINENO: checking for zlib.h" >&5
20708 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20709 if test "${ac_cv_header_zlib_h+set}" = set; then
20710 echo $ECHO_N "(cached) $ECHO_C" >&6
20712 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20713 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20715 # Is the header compilable?
20716 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20717 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20718 cat >conftest.
$ac_ext <<_ACEOF
20721 cat confdefs.h
>>conftest.
$ac_ext
20722 cat >>conftest.
$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20724 $ac_includes_default
20727 rm -f conftest.
$ac_objext
20728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20729 (eval $ac_compile) 2>conftest.er1
20731 grep -v '^ *+' conftest.er1
>conftest.err
20733 cat conftest.err
>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } &&
20736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; } &&
20742 { ac_try
='test -s conftest.$ac_objext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 ac_header_compiler
=yes
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.
$ac_ext >&5
20753 ac_header_compiler
=no
20755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20757 echo "${ECHO_T}$ac_header_compiler" >&6
20759 # Is the header present?
20760 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20761 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20762 cat >conftest.
$ac_ext <<_ACEOF
20765 cat confdefs.h
>>conftest.
$ac_ext
20766 cat >>conftest.
$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20773 grep -v '^ *+' conftest.er1
>conftest.err
20775 cat conftest.err
>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } >/dev
/null
; then
20778 if test -s conftest.err
; then
20779 ac_cpp_err
=$ac_c_preproc_warn_flag
20780 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20787 if test -z "$ac_cpp_err"; then
20788 ac_header_preproc
=yes
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.
$ac_ext >&5
20793 ac_header_preproc
=no
20795 rm -f conftest.err conftest.
$ac_ext
20796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20797 echo "${ECHO_T}$ac_header_preproc" >&6
20799 # So? What about this header?
20800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20802 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20803 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20804 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20805 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20806 ac_header_preproc
=yes
20809 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20810 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20811 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20812 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20813 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20814 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20815 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20816 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20817 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20818 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20819 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20820 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20823 ## ----------------------------------------- ##
20824 ## Report this to wx-dev@lists.wxwidgets.org ##
20825 ## ----------------------------------------- ##
20828 sed "s/^/$as_me: WARNING: /" >&2
20831 echo "$as_me:$LINENO: checking for zlib.h" >&5
20832 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20833 if test "${ac_cv_header_zlib_h+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20836 ac_cv_header_zlib_h
=$ac_header_preproc
20838 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20839 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20845 system_zlib_h_ok
=$ac_cv_header_zlib_h
20848 if test "$system_zlib_h_ok" = "yes"; then
20849 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20850 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20851 if test "${ac_cv_lib_z_deflate+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 ac_check_lib_save_LIBS
=$LIBS
20856 cat >conftest.
$ac_ext <<_ACEOF
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20863 /* Override any gcc2 internal prototype to avoid an error. */
20867 /* We use char because int might match the return type of a gcc2
20868 builtin and then its argument prototype would still apply. */
20878 rm -f conftest.
$ac_objext conftest
$ac_exeext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20880 (eval $ac_link) 2>conftest.er1
20882 grep -v '^ *+' conftest.er1
>conftest.err
20884 cat conftest.err
>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889 (eval $ac_try) 2>&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; } &&
20893 { ac_try
='test -s conftest$ac_exeext'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; }; then
20899 ac_cv_lib_z_deflate
=yes
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.
$ac_ext >&5
20904 ac_cv_lib_z_deflate
=no
20906 rm -f conftest.err conftest.
$ac_objext \
20907 conftest
$ac_exeext conftest.
$ac_ext
20908 LIBS
=$ac_check_lib_save_LIBS
20910 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20911 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20912 if test $ac_cv_lib_z_deflate = yes; then
20918 if test "x$ZLIB_LINK" = "x" ; then
20919 if test "$wxUSE_ZLIB" = "sys" ; then
20920 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20921 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20922 { (exit 1); exit 1; }; }
20924 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20925 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20936 if test "$wxUSE_LIBPNG" != "no" ; then
20937 cat >>confdefs.h
<<\_ACEOF
20938 #define wxUSE_LIBPNG 1
20942 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20943 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20944 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20948 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20949 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20950 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20951 wxUSE_LIBPNG
=builtin
20954 if test "$wxUSE_MGL" != 1 ; then
20955 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20956 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20957 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20958 if test "${ac_cv_header_png_h+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 if test "$cross_compiling" = yes; then
20962 unset ac_cv_header_png_h
20965 cat >conftest.
$ac_ext <<_ACEOF
20968 cat confdefs.h
>>conftest.
$ac_ext
20969 cat >>conftest.
$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20977 FILE *f=fopen("conftestval", "w");
20980 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20985 rm -f conftest
$ac_exeext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20987 (eval $ac_link) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 ac_cv_header_png_h
=`cat conftestval`
20998 echo "$as_me: program exited with status $ac_status" >&5
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.
$ac_ext >&5
21002 ( exit $ac_status )
21003 ac_cv_header_png_h
=no
21005 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21009 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21010 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21011 if test "${ac_cv_header_png_h+set}" = set; then
21012 echo "$as_me:$LINENO: checking for png.h" >&5
21013 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21014 if test "${ac_cv_header_png_h+set}" = set; then
21015 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21018 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21020 # Is the header compilable?
21021 echo "$as_me:$LINENO: checking png.h usability" >&5
21022 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21023 cat >conftest.
$ac_ext <<_ACEOF
21026 cat confdefs.h
>>conftest.
$ac_ext
21027 cat >>conftest.
$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21029 $ac_includes_default
21032 rm -f conftest.
$ac_objext
21033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21034 (eval $ac_compile) 2>conftest.er1
21036 grep -v '^ *+' conftest.er1
>conftest.err
21038 cat conftest.err
>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } &&
21041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21043 (eval $ac_try) 2>&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; } &&
21047 { ac_try
='test -s conftest.$ac_objext'
21048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049 (eval $ac_try) 2>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; }; then
21053 ac_header_compiler
=yes
21055 echo "$as_me: failed program was:" >&5
21056 sed 's/^/| /' conftest.
$ac_ext >&5
21058 ac_header_compiler
=no
21060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21062 echo "${ECHO_T}$ac_header_compiler" >&6
21064 # Is the header present?
21065 echo "$as_me:$LINENO: checking png.h presence" >&5
21066 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21078 grep -v '^ *+' conftest.er1
>conftest.err
21080 cat conftest.err
>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } >/dev
/null
; then
21083 if test -s conftest.err
; then
21084 ac_cpp_err
=$ac_c_preproc_warn_flag
21085 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21092 if test -z "$ac_cpp_err"; then
21093 ac_header_preproc
=yes
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.
$ac_ext >&5
21098 ac_header_preproc
=no
21100 rm -f conftest.err conftest.
$ac_ext
21101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21102 echo "${ECHO_T}$ac_header_preproc" >&6
21104 # So? What about this header?
21105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21107 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21108 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21109 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21110 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21111 ac_header_preproc
=yes
21114 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21115 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21116 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21117 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21118 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21119 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21120 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21121 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21122 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21123 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21124 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21125 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21128 ## ----------------------------------------- ##
21129 ## Report this to wx-dev@lists.wxwidgets.org ##
21130 ## ----------------------------------------- ##
21133 sed "s/^/$as_me: WARNING: /" >&2
21136 echo "$as_me:$LINENO: checking for png.h" >&5
21137 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21138 if test "${ac_cv_header_png_h+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21141 ac_cv_header_png_h
=$ac_header_preproc
21143 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21144 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21150 if test "$ac_cv_header_png_h" = "yes"; then
21151 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21152 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21153 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21154 echo $ECHO_N "(cached) $ECHO_C" >&6
21156 ac_check_lib_save_LIBS
=$LIBS
21157 LIBS
="-lpng -lz -lm $LIBS"
21158 cat >conftest.
$ac_ext <<_ACEOF
21161 cat confdefs.h
>>conftest.
$ac_ext
21162 cat >>conftest.
$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21165 /* Override any gcc2 internal prototype to avoid an error. */
21169 /* We use char because int might match the return type of a gcc2
21170 builtin and then its argument prototype would still apply. */
21171 char png_check_sig ();
21180 rm -f conftest.
$ac_objext conftest
$ac_exeext
21181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21182 (eval $ac_link) 2>conftest.er1
21184 grep -v '^ *+' conftest.er1
>conftest.err
21186 cat conftest.err
>&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } &&
21189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; } &&
21195 { ac_try
='test -s conftest$ac_exeext'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; }; then
21201 ac_cv_lib_png_png_check_sig
=yes
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.
$ac_ext >&5
21206 ac_cv_lib_png_png_check_sig
=no
21208 rm -f conftest.err conftest.
$ac_objext \
21209 conftest
$ac_exeext conftest.
$ac_ext
21210 LIBS
=$ac_check_lib_save_LIBS
21212 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21213 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21214 if test $ac_cv_lib_png_png_check_sig = yes; then
21215 PNG_LINK
=" -lpng -lz"
21220 if test "x$PNG_LINK" = "x" ; then
21221 if test "$wxUSE_LIBPNG" = "sys" ; then
21222 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21223 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21224 { (exit 1); exit 1; }; }
21226 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21227 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21228 wxUSE_LIBPNG
=builtin
21236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21241 if test "$wxUSE_LIBJPEG" != "no" ; then
21242 cat >>confdefs.h
<<\_ACEOF
21243 #define wxUSE_LIBJPEG 1
21247 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21248 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21249 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21253 if test "$wxUSE_MGL" != 1 ; then
21254 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21255 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21256 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21257 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 cat >conftest.
$ac_ext <<_ACEOF
21263 cat confdefs.h
>>conftest.
$ac_ext
21264 cat >>conftest.
$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21267 #undef HAVE_STDLIB_H
21269 #include <jpeglib.h>
21280 rm -f conftest.
$ac_objext
21281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21282 (eval $ac_compile) 2>conftest.er1
21284 grep -v '^ *+' conftest.er1
>conftest.err
21286 cat conftest.err
>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } &&
21289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; } &&
21295 { ac_try
='test -s conftest.$ac_objext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 ac_cv_header_jpeglib_h
=yes
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.
$ac_ext >&5
21306 ac_cv_header_jpeglib_h
=no
21309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21313 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21314 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21316 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21317 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21318 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21319 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21320 echo $ECHO_N "(cached) $ECHO_C" >&6
21322 ac_check_lib_save_LIBS
=$LIBS
21323 LIBS
="-ljpeg $LIBS"
21324 cat >conftest.
$ac_ext <<_ACEOF
21327 cat confdefs.h
>>conftest.
$ac_ext
21328 cat >>conftest.
$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21331 /* Override any gcc2 internal prototype to avoid an error. */
21335 /* We use char because int might match the return type of a gcc2
21336 builtin and then its argument prototype would still apply. */
21337 char jpeg_read_header ();
21341 jpeg_read_header ();
21346 rm -f conftest.
$ac_objext conftest
$ac_exeext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21348 (eval $ac_link) 2>conftest.er1
21350 grep -v '^ *+' conftest.er1
>conftest.err
21352 cat conftest.err
>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; } &&
21361 { ac_try
='test -s conftest$ac_exeext'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_lib_jpeg_jpeg_read_header
=yes
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.
$ac_ext >&5
21372 ac_cv_lib_jpeg_jpeg_read_header
=no
21374 rm -f conftest.err conftest.
$ac_objext \
21375 conftest
$ac_exeext conftest.
$ac_ext
21376 LIBS
=$ac_check_lib_save_LIBS
21378 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21379 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21380 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21381 JPEG_LINK
=" -ljpeg"
21386 if test "x$JPEG_LINK" = "x" ; then
21387 if test "$wxUSE_LIBJPEG" = "sys" ; then
21388 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21389 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21390 { (exit 1); exit 1; }; }
21392 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21393 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21394 wxUSE_LIBJPEG
=builtin
21405 TIFF_PREREQ_LINKS
=-lm
21406 if test "$wxUSE_LIBTIFF" != "no" ; then
21407 cat >>confdefs.h
<<\_ACEOF
21408 #define wxUSE_LIBTIFF 1
21412 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21413 if test "$wxUSE_LIBJPEG" = "sys"; then
21414 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21416 if test "$wxUSE_ZLIB" = "sys"; then
21417 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21419 if test "${ac_cv_header_tiffio_h+set}" = set; then
21420 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21421 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21422 if test "${ac_cv_header_tiffio_h+set}" = set; then
21423 echo $ECHO_N "(cached) $ECHO_C" >&6
21425 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21426 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21428 # Is the header compilable?
21429 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21430 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21431 cat >conftest.
$ac_ext <<_ACEOF
21434 cat confdefs.h
>>conftest.
$ac_ext
21435 cat >>conftest.
$ac_ext <<_ACEOF
21436 /* end confdefs.h. */
21437 $ac_includes_default
21438 #include <tiffio.h>
21440 rm -f conftest.
$ac_objext
21441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21442 (eval $ac_compile) 2>conftest.er1
21444 grep -v '^ *+' conftest.er1
>conftest.err
21446 cat conftest.err
>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; } &&
21455 { ac_try
='test -s conftest.$ac_objext'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; }; then
21461 ac_header_compiler
=yes
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.
$ac_ext >&5
21466 ac_header_compiler
=no
21468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21470 echo "${ECHO_T}$ac_header_compiler" >&6
21472 # Is the header present?
21473 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21474 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21475 cat >conftest.
$ac_ext <<_ACEOF
21478 cat confdefs.h
>>conftest.
$ac_ext
21479 cat >>conftest.
$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 #include <tiffio.h>
21483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21484 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21486 grep -v '^ *+' conftest.er1
>conftest.err
21488 cat conftest.err
>&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } >/dev
/null
; then
21491 if test -s conftest.err
; then
21492 ac_cpp_err
=$ac_c_preproc_warn_flag
21493 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21500 if test -z "$ac_cpp_err"; then
21501 ac_header_preproc
=yes
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.
$ac_ext >&5
21506 ac_header_preproc
=no
21508 rm -f conftest.err conftest.
$ac_ext
21509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21510 echo "${ECHO_T}$ac_header_preproc" >&6
21512 # So? What about this header?
21513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21515 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21516 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21517 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21518 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21519 ac_header_preproc
=yes
21522 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21523 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21524 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21525 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21526 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21527 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21528 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21529 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21530 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21531 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21532 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21533 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21536 ## ----------------------------------------- ##
21537 ## Report this to wx-dev@lists.wxwidgets.org ##
21538 ## ----------------------------------------- ##
21541 sed "s/^/$as_me: WARNING: /" >&2
21544 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21545 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21546 if test "${ac_cv_header_tiffio_h+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 ac_cv_header_tiffio_h
=$ac_header_preproc
21551 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21552 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21555 if test $ac_cv_header_tiffio_h = yes; then
21557 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21558 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21559 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 ac_check_lib_save_LIBS
=$LIBS
21563 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21564 cat >conftest.
$ac_ext <<_ACEOF
21567 cat confdefs.h
>>conftest.
$ac_ext
21568 cat >>conftest.
$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21571 /* Override any gcc2 internal prototype to avoid an error. */
21575 /* We use char because int might match the return type of a gcc2
21576 builtin and then its argument prototype would still apply. */
21586 rm -f conftest.
$ac_objext conftest
$ac_exeext
21587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21588 (eval $ac_link) 2>conftest.er1
21590 grep -v '^ *+' conftest.er1
>conftest.err
21592 cat conftest.err
>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } &&
21595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; } &&
21601 { ac_try
='test -s conftest$ac_exeext'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 ac_cv_lib_tiff_TIFFError
=yes
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.
$ac_ext >&5
21612 ac_cv_lib_tiff_TIFFError
=no
21614 rm -f conftest.err conftest.
$ac_objext \
21615 conftest
$ac_exeext conftest.
$ac_ext
21616 LIBS
=$ac_check_lib_save_LIBS
21618 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21619 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21620 if test $ac_cv_lib_tiff_TIFFError = yes; then
21621 TIFF_LINK
=" -ltiff"
21630 if test "x$TIFF_LINK" = "x" ; then
21631 if test "$wxUSE_LIBTIFF" = "sys" ; then
21632 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21633 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21634 { (exit 1); exit 1; }; }
21636 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21637 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21638 wxUSE_LIBTIFF
=builtin
21647 if test "$wxUSE_EXPAT" != "no"; then
21649 cat >>confdefs.h
<<\_ACEOF
21650 #define wxUSE_EXPAT 1
21653 cat >>confdefs.h
<<\_ACEOF
21654 #define wxUSE_XML 1
21658 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21659 if test "${ac_cv_header_expat_h+set}" = set; then
21660 echo "$as_me:$LINENO: checking for expat.h" >&5
21661 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21662 if test "${ac_cv_header_expat_h+set}" = set; then
21663 echo $ECHO_N "(cached) $ECHO_C" >&6
21665 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21666 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21668 # Is the header compilable?
21669 echo "$as_me:$LINENO: checking expat.h usability" >&5
21670 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21671 cat >conftest.
$ac_ext <<_ACEOF
21674 cat confdefs.h
>>conftest.
$ac_ext
21675 cat >>conftest.
$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21680 rm -f conftest.
$ac_objext
21681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21682 (eval $ac_compile) 2>conftest.er1
21684 grep -v '^ *+' conftest.er1
>conftest.err
21686 cat conftest.err
>&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } &&
21689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21691 (eval $ac_try) 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; } &&
21695 { ac_try
='test -s conftest.$ac_objext'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; }; then
21701 ac_header_compiler
=yes
21703 echo "$as_me: failed program was:" >&5
21704 sed 's/^/| /' conftest.
$ac_ext >&5
21706 ac_header_compiler
=no
21708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21710 echo "${ECHO_T}$ac_header_compiler" >&6
21712 # Is the header present?
21713 echo "$as_me:$LINENO: checking expat.h presence" >&5
21714 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21715 cat >conftest.
$ac_ext <<_ACEOF
21718 cat confdefs.h
>>conftest.
$ac_ext
21719 cat >>conftest.
$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21726 grep -v '^ *+' conftest.er1
>conftest.err
21728 cat conftest.err
>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } >/dev
/null
; then
21731 if test -s conftest.err
; then
21732 ac_cpp_err
=$ac_c_preproc_warn_flag
21733 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21740 if test -z "$ac_cpp_err"; then
21741 ac_header_preproc
=yes
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.
$ac_ext >&5
21746 ac_header_preproc
=no
21748 rm -f conftest.err conftest.
$ac_ext
21749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21750 echo "${ECHO_T}$ac_header_preproc" >&6
21752 # So? What about this header?
21753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21755 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21756 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21757 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21758 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21759 ac_header_preproc
=yes
21762 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21763 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21764 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21765 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21766 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21767 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21768 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21769 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21770 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21771 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21772 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21773 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21776 ## ----------------------------------------- ##
21777 ## Report this to wx-dev@lists.wxwidgets.org ##
21778 ## ----------------------------------------- ##
21781 sed "s/^/$as_me: WARNING: /" >&2
21784 echo "$as_me:$LINENO: checking for expat.h" >&5
21785 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21786 if test "${ac_cv_header_expat_h+set}" = set; then
21787 echo $ECHO_N "(cached) $ECHO_C" >&6
21789 ac_cv_header_expat_h
=$ac_header_preproc
21791 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21792 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21795 if test $ac_cv_header_expat_h = yes; then
21800 if test "x$found_expat_h" = "x1"; then
21801 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21802 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21803 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21804 echo $ECHO_N "(cached) $ECHO_C" >&6
21810 ac_cpp
='$CXXCPP $CPPFLAGS'
21811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21815 cat >conftest.
$ac_ext <<_ACEOF
21818 cat confdefs.h
>>conftest.
$ac_ext
21819 cat >>conftest.
$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21830 rm -f conftest.
$ac_objext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21832 (eval $ac_compile) 2>conftest.er1
21834 grep -v '^ *+' conftest.er1
>conftest.err
21836 cat conftest.err
>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; } &&
21845 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21851 wx_cv_expat_is_not_broken
=yes
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21856 wx_cv_expat_is_not_broken
=no
21859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21861 ac_cpp
='$CPP $CPPFLAGS'
21862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21869 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21870 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21871 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21872 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21873 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21874 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 ac_check_lib_save_LIBS
=$LIBS
21878 LIBS
="-lexpat $LIBS"
21879 cat >conftest.
$ac_ext <<_ACEOF
21882 cat confdefs.h
>>conftest.
$ac_ext
21883 cat >>conftest.
$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21886 /* Override any gcc2 internal prototype to avoid an error. */
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21892 char XML_ParserCreate ();
21896 XML_ParserCreate ();
21901 rm -f conftest.
$ac_objext conftest
$ac_exeext
21902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21903 (eval $ac_link) 2>conftest.er1
21905 grep -v '^ *+' conftest.er1
>conftest.err
21907 cat conftest.err
>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } &&
21910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try
='test -s conftest$ac_exeext'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; }; then
21922 ac_cv_lib_expat_XML_ParserCreate
=yes
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.
$ac_ext >&5
21927 ac_cv_lib_expat_XML_ParserCreate
=no
21929 rm -f conftest.err conftest.
$ac_objext \
21930 conftest
$ac_exeext conftest.
$ac_ext
21931 LIBS
=$ac_check_lib_save_LIBS
21933 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21934 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21935 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21936 EXPAT_LINK
=" -lexpat"
21941 if test "x$EXPAT_LINK" = "x" ; then
21942 if test "$wxUSE_EXPAT" = "sys" ; then
21943 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21944 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21945 { (exit 1); exit 1; }; }
21947 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21948 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21949 wxUSE_EXPAT
=builtin
21955 if test "$wxUSE_EXPAT" = "builtin" ; then
21958 subdirs
="$subdirs src/expat"
21965 if test "$wxUSE_LIBMSPACK" != "no"; then
21967 if test "${ac_cv_header_mspack_h+set}" = set; then
21968 echo "$as_me:$LINENO: checking for mspack.h" >&5
21969 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21970 if test "${ac_cv_header_mspack_h+set}" = set; then
21971 echo $ECHO_N "(cached) $ECHO_C" >&6
21973 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21974 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21976 # Is the header compilable?
21977 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21978 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21979 cat >conftest.
$ac_ext <<_ACEOF
21982 cat confdefs.h
>>conftest.
$ac_ext
21983 cat >>conftest.
$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 $ac_includes_default
21986 #include <mspack.h>
21988 rm -f conftest.
$ac_objext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21990 (eval $ac_compile) 2>conftest.er1
21992 grep -v '^ *+' conftest.er1
>conftest.err
21994 cat conftest.err
>&5
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); } &&
21997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21999 (eval $ac_try) 2>&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); }; } &&
22003 { ac_try
='test -s conftest.$ac_objext'
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22005 (eval $ac_try) 2>&5
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; }; then
22009 ac_header_compiler
=yes
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.
$ac_ext >&5
22014 ac_header_compiler
=no
22016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22018 echo "${ECHO_T}$ac_header_compiler" >&6
22020 # Is the header present?
22021 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22022 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22023 cat >conftest.
$ac_ext <<_ACEOF
22026 cat confdefs.h
>>conftest.
$ac_ext
22027 cat >>conftest.
$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22029 #include <mspack.h>
22031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22034 grep -v '^ *+' conftest.er1
>conftest.err
22036 cat conftest.err
>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } >/dev
/null
; then
22039 if test -s conftest.err
; then
22040 ac_cpp_err
=$ac_c_preproc_warn_flag
22041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22048 if test -z "$ac_cpp_err"; then
22049 ac_header_preproc
=yes
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.
$ac_ext >&5
22054 ac_header_preproc
=no
22056 rm -f conftest.err conftest.
$ac_ext
22057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22058 echo "${ECHO_T}$ac_header_preproc" >&6
22060 # So? What about this header?
22061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22063 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22064 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22065 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22066 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22067 ac_header_preproc
=yes
22070 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22071 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22072 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22073 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22074 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22075 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22076 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22077 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22078 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22079 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22080 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22081 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22084 ## ----------------------------------------- ##
22085 ## Report this to wx-dev@lists.wxwidgets.org ##
22086 ## ----------------------------------------- ##
22089 sed "s/^/$as_me: WARNING: /" >&2
22092 echo "$as_me:$LINENO: checking for mspack.h" >&5
22093 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22094 if test "${ac_cv_header_mspack_h+set}" = set; then
22095 echo $ECHO_N "(cached) $ECHO_C" >&6
22097 ac_cv_header_mspack_h
=$ac_header_preproc
22099 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22100 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22103 if test $ac_cv_header_mspack_h = yes; then
22108 if test "x$found_mspack_h" = "x1"; then
22109 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22110 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22111 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22112 echo $ECHO_N "(cached) $ECHO_C" >&6
22114 ac_check_lib_save_LIBS
=$LIBS
22115 LIBS
="-lmspack $LIBS"
22116 cat >conftest.
$ac_ext <<_ACEOF
22119 cat confdefs.h
>>conftest.
$ac_ext
22120 cat >>conftest.
$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22123 /* Override any gcc2 internal prototype to avoid an error. */
22127 /* We use char because int might match the return type of a gcc2
22128 builtin and then its argument prototype would still apply. */
22129 char mspack_create_chm_decompressor ();
22133 mspack_create_chm_decompressor ();
22138 rm -f conftest.
$ac_objext conftest
$ac_exeext
22139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22140 (eval $ac_link) 2>conftest.er1
22142 grep -v '^ *+' conftest.er1
>conftest.err
22144 cat conftest.err
>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } &&
22147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try
='test -s conftest$ac_exeext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.
$ac_ext >&5
22164 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22166 rm -f conftest.err conftest.
$ac_objext \
22167 conftest
$ac_exeext conftest.
$ac_ext
22168 LIBS
=$ac_check_lib_save_LIBS
22170 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22171 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22172 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22173 MSPACK_LINK
=" -lmspack"
22177 if test "x$MSPACK_LINK" = "x" ; then
22180 cat >>confdefs.h
<<\_ACEOF
22181 #define wxUSE_LIBMSPACK 1
22196 if test "$USE_WIN32" = 1 ; then
22198 for ac_header
in w32api.h
22200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22202 echo "$as_me:$LINENO: checking for $ac_header" >&5
22203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22205 echo $ECHO_N "(cached) $ECHO_C" >&6
22207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22210 # Is the header compilable?
22211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22213 cat >conftest.
$ac_ext <<_ACEOF
22216 cat confdefs.h
>>conftest.
$ac_ext
22217 cat >>conftest.
$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22219 $ac_includes_default
22220 #include <$ac_header>
22222 rm -f conftest.
$ac_objext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22224 (eval $ac_compile) 2>conftest.er1
22226 grep -v '^ *+' conftest.er1
>conftest.err
22228 cat conftest.err
>&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233 (eval $ac_try) 2>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); }; } &&
22237 { ac_try
='test -s conftest.$ac_objext'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; }; then
22243 ac_header_compiler
=yes
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22248 ac_header_compiler
=no
22250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22252 echo "${ECHO_T}$ac_header_compiler" >&6
22254 # Is the header present?
22255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22257 cat >conftest.
$ac_ext <<_ACEOF
22260 cat confdefs.h
>>conftest.
$ac_ext
22261 cat >>conftest.
$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22263 #include <$ac_header>
22265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22268 grep -v '^ *+' conftest.er1
>conftest.err
22270 cat conftest.err
>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); } >/dev
/null
; then
22273 if test -s conftest.err
; then
22274 ac_cpp_err
=$ac_c_preproc_warn_flag
22275 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22282 if test -z "$ac_cpp_err"; then
22283 ac_header_preproc
=yes
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.
$ac_ext >&5
22288 ac_header_preproc
=no
22290 rm -f conftest.err conftest.
$ac_ext
22291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22292 echo "${ECHO_T}$ac_header_preproc" >&6
22294 # So? What about this header?
22295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22301 ac_header_preproc
=yes
22304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22318 ## ----------------------------------------- ##
22319 ## Report this to wx-dev@lists.wxwidgets.org ##
22320 ## ----------------------------------------- ##
22323 sed "s/^/$as_me: WARNING: /" >&2
22326 echo "$as_me:$LINENO: checking for $ac_header" >&5
22327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 eval "$as_ac_Header=\$ac_header_preproc"
22333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22338 cat >>confdefs.h
<<_ACEOF
22339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22346 if test "${ac_cv_header_windows_h+set}" = set; then
22347 echo "$as_me:$LINENO: checking for windows.h" >&5
22348 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22349 if test "${ac_cv_header_windows_h+set}" = set; then
22350 echo $ECHO_N "(cached) $ECHO_C" >&6
22352 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22353 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22355 # Is the header compilable?
22356 echo "$as_me:$LINENO: checking windows.h usability" >&5
22357 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22358 cat >conftest.
$ac_ext <<_ACEOF
22361 cat confdefs.h
>>conftest.
$ac_ext
22362 cat >>conftest.
$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364 $ac_includes_default
22365 #include <windows.h>
22367 rm -f conftest.
$ac_objext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22369 (eval $ac_compile) 2>conftest.er1
22371 grep -v '^ *+' conftest.er1
>conftest.err
22373 cat conftest.err
>&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } &&
22376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378 (eval $ac_try) 2>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; } &&
22382 { ac_try
='test -s conftest.$ac_objext'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 ac_header_compiler
=yes
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.
$ac_ext >&5
22393 ac_header_compiler
=no
22395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22397 echo "${ECHO_T}$ac_header_compiler" >&6
22399 # Is the header present?
22400 echo "$as_me:$LINENO: checking windows.h presence" >&5
22401 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22402 cat >conftest.
$ac_ext <<_ACEOF
22405 cat confdefs.h
>>conftest.
$ac_ext
22406 cat >>conftest.
$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22408 #include <windows.h>
22410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22413 grep -v '^ *+' conftest.er1
>conftest.err
22415 cat conftest.err
>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } >/dev
/null
; then
22418 if test -s conftest.err
; then
22419 ac_cpp_err
=$ac_c_preproc_warn_flag
22420 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22427 if test -z "$ac_cpp_err"; then
22428 ac_header_preproc
=yes
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.
$ac_ext >&5
22433 ac_header_preproc
=no
22435 rm -f conftest.err conftest.
$ac_ext
22436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22437 echo "${ECHO_T}$ac_header_preproc" >&6
22439 # So? What about this header?
22440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22442 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22443 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22444 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22445 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22446 ac_header_preproc
=yes
22449 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22450 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22451 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22452 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22453 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22454 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22455 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22456 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22457 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22458 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22459 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22460 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22463 ## ----------------------------------------- ##
22464 ## Report this to wx-dev@lists.wxwidgets.org ##
22465 ## ----------------------------------------- ##
22468 sed "s/^/$as_me: WARNING: /" >&2
22471 echo "$as_me:$LINENO: checking for windows.h" >&5
22472 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22473 if test "${ac_cv_header_windows_h+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22476 ac_cv_header_windows_h
=$ac_header_preproc
22478 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22479 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22482 if test $ac_cv_header_windows_h = yes; then
22486 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22487 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22488 { (exit 1); exit 1; }; }
22494 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22496 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22497 LIBS
="$LIBS -loleacc"
22502 LIBS
="$LIBS -lkernel32 -luser32"
22503 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22506 if test "$wxUSE_ODBC" = "sys" ; then
22509 if test "$wxUSE_ODBC" = "yes" ; then
22510 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22511 cat >>confdefs.h
<<\_ACEOF
22512 #define wxUSE_ODBC 1
22517 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22518 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22520 WIN32INSTALL
=win32install
22523 if test "$wxUSE_GUI" = "yes"; then
22533 if test "$wxUSE_COCOA" = 1 ; then
22534 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22535 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22536 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22537 wxUSE_PRINTING_ARCHITECTURE
=no
22539 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22540 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22541 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22542 wxUSE_DRAG_AND_DROP
=no
22544 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22545 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22546 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22551 if test "$wxUSE_MSW" = 1 ; then
22557 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22561 if test "$wxUSE_GTK" = 1; then
22562 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22563 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22565 gtk_version_cached
=1
22566 if test "${wx_cv_lib_gtk+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 gtk_version_cached
=0
22571 echo "$as_me:$LINENO: result: " >&5
22572 echo "${ECHO_T}" >&6
22575 if test "$wxUSE_THREADS" = "yes"; then
22576 GTK_MODULES
=gthread
22580 if test "x$wxUSE_GTK2" = "xyes"; then
22581 # Check whether --enable-gtktest or --disable-gtktest was given.
22582 if test "${enable_gtktest+set}" = set; then
22583 enableval
="$enable_gtktest"
22589 pkg_config_args
=gtk
+-2.0
22590 for module
in .
$GTK_MODULES
22594 pkg_config_args
="$pkg_config_args gthread-2.0"
22601 # Extract the first word of "pkg-config", so it can be a program name with args.
22602 set dummy pkg
-config; ac_word
=$2
22603 echo "$as_me:$LINENO: checking for $ac_word" >&5
22604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22605 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 case $PKG_CONFIG in
22610 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22614 for as_dir
in $PATH
22617 test -z "$as_dir" && as_dir
=.
22618 for ac_exec_ext
in '' $ac_executable_extensions; do
22619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22620 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22627 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22631 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22633 if test -n "$PKG_CONFIG"; then
22634 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22635 echo "${ECHO_T}$PKG_CONFIG" >&6
22637 echo "$as_me:$LINENO: result: no" >&5
22638 echo "${ECHO_T}no" >&6
22642 if test x
$PKG_CONFIG != xno
; then
22643 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22646 echo "*** pkg-config too old; version 0.7 or better required."
22654 min_gtk_version
=2.0.0
22655 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22656 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22658 if test x
$PKG_CONFIG != xno
; then
22659 ## don't try to run the test against uninstalled libtool libs
22660 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22661 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22665 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22672 if test x
"$no_gtk" = x
; then
22673 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22674 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22675 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22677 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22679 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22681 if test "x$enable_gtktest" = "xyes" ; then
22682 ac_save_CFLAGS
="$CFLAGS"
22683 ac_save_LIBS
="$LIBS"
22684 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22685 LIBS
="$GTK_LIBS $LIBS"
22687 if test "$cross_compiling" = yes; then
22688 echo $ac_n "cross compiling; assumed OK... $ac_c"
22690 cat >conftest.
$ac_ext <<_ACEOF
22693 cat confdefs.h
>>conftest.
$ac_ext
22694 cat >>conftest.
$ac_ext <<_ACEOF
22695 /* end confdefs.h. */
22697 #include <gtk/gtk.h>
22699 #include <stdlib.h>
22704 int major, minor, micro;
22707 system ("touch conf.gtktest");
22709 /* HP/UX 9 (%@#!) writes to sscanf strings */
22710 tmp_version = g_strdup("$min_gtk_version");
22711 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22712 printf("%s, bad version string\n", "$min_gtk_version");
22716 if ((gtk_major_version != $gtk_config_major_version) ||
22717 (gtk_minor_version != $gtk_config_minor_version) ||
22718 (gtk_micro_version != $gtk_config_micro_version))
22720 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22721 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22722 gtk_major_version, gtk_minor_version, gtk_micro_version);
22723 printf ("*** was found! If pkg-config was correct, then it is best\n");
22724 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22725 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22726 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22727 printf("*** required on your system.\n");
22728 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22729 printf("*** to point to the correct configuration files\n");
22731 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22732 (gtk_minor_version != GTK_MINOR_VERSION) ||
22733 (gtk_micro_version != GTK_MICRO_VERSION))
22735 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22736 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22737 printf("*** library (version %d.%d.%d)\n",
22738 gtk_major_version, gtk_minor_version, gtk_micro_version);
22742 if ((gtk_major_version > major) ||
22743 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22744 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22750 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22751 gtk_major_version, gtk_minor_version, gtk_micro_version);
22752 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22753 major, minor, micro);
22754 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22756 printf("*** If you have already installed a sufficiently new version, this error\n");
22757 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22758 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22759 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22760 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22761 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22762 printf("*** so that the correct libraries are found at run-time))\n");
22769 rm -f conftest
$ac_exeext
22770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22771 (eval $ac_link) 2>&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; }; then
22782 echo "$as_me: program exited with status $ac_status" >&5
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.
$ac_ext >&5
22786 ( exit $ac_status )
22789 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22791 CFLAGS
="$ac_save_CFLAGS"
22792 LIBS
="$ac_save_LIBS"
22795 if test "x$no_gtk" = x
; then
22796 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22797 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22800 echo "$as_me:$LINENO: result: no" >&5
22801 echo "${ECHO_T}no" >&6
22802 if test "$PKG_CONFIG" = "no" ; then
22803 echo "*** A new enough version of pkg-config was not found."
22804 echo "*** See http://pkgconfig.sourceforge.net"
22806 if test -f conf.gtktest
; then
22809 echo "*** Could not run GTK+ test program, checking why..."
22810 ac_save_CFLAGS
="$CFLAGS"
22811 ac_save_LIBS
="$LIBS"
22812 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22813 LIBS
="$LIBS $GTK_LIBS"
22814 cat >conftest.
$ac_ext <<_ACEOF
22817 cat confdefs.h
>>conftest.
$ac_ext
22818 cat >>conftest.
$ac_ext <<_ACEOF
22819 /* end confdefs.h. */
22821 #include <gtk/gtk.h>
22827 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22832 rm -f conftest.
$ac_objext conftest
$ac_exeext
22833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22834 (eval $ac_link) 2>conftest.er1
22836 grep -v '^ *+' conftest.er1
>conftest.err
22838 cat conftest.err
>&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } &&
22841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; } &&
22847 { ac_try
='test -s conftest$ac_exeext'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; }; then
22853 echo "*** The test program compiled, but did not run. This usually means"
22854 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22855 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22856 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22857 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22858 echo "*** is required on your system"
22860 echo "*** If you have an old version installed, it is best to remove it, although"
22861 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.
$ac_ext >&5
22866 echo "*** The test program failed to compile or link. See the file config.log for the"
22867 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22869 rm -f conftest.err conftest.
$ac_objext \
22870 conftest
$ac_exeext conftest.
$ac_ext
22871 CFLAGS
="$ac_save_CFLAGS"
22872 LIBS
="$ac_save_LIBS"
22885 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22886 if test "${with_gtk_prefix+set}" = set; then
22887 withval
="$with_gtk_prefix"
22888 gtk_config_prefix
="$withval"
22890 gtk_config_prefix
=""
22893 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22894 if test "${with_gtk_exec_prefix+set}" = set; then
22895 withval
="$with_gtk_exec_prefix"
22896 gtk_config_exec_prefix
="$withval"
22898 gtk_config_exec_prefix
=""
22900 # Check whether --enable-gtktest or --disable-gtktest was given.
22901 if test "${enable_gtktest+set}" = set; then
22902 enableval
="$enable_gtktest"
22908 for module
in .
$GTK_MODULES
22912 gtk_config_args
="$gtk_config_args gthread"
22917 if test x
$gtk_config_exec_prefix != x
; then
22918 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22919 if test x
${GTK_CONFIG+set} != xset
; then
22920 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22923 if test x
$gtk_config_prefix != x
; then
22924 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22925 if test x
${GTK_CONFIG+set} != xset
; then
22926 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22930 # Extract the first word of "gtk-config", so it can be a program name with args.
22931 set dummy gtk
-config; ac_word
=$2
22932 echo "$as_me:$LINENO: checking for $ac_word" >&5
22933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22934 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22937 case $GTK_CONFIG in
22939 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22943 for as_dir
in $PATH
22946 test -z "$as_dir" && as_dir
=.
22947 for ac_exec_ext
in '' $ac_executable_extensions; do
22948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22949 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22956 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22960 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22962 if test -n "$GTK_CONFIG"; then
22963 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22964 echo "${ECHO_T}$GTK_CONFIG" >&6
22966 echo "$as_me:$LINENO: result: no" >&5
22967 echo "${ECHO_T}no" >&6
22970 min_gtk_version
=1.2.7
22971 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22972 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22974 if test "$GTK_CONFIG" = "no" ; then
22977 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22978 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22979 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22981 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22983 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22985 if test "x$enable_gtktest" = "xyes" ; then
22986 ac_save_CFLAGS
="$CFLAGS"
22987 ac_save_LIBS
="$LIBS"
22988 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22989 LIBS
="$GTK_LIBS $LIBS"
22991 if test "$cross_compiling" = yes; then
22992 echo $ac_n "cross compiling; assumed OK... $ac_c"
22994 cat >conftest.
$ac_ext <<_ACEOF
22997 cat confdefs.h
>>conftest.
$ac_ext
22998 cat >>conftest.
$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23001 #include <gtk/gtk.h>
23003 #include <stdlib.h>
23008 int major, minor, micro;
23011 system ("touch conf.gtktest");
23013 /* HP/UX 9 (%@#!) writes to sscanf strings */
23014 tmp_version = g_strdup("$min_gtk_version");
23015 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23016 printf("%s, bad version string\n", "$min_gtk_version");
23020 if ((gtk_major_version != $gtk_config_major_version) ||
23021 (gtk_minor_version != $gtk_config_minor_version) ||
23022 (gtk_micro_version != $gtk_config_micro_version))
23024 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23025 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23026 gtk_major_version, gtk_minor_version, gtk_micro_version);
23027 printf ("*** was found! If gtk-config was correct, then it is best\n");
23028 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23029 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23030 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23031 printf("*** required on your system.\n");
23032 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23033 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23034 printf("*** before re-running configure\n");
23036 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23037 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23038 (gtk_minor_version != GTK_MINOR_VERSION) ||
23039 (gtk_micro_version != GTK_MICRO_VERSION))
23041 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23042 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23043 printf("*** library (version %d.%d.%d)\n",
23044 gtk_major_version, gtk_minor_version, gtk_micro_version);
23046 #endif /* defined (GTK_MAJOR_VERSION) ... */
23049 if ((gtk_major_version > major) ||
23050 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23051 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23057 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23058 gtk_major_version, gtk_minor_version, gtk_micro_version);
23059 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23060 major, minor, micro);
23061 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23063 printf("*** If you have already installed a sufficiently new version, this error\n");
23064 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23065 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23066 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23067 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23068 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23069 printf("*** so that the correct libraries are found at run-time))\n");
23076 rm -f conftest
$ac_exeext
23077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23078 (eval $ac_link) 2>&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; }; then
23089 echo "$as_me: program exited with status $ac_status" >&5
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.
$ac_ext >&5
23093 ( exit $ac_status )
23096 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23098 CFLAGS
="$ac_save_CFLAGS"
23099 LIBS
="$ac_save_LIBS"
23102 if test "x$no_gtk" = x
; then
23103 echo "$as_me:$LINENO: result: yes" >&5
23104 echo "${ECHO_T}yes" >&6
23105 wx_cv_lib_gtk
=1.2.7
23107 echo "$as_me:$LINENO: result: no" >&5
23108 echo "${ECHO_T}no" >&6
23109 if test "$GTK_CONFIG" = "no" ; then
23110 echo "*** The gtk-config script installed by GTK could not be found"
23111 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23112 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23113 echo "*** full path to gtk-config."
23115 if test -f conf.gtktest
; then
23118 echo "*** Could not run GTK test program, checking why..."
23119 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23120 LIBS
="$LIBS $GTK_LIBS"
23121 cat >conftest.
$ac_ext <<_ACEOF
23124 cat confdefs.h
>>conftest.
$ac_ext
23125 cat >>conftest.
$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23128 #include <gtk/gtk.h>
23134 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23139 rm -f conftest.
$ac_objext conftest
$ac_exeext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23141 (eval $ac_link) 2>conftest.er1
23143 grep -v '^ *+' conftest.er1
>conftest.err
23145 cat conftest.err
>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } &&
23148 { ac_try
='test -z "$ac_c_werror_flag" || 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"
23198 if test -z "$wx_cv_lib_gtk"; then
23200 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23201 if test "${with_gtk_prefix+set}" = set; then
23202 withval
="$with_gtk_prefix"
23203 gtk_config_prefix
="$withval"
23205 gtk_config_prefix
=""
23208 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23209 if test "${with_gtk_exec_prefix+set}" = set; then
23210 withval
="$with_gtk_exec_prefix"
23211 gtk_config_exec_prefix
="$withval"
23213 gtk_config_exec_prefix
=""
23215 # Check whether --enable-gtktest or --disable-gtktest was given.
23216 if test "${enable_gtktest+set}" = set; then
23217 enableval
="$enable_gtktest"
23223 for module
in .
$GTK_MODULES
23227 gtk_config_args
="$gtk_config_args gthread"
23232 if test x
$gtk_config_exec_prefix != x
; then
23233 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23234 if test x
${GTK_CONFIG+set} != xset
; then
23235 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23238 if test x
$gtk_config_prefix != x
; then
23239 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23240 if test x
${GTK_CONFIG+set} != xset
; then
23241 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23245 # Extract the first word of "gtk-config", so it can be a program name with args.
23246 set dummy gtk
-config; ac_word
=$2
23247 echo "$as_me:$LINENO: checking for $ac_word" >&5
23248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23249 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 case $GTK_CONFIG in
23254 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23258 for as_dir
in $PATH
23261 test -z "$as_dir" && as_dir
=.
23262 for ac_exec_ext
in '' $ac_executable_extensions; do
23263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23264 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23271 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23275 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23277 if test -n "$GTK_CONFIG"; then
23278 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23279 echo "${ECHO_T}$GTK_CONFIG" >&6
23281 echo "$as_me:$LINENO: result: no" >&5
23282 echo "${ECHO_T}no" >&6
23285 min_gtk_version
=1.2.3
23286 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23287 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23289 if test "$GTK_CONFIG" = "no" ; then
23292 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23293 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23294 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23296 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23298 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23300 if test "x$enable_gtktest" = "xyes" ; then
23301 ac_save_CFLAGS
="$CFLAGS"
23302 ac_save_LIBS
="$LIBS"
23303 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23304 LIBS
="$GTK_LIBS $LIBS"
23306 if test "$cross_compiling" = yes; then
23307 echo $ac_n "cross compiling; assumed OK... $ac_c"
23309 cat >conftest.
$ac_ext <<_ACEOF
23312 cat confdefs.h
>>conftest.
$ac_ext
23313 cat >>conftest.
$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23316 #include <gtk/gtk.h>
23318 #include <stdlib.h>
23323 int major, minor, micro;
23326 system ("touch conf.gtktest");
23328 /* HP/UX 9 (%@#!) writes to sscanf strings */
23329 tmp_version = g_strdup("$min_gtk_version");
23330 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23331 printf("%s, bad version string\n", "$min_gtk_version");
23335 if ((gtk_major_version != $gtk_config_major_version) ||
23336 (gtk_minor_version != $gtk_config_minor_version) ||
23337 (gtk_micro_version != $gtk_config_micro_version))
23339 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23340 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23341 gtk_major_version, gtk_minor_version, gtk_micro_version);
23342 printf ("*** was found! If gtk-config was correct, then it is best\n");
23343 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23344 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23345 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23346 printf("*** required on your system.\n");
23347 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23348 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23349 printf("*** before re-running configure\n");
23351 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23352 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23353 (gtk_minor_version != GTK_MINOR_VERSION) ||
23354 (gtk_micro_version != GTK_MICRO_VERSION))
23356 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23357 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23358 printf("*** library (version %d.%d.%d)\n",
23359 gtk_major_version, gtk_minor_version, gtk_micro_version);
23361 #endif /* defined (GTK_MAJOR_VERSION) ... */
23364 if ((gtk_major_version > major) ||
23365 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23366 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23372 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23373 gtk_major_version, gtk_minor_version, gtk_micro_version);
23374 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23375 major, minor, micro);
23376 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23378 printf("*** If you have already installed a sufficiently new version, this error\n");
23379 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23380 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23381 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23382 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23383 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23384 printf("*** so that the correct libraries are found at run-time))\n");
23391 rm -f conftest
$ac_exeext
23392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23393 (eval $ac_link) 2>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23398 (eval $ac_try) 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; }; then
23404 echo "$as_me: program exited with status $ac_status" >&5
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.
$ac_ext >&5
23408 ( exit $ac_status )
23411 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23413 CFLAGS
="$ac_save_CFLAGS"
23414 LIBS
="$ac_save_LIBS"
23417 if test "x$no_gtk" = x
; then
23418 echo "$as_me:$LINENO: result: yes" >&5
23419 echo "${ECHO_T}yes" >&6
23420 wx_cv_lib_gtk
=1.2.3
23422 echo "$as_me:$LINENO: result: no" >&5
23423 echo "${ECHO_T}no" >&6
23424 if test "$GTK_CONFIG" = "no" ; then
23425 echo "*** The gtk-config script installed by GTK could not be found"
23426 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23427 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23428 echo "*** full path to gtk-config."
23430 if test -f conf.gtktest
; then
23433 echo "*** Could not run GTK test program, checking why..."
23434 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23435 LIBS
="$LIBS $GTK_LIBS"
23436 cat >conftest.
$ac_ext <<_ACEOF
23439 cat confdefs.h
>>conftest.
$ac_ext
23440 cat >>conftest.
$ac_ext <<_ACEOF
23441 /* end confdefs.h. */
23443 #include <gtk/gtk.h>
23449 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23454 rm -f conftest.
$ac_objext conftest
$ac_exeext
23455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23456 (eval $ac_link) 2>conftest.er1
23458 grep -v '^ *+' conftest.er1
>conftest.err
23460 cat conftest.err
>&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); } &&
23463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23465 (eval $ac_try) 2>&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); }; } &&
23469 { ac_try
='test -s conftest$ac_exeext'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; }; then
23475 echo "*** The test program compiled, but did not run. This usually means"
23476 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23477 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23478 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23479 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23480 echo "*** is required on your system"
23482 echo "*** If you have an old version installed, it is best to remove it, although"
23483 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23485 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23486 echo "*** came with the system with the command"
23488 echo "*** rpm --erase --nodeps gtk gtk-devel"
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.
$ac_ext >&5
23493 echo "*** The test program failed to compile or link. See the file config.log for the"
23494 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23495 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23496 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23498 rm -f conftest.err conftest.
$ac_objext \
23499 conftest
$ac_exeext conftest.
$ac_ext
23500 CFLAGS
="$ac_save_CFLAGS"
23501 LIBS
="$ac_save_LIBS"
23515 if test -z "$wx_cv_lib_gtk"; then
23518 wx_cv_cflags_gtk
=$GTK_CFLAGS
23519 wx_cv_libs_gtk
=$GTK_LIBS
23526 if test "$gtk_version_cached" = 1; then
23527 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23528 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23531 case "$wx_cv_lib_gtk" in
23540 *) { { echo "$as_me:$LINENO: error:
23541 Please check that gtk-config is in path, the directory
23542 where GTK+ libraries are installed (returned by
23543 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23544 equivalent variable and GTK+ is version 1.2.3 or above.
23546 echo "$as_me: error:
23547 Please check that gtk-config is in path, the directory
23548 where GTK+ libraries are installed (returned by
23549 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23550 equivalent variable and GTK+ is version 1.2.3 or above.
23552 { (exit 1); exit 1; }; }
23556 if test "$WXGTK20" = 1; then
23557 save_CFLAGS
="$CFLAGS"
23559 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23560 LIBS
="$LIBS $GTK_LIBS"
23562 for ac_func
in pango_font_family_is_monospace
23564 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23565 echo "$as_me:$LINENO: checking for $ac_func" >&5
23566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23567 if eval "test \"\${$as_ac_var+set}\" = set"; then
23568 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 cat >conftest.
$ac_ext <<_ACEOF
23573 cat confdefs.h
>>conftest.
$ac_ext
23574 cat >>conftest.
$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23578 #define $ac_func innocuous_$ac_func
23580 /* System header to define __stub macros and hopefully few prototypes,
23581 which can conflict with char $ac_func (); below.
23582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23583 <limits.h> exists even on freestanding compilers. */
23586 # include <limits.h>
23588 # include <assert.h>
23593 /* Override any gcc2 internal prototype to avoid an error. */
23598 /* We use char because int might match the return type of a gcc2
23599 builtin and then its argument prototype would still apply. */
23601 /* The GNU C library defines this for functions which it implements
23602 to always fail with ENOSYS. Some functions are actually named
23603 something starting with __ and the normal name is an alias. */
23604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23607 char (*f) () = $ac_func;
23616 return f != $ac_func;
23621 rm -f conftest.
$ac_objext conftest
$ac_exeext
23622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23623 (eval $ac_link) 2>conftest.er1
23625 grep -v '^ *+' conftest.er1
>conftest.err
23627 cat conftest.err
>&5
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); } &&
23630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632 (eval $ac_try) 2>&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); }; } &&
23636 { ac_try
='test -s conftest$ac_exeext'
23637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23638 (eval $ac_try) 2>&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); }; }; then
23642 eval "$as_ac_var=yes"
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.
$ac_ext >&5
23647 eval "$as_ac_var=no"
23649 rm -f conftest.err conftest.
$ac_objext \
23650 conftest
$ac_exeext conftest.
$ac_ext
23652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23654 if test `eval echo '${'$as_ac_var'}'` = yes; then
23655 cat >>confdefs.h
<<_ACEOF
23656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23662 CFLAGS
="$save_CFLAGS"
23665 if test "$wxUSE_UNICODE" = "yes"; then
23666 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23667 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23672 if test "$USE_DARWIN" != 1; then
23674 for ac_func
in poll
23676 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23677 echo "$as_me:$LINENO: checking for $ac_func" >&5
23678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23679 if eval "test \"\${$as_ac_var+set}\" = set"; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23682 cat >conftest.
$ac_ext <<_ACEOF
23685 cat confdefs.h
>>conftest.
$ac_ext
23686 cat >>conftest.
$ac_ext <<_ACEOF
23687 /* end confdefs.h. */
23688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23690 #define $ac_func innocuous_$ac_func
23692 /* System header to define __stub macros and hopefully few prototypes,
23693 which can conflict with char $ac_func (); below.
23694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23695 <limits.h> exists even on freestanding compilers. */
23698 # include <limits.h>
23700 # include <assert.h>
23705 /* Override any gcc2 internal prototype to avoid an error. */
23710 /* We use char because int might match the return type of a gcc2
23711 builtin and then its argument prototype would still apply. */
23713 /* The GNU C library defines this for functions which it implements
23714 to always fail with ENOSYS. Some functions are actually named
23715 something starting with __ and the normal name is an alias. */
23716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23719 char (*f) () = $ac_func;
23728 return f != $ac_func;
23733 rm -f conftest.
$ac_objext conftest
$ac_exeext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23735 (eval $ac_link) 2>conftest.er1
23737 grep -v '^ *+' conftest.er1
>conftest.err
23739 cat conftest.err
>&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } &&
23742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23744 (eval $ac_try) 2>&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); }; } &&
23748 { ac_try
='test -s conftest$ac_exeext'
23749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750 (eval $ac_try) 2>&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); }; }; then
23754 eval "$as_ac_var=yes"
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.
$ac_ext >&5
23759 eval "$as_ac_var=no"
23761 rm -f conftest.err conftest.
$ac_objext \
23762 conftest
$ac_exeext conftest.
$ac_ext
23764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23766 if test `eval echo '${'$as_ac_var'}'` = yes; then
23767 cat >>confdefs.h
<<_ACEOF
23768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23776 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23777 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23779 AFMINSTALL
=afminstall
23783 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23784 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23785 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 ac_check_lib_save_LIBS
=$LIBS
23790 cat >conftest.
$ac_ext <<_ACEOF
23793 cat confdefs.h
>>conftest.
$ac_ext
23794 cat >>conftest.
$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23797 /* Override any gcc2 internal prototype to avoid an error. */
23801 /* We use char because int might match the return type of a gcc2
23802 builtin and then its argument prototype would still apply. */
23803 char gdk_im_open ();
23812 rm -f conftest.
$ac_objext conftest
$ac_exeext
23813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23814 (eval $ac_link) 2>conftest.er1
23816 grep -v '^ *+' conftest.er1
>conftest.err
23818 cat conftest.err
>&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } &&
23821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823 (eval $ac_try) 2>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; } &&
23827 { ac_try
='test -s conftest$ac_exeext'
23828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829 (eval $ac_try) 2>&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); }; }; then
23833 ac_cv_lib_gdk_gdk_im_open
=yes
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.
$ac_ext >&5
23838 ac_cv_lib_gdk_gdk_im_open
=no
23840 rm -f conftest.err conftest.
$ac_objext \
23841 conftest
$ac_exeext conftest.
$ac_ext
23842 LIBS
=$ac_check_lib_save_LIBS
23844 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23845 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23846 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23847 cat >>confdefs.h
<<\_ACEOF
23855 if test "$wxUSE_GPE" = "yes"; then
23856 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23857 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23860 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23862 for ac_extension
in a so sl dylib
; do
23863 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23864 ac_find_libraries
=$ac_dir
23870 if test "$ac_find_libraries" != "" ; then
23872 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23874 if test $result = 0; then
23877 ac_path_to_link
=" -L$ac_find_libraries"
23880 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23882 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23883 echo "${ECHO_T}found at $ac_find_libraries" >&6
23885 echo "$as_me:$LINENO: result: not found" >&5
23886 echo "${ECHO_T}not found" >&6
23892 if test "$wxUSE_MGL" = 1; then
23893 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23894 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23895 if test "x$MGL_ROOT" = x
; then
23896 echo "$as_me:$LINENO: result: not found" >&5
23897 echo "${ECHO_T}not found" >&6
23898 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23899 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23900 { (exit 1); exit 1; }; }
23902 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23903 echo "${ECHO_T}$MGL_ROOT" >&6
23906 echo "$as_me:$LINENO: checking for libmgl location" >&5
23907 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23910 if test "x$wxUSE_SHARED" = xyes
; then
23911 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23913 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23917 mgl_os_candidates
="dos32/dj2"
23920 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23921 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23922 { (exit 1); exit 1; }; }
23928 for mgl_os_i
in $mgl_os_candidates ; do
23929 if test "x$mgl_os" = x
; then
23930 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23931 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23932 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23937 if test "x$mgl_lib_type" = x
; then
23938 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23939 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23940 mgl_lib_type
=release
23947 if test "x$mgl_os" = x
; then
23948 echo "$as_me:$LINENO: result: not found" >&5
23949 echo "${ECHO_T}not found" >&6
23950 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23951 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23952 { (exit 1); exit 1; }; }
23954 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23955 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23957 wxUSE_UNIVERSAL
="yes"
23959 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23960 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23962 AFMINSTALL
=afminstall
23967 if test "$wxUSE_MICROWIN" = 1; then
23968 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23969 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23970 if test "x$MICROWINDOWS" = x
; then
23971 echo "$as_me:$LINENO: result: not found" >&5
23972 echo "${ECHO_T}not found" >&6
23973 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23974 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23975 { (exit 1); exit 1; }; }
23977 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23978 echo "${ECHO_T}$MICROWINDOWS" >&6
23981 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23982 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23983 echo "${ECHO_T}MicroWindows' libraries found." >&6
23985 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23986 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23987 { (exit 1); exit 1; }; }
23990 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23991 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23993 wxUSE_UNIVERSAL
="yes"
23995 AFMINSTALL
=afminstall
23997 GUIDIST
=MICROWIN_DIST
23999 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24002 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24004 if test "x$ac_path_x_has_been_run" != xyes
; then
24005 echo "$as_me:$LINENO: checking for X" >&5
24006 echo $ECHO_N "checking for X... $ECHO_C" >&6
24008 ac_path_x_has_been_run
=yes
24010 # Check whether --with-x or --without-x was given.
24011 if test "${with_x+set}" = set; then
24015 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24016 if test "x$with_x" = xno
; then
24017 # The user explicitly disabled X.
24020 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24021 # Both variables are already set.
24024 if test "${ac_cv_have_x+set}" = set; then
24025 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 # One or both of the vars are not set, and there is no cached value.
24028 ac_x_includes
=no ac_x_libraries
=no
24029 rm -fr conftest.dir
24030 if mkdir conftest.dir
; then
24032 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24033 cat >Imakefile
<<'_ACEOF'
24035 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24037 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24038 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24039 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24040 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24041 for ac_extension
in a so sl
; do
24042 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24043 test -f $ac_im_libdir/libX11.
$ac_extension; then
24044 ac_im_usrlibdir
=$ac_im_libdir; break
24047 # Screen out bogus values from the imake configuration. They are
24048 # bogus both because they are the default anyway, and because
24049 # using them would break gcc on systems where it needs fixed includes.
24050 case $ac_im_incroot in
24052 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24054 case $ac_im_usrlibdir in
24055 /usr
/lib
| /lib
) ;;
24056 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24060 rm -fr conftest.dir
24063 # Standard set of common directories for X headers.
24064 # Check X11 before X11Rn because it is often a symlink to the current release.
24076 /usr/local/X11/include
24077 /usr/local/X11R6/include
24078 /usr/local/X11R5/include
24079 /usr/local/X11R4/include
24081 /usr/local/include/X11
24082 /usr/local/include/X11R6
24083 /usr/local/include/X11R5
24084 /usr/local/include/X11R4
24088 /usr/XFree86/include/X11
24092 /usr/unsupported/include
24093 /usr/athena/include
24094 /usr/local/x11r5/include
24095 /usr/lpp/Xamples/include
24097 /usr/openwin/include
24098 /usr/openwin/share/include'
24100 if test "$ac_x_includes" = no
; then
24101 # Guess where to find include files, by looking for a specified header file.
24102 # First, try using that file with no special directory specified.
24103 cat >conftest.
$ac_ext <<_ACEOF
24106 cat confdefs.h
>>conftest.
$ac_ext
24107 cat >>conftest.
$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #include <X11/Intrinsic.h>
24111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24114 grep -v '^ *+' conftest.er1
>conftest.err
24116 cat conftest.err
>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } >/dev
/null
; then
24119 if test -s conftest.err
; then
24120 ac_cpp_err
=$ac_c_preproc_warn_flag
24121 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24128 if test -z "$ac_cpp_err"; then
24129 # We can compile using X headers with no special include directory.
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.
$ac_ext >&5
24135 for ac_dir
in $ac_x_header_dirs; do
24136 if test -r "$ac_dir/X11/Intrinsic.h"; then
24137 ac_x_includes
=$ac_dir
24142 rm -f conftest.err conftest.
$ac_ext
24143 fi # $ac_x_includes = no
24145 if test "$ac_x_libraries" = no
; then
24146 # Check for the libraries.
24147 # See if we find them without any special options.
24148 # Don't add to $LIBS permanently.
24151 cat >conftest.
$ac_ext <<_ACEOF
24154 cat confdefs.h
>>conftest.
$ac_ext
24155 cat >>conftest.
$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24157 #include <X11/Intrinsic.h>
24166 rm -f conftest.
$ac_objext conftest
$ac_exeext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24170 grep -v '^ *+' conftest.er1
>conftest.err
24172 cat conftest.err
>&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177 (eval $ac_try) 2>&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try
='test -s conftest$ac_exeext'
24182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183 (eval $ac_try) 2>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); }; }; then
24188 # We can link X programs with no special library path.
24191 echo "$as_me: failed program was:" >&5
24192 sed 's/^/| /' conftest.
$ac_ext >&5
24195 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24197 # Don't even attempt the hair of trying to link an X program!
24198 for ac_extension
in a so sl
; do
24199 if test -r $ac_dir/libXt.
$ac_extension; then
24200 ac_x_libraries
=$ac_dir
24206 rm -f conftest.err conftest.
$ac_objext \
24207 conftest
$ac_exeext conftest.
$ac_ext
24208 fi # $ac_x_libraries = no
24210 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24211 # Didn't find X anywhere. Cache the known absence of X.
24212 ac_cv_have_x
="have_x=no"
24214 # Record where we found X for the cache.
24215 ac_cv_have_x
="have_x=yes \
24216 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24221 eval "$ac_cv_have_x"
24224 if test "$have_x" != yes; then
24225 echo "$as_me:$LINENO: result: $have_x" >&5
24226 echo "${ECHO_T}$have_x" >&6
24229 # If each of the values was on the command line, it overrides each guess.
24230 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24231 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24232 # Update the cache value to reflect the command line values.
24233 ac_cv_have_x
="have_x=yes \
24234 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24235 # It might be that x_includes is empty (headers are found in the
24236 # standard search path. Then output the corresponding message
24237 ac_out_x_includes
=$x_includes
24238 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24239 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24240 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24244 if test "$no_x" = yes; then
24245 # Not all programs may use this symbol, but it does not hurt to define it.
24247 cat >>confdefs.h
<<\_ACEOF
24248 #define X_DISPLAY_MISSING 1
24251 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24253 if test -n "$x_includes"; then
24254 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24257 # It would also be nice to do this for all -L options, not just this one.
24258 if test -n "$x_libraries"; then
24259 X_LIBS
="$X_LIBS -L$x_libraries"
24260 # For Solaris; some versions of Sun CC require a space after -R and
24261 # others require no space. Words are not sufficient . . . .
24262 case `(uname -sr) 2>/dev/null` in
24264 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24265 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24266 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24267 cat >conftest.
$ac_ext <<_ACEOF
24270 cat confdefs.h
>>conftest.
$ac_ext
24271 cat >>conftest.
$ac_ext <<_ACEOF
24272 /* end confdefs.h. */
24282 rm -f conftest.
$ac_objext conftest
$ac_exeext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24284 (eval $ac_link) 2>conftest.er1
24286 grep -v '^ *+' conftest.er1
>conftest.err
24288 cat conftest.err
>&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } &&
24291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; } &&
24297 { ac_try
='test -s conftest$ac_exeext'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; }; then
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.
$ac_ext >&5
24310 rm -f conftest.err conftest.
$ac_objext \
24311 conftest
$ac_exeext conftest.
$ac_ext
24312 if test $ac_R_nospace = yes; then
24313 echo "$as_me:$LINENO: result: no" >&5
24314 echo "${ECHO_T}no" >&6
24315 X_LIBS
="$X_LIBS -R$x_libraries"
24317 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24318 cat >conftest.
$ac_ext <<_ACEOF
24321 cat confdefs.h
>>conftest.
$ac_ext
24322 cat >>conftest.
$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24333 rm -f conftest.
$ac_objext conftest
$ac_exeext
24334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24335 (eval $ac_link) 2>conftest.er1
24337 grep -v '^ *+' conftest.er1
>conftest.err
24339 cat conftest.err
>&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); } &&
24342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; } &&
24348 { ac_try
='test -s conftest$ac_exeext'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; }; then
24356 echo "$as_me: failed program was:" >&5
24357 sed 's/^/| /' conftest.
$ac_ext >&5
24361 rm -f conftest.err conftest.
$ac_objext \
24362 conftest
$ac_exeext conftest.
$ac_ext
24363 if test $ac_R_space = yes; then
24364 echo "$as_me:$LINENO: result: yes" >&5
24365 echo "${ECHO_T}yes" >&6
24366 X_LIBS
="$X_LIBS -R $x_libraries"
24368 echo "$as_me:$LINENO: result: neither works" >&5
24369 echo "${ECHO_T}neither works" >&6
24372 LIBS
=$ac_xsave_LIBS
24376 # Check for system-dependent libraries X programs must link with.
24377 # Do this before checking for the system-independent R6 libraries
24378 # (-lICE), since we may need -lsocket or whatever for X linking.
24380 if test "$ISC" = yes; then
24381 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24383 # Martyn Johnson says this is needed for Ultrix, if the X
24384 # libraries were built with DECnet support. And Karl Berry says
24385 # the Alpha needs dnet_stub (dnet does not exist).
24386 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24387 cat >conftest.
$ac_ext <<_ACEOF
24390 cat confdefs.h
>>conftest.
$ac_ext
24391 cat >>conftest.
$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24394 /* Override any gcc2 internal prototype to avoid an error. */
24398 /* We use char because int might match the return type of a gcc2
24399 builtin and then its argument prototype would still apply. */
24400 char XOpenDisplay ();
24409 rm -f conftest.
$ac_objext conftest
$ac_exeext
24410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24411 (eval $ac_link) 2>conftest.er1
24413 grep -v '^ *+' conftest.er1
>conftest.err
24415 cat conftest.err
>&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } &&
24418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420 (eval $ac_try) 2>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; } &&
24424 { ac_try
='test -s conftest$ac_exeext'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; }; then
24432 echo "$as_me: failed program was:" >&5
24433 sed 's/^/| /' conftest.
$ac_ext >&5
24435 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24436 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24437 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24438 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 ac_check_lib_save_LIBS
=$LIBS
24441 LIBS
="-ldnet $LIBS"
24442 cat >conftest.
$ac_ext <<_ACEOF
24445 cat confdefs.h
>>conftest.
$ac_ext
24446 cat >>conftest.
$ac_ext <<_ACEOF
24447 /* end confdefs.h. */
24449 /* Override any gcc2 internal prototype to avoid an error. */
24453 /* We use char because int might match the return type of a gcc2
24454 builtin and then its argument prototype would still apply. */
24464 rm -f conftest.
$ac_objext conftest
$ac_exeext
24465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24466 (eval $ac_link) 2>conftest.er1
24468 grep -v '^ *+' conftest.er1
>conftest.err
24470 cat conftest.err
>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } &&
24473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; } &&
24479 { ac_try
='test -s conftest$ac_exeext'
24480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481 (eval $ac_try) 2>&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); }; }; then
24485 ac_cv_lib_dnet_dnet_ntoa
=yes
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.
$ac_ext >&5
24490 ac_cv_lib_dnet_dnet_ntoa
=no
24492 rm -f conftest.err conftest.
$ac_objext \
24493 conftest
$ac_exeext conftest.
$ac_ext
24494 LIBS
=$ac_check_lib_save_LIBS
24496 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24497 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24498 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24499 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24502 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24503 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24504 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24505 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24508 ac_check_lib_save_LIBS
=$LIBS
24509 LIBS
="-ldnet_stub $LIBS"
24510 cat >conftest.
$ac_ext <<_ACEOF
24513 cat confdefs.h
>>conftest.
$ac_ext
24514 cat >>conftest.
$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24517 /* Override any gcc2 internal prototype to avoid an error. */
24521 /* We use char because int might match the return type of a gcc2
24522 builtin and then its argument prototype would still apply. */
24532 rm -f conftest.
$ac_objext conftest
$ac_exeext
24533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24534 (eval $ac_link) 2>conftest.er1
24536 grep -v '^ *+' conftest.er1
>conftest.err
24538 cat conftest.err
>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; } &&
24547 { ac_try
='test -s conftest$ac_exeext'
24548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24549 (eval $ac_try) 2>&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); }; }; then
24553 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24555 echo "$as_me: failed program was:" >&5
24556 sed 's/^/| /' conftest.
$ac_ext >&5
24558 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24560 rm -f conftest.err conftest.
$ac_objext \
24561 conftest
$ac_exeext conftest.
$ac_ext
24562 LIBS
=$ac_check_lib_save_LIBS
24564 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24565 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24566 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24567 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24572 rm -f conftest.err conftest.
$ac_objext \
24573 conftest
$ac_exeext conftest.
$ac_ext
24574 LIBS
="$ac_xsave_LIBS"
24576 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24577 # to get the SysV transport functions.
24578 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24580 # The nsl library prevents programs from opening the X display
24581 # on Irix 5.2, according to T.E. Dickey.
24582 # The functions gethostbyname, getservbyname, and inet_addr are
24583 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24584 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24585 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24586 if test "${ac_cv_func_gethostbyname+set}" = set; then
24587 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 cat >conftest.
$ac_ext <<_ACEOF
24592 cat confdefs.h
>>conftest.
$ac_ext
24593 cat >>conftest.
$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24595 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24597 #define gethostbyname innocuous_gethostbyname
24599 /* System header to define __stub macros and hopefully few prototypes,
24600 which can conflict with char gethostbyname (); below.
24601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24602 <limits.h> exists even on freestanding compilers. */
24605 # include <limits.h>
24607 # include <assert.h>
24610 #undef gethostbyname
24612 /* Override any gcc2 internal prototype to avoid an error. */
24617 /* We use char because int might match the return type of a gcc2
24618 builtin and then its argument prototype would still apply. */
24619 char gethostbyname ();
24620 /* The GNU C library defines this for functions which it implements
24621 to always fail with ENOSYS. Some functions are actually named
24622 something starting with __ and the normal name is an alias. */
24623 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24626 char (*f) () = gethostbyname;
24635 return f != gethostbyname;
24640 rm -f conftest.
$ac_objext conftest
$ac_exeext
24641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24642 (eval $ac_link) 2>conftest.er1
24644 grep -v '^ *+' conftest.er1
>conftest.err
24646 cat conftest.err
>&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); } &&
24649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651 (eval $ac_try) 2>&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); }; } &&
24655 { ac_try
='test -s conftest$ac_exeext'
24656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657 (eval $ac_try) 2>&5
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); }; }; then
24661 ac_cv_func_gethostbyname
=yes
24663 echo "$as_me: failed program was:" >&5
24664 sed 's/^/| /' conftest.
$ac_ext >&5
24666 ac_cv_func_gethostbyname
=no
24668 rm -f conftest.err conftest.
$ac_objext \
24669 conftest
$ac_exeext conftest.
$ac_ext
24671 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24672 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24674 if test $ac_cv_func_gethostbyname = no
; then
24675 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24676 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24677 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 ac_check_lib_save_LIBS
=$LIBS
24682 cat >conftest.
$ac_ext <<_ACEOF
24685 cat confdefs.h
>>conftest.
$ac_ext
24686 cat >>conftest.
$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24689 /* Override any gcc2 internal prototype to avoid an error. */
24693 /* We use char because int might match the return type of a gcc2
24694 builtin and then its argument prototype would still apply. */
24695 char gethostbyname ();
24704 rm -f conftest.
$ac_objext conftest
$ac_exeext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24706 (eval $ac_link) 2>conftest.er1
24708 grep -v '^ *+' conftest.er1
>conftest.err
24710 cat conftest.err
>&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } &&
24713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24715 (eval $ac_try) 2>&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); }; } &&
24719 { ac_try
='test -s conftest$ac_exeext'
24720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24721 (eval $ac_try) 2>&5
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); }; }; then
24725 ac_cv_lib_nsl_gethostbyname
=yes
24727 echo "$as_me: failed program was:" >&5
24728 sed 's/^/| /' conftest.
$ac_ext >&5
24730 ac_cv_lib_nsl_gethostbyname
=no
24732 rm -f conftest.err conftest.
$ac_objext \
24733 conftest
$ac_exeext conftest.
$ac_ext
24734 LIBS
=$ac_check_lib_save_LIBS
24736 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24737 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24738 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24739 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24742 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24743 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24744 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24745 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24746 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 ac_check_lib_save_LIBS
=$LIBS
24750 cat >conftest.
$ac_ext <<_ACEOF
24753 cat confdefs.h
>>conftest.
$ac_ext
24754 cat >>conftest.
$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24757 /* Override any gcc2 internal prototype to avoid an error. */
24761 /* We use char because int might match the return type of a gcc2
24762 builtin and then its argument prototype would still apply. */
24763 char gethostbyname ();
24772 rm -f conftest.
$ac_objext conftest
$ac_exeext
24773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24774 (eval $ac_link) 2>conftest.er1
24776 grep -v '^ *+' conftest.er1
>conftest.err
24778 cat conftest.err
>&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } &&
24781 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24783 (eval $ac_try) 2>&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); }; } &&
24787 { ac_try
='test -s conftest$ac_exeext'
24788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24789 (eval $ac_try) 2>&5
24791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792 (exit $ac_status); }; }; then
24793 ac_cv_lib_bsd_gethostbyname
=yes
24795 echo "$as_me: failed program was:" >&5
24796 sed 's/^/| /' conftest.
$ac_ext >&5
24798 ac_cv_lib_bsd_gethostbyname
=no
24800 rm -f conftest.err conftest.
$ac_objext \
24801 conftest
$ac_exeext conftest.
$ac_ext
24802 LIBS
=$ac_check_lib_save_LIBS
24804 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24805 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24806 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24807 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24813 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24814 # socket/setsockopt and other routines are undefined under SCO ODT
24815 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24816 # on later versions), says Simon Leinen: it contains gethostby*
24817 # variants that don't use the name server (or something). -lsocket
24818 # must be given before -lnsl if both are needed. We assume that
24819 # if connect needs -lnsl, so does gethostbyname.
24820 echo "$as_me:$LINENO: checking for connect" >&5
24821 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24822 if test "${ac_cv_func_connect+set}" = set; then
24823 echo $ECHO_N "(cached) $ECHO_C" >&6
24825 cat >conftest.
$ac_ext <<_ACEOF
24828 cat confdefs.h
>>conftest.
$ac_ext
24829 cat >>conftest.
$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24831 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24833 #define connect innocuous_connect
24835 /* System header to define __stub macros and hopefully few prototypes,
24836 which can conflict with char connect (); below.
24837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24838 <limits.h> exists even on freestanding compilers. */
24841 # include <limits.h>
24843 # include <assert.h>
24848 /* Override any gcc2 internal prototype to avoid an error. */
24853 /* We use char because int might match the return type of a gcc2
24854 builtin and then its argument prototype would still apply. */
24856 /* The GNU C library defines this for functions which it implements
24857 to always fail with ENOSYS. Some functions are actually named
24858 something starting with __ and the normal name is an alias. */
24859 #if defined (__stub_connect) || defined (__stub___connect)
24862 char (*f) () = connect;
24871 return f != connect;
24876 rm -f conftest.
$ac_objext conftest
$ac_exeext
24877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24878 (eval $ac_link) 2>conftest.er1
24880 grep -v '^ *+' conftest.er1
>conftest.err
24882 cat conftest.err
>&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } &&
24885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; } &&
24891 { ac_try
='test -s conftest$ac_exeext'
24892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24893 (eval $ac_try) 2>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); }; }; then
24897 ac_cv_func_connect
=yes
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.
$ac_ext >&5
24902 ac_cv_func_connect
=no
24904 rm -f conftest.err conftest.
$ac_objext \
24905 conftest
$ac_exeext conftest.
$ac_ext
24907 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24908 echo "${ECHO_T}$ac_cv_func_connect" >&6
24910 if test $ac_cv_func_connect = no
; then
24911 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24912 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24913 if test "${ac_cv_lib_socket_connect+set}" = set; then
24914 echo $ECHO_N "(cached) $ECHO_C" >&6
24916 ac_check_lib_save_LIBS
=$LIBS
24917 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24918 cat >conftest.
$ac_ext <<_ACEOF
24921 cat confdefs.h
>>conftest.
$ac_ext
24922 cat >>conftest.
$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24925 /* Override any gcc2 internal prototype to avoid an error. */
24929 /* We use char because int might match the return type of a gcc2
24930 builtin and then its argument prototype would still apply. */
24940 rm -f conftest.
$ac_objext conftest
$ac_exeext
24941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24942 (eval $ac_link) 2>conftest.er1
24944 grep -v '^ *+' conftest.er1
>conftest.err
24946 cat conftest.err
>&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } &&
24949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24951 (eval $ac_try) 2>&5
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); }; } &&
24955 { ac_try
='test -s conftest$ac_exeext'
24956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24957 (eval $ac_try) 2>&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); }; }; then
24961 ac_cv_lib_socket_connect
=yes
24963 echo "$as_me: failed program was:" >&5
24964 sed 's/^/| /' conftest.
$ac_ext >&5
24966 ac_cv_lib_socket_connect
=no
24968 rm -f conftest.err conftest.
$ac_objext \
24969 conftest
$ac_exeext conftest.
$ac_ext
24970 LIBS
=$ac_check_lib_save_LIBS
24972 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24973 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24974 if test $ac_cv_lib_socket_connect = yes; then
24975 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24980 # Guillermo Gomez says -lposix is necessary on A/UX.
24981 echo "$as_me:$LINENO: checking for remove" >&5
24982 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24983 if test "${ac_cv_func_remove+set}" = set; then
24984 echo $ECHO_N "(cached) $ECHO_C" >&6
24986 cat >conftest.
$ac_ext <<_ACEOF
24989 cat confdefs.h
>>conftest.
$ac_ext
24990 cat >>conftest.
$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24992 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24994 #define remove innocuous_remove
24996 /* System header to define __stub macros and hopefully few prototypes,
24997 which can conflict with char remove (); below.
24998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24999 <limits.h> exists even on freestanding compilers. */
25002 # include <limits.h>
25004 # include <assert.h>
25009 /* Override any gcc2 internal prototype to avoid an error. */
25014 /* We use char because int might match the return type of a gcc2
25015 builtin and then its argument prototype would still apply. */
25017 /* The GNU C library defines this for functions which it implements
25018 to always fail with ENOSYS. Some functions are actually named
25019 something starting with __ and the normal name is an alias. */
25020 #if defined (__stub_remove) || defined (__stub___remove)
25023 char (*f) () = remove;
25032 return f != remove;
25037 rm -f conftest.
$ac_objext conftest
$ac_exeext
25038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25039 (eval $ac_link) 2>conftest.er1
25041 grep -v '^ *+' conftest.er1
>conftest.err
25043 cat conftest.err
>&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } &&
25046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25048 (eval $ac_try) 2>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; } &&
25052 { ac_try
='test -s conftest$ac_exeext'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; }; then
25058 ac_cv_func_remove
=yes
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.
$ac_ext >&5
25063 ac_cv_func_remove
=no
25065 rm -f conftest.err conftest.
$ac_objext \
25066 conftest
$ac_exeext conftest.
$ac_ext
25068 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25069 echo "${ECHO_T}$ac_cv_func_remove" >&6
25071 if test $ac_cv_func_remove = no
; then
25072 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25073 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25074 if test "${ac_cv_lib_posix_remove+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25077 ac_check_lib_save_LIBS
=$LIBS
25078 LIBS
="-lposix $LIBS"
25079 cat >conftest.
$ac_ext <<_ACEOF
25082 cat confdefs.h
>>conftest.
$ac_ext
25083 cat >>conftest.
$ac_ext <<_ACEOF
25084 /* end confdefs.h. */
25086 /* Override any gcc2 internal prototype to avoid an error. */
25090 /* We use char because int might match the return type of a gcc2
25091 builtin and then its argument prototype would still apply. */
25101 rm -f conftest.
$ac_objext conftest
$ac_exeext
25102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25103 (eval $ac_link) 2>conftest.er1
25105 grep -v '^ *+' conftest.er1
>conftest.err
25107 cat conftest.err
>&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } &&
25110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25112 (eval $ac_try) 2>&5
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); }; } &&
25116 { ac_try
='test -s conftest$ac_exeext'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; }; then
25122 ac_cv_lib_posix_remove
=yes
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.
$ac_ext >&5
25127 ac_cv_lib_posix_remove
=no
25129 rm -f conftest.err conftest.
$ac_objext \
25130 conftest
$ac_exeext conftest.
$ac_ext
25131 LIBS
=$ac_check_lib_save_LIBS
25133 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25134 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25135 if test $ac_cv_lib_posix_remove = yes; then
25136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25141 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25142 echo "$as_me:$LINENO: checking for shmat" >&5
25143 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25144 if test "${ac_cv_func_shmat+set}" = set; then
25145 echo $ECHO_N "(cached) $ECHO_C" >&6
25147 cat >conftest.
$ac_ext <<_ACEOF
25150 cat confdefs.h
>>conftest.
$ac_ext
25151 cat >>conftest.
$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25155 #define shmat innocuous_shmat
25157 /* System header to define __stub macros and hopefully few prototypes,
25158 which can conflict with char shmat (); below.
25159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25160 <limits.h> exists even on freestanding compilers. */
25163 # include <limits.h>
25165 # include <assert.h>
25170 /* Override any gcc2 internal prototype to avoid an error. */
25175 /* We use char because int might match the return type of a gcc2
25176 builtin and then its argument prototype would still apply. */
25178 /* The GNU C library defines this for functions which it implements
25179 to always fail with ENOSYS. Some functions are actually named
25180 something starting with __ and the normal name is an alias. */
25181 #if defined (__stub_shmat) || defined (__stub___shmat)
25184 char (*f) () = shmat;
25198 rm -f conftest.
$ac_objext conftest
$ac_exeext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25200 (eval $ac_link) 2>conftest.er1
25202 grep -v '^ *+' conftest.er1
>conftest.err
25204 cat conftest.err
>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } &&
25207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209 (eval $ac_try) 2>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); }; } &&
25213 { ac_try
='test -s conftest$ac_exeext'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; }; then
25219 ac_cv_func_shmat
=yes
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.
$ac_ext >&5
25224 ac_cv_func_shmat
=no
25226 rm -f conftest.err conftest.
$ac_objext \
25227 conftest
$ac_exeext conftest.
$ac_ext
25229 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25230 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25232 if test $ac_cv_func_shmat = no
; then
25233 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25234 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25235 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 ac_check_lib_save_LIBS
=$LIBS
25240 cat >conftest.
$ac_ext <<_ACEOF
25243 cat confdefs.h
>>conftest.
$ac_ext
25244 cat >>conftest.
$ac_ext <<_ACEOF
25245 /* end confdefs.h. */
25247 /* Override any gcc2 internal prototype to avoid an error. */
25251 /* We use char because int might match the return type of a gcc2
25252 builtin and then its argument prototype would still apply. */
25262 rm -f conftest.
$ac_objext conftest
$ac_exeext
25263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25264 (eval $ac_link) 2>conftest.er1
25266 grep -v '^ *+' conftest.er1
>conftest.err
25268 cat conftest.err
>&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } &&
25271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25273 (eval $ac_try) 2>&5
25275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276 (exit $ac_status); }; } &&
25277 { ac_try
='test -s conftest$ac_exeext'
25278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279 (eval $ac_try) 2>&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); }; }; then
25283 ac_cv_lib_ipc_shmat
=yes
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.
$ac_ext >&5
25288 ac_cv_lib_ipc_shmat
=no
25290 rm -f conftest.err conftest.
$ac_objext \
25291 conftest
$ac_exeext conftest.
$ac_ext
25292 LIBS
=$ac_check_lib_save_LIBS
25294 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25295 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25296 if test $ac_cv_lib_ipc_shmat = yes; then
25297 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25303 # Check for libraries that X11R6 Xt/Xaw programs need.
25304 ac_save_LDFLAGS
=$LDFLAGS
25305 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25306 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25307 # check for ICE first), but we must link in the order -lSM -lICE or
25308 # we get undefined symbols. So assume we have SM if we have ICE.
25309 # These have to be linked with before -lX11, unlike the other
25310 # libraries we check for below, so use a different variable.
25311 # John Interrante, Karl Berry
25312 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25313 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25314 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 ac_check_lib_save_LIBS
=$LIBS
25318 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25319 cat >conftest.
$ac_ext <<_ACEOF
25322 cat confdefs.h
>>conftest.
$ac_ext
25323 cat >>conftest.
$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25326 /* Override any gcc2 internal prototype to avoid an error. */
25330 /* We use char because int might match the return type of a gcc2
25331 builtin and then its argument prototype would still apply. */
25332 char IceConnectionNumber ();
25336 IceConnectionNumber ();
25341 rm -f conftest.
$ac_objext conftest
$ac_exeext
25342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25343 (eval $ac_link) 2>conftest.er1
25345 grep -v '^ *+' conftest.er1
>conftest.err
25347 cat conftest.err
>&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } &&
25350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25352 (eval $ac_try) 2>&5
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); }; } &&
25356 { ac_try
='test -s conftest$ac_exeext'
25357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25358 (eval $ac_try) 2>&5
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); }; }; then
25362 ac_cv_lib_ICE_IceConnectionNumber
=yes
25364 echo "$as_me: failed program was:" >&5
25365 sed 's/^/| /' conftest.
$ac_ext >&5
25367 ac_cv_lib_ICE_IceConnectionNumber
=no
25369 rm -f conftest.err conftest.
$ac_objext \
25370 conftest
$ac_exeext conftest.
$ac_ext
25371 LIBS
=$ac_check_lib_save_LIBS
25373 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25374 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25375 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25376 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25379 LDFLAGS
=$ac_save_LDFLAGS
25384 if test "$no_x" = "yes"; then
25385 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25386 echo "$as_me: error: X11 not found" >&2;}
25387 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25390 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25391 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25392 AFMINSTALL
=afminstall
25393 COMPILED_X_PROGRAM
=0
25397 if test "$wxUSE_X11" = 1; then
25398 if test "$wxUSE_NANOX" = "yes"; then
25399 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25400 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25401 if test "x$MICROWIN" = x
; then
25402 echo "$as_me:$LINENO: result: not found" >&5
25403 echo "${ECHO_T}not found" >&6
25404 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25405 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25406 { (exit 1); exit 1; }; }
25408 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25409 echo "${ECHO_T}$MICROWIN" >&6
25410 cat >>confdefs.h
<<\_ACEOF
25411 #define wxUSE_NANOX 1
25417 if test "$wxUSE_UNICODE" = "yes"; then
25421 if test -z "$PKG_CONFIG"; then
25422 # Extract the first word of "pkg-config", so it can be a program name with args.
25423 set dummy pkg
-config; ac_word
=$2
25424 echo "$as_me:$LINENO: checking for $ac_word" >&5
25425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25426 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25429 case $PKG_CONFIG in
25431 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25435 for as_dir
in $PATH
25438 test -z "$as_dir" && as_dir
=.
25439 for ac_exec_ext
in '' $ac_executable_extensions; do
25440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25441 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25448 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25452 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25454 if test -n "$PKG_CONFIG"; then
25455 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25456 echo "${ECHO_T}$PKG_CONFIG" >&6
25458 echo "$as_me:$LINENO: result: no" >&5
25459 echo "${ECHO_T}no" >&6
25464 if test "$PKG_CONFIG" = "no" ; then
25465 echo "*** The pkg-config script could not be found. Make sure it is"
25466 echo "*** in your path, or set the PKG_CONFIG environment variable"
25467 echo "*** to the full path to pkg-config."
25468 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25470 PKG_CONFIG_MIN_VERSION
=0.9.0
25471 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25472 echo "$as_me:$LINENO: checking for pangox" >&5
25473 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25475 if $PKG_CONFIG --exists "pangox" ; then
25476 echo "$as_me:$LINENO: result: yes" >&5
25477 echo "${ECHO_T}yes" >&6
25480 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25481 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25482 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25483 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25484 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25486 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25487 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25488 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25489 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25490 echo "${ECHO_T}$PANGOX_LIBS" >&6
25494 ## If we have a custom action on failure, don't print errors, but
25495 ## do set a variable so people can do so.
25496 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25503 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25504 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25508 if test $succeeded = yes; then
25510 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25511 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25515 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25516 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25517 { (exit 1); exit 1; }; }
25525 if test -z "$PKG_CONFIG"; then
25526 # Extract the first word of "pkg-config", so it can be a program name with args.
25527 set dummy pkg
-config; ac_word
=$2
25528 echo "$as_me:$LINENO: checking for $ac_word" >&5
25529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25530 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 case $PKG_CONFIG in
25535 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25539 for as_dir
in $PATH
25542 test -z "$as_dir" && as_dir
=.
25543 for ac_exec_ext
in '' $ac_executable_extensions; do
25544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25545 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25552 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25556 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25558 if test -n "$PKG_CONFIG"; then
25559 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25560 echo "${ECHO_T}$PKG_CONFIG" >&6
25562 echo "$as_me:$LINENO: result: no" >&5
25563 echo "${ECHO_T}no" >&6
25568 if test "$PKG_CONFIG" = "no" ; then
25569 echo "*** The pkg-config script could not be found. Make sure it is"
25570 echo "*** in your path, or set the PKG_CONFIG environment variable"
25571 echo "*** to the full path to pkg-config."
25572 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25574 PKG_CONFIG_MIN_VERSION
=0.9.0
25575 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25576 echo "$as_me:$LINENO: checking for pangoft2" >&5
25577 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25579 if $PKG_CONFIG --exists "pangoft2" ; then
25580 echo "$as_me:$LINENO: result: yes" >&5
25581 echo "${ECHO_T}yes" >&6
25584 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25585 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25586 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25587 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25588 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25590 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25591 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25592 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25593 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25594 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25598 ## If we have a custom action on failure, don't print errors, but
25599 ## do set a variable so people can do so.
25600 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25607 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25608 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25612 if test $succeeded = yes; then
25614 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25615 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25619 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25620 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25621 wxUSE_PRINTING_ARCHITECTURE
="no"
25629 if test -z "$PKG_CONFIG"; then
25630 # Extract the first word of "pkg-config", so it can be a program name with args.
25631 set dummy pkg
-config; ac_word
=$2
25632 echo "$as_me:$LINENO: checking for $ac_word" >&5
25633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25634 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25637 case $PKG_CONFIG in
25639 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25643 for as_dir
in $PATH
25646 test -z "$as_dir" && as_dir
=.
25647 for ac_exec_ext
in '' $ac_executable_extensions; do
25648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25649 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25656 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25660 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25662 if test -n "$PKG_CONFIG"; then
25663 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25664 echo "${ECHO_T}$PKG_CONFIG" >&6
25666 echo "$as_me:$LINENO: result: no" >&5
25667 echo "${ECHO_T}no" >&6
25672 if test "$PKG_CONFIG" = "no" ; then
25673 echo "*** The pkg-config script could not be found. Make sure it is"
25674 echo "*** in your path, or set the PKG_CONFIG environment variable"
25675 echo "*** to the full path to pkg-config."
25676 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25678 PKG_CONFIG_MIN_VERSION
=0.9.0
25679 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25680 echo "$as_me:$LINENO: checking for pangoxft" >&5
25681 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25683 if $PKG_CONFIG --exists "pangoxft" ; then
25684 echo "$as_me:$LINENO: result: yes" >&5
25685 echo "${ECHO_T}yes" >&6
25688 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25689 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25690 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25691 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25692 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25694 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25695 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25696 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25697 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25698 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25702 ## If we have a custom action on failure, don't print errors, but
25703 ## do set a variable so people can do so.
25704 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25711 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25712 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25716 if test $succeeded = yes; then
25718 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25719 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25723 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25724 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25729 save_CFLAGS
="$CFLAGS"
25731 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25732 LIBS
="$LIBS $PANGOX_LIBS"
25734 for ac_func
in pango_font_family_is_monospace
25736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25737 echo "$as_me:$LINENO: checking for $ac_func" >&5
25738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25739 if eval "test \"\${$as_ac_var+set}\" = set"; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 cat >conftest.
$ac_ext <<_ACEOF
25745 cat confdefs.h
>>conftest.
$ac_ext
25746 cat >>conftest.
$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25750 #define $ac_func innocuous_$ac_func
25752 /* System header to define __stub macros and hopefully few prototypes,
25753 which can conflict with char $ac_func (); below.
25754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25755 <limits.h> exists even on freestanding compilers. */
25758 # include <limits.h>
25760 # include <assert.h>
25765 /* Override any gcc2 internal prototype to avoid an error. */
25770 /* We use char because int might match the return type of a gcc2
25771 builtin and then its argument prototype would still apply. */
25773 /* The GNU C library defines this for functions which it implements
25774 to always fail with ENOSYS. Some functions are actually named
25775 something starting with __ and the normal name is an alias. */
25776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25779 char (*f) () = $ac_func;
25788 return f != $ac_func;
25793 rm -f conftest.
$ac_objext conftest
$ac_exeext
25794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25795 (eval $ac_link) 2>conftest.er1
25797 grep -v '^ *+' conftest.er1
>conftest.err
25799 cat conftest.err
>&5
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); } &&
25802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25804 (eval $ac_try) 2>&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); }; } &&
25808 { ac_try
='test -s conftest$ac_exeext'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 eval "$as_ac_var=yes"
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.
$ac_ext >&5
25819 eval "$as_ac_var=no"
25821 rm -f conftest.err conftest.
$ac_objext \
25822 conftest
$ac_exeext conftest.
$ac_ext
25824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25826 if test `eval echo '${'$as_ac_var'}'` = yes; then
25827 cat >>confdefs.h
<<_ACEOF
25828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25834 CFLAGS
="$save_CFLAGS"
25838 wxUSE_UNIVERSAL
="yes"
25840 if test "$wxUSE_NANOX" = "yes"; then
25841 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25842 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"
25843 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25845 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25852 if test "$wxUSE_MOTIF" = 1; then
25853 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25854 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25857 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25859 if test -f "$ac_dir/Xm/Xm.h"; then
25860 ac_find_includes
=$ac_dir
25865 if test "$ac_find_includes" != "" ; then
25866 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25867 echo "${ECHO_T}found in $ac_find_includes" >&6
25869 if test "x$ac_find_includes" = "x/usr/include"; then
25870 ac_path_to_include
=""
25872 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25874 if test $result = 0; then
25875 ac_path_to_include
=""
25877 ac_path_to_include
=" -I$ac_find_includes"
25881 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25883 cat >conftest.
$ac_ext <<_ACEOF
25886 cat confdefs.h
>>conftest.
$ac_ext
25887 cat >>conftest.
$ac_ext <<_ACEOF
25888 /* end confdefs.h. */
25897 version = xmUseVersion;
25903 rm -f conftest.
$ac_objext
25904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25905 (eval $ac_compile) 2>conftest.er1
25907 grep -v '^ *+' conftest.er1
>conftest.err
25909 cat conftest.err
>&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } &&
25912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25914 (eval $ac_try) 2>&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); }; } &&
25918 { ac_try
='test -s conftest.$ac_objext'
25919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25920 (eval $ac_try) 2>&5
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); }; }; then
25925 echo "$as_me:$LINENO: result: found in default search path" >&5
25926 echo "${ECHO_T}found in default search path" >&6
25927 COMPILED_X_PROGRAM
=1
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.
$ac_ext >&5
25934 echo "$as_me:$LINENO: result: no" >&5
25935 echo "${ECHO_T}no" >&6
25936 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25937 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25938 { (exit 1); exit 1; }; }
25942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25945 if test "$COMPILED_X_PROGRAM" = 0; then
25946 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25947 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25950 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25952 for ac_extension
in a so sl dylib
; do
25953 if test -f "$ac_dir/libXm.$ac_extension"; then
25954 ac_find_libraries
=$ac_dir
25960 if test "$ac_find_libraries" != "" ; then
25961 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25962 echo "${ECHO_T}found at $ac_find_libraries" >&6
25965 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25967 if test $result = 0; then
25970 ac_path_to_link
=" -L$ac_find_libraries"
25973 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25975 save_CFLAGS
=$CFLAGS
25976 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25978 cat >conftest.
$ac_ext <<_ACEOF
25981 cat confdefs.h
>>conftest.
$ac_ext
25982 cat >>conftest.
$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25992 version = xmUseVersion;
25998 rm -f conftest.
$ac_objext
25999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26000 (eval $ac_compile) 2>conftest.er1
26002 grep -v '^ *+' conftest.er1
>conftest.err
26004 cat conftest.err
>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); } &&
26007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; } &&
26013 { ac_try
='test -s conftest.$ac_objext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26020 echo "$as_me:$LINENO: result: found in default search path" >&5
26021 echo "${ECHO_T}found in default search path" >&6
26022 COMPILED_X_PROGRAM
=1
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.
$ac_ext >&5
26029 echo "$as_me:$LINENO: result: no" >&5
26030 echo "${ECHO_T}no" >&6
26031 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26032 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26033 { (exit 1); exit 1; }; }
26037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26039 CFLAGS
=$save_CFLAGS
26043 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26044 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26048 for libp
in "" " -lXp"; do
26049 if test "$libs_found" = "0"; then
26050 for libsm_ice
in "" " -lSM -lICE"; do
26051 if test "$libs_found" = "0"; then
26053 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26054 save_CFLAGS
=$CFLAGS
26055 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26057 cat >conftest.
$ac_ext <<_ACEOF
26060 cat confdefs.h
>>conftest.
$ac_ext
26061 cat >>conftest.
$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26065 #include <Xm/List.h>
26071 XmString string = NULL;
26074 XmListAddItem(w, string, position);
26080 rm -f conftest.
$ac_objext conftest
$ac_exeext
26081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26082 (eval $ac_link) 2>conftest.er1
26084 grep -v '^ *+' conftest.er1
>conftest.err
26086 cat conftest.err
>&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } &&
26089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; } &&
26095 { ac_try
='test -s conftest$ac_exeext'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; }; then
26103 libsm_ice_link
="$libsm_ice"
26104 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26105 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.
$ac_ext >&5
26115 rm -f conftest.err conftest.
$ac_objext \
26116 conftest
$ac_exeext conftest.
$ac_ext
26119 CFLAGS
=$save_CFLAGS
26125 if test "$libs_found" = "0"; then
26126 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26127 echo "${ECHO_T}can't find the right libraries" >&6
26128 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26129 echo "$as_me: error: can't link a simple motif program" >&2;}
26130 { (exit 1); exit 1; }; }
26133 save_CFLAGS
=$CFLAGS
26134 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26135 echo "$as_me:$LINENO: checking for Motif 2" >&5
26136 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26137 cat >conftest.
$ac_ext <<_ACEOF
26140 cat confdefs.h
>>conftest.
$ac_ext
26141 cat >>conftest.
$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26150 #if XmVersion < 2000
26151 #error "Not Motif 2"
26158 rm -f conftest.
$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160 (eval $ac_compile) 2>conftest.er1
26162 grep -v '^ *+' conftest.er1
>conftest.err
26164 cat conftest.err
>&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } &&
26167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; } &&
26173 { ac_try
='test -s conftest.$ac_objext'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; }; then
26180 cat >>confdefs.h
<<\_ACEOF
26181 #define __WXMOTIF20__ 1
26184 echo "$as_me:$LINENO: result: found" >&5
26185 echo "${ECHO_T}found" >&6
26188 echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.
$ac_ext >&5
26192 cat >>confdefs.h
<<\_ACEOF
26193 #define __WXMOTIF20__ 0
26196 echo "$as_me:$LINENO: result: not found" >&5
26197 echo "${ECHO_T}not found" >&6
26200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26201 CFLAGS
=$save_CFLAGS
26203 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26208 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26209 if test "$wxUSE_LIBXPM" = "sys"; then
26210 echo "$as_me:$LINENO: checking for Xpm library" >&5
26211 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26214 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26216 for ac_extension
in a so sl dylib
; do
26217 if test -f "$ac_dir/libXpm.$ac_extension"; then
26218 ac_find_libraries
=$ac_dir
26224 if test "$ac_find_libraries" != "" ; then
26226 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26228 if test $result = 0; then
26231 ac_path_to_link
=" -L$ac_find_libraries"
26234 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26235 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26236 echo "${ECHO_T}found at $ac_find_libraries" >&6
26238 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26239 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26240 if test "${wx_cv_x11_xpm_h+set}" = set; then
26241 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 save_CFLAGS
=$CFLAGS
26245 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26247 cat >conftest.
$ac_ext <<_ACEOF
26250 cat confdefs.h
>>conftest.
$ac_ext
26251 cat >>conftest.
$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26254 #include <X11/xpm.h>
26261 version = XpmLibraryVersion();
26267 rm -f conftest.
$ac_objext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26269 (eval $ac_compile) 2>conftest.er1
26271 grep -v '^ *+' conftest.er1
>conftest.err
26273 cat conftest.err
>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } &&
26276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26278 (eval $ac_try) 2>&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); }; } &&
26282 { ac_try
='test -s conftest.$ac_objext'
26283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26284 (eval $ac_try) 2>&5
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); }; }; then
26288 wx_cv_x11_xpm_h
=yes
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.
$ac_ext >&5
26296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26298 CFLAGS
=$save_CFLAGS
26302 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26303 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26305 if test $wx_cv_x11_xpm_h = "yes"; then
26306 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26307 cat >>confdefs.h
<<\_ACEOF
26308 #define wxHAVE_LIB_XPM 1
26312 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26313 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26319 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26320 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26321 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26322 echo $ECHO_N "(cached) $ECHO_C" >&6
26324 ac_check_lib_save_LIBS
=$LIBS
26325 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26326 cat >conftest.
$ac_ext <<_ACEOF
26329 cat confdefs.h
>>conftest.
$ac_ext
26330 cat >>conftest.
$ac_ext <<_ACEOF
26331 /* end confdefs.h. */
26333 /* Override any gcc2 internal prototype to avoid an error. */
26337 /* We use char because int might match the return type of a gcc2
26338 builtin and then its argument prototype would still apply. */
26339 char XShapeQueryExtension ();
26343 XShapeQueryExtension ();
26348 rm -f conftest.
$ac_objext conftest
$ac_exeext
26349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26350 (eval $ac_link) 2>conftest.er1
26352 grep -v '^ *+' conftest.er1
>conftest.err
26354 cat conftest.err
>&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); } &&
26357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26359 (eval $ac_try) 2>&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); }; } &&
26363 { ac_try
='test -s conftest$ac_exeext'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; }; then
26369 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26371 echo "$as_me: failed program was:" >&5
26372 sed 's/^/| /' conftest.
$ac_ext >&5
26374 ac_cv_lib_Xext_XShapeQueryExtension
=no
26376 rm -f conftest.err conftest.
$ac_objext \
26377 conftest
$ac_exeext conftest.
$ac_ext
26378 LIBS
=$ac_check_lib_save_LIBS
26380 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26381 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26382 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26384 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26390 if test "$wxHAVE_XEXT_LIB" = 1; then
26391 save_CFLAGS
="$CFLAGS"
26392 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26394 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26395 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26396 cat >conftest.
$ac_ext <<_ACEOF
26399 cat confdefs.h
>>conftest.
$ac_ext
26400 cat >>conftest.
$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26403 #include <X11/Xlib.h>
26404 #include <X11/extensions/shape.h>
26410 int dummy1, dummy2;
26411 XShapeQueryExtension((Display*)NULL,
26412 (int*)NULL, (int*)NULL);
26418 rm -f conftest.
$ac_objext
26419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26420 (eval $ac_compile) 2>conftest.er1
26422 grep -v '^ *+' conftest.er1
>conftest.err
26424 cat conftest.err
>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); } &&
26427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; } &&
26433 { ac_try
='test -s conftest.$ac_objext'
26434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435 (eval $ac_try) 2>&5
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; }; then
26440 cat >>confdefs.h
<<\_ACEOF
26441 #define HAVE_XSHAPE 1
26444 echo "$as_me:$LINENO: result: found" >&5
26445 echo "${ECHO_T}found" >&6
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.
$ac_ext >&5
26452 echo "$as_me:$LINENO: result: not found" >&5
26453 echo "${ECHO_T}not found" >&6
26456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26457 CFLAGS
="$save_CFLAGS"
26462 if test "$wxUSE_MAC" = 1; then
26463 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26464 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26465 if test "$GCC" = yes; then
26466 echo "$as_me:$LINENO: result: gcc" >&5
26467 echo "${ECHO_T}gcc" >&6
26468 CPPFLAGS_PASCAL
="-fpascal-strings"
26469 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26470 echo "$as_me:$LINENO: result: xlc" >&5
26471 echo "${ECHO_T}xlc" >&6
26472 CPPFLAGS_PASCAL
="-qmacpstr"
26474 echo "$as_me:$LINENO: result: none" >&5
26475 echo "${ECHO_T}none" >&6
26478 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26482 WXBASEPORT
="_carbon"
26485 if test "$wxUSE_COCOA" = 1; then
26490 if test "$wxUSE_PM" = 1; then
26493 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26494 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26495 if test "${wx_cv_spbcdata+set}" = set; then
26496 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 cat >conftest.
$ac_ext <<_ACEOF
26502 cat confdefs.h
>>conftest.
$ac_ext
26503 cat >>conftest.
$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26519 rm -f conftest.
$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521 (eval $ac_compile) 2>conftest.er1
26523 grep -v '^ *+' conftest.er1
>conftest.err
26525 cat conftest.err
>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try
='test -s conftest.$ac_objext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.
$ac_ext >&5
26548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26552 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26553 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26555 if test $wx_cv_spbcdata = "yes"; then
26556 cat >>confdefs.h
<<\_ACEOF
26557 #define HAVE_SPBCDATA 1
26563 if test "$TOOLKIT" = "PM" ; then
26566 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26569 if test "$wxUSE_UNIVERSAL" = "yes"; then
26570 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26574 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26575 DISTDIR
="wx\$(TOOLKIT)"
26581 if test "$USE_WIN32" = 1 ; then
26585 GUIDIST
="BASE_DIST"
26595 if test "$TOOLKIT" != "MSW" ; then
26597 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26599 if test "${ac_cv_header_sql_h+set}" = set; then
26600 echo "$as_me:$LINENO: checking for sql.h" >&5
26601 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26602 if test "${ac_cv_header_sql_h+set}" = set; then
26603 echo $ECHO_N "(cached) $ECHO_C" >&6
26605 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26606 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26608 # Is the header compilable?
26609 echo "$as_me:$LINENO: checking sql.h usability" >&5
26610 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26611 cat >conftest.
$ac_ext <<_ACEOF
26614 cat confdefs.h
>>conftest.
$ac_ext
26615 cat >>conftest.
$ac_ext <<_ACEOF
26616 /* end confdefs.h. */
26617 $ac_includes_default
26620 rm -f conftest.
$ac_objext
26621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26622 (eval $ac_compile) 2>conftest.er1
26624 grep -v '^ *+' conftest.er1
>conftest.err
26626 cat conftest.err
>&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } &&
26629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26631 (eval $ac_try) 2>&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); }; } &&
26635 { ac_try
='test -s conftest.$ac_objext'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; }; then
26641 ac_header_compiler
=yes
26643 echo "$as_me: failed program was:" >&5
26644 sed 's/^/| /' conftest.
$ac_ext >&5
26646 ac_header_compiler
=no
26648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26650 echo "${ECHO_T}$ac_header_compiler" >&6
26652 # Is the header present?
26653 echo "$as_me:$LINENO: checking sql.h presence" >&5
26654 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26655 cat >conftest.
$ac_ext <<_ACEOF
26658 cat confdefs.h
>>conftest.
$ac_ext
26659 cat >>conftest.
$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26666 grep -v '^ *+' conftest.er1
>conftest.err
26668 cat conftest.err
>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } >/dev
/null
; then
26671 if test -s conftest.err
; then
26672 ac_cpp_err
=$ac_c_preproc_warn_flag
26673 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26680 if test -z "$ac_cpp_err"; then
26681 ac_header_preproc
=yes
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.
$ac_ext >&5
26686 ac_header_preproc
=no
26688 rm -f conftest.err conftest.
$ac_ext
26689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26690 echo "${ECHO_T}$ac_header_preproc" >&6
26692 # So? What about this header?
26693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26695 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26696 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26697 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26698 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26699 ac_header_preproc
=yes
26702 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26703 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26704 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26705 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26706 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26707 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26708 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26709 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26710 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26711 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26712 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26713 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26716 ## ----------------------------------------- ##
26717 ## Report this to wx-dev@lists.wxwidgets.org ##
26718 ## ----------------------------------------- ##
26721 sed "s/^/$as_me: WARNING: /" >&2
26724 echo "$as_me:$LINENO: checking for sql.h" >&5
26725 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26726 if test "${ac_cv_header_sql_h+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26729 ac_cv_header_sql_h
=$ac_header_preproc
26731 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26732 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26735 if test $ac_cv_header_sql_h = yes; then
26740 if test "x$found_sql_h" = "x1" ; then
26741 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26742 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26743 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 ac_check_lib_save_LIBS
=$LIBS
26747 LIBS
="-liodbc $LIBS"
26748 cat >conftest.
$ac_ext <<_ACEOF
26751 cat confdefs.h
>>conftest.
$ac_ext
26752 cat >>conftest.
$ac_ext <<_ACEOF
26753 /* end confdefs.h. */
26755 /* Override any gcc2 internal prototype to avoid an error. */
26759 /* We use char because int might match the return type of a gcc2
26760 builtin and then its argument prototype would still apply. */
26761 char SQLAllocEnv ();
26770 rm -f conftest.
$ac_objext conftest
$ac_exeext
26771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26772 (eval $ac_link) 2>conftest.er1
26774 grep -v '^ *+' conftest.er1
>conftest.err
26776 cat conftest.err
>&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); } &&
26779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26781 (eval $ac_try) 2>&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); }; } &&
26785 { ac_try
='test -s conftest$ac_exeext'
26786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26787 (eval $ac_try) 2>&5
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); }; }; then
26791 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.
$ac_ext >&5
26796 ac_cv_lib_iodbc_SQLAllocEnv
=no
26798 rm -f conftest.err conftest.
$ac_objext \
26799 conftest
$ac_exeext conftest.
$ac_ext
26800 LIBS
=$ac_check_lib_save_LIBS
26802 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26803 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26804 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26805 ODBC_LINK
=" -liodbc"
26808 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26809 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26810 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26813 ac_check_lib_save_LIBS
=$LIBS
26814 LIBS
="-lunixodbc $LIBS"
26815 cat >conftest.
$ac_ext <<_ACEOF
26818 cat confdefs.h
>>conftest.
$ac_ext
26819 cat >>conftest.
$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26822 /* Override any gcc2 internal prototype to avoid an error. */
26826 /* We use char because int might match the return type of a gcc2
26827 builtin and then its argument prototype would still apply. */
26828 char SQLAllocEnv ();
26837 rm -f conftest.
$ac_objext conftest
$ac_exeext
26838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26839 (eval $ac_link) 2>conftest.er1
26841 grep -v '^ *+' conftest.er1
>conftest.err
26843 cat conftest.err
>&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; } &&
26852 { ac_try
='test -s conftest$ac_exeext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.
$ac_ext >&5
26863 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26865 rm -f conftest.err conftest.
$ac_objext \
26866 conftest
$ac_exeext conftest.
$ac_ext
26867 LIBS
=$ac_check_lib_save_LIBS
26869 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26870 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26871 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26872 ODBC_LINK
=" -lunixodbc"
26875 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26876 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26877 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26880 ac_check_lib_save_LIBS
=$LIBS
26881 LIBS
="-lodbc $LIBS"
26882 cat >conftest.
$ac_ext <<_ACEOF
26885 cat confdefs.h
>>conftest.
$ac_ext
26886 cat >>conftest.
$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26889 /* Override any gcc2 internal prototype to avoid an error. */
26893 /* We use char because int might match the return type of a gcc2
26894 builtin and then its argument prototype would still apply. */
26895 char SQLAllocEnv ();
26904 rm -f conftest.
$ac_objext conftest
$ac_exeext
26905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26906 (eval $ac_link) 2>conftest.er1
26908 grep -v '^ *+' conftest.er1
>conftest.err
26910 cat conftest.err
>&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } &&
26913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try
='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 ac_cv_lib_odbc_SQLAllocEnv
=yes
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.
$ac_ext >&5
26930 ac_cv_lib_odbc_SQLAllocEnv
=no
26932 rm -f conftest.err conftest.
$ac_objext \
26933 conftest
$ac_exeext conftest.
$ac_ext
26934 LIBS
=$ac_check_lib_save_LIBS
26936 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26937 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26938 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26939 ODBC_LINK
=" -lodbc"
26949 if test "x$ODBC_LINK" = "x" ; then
26950 if test "$wxUSE_ODBC" = "sys" ; then
26951 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26952 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26953 { (exit 1); exit 1; }; }
26955 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26956 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26963 if test "$wxUSE_ODBC" != "no" ; then
26964 cat >>confdefs.h
<<\_ACEOF
26965 #define wxUSE_ODBC 1
26968 if test "$wxUSE_ODBC" = "builtin" ; then
26969 cat >>confdefs.h
<<\_ACEOF
26970 #define wxUSE_BUILTIN_IODBC 1
26974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26976 WXODBCFLAG
="-D_IODBC_"
26982 if test "$wxUSE_DISPLAY" = "yes"; then
26983 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26984 echo "$as_me:$LINENO: checking for Xinerama" >&5
26985 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26988 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26990 for ac_extension
in a so sl dylib
; do
26991 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26992 ac_find_libraries
=$ac_dir
26998 if test "$ac_find_libraries" != "" ; then
27000 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27002 if test $result = 0; then
27005 ac_path_to_link
=" -L$ac_find_libraries"
27008 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27009 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27011 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27012 echo "$as_me:$LINENO: result: yes" >&5
27013 echo "${ECHO_T}yes" >&6
27015 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27016 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27019 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27021 for ac_extension
in a so sl dylib
; do
27022 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27023 ac_find_libraries
=$ac_dir
27029 if test "$ac_find_libraries" != "" ; then
27030 echo "$as_me:$LINENO: result: yes" >&5
27031 echo "${ECHO_T}yes" >&6
27033 for ac_header
in X
11/extensions
/xf86vmode.h
27035 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27036 echo "$as_me:$LINENO: checking for $ac_header" >&5
27037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27041 cat >conftest.
$ac_ext <<_ACEOF
27044 cat confdefs.h
>>conftest.
$ac_ext
27045 cat >>conftest.
$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27048 #if HAVE_X11_XLIB_H
27049 #include <X11/Xlib.h>
27053 #include <$ac_header>
27055 rm -f conftest.
$ac_objext
27056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27057 (eval $ac_compile) 2>conftest.er1
27059 grep -v '^ *+' conftest.er1
>conftest.err
27061 cat conftest.err
>&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } &&
27064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; } &&
27070 { ac_try
='test -s conftest.$ac_objext'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; }; then
27076 eval "$as_ac_Header=yes"
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.
$ac_ext >&5
27081 eval "$as_ac_Header=no"
27083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27088 cat >>confdefs.h
<<_ACEOF
27089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27092 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27099 echo "$as_me:$LINENO: result: no" >&5
27100 echo "${ECHO_T}no" >&6
27104 echo "$as_me:$LINENO: result: no" >&5
27105 echo "${ECHO_T}no" >&6
27106 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27107 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27110 elif test "$wxUSE_MSW" = 1; then
27113 for ac_header
in multimon.h ddraw.h
27115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27117 echo "$as_me:$LINENO: checking for $ac_header" >&5
27118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27125 # Is the header compilable?
27126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27128 cat >conftest.
$ac_ext <<_ACEOF
27131 cat confdefs.h
>>conftest.
$ac_ext
27132 cat >>conftest.
$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 $ac_includes_default
27135 #include <$ac_header>
27137 rm -f conftest.
$ac_objext
27138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27139 (eval $ac_compile) 2>conftest.er1
27141 grep -v '^ *+' conftest.er1
>conftest.err
27143 cat conftest.err
>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } &&
27146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; } &&
27152 { ac_try
='test -s conftest.$ac_objext'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; }; then
27158 ac_header_compiler
=yes
27160 echo "$as_me: failed program was:" >&5
27161 sed 's/^/| /' conftest.
$ac_ext >&5
27163 ac_header_compiler
=no
27165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27167 echo "${ECHO_T}$ac_header_compiler" >&6
27169 # Is the header present?
27170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27172 cat >conftest.
$ac_ext <<_ACEOF
27175 cat confdefs.h
>>conftest.
$ac_ext
27176 cat >>conftest.
$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178 #include <$ac_header>
27180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27183 grep -v '^ *+' conftest.er1
>conftest.err
27185 cat conftest.err
>&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } >/dev
/null
; then
27188 if test -s conftest.err
; then
27189 ac_cpp_err
=$ac_c_preproc_warn_flag
27190 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27197 if test -z "$ac_cpp_err"; then
27198 ac_header_preproc
=yes
27200 echo "$as_me: failed program was:" >&5
27201 sed 's/^/| /' conftest.
$ac_ext >&5
27203 ac_header_preproc
=no
27205 rm -f conftest.err conftest.
$ac_ext
27206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27207 echo "${ECHO_T}$ac_header_preproc" >&6
27209 # So? What about this header?
27210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27216 ac_header_preproc
=yes
27219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27233 ## ----------------------------------------- ##
27234 ## Report this to wx-dev@lists.wxwidgets.org ##
27235 ## ----------------------------------------- ##
27238 sed "s/^/$as_me: WARNING: /" >&2
27241 echo "$as_me:$LINENO: checking for $ac_header" >&5
27242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 eval "$as_ac_Header=\$ac_header_preproc"
27248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27253 cat >>confdefs.h
<<_ACEOF
27254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27260 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27261 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27271 if test "$wxUSE_MEDIACTRL" = "yes"; then
27272 if test "$wxUSE_MSW" = 1; then
27273 wxUSE_DIRECTSHOW
="yes"
27275 for ac_header
in dshow.h
27277 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27279 echo "$as_me:$LINENO: checking for $ac_header" >&5
27280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27282 echo $ECHO_N "(cached) $ECHO_C" >&6
27284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27287 # Is the header compilable?
27288 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27289 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27290 cat >conftest.
$ac_ext <<_ACEOF
27293 cat confdefs.h
>>conftest.
$ac_ext
27294 cat >>conftest.
$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27296 $ac_includes_default
27297 #include <$ac_header>
27299 rm -f conftest.
$ac_objext
27300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27301 (eval $ac_compile) 2>conftest.er1
27303 grep -v '^ *+' conftest.er1
>conftest.err
27305 cat conftest.err
>&5
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); } &&
27308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27310 (eval $ac_try) 2>&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); }; } &&
27314 { ac_try
='test -s conftest.$ac_objext'
27315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27316 (eval $ac_try) 2>&5
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); }; }; then
27320 ac_header_compiler
=yes
27322 echo "$as_me: failed program was:" >&5
27323 sed 's/^/| /' conftest.
$ac_ext >&5
27325 ac_header_compiler
=no
27327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27329 echo "${ECHO_T}$ac_header_compiler" >&6
27331 # Is the header present?
27332 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27333 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27334 cat >conftest.
$ac_ext <<_ACEOF
27337 cat confdefs.h
>>conftest.
$ac_ext
27338 cat >>conftest.
$ac_ext <<_ACEOF
27339 /* end confdefs.h. */
27340 #include <$ac_header>
27342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27345 grep -v '^ *+' conftest.er1
>conftest.err
27347 cat conftest.err
>&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } >/dev
/null
; then
27350 if test -s conftest.err
; then
27351 ac_cpp_err
=$ac_c_preproc_warn_flag
27352 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27359 if test -z "$ac_cpp_err"; then
27360 ac_header_preproc
=yes
27362 echo "$as_me: failed program was:" >&5
27363 sed 's/^/| /' conftest.
$ac_ext >&5
27365 ac_header_preproc
=no
27367 rm -f conftest.err conftest.
$ac_ext
27368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27369 echo "${ECHO_T}$ac_header_preproc" >&6
27371 # So? What about this header?
27372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27374 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27375 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27377 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27378 ac_header_preproc
=yes
27381 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27382 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27383 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27384 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27385 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27386 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27387 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27388 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27390 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27391 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27392 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27395 ## ----------------------------------------- ##
27396 ## Report this to wx-dev@lists.wxwidgets.org ##
27397 ## ----------------------------------------- ##
27400 sed "s/^/$as_me: WARNING: /" >&2
27403 echo "$as_me:$LINENO: checking for $ac_header" >&5
27404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 eval "$as_ac_Header=\$ac_header_preproc"
27410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27415 cat >>confdefs.h
<<_ACEOF
27416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27421 wxUSE_DIRECTSHOW
="no"
27422 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27423 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27430 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27431 cat >>confdefs.h
<<\_ACEOF
27432 #define wxUSE_DIRECTSHOW 1
27435 LIBS
="$LIBS -lstrmiids"
27442 if test "$wxUSE_OPENGL" = "yes"; then
27443 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27444 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27445 elif test "$wxUSE_MSW" = 1; then
27446 OPENGL_LIBS
="-lopengl32 -lglu32"
27451 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27453 if test -f "$ac_dir/GL/gl.h"; then
27454 ac_find_includes
=$ac_dir
27459 if test "$ac_find_includes" != "" ; then
27460 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27461 echo "${ECHO_T}found in $ac_find_includes" >&6
27463 if test "x$ac_find_includes" = "x/usr/include"; then
27464 ac_path_to_include
=""
27466 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27468 if test $result = 0; then
27469 ac_path_to_include
=""
27471 ac_path_to_include
=" -I$ac_find_includes"
27475 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27478 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27479 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27480 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27481 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27482 echo $ECHO_N "(cached) $ECHO_C" >&6
27484 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27485 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27487 # Is the header compilable?
27488 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27489 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27490 cat >conftest.
$ac_ext <<_ACEOF
27493 cat confdefs.h
>>conftest.
$ac_ext
27494 cat >>conftest.
$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27496 $ac_includes_default
27499 rm -f conftest.
$ac_objext
27500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27501 (eval $ac_compile) 2>conftest.er1
27503 grep -v '^ *+' conftest.er1
>conftest.err
27505 cat conftest.err
>&5
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); } &&
27508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; } &&
27514 { ac_try
='test -s conftest.$ac_objext'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; }; then
27520 ac_header_compiler
=yes
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.
$ac_ext >&5
27525 ac_header_compiler
=no
27527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27529 echo "${ECHO_T}$ac_header_compiler" >&6
27531 # Is the header present?
27532 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27533 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27534 cat >conftest.
$ac_ext <<_ACEOF
27537 cat confdefs.h
>>conftest.
$ac_ext
27538 cat >>conftest.
$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27545 grep -v '^ *+' conftest.er1
>conftest.err
27547 cat conftest.err
>&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } >/dev
/null
; then
27550 if test -s conftest.err
; then
27551 ac_cpp_err
=$ac_c_preproc_warn_flag
27552 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27559 if test -z "$ac_cpp_err"; then
27560 ac_header_preproc
=yes
27562 echo "$as_me: failed program was:" >&5
27563 sed 's/^/| /' conftest.
$ac_ext >&5
27565 ac_header_preproc
=no
27567 rm -f conftest.err conftest.
$ac_ext
27568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27569 echo "${ECHO_T}$ac_header_preproc" >&6
27571 # So? What about this header?
27572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27574 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27575 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27576 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27577 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27578 ac_header_preproc
=yes
27581 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27582 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27583 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27584 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27585 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27586 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27587 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27588 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27589 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27590 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27591 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27592 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27595 ## ----------------------------------------- ##
27596 ## Report this to wx-dev@lists.wxwidgets.org ##
27597 ## ----------------------------------------- ##
27600 sed "s/^/$as_me: WARNING: /" >&2
27603 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27604 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27605 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27608 ac_cv_header_GL_gl_h
=$ac_header_preproc
27610 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27611 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27614 if test $ac_cv_header_GL_gl_h = yes; then
27618 echo "$as_me:$LINENO: checking for -lGL" >&5
27619 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27622 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27624 for ac_extension
in a so sl dylib
; do
27625 if test -f "$ac_dir/libGL.$ac_extension"; then
27626 ac_find_libraries
=$ac_dir
27632 if test "$ac_find_libraries" != "" ; then
27634 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27636 if test $result = 0; then
27639 ac_path_to_link
=" -L$ac_find_libraries"
27642 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27643 LDFLAGS_GL
="$ac_path_to_link"
27648 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27650 for ac_extension
in a so sl dylib
; do
27651 if test -f "$ac_dir/libGLU.$ac_extension"; then
27652 ac_find_libraries
=$ac_dir
27658 if test "$ac_find_libraries" != "" ; then
27660 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27662 if test $result = 0; then
27665 ac_path_to_link
=" -L$ac_find_libraries"
27668 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27669 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27670 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27674 OPENGL_LIBS
="-lGL -lGLU"
27675 echo "$as_me:$LINENO: result: yes" >&5
27676 echo "${ECHO_T}yes" >&6
27680 if test "$found_gl" != 1; then
27681 echo "$as_me:$LINENO: result: no" >&5
27682 echo "${ECHO_T}no" >&6
27683 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27684 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27687 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27689 for ac_extension
in a so sl dylib
; do
27690 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27691 ac_find_libraries
=$ac_dir
27697 if test "$ac_find_libraries" != "" ; then
27699 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27701 if test $result = 0; then
27704 ac_path_to_link
=" -L$ac_find_libraries"
27707 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27708 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27709 echo "$as_me:$LINENO: result: yes" >&5
27710 echo "${ECHO_T}yes" >&6
27712 echo "$as_me:$LINENO: result: no" >&5
27713 echo "${ECHO_T}no" >&6
27721 if test "x$OPENGL_LIBS" = "x"; then
27722 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27723 echo "$as_me: error: OpenGL libraries not available" >&2;}
27724 { (exit 1); exit 1; }; }
27728 if test "$wxUSE_OPENGL" = "yes"; then
27730 cat >>confdefs.h
<<\_ACEOF
27731 #define wxUSE_OPENGL 1
27734 cat >>confdefs.h
<<\_ACEOF
27735 #define wxUSE_GLCANVAS 1
27738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27743 if test -n "$TOOLKIT" ; then
27744 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27749 if test "$wxUSE_SHARED" = "yes"; then
27753 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27754 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27759 if test "$wxUSE_SHARED" = "yes"; then
27762 found_versioning
=no
27765 if test $found_versioning = no
; then
27766 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27767 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27768 if test "${wx_cv_version_script+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27772 echo "VER_1 { *; };" >conftest.sym
27773 echo "int main() { return 0; }" >conftest.cpp
27776 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27777 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; } ; then
27783 if test -s conftest.stderr
; then
27784 wx_cv_version_script
=no
27786 wx_cv_version_script
=yes
27789 wx_cv_version_script
=no
27791 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27794 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27795 echo "${ECHO_T}$wx_cv_version_script" >&6
27796 if test $wx_cv_version_script = yes ; then
27797 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27803 *-*-linux* | *-*-gnu* )
27804 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27805 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27809 if test "$GCC" = yes ; then
27810 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27812 saveLdflags
="$LDFLAGS"
27813 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27814 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27815 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27816 cat >conftest.
$ac_ext <<_ACEOF
27819 cat confdefs.h
>>conftest.
$ac_ext
27820 cat >>conftest.
$ac_ext <<_ACEOF
27821 /* end confdefs.h. */
27831 rm -f conftest.
$ac_objext conftest
$ac_exeext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27833 (eval $ac_link) 2>conftest.er1
27835 grep -v '^ *+' conftest.er1
>conftest.err
27837 cat conftest.err
>&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); } &&
27840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; } &&
27846 { ac_try
='test -s conftest$ac_exeext'
27847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848 (eval $ac_try) 2>&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); }; }; then
27853 echo "$as_me:$LINENO: result: yes" >&5
27854 echo "${ECHO_T}yes" >&6
27855 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27856 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.
$ac_ext >&5
27863 echo "$as_me:$LINENO: result: no" >&5
27864 echo "${ECHO_T}no" >&6
27865 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27866 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27867 LDFLAGS
="$saveLdflags -Wl,-R,/"
27868 cat >conftest.
$ac_ext <<_ACEOF
27871 cat confdefs.h
>>conftest.
$ac_ext
27872 cat >>conftest.
$ac_ext <<_ACEOF
27873 /* end confdefs.h. */
27883 rm -f conftest.
$ac_objext conftest
$ac_exeext
27884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27885 (eval $ac_link) 2>conftest.er1
27887 grep -v '^ *+' conftest.er1
>conftest.err
27889 cat conftest.err
>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } &&
27892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; } &&
27898 { ac_try
='test -s conftest$ac_exeext'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; }; then
27905 echo "$as_me:$LINENO: result: yes" >&5
27906 echo "${ECHO_T}yes" >&6
27907 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27908 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.
$ac_ext >&5
27915 echo "$as_me:$LINENO: result: no" >&5
27916 echo "${ECHO_T}no" >&6
27919 rm -f conftest.err conftest.
$ac_objext \
27920 conftest
$ac_exeext conftest.
$ac_ext
27923 rm -f conftest.err conftest.
$ac_objext \
27924 conftest
$ac_exeext conftest.
$ac_ext
27925 LDFLAGS
="$saveLdflags"
27927 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27928 WXCONFIG_RPATH
="-R\$libdir"
27932 powerpc
-*-darwin* )
27933 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27934 cat <<EOF >change-install-names
27936 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27937 inst_cmd="install_name_tool "
27938 for i in \${libnames} ; do
27939 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27943 chmod +x change
-install-names
27946 *-*-cygwin* | *-*-mingw32* )
27947 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27952 if test $wxUSE_RPATH = "no"; then
27953 SAMPLES_RPATH_FLAG
=''
27954 SAMPLES_RPATH_POSTLINK
=''
27962 config_linkage_component
="-static"
27969 lib_unicode_suffix
=
27971 if test "$wxUSE_UNICODE" = "yes"; then
27972 lib_unicode_suffix
=u
27973 WX_CHARTYPE
="unicode"
27978 WX_DEBUGTYPE
="release"
27980 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27982 WX_DEBUGTYPE
="debug"
27986 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27987 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27990 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27994 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27996 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27998 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28000 if test "$cross_compiling" = "yes"; then
28001 HOST_SUFFIX
="-$host_alias"
28002 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28003 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28006 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28007 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28011 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28012 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28013 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28015 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28017 # Extract the first word of "Rez", so it can be a program name with args.
28018 set dummy Rez
; ac_word
=$2
28019 echo "$as_me:$LINENO: checking for $ac_word" >&5
28020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28021 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28022 echo $ECHO_N "(cached) $ECHO_C" >&6
28024 if test -n "$RESCOMP"; then
28025 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28028 for as_dir
in $PATH
28031 test -z "$as_dir" && as_dir
=.
28032 for ac_exec_ext
in '' $ac_executable_extensions; do
28033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28034 ac_cv_prog_RESCOMP
="Rez"
28035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28041 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28044 RESCOMP
=$ac_cv_prog_RESCOMP
28045 if test -n "$RESCOMP"; then
28046 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28047 echo "${ECHO_T}$RESCOMP" >&6
28049 echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6
28053 # Extract the first word of "DeRez", so it can be a program name with args.
28054 set dummy DeRez
; ac_word
=$2
28055 echo "$as_me:$LINENO: checking for $ac_word" >&5
28056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28057 if test "${ac_cv_prog_DEREZ+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 if test -n "$DEREZ"; then
28061 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28064 for as_dir
in $PATH
28067 test -z "$as_dir" && as_dir
=.
28068 for ac_exec_ext
in '' $ac_executable_extensions; do
28069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28070 ac_cv_prog_DEREZ
="DeRez"
28071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28077 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28080 DEREZ
=$ac_cv_prog_DEREZ
28081 if test -n "$DEREZ"; then
28082 echo "$as_me:$LINENO: result: $DEREZ" >&5
28083 echo "${ECHO_T}$DEREZ" >&6
28085 echo "$as_me:$LINENO: result: no" >&5
28086 echo "${ECHO_T}no" >&6
28089 # Extract the first word of "SetFile", so it can be a program name with args.
28090 set dummy SetFile
; ac_word
=$2
28091 echo "$as_me:$LINENO: checking for $ac_word" >&5
28092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28093 if test "${ac_cv_prog_SETFILE+set}" = set; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 if test -n "$SETFILE"; then
28097 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28100 for as_dir
in $PATH
28103 test -z "$as_dir" && as_dir
=.
28104 for ac_exec_ext
in '' $ac_executable_extensions; do
28105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28106 ac_cv_prog_SETFILE
="SetFile"
28107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28113 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28116 SETFILE
=$ac_cv_prog_SETFILE
28117 if test -n "$SETFILE"; then
28118 echo "$as_me:$LINENO: result: $SETFILE" >&5
28119 echo "${ECHO_T}$SETFILE" >&6
28121 echo "$as_me:$LINENO: result: no" >&5
28122 echo "${ECHO_T}no" >&6
28126 MACSETFILE
="\$(SETFILE)"
28128 if test "$wxUSE_MAC" = 1; then
28129 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28131 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28133 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28134 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28138 MACRESWXCONFIG
="@true"
28140 if test "$wxUSE_PM" = 1; then
28141 MACRESCOMP
="emxbind -ep"
28149 echo "$as_me:$LINENO: checking for mode_t" >&5
28150 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28151 if test "${ac_cv_type_mode_t+set}" = set; then
28152 echo $ECHO_N "(cached) $ECHO_C" >&6
28154 cat >conftest.
$ac_ext <<_ACEOF
28157 cat confdefs.h
>>conftest.
$ac_ext
28158 cat >>conftest.
$ac_ext <<_ACEOF
28159 /* end confdefs.h. */
28160 $ac_includes_default
28166 if (sizeof (mode_t))
28172 rm -f conftest.
$ac_objext
28173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28174 (eval $ac_compile) 2>conftest.er1
28176 grep -v '^ *+' conftest.er1
>conftest.err
28178 cat conftest.err
>&5
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); } &&
28181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28183 (eval $ac_try) 2>&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); }; } &&
28187 { ac_try
='test -s conftest.$ac_objext'
28188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28189 (eval $ac_try) 2>&5
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); }; }; then
28193 ac_cv_type_mode_t
=yes
28195 echo "$as_me: failed program was:" >&5
28196 sed 's/^/| /' conftest.
$ac_ext >&5
28198 ac_cv_type_mode_t
=no
28200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28202 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28203 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28204 if test $ac_cv_type_mode_t = yes; then
28208 cat >>confdefs.h
<<_ACEOF
28214 echo "$as_me:$LINENO: checking for off_t" >&5
28215 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28216 if test "${ac_cv_type_off_t+set}" = set; then
28217 echo $ECHO_N "(cached) $ECHO_C" >&6
28219 cat >conftest.
$ac_ext <<_ACEOF
28222 cat confdefs.h
>>conftest.
$ac_ext
28223 cat >>conftest.
$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 $ac_includes_default
28231 if (sizeof (off_t))
28237 rm -f conftest.
$ac_objext
28238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28239 (eval $ac_compile) 2>conftest.er1
28241 grep -v '^ *+' conftest.er1
>conftest.err
28243 cat conftest.err
>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } &&
28246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try
='test -s conftest.$ac_objext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 ac_cv_type_off_t
=yes
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.
$ac_ext >&5
28263 ac_cv_type_off_t
=no
28265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28267 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28268 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28269 if test $ac_cv_type_off_t = yes; then
28273 cat >>confdefs.h
<<_ACEOF
28279 echo "$as_me:$LINENO: checking for pid_t" >&5
28280 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28281 if test "${ac_cv_type_pid_t+set}" = set; then
28282 echo $ECHO_N "(cached) $ECHO_C" >&6
28284 cat >conftest.
$ac_ext <<_ACEOF
28287 cat confdefs.h
>>conftest.
$ac_ext
28288 cat >>conftest.
$ac_ext <<_ACEOF
28289 /* end confdefs.h. */
28290 $ac_includes_default
28296 if (sizeof (pid_t))
28302 rm -f conftest.
$ac_objext
28303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28304 (eval $ac_compile) 2>conftest.er1
28306 grep -v '^ *+' conftest.er1
>conftest.err
28308 cat conftest.err
>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); } &&
28311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313 (eval $ac_try) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); }; } &&
28317 { ac_try
='test -s conftest.$ac_objext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 ac_cv_type_pid_t
=yes
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.
$ac_ext >&5
28328 ac_cv_type_pid_t
=no
28330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28332 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28333 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28334 if test $ac_cv_type_pid_t = yes; then
28338 cat >>confdefs.h
<<_ACEOF
28344 echo "$as_me:$LINENO: checking for size_t" >&5
28345 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28346 if test "${ac_cv_type_size_t+set}" = set; then
28347 echo $ECHO_N "(cached) $ECHO_C" >&6
28349 cat >conftest.
$ac_ext <<_ACEOF
28352 cat confdefs.h
>>conftest.
$ac_ext
28353 cat >>conftest.
$ac_ext <<_ACEOF
28354 /* end confdefs.h. */
28355 $ac_includes_default
28361 if (sizeof (size_t))
28367 rm -f conftest.
$ac_objext
28368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28369 (eval $ac_compile) 2>conftest.er1
28371 grep -v '^ *+' conftest.er1
>conftest.err
28373 cat conftest.err
>&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); } &&
28376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; } &&
28382 { ac_try
='test -s conftest.$ac_objext'
28383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384 (eval $ac_try) 2>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 ac_cv_type_size_t
=yes
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.
$ac_ext >&5
28393 ac_cv_type_size_t
=no
28395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28397 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28398 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28399 if test $ac_cv_type_size_t = yes; then
28403 cat >>confdefs.h
<<_ACEOF
28404 #define size_t unsigned
28409 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28410 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28411 if test "${ac_cv_type_uid_t+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28414 cat >conftest.
$ac_ext <<_ACEOF
28417 cat confdefs.h
>>conftest.
$ac_ext
28418 cat >>conftest.
$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28420 #include <sys/types.h>
28423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28424 $EGREP "uid_t" >/dev
/null
2>&1; then
28425 ac_cv_type_uid_t
=yes
28427 ac_cv_type_uid_t
=no
28432 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28433 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28434 if test $ac_cv_type_uid_t = no
; then
28436 cat >>confdefs.h
<<\_ACEOF
28441 cat >>confdefs.h
<<\_ACEOF
28451 ac_cpp
='$CXXCPP $CPPFLAGS'
28452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28456 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28457 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28458 if test "${wx_cv_size_t_is_uint+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28462 cat >conftest.
$ac_ext <<_ACEOF
28465 cat confdefs.h
>>conftest.
$ac_ext
28466 cat >>conftest.
$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28468 #include <stddef.h>
28475 struct Foo { void foo(size_t); void foo(unsigned int); };
28483 rm -f conftest.
$ac_objext
28484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28485 (eval $ac_compile) 2>conftest.er1
28487 grep -v '^ *+' conftest.er1
>conftest.err
28489 cat conftest.err
>&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; } &&
28498 { ac_try
='test -s conftest.$ac_objext'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; }; then
28504 wx_cv_size_t_is_uint
=no
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.
$ac_ext >&5
28509 wx_cv_size_t_is_uint
=yes
28512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28516 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28517 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28519 if test "$wx_cv_size_t_is_uint" = "yes"; then
28520 cat >>confdefs.h
<<\_ACEOF
28521 #define wxSIZE_T_IS_UINT 1
28525 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28526 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28527 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28528 echo $ECHO_N "(cached) $ECHO_C" >&6
28530 cat >conftest.
$ac_ext <<_ACEOF
28533 cat confdefs.h
>>conftest.
$ac_ext
28534 cat >>conftest.
$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28536 #include <stddef.h>
28543 struct Foo { void foo(size_t); void foo(unsigned long); };
28551 rm -f conftest.
$ac_objext
28552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28553 (eval $ac_compile) 2>conftest.er1
28555 grep -v '^ *+' conftest.er1
>conftest.err
28557 cat conftest.err
>&5
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); } &&
28560 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28562 (eval $ac_try) 2>&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); }; } &&
28566 { ac_try
='test -s conftest.$ac_objext'
28567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); }; }; then
28572 wx_cv_size_t_is_ulong
=no
28574 echo "$as_me: failed program was:" >&5
28575 sed 's/^/| /' conftest.
$ac_ext >&5
28577 wx_cv_size_t_is_ulong
=yes
28580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28583 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28584 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28586 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28587 cat >>confdefs.h
<<\_ACEOF
28588 #define wxSIZE_T_IS_ULONG 1
28595 ac_cpp
='$CPP $CPPFLAGS'
28596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28602 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28603 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28604 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28608 cat >conftest.
$ac_ext <<_ACEOF
28611 cat confdefs.h
>>conftest.
$ac_ext
28612 cat >>conftest.
$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28627 rm -f conftest.
$ac_objext
28628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28629 (eval $ac_compile) 2>conftest.er1
28631 grep -v '^ *+' conftest.er1
>conftest.err
28633 cat conftest.err
>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } &&
28636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; } &&
28642 { ac_try
='test -s conftest.$ac_objext'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; }; then
28649 wx_cv_struct_pw_gecos
=yes
28652 echo "$as_me: failed program was:" >&5
28653 sed 's/^/| /' conftest.
$ac_ext >&5
28656 wx_cv_struct_pw_gecos
=no
28660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28664 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28665 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28667 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28668 cat >>confdefs.h
<<\_ACEOF
28669 #define HAVE_PW_GECOS 1
28675 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28676 cat >>confdefs.h
<<\_ACEOF
28677 #define wxUSE_WCHAR_T 1
28684 for ac_func
in wcslen
28686 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28687 echo "$as_me:$LINENO: checking for $ac_func" >&5
28688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28689 if eval "test \"\${$as_ac_var+set}\" = set"; then
28690 echo $ECHO_N "(cached) $ECHO_C" >&6
28692 cat >conftest.
$ac_ext <<_ACEOF
28695 cat confdefs.h
>>conftest.
$ac_ext
28696 cat >>conftest.
$ac_ext <<_ACEOF
28697 /* end confdefs.h. */
28698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28700 #define $ac_func innocuous_$ac_func
28702 /* System header to define __stub macros and hopefully few prototypes,
28703 which can conflict with char $ac_func (); below.
28704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28705 <limits.h> exists even on freestanding compilers. */
28708 # include <limits.h>
28710 # include <assert.h>
28715 /* Override any gcc2 internal prototype to avoid an error. */
28720 /* We use char because int might match the return type of a gcc2
28721 builtin and then its argument prototype would still apply. */
28723 /* The GNU C library defines this for functions which it implements
28724 to always fail with ENOSYS. Some functions are actually named
28725 something starting with __ and the normal name is an alias. */
28726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28729 char (*f) () = $ac_func;
28738 return f != $ac_func;
28743 rm -f conftest.
$ac_objext conftest
$ac_exeext
28744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28745 (eval $ac_link) 2>conftest.er1
28747 grep -v '^ *+' conftest.er1
>conftest.err
28749 cat conftest.err
>&5
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); } &&
28752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; } &&
28758 { ac_try
='test -s conftest$ac_exeext'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; }; then
28764 eval "$as_ac_var=yes"
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.
$ac_ext >&5
28769 eval "$as_ac_var=no"
28771 rm -f conftest.err conftest.
$ac_objext \
28772 conftest
$ac_exeext conftest.
$ac_ext
28774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28776 if test `eval echo '${'$as_ac_var'}'` = yes; then
28777 cat >>confdefs.h
<<_ACEOF
28778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28785 if test "$WCSLEN_FOUND" = 0; then
28786 if test "$TOOLKIT" = "MSW"; then
28787 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28788 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28789 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28790 echo $ECHO_N "(cached) $ECHO_C" >&6
28792 ac_check_lib_save_LIBS
=$LIBS
28793 LIBS
="-lmsvcrt $LIBS"
28794 cat >conftest.
$ac_ext <<_ACEOF
28797 cat confdefs.h
>>conftest.
$ac_ext
28798 cat >>conftest.
$ac_ext <<_ACEOF
28799 /* end confdefs.h. */
28801 /* Override any gcc2 internal prototype to avoid an error. */
28805 /* We use char because int might match the return type of a gcc2
28806 builtin and then its argument prototype would still apply. */
28816 rm -f conftest.
$ac_objext conftest
$ac_exeext
28817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28818 (eval $ac_link) 2>conftest.er1
28820 grep -v '^ *+' conftest.er1
>conftest.err
28822 cat conftest.err
>&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } &&
28825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827 (eval $ac_try) 2>&5
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); }; } &&
28831 { ac_try
='test -s conftest$ac_exeext'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; }; then
28837 ac_cv_lib_msvcrt_wcslen
=yes
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.
$ac_ext >&5
28842 ac_cv_lib_msvcrt_wcslen
=no
28844 rm -f conftest.err conftest.
$ac_objext \
28845 conftest
$ac_exeext conftest.
$ac_ext
28846 LIBS
=$ac_check_lib_save_LIBS
28848 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28849 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28850 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28855 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28856 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28857 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28858 echo $ECHO_N "(cached) $ECHO_C" >&6
28860 ac_check_lib_save_LIBS
=$LIBS
28862 cat >conftest.
$ac_ext <<_ACEOF
28865 cat confdefs.h
>>conftest.
$ac_ext
28866 cat >>conftest.
$ac_ext <<_ACEOF
28867 /* end confdefs.h. */
28869 /* Override any gcc2 internal prototype to avoid an error. */
28873 /* We use char because int might match the return type of a gcc2
28874 builtin and then its argument prototype would still apply. */
28884 rm -f conftest.
$ac_objext conftest
$ac_exeext
28885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28886 (eval $ac_link) 2>conftest.er1
28888 grep -v '^ *+' conftest.er1
>conftest.err
28890 cat conftest.err
>&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } &&
28893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; } &&
28899 { ac_try
='test -s conftest$ac_exeext'
28900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28901 (eval $ac_try) 2>&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); }; }; then
28905 ac_cv_lib_w_wcslen
=yes
28907 echo "$as_me: failed program was:" >&5
28908 sed 's/^/| /' conftest.
$ac_ext >&5
28910 ac_cv_lib_w_wcslen
=no
28912 rm -f conftest.err conftest.
$ac_objext \
28913 conftest
$ac_exeext conftest.
$ac_ext
28914 LIBS
=$ac_check_lib_save_LIBS
28916 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28917 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28918 if test $ac_cv_lib_w_wcslen = yes; then
28928 if test "$WCSLEN_FOUND" = 1; then
28929 cat >>confdefs.h
<<\_ACEOF
28930 #define HAVE_WCSLEN 1
28935 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28936 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28940 for ac_func
in wcsrtombs
28942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28943 echo "$as_me:$LINENO: checking for $ac_func" >&5
28944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28945 if eval "test \"\${$as_ac_var+set}\" = set"; then
28946 echo $ECHO_N "(cached) $ECHO_C" >&6
28948 cat >conftest.
$ac_ext <<_ACEOF
28951 cat confdefs.h
>>conftest.
$ac_ext
28952 cat >>conftest.
$ac_ext <<_ACEOF
28953 /* end confdefs.h. */
28954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28956 #define $ac_func innocuous_$ac_func
28958 /* System header to define __stub macros and hopefully few prototypes,
28959 which can conflict with char $ac_func (); below.
28960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28961 <limits.h> exists even on freestanding compilers. */
28964 # include <limits.h>
28966 # include <assert.h>
28971 /* Override any gcc2 internal prototype to avoid an error. */
28976 /* We use char because int might match the return type of a gcc2
28977 builtin and then its argument prototype would still apply. */
28979 /* The GNU C library defines this for functions which it implements
28980 to always fail with ENOSYS. Some functions are actually named
28981 something starting with __ and the normal name is an alias. */
28982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28985 char (*f) () = $ac_func;
28994 return f != $ac_func;
28999 rm -f conftest.
$ac_objext conftest
$ac_exeext
29000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29001 (eval $ac_link) 2>conftest.er1
29003 grep -v '^ *+' conftest.er1
>conftest.err
29005 cat conftest.err
>&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } &&
29008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29010 (eval $ac_try) 2>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; } &&
29014 { ac_try
='test -s conftest$ac_exeext'
29015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016 (eval $ac_try) 2>&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; }; then
29020 eval "$as_ac_var=yes"
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.
$ac_ext >&5
29025 eval "$as_ac_var=no"
29027 rm -f conftest.err conftest.
$ac_objext \
29028 conftest
$ac_exeext conftest.
$ac_ext
29030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29032 if test `eval echo '${'$as_ac_var'}'` = yes; then
29033 cat >>confdefs.h
<<_ACEOF
29034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29041 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29042 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29048 ac_cpp
='$CXXCPP $CPPFLAGS'
29049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29055 for ac_func
in vsnprintf
29057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29058 echo "$as_me:$LINENO: checking for $ac_func" >&5
29059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29060 if eval "test \"\${$as_ac_var+set}\" = set"; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29063 cat >conftest.
$ac_ext <<_ACEOF
29066 cat confdefs.h
>>conftest.
$ac_ext
29067 cat >>conftest.
$ac_ext <<_ACEOF
29068 /* end confdefs.h. */
29069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29071 #define $ac_func innocuous_$ac_func
29073 /* System header to define __stub macros and hopefully few prototypes,
29074 which can conflict with char $ac_func (); below.
29075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29076 <limits.h> exists even on freestanding compilers. */
29079 # include <limits.h>
29081 # include <assert.h>
29086 /* Override any gcc2 internal prototype to avoid an error. */
29091 /* We use char because int might match the return type of a gcc2
29092 builtin and then its argument prototype would still apply. */
29094 /* The GNU C library defines this for functions which it implements
29095 to always fail with ENOSYS. Some functions are actually named
29096 something starting with __ and the normal name is an alias. */
29097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29100 char (*f) () = $ac_func;
29109 return f != $ac_func;
29114 rm -f conftest.
$ac_objext conftest
$ac_exeext
29115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29116 (eval $ac_link) 2>conftest.er1
29118 grep -v '^ *+' conftest.er1
>conftest.err
29120 cat conftest.err
>&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } &&
29123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; } &&
29129 { ac_try
='test -s conftest$ac_exeext'
29130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29131 (eval $ac_try) 2>&5
29133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29134 (exit $ac_status); }; }; then
29135 eval "$as_ac_var=yes"
29137 echo "$as_me: failed program was:" >&5
29138 sed 's/^/| /' conftest.
$ac_ext >&5
29140 eval "$as_ac_var=no"
29142 rm -f conftest.err conftest.
$ac_objext \
29143 conftest
$ac_exeext conftest.
$ac_ext
29145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29147 if test `eval echo '${'$as_ac_var'}'` = yes; then
29148 cat >>confdefs.h
<<_ACEOF
29149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29156 if test "$ac_cv_func_vsnprintf" = "yes"; then
29157 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29158 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29159 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29160 echo $ECHO_N "(cached) $ECHO_C" >&6
29163 cat >conftest.
$ac_ext <<_ACEOF
29166 cat confdefs.h
>>conftest.
$ac_ext
29167 cat >>conftest.
$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29171 #include <stdarg.h>
29179 vsnprintf(buf, 10u, "%s", ap);
29185 rm -f conftest.
$ac_objext
29186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29187 (eval $ac_compile) 2>conftest.er1
29189 grep -v '^ *+' conftest.er1
>conftest.err
29191 cat conftest.err
>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } &&
29194 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29196 (eval $ac_try) 2>&5
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); }; } &&
29200 { ac_try
='test -s conftest.$ac_objext'
29201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202 (eval $ac_try) 2>&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; }; then
29206 wx_cv_func_vsnprintf_decl
=yes
29208 echo "$as_me: failed program was:" >&5
29209 sed 's/^/| /' conftest.
$ac_ext >&5
29211 wx_cv_func_vsnprintf_decl
=no
29214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29218 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29219 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29221 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29222 cat >>confdefs.h
<<\_ACEOF
29223 #define HAVE_VSNPRINTF_DECL 1
29229 if test "$wxUSE_UNICODE" = yes; then
29236 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29238 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29239 echo "$as_me:$LINENO: checking for $ac_func" >&5
29240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29241 if eval "test \"\${$as_ac_var+set}\" = set"; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29244 cat >conftest.
$ac_ext <<_ACEOF
29247 cat confdefs.h
>>conftest.
$ac_ext
29248 cat >>conftest.
$ac_ext <<_ACEOF
29249 /* end confdefs.h. */
29250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29252 #define $ac_func innocuous_$ac_func
29254 /* System header to define __stub macros and hopefully few prototypes,
29255 which can conflict with char $ac_func (); below.
29256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29257 <limits.h> exists even on freestanding compilers. */
29260 # include <limits.h>
29262 # include <assert.h>
29267 /* Override any gcc2 internal prototype to avoid an error. */
29272 /* We use char because int might match the return type of a gcc2
29273 builtin and then its argument prototype would still apply. */
29275 /* The GNU C library defines this for functions which it implements
29276 to always fail with ENOSYS. Some functions are actually named
29277 something starting with __ and the normal name is an alias. */
29278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29281 char (*f) () = $ac_func;
29290 return f != $ac_func;
29295 rm -f conftest.
$ac_objext conftest
$ac_exeext
29296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29297 (eval $ac_link) 2>conftest.er1
29299 grep -v '^ *+' conftest.er1
>conftest.err
29301 cat conftest.err
>&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } &&
29304 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29306 (eval $ac_try) 2>&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); }; } &&
29310 { ac_try
='test -s conftest$ac_exeext'
29311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29312 (eval $ac_try) 2>&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); }; }; then
29316 eval "$as_ac_var=yes"
29318 echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.
$ac_ext >&5
29321 eval "$as_ac_var=no"
29323 rm -f conftest.err conftest.
$ac_objext \
29324 conftest
$ac_exeext conftest.
$ac_ext
29326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29328 if test `eval echo '${'$as_ac_var'}'` = yes; then
29329 cat >>confdefs.h
<<_ACEOF
29330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29337 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29338 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29339 cat >conftest.
$ac_ext <<_ACEOF
29342 cat confdefs.h
>>conftest.
$ac_ext
29343 cat >>conftest.
$ac_ext <<_ACEOF
29344 /* end confdefs.h. */
29354 rm -f conftest.
$ac_objext
29355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29356 (eval $ac_compile) 2>conftest.er1
29358 grep -v '^ *+' conftest.er1
>conftest.err
29360 cat conftest.err
>&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } &&
29363 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29365 (eval $ac_try) 2>&5
29367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29368 (exit $ac_status); }; } &&
29369 { ac_try
='test -s conftest.$ac_objext'
29370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29371 (eval $ac_try) 2>&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); }; }; then
29375 echo "$as_me:$LINENO: result: yes" >&5
29376 echo "${ECHO_T}yes" >&6
29377 cat >>confdefs.h
<<\_ACEOF
29378 #define HAVE__VSNWPRINTF 1
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.
$ac_ext >&5
29385 echo "$as_me:$LINENO: result: no" >&5
29386 echo "${ECHO_T}no" >&6
29388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29392 ac_cpp
='$CPP $CPPFLAGS'
29393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29400 if test "$TOOLKIT" != "MSW"; then
29406 ac_cpp
='$CXXCPP $CPPFLAGS'
29407 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29414 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29415 if test "${with_libiconv_prefix+set}" = set; then
29416 withval
="$with_libiconv_prefix"
29418 for dir
in `echo "$withval" | tr : ' '`; do
29419 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29420 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29425 echo "$as_me:$LINENO: checking for iconv" >&5
29426 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29427 if test "${am_cv_func_iconv+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 am_cv_func_iconv
="no, consider installing GNU libiconv"
29433 cat >conftest.
$ac_ext <<_ACEOF
29436 cat confdefs.h
>>conftest.
$ac_ext
29437 cat >>conftest.
$ac_ext <<_ACEOF
29438 /* end confdefs.h. */
29439 #include <stdlib.h>
29444 iconv_t cd = iconv_open("","");
29445 iconv(cd,NULL,NULL,NULL,NULL);
29451 rm -f conftest.
$ac_objext conftest
$ac_exeext
29452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29453 (eval $ac_link) 2>conftest.er1
29455 grep -v '^ *+' conftest.er1
>conftest.err
29457 cat conftest.err
>&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); } &&
29460 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29462 (eval $ac_try) 2>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); }; } &&
29466 { ac_try
='test -s conftest$ac_exeext'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; }; then
29472 am_cv_func_iconv
=yes
29474 echo "$as_me: failed program was:" >&5
29475 sed 's/^/| /' conftest.
$ac_ext >&5
29478 rm -f conftest.err conftest.
$ac_objext \
29479 conftest
$ac_exeext conftest.
$ac_ext
29480 if test "$am_cv_func_iconv" != yes; then
29481 am_save_LIBS
="$LIBS"
29482 LIBS
="$LIBS -liconv"
29483 cat >conftest.
$ac_ext <<_ACEOF
29486 cat confdefs.h
>>conftest.
$ac_ext
29487 cat >>conftest.
$ac_ext <<_ACEOF
29488 /* end confdefs.h. */
29489 #include <stdlib.h>
29494 iconv_t cd = iconv_open("","");
29495 iconv(cd,NULL,NULL,NULL,NULL);
29501 rm -f conftest.
$ac_objext conftest
$ac_exeext
29502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29503 (eval $ac_link) 2>conftest.er1
29505 grep -v '^ *+' conftest.er1
>conftest.err
29507 cat conftest.err
>&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); } &&
29510 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29512 (eval $ac_try) 2>&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); }; } &&
29516 { ac_try
='test -s conftest$ac_exeext'
29517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29518 (eval $ac_try) 2>&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); }; }; then
29522 am_cv_lib_iconv
=yes
29523 am_cv_func_iconv
=yes
29525 echo "$as_me: failed program was:" >&5
29526 sed 's/^/| /' conftest.
$ac_ext >&5
29529 rm -f conftest.err conftest.
$ac_objext \
29530 conftest
$ac_exeext conftest.
$ac_ext
29531 LIBS
="$am_save_LIBS"
29535 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29536 echo "${ECHO_T}$am_cv_func_iconv" >&6
29537 if test "$am_cv_func_iconv" = yes; then
29539 cat >>confdefs.h
<<\_ACEOF
29540 #define HAVE_ICONV 1
29543 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29544 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29545 if test "${wx_cv_func_iconv_const+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29548 cat >conftest.
$ac_ext <<_ACEOF
29551 cat confdefs.h
>>conftest.
$ac_ext
29552 cat >>conftest.
$ac_ext <<_ACEOF
29553 /* end confdefs.h. */
29555 #include <stdlib.h>
29561 #if defined(__STDC__) || defined(__cplusplus)
29562 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29575 rm -f conftest.
$ac_objext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29577 (eval $ac_compile) 2>conftest.er1
29579 grep -v '^ *+' conftest.er1
>conftest.err
29581 cat conftest.err
>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; } &&
29590 { ac_try
='test -s conftest.$ac_objext'
29591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592 (eval $ac_try) 2>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; }; then
29596 wx_cv_func_iconv_const
="no"
29598 echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.
$ac_ext >&5
29601 wx_cv_func_iconv_const
="yes"
29604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29607 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29608 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29611 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29612 iconv_const
="const"
29616 cat >>confdefs.h
<<_ACEOF
29617 #define ICONV_CONST $iconv_const
29622 if test "$am_cv_lib_iconv" = yes; then
29627 LIBS
="$LIBICONV $LIBS"
29629 ac_cpp
='$CPP $CPPFLAGS'
29630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29635 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29637 for ac_func
in sigaction
29639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29640 echo "$as_me:$LINENO: checking for $ac_func" >&5
29641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29642 if eval "test \"\${$as_ac_var+set}\" = set"; then
29643 echo $ECHO_N "(cached) $ECHO_C" >&6
29645 cat >conftest.
$ac_ext <<_ACEOF
29648 cat confdefs.h
>>conftest.
$ac_ext
29649 cat >>conftest.
$ac_ext <<_ACEOF
29650 /* end confdefs.h. */
29651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29653 #define $ac_func innocuous_$ac_func
29655 /* System header to define __stub macros and hopefully few prototypes,
29656 which can conflict with char $ac_func (); below.
29657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29658 <limits.h> exists even on freestanding compilers. */
29661 # include <limits.h>
29663 # include <assert.h>
29668 /* Override any gcc2 internal prototype to avoid an error. */
29673 /* We use char because int might match the return type of a gcc2
29674 builtin and then its argument prototype would still apply. */
29676 /* The GNU C library defines this for functions which it implements
29677 to always fail with ENOSYS. Some functions are actually named
29678 something starting with __ and the normal name is an alias. */
29679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29682 char (*f) () = $ac_func;
29691 return f != $ac_func;
29696 rm -f conftest.
$ac_objext conftest
$ac_exeext
29697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29698 (eval $ac_link) 2>conftest.er1
29700 grep -v '^ *+' conftest.er1
>conftest.err
29702 cat conftest.err
>&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } &&
29705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29707 (eval $ac_try) 2>&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); }; } &&
29711 { ac_try
='test -s conftest$ac_exeext'
29712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29713 (eval $ac_try) 2>&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); }; }; then
29717 eval "$as_ac_var=yes"
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.
$ac_ext >&5
29722 eval "$as_ac_var=no"
29724 rm -f conftest.err conftest.
$ac_objext \
29725 conftest
$ac_exeext conftest.
$ac_ext
29727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29729 if test `eval echo '${'$as_ac_var'}'` = yes; then
29730 cat >>confdefs.h
<<_ACEOF
29731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29738 if test "$ac_cv_func_sigaction" = "no"; then
29739 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29740 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29741 wxUSE_ON_FATAL_EXCEPTION
=no
29744 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29748 ac_cpp
='$CXXCPP $CPPFLAGS'
29749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29754 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29755 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29756 if test "${wx_cv_type_sa_handler+set}" = set; then
29757 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 cat >conftest.
$ac_ext <<_ACEOF
29763 cat confdefs.h
>>conftest.
$ac_ext
29764 cat >>conftest.
$ac_ext <<_ACEOF
29765 /* end confdefs.h. */
29766 #include <signal.h>
29771 extern void testSigHandler(int);
29773 struct sigaction sa;
29774 sa.sa_handler = testSigHandler;
29780 rm -f conftest.
$ac_objext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29782 (eval $ac_compile) 2>conftest.er1
29784 grep -v '^ *+' conftest.er1
>conftest.err
29786 cat conftest.err
>&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try
='test -s conftest.$ac_objext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29802 wx_cv_type_sa_handler
=int
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.
$ac_ext >&5
29809 wx_cv_type_sa_handler
=void
29812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29815 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29816 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29819 ac_cpp
='$CPP $CPPFLAGS'
29820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29825 cat >>confdefs.h
<<_ACEOF
29826 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29834 for ac_func
in mkstemp mktemp
29836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29837 echo "$as_me:$LINENO: checking for $ac_func" >&5
29838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29839 if eval "test \"\${$as_ac_var+set}\" = set"; then
29840 echo $ECHO_N "(cached) $ECHO_C" >&6
29842 cat >conftest.
$ac_ext <<_ACEOF
29845 cat confdefs.h
>>conftest.
$ac_ext
29846 cat >>conftest.
$ac_ext <<_ACEOF
29847 /* end confdefs.h. */
29848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29850 #define $ac_func innocuous_$ac_func
29852 /* System header to define __stub macros and hopefully few prototypes,
29853 which can conflict with char $ac_func (); below.
29854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29855 <limits.h> exists even on freestanding compilers. */
29858 # include <limits.h>
29860 # include <assert.h>
29865 /* Override any gcc2 internal prototype to avoid an error. */
29870 /* We use char because int might match the return type of a gcc2
29871 builtin and then its argument prototype would still apply. */
29873 /* The GNU C library defines this for functions which it implements
29874 to always fail with ENOSYS. Some functions are actually named
29875 something starting with __ and the normal name is an alias. */
29876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29879 char (*f) () = $ac_func;
29888 return f != $ac_func;
29893 rm -f conftest.
$ac_objext conftest
$ac_exeext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29895 (eval $ac_link) 2>conftest.er1
29897 grep -v '^ *+' conftest.er1
>conftest.err
29899 cat conftest.err
>&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } &&
29902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29904 (eval $ac_try) 2>&5
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; } &&
29908 { ac_try
='test -s conftest$ac_exeext'
29909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29910 (eval $ac_try) 2>&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); }; }; then
29914 eval "$as_ac_var=yes"
29916 echo "$as_me: failed program was:" >&5
29917 sed 's/^/| /' conftest.
$ac_ext >&5
29919 eval "$as_ac_var=no"
29921 rm -f conftest.err conftest.
$ac_objext \
29922 conftest
$ac_exeext conftest.
$ac_ext
29924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29926 if test `eval echo '${'$as_ac_var'}'` = yes; then
29927 cat >>confdefs.h
<<_ACEOF
29928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29935 echo "$as_me:$LINENO: checking for statfs" >&5
29936 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29937 if test "${wx_cv_func_statfs+set}" = set; then
29938 echo $ECHO_N "(cached) $ECHO_C" >&6
29940 cat >conftest.
$ac_ext <<_ACEOF
29943 cat confdefs.h
>>conftest.
$ac_ext
29944 cat >>conftest.
$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29947 #if defined(__BSD__)
29948 #include <sys/param.h>
29949 #include <sys/mount.h>
29951 #include <sys/vfs.h>
29969 rm -f conftest.
$ac_objext
29970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29971 (eval $ac_compile) 2>conftest.er1
29973 grep -v '^ *+' conftest.er1
>conftest.err
29975 cat conftest.err
>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); } &&
29978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29980 (eval $ac_try) 2>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; } &&
29984 { ac_try
='test -s conftest.$ac_objext'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; }; then
29991 wx_cv_func_statfs
=yes
29994 echo "$as_me: failed program was:" >&5
29995 sed 's/^/| /' conftest.
$ac_ext >&5
29998 wx_cv_func_statfs
=no
30002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30005 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30006 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30008 if test "$wx_cv_func_statfs" = "yes"; then
30009 wx_cv_type_statvfs_t
="struct statfs"
30010 cat >>confdefs.h
<<\_ACEOF
30011 #define HAVE_STATFS 1
30015 echo "$as_me:$LINENO: checking for statvfs" >&5
30016 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30017 if test "${wx_cv_func_statvfs+set}" = set; then
30018 echo $ECHO_N "(cached) $ECHO_C" >&6
30020 cat >conftest.
$ac_ext <<_ACEOF
30023 cat confdefs.h
>>conftest.
$ac_ext
30024 cat >>conftest.
$ac_ext <<_ACEOF
30025 /* end confdefs.h. */
30027 #include <stddef.h>
30028 #include <sys/statvfs.h>
30034 statvfs("/", NULL);
30040 rm -f conftest.
$ac_objext
30041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30042 (eval $ac_compile) 2>conftest.er1
30044 grep -v '^ *+' conftest.er1
>conftest.err
30046 cat conftest.err
>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); } &&
30049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; } &&
30055 { ac_try
='test -s conftest.$ac_objext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 wx_cv_func_statvfs
=yes
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.
$ac_ext >&5
30066 wx_cv_func_statvfs
=no
30069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30072 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30073 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30075 if test "$wx_cv_func_statvfs" = "yes"; then
30079 ac_cpp
='$CXXCPP $CPPFLAGS'
30080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30085 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30086 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30087 if test "${wx_cv_type_statvfs_t+set}" = set; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 cat >conftest.
$ac_ext <<_ACEOF
30093 cat confdefs.h
>>conftest.
$ac_ext
30094 cat >>conftest.
$ac_ext <<_ACEOF
30095 /* end confdefs.h. */
30097 #include <sys/statvfs.h>
30114 rm -f conftest.
$ac_objext
30115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30116 (eval $ac_compile) 2>conftest.er1
30118 grep -v '^ *+' conftest.er1
>conftest.err
30120 cat conftest.err
>&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } &&
30123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; } &&
30129 { ac_try
='test -s conftest.$ac_objext'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; }; then
30135 wx_cv_type_statvfs_t
=statvfs_t
30137 echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.
$ac_ext >&5
30141 cat >conftest.
$ac_ext <<_ACEOF
30144 cat confdefs.h
>>conftest.
$ac_ext
30145 cat >>conftest.
$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30148 #include <sys/statvfs.h>
30165 rm -f conftest.
$ac_objext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30167 (eval $ac_compile) 2>conftest.er1
30169 grep -v '^ *+' conftest.er1
>conftest.err
30171 cat conftest.err
>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; } &&
30180 { ac_try
='test -s conftest.$ac_objext'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; }; then
30186 wx_cv_type_statvfs_t
="struct statvfs"
30188 echo "$as_me: failed program was:" >&5
30189 sed 's/^/| /' conftest.
$ac_ext >&5
30191 wx_cv_type_statvfs_t
="unknown"
30194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30201 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30202 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30205 ac_cpp
='$CPP $CPPFLAGS'
30206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30211 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30212 cat >>confdefs.h
<<\_ACEOF
30213 #define HAVE_STATVFS 1
30218 wx_cv_type_statvfs_t
="unknown"
30222 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30223 cat >>confdefs.h
<<_ACEOF
30224 #define WX_STATFS_T $wx_cv_type_statvfs_t
30228 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30229 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30232 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30235 for ac_func
in fcntl flock
30237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30238 echo "$as_me:$LINENO: checking for $ac_func" >&5
30239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30240 if eval "test \"\${$as_ac_var+set}\" = set"; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 cat >conftest.
$ac_ext <<_ACEOF
30246 cat confdefs.h
>>conftest.
$ac_ext
30247 cat >>conftest.
$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define $ac_func innocuous_$ac_func
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char $ac_func (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30259 # include <limits.h>
30261 # include <assert.h>
30266 /* Override any gcc2 internal prototype to avoid an error. */
30271 /* We use char because int might match the return type of a gcc2
30272 builtin and then its argument prototype would still apply. */
30274 /* The GNU C library defines this for functions which it implements
30275 to always fail with ENOSYS. Some functions are actually named
30276 something starting with __ and the normal name is an alias. */
30277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30280 char (*f) () = $ac_func;
30289 return f != $ac_func;
30294 rm -f conftest.
$ac_objext conftest
$ac_exeext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30296 (eval $ac_link) 2>conftest.er1
30298 grep -v '^ *+' conftest.er1
>conftest.err
30300 cat conftest.err
>&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try
='test -z "$ac_c_werror_flag" || 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_exeext'
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 eval "$as_ac_var=yes"
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.
$ac_ext >&5
30320 eval "$as_ac_var=no"
30322 rm -f conftest.err conftest.
$ac_objext \
30323 conftest
$ac_exeext conftest.
$ac_ext
30325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30327 if test `eval echo '${'$as_ac_var'}'` = yes; then
30328 cat >>confdefs.h
<<_ACEOF
30329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30336 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30337 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30338 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30339 wxUSE_SNGLINST_CHECKER
=no
30344 for ac_func
in timegm
30346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30347 echo "$as_me:$LINENO: checking for $ac_func" >&5
30348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30349 if eval "test \"\${$as_ac_var+set}\" = set"; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30352 cat >conftest.
$ac_ext <<_ACEOF
30355 cat confdefs.h
>>conftest.
$ac_ext
30356 cat >>conftest.
$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30360 #define $ac_func innocuous_$ac_func
30362 /* System header to define __stub macros and hopefully few prototypes,
30363 which can conflict with char $ac_func (); below.
30364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30365 <limits.h> exists even on freestanding compilers. */
30368 # include <limits.h>
30370 # include <assert.h>
30375 /* Override any gcc2 internal prototype to avoid an error. */
30380 /* We use char because int might match the return type of a gcc2
30381 builtin and then its argument prototype would still apply. */
30383 /* The GNU C library defines this for functions which it implements
30384 to always fail with ENOSYS. Some functions are actually named
30385 something starting with __ and the normal name is an alias. */
30386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30389 char (*f) () = $ac_func;
30398 return f != $ac_func;
30403 rm -f conftest.
$ac_objext conftest
$ac_exeext
30404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30405 (eval $ac_link) 2>conftest.er1
30407 grep -v '^ *+' conftest.er1
>conftest.err
30409 cat conftest.err
>&5
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); } &&
30412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30414 (eval $ac_try) 2>&5
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); }; } &&
30418 { ac_try
='test -s conftest$ac_exeext'
30419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420 (eval $ac_try) 2>&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); }; }; then
30424 eval "$as_ac_var=yes"
30426 echo "$as_me: failed program was:" >&5
30427 sed 's/^/| /' conftest.
$ac_ext >&5
30429 eval "$as_ac_var=no"
30431 rm -f conftest.err conftest.
$ac_objext \
30432 conftest
$ac_exeext conftest.
$ac_ext
30434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30436 if test `eval echo '${'$as_ac_var'}'` = yes; then
30437 cat >>confdefs.h
<<_ACEOF
30438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30447 for ac_func
in putenv setenv
30449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30450 echo "$as_me:$LINENO: checking for $ac_func" >&5
30451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30452 if eval "test \"\${$as_ac_var+set}\" = set"; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 cat >conftest.
$ac_ext <<_ACEOF
30458 cat confdefs.h
>>conftest.
$ac_ext
30459 cat >>conftest.
$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30463 #define $ac_func innocuous_$ac_func
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char $ac_func (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30471 # include <limits.h>
30473 # include <assert.h>
30478 /* Override any gcc2 internal prototype to avoid an error. */
30483 /* We use char because int might match the return type of a gcc2
30484 builtin and then its argument prototype would still apply. */
30486 /* The GNU C library defines this for functions which it implements
30487 to always fail with ENOSYS. Some functions are actually named
30488 something starting with __ and the normal name is an alias. */
30489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30492 char (*f) () = $ac_func;
30501 return f != $ac_func;
30506 rm -f conftest.
$ac_objext conftest
$ac_exeext
30507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30508 (eval $ac_link) 2>conftest.er1
30510 grep -v '^ *+' conftest.er1
>conftest.err
30512 cat conftest.err
>&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); } &&
30515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30517 (eval $ac_try) 2>&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); }; } &&
30521 { ac_try
='test -s conftest$ac_exeext'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30527 eval "$as_ac_var=yes"
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.
$ac_ext >&5
30532 eval "$as_ac_var=no"
30534 rm -f conftest.err conftest.
$ac_objext \
30535 conftest
$ac_exeext conftest.
$ac_ext
30537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30539 if test `eval echo '${'$as_ac_var'}'` = yes; then
30540 cat >>confdefs.h
<<_ACEOF
30541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30548 HAVE_SOME_SLEEP_FUNC
=0
30549 if test "$USE_BEOS" = 1; then
30550 cat >>confdefs.h
<<\_ACEOF
30551 #define HAVE_SLEEP 1
30554 HAVE_SOME_SLEEP_FUNC
=1
30557 if test "$USE_DARWIN" = 1; then
30558 cat >>confdefs.h
<<\_ACEOF
30559 #define HAVE_USLEEP 1
30562 HAVE_SOME_SLEEP_FUNC
=1
30565 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30568 for ac_func
in nanosleep
30570 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30571 echo "$as_me:$LINENO: checking for $ac_func" >&5
30572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30573 if eval "test \"\${$as_ac_var+set}\" = set"; then
30574 echo $ECHO_N "(cached) $ECHO_C" >&6
30576 cat >conftest.
$ac_ext <<_ACEOF
30579 cat confdefs.h
>>conftest.
$ac_ext
30580 cat >>conftest.
$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30584 #define $ac_func innocuous_$ac_func
30586 /* System header to define __stub macros and hopefully few prototypes,
30587 which can conflict with char $ac_func (); below.
30588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30589 <limits.h> exists even on freestanding compilers. */
30592 # include <limits.h>
30594 # include <assert.h>
30599 /* Override any gcc2 internal prototype to avoid an error. */
30604 /* We use char because int might match the return type of a gcc2
30605 builtin and then its argument prototype would still apply. */
30607 /* The GNU C library defines this for functions which it implements
30608 to always fail with ENOSYS. Some functions are actually named
30609 something starting with __ and the normal name is an alias. */
30610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30613 char (*f) () = $ac_func;
30622 return f != $ac_func;
30627 rm -f conftest.
$ac_objext conftest
$ac_exeext
30628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30629 (eval $ac_link) 2>conftest.er1
30631 grep -v '^ *+' conftest.er1
>conftest.err
30633 cat conftest.err
>&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); } &&
30636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30638 (eval $ac_try) 2>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; } &&
30642 { ac_try
='test -s conftest$ac_exeext'
30643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30644 (eval $ac_try) 2>&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); }; }; then
30648 eval "$as_ac_var=yes"
30650 echo "$as_me: failed program was:" >&5
30651 sed 's/^/| /' conftest.
$ac_ext >&5
30653 eval "$as_ac_var=no"
30655 rm -f conftest.err conftest.
$ac_objext \
30656 conftest
$ac_exeext conftest.
$ac_ext
30658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30660 if test `eval echo '${'$as_ac_var'}'` = yes; then
30661 cat >>confdefs.h
<<_ACEOF
30662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30664 cat >>confdefs.h
<<\_ACEOF
30665 #define HAVE_NANOSLEEP 1
30670 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30671 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30672 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30673 echo $ECHO_N "(cached) $ECHO_C" >&6
30675 ac_check_lib_save_LIBS
=$LIBS
30676 LIBS
="-lposix4 $LIBS"
30677 cat >conftest.
$ac_ext <<_ACEOF
30680 cat confdefs.h
>>conftest.
$ac_ext
30681 cat >>conftest.
$ac_ext <<_ACEOF
30682 /* end confdefs.h. */
30684 /* Override any gcc2 internal prototype to avoid an error. */
30688 /* We use char because int might match the return type of a gcc2
30689 builtin and then its argument prototype would still apply. */
30699 rm -f conftest.
$ac_objext conftest
$ac_exeext
30700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30701 (eval $ac_link) 2>conftest.er1
30703 grep -v '^ *+' conftest.er1
>conftest.err
30705 cat conftest.err
>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } &&
30708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; } &&
30714 { ac_try
='test -s conftest$ac_exeext'
30715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30716 (eval $ac_try) 2>&5
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; }; then
30720 ac_cv_lib_posix4_nanosleep
=yes
30722 echo "$as_me: failed program was:" >&5
30723 sed 's/^/| /' conftest.
$ac_ext >&5
30725 ac_cv_lib_posix4_nanosleep
=no
30727 rm -f conftest.err conftest.
$ac_objext \
30728 conftest
$ac_exeext conftest.
$ac_ext
30729 LIBS
=$ac_check_lib_save_LIBS
30731 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30732 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30733 if test $ac_cv_lib_posix4_nanosleep = yes; then
30735 cat >>confdefs.h
<<\_ACEOF
30736 #define HAVE_NANOSLEEP 1
30739 POSIX4_LINK
=" -lposix4"
30744 for ac_func
in usleep
30746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30747 echo "$as_me:$LINENO: checking for $ac_func" >&5
30748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30749 if eval "test \"\${$as_ac_var+set}\" = set"; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30752 cat >conftest.
$ac_ext <<_ACEOF
30755 cat confdefs.h
>>conftest.
$ac_ext
30756 cat >>conftest.
$ac_ext <<_ACEOF
30757 /* end confdefs.h. */
30758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30760 #define $ac_func innocuous_$ac_func
30762 /* System header to define __stub macros and hopefully few prototypes,
30763 which can conflict with char $ac_func (); below.
30764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30765 <limits.h> exists even on freestanding compilers. */
30768 # include <limits.h>
30770 # include <assert.h>
30775 /* Override any gcc2 internal prototype to avoid an error. */
30780 /* We use char because int might match the return type of a gcc2
30781 builtin and then its argument prototype would still apply. */
30783 /* The GNU C library defines this for functions which it implements
30784 to always fail with ENOSYS. Some functions are actually named
30785 something starting with __ and the normal name is an alias. */
30786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30789 char (*f) () = $ac_func;
30798 return f != $ac_func;
30803 rm -f conftest.
$ac_objext conftest
$ac_exeext
30804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30805 (eval $ac_link) 2>conftest.er1
30807 grep -v '^ *+' conftest.er1
>conftest.err
30809 cat conftest.err
>&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } &&
30812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30814 (eval $ac_try) 2>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; } &&
30818 { ac_try
='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 eval "$as_ac_var=yes"
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.
$ac_ext >&5
30829 eval "$as_ac_var=no"
30831 rm -f conftest.err conftest.
$ac_objext \
30832 conftest
$ac_exeext conftest.
$ac_ext
30834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30836 if test `eval echo '${'$as_ac_var'}'` = yes; then
30837 cat >>confdefs.h
<<_ACEOF
30838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30840 cat >>confdefs.h
<<\_ACEOF
30841 #define HAVE_USLEEP 1
30845 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30846 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30864 for ac_func
in uname gethostname
30866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30867 echo "$as_me:$LINENO: checking for $ac_func" >&5
30868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30869 if eval "test \"\${$as_ac_var+set}\" = set"; then
30870 echo $ECHO_N "(cached) $ECHO_C" >&6
30872 cat >conftest.
$ac_ext <<_ACEOF
30875 cat confdefs.h
>>conftest.
$ac_ext
30876 cat >>conftest.
$ac_ext <<_ACEOF
30877 /* end confdefs.h. */
30878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30880 #define $ac_func innocuous_$ac_func
30882 /* System header to define __stub macros and hopefully few prototypes,
30883 which can conflict with char $ac_func (); below.
30884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30885 <limits.h> exists even on freestanding compilers. */
30888 # include <limits.h>
30890 # include <assert.h>
30895 /* Override any gcc2 internal prototype to avoid an error. */
30900 /* We use char because int might match the return type of a gcc2
30901 builtin and then its argument prototype would still apply. */
30903 /* The GNU C library defines this for functions which it implements
30904 to always fail with ENOSYS. Some functions are actually named
30905 something starting with __ and the normal name is an alias. */
30906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30909 char (*f) () = $ac_func;
30918 return f != $ac_func;
30923 rm -f conftest.
$ac_objext conftest
$ac_exeext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30925 (eval $ac_link) 2>conftest.er1
30927 grep -v '^ *+' conftest.er1
>conftest.err
30929 cat conftest.err
>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; } &&
30938 { ac_try
='test -s conftest$ac_exeext'
30939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30940 (eval $ac_try) 2>&5
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); }; }; then
30944 eval "$as_ac_var=yes"
30946 echo "$as_me: failed program was:" >&5
30947 sed 's/^/| /' conftest.
$ac_ext >&5
30949 eval "$as_ac_var=no"
30951 rm -f conftest.err conftest.
$ac_objext \
30952 conftest
$ac_exeext conftest.
$ac_ext
30954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30956 if test `eval echo '${'$as_ac_var'}'` = yes; then
30957 cat >>confdefs.h
<<_ACEOF
30958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30968 ac_cpp
='$CXXCPP $CPPFLAGS'
30969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30975 for ac_func
in strtok_r
30977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30978 echo "$as_me:$LINENO: checking for $ac_func" >&5
30979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30980 if eval "test \"\${$as_ac_var+set}\" = set"; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 cat >conftest.
$ac_ext <<_ACEOF
30986 cat confdefs.h
>>conftest.
$ac_ext
30987 cat >>conftest.
$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30991 #define $ac_func innocuous_$ac_func
30993 /* System header to define __stub macros and hopefully few prototypes,
30994 which can conflict with char $ac_func (); below.
30995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30996 <limits.h> exists even on freestanding compilers. */
30999 # include <limits.h>
31001 # include <assert.h>
31006 /* Override any gcc2 internal prototype to avoid an error. */
31011 /* We use char because int might match the return type of a gcc2
31012 builtin and then its argument prototype would still apply. */
31014 /* The GNU C library defines this for functions which it implements
31015 to always fail with ENOSYS. Some functions are actually named
31016 something starting with __ and the normal name is an alias. */
31017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31020 char (*f) () = $ac_func;
31029 return f != $ac_func;
31034 rm -f conftest.
$ac_objext conftest
$ac_exeext
31035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31036 (eval $ac_link) 2>conftest.er1
31038 grep -v '^ *+' conftest.er1
>conftest.err
31040 cat conftest.err
>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } &&
31043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; } &&
31049 { ac_try
='test -s conftest$ac_exeext'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; }; then
31055 eval "$as_ac_var=yes"
31057 echo "$as_me: failed program was:" >&5
31058 sed 's/^/| /' conftest.
$ac_ext >&5
31060 eval "$as_ac_var=no"
31062 rm -f conftest.err conftest.
$ac_objext \
31063 conftest
$ac_exeext conftest.
$ac_ext
31065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31067 if test `eval echo '${'$as_ac_var'}'` = yes; then
31068 cat >>confdefs.h
<<_ACEOF
31069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31077 ac_cpp
='$CPP $CPPFLAGS'
31078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31085 for ac_func
in inet_addr
31087 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31088 echo "$as_me:$LINENO: checking for $ac_func" >&5
31089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31090 if eval "test \"\${$as_ac_var+set}\" = set"; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31093 cat >conftest.
$ac_ext <<_ACEOF
31096 cat confdefs.h
>>conftest.
$ac_ext
31097 cat >>conftest.
$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31101 #define $ac_func innocuous_$ac_func
31103 /* System header to define __stub macros and hopefully few prototypes,
31104 which can conflict with char $ac_func (); below.
31105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31106 <limits.h> exists even on freestanding compilers. */
31109 # include <limits.h>
31111 # include <assert.h>
31116 /* Override any gcc2 internal prototype to avoid an error. */
31121 /* We use char because int might match the return type of a gcc2
31122 builtin and then its argument prototype would still apply. */
31124 /* The GNU C library defines this for functions which it implements
31125 to always fail with ENOSYS. Some functions are actually named
31126 something starting with __ and the normal name is an alias. */
31127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31130 char (*f) () = $ac_func;
31139 return f != $ac_func;
31144 rm -f conftest.
$ac_objext conftest
$ac_exeext
31145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31146 (eval $ac_link) 2>conftest.er1
31148 grep -v '^ *+' conftest.er1
>conftest.err
31150 cat conftest.err
>&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); } &&
31153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31155 (eval $ac_try) 2>&5
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); }; } &&
31159 { ac_try
='test -s conftest$ac_exeext'
31160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161 (eval $ac_try) 2>&5
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); }; }; then
31165 eval "$as_ac_var=yes"
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.
$ac_ext >&5
31170 eval "$as_ac_var=no"
31172 rm -f conftest.err conftest.
$ac_objext \
31173 conftest
$ac_exeext conftest.
$ac_ext
31175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31177 if test `eval echo '${'$as_ac_var'}'` = yes; then
31178 cat >>confdefs.h
<<_ACEOF
31179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31181 cat >>confdefs.h
<<\_ACEOF
31182 #define HAVE_INET_ADDR 1
31187 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31188 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31189 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31190 echo $ECHO_N "(cached) $ECHO_C" >&6
31192 ac_check_lib_save_LIBS
=$LIBS
31194 cat >conftest.
$ac_ext <<_ACEOF
31197 cat confdefs.h
>>conftest.
$ac_ext
31198 cat >>conftest.
$ac_ext <<_ACEOF
31199 /* end confdefs.h. */
31201 /* Override any gcc2 internal prototype to avoid an error. */
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31216 rm -f conftest.
$ac_objext conftest
$ac_exeext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31218 (eval $ac_link) 2>conftest.er1
31220 grep -v '^ *+' conftest.er1
>conftest.err
31222 cat conftest.err
>&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } &&
31225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; } &&
31231 { ac_try
='test -s conftest$ac_exeext'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; }; then
31237 ac_cv_lib_nsl_inet_addr
=yes
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.
$ac_ext >&5
31242 ac_cv_lib_nsl_inet_addr
=no
31244 rm -f conftest.err conftest.
$ac_objext \
31245 conftest
$ac_exeext conftest.
$ac_ext
31246 LIBS
=$ac_check_lib_save_LIBS
31248 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31249 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31250 if test $ac_cv_lib_nsl_inet_addr = yes; then
31254 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31255 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31256 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31259 ac_check_lib_save_LIBS
=$LIBS
31260 LIBS
="-lresolv $LIBS"
31261 cat >conftest.
$ac_ext <<_ACEOF
31264 cat confdefs.h
>>conftest.
$ac_ext
31265 cat >>conftest.
$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31268 /* Override any gcc2 internal prototype to avoid an error. */
31272 /* We use char because int might match the return type of a gcc2
31273 builtin and then its argument prototype would still apply. */
31283 rm -f conftest.
$ac_objext conftest
$ac_exeext
31284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31285 (eval $ac_link) 2>conftest.er1
31287 grep -v '^ *+' conftest.er1
>conftest.err
31289 cat conftest.err
>&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); } &&
31292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31294 (eval $ac_try) 2>&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); }; } &&
31298 { ac_try
='test -s conftest$ac_exeext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304 ac_cv_lib_resolv_inet_addr
=yes
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.
$ac_ext >&5
31309 ac_cv_lib_resolv_inet_addr
=no
31311 rm -f conftest.err conftest.
$ac_objext \
31312 conftest
$ac_exeext conftest.
$ac_ext
31313 LIBS
=$ac_check_lib_save_LIBS
31315 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31316 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31317 if test $ac_cv_lib_resolv_inet_addr = yes; then
31321 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31322 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31323 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31324 echo $ECHO_N "(cached) $ECHO_C" >&6
31326 ac_check_lib_save_LIBS
=$LIBS
31327 LIBS
="-lsocket $LIBS"
31328 cat >conftest.
$ac_ext <<_ACEOF
31331 cat confdefs.h
>>conftest.
$ac_ext
31332 cat >>conftest.
$ac_ext <<_ACEOF
31333 /* end confdefs.h. */
31335 /* Override any gcc2 internal prototype to avoid an error. */
31339 /* We use char because int might match the return type of a gcc2
31340 builtin and then its argument prototype would still apply. */
31350 rm -f conftest.
$ac_objext conftest
$ac_exeext
31351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31352 (eval $ac_link) 2>conftest.er1
31354 grep -v '^ *+' conftest.er1
>conftest.err
31356 cat conftest.err
>&5
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); } &&
31359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361 (eval $ac_try) 2>&5
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); }; } &&
31365 { ac_try
='test -s conftest$ac_exeext'
31366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367 (eval $ac_try) 2>&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; }; then
31371 ac_cv_lib_socket_inet_addr
=yes
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.
$ac_ext >&5
31376 ac_cv_lib_socket_inet_addr
=no
31378 rm -f conftest.err conftest.
$ac_objext \
31379 conftest
$ac_exeext conftest.
$ac_ext
31380 LIBS
=$ac_check_lib_save_LIBS
31382 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31383 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31384 if test $ac_cv_lib_socket_inet_addr = yes; then
31404 for ac_func
in inet_aton
31406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31407 echo "$as_me:$LINENO: checking for $ac_func" >&5
31408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31409 if eval "test \"\${$as_ac_var+set}\" = set"; then
31410 echo $ECHO_N "(cached) $ECHO_C" >&6
31412 cat >conftest.
$ac_ext <<_ACEOF
31415 cat confdefs.h
>>conftest.
$ac_ext
31416 cat >>conftest.
$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31420 #define $ac_func innocuous_$ac_func
31422 /* System header to define __stub macros and hopefully few prototypes,
31423 which can conflict with char $ac_func (); below.
31424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31425 <limits.h> exists even on freestanding compilers. */
31428 # include <limits.h>
31430 # include <assert.h>
31435 /* Override any gcc2 internal prototype to avoid an error. */
31440 /* We use char because int might match the return type of a gcc2
31441 builtin and then its argument prototype would still apply. */
31443 /* The GNU C library defines this for functions which it implements
31444 to always fail with ENOSYS. Some functions are actually named
31445 something starting with __ and the normal name is an alias. */
31446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31449 char (*f) () = $ac_func;
31458 return f != $ac_func;
31463 rm -f conftest.
$ac_objext conftest
$ac_exeext
31464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31465 (eval $ac_link) 2>conftest.er1
31467 grep -v '^ *+' conftest.er1
>conftest.err
31469 cat conftest.err
>&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } &&
31472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; } &&
31478 { ac_try
='test -s conftest$ac_exeext'
31479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31480 (eval $ac_try) 2>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); }; }; then
31484 eval "$as_ac_var=yes"
31486 echo "$as_me: failed program was:" >&5
31487 sed 's/^/| /' conftest.
$ac_ext >&5
31489 eval "$as_ac_var=no"
31491 rm -f conftest.err conftest.
$ac_objext \
31492 conftest
$ac_exeext conftest.
$ac_ext
31494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31496 if test `eval echo '${'$as_ac_var'}'` = yes; then
31497 cat >>confdefs.h
<<_ACEOF
31498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31500 cat >>confdefs.h
<<\_ACEOF
31501 #define HAVE_INET_ATON 1
31506 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31507 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31508 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31509 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31512 ac_check_lib_save_LIBS
=$LIBS
31513 LIBS
="-l$INET_LINK $LIBS"
31514 cat >conftest.
$ac_ext <<_ACEOF
31517 cat confdefs.h
>>conftest.
$ac_ext
31518 cat >>conftest.
$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31521 /* Override any gcc2 internal prototype to avoid an error. */
31525 /* We use char because int might match the return type of a gcc2
31526 builtin and then its argument prototype would still apply. */
31536 rm -f conftest.
$ac_objext conftest
$ac_exeext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31538 (eval $ac_link) 2>conftest.er1
31540 grep -v '^ *+' conftest.er1
>conftest.err
31542 cat conftest.err
>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } &&
31545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; } &&
31551 { ac_try
='test -s conftest$ac_exeext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 eval "$as_ac_Lib=yes"
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.
$ac_ext >&5
31562 eval "$as_ac_Lib=no"
31564 rm -f conftest.err conftest.
$ac_objext \
31565 conftest
$ac_exeext conftest.
$ac_ext
31566 LIBS
=$ac_check_lib_save_LIBS
31568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31569 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31570 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31571 cat >>confdefs.h
<<\_ACEOF
31572 #define HAVE_INET_ATON 1
31582 if test "x$INET_LINK" != "x"; then
31583 cat >>confdefs.h
<<\_ACEOF
31584 #define HAVE_INET_ADDR 1
31587 INET_LINK
=" -l$INET_LINK"
31595 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31596 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31597 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31598 echo $ECHO_N "(cached) $ECHO_C" >&6
31600 ac_check_lib_save_LIBS
=$LIBS
31602 cat >conftest.
$ac_ext <<_ACEOF
31605 cat confdefs.h
>>conftest.
$ac_ext
31606 cat >>conftest.
$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31609 /* Override any gcc2 internal prototype to avoid an error. */
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31624 rm -f conftest.
$ac_objext conftest
$ac_exeext
31625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31626 (eval $ac_link) 2>conftest.er1
31628 grep -v '^ *+' conftest.er1
>conftest.err
31630 cat conftest.err
>&5
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); } &&
31633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; } &&
31639 { ac_try
='test -s conftest$ac_exeext'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; }; then
31645 ac_cv_lib_esd_esd_close
=yes
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.
$ac_ext >&5
31650 ac_cv_lib_esd_esd_close
=no
31652 rm -f conftest.err conftest.
$ac_objext \
31653 conftest
$ac_exeext conftest.
$ac_ext
31654 LIBS
=$ac_check_lib_save_LIBS
31656 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31657 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31658 if test $ac_cv_lib_esd_esd_close = yes; then
31661 for ac_header
in esd.h
31663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31665 echo "$as_me:$LINENO: checking for $ac_header" >&5
31666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31673 # Is the header compilable?
31674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31676 cat >conftest.
$ac_ext <<_ACEOF
31679 cat confdefs.h
>>conftest.
$ac_ext
31680 cat >>conftest.
$ac_ext <<_ACEOF
31681 /* end confdefs.h. */
31682 $ac_includes_default
31683 #include <$ac_header>
31685 rm -f conftest.
$ac_objext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31687 (eval $ac_compile) 2>conftest.er1
31689 grep -v '^ *+' conftest.er1
>conftest.err
31691 cat conftest.err
>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; } &&
31700 { ac_try
='test -s conftest.$ac_objext'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; }; then
31706 ac_header_compiler
=yes
31708 echo "$as_me: failed program was:" >&5
31709 sed 's/^/| /' conftest.
$ac_ext >&5
31711 ac_header_compiler
=no
31713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31715 echo "${ECHO_T}$ac_header_compiler" >&6
31717 # Is the header present?
31718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31720 cat >conftest.
$ac_ext <<_ACEOF
31723 cat confdefs.h
>>conftest.
$ac_ext
31724 cat >>conftest.
$ac_ext <<_ACEOF
31725 /* end confdefs.h. */
31726 #include <$ac_header>
31728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31731 grep -v '^ *+' conftest.er1
>conftest.err
31733 cat conftest.err
>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); } >/dev
/null
; then
31736 if test -s conftest.err
; then
31737 ac_cpp_err
=$ac_c_preproc_warn_flag
31738 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31745 if test -z "$ac_cpp_err"; then
31746 ac_header_preproc
=yes
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.
$ac_ext >&5
31751 ac_header_preproc
=no
31753 rm -f conftest.err conftest.
$ac_ext
31754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31755 echo "${ECHO_T}$ac_header_preproc" >&6
31757 # So? What about this header?
31758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31764 ac_header_preproc
=yes
31767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31781 ## ----------------------------------------- ##
31782 ## Report this to wx-dev@lists.wxwidgets.org ##
31783 ## ----------------------------------------- ##
31786 sed "s/^/$as_me: WARNING: /" >&2
31789 echo "$as_me:$LINENO: checking for $ac_header" >&5
31790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31794 eval "$as_ac_Header=\$ac_header_preproc"
31796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31801 cat >>confdefs.h
<<_ACEOF
31802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31805 EXTRALIBS_ESD
="-lesd"
31816 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31817 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31818 cat >conftest.
$ac_ext <<_ACEOF
31821 cat confdefs.h
>>conftest.
$ac_ext
31822 cat >>conftest.
$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31825 #include <linux/cdrom.h>
31828 #include <sys/cdio.h>
31834 struct cdrom_tocentry entry, old_entry;
31839 rm -f conftest.
$ac_objext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31841 (eval $ac_compile) 2>conftest.er1
31843 grep -v '^ *+' conftest.er1
>conftest.err
31845 cat conftest.err
>&5
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); } &&
31848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31850 (eval $ac_try) 2>&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); }; } &&
31854 { ac_try
='test -s conftest.$ac_objext'
31855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31856 (eval $ac_try) 2>&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; }; then
31860 echo "$as_me:$LINENO: result: yes" >&5
31861 echo "${ECHO_T}yes" >&6
31862 cat >>confdefs.h
<<\_ACEOF
31863 #define HAVE_KNOWN_CDROM_INTERFACE 1
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.
$ac_ext >&5
31870 echo "$as_me:$LINENO: result: no" >&5
31871 echo "${ECHO_T}no" >&6
31873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31876 cat >confcache
<<\_ACEOF
31877 # This file is a shell script that caches the results of configure
31878 # tests run on this system so they can be shared between configure
31879 # scripts and configure runs, see configure's option --config-cache.
31880 # It is not useful on other systems. If it contains results you don't
31881 # want to keep, you may remove or edit it.
31883 # config.status only pays attention to the cache file if you give it
31884 # the --recheck option to rerun configure.
31886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31888 # following values.
31892 # The following way of writing the cache mishandles newlines in values,
31893 # but we know of no workaround that is simple, portable, and efficient.
31894 # So, don't put newlines in cache variables' values.
31895 # Ultrix sh set writes to stderr and can't be redirected directly,
31896 # and sets the high bit in the cache file unless we assign to the vars.
31899 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31901 # `set' does not quote correctly, so add quotes (double-quote
31902 # substitution turns \\\\ into \\, and sed turns \\ into \).
31905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31908 # `set' quotes correctly as required by POSIX, so do not add quotes.
31910 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31919 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31921 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31922 if test -w $cache_file; then
31923 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31924 cat confcache
>$cache_file
31926 echo "not updating unwritable cache $cache_file"
31933 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31939 if test "$wxUSE_THREADS" = "yes" ; then
31940 if test "$USE_BEOS" = 1; then
31941 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31942 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31947 if test "$wxUSE_THREADS" = "yes" ; then
31950 THREAD_OPTS
="-pthread"
31952 *-*-solaris2* | *-*-sunos4* )
31953 if test "x$GCC" = "xyes"; then
31954 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31956 THREAD_OPTS
="-mt $THREAD_OPTS"
31960 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31962 *-*-darwin* | *-*-cygwin* )
31966 THREAD_OPTS
="pthreads"
31969 if test "x$GCC" != "xyes"; then
31975 if test "x$GCC" = "xyes"; then
31981 if test "x$GCC" != "xyes"; then
31982 THREAD_OPTS
="-Ethread"
31987 THREAD_OPTS
="$THREAD_OPTS pthread none"
31990 for flag
in $THREAD_OPTS; do
31993 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31994 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31998 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31999 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32000 THREADS_CFLAGS
="$flag"
32004 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32005 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32006 THREADS_LINK
="-l$flag"
32011 save_CFLAGS
="$CFLAGS"
32012 LIBS
="$THREADS_LINK $LIBS"
32013 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32015 cat >conftest.
$ac_ext <<_ACEOF
32018 cat confdefs.h
>>conftest.
$ac_ext
32019 cat >>conftest.
$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021 #include <pthread.h>
32025 pthread_create(0,0,0,0);
32030 rm -f conftest.
$ac_objext conftest
$ac_exeext
32031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32032 (eval $ac_link) 2>conftest.er1
32034 grep -v '^ *+' conftest.er1
>conftest.err
32036 cat conftest.err
>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } &&
32039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; } &&
32045 { ac_try
='test -s conftest$ac_exeext'
32046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047 (eval $ac_try) 2>&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.
$ac_ext >&5
32057 rm -f conftest.err conftest.
$ac_objext \
32058 conftest
$ac_exeext conftest.
$ac_ext
32061 CFLAGS
="$save_CFLAGS"
32063 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32064 echo "${ECHO_T}$THREADS_OK" >&6
32065 if test "x$THREADS_OK" = "xyes"; then
32073 if test "x$THREADS_OK" != "xyes"; then
32075 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32076 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32078 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32079 LIBS
="$THREADS_LINK $LIBS"
32081 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32082 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32086 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32087 flag
="-D_THREAD_SAFE"
32090 flag
="-D_THREAD_SAFE"
32093 flag
="-D_REENTRANT"
32094 if test "x$GCC" != "xyes"; then
32095 flag
="$flag -D_RWSTD_MULTI_THREAD"
32100 *solaris
* | alpha
*-osf*)
32101 flag
="-D_REENTRANT"
32104 echo "$as_me:$LINENO: result: ${flag}" >&5
32105 echo "${ECHO_T}${flag}" >&6
32106 if test "x$flag" != xno
; then
32107 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32110 if test "x$THREADS_CFLAGS" != "x"; then
32111 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32112 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32117 if test "$wxUSE_THREADS" = "yes" ; then
32119 for ac_func
in thr_setconcurrency
32121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32122 echo "$as_me:$LINENO: checking for $ac_func" >&5
32123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32124 if eval "test \"\${$as_ac_var+set}\" = set"; then
32125 echo $ECHO_N "(cached) $ECHO_C" >&6
32127 cat >conftest.
$ac_ext <<_ACEOF
32130 cat confdefs.h
>>conftest.
$ac_ext
32131 cat >>conftest.
$ac_ext <<_ACEOF
32132 /* end confdefs.h. */
32133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32135 #define $ac_func innocuous_$ac_func
32137 /* System header to define __stub macros and hopefully few prototypes,
32138 which can conflict with char $ac_func (); below.
32139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32140 <limits.h> exists even on freestanding compilers. */
32143 # include <limits.h>
32145 # include <assert.h>
32150 /* Override any gcc2 internal prototype to avoid an error. */
32155 /* We use char because int might match the return type of a gcc2
32156 builtin and then its argument prototype would still apply. */
32158 /* The GNU C library defines this for functions which it implements
32159 to always fail with ENOSYS. Some functions are actually named
32160 something starting with __ and the normal name is an alias. */
32161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32164 char (*f) () = $ac_func;
32173 return f != $ac_func;
32178 rm -f conftest.
$ac_objext conftest
$ac_exeext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32180 (eval $ac_link) 2>conftest.er1
32182 grep -v '^ *+' conftest.er1
>conftest.err
32184 cat conftest.err
>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); } &&
32187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32189 (eval $ac_try) 2>&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); }; } &&
32193 { ac_try
='test -s conftest$ac_exeext'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; }; then
32199 eval "$as_ac_var=yes"
32201 echo "$as_me: failed program was:" >&5
32202 sed 's/^/| /' conftest.
$ac_ext >&5
32204 eval "$as_ac_var=no"
32206 rm -f conftest.err conftest.
$ac_objext \
32207 conftest
$ac_exeext conftest.
$ac_ext
32209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32211 if test `eval echo '${'$as_ac_var'}'` = yes; then
32212 cat >>confdefs.h
<<_ACEOF
32213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32221 for ac_header
in sched.h
32223 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32225 echo "$as_me:$LINENO: checking for $ac_header" >&5
32226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32233 # Is the header compilable?
32234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32236 cat >conftest.
$ac_ext <<_ACEOF
32239 cat confdefs.h
>>conftest.
$ac_ext
32240 cat >>conftest.
$ac_ext <<_ACEOF
32241 /* end confdefs.h. */
32242 $ac_includes_default
32243 #include <$ac_header>
32245 rm -f conftest.
$ac_objext
32246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32247 (eval $ac_compile) 2>conftest.er1
32249 grep -v '^ *+' conftest.er1
>conftest.err
32251 cat conftest.err
>&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); } &&
32254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32256 (eval $ac_try) 2>&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); }; } &&
32260 { ac_try
='test -s conftest.$ac_objext'
32261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32262 (eval $ac_try) 2>&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); }; }; then
32266 ac_header_compiler
=yes
32268 echo "$as_me: failed program was:" >&5
32269 sed 's/^/| /' conftest.
$ac_ext >&5
32271 ac_header_compiler
=no
32273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32275 echo "${ECHO_T}$ac_header_compiler" >&6
32277 # Is the header present?
32278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32280 cat >conftest.
$ac_ext <<_ACEOF
32283 cat confdefs.h
>>conftest.
$ac_ext
32284 cat >>conftest.
$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286 #include <$ac_header>
32288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32291 grep -v '^ *+' conftest.er1
>conftest.err
32293 cat conftest.err
>&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); } >/dev
/null
; then
32296 if test -s conftest.err
; then
32297 ac_cpp_err
=$ac_c_preproc_warn_flag
32298 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32305 if test -z "$ac_cpp_err"; then
32306 ac_header_preproc
=yes
32308 echo "$as_me: failed program was:" >&5
32309 sed 's/^/| /' conftest.
$ac_ext >&5
32311 ac_header_preproc
=no
32313 rm -f conftest.err conftest.
$ac_ext
32314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32315 echo "${ECHO_T}$ac_header_preproc" >&6
32317 # So? What about this header?
32318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32324 ac_header_preproc
=yes
32327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32341 ## ----------------------------------------- ##
32342 ## Report this to wx-dev@lists.wxwidgets.org ##
32343 ## ----------------------------------------- ##
32346 sed "s/^/$as_me: WARNING: /" >&2
32349 echo "$as_me:$LINENO: checking for $ac_header" >&5
32350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32352 echo $ECHO_N "(cached) $ECHO_C" >&6
32354 eval "$as_ac_Header=\$ac_header_preproc"
32356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32361 cat >>confdefs.h
<<_ACEOF
32362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32369 if test "$ac_cv_header_sched_h" = "yes"; then
32370 echo "$as_me:$LINENO: checking for sched_yield" >&5
32371 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32372 if test "${ac_cv_func_sched_yield+set}" = set; then
32373 echo $ECHO_N "(cached) $ECHO_C" >&6
32375 cat >conftest.
$ac_ext <<_ACEOF
32378 cat confdefs.h
>>conftest.
$ac_ext
32379 cat >>conftest.
$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32381 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32383 #define sched_yield innocuous_sched_yield
32385 /* System header to define __stub macros and hopefully few prototypes,
32386 which can conflict with char sched_yield (); below.
32387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32388 <limits.h> exists even on freestanding compilers. */
32391 # include <limits.h>
32393 # include <assert.h>
32398 /* Override any gcc2 internal prototype to avoid an error. */
32403 /* We use char because int might match the return type of a gcc2
32404 builtin and then its argument prototype would still apply. */
32405 char sched_yield ();
32406 /* The GNU C library defines this for functions which it implements
32407 to always fail with ENOSYS. Some functions are actually named
32408 something starting with __ and the normal name is an alias. */
32409 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32412 char (*f) () = sched_yield;
32421 return f != sched_yield;
32426 rm -f conftest.
$ac_objext conftest
$ac_exeext
32427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32428 (eval $ac_link) 2>conftest.er1
32430 grep -v '^ *+' conftest.er1
>conftest.err
32432 cat conftest.err
>&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); } &&
32435 { ac_try
='test -z "$ac_c_werror_flag" || 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 ac_cv_func_sched_yield
=yes
32449 echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.
$ac_ext >&5
32452 ac_cv_func_sched_yield
=no
32454 rm -f conftest.err conftest.
$ac_objext \
32455 conftest
$ac_exeext conftest.
$ac_ext
32457 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32458 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32459 if test $ac_cv_func_sched_yield = yes; then
32460 cat >>confdefs.h
<<\_ACEOF
32461 #define HAVE_SCHED_YIELD 1
32466 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32467 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32468 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 ac_check_lib_save_LIBS
=$LIBS
32472 LIBS
="-lposix4 $LIBS"
32473 cat >conftest.
$ac_ext <<_ACEOF
32476 cat confdefs.h
>>conftest.
$ac_ext
32477 cat >>conftest.
$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32480 /* Override any gcc2 internal prototype to avoid an error. */
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char sched_yield ();
32495 rm -f conftest.
$ac_objext conftest
$ac_exeext
32496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32497 (eval $ac_link) 2>conftest.er1
32499 grep -v '^ *+' conftest.er1
>conftest.err
32501 cat conftest.err
>&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } &&
32504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32506 (eval $ac_try) 2>&5
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); }; } &&
32510 { ac_try
='test -s conftest$ac_exeext'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; }; then
32516 ac_cv_lib_posix4_sched_yield
=yes
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.
$ac_ext >&5
32521 ac_cv_lib_posix4_sched_yield
=no
32523 rm -f conftest.err conftest.
$ac_objext \
32524 conftest
$ac_exeext conftest.
$ac_ext
32525 LIBS
=$ac_check_lib_save_LIBS
32527 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32528 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32529 if test $ac_cv_lib_posix4_sched_yield = yes; then
32530 cat >>confdefs.h
<<\_ACEOF
32531 #define HAVE_SCHED_YIELD 1
32533 POSIX4_LINK
=" -lposix4"
32535 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32536 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32547 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32548 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32549 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32550 echo $ECHO_N "(cached) $ECHO_C" >&6
32552 cat >conftest.
$ac_ext <<_ACEOF
32555 cat confdefs.h
>>conftest.
$ac_ext
32556 cat >>conftest.
$ac_ext <<_ACEOF
32557 /* end confdefs.h. */
32558 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32560 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32562 /* System header to define __stub macros and hopefully few prototypes,
32563 which can conflict with char pthread_attr_getschedpolicy (); below.
32564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32565 <limits.h> exists even on freestanding compilers. */
32568 # include <limits.h>
32570 # include <assert.h>
32573 #undef pthread_attr_getschedpolicy
32575 /* Override any gcc2 internal prototype to avoid an error. */
32580 /* We use char because int might match the return type of a gcc2
32581 builtin and then its argument prototype would still apply. */
32582 char pthread_attr_getschedpolicy ();
32583 /* The GNU C library defines this for functions which it implements
32584 to always fail with ENOSYS. Some functions are actually named
32585 something starting with __ and the normal name is an alias. */
32586 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32589 char (*f) () = pthread_attr_getschedpolicy;
32598 return f != pthread_attr_getschedpolicy;
32603 rm -f conftest.
$ac_objext conftest
$ac_exeext
32604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32605 (eval $ac_link) 2>conftest.er1
32607 grep -v '^ *+' conftest.er1
>conftest.err
32609 cat conftest.err
>&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); } &&
32612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; } &&
32618 { ac_try
='test -s conftest$ac_exeext'
32619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 (eval $ac_try) 2>&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); }; }; then
32624 ac_cv_func_pthread_attr_getschedpolicy
=yes
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.
$ac_ext >&5
32629 ac_cv_func_pthread_attr_getschedpolicy
=no
32631 rm -f conftest.err conftest.
$ac_objext \
32632 conftest
$ac_exeext conftest.
$ac_ext
32634 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32635 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32636 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32637 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32638 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32639 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32642 cat >conftest.
$ac_ext <<_ACEOF
32645 cat confdefs.h
>>conftest.
$ac_ext
32646 cat >>conftest.
$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32650 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32652 /* System header to define __stub macros and hopefully few prototypes,
32653 which can conflict with char pthread_attr_setschedparam (); below.
32654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32655 <limits.h> exists even on freestanding compilers. */
32658 # include <limits.h>
32660 # include <assert.h>
32663 #undef pthread_attr_setschedparam
32665 /* Override any gcc2 internal prototype to avoid an error. */
32670 /* We use char because int might match the return type of a gcc2
32671 builtin and then its argument prototype would still apply. */
32672 char pthread_attr_setschedparam ();
32673 /* The GNU C library defines this for functions which it implements
32674 to always fail with ENOSYS. Some functions are actually named
32675 something starting with __ and the normal name is an alias. */
32676 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32679 char (*f) () = pthread_attr_setschedparam;
32688 return f != pthread_attr_setschedparam;
32693 rm -f conftest.
$ac_objext conftest
$ac_exeext
32694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32695 (eval $ac_link) 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); } &&
32702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; } &&
32708 { ac_try
='test -s conftest$ac_exeext'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; }; then
32714 ac_cv_func_pthread_attr_setschedparam
=yes
32716 echo "$as_me: failed program was:" >&5
32717 sed 's/^/| /' conftest.
$ac_ext >&5
32719 ac_cv_func_pthread_attr_setschedparam
=no
32721 rm -f conftest.err conftest.
$ac_objext \
32722 conftest
$ac_exeext conftest.
$ac_ext
32724 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32725 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32726 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32727 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32728 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32729 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32730 echo $ECHO_N "(cached) $ECHO_C" >&6
32732 cat >conftest.
$ac_ext <<_ACEOF
32735 cat confdefs.h
>>conftest.
$ac_ext
32736 cat >>conftest.
$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32738 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32740 #define sched_get_priority_max innocuous_sched_get_priority_max
32742 /* System header to define __stub macros and hopefully few prototypes,
32743 which can conflict with char sched_get_priority_max (); below.
32744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32745 <limits.h> exists even on freestanding compilers. */
32748 # include <limits.h>
32750 # include <assert.h>
32753 #undef sched_get_priority_max
32755 /* Override any gcc2 internal prototype to avoid an error. */
32760 /* We use char because int might match the return type of a gcc2
32761 builtin and then its argument prototype would still apply. */
32762 char sched_get_priority_max ();
32763 /* The GNU C library defines this for functions which it implements
32764 to always fail with ENOSYS. Some functions are actually named
32765 something starting with __ and the normal name is an alias. */
32766 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32769 char (*f) () = sched_get_priority_max;
32778 return f != sched_get_priority_max;
32783 rm -f conftest.
$ac_objext conftest
$ac_exeext
32784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32785 (eval $ac_link) 2>conftest.er1
32787 grep -v '^ *+' conftest.er1
>conftest.err
32789 cat conftest.err
>&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); } &&
32792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; } &&
32798 { ac_try
='test -s conftest$ac_exeext'
32799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32800 (eval $ac_try) 2>&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); }; }; then
32804 ac_cv_func_sched_get_priority_max
=yes
32806 echo "$as_me: failed program was:" >&5
32807 sed 's/^/| /' conftest.
$ac_ext >&5
32809 ac_cv_func_sched_get_priority_max
=no
32811 rm -f conftest.err conftest.
$ac_objext \
32812 conftest
$ac_exeext conftest.
$ac_ext
32814 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32815 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32816 if test $ac_cv_func_sched_get_priority_max = yes; then
32819 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32820 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32821 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32822 echo $ECHO_N "(cached) $ECHO_C" >&6
32824 ac_check_lib_save_LIBS
=$LIBS
32825 LIBS
="-lposix4 $LIBS"
32826 cat >conftest.
$ac_ext <<_ACEOF
32829 cat confdefs.h
>>conftest.
$ac_ext
32830 cat >>conftest.
$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32833 /* Override any gcc2 internal prototype to avoid an error. */
32837 /* We use char because int might match the return type of a gcc2
32838 builtin and then its argument prototype would still apply. */
32839 char sched_get_priority_max ();
32843 sched_get_priority_max ();
32848 rm -f conftest.
$ac_objext conftest
$ac_exeext
32849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32850 (eval $ac_link) 2>conftest.er1
32852 grep -v '^ *+' conftest.er1
>conftest.err
32854 cat conftest.err
>&5
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); } &&
32857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32859 (eval $ac_try) 2>&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); }; } &&
32863 { ac_try
='test -s conftest$ac_exeext'
32864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32865 (eval $ac_try) 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; }; then
32869 ac_cv_lib_posix4_sched_get_priority_max
=yes
32871 echo "$as_me: failed program was:" >&5
32872 sed 's/^/| /' conftest.
$ac_ext >&5
32874 ac_cv_lib_posix4_sched_get_priority_max
=no
32876 rm -f conftest.err conftest.
$ac_objext \
32877 conftest
$ac_exeext conftest.
$ac_ext
32878 LIBS
=$ac_check_lib_save_LIBS
32880 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32881 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32882 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32885 POSIX4_LINK
=" -lposix4"
32899 if test "$HAVE_PRIOR_FUNCS" = 1; then
32900 cat >>confdefs.h
<<\_ACEOF
32901 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32905 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32906 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32909 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32910 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32911 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32912 echo $ECHO_N "(cached) $ECHO_C" >&6
32914 cat >conftest.
$ac_ext <<_ACEOF
32917 cat confdefs.h
>>conftest.
$ac_ext
32918 cat >>conftest.
$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32922 #define pthread_cancel innocuous_pthread_cancel
32924 /* System header to define __stub macros and hopefully few prototypes,
32925 which can conflict with char pthread_cancel (); below.
32926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32927 <limits.h> exists even on freestanding compilers. */
32930 # include <limits.h>
32932 # include <assert.h>
32935 #undef pthread_cancel
32937 /* Override any gcc2 internal prototype to avoid an error. */
32942 /* We use char because int might match the return type of a gcc2
32943 builtin and then its argument prototype would still apply. */
32944 char pthread_cancel ();
32945 /* The GNU C library defines this for functions which it implements
32946 to always fail with ENOSYS. Some functions are actually named
32947 something starting with __ and the normal name is an alias. */
32948 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32951 char (*f) () = pthread_cancel;
32960 return f != pthread_cancel;
32965 rm -f conftest.
$ac_objext conftest
$ac_exeext
32966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32967 (eval $ac_link) 2>conftest.er1
32969 grep -v '^ *+' conftest.er1
>conftest.err
32971 cat conftest.err
>&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); } &&
32974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; } &&
32980 { ac_try
='test -s conftest$ac_exeext'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; }; then
32986 ac_cv_func_pthread_cancel
=yes
32988 echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.
$ac_ext >&5
32991 ac_cv_func_pthread_cancel
=no
32993 rm -f conftest.err conftest.
$ac_objext \
32994 conftest
$ac_exeext conftest.
$ac_ext
32996 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32997 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32998 if test $ac_cv_func_pthread_cancel = yes; then
32999 cat >>confdefs.h
<<\_ACEOF
33000 #define HAVE_PTHREAD_CANCEL 1
33004 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33005 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33011 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33012 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33013 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33014 echo $ECHO_N "(cached) $ECHO_C" >&6
33017 cat >conftest.
$ac_ext <<_ACEOF
33020 cat confdefs.h
>>conftest.
$ac_ext
33021 cat >>conftest.
$ac_ext <<_ACEOF
33022 /* end confdefs.h. */
33023 #include <pthread.h>
33028 pthread_mutexattr_t attr;
33029 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33035 rm -f conftest.
$ac_objext
33036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33037 (eval $ac_compile) 2>conftest.er1
33039 grep -v '^ *+' conftest.er1
>conftest.err
33041 cat conftest.err
>&5
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); } &&
33044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33046 (eval $ac_try) 2>&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); }; } &&
33050 { ac_try
='test -s conftest.$ac_objext'
33051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33052 (eval $ac_try) 2>&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; }; then
33057 wx_cv_type_pthread_mutexattr_t
=yes
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.
$ac_ext >&5
33064 wx_cv_type_pthread_mutexattr_t
=no
33068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33071 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33072 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33074 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33075 cat >>confdefs.h
<<\_ACEOF
33076 #define HAVE_PTHREAD_MUTEXATTR_T 1
33080 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33081 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33082 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33086 cat >conftest.
$ac_ext <<_ACEOF
33089 cat confdefs.h
>>conftest.
$ac_ext
33090 cat >>conftest.
$ac_ext <<_ACEOF
33091 /* end confdefs.h. */
33092 #include <pthread.h>
33097 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33103 rm -f conftest.
$ac_objext
33104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33105 (eval $ac_compile) 2>conftest.er1
33107 grep -v '^ *+' conftest.er1
>conftest.err
33109 cat conftest.err
>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); } &&
33112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33114 (eval $ac_try) 2>&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); }; } &&
33118 { ac_try
='test -s conftest.$ac_objext'
33119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33120 (eval $ac_try) 2>&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); }; }; then
33125 wx_cv_type_pthread_rec_mutex_init
=yes
33128 echo "$as_me: failed program was:" >&5
33129 sed 's/^/| /' conftest.
$ac_ext >&5
33132 wx_cv_type_pthread_rec_mutex_init
=no
33136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33139 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33140 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33141 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33142 cat >>confdefs.h
<<\_ACEOF
33143 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33147 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33148 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33154 if test "$wxUSE_THREADS" = "yes" ; then
33157 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33158 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33159 if test "${wx_cv_cflags_mthread+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 CFLAGS_OLD
="$CFLAGS"
33164 CFLAGS
="$CFLAGS -mthreads"
33165 cat >conftest.
$ac_ext <<_ACEOF
33168 cat confdefs.h
>>conftest.
$ac_ext
33169 cat >>conftest.
$ac_ext <<_ACEOF
33170 /* end confdefs.h. */
33180 rm -f conftest.
$ac_objext
33181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33182 (eval $ac_compile) 2>conftest.er1
33184 grep -v '^ *+' conftest.er1
>conftest.err
33186 cat conftest.err
>&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } &&
33189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33191 (eval $ac_try) 2>&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); }; } &&
33195 { ac_try
='test -s conftest.$ac_objext'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; }; then
33201 wx_cv_cflags_mthread
=yes
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.
$ac_ext >&5
33206 wx_cv_cflags_mthread
=no
33209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33213 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33214 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33216 if test "$wx_cv_cflags_mthread" = "yes"; then
33217 CXXFLAGS
="$CXXFLAGS -mthreads"
33218 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33219 LDFLAGS
="$LDFLAGS -mthreads"
33221 CFLAGS
="$CFLAGS_OLD"
33225 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33226 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33227 LDFLAGS
="$LDFLAGS -Zmt"
33233 if test "$wxUSE_THREADS" = "yes"; then
33234 cat >>confdefs.h
<<\_ACEOF
33235 #define wxUSE_THREADS 1
33239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33241 if test "$ac_cv_func_strtok_r" = "yes"; then
33242 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33243 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33244 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33245 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33246 echo "$as_me:$LINENO: result: yes" >&5
33247 echo "${ECHO_T}yes" >&6
33249 echo "$as_me:$LINENO: result: no" >&5
33250 echo "${ECHO_T}no" >&6
33255 if test "$WXGTK20" = 1 ; then
33256 cat >>confdefs.h
<<_ACEOF
33257 #define __WXGTK20__ $WXGTK20
33263 if test "$WXGTK12" = 1 ; then
33264 cat >>confdefs.h
<<_ACEOF
33265 #define __WXGTK12__ $WXGTK12
33270 if test "$WXGTK127" = 1 ; then
33271 cat >>confdefs.h
<<_ACEOF
33272 #define __WXGTK127__ $WXGTK127
33277 if test "$WXGPE" = 1 ; then
33278 cat >>confdefs.h
<<_ACEOF
33279 #define __WXGPE__ $WXGPE
33286 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33291 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33292 wxUSE_DEBUG_INFO
=yes
33296 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33297 cat >>confdefs.h
<<\_ACEOF
33301 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33303 if test "$wxUSE_GTK" = 1 ; then
33304 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33308 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33309 cat >>confdefs.h
<<\_ACEOF
33310 #define wxUSE_MEMORY_TRACING 1
33313 cat >>confdefs.h
<<\_ACEOF
33314 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33317 cat >>confdefs.h
<<\_ACEOF
33318 #define wxUSE_DEBUG_NEW_ALWAYS 1
33321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33324 if test "$wxUSE_DMALLOC" = "yes" ; then
33325 DMALLOC_LIBS
="-ldmalloc"
33329 if test "$wxUSE_PROFILE" = "yes" ; then
33334 CODE_GEN_FLAGS_CXX
=
33335 if test "$GCC" = "yes" ; then
33336 if test "$wxUSE_NO_RTTI" = "yes" ; then
33337 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33339 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33340 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33342 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33343 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33348 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33351 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33357 if test "$wxUSE_OPTIMISE" = "no" ; then
33358 if test "$GCC" = yes ; then
33362 if test "$GCC" = yes ; then
33366 i586
-*-*|i686
-*-* )
33367 OPTIMISE
="${OPTIMISE} "
33376 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33377 cat >>confdefs.h
<<\_ACEOF
33378 #define WXWIN_COMPATIBILITY_2_2 1
33382 WXWIN_COMPATIBILITY_2_4
="yes"
33385 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33386 cat >>confdefs.h
<<\_ACEOF
33387 #define WXWIN_COMPATIBILITY_2_4 1
33393 if test "$wxUSE_GUI" = "yes"; then
33394 cat >>confdefs.h
<<\_ACEOF
33395 #define wxUSE_GUI 1
33400 cat >>confdefs.h
<<\_ACEOF
33401 #define wxUSE_NOGUI 1
33407 if test "$wxUSE_UNIX" = "yes"; then
33408 cat >>confdefs.h
<<\_ACEOF
33409 #define wxUSE_UNIX 1
33415 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33419 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33420 if test "$USE_DARWIN" = 1; then
33424 for ac_func
in dlopen
33426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33427 echo "$as_me:$LINENO: checking for $ac_func" >&5
33428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33429 if eval "test \"\${$as_ac_var+set}\" = set"; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 cat >conftest.
$ac_ext <<_ACEOF
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33440 #define $ac_func innocuous_$ac_func
33442 /* System header to define __stub macros and hopefully few prototypes,
33443 which can conflict with char $ac_func (); below.
33444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33445 <limits.h> exists even on freestanding compilers. */
33448 # include <limits.h>
33450 # include <assert.h>
33455 /* Override any gcc2 internal prototype to avoid an error. */
33460 /* We use char because int might match the return type of a gcc2
33461 builtin and then its argument prototype would still apply. */
33463 /* The GNU C library defines this for functions which it implements
33464 to always fail with ENOSYS. Some functions are actually named
33465 something starting with __ and the normal name is an alias. */
33466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33469 char (*f) () = $ac_func;
33478 return f != $ac_func;
33483 rm -f conftest.
$ac_objext conftest
$ac_exeext
33484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33485 (eval $ac_link) 2>conftest.er1
33487 grep -v '^ *+' conftest.er1
>conftest.err
33489 cat conftest.err
>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } &&
33492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; } &&
33498 { ac_try
='test -s conftest$ac_exeext'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; }; then
33504 eval "$as_ac_var=yes"
33506 echo "$as_me: failed program was:" >&5
33507 sed 's/^/| /' conftest.
$ac_ext >&5
33509 eval "$as_ac_var=no"
33511 rm -f conftest.err conftest.
$ac_objext \
33512 conftest
$ac_exeext conftest.
$ac_ext
33514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33516 if test `eval echo '${'$as_ac_var'}'` = yes; then
33517 cat >>confdefs.h
<<_ACEOF
33518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33521 cat >>confdefs.h
<<\_ACEOF
33522 #define HAVE_DLOPEN 1
33529 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33530 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33531 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33532 echo $ECHO_N "(cached) $ECHO_C" >&6
33534 ac_check_lib_save_LIBS
=$LIBS
33536 cat >conftest.
$ac_ext <<_ACEOF
33539 cat confdefs.h
>>conftest.
$ac_ext
33540 cat >>conftest.
$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33543 /* Override any gcc2 internal prototype to avoid an error. */
33547 /* We use char because int might match the return type of a gcc2
33548 builtin and then its argument prototype would still apply. */
33558 rm -f conftest.
$ac_objext conftest
$ac_exeext
33559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33560 (eval $ac_link) 2>conftest.er1
33562 grep -v '^ *+' conftest.er1
>conftest.err
33564 cat conftest.err
>&5
33565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33566 (exit $ac_status); } &&
33567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33569 (eval $ac_try) 2>&5
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); }; } &&
33573 { ac_try
='test -s conftest$ac_exeext'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; }; then
33579 ac_cv_lib_dl_dlopen
=yes
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.
$ac_ext >&5
33584 ac_cv_lib_dl_dlopen
=no
33586 rm -f conftest.err conftest.
$ac_objext \
33587 conftest
$ac_exeext conftest.
$ac_ext
33588 LIBS
=$ac_check_lib_save_LIBS
33590 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33591 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33592 if test $ac_cv_lib_dl_dlopen = yes; then
33594 cat >>confdefs.h
<<\_ACEOF
33595 #define HAVE_DLOPEN 1
33599 DL_LINK
=" -ldl$DL_LINK"
33604 for ac_func
in shl_load
33606 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33607 echo "$as_me:$LINENO: checking for $ac_func" >&5
33608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33609 if eval "test \"\${$as_ac_var+set}\" = set"; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 cat >conftest.
$ac_ext <<_ACEOF
33615 cat confdefs.h
>>conftest.
$ac_ext
33616 cat >>conftest.
$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33620 #define $ac_func innocuous_$ac_func
33622 /* System header to define __stub macros and hopefully few prototypes,
33623 which can conflict with char $ac_func (); below.
33624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33625 <limits.h> exists even on freestanding compilers. */
33628 # include <limits.h>
33630 # include <assert.h>
33635 /* Override any gcc2 internal prototype to avoid an error. */
33640 /* We use char because int might match the return type of a gcc2
33641 builtin and then its argument prototype would still apply. */
33643 /* The GNU C library defines this for functions which it implements
33644 to always fail with ENOSYS. Some functions are actually named
33645 something starting with __ and the normal name is an alias. */
33646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33649 char (*f) () = $ac_func;
33658 return f != $ac_func;
33663 rm -f conftest.
$ac_objext conftest
$ac_exeext
33664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33665 (eval $ac_link) 2>conftest.er1
33667 grep -v '^ *+' conftest.er1
>conftest.err
33669 cat conftest.err
>&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } &&
33672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; } &&
33678 { ac_try
='test -s conftest$ac_exeext'
33679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33680 (eval $ac_try) 2>&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); }; }; then
33684 eval "$as_ac_var=yes"
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.
$ac_ext >&5
33689 eval "$as_ac_var=no"
33691 rm -f conftest.err conftest.
$ac_objext \
33692 conftest
$ac_exeext conftest.
$ac_ext
33694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33696 if test `eval echo '${'$as_ac_var'}'` = yes; then
33697 cat >>confdefs.h
<<_ACEOF
33698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33701 cat >>confdefs.h
<<\_ACEOF
33702 #define HAVE_SHL_LOAD 1
33709 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33710 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33711 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33714 ac_check_lib_save_LIBS
=$LIBS
33715 LIBS
="-lshl_load $LIBS"
33716 cat >conftest.
$ac_ext <<_ACEOF
33719 cat confdefs.h
>>conftest.
$ac_ext
33720 cat >>conftest.
$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33723 /* Override any gcc2 internal prototype to avoid an error. */
33727 /* We use char because int might match the return type of a gcc2
33728 builtin and then its argument prototype would still apply. */
33738 rm -f conftest.
$ac_objext conftest
$ac_exeext
33739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33740 (eval $ac_link) 2>conftest.er1
33742 grep -v '^ *+' conftest.er1
>conftest.err
33744 cat conftest.err
>&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } &&
33747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33749 (eval $ac_try) 2>&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); }; } &&
33753 { ac_try
='test -s conftest$ac_exeext'
33754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33755 (eval $ac_try) 2>&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); }; }; then
33759 ac_cv_lib_shl_load_dld
=yes
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.
$ac_ext >&5
33764 ac_cv_lib_shl_load_dld
=no
33766 rm -f conftest.err conftest.
$ac_objext \
33767 conftest
$ac_exeext conftest.
$ac_ext
33768 LIBS
=$ac_check_lib_save_LIBS
33770 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33771 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33772 if test $ac_cv_lib_shl_load_dld = yes; then
33775 DL_LINK
=" -ldld$DL_LINK"
33791 if test "$HAVE_DL_FUNCS" = 1; then
33793 for ac_func
in dlerror
33795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33796 echo "$as_me:$LINENO: checking for $ac_func" >&5
33797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33798 if eval "test \"\${$as_ac_var+set}\" = set"; then
33799 echo $ECHO_N "(cached) $ECHO_C" >&6
33801 cat >conftest.
$ac_ext <<_ACEOF
33804 cat confdefs.h
>>conftest.
$ac_ext
33805 cat >>conftest.
$ac_ext <<_ACEOF
33806 /* end confdefs.h. */
33807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33809 #define $ac_func innocuous_$ac_func
33811 /* System header to define __stub macros and hopefully few prototypes,
33812 which can conflict with char $ac_func (); below.
33813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33814 <limits.h> exists even on freestanding compilers. */
33817 # include <limits.h>
33819 # include <assert.h>
33824 /* Override any gcc2 internal prototype to avoid an error. */
33829 /* We use char because int might match the return type of a gcc2
33830 builtin and then its argument prototype would still apply. */
33832 /* The GNU C library defines this for functions which it implements
33833 to always fail with ENOSYS. Some functions are actually named
33834 something starting with __ and the normal name is an alias. */
33835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33838 char (*f) () = $ac_func;
33847 return f != $ac_func;
33852 rm -f conftest.
$ac_objext conftest
$ac_exeext
33853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33854 (eval $ac_link) 2>conftest.er1
33856 grep -v '^ *+' conftest.er1
>conftest.err
33858 cat conftest.err
>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } &&
33861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try
='test -s conftest$ac_exeext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 eval "$as_ac_var=yes"
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.
$ac_ext >&5
33878 eval "$as_ac_var=no"
33880 rm -f conftest.err conftest.
$ac_objext \
33881 conftest
$ac_exeext conftest.
$ac_ext
33883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33885 if test `eval echo '${'$as_ac_var'}'` = yes; then
33886 cat >>confdefs.h
<<_ACEOF
33887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33889 cat >>confdefs.h
<<\_ACEOF
33890 #define HAVE_DLERROR 1
33895 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33896 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33897 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33898 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 ac_check_lib_save_LIBS
=$LIBS
33902 cat >conftest.
$ac_ext <<_ACEOF
33905 cat confdefs.h
>>conftest.
$ac_ext
33906 cat >>conftest.
$ac_ext <<_ACEOF
33907 /* end confdefs.h. */
33909 /* Override any gcc2 internal prototype to avoid an error. */
33913 /* We use char because int might match the return type of a gcc2
33914 builtin and then its argument prototype would still apply. */
33924 rm -f conftest.
$ac_objext conftest
$ac_exeext
33925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33926 (eval $ac_link) 2>conftest.er1
33928 grep -v '^ *+' conftest.er1
>conftest.err
33930 cat conftest.err
>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); } &&
33933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33935 (eval $ac_try) 2>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; } &&
33939 { ac_try
='test -s conftest$ac_exeext'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; }; then
33945 ac_cv_lib_dl_dlerror
=yes
33947 echo "$as_me: failed program was:" >&5
33948 sed 's/^/| /' conftest.
$ac_ext >&5
33950 ac_cv_lib_dl_dlerror
=no
33952 rm -f conftest.err conftest.
$ac_objext \
33953 conftest
$ac_exeext conftest.
$ac_ext
33954 LIBS
=$ac_check_lib_save_LIBS
33956 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33957 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33958 if test $ac_cv_lib_dl_dlerror = yes; then
33959 cat >>confdefs.h
<<\_ACEOF
33960 #define HAVE_DLERROR 1
33973 if test "$HAVE_DL_FUNCS" = 0; then
33974 if test "$HAVE_SHL_FUNCS" = 0; then
33975 if test "$USE_UNIX" = 1; then
33976 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33977 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33978 wxUSE_DYNAMIC_LOADER
=no
33979 wxUSE_DYNLIB_CLASS
=no
33981 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33982 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33989 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33990 cat >>confdefs.h
<<\_ACEOF
33991 #define wxUSE_DYNAMIC_LOADER 1
33995 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33996 cat >>confdefs.h
<<\_ACEOF
33997 #define wxUSE_DYNLIB_CLASS 1
34004 if test "$wxUSE_PLUGINS" = "yes" ; then
34005 if test "$wxUSE_SHARED" = "no" ; then
34006 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34007 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34010 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34011 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34012 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34015 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34016 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34017 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34020 if test "$wxUSE_PLUGINS" = "yes" ; then
34021 cat >>confdefs.h
<<\_ACEOF
34022 #define wxUSE_PLUGINS 1
34029 if test "$wxUSE_STL" = "yes"; then
34030 cat >>confdefs.h
<<\_ACEOF
34031 #define wxUSE_STL 1
34036 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34037 cat >>confdefs.h
<<\_ACEOF
34038 #define wxUSE_APPLE_IEEE 1
34043 if test "$wxUSE_TIMER" = "yes"; then
34044 cat >>confdefs.h
<<\_ACEOF
34045 #define wxUSE_TIMER 1
34051 if test "$wxUSE_SOUND" = "yes"; then
34052 if test "$USE_UNIX" = "1" ; then
34054 for ac_header
in sys
/soundcard.h
34056 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34058 echo "$as_me:$LINENO: checking for $ac_header" >&5
34059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34066 # Is the header compilable?
34067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34069 cat >conftest.
$ac_ext <<_ACEOF
34072 cat confdefs.h
>>conftest.
$ac_ext
34073 cat >>conftest.
$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075 $ac_includes_default
34076 #include <$ac_header>
34078 rm -f conftest.
$ac_objext
34079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34080 (eval $ac_compile) 2>conftest.er1
34082 grep -v '^ *+' conftest.er1
>conftest.err
34084 cat conftest.err
>&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } &&
34087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34089 (eval $ac_try) 2>&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); }; } &&
34093 { ac_try
='test -s conftest.$ac_objext'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; }; then
34099 ac_header_compiler
=yes
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.
$ac_ext >&5
34104 ac_header_compiler
=no
34106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34108 echo "${ECHO_T}$ac_header_compiler" >&6
34110 # Is the header present?
34111 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34112 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34113 cat >conftest.
$ac_ext <<_ACEOF
34116 cat confdefs.h
>>conftest.
$ac_ext
34117 cat >>conftest.
$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34119 #include <$ac_header>
34121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34122 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34124 grep -v '^ *+' conftest.er1
>conftest.err
34126 cat conftest.err
>&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); } >/dev
/null
; then
34129 if test -s conftest.err
; then
34130 ac_cpp_err
=$ac_c_preproc_warn_flag
34131 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34138 if test -z "$ac_cpp_err"; then
34139 ac_header_preproc
=yes
34141 echo "$as_me: failed program was:" >&5
34142 sed 's/^/| /' conftest.
$ac_ext >&5
34144 ac_header_preproc
=no
34146 rm -f conftest.err conftest.
$ac_ext
34147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34148 echo "${ECHO_T}$ac_header_preproc" >&6
34150 # So? What about this header?
34151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34153 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34154 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34156 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34157 ac_header_preproc
=yes
34160 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34161 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34162 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34163 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34164 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34165 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34166 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34167 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34170 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34171 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34174 ## ----------------------------------------- ##
34175 ## Report this to wx-dev@lists.wxwidgets.org ##
34176 ## ----------------------------------------- ##
34179 sed "s/^/$as_me: WARNING: /" >&2
34182 echo "$as_me:$LINENO: checking for $ac_header" >&5
34183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34187 eval "$as_ac_Header=\$ac_header_preproc"
34189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34194 cat >>confdefs.h
<<_ACEOF
34195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34203 if test "$wxUSE_LIBSDL" != "no"; then
34205 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34206 if test "${with_sdl_prefix+set}" = set; then
34207 withval
="$with_sdl_prefix"
34208 sdl_prefix
="$withval"
34213 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34214 if test "${with_sdl_exec_prefix+set}" = set; then
34215 withval
="$with_sdl_exec_prefix"
34216 sdl_exec_prefix
="$withval"
34220 # Check whether --enable-sdltest or --disable-sdltest was given.
34221 if test "${enable_sdltest+set}" = set; then
34222 enableval
="$enable_sdltest"
34228 if test x
$sdl_exec_prefix != x
; then
34229 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34230 if test x
${SDL_CONFIG+set} != xset
; then
34231 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34234 if test x
$sdl_prefix != x
; then
34235 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34236 if test x
${SDL_CONFIG+set} != xset
; then
34237 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34242 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34243 # Extract the first word of "sdl-config", so it can be a program name with args.
34244 set dummy sdl
-config; ac_word
=$2
34245 echo "$as_me:$LINENO: checking for $ac_word" >&5
34246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34247 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34248 echo $ECHO_N "(cached) $ECHO_C" >&6
34250 case $SDL_CONFIG in
34252 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34256 for as_dir
in $PATH
34259 test -z "$as_dir" && as_dir
=.
34260 for ac_exec_ext
in '' $ac_executable_extensions; do
34261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34262 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34269 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34273 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34275 if test -n "$SDL_CONFIG"; then
34276 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34277 echo "${ECHO_T}$SDL_CONFIG" >&6
34279 echo "$as_me:$LINENO: result: no" >&5
34280 echo "${ECHO_T}no" >&6
34283 min_sdl_version
=1.2.0
34284 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34285 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34287 if test "$SDL_CONFIG" = "no" ; then
34290 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34291 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34293 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34295 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34297 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34299 if test "x$enable_sdltest" = "xyes" ; then
34300 ac_save_CFLAGS
="$CFLAGS"
34301 ac_save_LIBS
="$LIBS"
34302 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34303 LIBS
="$LIBS $SDL_LIBS"
34305 if test "$cross_compiling" = yes; then
34306 echo $ac_n "cross compiling; assumed OK... $ac_c"
34308 cat >conftest.
$ac_ext <<_ACEOF
34311 cat confdefs.h
>>conftest.
$ac_ext
34312 cat >>conftest.
$ac_ext <<_ACEOF
34313 /* end confdefs.h. */
34316 #include <stdlib.h>
34317 #include <string.h>
34321 my_strdup (char *str)
34327 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34328 strcpy (new_str, str);
34336 int main (int argc, char *argv[])
34338 int major, minor, micro;
34341 /* This hangs on some systems (?)
34342 system ("touch conf.sdltest");
34344 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34346 /* HP/UX 9 (%@#!) writes to sscanf strings */
34347 tmp_version = my_strdup("$min_sdl_version");
34348 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34349 printf("%s, bad version string\n", "$min_sdl_version");
34353 if (($sdl_major_version > major) ||
34354 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34355 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34361 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34362 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34363 printf("*** best to upgrade to the required version.\n");
34364 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34365 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34366 printf("*** config.cache before re-running configure\n");
34373 rm -f conftest
$ac_exeext
34374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34375 (eval $ac_link) 2>&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34380 (eval $ac_try) 2>&5
34382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); }; }; then
34386 echo "$as_me: program exited with status $ac_status" >&5
34387 echo "$as_me: failed program was:" >&5
34388 sed 's/^/| /' conftest.
$ac_ext >&5
34390 ( exit $ac_status )
34393 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34395 CFLAGS
="$ac_save_CFLAGS"
34396 LIBS
="$ac_save_LIBS"
34399 if test "x$no_sdl" = x
; then
34400 echo "$as_me:$LINENO: result: yes" >&5
34401 echo "${ECHO_T}yes" >&6
34403 EXTRALIBS_SDL
="$SDL_LIBS"
34404 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34405 cat >>confdefs.h
<<\_ACEOF
34406 #define wxUSE_LIBSDL 1
34411 echo "$as_me:$LINENO: result: no" >&5
34412 echo "${ECHO_T}no" >&6
34413 if test "$SDL_CONFIG" = "no" ; then
34414 echo "*** The sdl-config script installed by SDL could not be found"
34415 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34416 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34417 echo "*** full path to sdl-config."
34419 if test -f conf.sdltest
; then
34422 echo "*** Could not run SDL test program, checking why..."
34423 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34424 LIBS
="$LIBS $SDL_LIBS"
34425 cat >conftest.
$ac_ext <<_ACEOF
34428 cat confdefs.h
>>conftest.
$ac_ext
34429 cat >>conftest.
$ac_ext <<_ACEOF
34430 /* end confdefs.h. */
34435 int main(int argc, char *argv[])
34438 #define main K_and_R_C_main
34448 rm -f conftest.
$ac_objext conftest
$ac_exeext
34449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34450 (eval $ac_link) 2>conftest.er1
34452 grep -v '^ *+' conftest.er1
>conftest.err
34454 cat conftest.err
>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } &&
34457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; } &&
34463 { ac_try
='test -s conftest$ac_exeext'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; }; then
34469 echo "*** The test program compiled, but did not run. This usually means"
34470 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34471 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34472 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34473 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34474 echo "*** is required on your system"
34476 echo "*** If you have an old version installed, it is best to remove it, although"
34477 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34479 echo "$as_me: failed program was:" >&5
34480 sed 's/^/| /' conftest.
$ac_ext >&5
34482 echo "*** The test program failed to compile or link. See the file config.log for the"
34483 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34484 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34485 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34487 rm -f conftest.err conftest.
$ac_objext \
34488 conftest
$ac_exeext conftest.
$ac_ext
34489 CFLAGS
="$ac_save_CFLAGS"
34490 LIBS
="$ac_save_LIBS"
34501 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34507 cat >>confdefs.h
<<\_ACEOF
34508 #define wxUSE_SOUND 1
34511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34514 if test "$WXGTK20" = 1; then
34515 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34516 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34521 if test -z "$PKG_CONFIG"; then
34522 # Extract the first word of "pkg-config", so it can be a program name with args.
34523 set dummy pkg
-config; ac_word
=$2
34524 echo "$as_me:$LINENO: checking for $ac_word" >&5
34525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34526 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34527 echo $ECHO_N "(cached) $ECHO_C" >&6
34529 case $PKG_CONFIG in
34531 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34535 for as_dir
in $PATH
34538 test -z "$as_dir" && as_dir
=.
34539 for ac_exec_ext
in '' $ac_executable_extensions; do
34540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34541 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34548 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
34552 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34554 if test -n "$PKG_CONFIG"; then
34555 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34556 echo "${ECHO_T}$PKG_CONFIG" >&6
34558 echo "$as_me:$LINENO: result: no" >&5
34559 echo "${ECHO_T}no" >&6
34564 if test "$PKG_CONFIG" = "no" ; then
34565 echo "*** The pkg-config script could not be found. Make sure it is"
34566 echo "*** in your path, or set the PKG_CONFIG environment variable"
34567 echo "*** to the full path to pkg-config."
34568 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34570 PKG_CONFIG_MIN_VERSION
=0.9.0
34571 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34572 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2" >&5
34573 echo $ECHO_N "checking for libgnomeprintui-2.2... $ECHO_C" >&6
34575 if $PKG_CONFIG --exists "libgnomeprintui-2.2" ; then
34576 echo "$as_me:$LINENO: result: yes" >&5
34577 echo "${ECHO_T}yes" >&6
34580 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34581 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34582 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2"`
34583 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34584 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34586 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34587 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34588 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2"`
34589 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34590 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34592 LIBGNOMEPRINTUI_CFLAGS
=""
34593 LIBGNOMEPRINTUI_LIBS
=""
34594 ## If we have a custom action on failure, don't print errors, but
34595 ## do set a variable so people can do so.
34596 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2"`
34603 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34604 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34608 if test $succeeded = yes; then
34610 EXTRALIBS_GNOMEPRINT
="$LIBGNOMEPRINTUI_LIBS"
34611 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34612 cat >>confdefs.h
<<\_ACEOF
34613 #define wxUSE_LIBGNOMEPRINT 1
34619 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34620 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34621 wxUSE_LIBGNOMEPRINT
="no"
34631 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34632 cat >>confdefs.h
<<\_ACEOF
34633 #define wxUSE_CMDLINE_PARSER 1
34638 if test "$wxUSE_STOPWATCH" = "yes"; then
34639 cat >>confdefs.h
<<\_ACEOF
34640 #define wxUSE_STOPWATCH 1
34645 if test "$wxUSE_DATETIME" = "yes"; then
34646 cat >>confdefs.h
<<\_ACEOF
34647 #define wxUSE_DATETIME 1
34652 if test "$wxUSE_FILE" = "yes"; then
34653 cat >>confdefs.h
<<\_ACEOF
34654 #define wxUSE_FILE 1
34659 if test "$wxUSE_FFILE" = "yes"; then
34660 cat >>confdefs.h
<<\_ACEOF
34661 #define wxUSE_FFILE 1
34666 if test "$wxUSE_FILESYSTEM" = "yes"; then
34667 cat >>confdefs.h
<<\_ACEOF
34668 #define wxUSE_FILESYSTEM 1
34673 if test "$wxUSE_FS_ZIP" = "yes"; then
34674 cat >>confdefs.h
<<\_ACEOF
34675 #define wxUSE_FS_ZIP 1
34680 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34681 cat >>confdefs.h
<<\_ACEOF
34682 #define wxUSE_ZIPSTREAM 1
34687 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34688 cat >>confdefs.h
<<\_ACEOF
34689 #define wxUSE_ON_FATAL_EXCEPTION 1
34694 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34695 cat >>confdefs.h
<<\_ACEOF
34696 #define wxUSE_SNGLINST_CHECKER 1
34701 if test "$wxUSE_BUSYINFO" = "yes"; then
34702 cat >>confdefs.h
<<\_ACEOF
34703 #define wxUSE_BUSYINFO 1
34708 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34709 cat >>confdefs.h
<<\_ACEOF
34710 #define wxUSE_STD_IOSTREAM 1
34715 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34716 cat >>confdefs.h
<<\_ACEOF
34717 #define wxUSE_TEXTBUFFER 1
34722 if test "$wxUSE_TEXTFILE" = "yes"; then
34723 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34724 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34725 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34727 cat >>confdefs.h
<<\_ACEOF
34728 #define wxUSE_TEXTFILE 1
34734 if test "$wxUSE_CONFIG" = "yes" ; then
34735 if test "$wxUSE_TEXTFILE" != "yes"; then
34736 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34737 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34739 cat >>confdefs.h
<<\_ACEOF
34740 #define wxUSE_CONFIG 1
34743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34747 if test "$wxUSE_INTL" = "yes" ; then
34748 if test "$wxUSE_FILE" != "yes"; then
34749 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34750 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34752 cat >>confdefs.h
<<\_ACEOF
34753 #define wxUSE_INTL 1
34756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34757 GUIDIST
="$GUIDIST INTL_DIST"
34761 if test "$wxUSE_LOG" = "yes"; then
34762 cat >>confdefs.h
<<\_ACEOF
34763 #define wxUSE_LOG 1
34767 if test "$wxUSE_LOGGUI" = "yes"; then
34768 cat >>confdefs.h
<<\_ACEOF
34769 #define wxUSE_LOGGUI 1
34774 if test "$wxUSE_LOGWINDOW" = "yes"; then
34775 cat >>confdefs.h
<<\_ACEOF
34776 #define wxUSE_LOGWINDOW 1
34781 if test "$wxUSE_LOGDIALOG" = "yes"; then
34782 cat >>confdefs.h
<<\_ACEOF
34783 #define wxUSE_LOG_DIALOG 1
34789 if test "$wxUSE_LONGLONG" = "yes"; then
34790 cat >>confdefs.h
<<\_ACEOF
34791 #define wxUSE_LONGLONG 1
34796 if test "$wxUSE_GEOMETRY" = "yes"; then
34797 cat >>confdefs.h
<<\_ACEOF
34798 #define wxUSE_GEOMETRY 1
34803 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34804 cat >>confdefs.h
<<\_ACEOF
34805 #define wxUSE_DIALUP_MANAGER 1
34808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34811 if test "$wxUSE_STREAMS" = "yes" ; then
34812 cat >>confdefs.h
<<\_ACEOF
34813 #define wxUSE_STREAMS 1
34819 if test "$wxUSE_DATETIME" = "yes"; then
34821 for ac_func
in strptime
34823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34824 echo "$as_me:$LINENO: checking for $ac_func" >&5
34825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34826 if eval "test \"\${$as_ac_var+set}\" = set"; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34829 cat >conftest.
$ac_ext <<_ACEOF
34832 cat confdefs.h
>>conftest.
$ac_ext
34833 cat >>conftest.
$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34837 #define $ac_func innocuous_$ac_func
34839 /* System header to define __stub macros and hopefully few prototypes,
34840 which can conflict with char $ac_func (); below.
34841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34842 <limits.h> exists even on freestanding compilers. */
34845 # include <limits.h>
34847 # include <assert.h>
34852 /* Override any gcc2 internal prototype to avoid an error. */
34857 /* We use char because int might match the return type of a gcc2
34858 builtin and then its argument prototype would still apply. */
34860 /* The GNU C library defines this for functions which it implements
34861 to always fail with ENOSYS. Some functions are actually named
34862 something starting with __ and the normal name is an alias. */
34863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34866 char (*f) () = $ac_func;
34875 return f != $ac_func;
34880 rm -f conftest.
$ac_objext conftest
$ac_exeext
34881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34882 (eval $ac_link) 2>conftest.er1
34884 grep -v '^ *+' conftest.er1
>conftest.err
34886 cat conftest.err
>&5
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); } &&
34889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34891 (eval $ac_try) 2>&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); }; } &&
34895 { ac_try
='test -s conftest$ac_exeext'
34896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34897 (eval $ac_try) 2>&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); }; }; then
34901 eval "$as_ac_var=yes"
34903 echo "$as_me: failed program was:" >&5
34904 sed 's/^/| /' conftest.
$ac_ext >&5
34906 eval "$as_ac_var=no"
34908 rm -f conftest.err conftest.
$ac_objext \
34909 conftest
$ac_exeext conftest.
$ac_ext
34911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34913 if test `eval echo '${'$as_ac_var'}'` = yes; then
34914 cat >>confdefs.h
<<_ACEOF
34915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34922 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34923 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34924 if test "${wx_cv_var_timezone+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34928 cat >conftest.
$ac_ext <<_ACEOF
34931 cat confdefs.h
>>conftest.
$ac_ext
34932 cat >>conftest.
$ac_ext <<_ACEOF
34933 /* end confdefs.h. */
34948 rm -f conftest.
$ac_objext
34949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34950 (eval $ac_compile) 2>conftest.er1
34952 grep -v '^ *+' conftest.er1
>conftest.err
34954 cat conftest.err
>&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } &&
34957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; } &&
34963 { ac_try
='test -s conftest.$ac_objext'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; }; then
34970 wx_cv_var_timezone
=timezone
34973 echo "$as_me: failed program was:" >&5
34974 sed 's/^/| /' conftest.
$ac_ext >&5
34977 cat >conftest.
$ac_ext <<_ACEOF
34980 cat confdefs.h
>>conftest.
$ac_ext
34981 cat >>conftest.
$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34997 rm -f conftest.
$ac_objext
34998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34999 (eval $ac_compile) 2>conftest.er1
35001 grep -v '^ *+' conftest.er1
>conftest.err
35003 cat conftest.err
>&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); } &&
35006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35008 (eval $ac_try) 2>&5
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); }; } &&
35012 { ac_try
='test -s conftest.$ac_objext'
35013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35014 (eval $ac_try) 2>&5
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); }; }; then
35019 wx_cv_var_timezone
=_timezone
35022 echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.
$ac_ext >&5
35026 cat >conftest.
$ac_ext <<_ACEOF
35029 cat confdefs.h
>>conftest.
$ac_ext
35030 cat >>conftest.
$ac_ext <<_ACEOF
35031 /* end confdefs.h. */
35046 rm -f conftest.
$ac_objext
35047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35048 (eval $ac_compile) 2>conftest.er1
35050 grep -v '^ *+' conftest.er1
>conftest.err
35052 cat conftest.err
>&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } &&
35055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try
='test -s conftest.$ac_objext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35068 wx_cv_var_timezone
=__timezone
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.
$ac_ext >&5
35075 if test "$USE_DOS" = 0 ; then
35076 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35077 echo "$as_me: WARNING: no timezone variable" >&2;}
35082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35094 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35095 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35097 if test "x$wx_cv_var_timezone" != x
; then
35098 cat >>confdefs.h
<<_ACEOF
35099 #define WX_TIMEZONE $wx_cv_var_timezone
35105 for ac_func
in localtime
35107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35108 echo "$as_me:$LINENO: checking for $ac_func" >&5
35109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35110 if eval "test \"\${$as_ac_var+set}\" = set"; then
35111 echo $ECHO_N "(cached) $ECHO_C" >&6
35113 cat >conftest.
$ac_ext <<_ACEOF
35116 cat confdefs.h
>>conftest.
$ac_ext
35117 cat >>conftest.
$ac_ext <<_ACEOF
35118 /* end confdefs.h. */
35119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35121 #define $ac_func innocuous_$ac_func
35123 /* System header to define __stub macros and hopefully few prototypes,
35124 which can conflict with char $ac_func (); below.
35125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35126 <limits.h> exists even on freestanding compilers. */
35129 # include <limits.h>
35131 # include <assert.h>
35136 /* Override any gcc2 internal prototype to avoid an error. */
35141 /* We use char because int might match the return type of a gcc2
35142 builtin and then its argument prototype would still apply. */
35144 /* The GNU C library defines this for functions which it implements
35145 to always fail with ENOSYS. Some functions are actually named
35146 something starting with __ and the normal name is an alias. */
35147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35150 char (*f) () = $ac_func;
35159 return f != $ac_func;
35164 rm -f conftest.
$ac_objext conftest
$ac_exeext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35166 (eval $ac_link) 2>conftest.er1
35168 grep -v '^ *+' conftest.er1
>conftest.err
35170 cat conftest.err
>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; } &&
35179 { ac_try
='test -s conftest$ac_exeext'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; }; then
35185 eval "$as_ac_var=yes"
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.
$ac_ext >&5
35190 eval "$as_ac_var=no"
35192 rm -f conftest.err conftest.
$ac_objext \
35193 conftest
$ac_exeext conftest.
$ac_ext
35195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35197 if test `eval echo '${'$as_ac_var'}'` = yes; then
35198 cat >>confdefs.h
<<_ACEOF
35199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35206 if test "$ac_cv_func_localtime" = "yes"; then
35207 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35208 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35209 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35213 cat >conftest.
$ac_ext <<_ACEOF
35216 cat confdefs.h
>>conftest.
$ac_ext
35217 cat >>conftest.
$ac_ext <<_ACEOF
35218 /* end confdefs.h. */
35233 rm -f conftest.
$ac_objext
35234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35235 (eval $ac_compile) 2>conftest.er1
35237 grep -v '^ *+' conftest.er1
>conftest.err
35239 cat conftest.err
>&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); } &&
35242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35244 (eval $ac_try) 2>&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); }; } &&
35248 { ac_try
='test -s conftest.$ac_objext'
35249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35250 (eval $ac_try) 2>&5
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); }; }; then
35255 wx_cv_struct_tm_has_gmtoff
=yes
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.
$ac_ext >&5
35261 wx_cv_struct_tm_has_gmtoff
=no
35264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35267 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35268 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35271 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35272 cat >>confdefs.h
<<\_ACEOF
35273 #define WX_GMTOFF_IN_TM 1
35280 for ac_func
in gettimeofday ftime
35282 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35283 echo "$as_me:$LINENO: checking for $ac_func" >&5
35284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35285 if eval "test \"\${$as_ac_var+set}\" = set"; then
35286 echo $ECHO_N "(cached) $ECHO_C" >&6
35288 cat >conftest.
$ac_ext <<_ACEOF
35291 cat confdefs.h
>>conftest.
$ac_ext
35292 cat >>conftest.
$ac_ext <<_ACEOF
35293 /* end confdefs.h. */
35294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35296 #define $ac_func innocuous_$ac_func
35298 /* System header to define __stub macros and hopefully few prototypes,
35299 which can conflict with char $ac_func (); below.
35300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35301 <limits.h> exists even on freestanding compilers. */
35304 # include <limits.h>
35306 # include <assert.h>
35311 /* Override any gcc2 internal prototype to avoid an error. */
35316 /* We use char because int might match the return type of a gcc2
35317 builtin and then its argument prototype would still apply. */
35319 /* The GNU C library defines this for functions which it implements
35320 to always fail with ENOSYS. Some functions are actually named
35321 something starting with __ and the normal name is an alias. */
35322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35325 char (*f) () = $ac_func;
35334 return f != $ac_func;
35339 rm -f conftest.
$ac_objext conftest
$ac_exeext
35340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35341 (eval $ac_link) 2>conftest.er1
35343 grep -v '^ *+' conftest.er1
>conftest.err
35345 cat conftest.err
>&5
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); } &&
35348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; } &&
35354 { ac_try
='test -s conftest$ac_exeext'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; }; then
35360 eval "$as_ac_var=yes"
35362 echo "$as_me: failed program was:" >&5
35363 sed 's/^/| /' conftest.
$ac_ext >&5
35365 eval "$as_ac_var=no"
35367 rm -f conftest.err conftest.
$ac_objext \
35368 conftest
$ac_exeext conftest.
$ac_ext
35370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35372 if test `eval echo '${'$as_ac_var'}'` = yes; then
35373 cat >>confdefs.h
<<_ACEOF
35374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35381 if test "$ac_cv_func_gettimeofday" = "yes"; then
35382 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35383 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35384 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35385 echo $ECHO_N "(cached) $ECHO_C" >&6
35391 ac_cpp
='$CXXCPP $CPPFLAGS'
35392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35397 cat >conftest.
$ac_ext <<_ACEOF
35400 cat confdefs.h
>>conftest.
$ac_ext
35401 cat >>conftest.
$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35404 #include <sys/time.h>
35405 #include <unistd.h>
35412 gettimeofday(&tv, NULL);
35418 rm -f conftest.
$ac_objext
35419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35420 (eval $ac_compile) 2>conftest.er1
35422 grep -v '^ *+' conftest.er1
>conftest.err
35424 cat conftest.err
>&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } &&
35427 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35429 (eval $ac_try) 2>&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); }; } &&
35433 { ac_try
='test -s conftest.$ac_objext'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; }; then
35439 wx_cv_func_gettimeofday_has_2_args
=yes
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.
$ac_ext >&5
35444 cat >conftest.
$ac_ext <<_ACEOF
35447 cat confdefs.h
>>conftest.
$ac_ext
35448 cat >>conftest.
$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35451 #include <sys/time.h>
35452 #include <unistd.h>
35465 rm -f conftest.
$ac_objext
35466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35467 (eval $ac_compile) 2>conftest.er1
35469 grep -v '^ *+' conftest.er1
>conftest.err
35471 cat conftest.err
>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } &&
35474 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35476 (eval $ac_try) 2>&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); }; } &&
35480 { ac_try
='test -s conftest.$ac_objext'
35481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35482 (eval $ac_try) 2>&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); }; }; then
35486 wx_cv_func_gettimeofday_has_2_args
=no
35488 echo "$as_me: failed program was:" >&5
35489 sed 's/^/| /' conftest.
$ac_ext >&5
35492 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35493 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35494 wx_cv_func_gettimeofday_has_2_args
=unknown
35498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35503 ac_cpp
='$CPP $CPPFLAGS'
35504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35510 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35511 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35513 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35514 cat >>confdefs.h
<<\_ACEOF
35515 #define WX_GETTIMEOFDAY_NO_TZ 1
35521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35525 if test "$wxUSE_SOCKETS" = "yes"; then
35526 if test "$wxUSE_MGL" = "1"; then
35527 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35528 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35533 if test "$wxUSE_SOCKETS" = "yes"; then
35534 if test "$TOOLKIT" != "MSW"; then
35535 echo "$as_me:$LINENO: checking for socket" >&5
35536 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35537 if test "${ac_cv_func_socket+set}" = set; then
35538 echo $ECHO_N "(cached) $ECHO_C" >&6
35540 cat >conftest.
$ac_ext <<_ACEOF
35543 cat confdefs.h
>>conftest.
$ac_ext
35544 cat >>conftest.
$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35548 #define socket innocuous_socket
35550 /* System header to define __stub macros and hopefully few prototypes,
35551 which can conflict with char socket (); below.
35552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35553 <limits.h> exists even on freestanding compilers. */
35556 # include <limits.h>
35558 # include <assert.h>
35563 /* Override any gcc2 internal prototype to avoid an error. */
35568 /* We use char because int might match the return type of a gcc2
35569 builtin and then its argument prototype would still apply. */
35571 /* The GNU C library defines this for functions which it implements
35572 to always fail with ENOSYS. Some functions are actually named
35573 something starting with __ and the normal name is an alias. */
35574 #if defined (__stub_socket) || defined (__stub___socket)
35577 char (*f) () = socket;
35586 return f != socket;
35591 rm -f conftest.
$ac_objext conftest
$ac_exeext
35592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35593 (eval $ac_link) 2>conftest.er1
35595 grep -v '^ *+' conftest.er1
>conftest.err
35597 cat conftest.err
>&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); } &&
35600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; } &&
35606 { ac_try
='test -s conftest$ac_exeext'
35607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35608 (eval $ac_try) 2>&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); }; }; then
35612 ac_cv_func_socket
=yes
35614 echo "$as_me: failed program was:" >&5
35615 sed 's/^/| /' conftest.
$ac_ext >&5
35617 ac_cv_func_socket
=no
35619 rm -f conftest.err conftest.
$ac_objext \
35620 conftest
$ac_exeext conftest.
$ac_ext
35622 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35623 echo "${ECHO_T}$ac_cv_func_socket" >&6
35624 if test $ac_cv_func_socket = yes; then
35628 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35629 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35630 if test "${ac_cv_lib_socket_socket+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 ac_check_lib_save_LIBS
=$LIBS
35634 LIBS
="-lsocket $LIBS"
35635 cat >conftest.
$ac_ext <<_ACEOF
35638 cat confdefs.h
>>conftest.
$ac_ext
35639 cat >>conftest.
$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35642 /* Override any gcc2 internal prototype to avoid an error. */
35646 /* We use char because int might match the return type of a gcc2
35647 builtin and then its argument prototype would still apply. */
35657 rm -f conftest.
$ac_objext conftest
$ac_exeext
35658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35659 (eval $ac_link) 2>conftest.er1
35661 grep -v '^ *+' conftest.er1
>conftest.err
35663 cat conftest.err
>&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); } &&
35666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35668 (eval $ac_try) 2>&5
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); }; } &&
35672 { ac_try
='test -s conftest$ac_exeext'
35673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35674 (eval $ac_try) 2>&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); }; }; then
35678 ac_cv_lib_socket_socket
=yes
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.
$ac_ext >&5
35683 ac_cv_lib_socket_socket
=no
35685 rm -f conftest.err conftest.
$ac_objext \
35686 conftest
$ac_exeext conftest.
$ac_ext
35687 LIBS
=$ac_check_lib_save_LIBS
35689 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35690 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35691 if test $ac_cv_lib_socket_socket = yes; then
35692 if test "$INET_LINK" != " -lsocket"; then
35693 INET_LINK
="$INET_LINK -lsocket"
35697 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35698 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35711 if test "$wxUSE_SOCKETS" = "yes" ; then
35712 if test "$TOOLKIT" != "MSW"; then
35714 ac_cpp
='$CXXCPP $CPPFLAGS'
35715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35719 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35720 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35721 if test "${wx_cv_type_getsockname3+set}" = set; then
35722 echo $ECHO_N "(cached) $ECHO_C" >&6
35725 cat >conftest.
$ac_ext <<_ACEOF
35728 cat confdefs.h
>>conftest.
$ac_ext
35729 cat >>conftest.
$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35732 #include <sys/types.h>
35733 #include <sys/socket.h>
35740 getsockname(0, 0, &len);
35746 rm -f conftest.
$ac_objext
35747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35748 (eval $ac_compile) 2>conftest.er1
35750 grep -v '^ *+' conftest.er1
>conftest.err
35752 cat conftest.err
>&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); } &&
35755 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; } &&
35761 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
35767 wx_cv_type_getsockname3
=socklen_t
35769 echo "$as_me: failed program was:" >&5
35770 sed 's/^/| /' conftest.
$ac_ext >&5
35773 CFLAGS_OLD
="$CFLAGS"
35774 if test "$GCC" = yes ; then
35775 CFLAGS
="$CFLAGS -Werror"
35778 cat >conftest.
$ac_ext <<_ACEOF
35781 cat confdefs.h
>>conftest.
$ac_ext
35782 cat >>conftest.
$ac_ext <<_ACEOF
35783 /* end confdefs.h. */
35785 #include <sys/types.h>
35786 #include <sys/socket.h>
35793 getsockname(0, 0, &len);
35799 rm -f conftest.
$ac_objext
35800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35801 (eval $ac_compile) 2>conftest.er1
35803 grep -v '^ *+' conftest.er1
>conftest.err
35805 cat conftest.err
>&5
35806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807 (exit $ac_status); } &&
35808 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35810 (eval $ac_try) 2>&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); }; } &&
35814 { ac_try
='test -s conftest.$ac_objext'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; }; then
35820 wx_cv_type_getsockname3
=size_t
35822 echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.
$ac_ext >&5
35825 cat >conftest.
$ac_ext <<_ACEOF
35828 cat confdefs.h
>>conftest.
$ac_ext
35829 cat >>conftest.
$ac_ext <<_ACEOF
35830 /* end confdefs.h. */
35832 #include <sys/types.h>
35833 #include <sys/socket.h>
35840 getsockname(0, 0, &len);
35846 rm -f conftest.
$ac_objext
35847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35848 (eval $ac_compile) 2>conftest.er1
35850 grep -v '^ *+' conftest.er1
>conftest.err
35852 cat conftest.err
>&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); } &&
35855 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35857 (eval $ac_try) 2>&5
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); }; } &&
35861 { ac_try
='test -s conftest.$ac_objext'
35862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35863 (eval $ac_try) 2>&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); }; }; then
35867 wx_cv_type_getsockname3
=int
35869 echo "$as_me: failed program was:" >&5
35870 sed 's/^/| /' conftest.
$ac_ext >&5
35872 wx_cv_type_getsockname3
=unknown
35875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35880 CFLAGS
="$CFLAGS_OLD"
35884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35887 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35888 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35890 if test "$wx_cv_type_getsockname3" = "unknown"; then
35892 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35893 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35895 cat >>confdefs.h
<<_ACEOF
35896 #define SOCKLEN_T $wx_cv_type_getsockname3
35901 ac_cpp
='$CPP $CPPFLAGS'
35902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35909 if test "$wxUSE_SOCKETS" = "yes" ; then
35910 cat >>confdefs.h
<<\_ACEOF
35911 #define wxUSE_SOCKETS 1
35914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35917 if test "$wxUSE_PROTOCOL" = "yes"; then
35918 if test "$wxUSE_SOCKETS" != "yes"; then
35919 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35920 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35925 if test "$wxUSE_PROTOCOL" = "yes"; then
35926 cat >>confdefs.h
<<\_ACEOF
35927 #define wxUSE_PROTOCOL 1
35931 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35932 cat >>confdefs.h
<<\_ACEOF
35933 #define wxUSE_PROTOCOL_HTTP 1
35937 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35938 cat >>confdefs.h
<<\_ACEOF
35939 #define wxUSE_PROTOCOL_FTP 1
35943 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35944 cat >>confdefs.h
<<\_ACEOF
35945 #define wxUSE_PROTOCOL_FILE 1
35950 if test "$wxUSE_FS_INET" = "yes"; then
35951 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35952 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35957 if test "$wxUSE_URL" = "yes"; then
35958 if test "$wxUSE_PROTOCOL" != "yes"; then
35959 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35960 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35963 if test "$wxUSE_URL" = "yes"; then
35964 cat >>confdefs.h
<<\_ACEOF
35965 #define wxUSE_URL 1
35971 if test "$wxUSE_FS_INET" = "yes"; then
35972 cat >>confdefs.h
<<\_ACEOF
35973 #define wxUSE_FS_INET 1
35979 if test "$wxUSE_GUI" = "yes"; then
35981 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35982 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35983 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35987 if test "$TOOLKIT" != "MSW"; then
35988 if test "$wxUSE_JOYSTICK" = "yes"; then
35990 for ac_header
in linux
/joystick.h
35992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35994 echo "$as_me:$LINENO: checking for $ac_header" >&5
35995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36002 # Is the header compilable?
36003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36005 cat >conftest.
$ac_ext <<_ACEOF
36008 cat confdefs.h
>>conftest.
$ac_ext
36009 cat >>conftest.
$ac_ext <<_ACEOF
36010 /* end confdefs.h. */
36011 $ac_includes_default
36012 #include <$ac_header>
36014 rm -f conftest.
$ac_objext
36015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36016 (eval $ac_compile) 2>conftest.er1
36018 grep -v '^ *+' conftest.er1
>conftest.err
36020 cat conftest.err
>&5
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); } &&
36023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025 (eval $ac_try) 2>&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); }; } &&
36029 { ac_try
='test -s conftest.$ac_objext'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }; then
36035 ac_header_compiler
=yes
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.
$ac_ext >&5
36040 ac_header_compiler
=no
36042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36044 echo "${ECHO_T}$ac_header_compiler" >&6
36046 # Is the header present?
36047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36049 cat >conftest.
$ac_ext <<_ACEOF
36052 cat confdefs.h
>>conftest.
$ac_ext
36053 cat >>conftest.
$ac_ext <<_ACEOF
36054 /* end confdefs.h. */
36055 #include <$ac_header>
36057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36060 grep -v '^ *+' conftest.er1
>conftest.err
36062 cat conftest.err
>&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); } >/dev
/null
; then
36065 if test -s conftest.err
; then
36066 ac_cpp_err
=$ac_c_preproc_warn_flag
36067 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36074 if test -z "$ac_cpp_err"; then
36075 ac_header_preproc
=yes
36077 echo "$as_me: failed program was:" >&5
36078 sed 's/^/| /' conftest.
$ac_ext >&5
36080 ac_header_preproc
=no
36082 rm -f conftest.err conftest.
$ac_ext
36083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36084 echo "${ECHO_T}$ac_header_preproc" >&6
36086 # So? What about this header?
36087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36093 ac_header_preproc
=yes
36096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36110 ## ----------------------------------------- ##
36111 ## Report this to wx-dev@lists.wxwidgets.org ##
36112 ## ----------------------------------------- ##
36115 sed "s/^/$as_me: WARNING: /" >&2
36118 echo "$as_me:$LINENO: checking for $ac_header" >&5
36119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36123 eval "$as_ac_Header=\$ac_header_preproc"
36125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36130 cat >>confdefs.h
<<_ACEOF
36131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36138 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36140 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36141 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36146 if test "$wxUSE_JOYSTICK" = "yes"; then
36147 cat >>confdefs.h
<<\_ACEOF
36148 #define wxUSE_JOYSTICK 1
36151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36157 if test "$wxUSE_FONTMAP" = "yes" ; then
36158 cat >>confdefs.h
<<\_ACEOF
36159 #define wxUSE_FONTMAP 1
36164 if test "$wxUSE_UNICODE" = "yes" ; then
36165 cat >>confdefs.h
<<\_ACEOF
36166 #define wxUSE_UNICODE 1
36170 if test "$USE_WIN32" != 1; then
36171 wxUSE_UNICODE_MSLU
=no
36174 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36175 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36176 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36177 if test "${ac_cv_lib_unicows_main+set}" = set; then
36178 echo $ECHO_N "(cached) $ECHO_C" >&6
36180 ac_check_lib_save_LIBS
=$LIBS
36181 LIBS
="-lunicows $LIBS"
36182 cat >conftest.
$ac_ext <<_ACEOF
36185 cat confdefs.h
>>conftest.
$ac_ext
36186 cat >>conftest.
$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36198 rm -f conftest.
$ac_objext conftest
$ac_exeext
36199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36200 (eval $ac_link) 2>conftest.er1
36202 grep -v '^ *+' conftest.er1
>conftest.err
36204 cat conftest.err
>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } &&
36207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36209 (eval $ac_try) 2>&5
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); }; } &&
36213 { ac_try
='test -s conftest$ac_exeext'
36214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36215 (eval $ac_try) 2>&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); }; }; then
36219 ac_cv_lib_unicows_main
=yes
36221 echo "$as_me: failed program was:" >&5
36222 sed 's/^/| /' conftest.
$ac_ext >&5
36224 ac_cv_lib_unicows_main
=no
36226 rm -f conftest.err conftest.
$ac_objext \
36227 conftest
$ac_exeext conftest.
$ac_ext
36228 LIBS
=$ac_check_lib_save_LIBS
36230 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36231 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36232 if test $ac_cv_lib_unicows_main = yes; then
36234 cat >>confdefs.h
<<\_ACEOF
36235 #define wxUSE_UNICODE_MSLU 1
36241 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36242 Applications will only run on Windows NT/2000/XP!" >&5
36243 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36244 Applications will only run on Windows NT/2000/XP!" >&2;}
36245 wxUSE_UNICODE_MSLU
=no
36252 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36253 cat >>confdefs.h
<<\_ACEOF
36254 #define wxUSE_EXPERIMENTAL_PRINTF 1
36260 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36261 cat >>confdefs.h
<<\_ACEOF
36262 #define wxUSE_POSTSCRIPT 1
36267 cat >>confdefs.h
<<\_ACEOF
36268 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36272 cat >>confdefs.h
<<\_ACEOF
36273 #define wxUSE_NORMALIZED_PS_FONTS 1
36278 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36279 cat >>confdefs.h
<<\_ACEOF
36280 #define wxUSE_CONSTRAINTS 1
36283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36286 if test "$wxUSE_MDI" = "yes"; then
36287 cat >>confdefs.h
<<\_ACEOF
36288 #define wxUSE_MDI 1
36292 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36293 cat >>confdefs.h
<<\_ACEOF
36294 #define wxUSE_MDI_ARCHITECTURE 1
36297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36301 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36302 cat >>confdefs.h
<<\_ACEOF
36303 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36307 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36312 if test "$wxUSE_HELP" = "yes"; then
36313 cat >>confdefs.h
<<\_ACEOF
36314 #define wxUSE_HELP 1
36317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36319 if test "$wxUSE_MSW" = 1; then
36320 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36321 cat >>confdefs.h
<<\_ACEOF
36322 #define wxUSE_MS_HTML_HELP 1
36328 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36329 if test "$wxUSE_HTML" = "yes"; then
36330 cat >>confdefs.h
<<\_ACEOF
36331 #define wxUSE_WXHTML_HELP 1
36335 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36336 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36337 wxUSE_WXHTML_HELP
=no
36342 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36343 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36344 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36345 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36347 cat >>confdefs.h
<<\_ACEOF
36348 #define wxUSE_PRINTING_ARCHITECTURE 1
36352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36355 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36356 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36357 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36358 { (exit 1); exit 1; }; }
36362 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36363 -o "$wxUSE_CLIPBOARD" = "yes" \
36364 -o "$wxUSE_OLE" = "yes" \
36365 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36367 for ac_header
in ole2.h
36369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36371 echo "$as_me:$LINENO: checking for $ac_header" >&5
36372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36374 echo $ECHO_N "(cached) $ECHO_C" >&6
36376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36379 # Is the header compilable?
36380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36382 cat >conftest.
$ac_ext <<_ACEOF
36385 cat confdefs.h
>>conftest.
$ac_ext
36386 cat >>conftest.
$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36388 $ac_includes_default
36389 #include <$ac_header>
36391 rm -f conftest.
$ac_objext
36392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36393 (eval $ac_compile) 2>conftest.er1
36395 grep -v '^ *+' conftest.er1
>conftest.err
36397 cat conftest.err
>&5
36398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399 (exit $ac_status); } &&
36400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36402 (eval $ac_try) 2>&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); }; } &&
36406 { ac_try
='test -s conftest.$ac_objext'
36407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36408 (eval $ac_try) 2>&5
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); }; }; then
36412 ac_header_compiler
=yes
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.
$ac_ext >&5
36417 ac_header_compiler
=no
36419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36421 echo "${ECHO_T}$ac_header_compiler" >&6
36423 # Is the header present?
36424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36426 cat >conftest.
$ac_ext <<_ACEOF
36429 cat confdefs.h
>>conftest.
$ac_ext
36430 cat >>conftest.
$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 #include <$ac_header>
36434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36437 grep -v '^ *+' conftest.er1
>conftest.err
36439 cat conftest.err
>&5
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); } >/dev
/null
; then
36442 if test -s conftest.err
; then
36443 ac_cpp_err
=$ac_c_preproc_warn_flag
36444 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36451 if test -z "$ac_cpp_err"; then
36452 ac_header_preproc
=yes
36454 echo "$as_me: failed program was:" >&5
36455 sed 's/^/| /' conftest.
$ac_ext >&5
36457 ac_header_preproc
=no
36459 rm -f conftest.err conftest.
$ac_ext
36460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36461 echo "${ECHO_T}$ac_header_preproc" >&6
36463 # So? What about this header?
36464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36470 ac_header_preproc
=yes
36473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36487 ## ----------------------------------------- ##
36488 ## Report this to wx-dev@lists.wxwidgets.org ##
36489 ## ----------------------------------------- ##
36492 sed "s/^/$as_me: WARNING: /" >&2
36495 echo "$as_me:$LINENO: checking for $ac_header" >&5
36496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36498 echo $ECHO_N "(cached) $ECHO_C" >&6
36500 eval "$as_ac_Header=\$ac_header_preproc"
36502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36507 cat >>confdefs.h
<<_ACEOF
36508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36516 if test "$ac_cv_header_ole2_h" = "yes" ; then
36517 if test "$GCC" = yes ; then
36521 ac_cpp
='$CXXCPP $CPPFLAGS'
36522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36527 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36528 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36529 cat >conftest.
$ac_ext <<_ACEOF
36532 cat confdefs.h
>>conftest.
$ac_ext
36533 cat >>conftest.
$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 #include <windows.h>
36545 rm -f conftest.
$ac_objext
36546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36547 (eval $ac_compile) 2>conftest.er1
36549 grep -v '^ *+' conftest.er1
>conftest.err
36551 cat conftest.err
>&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } &&
36554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
36560 { ac_try
='test -s conftest.$ac_objext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 echo "$as_me:$LINENO: result: no" >&5
36567 echo "${ECHO_T}no" >&6
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.
$ac_ext >&5
36572 echo "$as_me:$LINENO: result: yes" >&5
36573 echo "${ECHO_T}yes" >&6
36574 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36578 ac_cpp
='$CPP $CPPFLAGS'
36579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36583 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36584 if test "$wxUSE_OLE" = "yes" ; then
36585 cat >>confdefs.h
<<\_ACEOF
36586 #define wxUSE_OLE 1
36592 if test "$wxUSE_DATAOBJ" = "yes" ; then
36593 cat >>confdefs.h
<<\_ACEOF
36594 #define wxUSE_DATAOBJ 1
36599 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36600 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36603 wxUSE_DRAG_AND_DROP
=no
36608 if test "$wxUSE_METAFILE" = "yes"; then
36609 cat >>confdefs.h
<<\_ACEOF
36610 #define wxUSE_METAFILE 1
36614 cat >>confdefs.h
<<\_ACEOF
36615 #define wxUSE_ENH_METAFILE 1
36621 if test "$wxUSE_IPC" = "yes"; then
36622 if test "$wxUSE_SOCKETS" != "yes"; then
36623 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36624 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36627 cat >>confdefs.h
<<\_ACEOF
36628 #define wxUSE_IPC 1
36633 if test "$wxUSE_CLIPBOARD" = "yes"; then
36634 if test "$wxUSE_MGL" = 1; then
36635 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36636 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36640 if test "$wxUSE_CLIPBOARD" = "yes"; then
36641 cat >>confdefs.h
<<\_ACEOF
36642 #define wxUSE_CLIPBOARD 1
36646 cat >>confdefs.h
<<\_ACEOF
36647 #define wxUSE_DATAOBJ 1
36653 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36654 if test "$wxUSE_GTK" = 1; then
36655 if test "$WXGTK12" != 1; then
36656 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36657 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36658 wxUSE_DRAG_AND_DROP
=no
36662 if test "$wxUSE_MOTIF" = 1; then
36663 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36664 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36665 wxUSE_DRAG_AND_DROP
=no
36668 if test "$wxUSE_X11" = 1; then
36669 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36670 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36671 wxUSE_DRAG_AND_DROP
=no
36674 if test "$wxUSE_MGL" = 1; then
36675 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36676 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36677 wxUSE_DRAG_AND_DROP
=no
36680 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36681 cat >>confdefs.h
<<\_ACEOF
36682 #define wxUSE_DRAG_AND_DROP 1
36689 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36693 if test "$wxUSE_SPLINES" = "yes" ; then
36694 cat >>confdefs.h
<<\_ACEOF
36695 #define wxUSE_SPLINES 1
36702 if test "$wxUSE_CONTROLS" = "yes"; then
36706 if test "$wxUSE_ACCEL" = "yes"; then
36707 cat >>confdefs.h
<<\_ACEOF
36708 #define wxUSE_ACCEL 1
36714 if test "$wxUSE_BUTTON" = "yes"; then
36715 cat >>confdefs.h
<<\_ACEOF
36716 #define wxUSE_BUTTON 1
36722 if test "$wxUSE_BMPBUTTON" = "yes"; then
36723 cat >>confdefs.h
<<\_ACEOF
36724 #define wxUSE_BMPBUTTON 1
36730 if test "$wxUSE_CALCTRL" = "yes"; then
36731 cat >>confdefs.h
<<\_ACEOF
36732 #define wxUSE_CALENDARCTRL 1
36736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36739 if test "$wxUSE_CARET" = "yes"; then
36740 cat >>confdefs.h
<<\_ACEOF
36741 #define wxUSE_CARET 1
36745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36748 if test "$wxUSE_COMBOBOX" = "yes"; then
36749 cat >>confdefs.h
<<\_ACEOF
36750 #define wxUSE_COMBOBOX 1
36756 if test "$wxUSE_CHOICE" = "yes"; then
36757 cat >>confdefs.h
<<\_ACEOF
36758 #define wxUSE_CHOICE 1
36764 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36765 cat >>confdefs.h
<<\_ACEOF
36766 #define wxUSE_CHOICEBOOK 1
36772 if test "$wxUSE_CHECKBOX" = "yes"; then
36773 cat >>confdefs.h
<<\_ACEOF
36774 #define wxUSE_CHECKBOX 1
36780 if test "$wxUSE_CHECKLST" = "yes"; then
36781 cat >>confdefs.h
<<\_ACEOF
36782 #define wxUSE_CHECKLISTBOX 1
36786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36789 if test "$wxUSE_DISPLAY" = "yes"; then
36790 cat >>confdefs.h
<<\_ACEOF
36791 #define wxUSE_DISPLAY 1
36794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36797 if test "$wxUSE_GAUGE" = "yes"; then
36798 cat >>confdefs.h
<<\_ACEOF
36799 #define wxUSE_GAUGE 1
36805 if test "$wxUSE_GRID" = "yes"; then
36806 cat >>confdefs.h
<<\_ACEOF
36807 #define wxUSE_GRID 1
36811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36814 if test "$wxUSE_IMAGLIST" = "yes"; then
36815 cat >>confdefs.h
<<\_ACEOF
36816 #define wxUSE_IMAGLIST 1
36821 if test "$wxUSE_LISTBOOK" = "yes"; then
36822 cat >>confdefs.h
<<\_ACEOF
36823 #define wxUSE_LISTBOOK 1
36829 if test "$wxUSE_LISTBOX" = "yes"; then
36830 cat >>confdefs.h
<<\_ACEOF
36831 #define wxUSE_LISTBOX 1
36837 if test "$wxUSE_LISTCTRL" = "yes"; then
36838 if test "$wxUSE_IMAGLIST" = "yes"; then
36839 cat >>confdefs.h
<<\_ACEOF
36840 #define wxUSE_LISTCTRL 1
36844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36846 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36847 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36851 if test "$wxUSE_NOTEBOOK" = "yes"; then
36852 cat >>confdefs.h
<<\_ACEOF
36853 #define wxUSE_NOTEBOOK 1
36857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36861 if test "$wxUSE_RADIOBOX" = "yes"; then
36862 cat >>confdefs.h
<<\_ACEOF
36863 #define wxUSE_RADIOBOX 1
36869 if test "$wxUSE_RADIOBTN" = "yes"; then
36870 cat >>confdefs.h
<<\_ACEOF
36871 #define wxUSE_RADIOBTN 1
36877 if test "$wxUSE_SASH" = "yes"; then
36878 cat >>confdefs.h
<<\_ACEOF
36879 #define wxUSE_SASH 1
36882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36885 if test "$wxUSE_SCROLLBAR" = "yes"; then
36886 cat >>confdefs.h
<<\_ACEOF
36887 #define wxUSE_SCROLLBAR 1
36891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36894 if test "$wxUSE_SLIDER" = "yes"; then
36895 cat >>confdefs.h
<<\_ACEOF
36896 #define wxUSE_SLIDER 1
36902 if test "$wxUSE_SPINBTN" = "yes"; then
36903 cat >>confdefs.h
<<\_ACEOF
36904 #define wxUSE_SPINBTN 1
36910 if test "$wxUSE_SPINCTRL" = "yes"; then
36911 cat >>confdefs.h
<<\_ACEOF
36912 #define wxUSE_SPINCTRL 1
36918 if test "$wxUSE_SPLITTER" = "yes"; then
36919 cat >>confdefs.h
<<\_ACEOF
36920 #define wxUSE_SPLITTER 1
36923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36926 if test "$wxUSE_STATBMP" = "yes"; then
36927 cat >>confdefs.h
<<\_ACEOF
36928 #define wxUSE_STATBMP 1
36934 if test "$wxUSE_STATBOX" = "yes"; then
36935 cat >>confdefs.h
<<\_ACEOF
36936 #define wxUSE_STATBOX 1
36942 if test "$wxUSE_STATTEXT" = "yes"; then
36943 cat >>confdefs.h
<<\_ACEOF
36944 #define wxUSE_STATTEXT 1
36950 if test "$wxUSE_STATLINE" = "yes"; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_STATLINE 1
36958 if test "$wxUSE_STATUSBAR" = "yes"; then
36959 cat >>confdefs.h
<<\_ACEOF
36960 #define wxUSE_STATUSBAR 1
36965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36968 if test "$wxUSE_TABDIALOG" = "yes"; then
36969 cat >>confdefs.h
<<\_ACEOF
36970 #define wxUSE_TAB_DIALOG 1
36973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36976 if test "$wxUSE_TEXTCTRL" = "yes"; then
36977 cat >>confdefs.h
<<\_ACEOF
36978 #define wxUSE_TEXTCTRL 1
36982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36986 if test "$wxUSE_COCOA" = 1 ; then
36987 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36988 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36991 if test "$wxUSE_PM" = 1; then
36992 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36993 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36997 if test "$wxUSE_UNIVERSAL" = "yes"; then
36998 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36999 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37003 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_TOGGLEBTN 1
37012 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37013 cat >>confdefs.h
<<\_ACEOF
37014 #define wxUSE_TOOLBAR_SIMPLE 1
37017 wxUSE_TOOLBAR
="yes"
37021 if test "$wxUSE_TOOLBAR" = "yes"; then
37022 cat >>confdefs.h
<<\_ACEOF
37023 #define wxUSE_TOOLBAR 1
37028 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37029 wxUSE_TOOLBAR_NATIVE
="yes"
37032 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37033 cat >>confdefs.h
<<\_ACEOF
37034 #define wxUSE_TOOLBAR_NATIVE 1
37040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37043 if test "$wxUSE_TOOLTIPS" = "yes"; then
37044 if test "$wxUSE_MOTIF" = 1; then
37045 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37046 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37048 if test "$wxUSE_UNIVERSAL" = "yes"; then
37049 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37050 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37052 cat >>confdefs.h
<<\_ACEOF
37053 #define wxUSE_TOOLTIPS 1
37060 if test "$wxUSE_TREECTRL" = "yes"; then
37061 if test "$wxUSE_IMAGLIST" = "yes"; then
37062 cat >>confdefs.h
<<\_ACEOF
37063 #define wxUSE_TREECTRL 1
37067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37069 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37070 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37074 if test "$wxUSE_POPUPWIN" = "yes"; then
37075 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37076 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37077 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37079 if test "$wxUSE_PM" = 1; then
37080 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37081 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37083 cat >>confdefs.h
<<\_ACEOF
37084 #define wxUSE_POPUPWIN 1
37093 if test "$wxUSE_TIPWINDOW" = "yes"; then
37094 if test "$wxUSE_PM" = 1; then
37095 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37096 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37098 cat >>confdefs.h
<<\_ACEOF
37099 #define wxUSE_TIPWINDOW 1
37105 if test "$USES_CONTROLS" = 1; then
37106 cat >>confdefs.h
<<\_ACEOF
37107 #define wxUSE_CONTROLS 1
37113 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37114 cat >>confdefs.h
<<\_ACEOF
37115 #define wxUSE_ACCESSIBILITY 1
37118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37121 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37122 cat >>confdefs.h
<<\_ACEOF
37123 #define wxUSE_DRAGIMAGE 1
37126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37129 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37130 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37131 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37132 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37134 cat >>confdefs.h
<<\_ACEOF
37135 #define wxUSE_EXCEPTIONS 1
37138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37143 if test "$wxUSE_HTML" = "yes"; then
37144 cat >>confdefs.h
<<\_ACEOF
37145 #define wxUSE_HTML 1
37149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37150 if test "$wxUSE_MAC" = 1; then
37151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37154 if test "$wxUSE_WEBKIT" = "yes"; then
37155 if test "$wxUSE_MAC" = 1; then
37156 old_CPPFLAGS
="$CPPFLAGS"
37157 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37158 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37159 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37160 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37161 echo $ECHO_N "(cached) $ECHO_C" >&6
37163 cat >conftest.
$ac_ext <<_ACEOF
37166 cat confdefs.h
>>conftest.
$ac_ext
37167 cat >>conftest.
$ac_ext <<_ACEOF
37168 /* end confdefs.h. */
37169 #include <Carbon/Carbon.h>
37171 #include <WebKit/HIWebView.h>
37173 rm -f conftest.
$ac_objext
37174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37175 (eval $ac_compile) 2>conftest.er1
37177 grep -v '^ *+' conftest.er1
>conftest.err
37179 cat conftest.err
>&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); } &&
37182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37184 (eval $ac_try) 2>&5
37186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37187 (exit $ac_status); }; } &&
37188 { ac_try
='test -s conftest.$ac_objext'
37189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37190 (eval $ac_try) 2>&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); }; }; then
37194 ac_cv_header_WebKit_HIWebView_h
=yes
37196 echo "$as_me: failed program was:" >&5
37197 sed 's/^/| /' conftest.
$ac_ext >&5
37199 ac_cv_header_WebKit_HIWebView_h
=no
37201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37203 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37204 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37205 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37207 cat >>confdefs.h
<<\_ACEOF
37208 #define wxUSE_WEBKIT 1
37211 WEBKIT_LINK
="-framework WebKit"
37215 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37216 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37222 CPPFLAGS
="$old_CPPFLAGS"
37223 elif test "$wxUSE_COCOA" = 1; then
37224 cat >>confdefs.h
<<\_ACEOF
37225 #define wxUSE_WEBKIT 1
37234 if test "$wxUSE_XRC" = "yes"; then
37235 if test "$wxUSE_XML" != "yes"; then
37236 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37237 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37240 cat >>confdefs.h
<<\_ACEOF
37241 #define wxUSE_XRC 1
37245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37249 if test "$wxUSE_MENUS" = "yes"; then
37250 cat >>confdefs.h
<<\_ACEOF
37251 #define wxUSE_MENUS 1
37254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37257 if test "$wxUSE_METAFILE" = "yes"; then
37258 cat >>confdefs.h
<<\_ACEOF
37259 #define wxUSE_METAFILE 1
37264 if test "$wxUSE_MIMETYPE" = "yes"; then
37265 cat >>confdefs.h
<<\_ACEOF
37266 #define wxUSE_MIMETYPE 1
37271 if test "$wxUSE_MINIFRAME" = "yes"; then
37272 cat >>confdefs.h
<<\_ACEOF
37273 #define wxUSE_MINIFRAME 1
37276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37279 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37280 cat >>confdefs.h
<<\_ACEOF
37281 #define wxUSE_SYSTEM_OPTIONS 1
37284 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37285 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37291 if test "$wxUSE_VALIDATORS" = "yes"; then
37292 cat >>confdefs.h
<<\_ACEOF
37293 #define wxUSE_VALIDATORS 1
37296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37299 if test "$wxUSE_PALETTE" = "yes" ; then
37300 cat >>confdefs.h
<<\_ACEOF
37301 #define wxUSE_PALETTE 1
37306 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37307 LIBS
=" -lunicows $LIBS"
37311 if test "$wxUSE_IMAGE" = "yes" ; then
37312 cat >>confdefs.h
<<\_ACEOF
37313 #define wxUSE_IMAGE 1
37317 if test "$wxUSE_GIF" = "yes" ; then
37318 cat >>confdefs.h
<<\_ACEOF
37319 #define wxUSE_GIF 1
37324 if test "$wxUSE_PCX" = "yes" ; then
37325 cat >>confdefs.h
<<\_ACEOF
37326 #define wxUSE_PCX 1
37331 if test "$wxUSE_IFF" = "yes" ; then
37332 cat >>confdefs.h
<<\_ACEOF
37333 #define wxUSE_IFF 1
37338 if test "$wxUSE_PNM" = "yes" ; then
37339 cat >>confdefs.h
<<\_ACEOF
37340 #define wxUSE_PNM 1
37345 if test "$wxUSE_XPM" = "yes" ; then
37346 cat >>confdefs.h
<<\_ACEOF
37347 #define wxUSE_XPM 1
37352 if test "$wxUSE_ICO_CUR" = "yes" ; then
37353 cat >>confdefs.h
<<\_ACEOF
37354 #define wxUSE_ICO_CUR 1
37361 if test "$wxUSE_CHOICEDLG" = "yes"; then
37362 cat >>confdefs.h
<<\_ACEOF
37363 #define wxUSE_CHOICEDLG 1
37368 if test "$wxUSE_COLOURDLG" = "yes"; then
37369 cat >>confdefs.h
<<\_ACEOF
37370 #define wxUSE_COLOURDLG 1
37375 if test "$wxUSE_FILEDLG" = "yes"; then
37376 cat >>confdefs.h
<<\_ACEOF
37377 #define wxUSE_FILEDLG 1
37382 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37383 cat >>confdefs.h
<<\_ACEOF
37384 #define wxUSE_FINDREPLDLG 1
37389 if test "$wxUSE_FONTDLG" = "yes"; then
37390 cat >>confdefs.h
<<\_ACEOF
37391 #define wxUSE_FONTDLG 1
37396 if test "$wxUSE_DIRDLG" = "yes"; then
37397 if test "$wxUSE_TREECTRL" != "yes"; then
37398 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37399 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37401 cat >>confdefs.h
<<\_ACEOF
37402 #define wxUSE_DIRDLG 1
37408 if test "$wxUSE_MSGDLG" = "yes"; then
37409 cat >>confdefs.h
<<\_ACEOF
37410 #define wxUSE_MSGDLG 1
37415 if test "$wxUSE_NUMBERDLG" = "yes"; then
37416 cat >>confdefs.h
<<\_ACEOF
37417 #define wxUSE_NUMBERDLG 1
37422 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37423 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37424 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37425 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37427 cat >>confdefs.h
<<\_ACEOF
37428 #define wxUSE_PROGRESSDLG 1
37434 if test "$wxUSE_SPLASH" = "yes"; then
37435 cat >>confdefs.h
<<\_ACEOF
37436 #define wxUSE_SPLASH 1
37439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37442 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37443 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37444 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37445 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37447 cat >>confdefs.h
<<\_ACEOF
37448 #define wxUSE_STARTUP_TIPS 1
37454 if test "$wxUSE_TEXTDLG" = "yes"; then
37455 cat >>confdefs.h
<<\_ACEOF
37456 #define wxUSE_TEXTDLG 1
37461 if test "$wxUSE_WIZARDDLG" = "yes"; then
37462 cat >>confdefs.h
<<\_ACEOF
37463 #define wxUSE_WIZARDDLG 1
37466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37470 if test "$cross_compiling" = "yes"; then
37473 OSINFO
=`uname -s -r -m`
37474 OSINFO
="\"$OSINFO\""
37477 cat >>confdefs.h
<<_ACEOF
37478 #define WXWIN_OS_DESCRIPTION $OSINFO
37483 if test "x$prefix" != "xNONE"; then
37486 wxPREFIX
=$ac_default_prefix
37489 cat >>confdefs.h
<<_ACEOF
37490 #define wxINSTALL_PREFIX "$wxPREFIX"
37496 CORE_BASE_LIBS
="net base"
37497 CORE_GUI_LIBS
="adv core"
37499 if test "$wxUSE_XML" = "yes" ; then
37500 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37502 if test "$wxUSE_ODBC" != "no" ; then
37503 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37504 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37506 if test "$wxUSE_HTML" = "yes" ; then
37507 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37509 if test "$wxUSE_XRC" = "yes" ; then
37510 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37513 if test "$wxUSE_GUI" != "yes"; then
37524 if test "$wxUSE_MAC" = 1 ; then
37525 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
37526 LDFLAGS
="$LDFLAGS -framework QuickTime"
37528 if test "$USE_DARWIN" = 1; then
37529 LDFLAGS
="$LDFLAGS -framework IOKit"
37531 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37533 if test "$wxUSE_COCOA" = 1 ; then
37534 LDFLAGS
="$LDFLAGS -framework Cocoa"
37538 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37546 echo "$as_me:$LINENO: checking for $ac_func" >&5
37547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37548 if eval "test \"\${$as_ac_var+set}\" = set"; then
37549 echo $ECHO_N "(cached) $ECHO_C" >&6
37551 cat >conftest.
$ac_ext <<_ACEOF
37554 cat confdefs.h
>>conftest.
$ac_ext
37555 cat >>conftest.
$ac_ext <<_ACEOF
37556 /* end confdefs.h. */
37557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37559 #define $ac_func innocuous_$ac_func
37561 /* System header to define __stub macros and hopefully few prototypes,
37562 which can conflict with char $ac_func (); below.
37563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37564 <limits.h> exists even on freestanding compilers. */
37567 # include <limits.h>
37569 # include <assert.h>
37574 /* Override any gcc2 internal prototype to avoid an error. */
37579 /* We use char because int might match the return type of a gcc2
37580 builtin and then its argument prototype would still apply. */
37582 /* The GNU C library defines this for functions which it implements
37583 to always fail with ENOSYS. Some functions are actually named
37584 something starting with __ and the normal name is an alias. */
37585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37588 char (*f) () = $ac_func;
37597 return f != $ac_func;
37602 rm -f conftest.
$ac_objext conftest
$ac_exeext
37603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37604 (eval $ac_link) 2>conftest.er1
37606 grep -v '^ *+' conftest.er1
>conftest.err
37608 cat conftest.err
>&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); } &&
37611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37613 (eval $ac_try) 2>&5
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); }; } &&
37617 { ac_try
='test -s conftest$ac_exeext'
37618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37619 (eval $ac_try) 2>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); }; }; then
37623 eval "$as_ac_var=yes"
37625 echo "$as_me: failed program was:" >&5
37626 sed 's/^/| /' conftest.
$ac_ext >&5
37628 eval "$as_ac_var=no"
37630 rm -f conftest.err conftest.
$ac_objext \
37631 conftest
$ac_exeext conftest.
$ac_ext
37633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37635 if test `eval echo '${'$as_ac_var'}'` = yes; then
37636 cat >>confdefs.h
<<_ACEOF
37637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37644 for ac_func
in floor
37646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 echo "$as_me:$LINENO: checking for $ac_func" >&5
37648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37649 if eval "test \"\${$as_ac_var+set}\" = set"; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37652 cat >conftest.
$ac_ext <<_ACEOF
37655 cat confdefs.h
>>conftest.
$ac_ext
37656 cat >>conftest.
$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37660 #define $ac_func innocuous_$ac_func
37662 /* System header to define __stub macros and hopefully few prototypes,
37663 which can conflict with char $ac_func (); below.
37664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37665 <limits.h> exists even on freestanding compilers. */
37668 # include <limits.h>
37670 # include <assert.h>
37675 /* Override any gcc2 internal prototype to avoid an error. */
37680 /* We use char because int might match the return type of a gcc2
37681 builtin and then its argument prototype would still apply. */
37683 /* The GNU C library defines this for functions which it implements
37684 to always fail with ENOSYS. Some functions are actually named
37685 something starting with __ and the normal name is an alias. */
37686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37689 char (*f) () = $ac_func;
37698 return f != $ac_func;
37703 rm -f conftest.
$ac_objext conftest
$ac_exeext
37704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37705 (eval $ac_link) 2>conftest.er1
37707 grep -v '^ *+' conftest.er1
>conftest.err
37709 cat conftest.err
>&5
37710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37711 (exit $ac_status); } &&
37712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37714 (eval $ac_try) 2>&5
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); }; } &&
37718 { ac_try
='test -s conftest$ac_exeext'
37719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37720 (eval $ac_try) 2>&5
37722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723 (exit $ac_status); }; }; then
37724 eval "$as_ac_var=yes"
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.
$ac_ext >&5
37729 eval "$as_ac_var=no"
37731 rm -f conftest.err conftest.
$ac_objext \
37732 conftest
$ac_exeext conftest.
$ac_ext
37734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37736 if test `eval echo '${'$as_ac_var'}'` = yes; then
37737 cat >>confdefs.h
<<_ACEOF
37738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37744 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37745 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37746 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37747 echo "$as_me:$LINENO: result: yes" >&5
37748 echo "${ECHO_T}yes" >&6
37750 echo "$as_me:$LINENO: result: no" >&5
37751 echo "${ECHO_T}no" >&6
37753 # use different functions to avoid configure caching
37759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37760 echo "$as_me:$LINENO: checking for $ac_func" >&5
37761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37762 if eval "test \"\${$as_ac_var+set}\" = set"; then
37763 echo $ECHO_N "(cached) $ECHO_C" >&6
37765 cat >conftest.
$ac_ext <<_ACEOF
37768 cat confdefs.h
>>conftest.
$ac_ext
37769 cat >>conftest.
$ac_ext <<_ACEOF
37770 /* end confdefs.h. */
37771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37773 #define $ac_func innocuous_$ac_func
37775 /* System header to define __stub macros and hopefully few prototypes,
37776 which can conflict with char $ac_func (); below.
37777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37778 <limits.h> exists even on freestanding compilers. */
37781 # include <limits.h>
37783 # include <assert.h>
37788 /* Override any gcc2 internal prototype to avoid an error. */
37793 /* We use char because int might match the return type of a gcc2
37794 builtin and then its argument prototype would still apply. */
37796 /* The GNU C library defines this for functions which it implements
37797 to always fail with ENOSYS. Some functions are actually named
37798 something starting with __ and the normal name is an alias. */
37799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37802 char (*f) () = $ac_func;
37811 return f != $ac_func;
37816 rm -f conftest.
$ac_objext conftest
$ac_exeext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37818 (eval $ac_link) 2>conftest.er1
37820 grep -v '^ *+' conftest.er1
>conftest.err
37822 cat conftest.err
>&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } &&
37825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try
='test -s conftest$ac_exeext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 eval "$as_ac_var=yes"
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.
$ac_ext >&5
37842 eval "$as_ac_var=no"
37844 rm -f conftest.err conftest.
$ac_objext \
37845 conftest
$ac_exeext conftest.
$ac_ext
37847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37849 if test `eval echo '${'$as_ac_var'}'` = yes; then
37850 cat >>confdefs.h
<<_ACEOF
37851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37858 for ac_func
in ceil
37860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37861 echo "$as_me:$LINENO: checking for $ac_func" >&5
37862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37863 if eval "test \"\${$as_ac_var+set}\" = set"; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 cat >conftest.
$ac_ext <<_ACEOF
37869 cat confdefs.h
>>conftest.
$ac_ext
37870 cat >>conftest.
$ac_ext <<_ACEOF
37871 /* end confdefs.h. */
37872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37874 #define $ac_func innocuous_$ac_func
37876 /* System header to define __stub macros and hopefully few prototypes,
37877 which can conflict with char $ac_func (); below.
37878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37879 <limits.h> exists even on freestanding compilers. */
37882 # include <limits.h>
37884 # include <assert.h>
37889 /* Override any gcc2 internal prototype to avoid an error. */
37894 /* We use char because int might match the return type of a gcc2
37895 builtin and then its argument prototype would still apply. */
37897 /* The GNU C library defines this for functions which it implements
37898 to always fail with ENOSYS. Some functions are actually named
37899 something starting with __ and the normal name is an alias. */
37900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37903 char (*f) () = $ac_func;
37912 return f != $ac_func;
37917 rm -f conftest.
$ac_objext conftest
$ac_exeext
37918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37919 (eval $ac_link) 2>conftest.er1
37921 grep -v '^ *+' conftest.er1
>conftest.err
37923 cat conftest.err
>&5
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); } &&
37926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37928 (eval $ac_try) 2>&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); }; } &&
37932 { ac_try
='test -s conftest$ac_exeext'
37933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37934 (eval $ac_try) 2>&5
37936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937 (exit $ac_status); }; }; then
37938 eval "$as_ac_var=yes"
37940 echo "$as_me: failed program was:" >&5
37941 sed 's/^/| /' conftest.
$ac_ext >&5
37943 eval "$as_ac_var=no"
37945 rm -f conftest.err conftest.
$ac_objext \
37946 conftest
$ac_exeext conftest.
$ac_ext
37948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37950 if test `eval echo '${'$as_ac_var'}'` = yes; then
37951 cat >>confdefs.h
<<_ACEOF
37952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37958 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37959 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37960 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37961 echo "$as_me:$LINENO: result: yes" >&5
37962 echo "${ECHO_T}yes" >&6
37964 echo "$as_me:$LINENO: result: no" >&5
37965 echo "${ECHO_T}no" >&6
37966 # not sure we should warn the user, crash, etc.
37970 if test "$wxUSE_GUI" = "yes"; then
37973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37974 drawing dynamic erase event exec font image \
37975 minimal propsize rotate shaped widgets render"
37977 if test "$wxUSE_MONOLITHIC" != "yes"; then
37978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37981 SAMPLES_SUBDIRS
="console"
37985 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37986 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37988 if test "$GXX" = yes ; then
37989 CXXWARNINGS
="-Wall"
37992 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37994 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37995 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37996 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38000 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38001 EXTRALIBS_XML
="$EXPAT_LINK"
38002 EXTRALIBS_HTML
="$MSPACK_LINK"
38003 EXTRALIBS_ODBC
="$ODBC_LINK"
38004 if test "$wxUSE_GUI" = "yes"; then
38005 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38007 if test "$wxUSE_OPENGL" = "yes"; then
38008 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38011 LDFLAGS
="$LDFLAGS $PROFILE"
38013 if test "$wxUSE_GTK" = 1; then
38016 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38019 WXCONFIG_EXTRALIBS
="$LIBS"
38021 if test "$wxUSE_REGEX" = "builtin" ; then
38022 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38024 if test "$wxUSE_EXPAT" = "builtin" ; then
38025 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38027 if test "$wxUSE_ODBC" = "builtin" ; then
38028 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38030 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38031 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38033 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38034 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38036 if test "$wxUSE_LIBPNG" = "builtin" ; then
38037 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38039 if test "$wxUSE_ZLIB" = "builtin" ; then
38040 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38042 if test "$wxUSE_ODBC" = "builtin" ; then
38043 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38046 for i
in $wxconfig_3rdparty ; do
38047 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38051 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38065 if test $wxUSE_MONOLITHIC = "yes" ; then
38071 if test $wxUSE_PLUGINS = "yes" ; then
38077 if test $wxUSE_ODBC != "no" ; then
38083 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38111 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38122 TOOLKIT_USER
="GTK+"
38123 if test "$WXGTK20" = 1; then
38124 TOOLKIT_USER
="$TOOLKIT_USER 2"
38129 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38134 if test "x$BAKEFILE_HOST" = "x"; then
38135 BAKEFILE_HOST
="${host}"
38138 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38140 if test -n "$ac_tool_prefix"; then
38141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38142 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38143 echo "$as_me:$LINENO: checking for $ac_word" >&5
38144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38145 if test "${ac_cv_prog_RANLIB+set}" = set; then
38146 echo $ECHO_N "(cached) $ECHO_C" >&6
38148 if test -n "$RANLIB"; then
38149 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38152 for as_dir
in $PATH
38155 test -z "$as_dir" && as_dir
=.
38156 for ac_exec_ext
in '' $ac_executable_extensions; do
38157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38158 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38167 RANLIB
=$ac_cv_prog_RANLIB
38168 if test -n "$RANLIB"; then
38169 echo "$as_me:$LINENO: result: $RANLIB" >&5
38170 echo "${ECHO_T}$RANLIB" >&6
38172 echo "$as_me:$LINENO: result: no" >&5
38173 echo "${ECHO_T}no" >&6
38177 if test -z "$ac_cv_prog_RANLIB"; then
38178 ac_ct_RANLIB
=$RANLIB
38179 # Extract the first word of "ranlib", so it can be a program name with args.
38180 set dummy ranlib
; ac_word
=$2
38181 echo "$as_me:$LINENO: checking for $ac_word" >&5
38182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38184 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 if test -n "$ac_ct_RANLIB"; then
38187 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38190 for as_dir
in $PATH
38193 test -z "$as_dir" && as_dir
=.
38194 for ac_exec_ext
in '' $ac_executable_extensions; do
38195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38196 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38206 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38207 if test -n "$ac_ct_RANLIB"; then
38208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38211 echo "$as_me:$LINENO: result: no" >&5
38212 echo "${ECHO_T}no" >&6
38215 RANLIB
=$ac_ct_RANLIB
38217 RANLIB
="$ac_cv_prog_RANLIB"
38220 # Find a good install program. We prefer a C program (faster),
38221 # so one script is as good as another. But avoid the broken or
38222 # incompatible versions:
38223 # SysV /etc/install, /usr/sbin/install
38224 # SunOS /usr/etc/install
38225 # IRIX /sbin/install
38227 # AmigaOS /C/install, which installs bootblocks on floppy discs
38228 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38229 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38230 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38231 # OS/2's system install, which has a completely different semantic
38232 # ./install, which can be erroneously created by make from ./install.sh.
38233 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38234 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38235 if test -z "$INSTALL"; then
38236 if test "${ac_cv_path_install+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38240 for as_dir
in $PATH
38243 test -z "$as_dir" && as_dir
=.
38244 # Account for people who put trailing slashes in PATH elements.
38246 .
/ | .
// | /cC
/* | \
38247 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38248 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38251 # OSF1 and SCO ODT 3.0 have their own names for install.
38252 # Don't use installbsd from OSF since it installs stuff as root
38254 for ac_prog
in ginstall scoinst
install; do
38255 for ac_exec_ext
in '' $ac_executable_extensions; do
38256 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38257 if test $ac_prog = install &&
38258 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38259 # AIX install. It has an incompatible calling convention.
38261 elif test $ac_prog = install &&
38262 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38263 # program-specific install script used by HP pwplus--don't use.
38266 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38278 if test "${ac_cv_path_install+set}" = set; then
38279 INSTALL
=$ac_cv_path_install
38281 # As a last resort, use the slow shell script. We don't cache a
38282 # path for INSTALL within a source directory, because that will
38283 # break other packages using the cache if that directory is
38284 # removed, or if the path is relative.
38285 INSTALL
=$ac_install_sh
38288 echo "$as_me:$LINENO: result: $INSTALL" >&5
38289 echo "${ECHO_T}$INSTALL" >&6
38291 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38292 # It thinks the first close brace ends the variable substitution.
38293 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38295 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38297 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38299 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38300 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38302 if test "$LN_S" = "ln -s"; then
38303 echo "$as_me:$LINENO: result: yes" >&5
38304 echo "${ECHO_T}yes" >&6
38306 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38307 echo "${ECHO_T}no, using $LN_S" >&6
38311 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38312 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38313 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38314 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38315 echo $ECHO_N "(cached) $ECHO_C" >&6
38317 cat >conftest.
make <<\_ACEOF
38319 @
echo 'ac_maketemp="$(MAKE)"'
38321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38322 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38323 if test -n "$ac_maketemp"; then
38324 eval ac_cv_prog_make_
${ac_make}_set
=yes
38326 eval ac_cv_prog_make_
${ac_make}_set
=no
38328 rm -f conftest.
make
38330 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38331 echo "$as_me:$LINENO: result: yes" >&5
38332 echo "${ECHO_T}yes" >&6
38335 echo "$as_me:$LINENO: result: no" >&5
38336 echo "${ECHO_T}no" >&6
38337 SET_MAKE
="MAKE=${MAKE-make}"
38342 if test -n "$ac_tool_prefix"; then
38343 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38344 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38345 echo "$as_me:$LINENO: checking for $ac_word" >&5
38346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38347 if test "${ac_cv_prog_AR+set}" = set; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38350 if test -n "$AR"; then
38351 ac_cv_prog_AR
="$AR" # Let the user override the test.
38353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38354 for as_dir
in $PATH
38357 test -z "$as_dir" && as_dir
=.
38358 for ac_exec_ext
in '' $ac_executable_extensions; do
38359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38360 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38370 if test -n "$AR"; then
38371 echo "$as_me:$LINENO: result: $AR" >&5
38372 echo "${ECHO_T}$AR" >&6
38374 echo "$as_me:$LINENO: result: no" >&5
38375 echo "${ECHO_T}no" >&6
38379 if test -z "$ac_cv_prog_AR"; then
38381 # Extract the first word of "ar", so it can be a program name with args.
38382 set dummy
ar; ac_word
=$2
38383 echo "$as_me:$LINENO: checking for $ac_word" >&5
38384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38385 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 if test -n "$ac_ct_AR"; then
38389 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38392 for as_dir
in $PATH
38395 test -z "$as_dir" && as_dir
=.
38396 for ac_exec_ext
in '' $ac_executable_extensions; do
38397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38398 ac_cv_prog_ac_ct_AR
="ar"
38399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38405 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38408 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38409 if test -n "$ac_ct_AR"; then
38410 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38411 echo "${ECHO_T}$ac_ct_AR" >&6
38413 echo "$as_me:$LINENO: result: no" >&5
38414 echo "${ECHO_T}no" >&6
38419 AR
="$ac_cv_prog_AR"
38422 if test -n "$ac_tool_prefix"; then
38423 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38424 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38425 echo "$as_me:$LINENO: checking for $ac_word" >&5
38426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38427 if test "${ac_cv_prog_STRIP+set}" = set; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38430 if test -n "$STRIP"; then
38431 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38434 for as_dir
in $PATH
38437 test -z "$as_dir" && as_dir
=.
38438 for ac_exec_ext
in '' $ac_executable_extensions; do
38439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38440 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38449 STRIP
=$ac_cv_prog_STRIP
38450 if test -n "$STRIP"; then
38451 echo "$as_me:$LINENO: result: $STRIP" >&5
38452 echo "${ECHO_T}$STRIP" >&6
38454 echo "$as_me:$LINENO: result: no" >&5
38455 echo "${ECHO_T}no" >&6
38459 if test -z "$ac_cv_prog_STRIP"; then
38461 # Extract the first word of "strip", so it can be a program name with args.
38462 set dummy strip
; ac_word
=$2
38463 echo "$as_me:$LINENO: checking for $ac_word" >&5
38464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38465 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38466 echo $ECHO_N "(cached) $ECHO_C" >&6
38468 if test -n "$ac_ct_STRIP"; then
38469 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38472 for as_dir
in $PATH
38475 test -z "$as_dir" && as_dir
=.
38476 for ac_exec_ext
in '' $ac_executable_extensions; do
38477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38478 ac_cv_prog_ac_ct_STRIP
="strip"
38479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38485 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38488 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38489 if test -n "$ac_ct_STRIP"; then
38490 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38491 echo "${ECHO_T}$ac_ct_STRIP" >&6
38493 echo "$as_me:$LINENO: result: no" >&5
38494 echo "${ECHO_T}no" >&6
38499 STRIP
="$ac_cv_prog_STRIP"
38502 if test -n "$ac_tool_prefix"; then
38503 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38504 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38505 echo "$as_me:$LINENO: checking for $ac_word" >&5
38506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38507 if test "${ac_cv_prog_NM+set}" = set; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38510 if test -n "$NM"; then
38511 ac_cv_prog_NM
="$NM" # Let the user override the test.
38513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38514 for as_dir
in $PATH
38517 test -z "$as_dir" && as_dir
=.
38518 for ac_exec_ext
in '' $ac_executable_extensions; do
38519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38520 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38530 if test -n "$NM"; then
38531 echo "$as_me:$LINENO: result: $NM" >&5
38532 echo "${ECHO_T}$NM" >&6
38534 echo "$as_me:$LINENO: result: no" >&5
38535 echo "${ECHO_T}no" >&6
38539 if test -z "$ac_cv_prog_NM"; then
38541 # Extract the first word of "nm", so it can be a program name with args.
38542 set dummy nm
; ac_word
=$2
38543 echo "$as_me:$LINENO: checking for $ac_word" >&5
38544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38545 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38546 echo $ECHO_N "(cached) $ECHO_C" >&6
38548 if test -n "$ac_ct_NM"; then
38549 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38552 for as_dir
in $PATH
38555 test -z "$as_dir" && as_dir
=.
38556 for ac_exec_ext
in '' $ac_executable_extensions; do
38557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38558 ac_cv_prog_ac_ct_NM
="nm"
38559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38565 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38568 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38569 if test -n "$ac_ct_NM"; then
38570 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38571 echo "${ECHO_T}$ac_ct_NM" >&6
38573 echo "$as_me:$LINENO: result: no" >&5
38574 echo "${ECHO_T}no" >&6
38579 NM
="$ac_cv_prog_NM"
38583 case ${BAKEFILE_HOST} in
38585 INSTALL_DIR
="mkdir -p"
38587 *) INSTALL_DIR
="$INSTALL -d"
38593 case ${BAKEFILE_HOST} in
38594 *-*-cygwin* | *-*-mingw32* )
38595 LDFLAGS_GUI
="-mwindows"
38601 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38602 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38603 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38608 egrep -s GNU
> /dev
/null
); then
38609 bakefile_cv_prog_makeisgnu
="yes"
38611 bakefile_cv_prog_makeisgnu
="no"
38615 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38616 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38618 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38633 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38634 case "${BAKEFILE_HOST}" in
38635 *-*-cygwin* | *-*-mingw32* )
38641 *-pc-os2_emx | *-pc-os2-emx )
38644 powerpc
-*-darwin* )
38653 case "$BAKEFILE_FORCE_PLATFORM" in
38671 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38672 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38673 { (exit 1); exit 1; }; }
38686 # Check whether --enable-omf or --disable-omf was given.
38687 if test "${enable_omf+set}" = set; then
38688 enableval
="$enable_omf"
38689 bk_os2_use_omf
="$enableval"
38692 case "${BAKEFILE_HOST}" in
38694 CFLAGS
="$CFLAGS -fno-common"
38695 CXXFLAGS
="$CXXFLAGS -fno-common"
38698 *-pc-os2_emx | *-pc-os2-emx )
38699 if test "x$bk_os2_use_omf" = "xyes" ; then
38702 LDFLAGS
="-Zomf $LDFLAGS"
38703 CFLAGS
="-Zomf $CFLAGS"
38704 CXXFLAGS
="-Zomf $CXXFLAGS"
38714 SO_SUFFIX_MODULE
="so"
38719 DLLPREFIX_MODULE
=""
38722 case "${BAKEFILE_HOST}" in
38725 SO_SUFFIX_MODULE
="sl"
38729 SO_SUFFIX_MODULE
="a"
38731 *-*-cygwin* | *-*-mingw32* )
38733 SO_SUFFIX_MODULE
="dll"
38734 DLLIMP_SUFFIX
="dll.a"
38742 *-pc-os2_emx | *-pc-os2-emx )
38744 SO_SUFFIX_MODULE
="dll"
38745 DLLIMP_SUFFIX
=$OS2_LIBEXT
38749 LIBEXT
=".$OS2_LIBEXT"
38751 powerpc
-*-darwin* )
38753 SO_SUFFIX_MODULE
="bundle"
38757 if test "x$DLLIMP_SUFFIX" = "x" ; then
38758 DLLIMP_SUFFIX
="$SO_SUFFIX"
38771 SHARED_LD_CC
="\$(CC) -shared -o"
38772 SHARED_LD_CXX
="\$(CXX) -shared -o"
38774 if test "x$GCC" = "xyes"; then
38778 case "${BAKEFILE_HOST}" in
38780 if test "x$GCC" = "xyes"; then
38781 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38782 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38784 LDFLAGS
="$LDFLAGS -L/usr/lib"
38786 SHARED_LD_CC
="${CC} -b -o"
38787 SHARED_LD_CXX
="${CXX} -b -o"
38793 if test "x$GCC" != "xyes"; then
38794 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38795 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38796 if test "${bakefile_cv_prog_icc+set}" = set; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38800 cat >conftest.
$ac_ext <<_ACEOF
38803 cat confdefs.h
>>conftest.
$ac_ext
38804 cat >>conftest.
$ac_ext <<_ACEOF
38805 /* end confdefs.h. */
38811 #ifndef __INTEL_COMPILER
38819 rm -f conftest.
$ac_objext
38820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38821 (eval $ac_compile) 2>conftest.er1
38823 grep -v '^ *+' conftest.er1
>conftest.err
38825 cat conftest.err
>&5
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); } &&
38828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830 (eval $ac_try) 2>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; } &&
38834 { ac_try
='test -s conftest.$ac_objext'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; }; then
38840 bakefile_cv_prog_icc
=yes
38842 echo "$as_me: failed program was:" >&5
38843 sed 's/^/| /' conftest.
$ac_ext >&5
38845 bakefile_cv_prog_icc
=no
38848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38851 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38852 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38853 if test "$bakefile_cv_prog_icc" = "yes"; then
38860 if test "x$GCC" != xyes
; then
38861 SHARED_LD_CC
="${CC} -G -o"
38862 SHARED_LD_CXX
="${CXX} -G -o"
38869 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38870 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38871 if test "${wx_cv_gcc31+set}" = set; then
38872 echo $ECHO_N "(cached) $ECHO_C" >&6
38875 cat >conftest.
$ac_ext <<_ACEOF
38878 cat confdefs.h
>>conftest.
$ac_ext
38879 cat >>conftest.
$ac_ext <<_ACEOF
38880 /* end confdefs.h. */
38886 #if (__GNUC__ < 3) || \
38887 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38895 rm -f conftest.
$ac_objext
38896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38897 (eval $ac_compile) 2>conftest.er1
38899 grep -v '^ *+' conftest.er1
>conftest.err
38901 cat conftest.err
>&5
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); } &&
38904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906 (eval $ac_try) 2>&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); }; } &&
38910 { ac_try
='test -s conftest.$ac_objext'
38911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38912 (eval $ac_try) 2>&5
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); }; }; then
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.
$ac_ext >&5
38928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38931 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38932 echo "${ECHO_T}$wx_cv_gcc31" >&6
38933 if test "$wx_cv_gcc31" = "no"; then
38936 cat <<EOF >shared-ld-sh
38938 #-----------------------------------------------------------------------------
38939 #-- Name: distrib/mac/shared-ld-sh
38940 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38941 #-- Author: Gilles Depeyrot
38942 #-- Copyright: (c) 2002 Gilles Depeyrot
38943 #-- Licence: any use permitted
38944 #-----------------------------------------------------------------------------
38949 linking_flag="-dynamiclib"
38951 while test ${D}# -gt 0; do
38958 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38959 # collect these options and values
38960 args="${D}{args} ${D}1 ${D}2"
38964 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38965 # collect these options
38966 args="${D}{args} ${D}1"
38969 -dynamiclib|-bundle)
38970 linking_flag="${D}1"
38974 echo "shared-ld: unhandled option '${D}1'"
38978 *.o | *.a | *.dylib)
38979 # collect object files
38980 objects="${D}{objects} ${D}1"
38984 echo "shared-ld: unhandled argument '${D}1'"
38993 # Link one module containing all the others
38995 if test ${D}{verbose} = 1; then
38996 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38998 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39000 if test ${D}{status} != 0; then
39005 # Link the shared library from the single module created
39007 if test ${D}{verbose} = 1; then
39008 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39010 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39012 if test ${D}{status} != 0; then
39017 # Remove intermediate module
39019 rm -f master.${D}${D}.o
39024 chmod +x shared
-ld-sh
39026 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39027 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39028 SHARED_LD_CXX
="$SHARED_LD_CC"
39029 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39031 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39032 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39033 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39034 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39037 PIC_FLAG
="-dynamic -fPIC"
39041 if test "x$GCC" != "xyes"; then
39042 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39043 set dummy makeC
++SharedLib
; ac_word
=$2
39044 echo "$as_me:$LINENO: checking for $ac_word" >&5
39045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39046 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39047 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 if test -n "$AIX_CXX_LD"; then
39050 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39053 for as_dir
in $PATH
39056 test -z "$as_dir" && as_dir
=.
39057 for ac_exec_ext
in '' $ac_executable_extensions; do
39058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39059 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39066 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39069 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39070 if test -n "$AIX_CXX_LD"; then
39071 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39072 echo "${ECHO_T}$AIX_CXX_LD" >&6
39074 echo "$as_me:$LINENO: result: no" >&5
39075 echo "${ECHO_T}no" >&6
39078 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39079 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39084 SHARED_LD_CC
="${LD} -shared -o"
39085 SHARED_LD_CXX
="${LD} -shared -o"
39089 if test "x$GCC" != "xyes"; then
39094 *-*-cygwin* | *-*-mingw32* )
39098 *-pc-os2_emx | *-pc-os2-emx )
39099 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39100 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39104 cat <<EOF >dllar.sh
39107 # dllar - a tool to build both a .dll and an .a file
39108 # from a set of object (.o) files for EMX/OS2.
39110 # Written by Andrew Zabolotny, bit@freya.etu.ru
39111 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39113 # This script will accept a set of files on the command line.
39114 # All the public symbols from the .o files will be exported into
39115 # a .DEF file, then linker will be run (through gcc) against them to
39116 # build a shared library consisting of all given .o files. All libraries
39117 # (.a) will be first decompressed into component .o files then act as
39118 # described above. You can optionally give a description (-d "description")
39119 # which will be put into .DLL. To see the list of accepted options (as well
39120 # as command-line format) simply run this program without options. The .DLL
39121 # is built to be imported by name (there is no guarantee that new versions
39122 # of the library you build will have same ordinals for same symbols).
39124 # dllar is free software; you can redistribute it and/or modify
39125 # it under the terms of the GNU General Public License as published by
39126 # the Free Software Foundation; either version 2, or (at your option)
39127 # any later version.
39129 # dllar is distributed in the hope that it will be useful,
39130 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39131 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39132 # GNU General Public License for more details.
39134 # You should have received a copy of the GNU General Public License
39135 # along with dllar; see the file COPYING. If not, write to the Free
39136 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39139 # To successfuly run this program you will need:
39140 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39141 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39143 # (used to build the .dll)
39145 # (used to create .def file from .o files)
39147 # (used to create .a file from .def file)
39148 # - GNU text utilites (cat, sort, uniq)
39149 # used to process emxexp output
39150 # - GNU file utilities (mv, rm)
39152 # - lxlite (optional, see flag below)
39153 # (used for general .dll cleanup)
39160 # basnam, variant of basename, which does _not_ remove the path, _iff_
39161 # second argument (suffix to remove) is given
39165 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39168 echo ${D}1 | sed 's/'${D}2'${D}//'
39171 echo "error in basnam ${D}*"
39177 # Cleanup temporary files and output
39180 for i in ${D}inputFiles ; do
39183 rm -rf \`basnam ${D}i !\`
39190 # Kill result in case of failure as there is just to many stupid make/nmake
39191 # things out there which doesn't do this.
39192 if [] ${D}# -eq 0 []; then
39193 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39197 # Print usage and exit script with rc=1.
39199 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39200 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39201 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39202 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39203 echo ' []*.o[] []*.a[]'
39204 echo '*> "output_file" should have no extension.'
39205 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39206 echo ' The import library name is derived from this and is set to "name".a,'
39207 echo ' unless overridden by -import'
39208 echo '*> "importlib_name" should have no extension.'
39209 echo ' If it has the .o, or .a extension, it is automatically removed.'
39210 echo ' This name is used as the import library name and may be longer and'
39211 echo ' more descriptive than the DLL name which has to follow the old '
39212 echo ' 8.3 convention of FAT.'
39213 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39214 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39215 echo ' These flags will be put at the start of GCC command line.'
39216 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39217 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39218 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39219 echo ' If the last character of a symbol is "*", all symbols beginning'
39220 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39221 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39222 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39223 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39224 echo ' C runtime DLLs.'
39225 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39226 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39227 echo ' unchanged to GCC at the end of command line.'
39228 echo '*> If you create a DLL from a library and you do not specify -o,'
39229 echo ' the basename for DLL and import library will be set to library name,'
39230 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39231 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39232 echo ' library will be renamed into gcc_s.a.'
39235 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39236 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39241 # Execute a command.
39242 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39243 # @Uses Whatever CleanUp() uses.
39249 if [] ${D}rcCmd -ne 0 []; then
39250 echo "command failed, exit code="${D}rcCmd
39264 CFLAGS="-s -Zcrtdll"
39266 EXPORT_BY_ORDINALS=0
39271 case ${D}curDirS in
39275 curDirS=${D}{curDirS}"/"
39278 # Parse commandline
39280 while [] ${D}1 []; do
39283 EXPORT_BY_ORDINALS=1;
39310 exclude_symbols=${D}{exclude_symbols}${D}1" "
39314 library_flags=${D}{library_flags}${D}1" "
39330 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39334 if [] ${D}libsToLink -ne 0 []; then
39335 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39337 for file in ${D}1 ; do
39338 if [] -f ${D}file []; then
39339 inputFiles="${D}{inputFiles} ${D}file"
39343 if [] ${D}found -eq 0 []; then
39344 echo "ERROR: No file(s) found: "${D}1
39351 done # iterate cmdline words
39354 if [] -z "${D}inputFiles" []; then
39355 echo "dllar: no input files"
39359 # Now extract all .o files from .a files
39361 for file in ${D}inputFiles ; do
39372 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39377 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39379 if [] ${D}? -ne 0 []; then
39380 echo "Failed to create subdirectory ./${D}dirname"
39384 # Append '!' to indicate archive
39385 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39386 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39389 for subfile in ${D}dirname/*.o* ; do
39390 if [] -f ${D}subfile []; then
39392 if [] -s ${D}subfile []; then
39393 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39394 newInputFiles="${D}newInputFiles ${D}subfile"
39398 if [] ${D}found -eq 0 []; then
39399 echo "WARNING: there are no files in archive \'${D}file\'"
39403 newInputFiles="${D}{newInputFiles} ${D}file"
39407 inputFiles="${D}newInputFiles"
39409 # Output filename(s).
39411 if [] -z ${D}outFile []; then
39413 set outFile ${D}inputFiles; outFile=${D}2
39416 # If it is an archive, remove the '!' and the '_%' suffixes
39417 case ${D}outFile in
39419 outFile=\`basnam ${D}outFile _%!\`
39424 case ${D}outFile in
39426 outFile=\`basnam ${D}outFile .dll\`
39429 outFile=\`basnam ${D}outFile .DLL\`
39432 outFile=\`basnam ${D}outFile .o\`
39435 outFile=\`basnam ${D}outFile .obj\`
39438 outFile=\`basnam ${D}outFile .a\`
39441 outFile=\`basnam ${D}outFile .lib\`
39446 case ${D}outimpFile in
39448 outimpFile=\`basnam ${D}outimpFile .a\`
39451 outimpFile=\`basnam ${D}outimpFile .lib\`
39456 if [] -z ${D}outimpFile []; then
39457 outimpFile=${D}outFile
39459 defFile="${D}{outFile}.def"
39460 arcFile="${D}{outimpFile}.a"
39461 arcFile2="${D}{outimpFile}.lib"
39462 dllFile="${D}outFile"
39463 # Add suffix to dllFile later, first we need a version to use as
39464 # name in .def file.
39466 if [] ${D}do_backup -ne 0 [] ; then
39467 if [] -f ${D}arcFile [] ; then
39468 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39470 if [] -f ${D}arcFile2 [] ; then
39471 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39475 # Extract public symbols from all the object files.
39476 tmpdefFile=${D}{defFile}_%
39477 rm -f ${D}tmpdefFile
39478 for file in ${D}inputFiles ; do
39483 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39488 # Create the def file.
39490 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39491 dllFile="${D}dllFile.dll"
39492 if [] -n ${D}description []; then
39493 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39495 echo "EXPORTS" >> ${D}defFile
39497 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39498 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39500 # Checks if the export is ok or not.
39501 for word in ${D}exclude_symbols; do
39502 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39503 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39507 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39508 sed "=" < ${D}tmpdefFile | \
39512 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39514 ' > ${D}{tmpdefFile}%
39515 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39517 rm -f ${D}{tmpdefFile}%
39519 cat ${D}tmpdefFile >> ${D}defFile
39520 rm -f ${D}tmpdefFile
39522 # Do linking, create implib, and apply lxlite.
39524 for file in ${D}inputFiles ; do
39529 gccCmdl="${D}gccCmdl ${D}file"
39533 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39534 touch "${D}{outFile}.dll"
39536 doCommand "emximp -o ${D}arcFile ${D}defFile"
39537 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39539 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39542 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39544 doCommand "emxomf -s -l ${D}arcFile"
39554 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39562 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39563 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39564 { (exit 1); exit 1; }; }
39567 if test "x$PIC_FLAG" != "x" ; then
39568 PIC_FLAG
="$PIC_FLAG -DPIC"
39571 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39572 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39574 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39575 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39592 case "${BAKEFILE_HOST}" in
39594 SONAME_FLAG
="-Wl,-soname,"
39622 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39623 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39626 if test "x$GCC" = "xyes"; then
39629 case "${BAKEFILE_HOST}" in
39630 powerpc
-*-darwin* )
39631 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39634 DEPSFLAG_GCC
="-MMD"
39637 echo "$as_me:$LINENO: result: gcc" >&5
39638 echo "${ECHO_T}gcc" >&6
39640 echo "$as_me:$LINENO: result: none" >&5
39641 echo "${ECHO_T}none" >&6
39644 if test $DEPS_TRACKING = 1 ; then
39650 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39651 # script. It is used to track C/C++ files dependencies in portable way.
39653 # Permission is given to use this file in any way.
39655 DEPSMODE=${DEPSMODE}
39657 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39659 mkdir -p ${D}DEPSDIR
39661 if test ${D}DEPSMODE = gcc ; then
39662 ${D}* ${D}{DEPSFLAG_GCC}
39664 if test ${D}{status} != 0 ; then
39667 # move created file to the location we want it in:
39668 while test ${D}# -gt 0; do
39682 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39683 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39684 if test -f ${D}depfile ; then
39685 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39688 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39689 if test -f ${D}depfile ; then
39690 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39710 case ${BAKEFILE_HOST} in
39711 *-*-cygwin* | *-*-mingw32* )
39712 if test "$build" != "$host" ; then
39713 RESCOMP
=$host_alias-windres
39715 # Extract the first word of "windres", so it can be a program name with args.
39716 set dummy windres
; ac_word
=$2
39717 echo "$as_me:$LINENO: checking for $ac_word" >&5
39718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39719 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39720 echo $ECHO_N "(cached) $ECHO_C" >&6
39722 if test -n "$RESCOMP"; then
39723 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39726 for as_dir
in $PATH
39729 test -z "$as_dir" && as_dir
=.
39730 for ac_exec_ext
in '' $ac_executable_extensions; do
39731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39732 ac_cv_prog_RESCOMP
="windres"
39733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39739 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39742 RESCOMP
=$ac_cv_prog_RESCOMP
39743 if test -n "$RESCOMP"; then
39744 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39745 echo "${ECHO_T}$RESCOMP" >&6
39747 echo "$as_me:$LINENO: result: no" >&5
39748 echo "${ECHO_T}no" >&6
39755 # Extract the first word of "Rez", so it can be a program name with args.
39756 set dummy Rez
; ac_word
=$2
39757 echo "$as_me:$LINENO: checking for $ac_word" >&5
39758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39759 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39760 echo $ECHO_N "(cached) $ECHO_C" >&6
39762 if test -n "$RESCOMP"; then
39763 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39766 for as_dir
in $PATH
39769 test -z "$as_dir" && as_dir
=.
39770 for ac_exec_ext
in '' $ac_executable_extensions; do
39771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39772 ac_cv_prog_RESCOMP
="Rez"
39773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39779 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39782 RESCOMP
=$ac_cv_prog_RESCOMP
39783 if test -n "$RESCOMP"; then
39784 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39785 echo "${ECHO_T}$RESCOMP" >&6
39787 echo "$as_me:$LINENO: result: no" >&5
39788 echo "${ECHO_T}no" >&6
39791 # Extract the first word of "SetFile", so it can be a program name with args.
39792 set dummy SetFile
; ac_word
=$2
39793 echo "$as_me:$LINENO: checking for $ac_word" >&5
39794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39795 if test "${ac_cv_prog_SETFILE+set}" = set; then
39796 echo $ECHO_N "(cached) $ECHO_C" >&6
39798 if test -n "$SETFILE"; then
39799 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39802 for as_dir
in $PATH
39805 test -z "$as_dir" && as_dir
=.
39806 for ac_exec_ext
in '' $ac_executable_extensions; do
39807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39808 ac_cv_prog_SETFILE
="SetFile"
39809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39815 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39818 SETFILE
=$ac_cv_prog_SETFILE
39819 if test -n "$SETFILE"; then
39820 echo "$as_me:$LINENO: result: $SETFILE" >&5
39821 echo "${ECHO_T}$SETFILE" >&6
39823 echo "$as_me:$LINENO: result: no" >&5
39824 echo "${ECHO_T}no" >&6
39834 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39840 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39844 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39845 if test "${enable_precomp_headers+set}" = set; then
39846 enableval
="$enable_precomp_headers"
39847 bk_use_pch
="$enableval"
39852 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39853 if test "x$GCC" = "xyes"; then
39854 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39855 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39856 cat >conftest.
$ac_ext <<_ACEOF
39859 cat confdefs.h
>>conftest.
$ac_ext
39860 cat >>conftest.
$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39867 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39868 #error "no pch support"
39871 #error "no pch support"
39873 #if (__GNUC__ == 3) && \
39874 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39875 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39876 #error "no pch support"
39883 rm -f conftest.
$ac_objext
39884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39885 (eval $ac_compile) 2>conftest.er1
39887 grep -v '^ *+' conftest.er1
>conftest.err
39889 cat conftest.err
>&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } &&
39892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; } &&
39898 { ac_try
='test -s conftest.$ac_objext'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; }; then
39905 echo "$as_me:$LINENO: result: yes" >&5
39906 echo "${ECHO_T}yes" >&6
39910 echo "$as_me: failed program was:" >&5
39911 sed 's/^/| /' conftest.
$ac_ext >&5
39914 echo "$as_me:$LINENO: result: no" >&5
39915 echo "${ECHO_T}no" >&6
39918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39919 if test $GCC_PCH = 1 ; then
39920 cat <<EOF >bk-make-pch
39923 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39924 # script. It is used to generated precompiled headers.
39926 # Permission is given to use this file in any way.
39935 while test \${#} -gt 0; do
39938 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39939 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39940 headerfile="\${incdir}/\${header}"
39944 compiler="\${compiler} \${1}"
39948 if test "x\${headerfile}" = "x" ; then
39949 echo "error: can't find header \${header} in include paths" >2
39951 if test -f \${outfile} ; then
39954 mkdir -p \`dirname \${outfile}\`
39956 depsfile=".deps/\`basename \${outfile}\`.d"
39958 # can do this because gcc is >= 3.4:
39959 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39963 chmod +x bk
-make-pch
39974 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39975 if test "${enable_precomp_headers+set}" = set; then
39976 enableval
="$enable_precomp_headers"
39977 bk_use_pch
="$enableval"
39982 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39983 if test "x$GCC" = "xyes"; then
39984 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39985 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39986 cat >conftest.
$ac_ext <<_ACEOF
39989 cat confdefs.h
>>conftest.
$ac_ext
39990 cat >>conftest.
$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39997 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39998 #error "no pch support"
40001 #error "no pch support"
40003 #if (__GNUC__ == 3) && \
40004 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40005 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40006 #error "no pch support"
40013 rm -f conftest.
$ac_objext
40014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40015 (eval $ac_compile) 2>conftest.er1
40017 grep -v '^ *+' conftest.er1
>conftest.err
40019 cat conftest.err
>&5
40020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021 (exit $ac_status); } &&
40022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40024 (eval $ac_try) 2>&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; } &&
40028 { ac_try
='test -s conftest.$ac_objext'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; }; then
40035 echo "$as_me:$LINENO: result: yes" >&5
40036 echo "${ECHO_T}yes" >&6
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.
$ac_ext >&5
40044 echo "$as_me:$LINENO: result: no" >&5
40045 echo "${ECHO_T}no" >&6
40048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40049 if test $GCC_PCH = 1 ; then
40050 cat <<EOF >bk-make-pch
40053 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40054 # script. It is used to generated precompiled headers.
40056 # Permission is given to use this file in any way.
40065 while test \${#} -gt 0; do
40068 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40069 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40070 headerfile="\${incdir}/\${header}"
40074 compiler="\${compiler} \${1}"
40078 if test "x\${headerfile}" = "x" ; then
40079 echo "error: can't find header \${header} in include paths" >2
40081 if test -f \${outfile} ; then
40084 mkdir -p \`dirname \${outfile}\`
40086 depsfile=".deps/\`basename \${outfile}\`.d"
40088 # can do this because gcc is >= 3.4:
40089 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40093 chmod +x bk
-make-pch
40100 COND_BUILD_DEBUG
="#"
40101 if test "x$BUILD" = "xdebug" ; then
40102 COND_BUILD_DEBUG
=""
40105 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40106 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40107 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40110 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40111 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40112 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40115 COND_BUILD_DEBUG_UNICODE_0
="#"
40116 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40117 COND_BUILD_DEBUG_UNICODE_0
=""
40120 COND_BUILD_DEBUG_UNICODE_1
="#"
40121 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40122 COND_BUILD_DEBUG_UNICODE_1
=""
40125 COND_BUILD_RELEASE
="#"
40126 if test "x$BUILD" = "xrelease" ; then
40127 COND_BUILD_RELEASE
=""
40130 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40131 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40132 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40135 COND_BUILD_RELEASE_UNICODE_0
="#"
40136 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40137 COND_BUILD_RELEASE_UNICODE_0
=""
40140 COND_BUILD_RELEASE_UNICODE_1
="#"
40141 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40142 COND_BUILD_RELEASE_UNICODE_1
=""
40145 COND_DEBUG_FLAG_1
="#"
40146 if test "x$DEBUG_FLAG" = "x1" ; then
40147 COND_DEBUG_FLAG_1
=""
40150 COND_DEBUG_INFO_0
="#"
40151 if test "x$DEBUG_INFO" = "x0" ; then
40152 COND_DEBUG_INFO_0
=""
40155 COND_DEBUG_INFO_1
="#"
40156 if test "x$DEBUG_INFO" = "x1" ; then
40157 COND_DEBUG_INFO_1
=""
40160 COND_DEPS_TRACKING_0
="#"
40161 if test "x$DEPS_TRACKING" = "x0" ; then
40162 COND_DEPS_TRACKING_0
=""
40165 COND_DEPS_TRACKING_1
="#"
40166 if test "x$DEPS_TRACKING" = "x1" ; then
40167 COND_DEPS_TRACKING_1
=""
40171 if test "x$GCC_PCH" = "x1" ; then
40175 COND_MONOLITHIC_0
="#"
40176 if test "x$MONOLITHIC" = "x0" ; then
40177 COND_MONOLITHIC_0
=""
40180 COND_MONOLITHIC_0_SHARED_0
="#"
40181 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40182 COND_MONOLITHIC_0_SHARED_0
=""
40185 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40186 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40187 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40190 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40191 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40192 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40195 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40196 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40197 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40200 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40202 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40205 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40207 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40210 COND_MONOLITHIC_0_SHARED_1
="#"
40211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40212 COND_MONOLITHIC_0_SHARED_1
=""
40215 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40217 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40220 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40222 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40225 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40227 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40230 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40232 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40235 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40237 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40240 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40241 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40242 COND_MONOLITHIC_0_USE_ODBC_1
=""
40245 COND_MONOLITHIC_1
="#"
40246 if test "x$MONOLITHIC" = "x1" ; then
40247 COND_MONOLITHIC_1
=""
40250 COND_MONOLITHIC_1_SHARED_0
="#"
40251 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40252 COND_MONOLITHIC_1_SHARED_0
=""
40255 COND_MONOLITHIC_1_SHARED_1
="#"
40256 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40257 COND_MONOLITHIC_1_SHARED_1
=""
40260 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40261 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40262 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40265 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40266 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40267 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40270 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40271 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40272 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40275 COND_PLATFORM_MACOSX_1
="#"
40276 if test "x$PLATFORM_MACOSX" = "x1" ; then
40277 COND_PLATFORM_MACOSX_1
=""
40280 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40281 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40282 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40285 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40286 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40287 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40290 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40291 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40292 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40295 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40296 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40297 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40300 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40301 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40302 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40305 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40306 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40307 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40310 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40311 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40312 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40315 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40316 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40317 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40320 COND_PLATFORM_MACOS_1
="#"
40321 if test "x$PLATFORM_MACOS" = "x1" ; then
40322 COND_PLATFORM_MACOS_1
=""
40325 COND_PLATFORM_MAC_1
="#"
40326 if test "x$PLATFORM_MAC" = "x1" ; then
40327 COND_PLATFORM_MAC_1
=""
40330 COND_PLATFORM_OS2_1
="#"
40331 if test "x$PLATFORM_OS2" = "x1" ; then
40332 COND_PLATFORM_OS2_1
=""
40335 COND_PLATFORM_UNIX_0
="#"
40336 if test "x$PLATFORM_UNIX" = "x0" ; then
40337 COND_PLATFORM_UNIX_0
=""
40340 COND_PLATFORM_UNIX_1
="#"
40341 if test "x$PLATFORM_UNIX" = "x1" ; then
40342 COND_PLATFORM_UNIX_1
=""
40345 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40346 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40347 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40350 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40351 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40352 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40355 COND_PLATFORM_WIN32_0
="#"
40356 if test "x$PLATFORM_WIN32" = "x0" ; then
40357 COND_PLATFORM_WIN32_0
=""
40360 COND_PLATFORM_WIN32_1
="#"
40361 if test "x$PLATFORM_WIN32" = "x1" ; then
40362 COND_PLATFORM_WIN32_1
=""
40366 if test "x$SHARED" = "x0" ; then
40370 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40371 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40372 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40375 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40376 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40377 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40380 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40381 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40382 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40385 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40386 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40387 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40390 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40391 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40392 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40395 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40396 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40397 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40400 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40401 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40402 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40405 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40406 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40407 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40410 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40411 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40412 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40415 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40416 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40417 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40420 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40421 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40422 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40426 if test "x$SHARED" = "x1" ; then
40430 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40431 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40432 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40436 if test "x$TOOLKIT" = "x" ; then
40440 COND_TOOLKIT_COCOA
="#"
40441 if test "x$TOOLKIT" = "xCOCOA" ; then
40442 COND_TOOLKIT_COCOA
=""
40445 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40446 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40447 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40450 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40451 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40452 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40455 COND_TOOLKIT_GTK
="#"
40456 if test "x$TOOLKIT" = "xGTK" ; then
40457 COND_TOOLKIT_GTK
=""
40460 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40461 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40462 COND_TOOLKIT_GTK_USE_GUI_1
=""
40465 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40466 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40467 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40470 COND_TOOLKIT_MAC
="#"
40471 if test "x$TOOLKIT" = "xMAC" ; then
40472 COND_TOOLKIT_MAC
=""
40475 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40476 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40477 COND_TOOLKIT_MAC_USE_GUI_1
=""
40480 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40481 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40482 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40485 COND_TOOLKIT_MGL
="#"
40486 if test "x$TOOLKIT" = "xMGL" ; then
40487 COND_TOOLKIT_MGL
=""
40490 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40491 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40492 COND_TOOLKIT_MGL_USE_GUI_1
=""
40495 COND_TOOLKIT_MOTIF
="#"
40496 if test "x$TOOLKIT" = "xMOTIF" ; then
40497 COND_TOOLKIT_MOTIF
=""
40500 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40501 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40502 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40505 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40506 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40507 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40510 COND_TOOLKIT_MSW
="#"
40511 if test "x$TOOLKIT" = "xMSW" ; then
40512 COND_TOOLKIT_MSW
=""
40515 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40516 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40517 COND_TOOLKIT_MSW_USE_GUI_1
=""
40520 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40521 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40522 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40525 COND_TOOLKIT_PM
="#"
40526 if test "x$TOOLKIT" = "xPM" ; then
40530 COND_TOOLKIT_PM_USE_GUI_1
="#"
40531 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40532 COND_TOOLKIT_PM_USE_GUI_1
=""
40535 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40536 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40537 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40540 COND_TOOLKIT_WINCE
="#"
40541 if test "x$TOOLKIT" = "xWINCE" ; then
40542 COND_TOOLKIT_WINCE
=""
40545 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40546 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40547 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40550 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40551 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40552 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40555 COND_TOOLKIT_X11
="#"
40556 if test "x$TOOLKIT" = "xX11" ; then
40557 COND_TOOLKIT_X11
=""
40560 COND_TOOLKIT_X11_USE_GUI_1
="#"
40561 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40562 COND_TOOLKIT_X11_USE_GUI_1
=""
40566 if test "x$UNICODE" = "x1" ; then
40570 COND_USE_EXCEPTIONS_0
="#"
40571 if test "x$USE_EXCEPTIONS" = "x0" ; then
40572 COND_USE_EXCEPTIONS_0
=""
40575 COND_USE_EXCEPTIONS_1
="#"
40576 if test "x$USE_EXCEPTIONS" = "x1" ; then
40577 COND_USE_EXCEPTIONS_1
=""
40581 if test "x$USE_GUI" = "x0" ; then
40586 if test "x$USE_GUI" = "x1" ; then
40590 COND_USE_GUI_1_WXUNIV_0
="#"
40591 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40592 COND_USE_GUI_1_WXUNIV_0
=""
40595 COND_USE_GUI_1_WXUNIV_1
="#"
40596 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40597 COND_USE_GUI_1_WXUNIV_1
=""
40600 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40601 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40602 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40605 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40606 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40607 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40610 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40611 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40612 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40615 COND_USE_ODBC_1
="#"
40616 if test "x$USE_ODBC" = "x1" ; then
40620 COND_USE_OPENGL_1
="#"
40621 if test "x$USE_OPENGL" = "x1" ; then
40622 COND_USE_OPENGL_1
=""
40625 COND_USE_PLUGINS_0
="#"
40626 if test "x$USE_PLUGINS" = "x0" ; then
40627 COND_USE_PLUGINS_0
=""
40630 COND_USE_SOSYMLINKS_1
="#"
40631 if test "x$USE_SOSYMLINKS" = "x1" ; then
40632 COND_USE_SOSYMLINKS_1
=""
40635 COND_USE_SOVERLINUX_1
="#"
40636 if test "x$USE_SOVERLINUX" = "x1" ; then
40637 COND_USE_SOVERLINUX_1
=""
40640 COND_USE_SOVERSION_0
="#"
40641 if test "x$USE_SOVERSION" = "x0" ; then
40642 COND_USE_SOVERSION_0
=""
40645 COND_USE_SOVERSOLARIS_1
="#"
40646 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40647 COND_USE_SOVERSOLARIS_1
=""
40651 if test "x$USE_XRC" = "x1" ; then
40655 COND_WITH_PLUGIN_SDL_1
="#"
40656 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40657 COND_WITH_PLUGIN_SDL_1
=""
40661 if test "x$WXUNIV" = "x1" ; then
40665 COND_WXUSE_EXPAT_BUILTIN
="#"
40666 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40667 COND_WXUSE_EXPAT_BUILTIN
=""
40670 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40671 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40672 COND_WXUSE_LIBJPEG_BUILTIN
=""
40675 COND_WXUSE_LIBPNG_BUILTIN
="#"
40676 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40677 COND_WXUSE_LIBPNG_BUILTIN
=""
40680 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40681 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40682 COND_WXUSE_LIBTIFF_BUILTIN
=""
40685 COND_WXUSE_ODBC_BUILTIN
="#"
40686 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40687 COND_WXUSE_ODBC_BUILTIN
=""
40690 COND_WXUSE_REGEX_BUILTIN
="#"
40691 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40692 COND_WXUSE_REGEX_BUILTIN
=""
40695 COND_WXUSE_ZLIB_BUILTIN
="#"
40696 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40697 COND_WXUSE_ZLIB_BUILTIN
=""
40700 COND_BUILD_DEBUG
="#"
40701 if test "x$BUILD" = "xdebug" ; then
40702 COND_BUILD_DEBUG
=""
40705 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40706 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40707 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40710 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40711 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40712 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40715 COND_BUILD_DEBUG_UNICODE_0
="#"
40716 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40717 COND_BUILD_DEBUG_UNICODE_0
=""
40720 COND_BUILD_DEBUG_UNICODE_1
="#"
40721 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40722 COND_BUILD_DEBUG_UNICODE_1
=""
40725 COND_BUILD_RELEASE
="#"
40726 if test "x$BUILD" = "xrelease" ; then
40727 COND_BUILD_RELEASE
=""
40730 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40731 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40732 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40735 COND_BUILD_RELEASE_UNICODE_0
="#"
40736 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40737 COND_BUILD_RELEASE_UNICODE_0
=""
40740 COND_BUILD_RELEASE_UNICODE_1
="#"
40741 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40742 COND_BUILD_RELEASE_UNICODE_1
=""
40745 COND_DEBUG_FLAG_1
="#"
40746 if test "x$DEBUG_FLAG" = "x1" ; then
40747 COND_DEBUG_FLAG_1
=""
40750 COND_DEBUG_INFO_0
="#"
40751 if test "x$DEBUG_INFO" = "x0" ; then
40752 COND_DEBUG_INFO_0
=""
40755 COND_DEBUG_INFO_1
="#"
40756 if test "x$DEBUG_INFO" = "x1" ; then
40757 COND_DEBUG_INFO_1
=""
40760 COND_DEPS_TRACKING_0
="#"
40761 if test "x$DEPS_TRACKING" = "x0" ; then
40762 COND_DEPS_TRACKING_0
=""
40765 COND_DEPS_TRACKING_1
="#"
40766 if test "x$DEPS_TRACKING" = "x1" ; then
40767 COND_DEPS_TRACKING_1
=""
40771 if test "x$GCC_PCH" = "x1" ; then
40775 COND_MONOLITHIC_0
="#"
40776 if test "x$MONOLITHIC" = "x0" ; then
40777 COND_MONOLITHIC_0
=""
40780 COND_MONOLITHIC_0_SHARED_0
="#"
40781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40782 COND_MONOLITHIC_0_SHARED_0
=""
40785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40790 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40792 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40795 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40797 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40800 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40802 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40805 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40807 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40810 COND_MONOLITHIC_0_SHARED_1
="#"
40811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40812 COND_MONOLITHIC_0_SHARED_1
=""
40815 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40817 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40820 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40825 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40827 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40830 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40832 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40835 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40837 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40840 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40841 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40842 COND_MONOLITHIC_0_USE_ODBC_1
=""
40845 COND_MONOLITHIC_1
="#"
40846 if test "x$MONOLITHIC" = "x1" ; then
40847 COND_MONOLITHIC_1
=""
40850 COND_MONOLITHIC_1_SHARED_0
="#"
40851 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40852 COND_MONOLITHIC_1_SHARED_0
=""
40855 COND_MONOLITHIC_1_SHARED_1
="#"
40856 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40857 COND_MONOLITHIC_1_SHARED_1
=""
40860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40861 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40866 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40867 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40870 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40871 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40872 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40875 COND_PLATFORM_MACOSX_1
="#"
40876 if test "x$PLATFORM_MACOSX" = "x1" ; then
40877 COND_PLATFORM_MACOSX_1
=""
40880 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40882 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40885 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40887 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40890 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40892 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40895 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40897 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40900 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40902 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40905 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40907 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40910 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40915 COND_PLATFORM_MAC_1
="#"
40916 if test "x$PLATFORM_MAC" = "x1" ; then
40917 COND_PLATFORM_MAC_1
=""
40920 COND_PLATFORM_OS2_1
="#"
40921 if test "x$PLATFORM_OS2" = "x1" ; then
40922 COND_PLATFORM_OS2_1
=""
40925 COND_PLATFORM_UNIX_0
="#"
40926 if test "x$PLATFORM_UNIX" = "x0" ; then
40927 COND_PLATFORM_UNIX_0
=""
40930 COND_PLATFORM_UNIX_1
="#"
40931 if test "x$PLATFORM_UNIX" = "x1" ; then
40932 COND_PLATFORM_UNIX_1
=""
40935 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40936 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40937 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40940 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40941 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40942 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40945 COND_PLATFORM_WIN32_0
="#"
40946 if test "x$PLATFORM_WIN32" = "x0" ; then
40947 COND_PLATFORM_WIN32_0
=""
40950 COND_PLATFORM_WIN32_1
="#"
40951 if test "x$PLATFORM_WIN32" = "x1" ; then
40952 COND_PLATFORM_WIN32_1
=""
40956 if test "x$SHARED" = "x0" ; then
40960 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40962 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40966 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40970 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40971 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40972 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40975 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40976 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40977 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40980 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40981 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40982 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40985 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40986 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40987 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40990 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40991 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40992 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40995 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40996 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40997 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41001 if test "x$SHARED" = "x1" ; then
41005 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41006 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41007 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41010 COND_TOOLKIT_COCOA
="#"
41011 if test "x$TOOLKIT" = "xCOCOA" ; then
41012 COND_TOOLKIT_COCOA
=""
41015 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41016 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41017 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41020 COND_TOOLKIT_GTK
="#"
41021 if test "x$TOOLKIT" = "xGTK" ; then
41022 COND_TOOLKIT_GTK
=""
41025 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41026 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41027 COND_TOOLKIT_GTK_USE_GUI_1
=""
41030 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41031 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41032 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41035 COND_TOOLKIT_MAC
="#"
41036 if test "x$TOOLKIT" = "xMAC" ; then
41037 COND_TOOLKIT_MAC
=""
41040 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41041 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41042 COND_TOOLKIT_MAC_USE_GUI_1
=""
41045 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41046 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41047 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41050 COND_TOOLKIT_MAC_WXUNIV_0
="#"
41051 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41052 COND_TOOLKIT_MAC_WXUNIV_0
=""
41055 COND_TOOLKIT_MGL
="#"
41056 if test "x$TOOLKIT" = "xMGL" ; then
41057 COND_TOOLKIT_MGL
=""
41060 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41061 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41062 COND_TOOLKIT_MGL_USE_GUI_1
=""
41065 COND_TOOLKIT_MOTIF
="#"
41066 if test "x$TOOLKIT" = "xMOTIF" ; then
41067 COND_TOOLKIT_MOTIF
=""
41070 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41071 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41072 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41075 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41076 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41077 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41080 COND_TOOLKIT_MSW
="#"
41081 if test "x$TOOLKIT" = "xMSW" ; then
41082 COND_TOOLKIT_MSW
=""
41085 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41086 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41087 COND_TOOLKIT_MSW_USE_GUI_1
=""
41090 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41091 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41092 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41095 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41096 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41097 COND_TOOLKIT_MSW_WXUNIV_0
=""
41100 COND_TOOLKIT_PM
="#"
41101 if test "x$TOOLKIT" = "xPM" ; then
41105 COND_TOOLKIT_PM_USE_GUI_1
="#"
41106 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41107 COND_TOOLKIT_PM_USE_GUI_1
=""
41110 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41111 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41112 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41115 COND_TOOLKIT_PM_WXUNIV_0
="#"
41116 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41117 COND_TOOLKIT_PM_WXUNIV_0
=""
41120 COND_TOOLKIT_WINCE
="#"
41121 if test "x$TOOLKIT" = "xWINCE" ; then
41122 COND_TOOLKIT_WINCE
=""
41125 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41126 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41127 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41130 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41131 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41132 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41135 COND_TOOLKIT_X11
="#"
41136 if test "x$TOOLKIT" = "xX11" ; then
41137 COND_TOOLKIT_X11
=""
41140 COND_TOOLKIT_X11_USE_GUI_1
="#"
41141 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41142 COND_TOOLKIT_X11_USE_GUI_1
=""
41146 if test "x$UNICODE" = "x1" ; then
41150 COND_USE_EXCEPTIONS_0
="#"
41151 if test "x$USE_EXCEPTIONS" = "x0" ; then
41152 COND_USE_EXCEPTIONS_0
=""
41155 COND_USE_EXCEPTIONS_1
="#"
41156 if test "x$USE_EXCEPTIONS" = "x1" ; then
41157 COND_USE_EXCEPTIONS_1
=""
41161 if test "x$USE_GUI" = "x0" ; then
41166 if test "x$USE_GUI" = "x1" ; then
41170 COND_USE_GUI_1_WXUNIV_0
="#"
41171 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41172 COND_USE_GUI_1_WXUNIV_0
=""
41175 COND_USE_GUI_1_WXUNIV_1
="#"
41176 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41177 COND_USE_GUI_1_WXUNIV_1
=""
41180 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41181 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41182 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41185 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41186 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41187 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41190 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41191 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41192 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41195 COND_USE_ODBC_1
="#"
41196 if test "x$USE_ODBC" = "x1" ; then
41200 COND_USE_PLUGINS_0
="#"
41201 if test "x$USE_PLUGINS" = "x0" ; then
41202 COND_USE_PLUGINS_0
=""
41205 COND_USE_SOSYMLINKS_1
="#"
41206 if test "x$USE_SOSYMLINKS" = "x1" ; then
41207 COND_USE_SOSYMLINKS_1
=""
41210 COND_USE_SOVERLINUX_1
="#"
41211 if test "x$USE_SOVERLINUX" = "x1" ; then
41212 COND_USE_SOVERLINUX_1
=""
41215 COND_USE_SOVERSION_0
="#"
41216 if test "x$USE_SOVERSION" = "x0" ; then
41217 COND_USE_SOVERSION_0
=""
41220 COND_USE_SOVERSOLARIS_1
="#"
41221 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41222 COND_USE_SOVERSOLARIS_1
=""
41225 COND_WITH_PLUGIN_SDL_1
="#"
41226 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41227 COND_WITH_PLUGIN_SDL_1
=""
41231 if test "x$WXUNIV" = "x1" ; then
41235 COND_WXUSE_EXPAT_BUILTIN
="#"
41236 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41237 COND_WXUSE_EXPAT_BUILTIN
=""
41240 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41241 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41242 COND_WXUSE_LIBJPEG_BUILTIN
=""
41245 COND_WXUSE_LIBPNG_BUILTIN
="#"
41246 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41247 COND_WXUSE_LIBPNG_BUILTIN
=""
41250 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41251 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41252 COND_WXUSE_LIBTIFF_BUILTIN
=""
41255 COND_WXUSE_ODBC_BUILTIN
="#"
41256 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41257 COND_WXUSE_ODBC_BUILTIN
=""
41260 COND_WXUSE_REGEX_BUILTIN
="#"
41261 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41262 COND_WXUSE_REGEX_BUILTIN
=""
41265 COND_WXUSE_ZLIB_BUILTIN
="#"
41266 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41267 COND_WXUSE_ZLIB_BUILTIN
=""
41272 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41273 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
41274 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
41275 { (exit 1); exit 1; }; }
41279 if test "$wxUSE_SHARED" = "yes"; then
41281 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41282 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41286 EXE_LINKER
="$CXX -o"
41290 GCC_PRAGMA_FLAGS
=""
41291 if test $GCC_PCH = 1 ; then
41292 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41295 powerpc
-*-darwin* )
41296 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41299 if test "$wxUSE_STL" = "yes" -o \
41300 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41301 "$wxUSE_NO_RTTI" != "yes"; then
41302 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41303 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41304 cat >conftest.
$ac_ext <<_ACEOF
41307 cat confdefs.h
>>conftest.
$ac_ext
41308 cat >>conftest.
$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41314 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41315 #error "Not GCC 3.2 or greater"
41322 rm -f conftest.
$ac_objext
41323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41324 (eval $ac_compile) 2>conftest.er1
41326 grep -v '^ *+' conftest.er1
>conftest.err
41328 cat conftest.err
>&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } &&
41331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333 (eval $ac_try) 2>&5
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; } &&
41337 { ac_try
='test -s conftest.$ac_objext'
41338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41339 (eval $ac_try) 2>&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); }; }; then
41343 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41344 echo "$as_me:$LINENO: result: yes" >&5
41345 echo "${ECHO_T}yes" >&6
41347 echo "$as_me: failed program was:" >&5
41348 sed 's/^/| /' conftest.
$ac_ext >&5
41350 echo "$as_me:$LINENO: result: no" >&5
41351 echo "${ECHO_T}no" >&6
41353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41358 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41361 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41425 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41427 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41428 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41429 echo $ECHO_N "(cached) $ECHO_C" >&6
41431 cat >conftest.
make <<\_ACEOF
41433 @
echo 'ac_maketemp="$(MAKE)"'
41435 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41436 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41437 if test -n "$ac_maketemp"; then
41438 eval ac_cv_prog_make_
${ac_make}_set
=yes
41440 eval ac_cv_prog_make_
${ac_make}_set
=no
41442 rm -f conftest.
make
41444 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41445 echo "$as_me:$LINENO: result: yes" >&5
41446 echo "${ECHO_T}yes" >&6
41449 echo "$as_me:$LINENO: result: no" >&5
41450 echo "${ECHO_T}no" >&6
41451 SET_MAKE
="MAKE=${MAKE-make}"
41456 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41459 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41462 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41465 ac_config_files
="$ac_config_files version-script Makefile"
41468 ac_config_commands
="$ac_config_commands wx-config
41474 if test "$wxUSE_GUI" = "yes"; then
41475 SUBDIRS
="samples demos utils contrib"
41476 else SUBDIRS
="samples utils"
41481 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41482 if test "${with_cppunit_prefix+set}" = set; then
41483 withval
="$with_cppunit_prefix"
41484 cppunit_config_prefix
="$withval"
41486 cppunit_config_prefix
=""
41489 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41490 if test "${with_cppunit_exec_prefix+set}" = set; then
41491 withval
="$with_cppunit_exec_prefix"
41492 cppunit_config_exec_prefix
="$withval"
41494 cppunit_config_exec_prefix
=""
41497 if test x
$cppunit_config_exec_prefix != x
; then
41498 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41499 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41500 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41503 if test x
$cppunit_config_prefix != x
; then
41504 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41505 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41506 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41510 # Extract the first word of "cppunit-config", so it can be a program name with args.
41511 set dummy cppunit
-config; ac_word
=$2
41512 echo "$as_me:$LINENO: checking for $ac_word" >&5
41513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41514 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41515 echo $ECHO_N "(cached) $ECHO_C" >&6
41517 case $CPPUNIT_CONFIG in
41519 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41523 for as_dir
in $PATH
41526 test -z "$as_dir" && as_dir
=.
41527 for ac_exec_ext
in '' $ac_executable_extensions; do
41528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41529 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41536 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41540 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41542 if test -n "$CPPUNIT_CONFIG"; then
41543 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41544 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41546 echo "$as_me:$LINENO: result: no" >&5
41547 echo "${ECHO_T}no" >&6
41550 cppunit_version_min
=1.8.0
41552 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41553 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41555 if test "$CPPUNIT_CONFIG" = "no" ; then
41558 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41559 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41560 cppunit_version
=`$CPPUNIT_CONFIG --version`
41562 cppunit_major_version
=`echo $cppunit_version | \
41563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41564 cppunit_minor_version
=`echo $cppunit_version | \
41565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41566 cppunit_micro_version
=`echo $cppunit_version | \
41567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41569 cppunit_major_min
=`echo $cppunit_version_min | \
41570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41571 cppunit_minor_min
=`echo $cppunit_version_min | \
41572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41573 cppunit_micro_min
=`echo $cppunit_version_min | \
41574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41576 cppunit_version_proper
=`expr \
41577 $cppunit_major_version \> $cppunit_major_min \| \
41578 $cppunit_major_version \= $cppunit_major_min \& \
41579 $cppunit_minor_version \> $cppunit_minor_min \| \
41580 $cppunit_major_version \= $cppunit_major_min \& \
41581 $cppunit_minor_version \= $cppunit_minor_min \& \
41582 $cppunit_micro_version \>= $cppunit_micro_min `
41584 if test "$cppunit_version_proper" = "1" ; then
41585 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41586 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41588 echo "$as_me:$LINENO: result: no" >&5
41589 echo "${ECHO_T}no" >&6
41594 if test "x$no_cppunit" = x
; then
41595 SUBDIRS
="$SUBDIRS tests"
41606 for subdir
in `echo $SUBDIRS`; do
41607 if test -d ${srcdir}/${subdir} ; then
41608 if test "$wxUSE_GUI" = "yes"; then
41609 if test ${subdir} = "samples"; then
41610 makefiles
="samples/Makefile.in $makefiles"
41611 for sample
in `echo $SAMPLES_SUBDIRS`; do
41612 if test -d $srcdir/samples
/$sample; then
41613 makefiles
="samples/$sample/Makefile.in $makefiles"
41616 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41618 else if test ${subdir} = "samples"; then
41619 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41620 elif test ${subdir} = "utils"; then
41622 for util
in HelpGen tex2rtf
; do
41623 if test -d $srcdir/utils
/$util ; then
41624 makefiles
="utils/$util/Makefile.in \
41625 utils/$util/src/Makefile.in \
41629 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41633 for mkin
in $makefiles ; do
41634 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41635 ac_config_files
="$ac_config_files $mk"
41642 cat >confcache
<<\_ACEOF
41643 # This file is a shell script that caches the results of configure
41644 # tests run on this system so they can be shared between configure
41645 # scripts and configure runs, see configure's option --config-cache.
41646 # It is not useful on other systems. If it contains results you don't
41647 # want to keep, you may remove or edit it.
41649 # config.status only pays attention to the cache file if you give it
41650 # the --recheck option to rerun configure.
41652 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41653 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41654 # following values.
41658 # The following way of writing the cache mishandles newlines in values,
41659 # but we know of no workaround that is simple, portable, and efficient.
41660 # So, don't put newlines in cache variables' values.
41661 # Ultrix sh set writes to stderr and can't be redirected directly,
41662 # and sets the high bit in the cache file unless we assign to the vars.
41665 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41667 # `set' does not quote correctly, so add quotes (double-quote
41668 # substitution turns \\\\ into \\, and sed turns \\ into \).
41671 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41674 # `set' quotes correctly as required by POSIX, so do not add quotes.
41676 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41683 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41685 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41687 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41688 if test -w $cache_file; then
41689 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41690 cat confcache
>$cache_file
41692 echo "not updating unwritable cache $cache_file"
41697 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41698 # Let make expand exec_prefix.
41699 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41701 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41702 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41703 # trailing colons and then remove the whole line if VPATH becomes empty
41704 # (actually we leave an empty line to preserve line numbers).
41705 if test "x$srcdir" = x.
; then
41706 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41707 s/:*\$(srcdir):*/:/;
41708 s/:*\${srcdir}:*/:/;
41710 s/^\([^=]*=[ ]*\):*/\1/;
41716 DEFS
=-DHAVE_CONFIG_H
41720 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41721 # 1. Remove the extension, and $U if already installed.
41722 ac_i
=`echo "$ac_i" |
41723 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41725 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41726 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41728 LIBOBJS
=$ac_libobjs
41730 LTLIBOBJS
=$ac_ltlibobjs
41734 : ${CONFIG_STATUS=./config.status}
41735 ac_clean_files_save
=$ac_clean_files
41736 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41737 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41738 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41739 cat >$CONFIG_STATUS <<_ACEOF
41741 # Generated by $as_me.
41742 # Run this file to recreate the current configuration.
41743 # Compiler output produced by configure, useful for debugging
41744 # configure, is in config.log if it exists.
41747 ac_cs_recheck=false
41749 SHELL=\${CONFIG_SHELL-$SHELL}
41752 cat >>$CONFIG_STATUS <<\_ACEOF
41753 ## --------------------- ##
41754 ## M4sh Initialization. ##
41755 ## --------------------- ##
41757 # Be Bourne compatible
41758 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41761 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41762 # is contrary to our usage. Disable this feature.
41763 alias -g '${1+"$@"}'='"$@"'
41764 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41767 DUALCASE
=1; export DUALCASE
# for MKS sh
41769 # Support unset when possible.
41770 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41777 # Work around bugs in pre-3.0 UWIN ksh.
41778 $as_unset ENV MAIL MAILPATH
41785 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41786 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41787 LC_TELEPHONE LC_TIME
41789 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41790 eval $as_var=C
; export $as_var
41796 # Required to use basename.
41797 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41803 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41804 as_basename
=basename
41810 # Name of the executable.
41811 as_me
=`$as_basename "$0" ||
41812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41813 X"$0" : 'X\(//\)$' \| \
41814 X"$0" : 'X\(/\)$' \| \
41815 . : '\(.\)' 2>/dev/null ||
41817 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41818 /^X\/\(\/\/\)$/{ s//\1/; q; }
41819 /^X\/\(\/\).*/{ s//\1/; q; }
41823 # PATH needs CR, and LINENO needs CR and PATH.
41824 # Avoid depending upon Character Ranges.
41825 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41826 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41827 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41828 as_cr_digits
='0123456789'
41829 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41831 # The user is always right.
41832 if test "${PATH_SEPARATOR+set}" != set; then
41833 echo "#! /bin/sh" >conf$$.sh
41834 echo "exit 0" >>conf$$.sh
41836 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41845 as_lineno_1
=$LINENO
41846 as_lineno_2
=$LINENO
41847 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41848 test "x$as_lineno_1" != "x$as_lineno_2" &&
41849 test "x$as_lineno_3" = "x$as_lineno_2" || {
41850 # Find who we are. Look in the path if we contain no path at all
41853 *[\\/]* ) as_myself
=$0 ;;
41854 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41855 for as_dir
in $PATH
41858 test -z "$as_dir" && as_dir
=.
41859 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41864 # We did not find ourselves, most probably we were run as `sh COMMAND'
41865 # in which case we are not to be found in the path.
41866 if test "x$as_myself" = x
; then
41869 if test ! -f "$as_myself"; then
41870 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41871 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41872 { (exit 1); exit 1; }; }
41874 case $CONFIG_SHELL in
41876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41877 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41880 test -z "$as_dir" && as_dir
=.
41881 for as_base
in sh bash ksh sh5
; do
41884 if ("$as_dir/$as_base" -c '
41885 as_lineno_1=$LINENO
41886 as_lineno_2=$LINENO
41887 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41888 test "x$as_lineno_1" != "x$as_lineno_2" &&
41889 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41890 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41891 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41892 CONFIG_SHELL
=$as_dir/$as_base
41893 export CONFIG_SHELL
41894 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41902 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41903 # uniformly replaced by the line number. The first 'sed' inserts a
41904 # line-number line before each line; the second 'sed' does the real
41905 # work. The second script uses 'N' to pair each line-number line
41906 # with the numbered line, and appends trailing '-' during
41907 # substitution so that $LINENO is not a special case at line end.
41908 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41909 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41910 sed '=' <$as_myself |
41915 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41918 s,^['$as_cr_digits']*\n,,
41919 ' >$as_me.lineno
&&
41920 chmod +x
$as_me.lineno
||
41921 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41922 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41923 { (exit 1); exit 1; }; }
41925 # Don't try to exec as it changes $[0], causing all sort of problems
41926 # (the dirname of $[0] is not the place where we might find the
41927 # original and so on. Autoconf is especially sensible to this).
41929 # Exit status is that of the last command.
41934 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41935 *c
*,-n*) ECHO_N
= ECHO_C
='
41937 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41938 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41941 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41947 rm -f conf$$ conf$$.exe conf$$.
file
41949 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41950 # We could just check for DJGPP; but this test a) works b) is more generic
41951 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41952 if test -f conf$$.exe
; then
41953 # Don't use ln at all; we don't have any links
41958 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41963 rm -f conf$$ conf$$.exe conf$$.
file
41965 if mkdir -p .
2>/dev
/null
; then
41968 test -d .
/-p && rmdir .
/-p
41972 as_executable_p
="test -f"
41974 # Sed expression to map a string onto a valid CPP name.
41975 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41977 # Sed expression to map a string onto a valid variable name.
41978 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41982 # We need space, tab and new line, in precisely that order.
41992 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41993 # report actual input values of CONFIG_FILES etc. instead of their
41994 # values after options handling. Logging --version etc. is OK.
41998 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41999 ## Running $as_me. ##
42004 This file was extended by wxWidgets $as_me 2.5.3, which was
42005 generated by GNU Autoconf 2.59. Invocation command line was
42007 CONFIG_FILES = $CONFIG_FILES
42008 CONFIG_HEADERS = $CONFIG_HEADERS
42009 CONFIG_LINKS = $CONFIG_LINKS
42010 CONFIG_COMMANDS = $CONFIG_COMMANDS
42014 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42018 # Files that config.status was made for.
42019 if test -n "$ac_config_files"; then
42020 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42023 if test -n "$ac_config_headers"; then
42024 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42027 if test -n "$ac_config_links"; then
42028 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42031 if test -n "$ac_config_commands"; then
42032 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42035 cat >>$CONFIG_STATUS <<\_ACEOF
42038 \`$as_me' instantiates files from templates according to the
42039 current configuration.
42041 Usage: $0 [OPTIONS] [FILE]...
42043 -h, --help print this help, then exit
42044 -V, --version print version number, then exit
42045 -q, --quiet do not print progress messages
42046 -d, --debug don't remove temporary files
42047 --recheck update $as_me by reconfiguring in the same conditions
42048 --file=FILE[:TEMPLATE]
42049 instantiate the configuration file FILE
42050 --header=FILE[:TEMPLATE]
42051 instantiate the configuration header FILE
42053 Configuration files:
42056 Configuration headers:
42059 Configuration commands:
42062 Report bugs to <bug-autoconf@gnu.org>."
42065 cat >>$CONFIG_STATUS <<_ACEOF
42067 wxWidgets config.status 2.5.3
42068 configured by $0, generated by GNU Autoconf 2.59,
42069 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42071 Copyright (C) 2003 Free Software Foundation, Inc.
42072 This config.status script is free software; the Free Software Foundation
42073 gives unlimited permission to copy, distribute and modify it."
42078 cat >>$CONFIG_STATUS <<\_ACEOF
42079 # If no file are specified by the user, then we need to provide default
42080 # value. By we need to know if files were specified by the user.
42086 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42087 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42095 *) # This is not an option, so the user has probably given explicit
42098 ac_need_defaults
=false
;;
42102 # Handling of the options.
42104 cat >>$CONFIG_STATUS <<\_ACEOF
42105 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42107 --version | --vers* | -V )
42108 echo "$ac_cs_version"; exit 0 ;;
42110 # Conflict between --help and --header
42111 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42112 Try \`$0 --help' for more information." >&5
42113 echo "$as_me: error: ambiguous option: $1
42114 Try \`$0 --help' for more information." >&2;}
42115 { (exit 1); exit 1; }; };;
42116 --help | --hel | -h )
42117 echo "$ac_cs_usage"; exit 0 ;;
42118 --debug | --d* | -d )
42120 --file | --fil | --fi | --f )
42122 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42123 ac_need_defaults
=false
;;
42124 --header | --heade | --head | --hea )
42126 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42127 ac_need_defaults
=false
;;
42128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42129 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42132 # This is an error.
42133 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42134 Try \`$0 --help' for more information." >&5
42135 echo "$as_me: error: unrecognized option: $1
42136 Try \`$0 --help' for more information." >&2;}
42137 { (exit 1); exit 1; }; } ;;
42139 *) ac_config_targets
="$ac_config_targets $1" ;;
42145 ac_configure_extra_args
=
42147 if $ac_cs_silent; then
42149 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42153 cat >>$CONFIG_STATUS <<_ACEOF
42154 if \$ac_cs_recheck; then
42155 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42156 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42161 cat >>$CONFIG_STATUS <<_ACEOF
42163 # INIT-COMMANDS section.
42166 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42167 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42168 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42176 cat >>$CONFIG_STATUS <<\_ACEOF
42177 for ac_config_target
in $ac_config_targets
42179 case "$ac_config_target" in
42180 # Handling of arguments.
42181 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42182 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42183 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42184 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42185 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42186 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42187 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42188 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42189 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42190 { (exit 1); exit 1; }; };;
42194 # If the user did not use the arguments to specify the items to instantiate,
42195 # then the envvar interface is used. Set only those that are not.
42196 # We use the long form for the default assignment because of an extremely
42197 # bizarre bug on SunOS 4.1.3.
42198 if $ac_need_defaults; then
42199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42200 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42201 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42204 # Have a temporary directory for convenience. Make it in the build tree
42205 # simply because there is no reason to put it here, and in addition,
42206 # creating and moving files from /tmp can sometimes cause problems.
42207 # Create a temporary directory, and hook for its removal unless debugging.
42210 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42211 trap '{ (exit 1); exit 1; }' 1 2 13 15
42214 # Create a (secure) tmp directory for tmp files.
42217 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42218 test -n "$tmp" && test -d "$tmp"
42221 tmp
=.
/confstat$$
-$RANDOM
42222 (umask 077 && mkdir $tmp)
42225 echo "$me: cannot create a temporary directory in ." >&2
42226 { (exit 1); exit 1; }
42231 cat >>$CONFIG_STATUS <<_ACEOF
42234 # CONFIG_FILES section.
42237 # No need to generate the scripts if there are no CONFIG_FILES.
42238 # This happens for instance when ./config.status config.h
42239 if test -n "\$CONFIG_FILES"; then
42240 # Protect against being on the right side of a sed subst in config.status.
42241 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42242 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42243 s,@SHELL@,$SHELL,;t t
42244 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42245 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42246 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42247 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42248 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42249 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42250 s,@exec_prefix@,$exec_prefix,;t t
42251 s,@prefix@,$prefix,;t t
42252 s,@program_transform_name@,$program_transform_name,;t t
42253 s,@bindir@,$bindir,;t t
42254 s,@sbindir@,$sbindir,;t t
42255 s,@libexecdir@,$libexecdir,;t t
42256 s,@datadir@,$datadir,;t t
42257 s,@sysconfdir@,$sysconfdir,;t t
42258 s,@sharedstatedir@,$sharedstatedir,;t t
42259 s,@localstatedir@,$localstatedir,;t t
42260 s,@libdir@,$libdir,;t t
42261 s,@includedir@,$includedir,;t t
42262 s,@oldincludedir@,$oldincludedir,;t t
42263 s,@infodir@,$infodir,;t t
42264 s,@mandir@,$mandir,;t t
42265 s,@build_alias@,$build_alias,;t t
42266 s,@host_alias@,$host_alias,;t t
42267 s,@target_alias@,$target_alias,;t t
42268 s,@DEFS@,$DEFS,;t t
42269 s,@ECHO_C@,$ECHO_C,;t t
42270 s,@ECHO_N@,$ECHO_N,;t t
42271 s,@ECHO_T@,$ECHO_T,;t t
42272 s,@LIBS@,$LIBS,;t t
42273 s,@build@,$build,;t t
42274 s,@build_cpu@,$build_cpu,;t t
42275 s,@build_vendor@,$build_vendor,;t t
42276 s,@build_os@,$build_os,;t t
42277 s,@host@,$host,;t t
42278 s,@host_cpu@,$host_cpu,;t t
42279 s,@host_vendor@,$host_vendor,;t t
42280 s,@host_os@,$host_os,;t t
42281 s,@target@,$target,;t t
42282 s,@target_cpu@,$target_cpu,;t t
42283 s,@target_vendor@,$target_vendor,;t t
42284 s,@target_os@,$target_os,;t t
42286 s,@CFLAGS@,$CFLAGS,;t t
42287 s,@LDFLAGS@,$LDFLAGS,;t t
42288 s,@CPPFLAGS@,$CPPFLAGS,;t t
42289 s,@ac_ct_CC@,$ac_ct_CC,;t t
42290 s,@EXEEXT@,$EXEEXT,;t t
42291 s,@OBJEXT@,$OBJEXT,;t t
42293 s,@EGREP@,$EGREP,;t t
42295 s,@CXXFLAGS@,$CXXFLAGS,;t t
42296 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42297 s,@RANLIB@,$RANLIB,;t t
42298 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42300 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42301 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42302 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42303 s,@STRIP@,$STRIP,;t t
42304 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42305 s,@LN_S@,$LN_S,;t t
42306 s,@CXXCPP@,$CXXCPP,;t t
42307 s,@subdirs@,$subdirs,;t t
42308 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42309 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42310 s,@GTK_LIBS@,$GTK_LIBS,;t t
42311 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42312 s,@X_CFLAGS@,$X_CFLAGS,;t t
42313 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42314 s,@X_LIBS@,$X_LIBS,;t t
42315 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42316 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42317 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42318 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42319 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42320 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42321 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42322 s,@RESCOMP@,$RESCOMP,;t t
42323 s,@DEREZ@,$DEREZ,;t t
42324 s,@SETFILE@,$SETFILE,;t t
42325 s,@LIBICONV@,$LIBICONV,;t t
42326 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42327 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42328 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42329 s,@SDL_LIBS@,$SDL_LIBS,;t t
42330 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42331 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42332 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42333 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42334 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42335 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42336 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42337 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42338 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42339 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42340 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42341 s,@VENDOR@,$VENDOR,;t t
42342 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42343 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42344 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42345 s,@WXUNIV@,$WXUNIV,;t t
42346 s,@MONOLITHIC@,$MONOLITHIC,;t t
42347 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42348 s,@EXTRALIBS@,$EXTRALIBS,;t t
42349 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42350 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42351 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42352 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42353 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42354 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42355 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42356 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42357 s,@UNICODE@,$UNICODE,;t t
42358 s,@BUILD@,$BUILD,;t t
42359 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42360 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42361 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42362 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42363 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42364 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42365 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42366 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42367 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42368 s,@SET_MAKE@,$SET_MAKE,;t t
42369 s,@MAKE_SET@,$MAKE_SET,;t t
42370 s,@ac_ct_AR@,$ac_ct_AR,;t t
42371 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42373 s,@ac_ct_NM@,$ac_ct_NM,;t t
42374 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42375 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42376 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42377 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42378 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42379 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42380 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42381 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42382 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42383 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42384 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42385 s,@LIBPREFIX@,$LIBPREFIX,;t t
42386 s,@LIBEXT@,$LIBEXT,;t t
42387 s,@DLLPREFIX@,$DLLPREFIX,;t t
42388 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42389 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42390 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42391 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42392 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42393 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42394 s,@PIC_FLAG@,$PIC_FLAG,;t t
42395 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42396 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42397 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42398 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42399 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42400 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42401 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42402 s,@GCC_PCH@,$GCC_PCH,;t t
42403 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42404 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42405 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42406 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42407 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42408 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42409 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42410 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42411 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42412 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42413 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42414 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42415 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42416 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42417 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42418 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42419 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42420 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42421 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
42422 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42423 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42424 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42425 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42426 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42427 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
42428 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42429 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42430 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42431 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42432 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42433 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42434 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42435 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42436 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42437 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42438 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42439 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42440 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42441 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42442 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42443 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42444 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42445 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42446 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42447 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42448 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42449 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42450 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42451 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42452 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42453 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42454 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42455 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42456 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42457 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42458 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42459 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42460 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42461 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42462 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42463 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42464 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42465 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42466 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42467 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42468 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42469 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42470 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42471 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42472 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42473 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42474 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42475 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42476 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42477 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42478 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42479 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42480 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42481 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42482 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42483 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42484 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42485 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42486 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42487 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42488 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42489 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42490 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42491 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42492 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42493 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42494 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42495 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42496 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42497 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42498 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42499 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42500 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42501 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42502 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42503 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42504 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42505 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42506 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42507 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42508 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42509 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42510 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42511 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42512 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42513 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42514 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42515 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42516 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42517 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42518 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42519 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42520 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42521 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42522 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42523 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42524 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42525 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42526 s,@SHARED@,$SHARED,;t t
42527 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42528 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42529 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42530 s,@USE_GUI@,$USE_GUI,;t t
42531 s,@AFMINSTALL@,$AFMINSTALL,;t t
42532 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42533 s,@TOOLKIT@,$TOOLKIT,;t t
42534 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42535 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42536 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42537 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42538 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42539 s,@cross_compiling@,$cross_compiling,;t t
42540 s,@WIDGET_SET@,$WIDGET_SET,;t t
42541 s,@WX_RELEASE@,$WX_RELEASE,;t t
42542 s,@WX_VERSION@,$WX_VERSION,;t t
42543 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42544 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42545 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42546 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42547 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42548 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42549 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42550 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42551 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42552 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42553 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42554 s,@EXE_LINKER@,$EXE_LINKER,;t t
42555 s,@GUIDIST@,$GUIDIST,;t t
42556 s,@DISTDIR@,$DISTDIR,;t t
42557 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42558 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42559 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42560 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42561 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42562 s,@RESFLAGS@,$RESFLAGS,;t t
42563 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42564 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42565 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42566 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42567 s,@MACRESCOMP@,$MACRESCOMP,;t t
42568 s,@MACSETFILE@,$MACSETFILE,;t t
42569 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42571 s,@DLLTOOL@,$DLLTOOL,;t t
42572 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42573 s,@LIBOBJS@,$LIBOBJS,;t t
42574 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42579 cat >>$CONFIG_STATUS <<\_ACEOF
42580 # Split the substitutions into bite-sized pieces for seds with
42581 # small command number limits, like on Digital OSF/1 and HP-UX.
42582 ac_max_sed_lines
=48
42583 ac_sed_frag
=1 # Number of current file.
42584 ac_beg
=1 # First line for current file.
42585 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42588 while $ac_more_lines; do
42589 if test $ac_beg -gt 1; then
42590 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42592 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42594 if test ! -s $tmp/subs.frag
; then
42595 ac_more_lines
=false
42597 # The purpose of the label and of the branching condition is to
42598 # speed up the sed processing (if there are no `@' at all, there
42599 # is no need to browse any of the substitutions).
42600 # These are the two extra sed commands mentioned above.
42602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42603 if test -z "$ac_sed_cmds"; then
42604 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42606 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42608 ac_sed_frag
=`expr $ac_sed_frag + 1`
42610 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42613 if test -z "$ac_sed_cmds"; then
42616 fi # test -n "$CONFIG_FILES"
42619 cat >>$CONFIG_STATUS <<\_ACEOF
42620 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42621 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42623 - | *:- | *:-:* ) # input from stdin
42625 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42626 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42627 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42628 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42629 * ) ac_file_in
=$ac_file.
in ;;
42632 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42633 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42635 X"$ac_file" : 'X\(//\)[^/]' \| \
42636 X"$ac_file" : 'X\(//\)$' \| \
42637 X"$ac_file" : 'X\(/\)' \| \
42638 . : '\(.\)' 2>/dev/null ||
42640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42642 /^X\(\/\/\)$/{ s//\1/; q; }
42643 /^X\(\/\).*/{ s//\1/; q; }
42645 { if $as_mkdir_p; then
42650 while test ! -d "$as_dir"; do
42651 as_dirs
="$as_dir $as_dirs"
42652 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42654 X"$as_dir" : 'X\(//\)[^/]' \| \
42655 X"$as_dir" : 'X\(//\)$' \| \
42656 X"$as_dir" : 'X\(/\)' \| \
42657 . : '\(.\)' 2>/dev/null ||
42659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42661 /^X\(\/\/\)$/{ s//\1/; q; }
42662 /^X\(\/\).*/{ s//\1/; q; }
42665 test ! -n "$as_dirs" || mkdir $as_dirs
42666 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42667 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42668 { (exit 1); exit 1; }; }; }
42672 if test "$ac_dir" != .
; then
42673 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42674 # A "../" for each directory in $ac_dir_suffix.
42675 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42677 ac_dir_suffix
= ac_top_builddir
=
42681 .
) # No --srcdir option. We are building in place.
42683 if test -z "$ac_top_builddir"; then
42686 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42688 [\\/]* | ?
:[\\/]* ) # Absolute path.
42689 ac_srcdir
=$srcdir$ac_dir_suffix;
42690 ac_top_srcdir
=$srcdir ;;
42691 *) # Relative path.
42692 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42693 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42696 # Do not use `cd foo && pwd` to compute absolute paths, because
42697 # the directories may not exist.
42699 .
) ac_abs_builddir
="$ac_dir";;
42702 .
) ac_abs_builddir
=`pwd`;;
42703 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42704 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42707 case $ac_abs_builddir in
42708 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42710 case ${ac_top_builddir}.
in
42711 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42712 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42713 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42716 case $ac_abs_builddir in
42717 .
) ac_abs_srcdir
=$ac_srcdir;;
42720 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42721 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42722 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42725 case $ac_abs_builddir in
42726 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42728 case $ac_top_srcdir in
42729 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42730 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42731 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42737 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42738 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42741 # Let's still pretend it is `configure' which instantiates (i.e., don't
42742 # use $as_me), people would be surprised to read:
42743 # /* config.h. Generated by config.status. */
42744 if test x
"$ac_file" = x
-; then
42747 configure_input
="$ac_file. "
42749 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42750 sed 's,.*/,,'` by configure."
42752 # First look for the input files in the build tree, otherwise in the
42754 ac_file_inputs
=`IFS=:
42755 for f in $ac_file_in; do
42757 -) echo $tmp/stdin ;;
42759 # Absolute (can't be DOS-style, as IFS=:)
42760 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42761 echo "$as_me: error: cannot find input file: $f" >&2;}
42762 { (exit 1); exit 1; }; }
42765 if test -f "$f"; then
42768 elif test -f "$srcdir/$f"; then
42773 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42774 echo "$as_me: error: cannot find input file: $f" >&2;}
42775 { (exit 1); exit 1; }; }
42778 done` || { (exit 1); exit 1; }
42780 if test x
"$ac_file" != x
-; then
42781 { echo "$as_me:$LINENO: creating $ac_file" >&5
42782 echo "$as_me: creating $ac_file" >&6;}
42786 cat >>$CONFIG_STATUS <<_ACEOF
42790 cat >>$CONFIG_STATUS <<\_ACEOF
42792 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42793 s
,@configure_input@
,$configure_input,;t t
42794 s
,@srcdir@
,$ac_srcdir,;t t
42795 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42796 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42797 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42798 s
,@builddir@
,$ac_builddir,;t t
42799 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42800 s
,@top_builddir@
,$ac_top_builddir,;t t
42801 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42802 s
,@INSTALL@
,$ac_INSTALL,;t t
42803 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42805 if test x"$ac_file" != x-; then
42806 mv $tmp/out $ac_file
42812 # Run the commands associated with the file.
42814 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42815 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42819 cat >>$CONFIG_STATUS <<\_ACEOF
42822 # CONFIG_HEADER section.
42825 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42826 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42828 # ac_d sets the value in "#define NAME VALUE" lines.
42829 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42830 ac_dB
='[ ].*$,\1#\2'
42833 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42834 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42835 ac_uB
='$,\1#\2define\3'
42839 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42840 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42842 - | *:- | *:-:* ) # input from stdin
42844 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42845 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42846 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42847 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42848 * ) ac_file_in
=$ac_file.
in ;;
42851 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42852 echo "$as_me: creating $ac_file" >&6;}
42854 # First look for the input files in the build tree, otherwise in the
42856 ac_file_inputs
=`IFS=:
42857 for f in $ac_file_in; do
42859 -) echo $tmp/stdin ;;
42861 # Absolute (can't be DOS-style, as IFS=:)
42862 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42863 echo "$as_me: error: cannot find input file: $f" >&2;}
42864 { (exit 1); exit 1; }; }
42865 # Do quote $f, to prevent DOS paths from being IFS'd.
42868 if test -f "$f"; then
42871 elif test -f "$srcdir/$f"; then
42876 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42877 echo "$as_me: error: cannot find input file: $f" >&2;}
42878 { (exit 1); exit 1; }; }
42881 done` || { (exit 1); exit 1; }
42882 # Remove the trailing spaces.
42883 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42887 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42888 # `conftest.undefs', that substitutes the proper values into
42889 # config.h.in to produce config.h. The first handles `#define'
42890 # templates, and the second `#undef' templates.
42891 # And first: Protect against being on the right side of a sed subst in
42892 # config.status. Protect against being in an unquoted here document
42893 # in config.status.
42894 rm -f conftest.defines conftest.undefs
42895 # Using a here document instead of a string reduces the quoting nightmare.
42896 # Putting comments in sed scripts is not portable.
42898 # `end' is used to avoid that the second main sed command (meant for
42899 # 0-ary CPP macros) applies to n-ary macro definitions.
42900 # See the Autoconf documentation for `clear'.
42901 cat >confdef2sed.
sed <<\_ACEOF
42906 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42908 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42911 # If some macros were called several times there might be several times
42912 # the same #defines, which is useless. Nevertheless, we may not want to
42913 # sort them, since we want the *last* AC-DEFINE to be honored.
42914 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42915 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42916 rm -f confdef2sed.sed
42918 # This sed command replaces #undef with comments. This is necessary, for
42919 # example, in the case of _POSIX_SOURCE, which is predefined and required
42920 # on some systems where configure will not decide to define it.
42921 cat >>conftest.undefs <<\_ACEOF
42922 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42925 # Break up conftest.defines because some shells have a limit on the size
42926 # of here documents, and old seds have small limits too (100 cmds).
42927 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42928 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42929 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42930 echo ' :' >>$CONFIG_STATUS
42931 rm -f conftest.tail
42932 while grep . conftest.defines >/dev/null
42934 # Write a limited-size here document to $tmp/defines.sed.
42935 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42936 # Speed up: don't consider the non `#define' lines.
42937 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42938 # Work around the forget-to-reset-the-flag bug.
42939 echo 't clr' >>$CONFIG_STATUS
42940 echo ': clr' >>$CONFIG_STATUS
42941 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42943 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42945 mv $tmp/out $tmp/in
42947 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42948 rm -f conftest.defines
42949 mv conftest.
tail conftest.defines
42951 rm -f conftest.defines
42952 echo ' fi # grep' >>$CONFIG_STATUS
42953 echo >>$CONFIG_STATUS
42955 # Break up conftest.undefs because some shells have a limit on the size
42956 # of here documents, and old seds have small limits too (100 cmds).
42957 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42958 rm -f conftest.
tail
42959 while grep . conftest.undefs
>/dev
/null
42961 # Write a limited-size here document to $tmp/undefs.sed.
42962 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42963 # Speed up: don't consider the non
`#undef'
42964 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42965 # Work around the forget-to-reset-the-flag bug.
42966 echo 't clr' >>$CONFIG_STATUS
42967 echo ': clr' >>$CONFIG_STATUS
42968 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42970 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42972 mv $tmp/out $tmp/in
42974 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42975 rm -f conftest.undefs
42976 mv conftest.tail conftest.undefs
42978 rm -f conftest.undefs
42980 cat >>$CONFIG_STATUS <<\_ACEOF
42981 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42982 # use $as_me), people would be surprised to read:
42983 # /* config.h. Generated by config.status. */
42984 if test x
"$ac_file" = x
-; then
42985 echo "/* Generated by configure. */" >$tmp/config.h
42987 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42989 cat $tmp/in >>$tmp/config.h
42991 if test x
"$ac_file" != x
-; then
42992 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42993 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42994 echo "$as_me: $ac_file is unchanged" >&6;}
42996 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42998 X"$ac_file" : 'X\(//\)[^/]' \| \
42999 X"$ac_file" : 'X\(//\)$' \| \
43000 X"$ac_file" : 'X\(/\)' \| \
43001 . : '\(.\)' 2>/dev/null ||
43003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43004 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43005 /^X\(\/\/\)$/{ s//\1/; q; }
43006 /^X\(\/\).*/{ s//\1/; q; }
43008 { if $as_mkdir_p; then
43013 while test ! -d "$as_dir"; do
43014 as_dirs
="$as_dir $as_dirs"
43015 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43017 X"$as_dir" : 'X\(//\)[^/]' \| \
43018 X"$as_dir" : 'X\(//\)$' \| \
43019 X"$as_dir" : 'X\(/\)' \| \
43020 . : '\(.\)' 2>/dev/null ||
43022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43024 /^X\(\/\/\)$/{ s//\1/; q; }
43025 /^X\(\/\).*/{ s//\1/; q; }
43028 test ! -n "$as_dirs" || mkdir $as_dirs
43029 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43030 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43031 { (exit 1); exit 1; }; }; }
43034 mv $tmp/config.h
$ac_file
43038 rm -f $tmp/config.h
43042 cat >>$CONFIG_STATUS <<\_ACEOF
43045 # CONFIG_COMMANDS section.
43047 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43048 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43049 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43050 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43051 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43052 X"$ac_dest" : 'X\(//\)[^/]' \| \
43053 X"$ac_dest" : 'X\(//\)$' \| \
43054 X"$ac_dest" : 'X\(/\)' \| \
43055 . : '\(.\)' 2>/dev/null ||
43057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43058 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43059 /^X\(\/\/\)$/{ s//\1/; q; }
43060 /^X\(\/\).*/{ s//\1/; q; }
43062 { if $as_mkdir_p; then
43067 while test ! -d "$as_dir"; do
43068 as_dirs
="$as_dir $as_dirs"
43069 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43071 X"$as_dir" : 'X\(//\)[^/]' \| \
43072 X"$as_dir" : 'X\(//\)$' \| \
43073 X"$as_dir" : 'X\(/\)' \| \
43074 . : '\(.\)' 2>/dev/null ||
43076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43078 /^X\(\/\/\)$/{ s//\1/; q; }
43079 /^X\(\/\).*/{ s//\1/; q; }
43082 test ! -n "$as_dirs" || mkdir $as_dirs
43083 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43084 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43085 { (exit 1); exit 1; }; }; }
43089 if test "$ac_dir" != .
; then
43090 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43091 # A "../" for each directory in $ac_dir_suffix.
43092 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43094 ac_dir_suffix
= ac_top_builddir
=
43098 .
) # No --srcdir option. We are building in place.
43100 if test -z "$ac_top_builddir"; then
43103 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43105 [\\/]* | ?
:[\\/]* ) # Absolute path.
43106 ac_srcdir
=$srcdir$ac_dir_suffix;
43107 ac_top_srcdir
=$srcdir ;;
43108 *) # Relative path.
43109 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43110 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43113 # Do not use `cd foo && pwd` to compute absolute paths, because
43114 # the directories may not exist.
43116 .
) ac_abs_builddir
="$ac_dir";;
43119 .
) ac_abs_builddir
=`pwd`;;
43120 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43121 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43124 case $ac_abs_builddir in
43125 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43127 case ${ac_top_builddir}.
in
43128 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43129 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43130 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43133 case $ac_abs_builddir in
43134 .
) ac_abs_srcdir
=$ac_srcdir;;
43137 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43138 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43139 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43142 case $ac_abs_builddir in
43143 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43145 case $ac_top_srcdir in
43146 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43147 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43148 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43153 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43154 echo "$as_me: executing $ac_dest commands" >&6;}
43156 wx
-config ) rm -f wx
-config
43157 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43163 cat >>$CONFIG_STATUS <<\_ACEOF
43165 { (exit 0); exit 0; }
43167 chmod +x
$CONFIG_STATUS
43168 ac_clean_files
=$ac_clean_files_save
43171 # configure is writing to config.log, and then calls config.status.
43172 # config.status does its own redirection, appending to config.log.
43173 # Unfortunately, on DOS this fails, as config.log is still kept open
43174 # by configure, so config.status won't be able to write to it; its
43175 # output is simply discarded. So we exec the FD to /dev/null,
43176 # effectively closing config.log, so it can be properly (re)opened and
43177 # appended to by config.status. When coming back to configure, we
43178 # need to make the FD available again.
43179 if test "$no_create" != yes; then
43181 ac_config_status_args
=
43182 test "$silent" = yes &&
43183 ac_config_status_args
="$ac_config_status_args --quiet"
43185 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43187 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43188 # would make configure fail if this is the last instruction.
43189 $ac_cs_success || { (exit 1); exit 1; }
43193 # CONFIG_SUBDIRS section.
43195 if test "$no_recursion" != yes; then
43197 # Remove --cache-file and --srcdir arguments so they do not pile up.
43198 ac_sub_configure_args
=
43200 for ac_arg
in $ac_configure_args; do
43201 if test -n "$ac_prev"; then
43206 -cache-file | --cache-file | --cache-fil | --cache-fi \
43207 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43208 ac_prev
=cache_file
;;
43209 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43210 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43213 --config-cache | -C)
43215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43219 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43221 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43223 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43227 # Always prepend --prefix to ensure using the same prefix
43228 # in subdir configurations.
43229 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43232 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43234 # Do not complain, so a configure script can configure whichever
43235 # parts of a large source tree are present.
43236 test -d $srcdir/$ac_dir || continue
43238 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43239 echo "$as_me: configuring in $ac_dir" >&6;}
43240 { if $as_mkdir_p; then
43245 while test ! -d "$as_dir"; do
43246 as_dirs
="$as_dir $as_dirs"
43247 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43249 X"$as_dir" : 'X\(//\)[^/]' \| \
43250 X"$as_dir" : 'X\(//\)$' \| \
43251 X"$as_dir" : 'X\(/\)' \| \
43252 . : '\(.\)' 2>/dev/null ||
43254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43255 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43256 /^X\(\/\/\)$/{ s//\1/; q; }
43257 /^X\(\/\).*/{ s//\1/; q; }
43260 test ! -n "$as_dirs" || mkdir $as_dirs
43261 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43262 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43263 { (exit 1); exit 1; }; }; }
43267 if test "$ac_dir" != .
; then
43268 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43269 # A "../" for each directory in $ac_dir_suffix.
43270 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43272 ac_dir_suffix
= ac_top_builddir
=
43276 .
) # No --srcdir option. We are building in place.
43278 if test -z "$ac_top_builddir"; then
43281 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43283 [\\/]* | ?
:[\\/]* ) # Absolute path.
43284 ac_srcdir
=$srcdir$ac_dir_suffix;
43285 ac_top_srcdir
=$srcdir ;;
43286 *) # Relative path.
43287 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43288 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43291 # Do not use `cd foo && pwd` to compute absolute paths, because
43292 # the directories may not exist.
43294 .
) ac_abs_builddir
="$ac_dir";;
43297 .
) ac_abs_builddir
=`pwd`;;
43298 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43299 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43302 case $ac_abs_builddir in
43303 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43305 case ${ac_top_builddir}.
in
43306 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43307 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43308 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43311 case $ac_abs_builddir in
43312 .
) ac_abs_srcdir
=$ac_srcdir;;
43315 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43316 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43317 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43320 case $ac_abs_builddir in
43321 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43323 case $ac_top_srcdir in
43324 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43325 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43326 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43333 # Check for guested configure; otherwise get Cygnus style configure.
43334 if test -f $ac_srcdir/configure.gnu
; then
43335 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43336 elif test -f $ac_srcdir/configure
; then
43337 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43338 elif test -f $ac_srcdir/configure.
in; then
43339 ac_sub_configure
=$ac_configure
43341 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43342 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43346 # The recursion is here.
43347 if test -n "$ac_sub_configure"; then
43348 # Make the cache file name correct relative to the subdirectory.
43349 case $cache_file in
43350 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43351 *) # Relative path.
43352 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43355 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43356 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43357 # The eval makes quoting arguments work.
43358 eval $ac_sub_configure $ac_sub_configure_args \
43359 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43360 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43361 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43362 { (exit 1); exit 1; }; }
43371 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43373 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43374 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43376 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43377 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43378 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43380 echo " What level of wxWidgets compatibility should be enabled?"
43381 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43382 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43384 echo " Which libraries should wxWidgets use?"
43385 echo " jpeg ${wxUSE_LIBJPEG-none}"
43386 echo " png ${wxUSE_LIBPNG-none}"
43387 echo " regex ${wxUSE_REGEX}"
43388 echo " tiff ${wxUSE_LIBTIFF-none}"
43389 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43390 echo " xpm ${wxUSE_LIBXPM-none}"
43392 echo " zlib ${wxUSE_ZLIB}"
43393 echo " odbc ${wxUSE_ODBC}"
43394 echo " expat ${wxUSE_EXPAT}"
43395 echo " libmspack ${wxUSE_LIBMSPACK}"
43396 echo " sdl ${wxUSE_LIBSDL}"
43397 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"