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"
10954 || test ! -s conftest.err'
10955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10956 (eval $ac_try) 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); }; } &&
10960 { ac_try
='test -s conftest.$ac_objext'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 ac_compiler_gnu
=yes
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.
$ac_ext >&5
10973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10974 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10977 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10978 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10979 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10980 ac_test_CFLAGS
=${CFLAGS+set}
10981 ac_save_CFLAGS
=$CFLAGS
10983 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10984 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10985 if test "${ac_cv_prog_cc_g+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 cat >conftest.
$ac_ext <<_ACEOF
10991 cat confdefs.h
>>conftest.
$ac_ext
10992 cat >>conftest.
$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
11003 rm -f conftest.
$ac_objext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11005 (eval $ac_compile) 2>conftest.er1
11007 grep -v '^ *+' conftest.er1
>conftest.err
11009 cat conftest.err
>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try
='test -z "$ac_c_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try
='test -s conftest.$ac_objext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_prog_cc_g
=yes
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.
$ac_ext >&5
11032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11034 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11035 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11036 if test "$ac_test_CFLAGS" = set; then
11037 CFLAGS
=$ac_save_CFLAGS
11038 elif test $ac_cv_prog_cc_g = yes; then
11039 if test "$GCC" = yes; then
11045 if test "$GCC" = yes; then
11051 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11052 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11053 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11056 ac_cv_prog_cc_stdc
=no
11058 cat >conftest.
$ac_ext <<_ACEOF
11061 cat confdefs.h
>>conftest.
$ac_ext
11062 cat >>conftest.
$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11064 #include <stdarg.h>
11066 #include <sys/types.h>
11067 #include <sys/stat.h>
11068 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11069 struct buf { int x; };
11070 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11071 static char *e (p, i)
11077 static char *f (char * (*g) (char **, int), char **p, ...)
11082 s = g (p, va_arg (v,int));
11087 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11088 function prototypes and stuff, but not '\xHH' hex character constants.
11089 These don't provoke an error unfortunately, instead are silently treated
11090 as 'x'. The following induces an error, until -std1 is added to get
11091 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11092 array size at least. It's necessary to write '\x00'==0 to get something
11093 that's true only with -std1. */
11094 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11096 int test (int i, double x);
11097 struct s1 {int (*f) (int a);};
11098 struct s2 {int (*f) (double a);};
11099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11110 # Don't try gcc -ansi; that turns off useful extensions and
11111 # breaks some systems' header files.
11112 # AIX -qlanglvl=ansi
11113 # Ultrix and OSF/1 -std1
11114 # HP-UX 10.20 and later -Ae
11115 # HP-UX older versions -Aa -D_HPUX_SOURCE
11116 # SVR4 -Xc -D__EXTENSIONS__
11117 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11119 CC
="$ac_save_CC $ac_arg"
11120 rm -f conftest.
$ac_objext
11121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11122 (eval $ac_compile) 2>conftest.er1
11124 grep -v '^ *+' conftest.er1
>conftest.err
11126 cat conftest.err
>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); } &&
11129 { ac_try
='test -z "$ac_c_werror_flag"
11130 || test ! -s conftest.err'
11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11132 (eval $ac_try) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); }; } &&
11136 { ac_try
='test -s conftest.$ac_objext'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 ac_cv_prog_cc_stdc
=$ac_arg
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.
$ac_ext >&5
11149 rm -f conftest.err conftest.
$ac_objext
11151 rm -f conftest.
$ac_ext conftest.
$ac_objext
11156 case "x$ac_cv_prog_cc_stdc" in
11158 echo "$as_me:$LINENO: result: none needed" >&5
11159 echo "${ECHO_T}none needed" >&6 ;;
11161 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11162 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11163 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11166 # Some people use a C++ compiler to compile C. Since we use `exit',
11167 # in C++ we need to declare it. In case someone uses the same compiler
11168 # for both compiling C and C++ we need to have the C++ compiler decide
11169 # the declaration of exit, since it's the most demanding environment.
11170 cat >conftest.
$ac_ext <<_ACEOF
11171 #ifndef __cplusplus
11175 rm -f conftest.
$ac_objext
11176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11177 (eval $ac_compile) 2>conftest.er1
11179 grep -v '^ *+' conftest.er1
>conftest.err
11181 cat conftest.err
>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } &&
11184 { ac_try
='test -z "$ac_c_werror_flag"
11185 || test ! -s conftest.err'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; } &&
11191 { ac_try
='test -s conftest.$ac_objext'
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); }; }; then
11197 for ac_declaration
in \
11199 'extern "C" void std::exit (int) throw (); using std::exit;' \
11200 'extern "C" void std::exit (int); using std::exit;' \
11201 'extern "C" void exit (int) throw ();' \
11202 'extern "C" void exit (int);' \
11205 cat >conftest.
$ac_ext <<_ACEOF
11208 cat confdefs.h
>>conftest.
$ac_ext
11209 cat >>conftest.
$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11212 #include <stdlib.h>
11221 rm -f conftest.
$ac_objext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11223 (eval $ac_compile) 2>conftest.er1
11225 grep -v '^ *+' conftest.er1
>conftest.err
11227 cat conftest.err
>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } &&
11230 { ac_try
='test -z "$ac_c_werror_flag"
11231 || test ! -s conftest.err'
11232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11233 (eval $ac_try) 2>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; } &&
11237 { ac_try
='test -s conftest.$ac_objext'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.
$ac_ext >&5
11250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11251 cat >conftest.
$ac_ext <<_ACEOF
11254 cat confdefs.h
>>conftest.
$ac_ext
11255 cat >>conftest.
$ac_ext <<_ACEOF
11256 /* end confdefs.h. */
11266 rm -f conftest.
$ac_objext
11267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11268 (eval $ac_compile) 2>conftest.er1
11270 grep -v '^ *+' conftest.er1
>conftest.err
11272 cat conftest.err
>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } &&
11275 { ac_try
='test -z "$ac_c_werror_flag"
11276 || test ! -s conftest.err'
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); }; } &&
11282 { ac_try
='test -s conftest.$ac_objext'
11283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284 (eval $ac_try) 2>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); }; }; then
11290 echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.
$ac_ext >&5
11294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11297 if test -n "$ac_declaration"; then
11298 echo '#ifdef __cplusplus' >>confdefs.h
11299 echo $ac_declaration >>confdefs.h
11300 echo '#endif' >>confdefs.h
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.
$ac_ext >&5
11308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11310 ac_cpp
='$CPP $CPPFLAGS'
11311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11318 ac_cpp
='$CPP $CPPFLAGS'
11319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11322 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11323 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11324 # On Suns, sometimes $CPP names a directory.
11325 if test -n "$CPP" && test -d "$CPP"; then
11328 if test -z "$CPP"; then
11329 if test "${ac_cv_prog_CPP+set}" = set; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11332 # Double quotes because CPP needs to be expanded
11333 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11335 ac_preproc_ok
=false
11336 for ac_c_preproc_warn_flag
in '' yes
11338 # Use a header file that comes with gcc, so configuring glibc
11339 # with a fresh cross-compiler works.
11340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11341 # <limits.h> exists even on freestanding compilers.
11342 # On the NeXT, cc -E runs the code through the compiler's parser,
11343 # not just through cpp. "Syntax error" is here to catch this case.
11344 cat >conftest.
$ac_ext <<_ACEOF
11347 cat confdefs.h
>>conftest.
$ac_ext
11348 cat >>conftest.
$ac_ext <<_ACEOF
11349 /* end confdefs.h. */
11351 # include <limits.h>
11353 # include <assert.h>
11357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11360 grep -v '^ *+' conftest.er1
>conftest.err
11362 cat conftest.err
>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } >/dev
/null
; then
11365 if test -s conftest.err
; then
11366 ac_cpp_err
=$ac_c_preproc_warn_flag
11367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11374 if test -z "$ac_cpp_err"; then
11377 echo "$as_me: failed program was:" >&5
11378 sed 's/^/| /' conftest.
$ac_ext >&5
11380 # Broken: fails on valid input.
11383 rm -f conftest.err conftest.
$ac_ext
11385 # OK, works on sane cases. Now check whether non-existent headers
11386 # can be detected and how.
11387 cat >conftest.
$ac_ext <<_ACEOF
11390 cat confdefs.h
>>conftest.
$ac_ext
11391 cat >>conftest.
$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11393 #include <ac_nonexistent.h>
11395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11398 grep -v '^ *+' conftest.er1
>conftest.err
11400 cat conftest.err
>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); } >/dev
/null
; then
11403 if test -s conftest.err
; then
11404 ac_cpp_err
=$ac_c_preproc_warn_flag
11405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11412 if test -z "$ac_cpp_err"; then
11413 # Broken: success on invalid input.
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.
$ac_ext >&5
11419 # Passes both tests.
11423 rm -f conftest.err conftest.
$ac_ext
11426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11427 rm -f conftest.err conftest.
$ac_ext
11428 if $ac_preproc_ok; then
11433 ac_cv_prog_CPP
=$CPP
11436 CPP
=$ac_cv_prog_CPP
11438 ac_cv_prog_CPP
=$CPP
11440 echo "$as_me:$LINENO: result: $CPP" >&5
11441 echo "${ECHO_T}$CPP" >&6
11442 ac_preproc_ok
=false
11443 for ac_c_preproc_warn_flag
in '' yes
11445 # Use a header file that comes with gcc, so configuring glibc
11446 # with a fresh cross-compiler works.
11447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11448 # <limits.h> exists even on freestanding compilers.
11449 # On the NeXT, cc -E runs the code through the compiler's parser,
11450 # not just through cpp. "Syntax error" is here to catch this case.
11451 cat >conftest.
$ac_ext <<_ACEOF
11454 cat confdefs.h
>>conftest.
$ac_ext
11455 cat >>conftest.
$ac_ext <<_ACEOF
11456 /* end confdefs.h. */
11458 # include <limits.h>
11460 # include <assert.h>
11464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11467 grep -v '^ *+' conftest.er1
>conftest.err
11469 cat conftest.err
>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } >/dev
/null
; then
11472 if test -s conftest.err
; then
11473 ac_cpp_err
=$ac_c_preproc_warn_flag
11474 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11481 if test -z "$ac_cpp_err"; then
11484 echo "$as_me: failed program was:" >&5
11485 sed 's/^/| /' conftest.
$ac_ext >&5
11487 # Broken: fails on valid input.
11490 rm -f conftest.err conftest.
$ac_ext
11492 # OK, works on sane cases. Now check whether non-existent headers
11493 # can be detected and how.
11494 cat >conftest.
$ac_ext <<_ACEOF
11497 cat confdefs.h
>>conftest.
$ac_ext
11498 cat >>conftest.
$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11500 #include <ac_nonexistent.h>
11502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11505 grep -v '^ *+' conftest.er1
>conftest.err
11507 cat conftest.err
>&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); } >/dev
/null
; then
11510 if test -s conftest.err
; then
11511 ac_cpp_err
=$ac_c_preproc_warn_flag
11512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11519 if test -z "$ac_cpp_err"; then
11520 # Broken: success on invalid input.
11523 echo "$as_me: failed program was:" >&5
11524 sed 's/^/| /' conftest.
$ac_ext >&5
11526 # Passes both tests.
11530 rm -f conftest.err conftest.
$ac_ext
11533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11534 rm -f conftest.err conftest.
$ac_ext
11535 if $ac_preproc_ok; then
11538 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11539 See \`config.log' for more details." >&5
11540 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11541 See \`config.log' for more details." >&2;}
11542 { (exit 1); exit 1; }; }
11546 ac_cpp
='$CPP $CPPFLAGS'
11547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11552 echo "$as_me:$LINENO: checking for egrep" >&5
11553 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11554 if test "${ac_cv_prog_egrep+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11558 then ac_cv_prog_egrep
='grep -E'
11559 else ac_cv_prog_egrep
='egrep'
11562 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11563 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11564 EGREP
=$ac_cv_prog_egrep
11567 if test $ac_cv_c_compiler_gnu = yes; then
11568 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11569 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11570 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 ac_pattern
="Autoconf.*'x'"
11574 cat >conftest.
$ac_ext <<_ACEOF
11577 cat confdefs.h
>>conftest.
$ac_ext
11578 cat >>conftest.
$ac_ext <<_ACEOF
11579 /* end confdefs.h. */
11583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11584 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11585 ac_cv_prog_gcc_traditional
=yes
11587 ac_cv_prog_gcc_traditional
=no
11592 if test $ac_cv_prog_gcc_traditional = no
; then
11593 cat >conftest.
$ac_ext <<_ACEOF
11596 cat confdefs.h
>>conftest.
$ac_ext
11597 cat >>conftest.
$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11599 #include <termio.h>
11602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11603 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11604 ac_cv_prog_gcc_traditional
=yes
11610 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11611 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11612 if test $ac_cv_prog_gcc_traditional = yes; then
11613 CC
="$CC -traditional"
11621 ac_cpp
='$CXXCPP $CPPFLAGS'
11622 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11627 CXXFLAGS
=${CXXFLAGS:=}
11629 ac_cpp
='$CXXCPP $CPPFLAGS'
11630 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11631 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11632 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11633 if test -n "$ac_tool_prefix"; then
11634 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11637 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11638 echo "$as_me:$LINENO: checking for $ac_word" >&5
11639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11640 if test "${ac_cv_prog_CXX+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11643 if test -n "$CXX"; then
11644 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11647 for as_dir
in $PATH
11650 test -z "$as_dir" && as_dir
=.
11651 for ac_exec_ext
in '' $ac_executable_extensions; do
11652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11653 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11662 CXX
=$ac_cv_prog_CXX
11663 if test -n "$CXX"; then
11664 echo "$as_me:$LINENO: result: $CXX" >&5
11665 echo "${ECHO_T}$CXX" >&6
11667 echo "$as_me:$LINENO: result: no" >&5
11668 echo "${ECHO_T}no" >&6
11671 test -n "$CXX" && break
11674 if test -z "$CXX"; then
11676 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11678 # Extract the first word of "$ac_prog", so it can be a program name with args.
11679 set dummy
$ac_prog; ac_word
=$2
11680 echo "$as_me:$LINENO: checking for $ac_word" >&5
11681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11682 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 if test -n "$ac_ct_CXX"; then
11686 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11689 for as_dir
in $PATH
11692 test -z "$as_dir" && as_dir
=.
11693 for ac_exec_ext
in '' $ac_executable_extensions; do
11694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11695 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11704 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11705 if test -n "$ac_ct_CXX"; then
11706 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11707 echo "${ECHO_T}$ac_ct_CXX" >&6
11709 echo "$as_me:$LINENO: result: no" >&5
11710 echo "${ECHO_T}no" >&6
11713 test -n "$ac_ct_CXX" && break
11715 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11721 # Provide some information about the compiler.
11722 echo "$as_me:$LINENO:" \
11723 "checking for C++ compiler version" >&5
11724 ac_compiler
=`set X $ac_compile; echo $2`
11725 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11726 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }
11730 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11731 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }
11735 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11736 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }
11741 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11742 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11743 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 cat >conftest.
$ac_ext <<_ACEOF
11749 cat confdefs.h
>>conftest.
$ac_ext
11750 cat >>conftest.
$ac_ext <<_ACEOF
11751 /* end confdefs.h. */
11764 rm -f conftest.
$ac_objext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11766 (eval $ac_compile) 2>conftest.er1
11768 grep -v '^ *+' conftest.er1
>conftest.err
11770 cat conftest.err
>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
11773 { ac_try
='test -z "$ac_cxx_werror_flag"
11774 || test ! -s conftest.err'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; } &&
11780 { ac_try
='test -s conftest.$ac_objext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_compiler_gnu
=yes
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.
$ac_ext >&5
11793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11794 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11797 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11798 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11799 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11800 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11801 ac_save_CXXFLAGS
=$CXXFLAGS
11803 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11804 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11805 if test "${ac_cv_prog_cxx_g+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 cat >conftest.
$ac_ext <<_ACEOF
11811 cat confdefs.h
>>conftest.
$ac_ext
11812 cat >>conftest.
$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11823 rm -f conftest.
$ac_objext
11824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11825 (eval $ac_compile) 2>conftest.er1
11827 grep -v '^ *+' conftest.er1
>conftest.err
11829 cat conftest.err
>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
11832 { ac_try
='test -z "$ac_cxx_werror_flag"
11833 || test ! -s conftest.err'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; } &&
11839 { ac_try
='test -s conftest.$ac_objext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 ac_cv_prog_cxx_g
=yes
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11850 ac_cv_prog_cxx_g
=no
11852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11854 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11855 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11856 if test "$ac_test_CXXFLAGS" = set; then
11857 CXXFLAGS
=$ac_save_CXXFLAGS
11858 elif test $ac_cv_prog_cxx_g = yes; then
11859 if test "$GXX" = yes; then
11865 if test "$GXX" = yes; then
11871 for ac_declaration
in \
11873 'extern "C" void std::exit (int) throw (); using std::exit;' \
11874 'extern "C" void std::exit (int); using std::exit;' \
11875 'extern "C" void exit (int) throw ();' \
11876 'extern "C" void exit (int);' \
11879 cat >conftest.
$ac_ext <<_ACEOF
11882 cat confdefs.h
>>conftest.
$ac_ext
11883 cat >>conftest.
$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11886 #include <stdlib.h>
11895 rm -f conftest.
$ac_objext
11896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11897 (eval $ac_compile) 2>conftest.er1
11899 grep -v '^ *+' conftest.er1
>conftest.err
11901 cat conftest.err
>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); } &&
11904 { ac_try
='test -z "$ac_cxx_werror_flag"
11905 || test ! -s conftest.err'
11906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11907 (eval $ac_try) 2>&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }; } &&
11911 { ac_try
='test -s conftest.$ac_objext'
11912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11913 (eval $ac_try) 2>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); }; }; then
11919 echo "$as_me: failed program was:" >&5
11920 sed 's/^/| /' conftest.
$ac_ext >&5
11924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11925 cat >conftest.
$ac_ext <<_ACEOF
11928 cat confdefs.h
>>conftest.
$ac_ext
11929 cat >>conftest.
$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11940 rm -f conftest.
$ac_objext
11941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11942 (eval $ac_compile) 2>conftest.er1
11944 grep -v '^ *+' conftest.er1
>conftest.err
11946 cat conftest.err
>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try
='test -z "$ac_cxx_werror_flag"
11950 || test ! -s conftest.err'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; } &&
11956 { ac_try
='test -s conftest.$ac_objext'
11957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11958 (eval $ac_try) 2>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); }; }; then
11964 echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.
$ac_ext >&5
11968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11971 if test -n "$ac_declaration"; then
11972 echo '#ifdef __cplusplus' >>confdefs.h
11973 echo $ac_declaration >>confdefs.h
11974 echo '#endif' >>confdefs.h
11978 ac_cpp
='$CXXCPP $CPPFLAGS'
11979 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11980 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11981 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11985 ac_cpp
='$CPP $CPPFLAGS'
11986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11991 if test -n "$ac_tool_prefix"; then
11992 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11993 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11994 echo "$as_me:$LINENO: checking for $ac_word" >&5
11995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11996 if test "${ac_cv_prog_RANLIB+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 if test -n "$RANLIB"; then
12000 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12003 for as_dir
in $PATH
12006 test -z "$as_dir" && as_dir
=.
12007 for ac_exec_ext
in '' $ac_executable_extensions; do
12008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12009 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12018 RANLIB
=$ac_cv_prog_RANLIB
12019 if test -n "$RANLIB"; then
12020 echo "$as_me:$LINENO: result: $RANLIB" >&5
12021 echo "${ECHO_T}$RANLIB" >&6
12023 echo "$as_me:$LINENO: result: no" >&5
12024 echo "${ECHO_T}no" >&6
12028 if test -z "$ac_cv_prog_RANLIB"; then
12029 ac_ct_RANLIB
=$RANLIB
12030 # Extract the first word of "ranlib", so it can be a program name with args.
12031 set dummy ranlib
; ac_word
=$2
12032 echo "$as_me:$LINENO: checking for $ac_word" >&5
12033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 if test -n "$ac_ct_RANLIB"; then
12038 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12041 for as_dir
in $PATH
12044 test -z "$as_dir" && as_dir
=.
12045 for ac_exec_ext
in '' $ac_executable_extensions; do
12046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12047 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12054 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12057 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12058 if test -n "$ac_ct_RANLIB"; then
12059 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12060 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12062 echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6
12066 RANLIB
=$ac_ct_RANLIB
12068 RANLIB
="$ac_cv_prog_RANLIB"
12072 # Extract the first word of "ar", so it can be a program name with args.
12073 set dummy
ar; ac_word
=$2
12074 echo "$as_me:$LINENO: checking for $ac_word" >&5
12075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12076 if test "${ac_cv_prog_AR+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12079 if test -n "$AR"; then
12080 ac_cv_prog_AR
="$AR" # Let the user override the test.
12082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12083 for as_dir
in $PATH
12086 test -z "$as_dir" && as_dir
=.
12087 for ac_exec_ext
in '' $ac_executable_extensions; do
12088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12099 if test -n "$AR"; then
12100 echo "$as_me:$LINENO: result: $AR" >&5
12101 echo "${ECHO_T}$AR" >&6
12103 echo "$as_me:$LINENO: result: no" >&5
12104 echo "${ECHO_T}no" >&6
12107 if test "x$AR" = "x" ; then
12108 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12109 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12110 { (exit 1); exit 1; }; }
12113 # Find a good install program. We prefer a C program (faster),
12114 # so one script is as good as another. But avoid the broken or
12115 # incompatible versions:
12116 # SysV /etc/install, /usr/sbin/install
12117 # SunOS /usr/etc/install
12118 # IRIX /sbin/install
12120 # AmigaOS /C/install, which installs bootblocks on floppy discs
12121 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12122 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12123 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12124 # OS/2's system install, which has a completely different semantic
12125 # ./install, which can be erroneously created by make from ./install.sh.
12126 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12127 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12128 if test -z "$INSTALL"; then
12129 if test "${ac_cv_path_install+set}" = set; then
12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12133 for as_dir
in $PATH
12136 test -z "$as_dir" && as_dir
=.
12137 # Account for people who put trailing slashes in PATH elements.
12139 .
/ | .
// | /cC
/* | \
12140 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12141 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12144 # OSF1 and SCO ODT 3.0 have their own names for install.
12145 # Don't use installbsd from OSF since it installs stuff as root
12147 for ac_prog
in ginstall scoinst
install; do
12148 for ac_exec_ext
in '' $ac_executable_extensions; do
12149 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12150 if test $ac_prog = install &&
12151 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12152 # AIX install. It has an incompatible calling convention.
12154 elif test $ac_prog = install &&
12155 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12156 # program-specific install script used by HP pwplus--don't use.
12159 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12171 if test "${ac_cv_path_install+set}" = set; then
12172 INSTALL
=$ac_cv_path_install
12174 # As a last resort, use the slow shell script. We don't cache a
12175 # path for INSTALL within a source directory, because that will
12176 # break other packages using the cache if that directory is
12177 # removed, or if the path is relative.
12178 INSTALL
=$ac_install_sh
12181 echo "$as_me:$LINENO: result: $INSTALL" >&5
12182 echo "${ECHO_T}$INSTALL" >&6
12184 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12185 # It thinks the first close brace ends the variable substitution.
12186 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12188 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12190 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12196 ?
:* ) # Drive letter, considered as absolute.
12199 INSTALL
=`pwd`/${INSTALL} ;;
12205 powerpc
-*-darwin* )
12206 INSTALL_PROGRAM
="cp -fp"
12207 INSTALL_DATA
="cp -fp"
12213 # Extract the first word of "strip", so it can be a program name with args.
12214 set dummy strip
; ac_word
=$2
12215 echo "$as_me:$LINENO: checking for $ac_word" >&5
12216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12217 if test "${ac_cv_prog_STRIP+set}" = set; then
12218 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 if test -n "$STRIP"; then
12221 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12224 for as_dir
in $PATH
12227 test -z "$as_dir" && as_dir
=.
12228 for ac_exec_ext
in '' $ac_executable_extensions; do
12229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12230 ac_cv_prog_STRIP
="strip"
12231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12237 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12240 STRIP
=$ac_cv_prog_STRIP
12241 if test -n "$STRIP"; then
12242 echo "$as_me:$LINENO: result: $STRIP" >&5
12243 echo "${ECHO_T}$STRIP" >&6
12245 echo "$as_me:$LINENO: result: no" >&5
12246 echo "${ECHO_T}no" >&6
12250 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12251 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12252 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12256 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12257 egrep -s GNU
> /dev
/null
); then
12258 wx_cv_prog_makeisgnu
="yes"
12260 wx_cv_prog_makeisgnu
="no"
12264 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12265 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12267 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12275 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12276 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12277 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12278 if test "${wx_cv_prog_makevpath+set}" = set; then
12279 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 cat - << EOF > confMake
12288 if test ! -d sub
; then
12291 echo dummy
> sub
/file
12292 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12294 rm -f sub
/file check final_file confMake
12296 if test "$RESULT" = 0; then
12297 wx_cv_prog_makevpath
="yes"
12299 wx_cv_prog_makevpath
="no"
12303 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12304 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12306 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12307 { { echo "$as_me:$LINENO: error:
12308 You need a make-utility that is able to use the variable
12310 If your version of make does not support VPATH correctly,
12311 please install GNU-make (possibly as gmake), and start
12312 configure with the following command:
12313 export MAKE=gmake; ./configure for sh-type shells
12314 setenv MAKE gmake; ./configure for csh-type shells
12315 Also please do remember to use gmake in this case every time
12316 you are trying to compile.
12318 echo "$as_me: error:
12319 You need a make-utility that is able to use the variable
12321 If your version of make does not support VPATH correctly,
12322 please install GNU-make (possibly as gmake), and start
12323 configure with the following command:
12324 export MAKE=gmake; ./configure for sh-type shells
12325 setenv MAKE gmake; ./configure for csh-type shells
12326 Also please do remember to use gmake in this case every time
12327 you are trying to compile.
12329 { (exit 1); exit 1; }; }
12331 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12332 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12334 if test "$LN_S" = "ln -s"; then
12335 echo "$as_me:$LINENO: result: yes" >&5
12336 echo "${ECHO_T}yes" >&6
12338 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12339 echo "${ECHO_T}no, using $LN_S" >&6
12345 *-pc-os2_emx | *-pc-os2-emx )
12346 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12347 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12348 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12349 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 ac_check_lib_save_LIBS
=$LIBS
12353 LIBS
="-lcExt $LIBS"
12354 cat >conftest.
$ac_ext <<_ACEOF
12357 cat confdefs.h
>>conftest.
$ac_ext
12358 cat >>conftest.
$ac_ext <<_ACEOF
12359 /* end confdefs.h. */
12361 /* Override any gcc2 internal prototype to avoid an error. */
12365 /* We use char because int might match the return type of a gcc2
12366 builtin and then its argument prototype would still apply. */
12376 rm -f conftest.
$ac_objext conftest
$ac_exeext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12378 (eval $ac_link) 2>conftest.er1
12380 grep -v '^ *+' conftest.er1
>conftest.err
12382 cat conftest.err
>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try
='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try
='test -s conftest$ac_exeext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 ac_cv_lib_cExt_drand48
=yes
12400 echo "$as_me: failed program was:" >&5
12401 sed 's/^/| /' conftest.
$ac_ext >&5
12403 ac_cv_lib_cExt_drand48
=no
12405 rm -f conftest.err conftest.
$ac_objext \
12406 conftest
$ac_exeext conftest.
$ac_ext
12407 LIBS
=$ac_check_lib_save_LIBS
12409 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12410 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12411 if test $ac_cv_lib_cExt_drand48 = yes; then
12412 LIBS
="$LIBS -lcExt"
12416 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12418 echo "$as_me:$LINENO: checking for gcc version" >&5
12419 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12420 if test "${wx_cv_gccversion+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12424 cat >conftest.
$ac_ext <<_ACEOF
12427 cat confdefs.h
>>conftest.
$ac_ext
12428 cat >>conftest.
$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12443 rm -f conftest.
$ac_objext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12445 (eval $ac_compile) 2>conftest.er1
12447 grep -v '^ *+' conftest.er1
>conftest.err
12449 cat conftest.err
>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try
='test -z "$ac_c_werror_flag"
12453 || test ! -s conftest.err'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try
='test -s conftest.$ac_objext'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; }; then
12466 cat >conftest.
$ac_ext <<_ACEOF
12469 cat confdefs.h
>>conftest.
$ac_ext
12470 cat >>conftest.
$ac_ext <<_ACEOF
12471 /* end confdefs.h. */
12477 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12478 #error intermediate gcc
12485 rm -f conftest.
$ac_objext
12486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12487 (eval $ac_compile) 2>conftest.er1
12489 grep -v '^ *+' conftest.er1
>conftest.err
12491 cat conftest.err
>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); } &&
12494 { ac_try
='test -z "$ac_c_werror_flag"
12495 || test ! -s conftest.err'
12496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497 (eval $ac_try) 2>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }; } &&
12501 { ac_try
='test -s conftest.$ac_objext'
12502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 (eval $ac_try) 2>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; }; then
12508 wx_cv_gccversion
=Innotek
12511 echo "$as_me: failed program was:" >&5
12512 sed 's/^/| /' conftest.
$ac_ext >&5
12519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.
$ac_ext >&5
12530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12533 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12534 echo "${ECHO_T}$wx_cv_gccversion" >&6
12535 if test "$wx_cv_gccversion" = "2"; then
12536 LIBS
="$LIBS -lstdcpp"
12537 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12539 if test "$wx_cv_gccversion" = "3"; then
12540 LIBS
="$LIBS -lstdcxx"
12541 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12543 LIBS
="$LIBS -lstdc++"
12546 if test "$wxUSE_OMF" = "yes"; then
12547 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12555 ac_cpp
='$CXXCPP $CPPFLAGS'
12556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12562 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12563 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12564 if test "${ac_cv_string_strcasecmp+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 cat >conftest.
$ac_ext <<_ACEOF
12571 cat confdefs.h
>>conftest.
$ac_ext
12572 cat >>conftest.
$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12575 #include <string.h>
12581 strcasecmp("foo", "bar");
12587 rm -f conftest.
$ac_objext conftest
$ac_exeext
12588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12589 (eval $ac_link) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1
>conftest.err
12593 cat conftest.err
>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } &&
12596 { ac_try
='test -z "$ac_cxx_werror_flag"
12597 || test ! -s conftest.err'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try
='test -s conftest$ac_exeext'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 ac_cv_string_strcasecmp
=yes
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.
$ac_ext >&5
12614 ac_cv_string_strcasecmp
=no
12617 rm -f conftest.err conftest.
$ac_objext \
12618 conftest
$ac_exeext conftest.
$ac_ext
12621 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12622 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12624 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12625 cat >>confdefs.h
<<\_ACEOF
12626 #define HAVE_STRCASECMP_IN_STRING_H 1
12630 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12631 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12632 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 cat >conftest.
$ac_ext <<_ACEOF
12639 cat confdefs.h
>>conftest.
$ac_ext
12640 cat >>conftest.
$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12643 #include <strings.h>
12649 strcasecmp("foo", "bar");
12655 rm -f conftest.
$ac_objext conftest
$ac_exeext
12656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12657 (eval $ac_link) 2>conftest.er1
12659 grep -v '^ *+' conftest.er1
>conftest.err
12661 cat conftest.err
>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try
='test -z "$ac_cxx_werror_flag"
12665 || test ! -s conftest.err'
12666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667 (eval $ac_try) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; } &&
12671 { ac_try
='test -s conftest$ac_exeext'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; }; then
12677 ac_cv_strings_strcasecmp
=yes
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.
$ac_ext >&5
12682 ac_cv_strings_strcasecmp
=no
12685 rm -f conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12689 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12690 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12692 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12693 cat >>confdefs.h
<<\_ACEOF
12694 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12698 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12699 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12700 { (exit 1); exit 1; }; }
12705 ac_cpp
='$CPP $CPPFLAGS'
12706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12714 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12715 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12716 if test "${ac_cv_header_stdc+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 cat >conftest.
$ac_ext <<_ACEOF
12722 cat confdefs.h
>>conftest.
$ac_ext
12723 cat >>conftest.
$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 #include <stdlib.h>
12726 #include <stdarg.h>
12727 #include <string.h>
12738 rm -f conftest.
$ac_objext
12739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12740 (eval $ac_compile) 2>conftest.er1
12742 grep -v '^ *+' conftest.er1
>conftest.err
12744 cat conftest.err
>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
12747 { ac_try
='test -z "$ac_c_werror_flag"
12748 || test ! -s conftest.err'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try
='test -s conftest.$ac_objext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_cv_header_stdc
=yes
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 ac_cv_header_stdc
=no
12767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12769 if test $ac_cv_header_stdc = yes; then
12770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12771 cat >conftest.
$ac_ext <<_ACEOF
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 #include <string.h>
12780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12781 $EGREP "memchr" >/dev
/null
2>&1; then
12784 ac_cv_header_stdc
=no
12790 if test $ac_cv_header_stdc = yes; then
12791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12792 cat >conftest.
$ac_ext <<_ACEOF
12795 cat confdefs.h
>>conftest.
$ac_ext
12796 cat >>conftest.
$ac_ext <<_ACEOF
12797 /* end confdefs.h. */
12798 #include <stdlib.h>
12801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12802 $EGREP "free" >/dev
/null
2>&1; then
12805 ac_cv_header_stdc
=no
12811 if test $ac_cv_header_stdc = yes; then
12812 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12813 if test "$cross_compiling" = yes; then
12816 cat >conftest.
$ac_ext <<_ACEOF
12819 cat confdefs.h
>>conftest.
$ac_ext
12820 cat >>conftest.
$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12823 #if ((' ' & 0x0FF) == 0x020)
12824 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12825 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12827 # define ISLOWER(c) \
12828 (('a' <= (c) && (c) <= 'i') \
12829 || ('j' <= (c) && (c) <= 'r') \
12830 || ('s' <= (c) && (c) <= 'z'))
12831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12839 for (i = 0; i < 256; i++)
12840 if (XOR (islower (i), ISLOWER (i))
12841 || toupper (i) != TOUPPER (i))
12846 rm -f conftest
$ac_exeext
12847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12848 (eval $ac_link) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; }; then
12859 echo "$as_me: program exited with status $ac_status" >&5
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.
$ac_ext >&5
12863 ( exit $ac_status )
12864 ac_cv_header_stdc
=no
12866 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12870 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12871 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12872 if test $ac_cv_header_stdc = yes; then
12874 cat >>confdefs.h
<<\_ACEOF
12875 #define STDC_HEADERS 1
12880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12890 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12891 inttypes.h stdint.h unistd.h
12893 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12894 echo "$as_me:$LINENO: checking for $ac_header" >&5
12895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 cat >conftest.
$ac_ext <<_ACEOF
12902 cat confdefs.h
>>conftest.
$ac_ext
12903 cat >>conftest.
$ac_ext <<_ACEOF
12904 /* end confdefs.h. */
12905 $ac_includes_default
12907 #include <$ac_header>
12909 rm -f conftest.
$ac_objext
12910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12911 (eval $ac_compile) 2>conftest.er1
12913 grep -v '^ *+' conftest.er1
>conftest.err
12915 cat conftest.err
>&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); } &&
12918 { ac_try
='test -z "$ac_c_werror_flag"
12919 || test ! -s conftest.err'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; } &&
12925 { ac_try
='test -s conftest.$ac_objext'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; }; then
12931 eval "$as_ac_Header=yes"
12933 echo "$as_me: failed program was:" >&5
12934 sed 's/^/| /' conftest.
$ac_ext >&5
12936 eval "$as_ac_Header=no"
12938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12943 cat >>confdefs.h
<<_ACEOF
12944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12953 for ac_header
in stdlib.h
12955 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12957 echo "$as_me:$LINENO: checking for $ac_header" >&5
12958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12965 # Is the header compilable?
12966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12968 cat >conftest.
$ac_ext <<_ACEOF
12971 cat confdefs.h
>>conftest.
$ac_ext
12972 cat >>conftest.
$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12974 $ac_includes_default
12975 #include <$ac_header>
12977 rm -f conftest.
$ac_objext
12978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12979 (eval $ac_compile) 2>conftest.er1
12981 grep -v '^ *+' conftest.er1
>conftest.err
12983 cat conftest.err
>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } &&
12986 { ac_try
='test -z "$ac_c_werror_flag"
12987 || test ! -s conftest.err'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try
='test -s conftest.$ac_objext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 ac_header_compiler
=yes
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.
$ac_ext >&5
13004 ac_header_compiler
=no
13006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13008 echo "${ECHO_T}$ac_header_compiler" >&6
13010 # Is the header present?
13011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13013 cat >conftest.
$ac_ext <<_ACEOF
13016 cat confdefs.h
>>conftest.
$ac_ext
13017 cat >>conftest.
$ac_ext <<_ACEOF
13018 /* end confdefs.h. */
13019 #include <$ac_header>
13021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13024 grep -v '^ *+' conftest.er1
>conftest.err
13026 cat conftest.err
>&5
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); } >/dev
/null
; then
13029 if test -s conftest.err
; then
13030 ac_cpp_err
=$ac_c_preproc_warn_flag
13031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13038 if test -z "$ac_cpp_err"; then
13039 ac_header_preproc
=yes
13041 echo "$as_me: failed program was:" >&5
13042 sed 's/^/| /' conftest.
$ac_ext >&5
13044 ac_header_preproc
=no
13046 rm -f conftest.err conftest.
$ac_ext
13047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13048 echo "${ECHO_T}$ac_header_preproc" >&6
13050 # So? What about this header?
13051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13057 ac_header_preproc
=yes
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13074 ## ----------------------------------------- ##
13075 ## Report this to wx-dev@lists.wxwidgets.org ##
13076 ## ----------------------------------------- ##
13079 sed "s/^/$as_me: WARNING: /" >&2
13082 echo "$as_me:$LINENO: checking for $ac_header" >&5
13083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 eval "$as_ac_Header=\$ac_header_preproc"
13089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13094 cat >>confdefs.h
<<_ACEOF
13095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13103 for ac_header
in malloc.h
13105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13107 echo "$as_me:$LINENO: checking for $ac_header" >&5
13108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13110 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13115 # Is the header compilable?
13116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13118 cat >conftest.
$ac_ext <<_ACEOF
13121 cat confdefs.h
>>conftest.
$ac_ext
13122 cat >>conftest.
$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13124 $ac_includes_default
13125 #include <$ac_header>
13127 rm -f conftest.
$ac_objext
13128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13129 (eval $ac_compile) 2>conftest.er1
13131 grep -v '^ *+' conftest.er1
>conftest.err
13133 cat conftest.err
>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try
='test -z "$ac_c_werror_flag"
13137 || test ! -s conftest.err'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; } &&
13143 { ac_try
='test -s conftest.$ac_objext'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; }; then
13149 ac_header_compiler
=yes
13151 echo "$as_me: failed program was:" >&5
13152 sed 's/^/| /' conftest.
$ac_ext >&5
13154 ac_header_compiler
=no
13156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13158 echo "${ECHO_T}$ac_header_compiler" >&6
13160 # Is the header present?
13161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13163 cat >conftest.
$ac_ext <<_ACEOF
13166 cat confdefs.h
>>conftest.
$ac_ext
13167 cat >>conftest.
$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13169 #include <$ac_header>
13171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13174 grep -v '^ *+' conftest.er1
>conftest.err
13176 cat conftest.err
>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } >/dev
/null
; then
13179 if test -s conftest.err
; then
13180 ac_cpp_err
=$ac_c_preproc_warn_flag
13181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13188 if test -z "$ac_cpp_err"; then
13189 ac_header_preproc
=yes
13191 echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.
$ac_ext >&5
13194 ac_header_preproc
=no
13196 rm -f conftest.err conftest.
$ac_ext
13197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13198 echo "${ECHO_T}$ac_header_preproc" >&6
13200 # So? What about this header?
13201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13207 ac_header_preproc
=yes
13210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13224 ## ----------------------------------------- ##
13225 ## Report this to wx-dev@lists.wxwidgets.org ##
13226 ## ----------------------------------------- ##
13229 sed "s/^/$as_me: WARNING: /" >&2
13232 echo "$as_me:$LINENO: checking for $ac_header" >&5
13233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13235 echo $ECHO_N "(cached) $ECHO_C" >&6
13237 eval "$as_ac_Header=\$ac_header_preproc"
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13244 cat >>confdefs.h
<<_ACEOF
13245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13253 for ac_header
in unistd.h
13255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13257 echo "$as_me:$LINENO: checking for $ac_header" >&5
13258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13265 # Is the header compilable?
13266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13268 cat >conftest.
$ac_ext <<_ACEOF
13271 cat confdefs.h
>>conftest.
$ac_ext
13272 cat >>conftest.
$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274 $ac_includes_default
13275 #include <$ac_header>
13277 rm -f conftest.
$ac_objext
13278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13279 (eval $ac_compile) 2>conftest.er1
13281 grep -v '^ *+' conftest.er1
>conftest.err
13283 cat conftest.err
>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } &&
13286 { ac_try
='test -z "$ac_c_werror_flag"
13287 || test ! -s conftest.err'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; } &&
13293 { ac_try
='test -s conftest.$ac_objext'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; }; then
13299 ac_header_compiler
=yes
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.
$ac_ext >&5
13304 ac_header_compiler
=no
13306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13308 echo "${ECHO_T}$ac_header_compiler" >&6
13310 # Is the header present?
13311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13313 cat >conftest.
$ac_ext <<_ACEOF
13316 cat confdefs.h
>>conftest.
$ac_ext
13317 cat >>conftest.
$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13319 #include <$ac_header>
13321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13324 grep -v '^ *+' conftest.er1
>conftest.err
13326 cat conftest.err
>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } >/dev
/null
; then
13329 if test -s conftest.err
; then
13330 ac_cpp_err
=$ac_c_preproc_warn_flag
13331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13338 if test -z "$ac_cpp_err"; then
13339 ac_header_preproc
=yes
13341 echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.
$ac_ext >&5
13344 ac_header_preproc
=no
13346 rm -f conftest.err conftest.
$ac_ext
13347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13348 echo "${ECHO_T}$ac_header_preproc" >&6
13350 # So? What about this header?
13351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13357 ac_header_preproc
=yes
13360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13374 ## ----------------------------------------- ##
13375 ## Report this to wx-dev@lists.wxwidgets.org ##
13376 ## ----------------------------------------- ##
13379 sed "s/^/$as_me: WARNING: /" >&2
13382 echo "$as_me:$LINENO: checking for $ac_header" >&5
13383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13385 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 eval "$as_ac_Header=\$ac_header_preproc"
13389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13394 cat >>confdefs.h
<<_ACEOF
13395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13403 for ac_header
in wchar.h
13405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13407 echo "$as_me:$LINENO: checking for $ac_header" >&5
13408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13415 # Is the header compilable?
13416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13418 cat >conftest.
$ac_ext <<_ACEOF
13421 cat confdefs.h
>>conftest.
$ac_ext
13422 cat >>conftest.
$ac_ext <<_ACEOF
13423 /* end confdefs.h. */
13424 $ac_includes_default
13425 #include <$ac_header>
13427 rm -f conftest.
$ac_objext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13429 (eval $ac_compile) 2>conftest.er1
13431 grep -v '^ *+' conftest.er1
>conftest.err
13433 cat conftest.err
>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try
='test -z "$ac_c_werror_flag"
13437 || test ! -s conftest.err'
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; } &&
13443 { ac_try
='test -s conftest.$ac_objext'
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13449 ac_header_compiler
=yes
13451 echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.
$ac_ext >&5
13454 ac_header_compiler
=no
13456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13458 echo "${ECHO_T}$ac_header_compiler" >&6
13460 # Is the header present?
13461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13463 cat >conftest.
$ac_ext <<_ACEOF
13466 cat confdefs.h
>>conftest.
$ac_ext
13467 cat >>conftest.
$ac_ext <<_ACEOF
13468 /* end confdefs.h. */
13469 #include <$ac_header>
13471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13474 grep -v '^ *+' conftest.er1
>conftest.err
13476 cat conftest.err
>&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); } >/dev
/null
; then
13479 if test -s conftest.err
; then
13480 ac_cpp_err
=$ac_c_preproc_warn_flag
13481 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13488 if test -z "$ac_cpp_err"; then
13489 ac_header_preproc
=yes
13491 echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.
$ac_ext >&5
13494 ac_header_preproc
=no
13496 rm -f conftest.err conftest.
$ac_ext
13497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13498 echo "${ECHO_T}$ac_header_preproc" >&6
13500 # So? What about this header?
13501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13504 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13506 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13507 ac_header_preproc
=yes
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13515 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13517 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13521 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13524 ## ----------------------------------------- ##
13525 ## Report this to wx-dev@lists.wxwidgets.org ##
13526 ## ----------------------------------------- ##
13529 sed "s/^/$as_me: WARNING: /" >&2
13532 echo "$as_me:$LINENO: checking for $ac_header" >&5
13533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13535 echo $ECHO_N "(cached) $ECHO_C" >&6
13537 eval "$as_ac_Header=\$ac_header_preproc"
13539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13544 cat >>confdefs.h
<<_ACEOF
13545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13553 if test "$ac_cv_header_wchar_h" != "yes"; then
13555 for ac_header
in wcstr.h
13557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13559 echo "$as_me:$LINENO: checking for $ac_header" >&5
13560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13567 # Is the header compilable?
13568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13570 cat >conftest.
$ac_ext <<_ACEOF
13573 cat confdefs.h
>>conftest.
$ac_ext
13574 cat >>conftest.
$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 $ac_includes_default
13577 #include <$ac_header>
13579 rm -f conftest.
$ac_objext
13580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13581 (eval $ac_compile) 2>conftest.er1
13583 grep -v '^ *+' conftest.er1
>conftest.err
13585 cat conftest.err
>&5
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); } &&
13588 { ac_try
='test -z "$ac_c_werror_flag"
13589 || test ! -s conftest.err'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; } &&
13595 { ac_try
='test -s conftest.$ac_objext'
13596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13597 (eval $ac_try) 2>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); }; }; then
13601 ac_header_compiler
=yes
13603 echo "$as_me: failed program was:" >&5
13604 sed 's/^/| /' conftest.
$ac_ext >&5
13606 ac_header_compiler
=no
13608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13610 echo "${ECHO_T}$ac_header_compiler" >&6
13612 # Is the header present?
13613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13615 cat >conftest.
$ac_ext <<_ACEOF
13618 cat confdefs.h
>>conftest.
$ac_ext
13619 cat >>conftest.
$ac_ext <<_ACEOF
13620 /* end confdefs.h. */
13621 #include <$ac_header>
13623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13626 grep -v '^ *+' conftest.er1
>conftest.err
13628 cat conftest.err
>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); } >/dev
/null
; then
13631 if test -s conftest.err
; then
13632 ac_cpp_err
=$ac_c_preproc_warn_flag
13633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13640 if test -z "$ac_cpp_err"; then
13641 ac_header_preproc
=yes
13643 echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.
$ac_ext >&5
13646 ac_header_preproc
=no
13648 rm -f conftest.err conftest.
$ac_ext
13649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13650 echo "${ECHO_T}$ac_header_preproc" >&6
13652 # So? What about this header?
13653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13659 ac_header_preproc
=yes
13662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13676 ## ----------------------------------------- ##
13677 ## Report this to wx-dev@lists.wxwidgets.org ##
13678 ## ----------------------------------------- ##
13681 sed "s/^/$as_me: WARNING: /" >&2
13684 echo "$as_me:$LINENO: checking for $ac_header" >&5
13685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 eval "$as_ac_Header=\$ac_header_preproc"
13691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13696 cat >>confdefs.h
<<_ACEOF
13697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13707 for ac_header
in fnmatch.h
13709 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13711 echo "$as_me:$LINENO: checking for $ac_header" >&5
13712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13714 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13719 # Is the header compilable?
13720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13722 cat >conftest.
$ac_ext <<_ACEOF
13725 cat confdefs.h
>>conftest.
$ac_ext
13726 cat >>conftest.
$ac_ext <<_ACEOF
13727 /* end confdefs.h. */
13728 $ac_includes_default
13729 #include <$ac_header>
13731 rm -f conftest.
$ac_objext
13732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13733 (eval $ac_compile) 2>conftest.er1
13735 grep -v '^ *+' conftest.er1
>conftest.err
13737 cat conftest.err
>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -z "$ac_c_werror_flag"
13741 || test ! -s conftest.err'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try
='test -s conftest.$ac_objext'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13753 ac_header_compiler
=yes
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.
$ac_ext >&5
13758 ac_header_compiler
=no
13760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13762 echo "${ECHO_T}$ac_header_compiler" >&6
13764 # Is the header present?
13765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13767 cat >conftest.
$ac_ext <<_ACEOF
13770 cat confdefs.h
>>conftest.
$ac_ext
13771 cat >>conftest.
$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 #include <$ac_header>
13775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13776 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13778 grep -v '^ *+' conftest.er1
>conftest.err
13780 cat conftest.err
>&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } >/dev
/null
; then
13783 if test -s conftest.err
; then
13784 ac_cpp_err
=$ac_c_preproc_warn_flag
13785 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13792 if test -z "$ac_cpp_err"; then
13793 ac_header_preproc
=yes
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.
$ac_ext >&5
13798 ac_header_preproc
=no
13800 rm -f conftest.err conftest.
$ac_ext
13801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13802 echo "${ECHO_T}$ac_header_preproc" >&6
13804 # So? What about this header?
13805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13811 ac_header_preproc
=yes
13814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13828 ## ----------------------------------------- ##
13829 ## Report this to wx-dev@lists.wxwidgets.org ##
13830 ## ----------------------------------------- ##
13833 sed "s/^/$as_me: WARNING: /" >&2
13836 echo "$as_me:$LINENO: checking for $ac_header" >&5
13837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 eval "$as_ac_Header=\$ac_header_preproc"
13843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13848 cat >>confdefs.h
<<_ACEOF
13849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13857 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13859 for ac_func
in fnmatch
13861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13862 echo "$as_me:$LINENO: checking for $ac_func" >&5
13863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13864 if eval "test \"\${$as_ac_var+set}\" = set"; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13867 cat >conftest.
$ac_ext <<_ACEOF
13870 cat confdefs.h
>>conftest.
$ac_ext
13871 cat >>conftest.
$ac_ext <<_ACEOF
13872 /* end confdefs.h. */
13873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13875 #define $ac_func innocuous_$ac_func
13877 /* System header to define __stub macros and hopefully few prototypes,
13878 which can conflict with char $ac_func (); below.
13879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13880 <limits.h> exists even on freestanding compilers. */
13883 # include <limits.h>
13885 # include <assert.h>
13890 /* Override any gcc2 internal prototype to avoid an error. */
13895 /* We use char because int might match the return type of a gcc2
13896 builtin and then its argument prototype would still apply. */
13898 /* The GNU C library defines this for functions which it implements
13899 to always fail with ENOSYS. Some functions are actually named
13900 something starting with __ and the normal name is an alias. */
13901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13904 char (*f) () = $ac_func;
13913 return f != $ac_func;
13918 rm -f conftest.
$ac_objext conftest
$ac_exeext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13920 (eval $ac_link) 2>conftest.er1
13922 grep -v '^ *+' conftest.er1
>conftest.err
13924 cat conftest.err
>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try
='test -z "$ac_c_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try
='test -s conftest$ac_exeext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13940 eval "$as_ac_var=yes"
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.
$ac_ext >&5
13945 eval "$as_ac_var=no"
13947 rm -f conftest.err conftest.
$ac_objext \
13948 conftest
$ac_exeext conftest.
$ac_ext
13950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13952 if test `eval echo '${'$as_ac_var'}'` = yes; then
13953 cat >>confdefs.h
<<_ACEOF
13954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13963 for ac_header
in langinfo.h
13965 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13967 echo "$as_me:$LINENO: checking for $ac_header" >&5
13968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13975 # Is the header compilable?
13976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13978 cat >conftest.
$ac_ext <<_ACEOF
13981 cat confdefs.h
>>conftest.
$ac_ext
13982 cat >>conftest.
$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 $ac_includes_default
13985 #include <$ac_header>
13987 rm -f conftest.
$ac_objext
13988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13989 (eval $ac_compile) 2>conftest.er1
13991 grep -v '^ *+' conftest.er1
>conftest.err
13993 cat conftest.err
>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); } &&
13996 { ac_try
='test -z "$ac_c_werror_flag"
13997 || test ! -s conftest.err'
13998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13999 (eval $ac_try) 2>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; } &&
14003 { ac_try
='test -s conftest.$ac_objext'
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; }; then
14009 ac_header_compiler
=yes
14011 echo "$as_me: failed program was:" >&5
14012 sed 's/^/| /' conftest.
$ac_ext >&5
14014 ac_header_compiler
=no
14016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14018 echo "${ECHO_T}$ac_header_compiler" >&6
14020 # Is the header present?
14021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14023 cat >conftest.
$ac_ext <<_ACEOF
14026 cat confdefs.h
>>conftest.
$ac_ext
14027 cat >>conftest.
$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 #include <$ac_header>
14031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14034 grep -v '^ *+' conftest.er1
>conftest.err
14036 cat conftest.err
>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } >/dev
/null
; then
14039 if test -s conftest.err
; then
14040 ac_cpp_err
=$ac_c_preproc_warn_flag
14041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14048 if test -z "$ac_cpp_err"; then
14049 ac_header_preproc
=yes
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.
$ac_ext >&5
14054 ac_header_preproc
=no
14056 rm -f conftest.err conftest.
$ac_ext
14057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14058 echo "${ECHO_T}$ac_header_preproc" >&6
14060 # So? What about this header?
14061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14067 ac_header_preproc
=yes
14070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14084 ## ----------------------------------------- ##
14085 ## Report this to wx-dev@lists.wxwidgets.org ##
14086 ## ----------------------------------------- ##
14089 sed "s/^/$as_me: WARNING: /" >&2
14092 echo "$as_me:$LINENO: checking for $ac_header" >&5
14093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14095 echo $ECHO_N "(cached) $ECHO_C" >&6
14097 eval "$as_ac_Header=\$ac_header_preproc"
14099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14104 cat >>confdefs.h
<<_ACEOF
14105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14114 *-pc-os2_emx | *-pc-os2-emx )
14115 if test $ac_cv_header_langinfo_h = "yes"; then
14116 LIBS
="$LIBS -lintl"
14121 if test "$wxUSE_GUI" = "yes"; then
14122 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14124 for ac_header
in X
11/Xlib.h
14126 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14128 echo "$as_me:$LINENO: checking for $ac_header" >&5
14129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14136 # Is the header compilable?
14137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14139 cat >conftest.
$ac_ext <<_ACEOF
14142 cat confdefs.h
>>conftest.
$ac_ext
14143 cat >>conftest.
$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14145 $ac_includes_default
14146 #include <$ac_header>
14148 rm -f conftest.
$ac_objext
14149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14150 (eval $ac_compile) 2>conftest.er1
14152 grep -v '^ *+' conftest.er1
>conftest.err
14154 cat conftest.err
>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } &&
14157 { ac_try
='test -z "$ac_c_werror_flag"
14158 || test ! -s conftest.err'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; } &&
14164 { ac_try
='test -s conftest.$ac_objext'
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; }; then
14170 ac_header_compiler
=yes
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.
$ac_ext >&5
14175 ac_header_compiler
=no
14177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14179 echo "${ECHO_T}$ac_header_compiler" >&6
14181 # Is the header present?
14182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14184 cat >conftest.
$ac_ext <<_ACEOF
14187 cat confdefs.h
>>conftest.
$ac_ext
14188 cat >>conftest.
$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14190 #include <$ac_header>
14192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14195 grep -v '^ *+' conftest.er1
>conftest.err
14197 cat conftest.err
>&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } >/dev
/null
; then
14200 if test -s conftest.err
; then
14201 ac_cpp_err
=$ac_c_preproc_warn_flag
14202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14209 if test -z "$ac_cpp_err"; then
14210 ac_header_preproc
=yes
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.
$ac_ext >&5
14215 ac_header_preproc
=no
14217 rm -f conftest.err conftest.
$ac_ext
14218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14219 echo "${ECHO_T}$ac_header_preproc" >&6
14221 # So? What about this header?
14222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14228 ac_header_preproc
=yes
14231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14245 ## ----------------------------------------- ##
14246 ## Report this to wx-dev@lists.wxwidgets.org ##
14247 ## ----------------------------------------- ##
14250 sed "s/^/$as_me: WARNING: /" >&2
14253 echo "$as_me:$LINENO: checking for $ac_header" >&5
14254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 eval "$as_ac_Header=\$ac_header_preproc"
14260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14265 cat >>confdefs.h
<<_ACEOF
14266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14274 for ac_header
in X
11/XKBlib.h
14276 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14277 echo "$as_me:$LINENO: checking for $ac_header" >&5
14278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14280 echo $ECHO_N "(cached) $ECHO_C" >&6
14282 cat >conftest.
$ac_ext <<_ACEOF
14285 cat confdefs.h
>>conftest.
$ac_ext
14286 cat >>conftest.
$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14289 #if HAVE_X11_XLIB_H
14290 #include <X11/Xlib.h>
14294 #include <$ac_header>
14296 rm -f conftest.
$ac_objext
14297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14298 (eval $ac_compile) 2>conftest.er1
14300 grep -v '^ *+' conftest.er1
>conftest.err
14302 cat conftest.err
>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
14305 { ac_try
='test -z "$ac_c_werror_flag"
14306 || test ! -s conftest.err'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; } &&
14312 { ac_try
='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 eval "$as_ac_Header=yes"
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.
$ac_ext >&5
14323 eval "$as_ac_Header=no"
14325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14330 cat >>confdefs.h
<<_ACEOF
14331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14342 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14343 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14344 if test "${ac_cv_c_const+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 cat >conftest.
$ac_ext <<_ACEOF
14350 cat confdefs.h
>>conftest.
$ac_ext
14351 cat >>conftest.
$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14357 /* FIXME: Include the comments suggested by Paul. */
14358 #ifndef __cplusplus
14359 /* Ultrix mips cc rejects this. */
14360 typedef int charset[2];
14362 /* SunOS 4.1.1 cc rejects this. */
14363 char const *const *ccp;
14365 /* NEC SVR4.0.2 mips cc rejects this. */
14366 struct point {int x, y;};
14367 static struct point const zero = {0,0};
14368 /* AIX XL C 1.02.0.0 rejects this.
14369 It does not let you subtract one const X* pointer from another in
14370 an arm of an if-expression whose if-part is not a constant
14372 const char *g = "string";
14373 ccp = &g + (g ? g-g : 0);
14374 /* HPUX 7.0 cc rejects these. */
14377 ccp = (char const *const *) p;
14378 { /* SCO 3.2v4 cc rejects this. */
14380 char const *s = 0 ? (char *) 0 : (char const *) 0;
14384 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14385 int x[] = {25, 17};
14386 const int *foo = &x[0];
14389 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14390 typedef const int *iptr;
14394 { /* AIX XL C 1.02.0.0 rejects this saying
14395 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14396 struct s { int j; const int *ap[3]; };
14397 struct s *b; b->j = 5;
14399 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14400 const int foo = 10;
14408 rm -f conftest.
$ac_objext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14410 (eval $ac_compile) 2>conftest.er1
14412 grep -v '^ *+' conftest.er1
>conftest.err
14414 cat conftest.err
>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
14417 { ac_try
='test -z "$ac_c_werror_flag"
14418 || test ! -s conftest.err'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try
='test -s conftest.$ac_objext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.
$ac_ext >&5
14437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14439 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14440 echo "${ECHO_T}$ac_cv_c_const" >&6
14441 if test $ac_cv_c_const = no
; then
14443 cat >>confdefs.h
<<\_ACEOF
14449 echo "$as_me:$LINENO: checking for inline" >&5
14450 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14451 if test "${ac_cv_c_inline+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 for ac_kw
in inline __inline__ __inline
; do
14456 cat >conftest.
$ac_ext <<_ACEOF
14459 cat confdefs.h
>>conftest.
$ac_ext
14460 cat >>conftest.
$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 #ifndef __cplusplus
14464 static $ac_kw foo_t static_foo () {return 0; }
14465 $ac_kw foo_t foo () {return 0; }
14469 rm -f conftest.
$ac_objext
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>conftest.er1
14473 grep -v '^ *+' conftest.er1
>conftest.err
14475 cat conftest.err
>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
14478 { ac_try
='test -z "$ac_c_werror_flag"
14479 || test ! -s conftest.err'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; } &&
14485 { ac_try
='test -s conftest.$ac_objext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 ac_cv_c_inline
=$ac_kw; break
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.
$ac_ext >&5
14497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14501 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14502 echo "${ECHO_T}$ac_cv_c_inline" >&6
14505 case $ac_cv_c_inline in
14508 case $ac_cv_c_inline in
14510 *) ac_val
=$ac_cv_c_inline;;
14512 cat >>confdefs.h
<<_ACEOF
14513 #ifndef __cplusplus
14514 #define inline $ac_val
14521 echo "$as_me:$LINENO: checking for char" >&5
14522 echo $ECHO_N "checking for char... $ECHO_C" >&6
14523 if test "${ac_cv_type_char+set}" = set; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14526 cat >conftest.
$ac_ext <<_ACEOF
14529 cat confdefs.h
>>conftest.
$ac_ext
14530 cat >>conftest.
$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532 $ac_includes_default
14544 rm -f conftest.
$ac_objext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546 (eval $ac_compile) 2>conftest.er1
14548 grep -v '^ *+' conftest.er1
>conftest.err
14550 cat conftest.err
>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
14553 { ac_try
='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; } &&
14560 { ac_try
='test -s conftest.$ac_objext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 ac_cv_type_char
=yes
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.
$ac_ext >&5
14573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14575 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14576 echo "${ECHO_T}$ac_cv_type_char" >&6
14578 echo "$as_me:$LINENO: checking size of char" >&5
14579 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14580 if test "${ac_cv_sizeof_char+set}" = set; then
14581 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 if test "$ac_cv_type_char" = yes; then
14584 # The cast to unsigned long works around a bug in the HP C Compiler
14585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14587 # This bug is HP SR number 8606223364.
14588 if test "$cross_compiling" = yes; then
14589 # Depending upon the size, compute the lo and hi bounds.
14590 cat >conftest.
$ac_ext <<_ACEOF
14593 cat confdefs.h
>>conftest.
$ac_ext
14594 cat >>conftest.
$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14596 $ac_includes_default
14600 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14607 rm -f conftest.
$ac_objext
14608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14609 (eval $ac_compile) 2>conftest.er1
14611 grep -v '^ *+' conftest.er1
>conftest.err
14613 cat conftest.err
>&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } &&
14616 { ac_try
='test -z "$ac_c_werror_flag"
14617 || test ! -s conftest.err'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; } &&
14623 { ac_try
='test -s conftest.$ac_objext'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14631 cat >conftest.
$ac_ext <<_ACEOF
14634 cat confdefs.h
>>conftest.
$ac_ext
14635 cat >>conftest.
$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 $ac_includes_default
14641 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14648 rm -f conftest.
$ac_objext
14649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14650 (eval $ac_compile) 2>conftest.er1
14652 grep -v '^ *+' conftest.er1
>conftest.err
14654 cat conftest.err
>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); } &&
14657 { ac_try
='test -z "$ac_c_werror_flag"
14658 || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try
='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 ac_hi
=$ac_mid; break
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.
$ac_ext >&5
14675 ac_lo
=`expr $ac_mid + 1`
14676 if test $ac_lo -le $ac_mid; then
14680 ac_mid
=`expr 2 '*' $ac_mid + 1`
14682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.
$ac_ext >&5
14688 cat >conftest.
$ac_ext <<_ACEOF
14691 cat confdefs.h
>>conftest.
$ac_ext
14692 cat >>conftest.
$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 $ac_includes_default
14698 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14705 rm -f conftest.
$ac_objext
14706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14707 (eval $ac_compile) 2>conftest.er1
14709 grep -v '^ *+' conftest.er1
>conftest.err
14711 cat conftest.err
>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try
='test -z "$ac_c_werror_flag"
14715 || test ! -s conftest.err'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; } &&
14721 { ac_try
='test -s conftest.$ac_objext'
14722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14723 (eval $ac_try) 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; }; then
14729 cat >conftest.
$ac_ext <<_ACEOF
14732 cat confdefs.h
>>conftest.
$ac_ext
14733 cat >>conftest.
$ac_ext <<_ACEOF
14734 /* end confdefs.h. */
14735 $ac_includes_default
14739 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14746 rm -f conftest.
$ac_objext
14747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14748 (eval $ac_compile) 2>conftest.er1
14750 grep -v '^ *+' conftest.er1
>conftest.err
14752 cat conftest.err
>&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); } &&
14755 { ac_try
='test -z "$ac_c_werror_flag"
14756 || test ! -s conftest.err'
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; } &&
14762 { ac_try
='test -s conftest.$ac_objext'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 ac_lo
=$ac_mid; break
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.
$ac_ext >&5
14773 ac_hi
=`expr '(' $ac_mid ')' - 1`
14774 if test $ac_mid -le $ac_hi; then
14778 ac_mid
=`expr 2 '*' $ac_mid`
14780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.
$ac_ext >&5
14788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14791 # Binary search between lo and hi bounds.
14792 while test "x$ac_lo" != "x$ac_hi"; do
14793 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14794 cat >conftest.
$ac_ext <<_ACEOF
14797 cat confdefs.h
>>conftest.
$ac_ext
14798 cat >>conftest.
$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14800 $ac_includes_default
14804 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14811 rm -f conftest.
$ac_objext
14812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14813 (eval $ac_compile) 2>conftest.er1
14815 grep -v '^ *+' conftest.er1
>conftest.err
14817 cat conftest.err
>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } &&
14820 { ac_try
='test -z "$ac_c_werror_flag"
14821 || test ! -s conftest.err'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; } &&
14827 { ac_try
='test -s conftest.$ac_objext'
14828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; }; then
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.
$ac_ext >&5
14838 ac_lo
=`expr '(' $ac_mid ')' + 1`
14840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14843 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14844 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14845 See \`config.log' for more details." >&5
14846 echo "$as_me: error: cannot compute sizeof (char), 77
14847 See \`config.log' for more details." >&2;}
14848 { (exit 1); exit 1; }; } ;;
14851 if test "$cross_compiling" = yes; then
14852 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14853 See \`config.log' for more details." >&5
14854 echo "$as_me: error: cannot run test program while cross compiling
14855 See \`config.log' for more details." >&2;}
14856 { (exit 1); exit 1; }; }
14858 cat >conftest.
$ac_ext <<_ACEOF
14861 cat confdefs.h
>>conftest.
$ac_ext
14862 cat >>conftest.
$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864 $ac_includes_default
14865 long longval () { return (long) (sizeof (char)); }
14866 unsigned long ulongval () { return (long) (sizeof (char)); }
14868 #include <stdlib.h>
14873 FILE *f = fopen ("conftest.val", "w");
14876 if (((long) (sizeof (char))) < 0)
14878 long i = longval ();
14879 if (i != ((long) (sizeof (char))))
14881 fprintf (f, "%ld\n", i);
14885 unsigned long i = ulongval ();
14886 if (i != ((long) (sizeof (char))))
14888 fprintf (f, "%lu\n", i);
14890 exit (ferror (f) || fclose (f) != 0);
14896 rm -f conftest
$ac_exeext
14897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14898 (eval $ac_link) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_cv_sizeof_char
=`cat conftest.val`
14909 echo "$as_me: program exited with status $ac_status" >&5
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 ( exit $ac_status )
14914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14915 See \`config.log' for more details." >&5
14916 echo "$as_me: error: cannot compute sizeof (char), 77
14917 See \`config.log' for more details." >&2;}
14918 { (exit 1); exit 1; }; }
14920 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14925 ac_cv_sizeof_char
=0
14928 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14929 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14930 cat >>confdefs.h
<<_ACEOF
14931 #define SIZEOF_CHAR $ac_cv_sizeof_char
14935 echo "$as_me:$LINENO: checking for short" >&5
14936 echo $ECHO_N "checking for short... $ECHO_C" >&6
14937 if test "${ac_cv_type_short+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 cat >conftest.
$ac_ext <<_ACEOF
14943 cat confdefs.h
>>conftest.
$ac_ext
14944 cat >>conftest.
$ac_ext <<_ACEOF
14945 /* end confdefs.h. */
14946 $ac_includes_default
14952 if (sizeof (short))
14958 rm -f conftest.
$ac_objext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14960 (eval $ac_compile) 2>conftest.er1
14962 grep -v '^ *+' conftest.er1
>conftest.err
14964 cat conftest.err
>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try
='test -z "$ac_c_werror_flag"
14968 || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try
='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_cv_type_short
=yes
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 ac_cv_type_short
=no
14987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14989 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14990 echo "${ECHO_T}$ac_cv_type_short" >&6
14992 echo "$as_me:$LINENO: checking size of short" >&5
14993 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14994 if test "${ac_cv_sizeof_short+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 if test "$ac_cv_type_short" = yes; then
14998 # The cast to unsigned long works around a bug in the HP C Compiler
14999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15000 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15001 # This bug is HP SR number 8606223364.
15002 if test "$cross_compiling" = yes; then
15003 # Depending upon the size, compute the lo and hi bounds.
15004 cat >conftest.
$ac_ext <<_ACEOF
15007 cat confdefs.h
>>conftest.
$ac_ext
15008 cat >>conftest.
$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010 $ac_includes_default
15014 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15021 rm -f conftest.
$ac_objext
15022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15023 (eval $ac_compile) 2>conftest.er1
15025 grep -v '^ *+' conftest.er1
>conftest.err
15027 cat conftest.err
>&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } &&
15030 { ac_try
='test -z "$ac_c_werror_flag"
15031 || test ! -s conftest.err'
15032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 (eval $ac_try) 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; } &&
15037 { ac_try
='test -s conftest.$ac_objext'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; }; then
15045 cat >conftest.
$ac_ext <<_ACEOF
15048 cat confdefs.h
>>conftest.
$ac_ext
15049 cat >>conftest.
$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15051 $ac_includes_default
15055 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15062 rm -f conftest.
$ac_objext
15063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15064 (eval $ac_compile) 2>conftest.er1
15066 grep -v '^ *+' conftest.er1
>conftest.err
15068 cat conftest.err
>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } &&
15071 { ac_try
='test -z "$ac_c_werror_flag"
15072 || test ! -s conftest.err'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; } &&
15078 { ac_try
='test -s conftest.$ac_objext'
15079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15080 (eval $ac_try) 2>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); }; }; then
15084 ac_hi
=$ac_mid; break
15086 echo "$as_me: failed program was:" >&5
15087 sed 's/^/| /' conftest.
$ac_ext >&5
15089 ac_lo
=`expr $ac_mid + 1`
15090 if test $ac_lo -le $ac_mid; then
15094 ac_mid
=`expr 2 '*' $ac_mid + 1`
15096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15099 echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.
$ac_ext >&5
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))) < 0)];
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"
15129 || test ! -s conftest.err'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; } &&
15135 { ac_try
='test -s conftest.$ac_objext'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; }; then
15143 cat >conftest.
$ac_ext <<_ACEOF
15146 cat confdefs.h
>>conftest.
$ac_ext
15147 cat >>conftest.
$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15149 $ac_includes_default
15153 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15160 rm -f conftest.
$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162 (eval $ac_compile) 2>conftest.er1
15164 grep -v '^ *+' conftest.er1
>conftest.err
15166 cat conftest.err
>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); } &&
15169 { ac_try
='test -z "$ac_c_werror_flag"
15170 || test ! -s conftest.err'
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; } &&
15176 { ac_try
='test -s conftest.$ac_objext'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15182 ac_lo
=$ac_mid; break
15184 echo "$as_me: failed program was:" >&5
15185 sed 's/^/| /' conftest.
$ac_ext >&5
15187 ac_hi
=`expr '(' $ac_mid ')' - 1`
15188 if test $ac_mid -le $ac_hi; then
15192 ac_mid
=`expr 2 '*' $ac_mid`
15194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.
$ac_ext >&5
15202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15205 # Binary search between lo and hi bounds.
15206 while test "x$ac_lo" != "x$ac_hi"; do
15207 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15208 cat >conftest.
$ac_ext <<_ACEOF
15211 cat confdefs.h
>>conftest.
$ac_ext
15212 cat >>conftest.
$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214 $ac_includes_default
15218 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15225 rm -f conftest.
$ac_objext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15227 (eval $ac_compile) 2>conftest.er1
15229 grep -v '^ *+' conftest.er1
>conftest.err
15231 cat conftest.err
>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try
='test -z "$ac_c_werror_flag"
15235 || test ! -s conftest.err'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; } &&
15241 { ac_try
='test -s conftest.$ac_objext'
15242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15243 (eval $ac_try) 2>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); }; }; then
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.
$ac_ext >&5
15252 ac_lo
=`expr '(' $ac_mid ')' + 1`
15254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15257 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15258 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15259 See \`config.log' for more details." >&5
15260 echo "$as_me: error: cannot compute sizeof (short), 77
15261 See \`config.log' for more details." >&2;}
15262 { (exit 1); exit 1; }; } ;;
15265 if test "$cross_compiling" = yes; then
15266 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15267 See \`config.log' for more details." >&5
15268 echo "$as_me: error: cannot run test program while cross compiling
15269 See \`config.log' for more details." >&2;}
15270 { (exit 1); exit 1; }; }
15272 cat >conftest.
$ac_ext <<_ACEOF
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278 $ac_includes_default
15279 long longval () { return (long) (sizeof (short)); }
15280 unsigned long ulongval () { return (long) (sizeof (short)); }
15282 #include <stdlib.h>
15287 FILE *f = fopen ("conftest.val", "w");
15290 if (((long) (sizeof (short))) < 0)
15292 long i = longval ();
15293 if (i != ((long) (sizeof (short))))
15295 fprintf (f, "%ld\n", i);
15299 unsigned long i = ulongval ();
15300 if (i != ((long) (sizeof (short))))
15302 fprintf (f, "%lu\n", i);
15304 exit (ferror (f) || fclose (f) != 0);
15310 rm -f conftest
$ac_exeext
15311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15312 (eval $ac_link) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 ac_cv_sizeof_short
=`cat conftest.val`
15323 echo "$as_me: program exited with status $ac_status" >&5
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.
$ac_ext >&5
15327 ( exit $ac_status )
15328 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15329 See \`config.log' for more details." >&5
15330 echo "$as_me: error: cannot compute sizeof (short), 77
15331 See \`config.log' for more details." >&2;}
15332 { (exit 1); exit 1; }; }
15334 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15339 ac_cv_sizeof_short
=0
15342 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15343 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15344 cat >>confdefs.h
<<_ACEOF
15345 #define SIZEOF_SHORT $ac_cv_sizeof_short
15349 echo "$as_me:$LINENO: checking for void *" >&5
15350 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15351 if test "${ac_cv_type_void_p+set}" = set; then
15352 echo $ECHO_N "(cached) $ECHO_C" >&6
15354 cat >conftest.
$ac_ext <<_ACEOF
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15366 if (sizeof (void *))
15372 rm -f conftest.
$ac_objext
15373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374 (eval $ac_compile) 2>conftest.er1
15376 grep -v '^ *+' conftest.er1
>conftest.err
15378 cat conftest.err
>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try
='test -z "$ac_c_werror_flag"
15382 || test ! -s conftest.err'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; } &&
15388 { ac_try
='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15394 ac_cv_type_void_p
=yes
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.
$ac_ext >&5
15399 ac_cv_type_void_p
=no
15401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15403 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15404 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15406 echo "$as_me:$LINENO: checking size of void *" >&5
15407 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15408 if test "${ac_cv_sizeof_void_p+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15411 if test "$ac_cv_type_void_p" = yes; then
15412 # The cast to unsigned long works around a bug in the HP C Compiler
15413 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15414 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15415 # This bug is HP SR number 8606223364.
15416 if test "$cross_compiling" = yes; then
15417 # Depending upon the size, compute the lo and hi bounds.
15418 cat >conftest.
$ac_ext <<_ACEOF
15421 cat confdefs.h
>>conftest.
$ac_ext
15422 cat >>conftest.
$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 $ac_includes_default
15428 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15435 rm -f conftest.
$ac_objext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15437 (eval $ac_compile) 2>conftest.er1
15439 grep -v '^ *+' conftest.er1
>conftest.err
15441 cat conftest.err
>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
15444 { ac_try
='test -z "$ac_c_werror_flag"
15445 || test ! -s conftest.err'
15446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447 (eval $ac_try) 2>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; } &&
15451 { ac_try
='test -s conftest.$ac_objext'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; }; then
15459 cat >conftest.
$ac_ext <<_ACEOF
15462 cat confdefs.h
>>conftest.
$ac_ext
15463 cat >>conftest.
$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15465 $ac_includes_default
15469 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15476 rm -f conftest.
$ac_objext
15477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15478 (eval $ac_compile) 2>conftest.er1
15480 grep -v '^ *+' conftest.er1
>conftest.err
15482 cat conftest.err
>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); } &&
15485 { ac_try
='test -z "$ac_c_werror_flag"
15486 || test ! -s conftest.err'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; } &&
15492 { ac_try
='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_hi
=$ac_mid; break
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15503 ac_lo
=`expr $ac_mid + 1`
15504 if test $ac_lo -le $ac_mid; then
15508 ac_mid
=`expr 2 '*' $ac_mid + 1`
15510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.
$ac_ext >&5
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15526 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15533 rm -f conftest.
$ac_objext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535 (eval $ac_compile) 2>conftest.er1
15537 grep -v '^ *+' conftest.er1
>conftest.err
15539 cat conftest.err
>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } &&
15542 { ac_try
='test -z "$ac_c_werror_flag"
15543 || test ! -s conftest.err'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try
='test -s conftest.$ac_objext'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; }; then
15557 cat >conftest.
$ac_ext <<_ACEOF
15560 cat confdefs.h
>>conftest.
$ac_ext
15561 cat >>conftest.
$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15567 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15574 rm -f conftest.
$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>conftest.er1
15578 grep -v '^ *+' conftest.er1
>conftest.err
15580 cat conftest.err
>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } &&
15583 { ac_try
='test -z "$ac_c_werror_flag"
15584 || test ! -s conftest.err'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; } &&
15590 { ac_try
='test -s conftest.$ac_objext'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 ac_lo
=$ac_mid; break
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.
$ac_ext >&5
15601 ac_hi
=`expr '(' $ac_mid ')' - 1`
15602 if test $ac_mid -le $ac_hi; then
15606 ac_mid
=`expr 2 '*' $ac_mid`
15608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.
$ac_ext >&5
15616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15619 # Binary search between lo and hi bounds.
15620 while test "x$ac_lo" != "x$ac_hi"; do
15621 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15622 cat >conftest.
$ac_ext <<_ACEOF
15625 cat confdefs.h
>>conftest.
$ac_ext
15626 cat >>conftest.
$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628 $ac_includes_default
15632 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15639 rm -f conftest.
$ac_objext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15641 (eval $ac_compile) 2>conftest.er1
15643 grep -v '^ *+' conftest.er1
>conftest.err
15645 cat conftest.err
>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
15648 { ac_try
='test -z "$ac_c_werror_flag"
15649 || test ! -s conftest.err'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; } &&
15655 { ac_try
='test -s conftest.$ac_objext'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; }; then
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15666 ac_lo
=`expr '(' $ac_mid ')' + 1`
15668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15671 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15672 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15673 See \`config.log' for more details." >&5
15674 echo "$as_me: error: cannot compute sizeof (void *), 77
15675 See \`config.log' for more details." >&2;}
15676 { (exit 1); exit 1; }; } ;;
15679 if test "$cross_compiling" = yes; then
15680 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15681 See \`config.log' for more details." >&5
15682 echo "$as_me: error: cannot run test program while cross compiling
15683 See \`config.log' for more details." >&2;}
15684 { (exit 1); exit 1; }; }
15686 cat >conftest.
$ac_ext <<_ACEOF
15689 cat confdefs.h
>>conftest.
$ac_ext
15690 cat >>conftest.
$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15692 $ac_includes_default
15693 long longval () { return (long) (sizeof (void *)); }
15694 unsigned long ulongval () { return (long) (sizeof (void *)); }
15696 #include <stdlib.h>
15701 FILE *f = fopen ("conftest.val", "w");
15704 if (((long) (sizeof (void *))) < 0)
15706 long i = longval ();
15707 if (i != ((long) (sizeof (void *))))
15709 fprintf (f, "%ld\n", i);
15713 unsigned long i = ulongval ();
15714 if (i != ((long) (sizeof (void *))))
15716 fprintf (f, "%lu\n", i);
15718 exit (ferror (f) || fclose (f) != 0);
15724 rm -f conftest
$ac_exeext
15725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15726 (eval $ac_link) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15731 (eval $ac_try) 2>&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); }; }; then
15735 ac_cv_sizeof_void_p
=`cat conftest.val`
15737 echo "$as_me: program exited with status $ac_status" >&5
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 ( exit $ac_status )
15742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15743 See \`config.log' for more details." >&5
15744 echo "$as_me: error: cannot compute sizeof (void *), 77
15745 See \`config.log' for more details." >&2;}
15746 { (exit 1); exit 1; }; }
15748 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15753 ac_cv_sizeof_void_p
=0
15756 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15757 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15758 cat >>confdefs.h
<<_ACEOF
15759 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15763 echo "$as_me:$LINENO: checking for int" >&5
15764 echo $ECHO_N "checking for int... $ECHO_C" >&6
15765 if test "${ac_cv_type_int+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 cat >conftest.
$ac_ext <<_ACEOF
15771 cat confdefs.h
>>conftest.
$ac_ext
15772 cat >>conftest.
$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 $ac_includes_default
15786 rm -f conftest.
$ac_objext
15787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15788 (eval $ac_compile) 2>conftest.er1
15790 grep -v '^ *+' conftest.er1
>conftest.err
15792 cat conftest.err
>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } &&
15795 { ac_try
='test -z "$ac_c_werror_flag"
15796 || test ! -s conftest.err'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try
='test -s conftest.$ac_objext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.
$ac_ext >&5
15815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15817 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15818 echo "${ECHO_T}$ac_cv_type_int" >&6
15820 echo "$as_me:$LINENO: checking size of int" >&5
15821 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15822 if test "${ac_cv_sizeof_int+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 if test "$ac_cv_type_int" = yes; then
15826 # The cast to unsigned long works around a bug in the HP C Compiler
15827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15829 # This bug is HP SR number 8606223364.
15830 if test "$cross_compiling" = yes; then
15831 # Depending upon the size, compute the lo and hi bounds.
15832 cat >conftest.
$ac_ext <<_ACEOF
15835 cat confdefs.h
>>conftest.
$ac_ext
15836 cat >>conftest.
$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15838 $ac_includes_default
15842 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15849 rm -f conftest.
$ac_objext
15850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>conftest.er1
15853 grep -v '^ *+' conftest.er1
>conftest.err
15855 cat conftest.err
>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try
='test -z "$ac_c_werror_flag"
15859 || test ! -s conftest.err'
15860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15861 (eval $ac_try) 2>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; } &&
15865 { ac_try
='test -s conftest.$ac_objext'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; }; then
15873 cat >conftest.
$ac_ext <<_ACEOF
15876 cat confdefs.h
>>conftest.
$ac_ext
15877 cat >>conftest.
$ac_ext <<_ACEOF
15878 /* end confdefs.h. */
15879 $ac_includes_default
15883 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15890 rm -f conftest.
$ac_objext
15891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15892 (eval $ac_compile) 2>conftest.er1
15894 grep -v '^ *+' conftest.er1
>conftest.err
15896 cat conftest.err
>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } &&
15899 { ac_try
='test -z "$ac_c_werror_flag"
15900 || 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
15912 ac_hi
=$ac_mid; break
15914 echo "$as_me: failed program was:" >&5
15915 sed 's/^/| /' conftest.
$ac_ext >&5
15917 ac_lo
=`expr $ac_mid + 1`
15918 if test $ac_lo -le $ac_mid; then
15922 ac_mid
=`expr 2 '*' $ac_mid + 1`
15924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.
$ac_ext >&5
15930 cat >conftest.
$ac_ext <<_ACEOF
15933 cat confdefs.h
>>conftest.
$ac_ext
15934 cat >>conftest.
$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936 $ac_includes_default
15940 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15947 rm -f conftest.
$ac_objext
15948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15949 (eval $ac_compile) 2>conftest.er1
15951 grep -v '^ *+' conftest.er1
>conftest.err
15953 cat conftest.err
>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } &&
15956 { ac_try
='test -z "$ac_c_werror_flag"
15957 || test ! -s conftest.err'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; } &&
15963 { ac_try
='test -s conftest.$ac_objext'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15971 cat >conftest.
$ac_ext <<_ACEOF
15974 cat confdefs.h
>>conftest.
$ac_ext
15975 cat >>conftest.
$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15977 $ac_includes_default
15981 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15988 rm -f conftest.
$ac_objext
15989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15990 (eval $ac_compile) 2>conftest.er1
15992 grep -v '^ *+' conftest.er1
>conftest.err
15994 cat conftest.err
>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); } &&
15997 { ac_try
='test -z "$ac_c_werror_flag"
15998 || test ! -s conftest.err'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16010 ac_lo
=$ac_mid; break
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.
$ac_ext >&5
16015 ac_hi
=`expr '(' $ac_mid ')' - 1`
16016 if test $ac_mid -le $ac_hi; then
16020 ac_mid
=`expr 2 '*' $ac_mid`
16022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.
$ac_ext >&5
16030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16033 # Binary search between lo and hi bounds.
16034 while test "x$ac_lo" != "x$ac_hi"; do
16035 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16036 cat >conftest.
$ac_ext <<_ACEOF
16039 cat confdefs.h
>>conftest.
$ac_ext
16040 cat >>conftest.
$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16042 $ac_includes_default
16046 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16053 rm -f conftest.
$ac_objext
16054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16055 (eval $ac_compile) 2>conftest.er1
16057 grep -v '^ *+' conftest.er1
>conftest.err
16059 cat conftest.err
>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
16062 { ac_try
='test -z "$ac_c_werror_flag"
16063 || test ! -s conftest.err'
16064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 (eval $ac_try) 2>&5
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); }; } &&
16069 { ac_try
='test -s conftest.$ac_objext'
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; }; then
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.
$ac_ext >&5
16080 ac_lo
=`expr '(' $ac_mid ')' + 1`
16082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16085 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16086 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16087 See \`config.log' for more details." >&5
16088 echo "$as_me: error: cannot compute sizeof (int), 77
16089 See \`config.log' for more details." >&2;}
16090 { (exit 1); exit 1; }; } ;;
16093 if test "$cross_compiling" = yes; then
16094 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16095 See \`config.log' for more details." >&5
16096 echo "$as_me: error: cannot run test program while cross compiling
16097 See \`config.log' for more details." >&2;}
16098 { (exit 1); exit 1; }; }
16100 cat >conftest.
$ac_ext <<_ACEOF
16103 cat confdefs.h
>>conftest.
$ac_ext
16104 cat >>conftest.
$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16106 $ac_includes_default
16107 long longval () { return (long) (sizeof (int)); }
16108 unsigned long ulongval () { return (long) (sizeof (int)); }
16110 #include <stdlib.h>
16115 FILE *f = fopen ("conftest.val", "w");
16118 if (((long) (sizeof (int))) < 0)
16120 long i = longval ();
16121 if (i != ((long) (sizeof (int))))
16123 fprintf (f, "%ld\n", i);
16127 unsigned long i = ulongval ();
16128 if (i != ((long) (sizeof (int))))
16130 fprintf (f, "%lu\n", i);
16132 exit (ferror (f) || fclose (f) != 0);
16138 rm -f conftest
$ac_exeext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16140 (eval $ac_link) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16145 (eval $ac_try) 2>&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); }; }; then
16149 ac_cv_sizeof_int
=`cat conftest.val`
16151 echo "$as_me: program exited with status $ac_status" >&5
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 ( exit $ac_status )
16156 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16157 See \`config.log' for more details." >&5
16158 echo "$as_me: error: cannot compute sizeof (int), 77
16159 See \`config.log' for more details." >&2;}
16160 { (exit 1); exit 1; }; }
16162 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16170 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16171 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16172 cat >>confdefs.h
<<_ACEOF
16173 #define SIZEOF_INT $ac_cv_sizeof_int
16177 echo "$as_me:$LINENO: checking for long" >&5
16178 echo $ECHO_N "checking for long... $ECHO_C" >&6
16179 if test "${ac_cv_type_long+set}" = set; then
16180 echo $ECHO_N "(cached) $ECHO_C" >&6
16182 cat >conftest.
$ac_ext <<_ACEOF
16185 cat confdefs.h
>>conftest.
$ac_ext
16186 cat >>conftest.
$ac_ext <<_ACEOF
16187 /* end confdefs.h. */
16188 $ac_includes_default
16200 rm -f conftest.
$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>conftest.er1
16204 grep -v '^ *+' conftest.er1
>conftest.err
16206 cat conftest.err
>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try
='test -z "$ac_c_werror_flag"
16210 || 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
16222 ac_cv_type_long
=yes
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.
$ac_ext >&5
16229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16231 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16232 echo "${ECHO_T}$ac_cv_type_long" >&6
16234 echo "$as_me:$LINENO: checking size of long" >&5
16235 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16236 if test "${ac_cv_sizeof_long+set}" = set; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 if test "$ac_cv_type_long" = yes; then
16240 # The cast to unsigned long works around a bug in the HP C Compiler
16241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16243 # This bug is HP SR number 8606223364.
16244 if test "$cross_compiling" = yes; then
16245 # Depending upon the size, compute the lo and hi bounds.
16246 cat >conftest.
$ac_ext <<_ACEOF
16249 cat confdefs.h
>>conftest.
$ac_ext
16250 cat >>conftest.
$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16252 $ac_includes_default
16256 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16263 rm -f conftest.
$ac_objext
16264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16265 (eval $ac_compile) 2>conftest.er1
16267 grep -v '^ *+' conftest.er1
>conftest.err
16269 cat conftest.err
>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); } &&
16272 { ac_try
='test -z "$ac_c_werror_flag"
16273 || test ! -s conftest.err'
16274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16275 (eval $ac_try) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; } &&
16279 { ac_try
='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16287 cat >conftest.
$ac_ext <<_ACEOF
16290 cat confdefs.h
>>conftest.
$ac_ext
16291 cat >>conftest.
$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293 $ac_includes_default
16297 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16304 rm -f conftest.
$ac_objext
16305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16306 (eval $ac_compile) 2>conftest.er1
16308 grep -v '^ *+' conftest.er1
>conftest.err
16310 cat conftest.err
>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } &&
16313 { ac_try
='test -z "$ac_c_werror_flag"
16314 || test ! -s conftest.err'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; } &&
16320 { ac_try
='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_hi
=$ac_mid; break
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.
$ac_ext >&5
16331 ac_lo
=`expr $ac_mid + 1`
16332 if test $ac_lo -le $ac_mid; then
16336 ac_mid
=`expr 2 '*' $ac_mid + 1`
16338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.
$ac_ext >&5
16344 cat >conftest.
$ac_ext <<_ACEOF
16347 cat confdefs.h
>>conftest.
$ac_ext
16348 cat >>conftest.
$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 $ac_includes_default
16354 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16361 rm -f conftest.
$ac_objext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16363 (eval $ac_compile) 2>conftest.er1
16365 grep -v '^ *+' conftest.er1
>conftest.err
16367 cat conftest.err
>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try
='test -z "$ac_c_werror_flag"
16371 || test ! -s conftest.err'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; } &&
16377 { ac_try
='test -s conftest.$ac_objext'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 $ac_includes_default
16395 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16402 rm -f conftest.
$ac_objext
16403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16404 (eval $ac_compile) 2>conftest.er1
16406 grep -v '^ *+' conftest.er1
>conftest.err
16408 cat conftest.err
>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
16411 { ac_try
='test -z "$ac_c_werror_flag"
16412 || test ! -s conftest.err'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try
='test -s conftest.$ac_objext'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; }; then
16424 ac_lo
=$ac_mid; break
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.
$ac_ext >&5
16429 ac_hi
=`expr '(' $ac_mid ')' - 1`
16430 if test $ac_mid -le $ac_hi; then
16434 ac_mid
=`expr 2 '*' $ac_mid`
16436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16447 # Binary search between lo and hi bounds.
16448 while test "x$ac_lo" != "x$ac_hi"; do
16449 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16450 cat >conftest.
$ac_ext <<_ACEOF
16453 cat confdefs.h
>>conftest.
$ac_ext
16454 cat >>conftest.
$ac_ext <<_ACEOF
16455 /* end confdefs.h. */
16456 $ac_includes_default
16460 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16467 rm -f conftest.
$ac_objext
16468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16469 (eval $ac_compile) 2>conftest.er1
16471 grep -v '^ *+' conftest.er1
>conftest.err
16473 cat conftest.err
>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } &&
16476 { ac_try
='test -z "$ac_c_werror_flag"
16477 || test ! -s conftest.err'
16478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16479 (eval $ac_try) 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; } &&
16483 { ac_try
='test -s conftest.$ac_objext'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; }; then
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.
$ac_ext >&5
16494 ac_lo
=`expr '(' $ac_mid ')' + 1`
16496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16499 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16500 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16501 See \`config.log' for more details." >&5
16502 echo "$as_me: error: cannot compute sizeof (long), 77
16503 See \`config.log' for more details." >&2;}
16504 { (exit 1); exit 1; }; } ;;
16507 if test "$cross_compiling" = yes; then
16508 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16509 See \`config.log' for more details." >&5
16510 echo "$as_me: error: cannot run test program while cross compiling
16511 See \`config.log' for more details." >&2;}
16512 { (exit 1); exit 1; }; }
16514 cat >conftest.
$ac_ext <<_ACEOF
16517 cat confdefs.h
>>conftest.
$ac_ext
16518 cat >>conftest.
$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16521 long longval () { return (long) (sizeof (long)); }
16522 unsigned long ulongval () { return (long) (sizeof (long)); }
16524 #include <stdlib.h>
16529 FILE *f = fopen ("conftest.val", "w");
16532 if (((long) (sizeof (long))) < 0)
16534 long i = longval ();
16535 if (i != ((long) (sizeof (long))))
16537 fprintf (f, "%ld\n", i);
16541 unsigned long i = ulongval ();
16542 if (i != ((long) (sizeof (long))))
16544 fprintf (f, "%lu\n", i);
16546 exit (ferror (f) || fclose (f) != 0);
16552 rm -f conftest
$ac_exeext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554 (eval $ac_link) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 ac_cv_sizeof_long
=`cat conftest.val`
16565 echo "$as_me: program exited with status $ac_status" >&5
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 ( exit $ac_status )
16570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16571 See \`config.log' for more details." >&5
16572 echo "$as_me: error: cannot compute sizeof (long), 77
16573 See \`config.log' for more details." >&2;}
16574 { (exit 1); exit 1; }; }
16576 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16581 ac_cv_sizeof_long
=0
16584 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16585 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16586 cat >>confdefs.h
<<_ACEOF
16587 #define SIZEOF_LONG $ac_cv_sizeof_long
16591 echo "$as_me:$LINENO: checking for size_t" >&5
16592 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16593 if test "${ac_cv_type_size_t+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16608 if (sizeof (size_t))
16614 rm -f conftest.
$ac_objext
16615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16616 (eval $ac_compile) 2>conftest.er1
16618 grep -v '^ *+' conftest.er1
>conftest.err
16620 cat conftest.err
>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } &&
16623 { ac_try
='test -z "$ac_c_werror_flag"
16624 || test ! -s conftest.err'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try
='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_cv_type_size_t
=yes
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.
$ac_ext >&5
16641 ac_cv_type_size_t
=no
16643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16645 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16646 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16648 echo "$as_me:$LINENO: checking size of size_t" >&5
16649 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16650 if test "${ac_cv_sizeof_size_t+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 if test "$ac_cv_type_size_t" = yes; then
16654 # The cast to unsigned long works around a bug in the HP C Compiler
16655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16657 # This bug is HP SR number 8606223364.
16658 if test "$cross_compiling" = yes; then
16659 # Depending upon the size, compute the lo and hi bounds.
16660 cat >conftest.
$ac_ext <<_ACEOF
16663 cat confdefs.h
>>conftest.
$ac_ext
16664 cat >>conftest.
$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16666 $ac_includes_default
16670 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16677 rm -f conftest.
$ac_objext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16679 (eval $ac_compile) 2>conftest.er1
16681 grep -v '^ *+' conftest.er1
>conftest.err
16683 cat conftest.err
>&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try
='test -z "$ac_c_werror_flag"
16687 || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try
='test -s conftest.$ac_objext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16701 cat >conftest.
$ac_ext <<_ACEOF
16704 cat confdefs.h
>>conftest.
$ac_ext
16705 cat >>conftest.
$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 $ac_includes_default
16711 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16718 rm -f conftest.
$ac_objext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16720 (eval $ac_compile) 2>conftest.er1
16722 grep -v '^ *+' conftest.er1
>conftest.err
16724 cat conftest.err
>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } &&
16727 { ac_try
='test -z "$ac_c_werror_flag"
16728 || test ! -s conftest.err'
16729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); }; } &&
16734 { ac_try
='test -s conftest.$ac_objext'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; }; then
16740 ac_hi
=$ac_mid; break
16742 echo "$as_me: failed program was:" >&5
16743 sed 's/^/| /' conftest.
$ac_ext >&5
16745 ac_lo
=`expr $ac_mid + 1`
16746 if test $ac_lo -le $ac_mid; then
16750 ac_mid
=`expr 2 '*' $ac_mid + 1`
16752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.
$ac_ext >&5
16758 cat >conftest.
$ac_ext <<_ACEOF
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 $ac_includes_default
16768 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16775 rm -f conftest.
$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>conftest.er1
16779 grep -v '^ *+' conftest.er1
>conftest.err
16781 cat conftest.err
>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try
='test -z "$ac_c_werror_flag"
16785 || test ! -s conftest.err'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; } &&
16791 { ac_try
='test -s conftest.$ac_objext'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16799 cat >conftest.
$ac_ext <<_ACEOF
16802 cat confdefs.h
>>conftest.
$ac_ext
16803 cat >>conftest.
$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 $ac_includes_default
16809 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16816 rm -f conftest.
$ac_objext
16817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16818 (eval $ac_compile) 2>conftest.er1
16820 grep -v '^ *+' conftest.er1
>conftest.err
16822 cat conftest.err
>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try
='test -z "$ac_c_werror_flag"
16826 || test ! -s conftest.err'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } &&
16832 { ac_try
='test -s conftest.$ac_objext'
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; }; then
16838 ac_lo
=$ac_mid; break
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.
$ac_ext >&5
16843 ac_hi
=`expr '(' $ac_mid ')' - 1`
16844 if test $ac_mid -le $ac_hi; then
16848 ac_mid
=`expr 2 '*' $ac_mid`
16850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.
$ac_ext >&5
16858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16861 # Binary search between lo and hi bounds.
16862 while test "x$ac_lo" != "x$ac_hi"; do
16863 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16864 cat >conftest.
$ac_ext <<_ACEOF
16867 cat confdefs.h
>>conftest.
$ac_ext
16868 cat >>conftest.
$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16874 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16881 rm -f conftest.
$ac_objext
16882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16883 (eval $ac_compile) 2>conftest.er1
16885 grep -v '^ *+' conftest.er1
>conftest.err
16887 cat conftest.err
>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } &&
16890 { ac_try
='test -z "$ac_c_werror_flag"
16891 || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try
='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ac_lo
=`expr '(' $ac_mid ')' + 1`
16910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16913 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16914 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16915 See \`config.log' for more details." >&5
16916 echo "$as_me: error: cannot compute sizeof (size_t), 77
16917 See \`config.log' for more details." >&2;}
16918 { (exit 1); exit 1; }; } ;;
16921 if test "$cross_compiling" = yes; then
16922 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16923 See \`config.log' for more details." >&5
16924 echo "$as_me: error: cannot run test program while cross compiling
16925 See \`config.log' for more details." >&2;}
16926 { (exit 1); exit 1; }; }
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16935 long longval () { return (long) (sizeof (size_t)); }
16936 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16938 #include <stdlib.h>
16943 FILE *f = fopen ("conftest.val", "w");
16946 if (((long) (sizeof (size_t))) < 0)
16948 long i = longval ();
16949 if (i != ((long) (sizeof (size_t))))
16951 fprintf (f, "%ld\n", i);
16955 unsigned long i = ulongval ();
16956 if (i != ((long) (sizeof (size_t))))
16958 fprintf (f, "%lu\n", i);
16960 exit (ferror (f) || fclose (f) != 0);
16966 rm -f conftest
$ac_exeext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16968 (eval $ac_link) 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; }; then
16977 ac_cv_sizeof_size_t
=`cat conftest.val`
16979 echo "$as_me: program exited with status $ac_status" >&5
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.
$ac_ext >&5
16983 ( exit $ac_status )
16984 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16985 See \`config.log' for more details." >&5
16986 echo "$as_me: error: cannot compute sizeof (size_t), 77
16987 See \`config.log' for more details." >&2;}
16988 { (exit 1); exit 1; }; }
16990 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16995 ac_cv_sizeof_size_t
=0
16998 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16999 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17000 cat >>confdefs.h
<<_ACEOF
17001 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17008 echo "$as_me:$LINENO: checking for long long" >&5
17009 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17010 if test "${ac_cv_type_long_long+set}" = set; then
17011 echo $ECHO_N "(cached) $ECHO_C" >&6
17013 cat >conftest.
$ac_ext <<_ACEOF
17016 cat confdefs.h
>>conftest.
$ac_ext
17017 cat >>conftest.
$ac_ext <<_ACEOF
17018 /* end confdefs.h. */
17019 $ac_includes_default
17023 if ((long long *) 0)
17025 if (sizeof (long long))
17031 rm -f conftest.
$ac_objext
17032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17033 (eval $ac_compile) 2>conftest.er1
17035 grep -v '^ *+' conftest.er1
>conftest.err
17037 cat conftest.err
>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } &&
17040 { ac_try
='test -z "$ac_c_werror_flag"
17041 || test ! -s conftest.err'
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 (eval $ac_try) 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; } &&
17047 { ac_try
='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_cv_type_long_long
=yes
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.
$ac_ext >&5
17058 ac_cv_type_long_long
=no
17060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17062 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17063 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17065 echo "$as_me:$LINENO: checking size of long long" >&5
17066 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17067 if test "${ac_cv_sizeof_long_long+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 if test "$ac_cv_type_long_long" = yes; then
17071 # The cast to unsigned long works around a bug in the HP C Compiler
17072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17074 # This bug is HP SR number 8606223364.
17075 if test "$cross_compiling" = yes; then
17076 # Depending upon the size, compute the lo and hi bounds.
17077 cat >conftest.
$ac_ext <<_ACEOF
17080 cat confdefs.h
>>conftest.
$ac_ext
17081 cat >>conftest.
$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 $ac_includes_default
17087 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17094 rm -f conftest.
$ac_objext
17095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17096 (eval $ac_compile) 2>conftest.er1
17098 grep -v '^ *+' conftest.er1
>conftest.err
17100 cat conftest.err
>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } &&
17103 { ac_try
='test -z "$ac_c_werror_flag"
17104 || test ! -s conftest.err'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; } &&
17110 { ac_try
='test -s conftest.$ac_objext'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; }; then
17118 cat >conftest.
$ac_ext <<_ACEOF
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17128 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17135 rm -f conftest.
$ac_objext
17136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17137 (eval $ac_compile) 2>conftest.er1
17139 grep -v '^ *+' conftest.er1
>conftest.err
17141 cat conftest.err
>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } &&
17144 { ac_try
='test -z "$ac_c_werror_flag"
17145 || test ! -s conftest.err'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; } &&
17151 { ac_try
='test -s conftest.$ac_objext'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; }; then
17157 ac_hi
=$ac_mid; break
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.
$ac_ext >&5
17162 ac_lo
=`expr $ac_mid + 1`
17163 if test $ac_lo -le $ac_mid; then
17167 ac_mid
=`expr 2 '*' $ac_mid + 1`
17169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.
$ac_ext >&5
17175 cat >conftest.
$ac_ext <<_ACEOF
17178 cat confdefs.h
>>conftest.
$ac_ext
17179 cat >>conftest.
$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 $ac_includes_default
17185 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17192 rm -f conftest.
$ac_objext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17194 (eval $ac_compile) 2>conftest.er1
17196 grep -v '^ *+' conftest.er1
>conftest.err
17198 cat conftest.err
>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try
='test -z "$ac_c_werror_flag"
17202 || test ! -s conftest.err'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; } &&
17208 { ac_try
='test -s conftest.$ac_objext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17216 cat >conftest.
$ac_ext <<_ACEOF
17219 cat confdefs.h
>>conftest.
$ac_ext
17220 cat >>conftest.
$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 $ac_includes_default
17226 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17233 rm -f conftest.
$ac_objext
17234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17235 (eval $ac_compile) 2>conftest.er1
17237 grep -v '^ *+' conftest.er1
>conftest.err
17239 cat conftest.err
>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } &&
17242 { ac_try
='test -z "$ac_c_werror_flag"
17243 || test ! -s conftest.err'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; } &&
17249 { ac_try
='test -s conftest.$ac_objext'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; }; then
17255 ac_lo
=$ac_mid; break
17257 echo "$as_me: failed program was:" >&5
17258 sed 's/^/| /' conftest.
$ac_ext >&5
17260 ac_hi
=`expr '(' $ac_mid ')' - 1`
17261 if test $ac_mid -le $ac_hi; then
17265 ac_mid
=`expr 2 '*' $ac_mid`
17267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.
$ac_ext >&5
17275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17278 # Binary search between lo and hi bounds.
17279 while test "x$ac_lo" != "x$ac_hi"; do
17280 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 $ac_includes_default
17291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17298 rm -f conftest.
$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17302 grep -v '^ *+' conftest.er1
>conftest.err
17304 cat conftest.err
>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try
='test -z "$ac_c_werror_flag"
17308 || test ! -s conftest.err'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try
='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 ac_lo
=`expr '(' $ac_mid ')' + 1`
17327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17330 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17331 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17332 See \`config.log' for more details." >&5
17333 echo "$as_me: error: cannot compute sizeof (long long), 77
17334 See \`config.log' for more details." >&2;}
17335 { (exit 1); exit 1; }; } ;;
17338 if test "$cross_compiling" = yes; then
17339 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot run test program while cross compiling
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; }
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17352 long longval () { return (long) (sizeof (long long)); }
17353 unsigned long ulongval () { return (long) (sizeof (long long)); }
17355 #include <stdlib.h>
17360 FILE *f = fopen ("conftest.val", "w");
17363 if (((long) (sizeof (long long))) < 0)
17365 long i = longval ();
17366 if (i != ((long) (sizeof (long long))))
17368 fprintf (f, "%ld\n", i);
17372 unsigned long i = ulongval ();
17373 if (i != ((long) (sizeof (long long))))
17375 fprintf (f, "%lu\n", i);
17377 exit (ferror (f) || fclose (f) != 0);
17383 rm -f conftest
$ac_exeext
17384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17385 (eval $ac_link) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17394 ac_cv_sizeof_long_long
=`cat conftest.val`
17396 echo "$as_me: program exited with status $ac_status" >&5
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ( exit $ac_status )
17401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17402 See \`config.log' for more details." >&5
17403 echo "$as_me: error: cannot compute sizeof (long long), 77
17404 See \`config.log' for more details." >&2;}
17405 { (exit 1); exit 1; }; }
17407 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17412 ac_cv_sizeof_long_long
=0
17415 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17416 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17417 cat >>confdefs.h
<<_ACEOF
17418 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17424 echo "$as_me:$LINENO: checking for long long" >&5
17425 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17426 if test "${ac_cv_type_long_long+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 cat >conftest.
$ac_ext <<_ACEOF
17432 cat confdefs.h
>>conftest.
$ac_ext
17433 cat >>conftest.
$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435 $ac_includes_default
17439 if ((long long *) 0)
17441 if (sizeof (long long))
17447 rm -f conftest.
$ac_objext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17449 (eval $ac_compile) 2>conftest.er1
17451 grep -v '^ *+' conftest.er1
>conftest.err
17453 cat conftest.err
>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try
='test -z "$ac_c_werror_flag"
17457 || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try
='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_cv_type_long_long
=yes
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17474 ac_cv_type_long_long
=no
17476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17478 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17479 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17481 echo "$as_me:$LINENO: checking size of long long" >&5
17482 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17483 if test "${ac_cv_sizeof_long_long+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 if test "$ac_cv_type_long_long" = yes; then
17487 # The cast to unsigned long works around a bug in the HP C Compiler
17488 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17489 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17490 # This bug is HP SR number 8606223364.
17491 if test "$cross_compiling" = yes; then
17492 # Depending upon the size, compute the lo and hi bounds.
17493 cat >conftest.
$ac_ext <<_ACEOF
17496 cat confdefs.h
>>conftest.
$ac_ext
17497 cat >>conftest.
$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17499 $ac_includes_default
17503 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17510 rm -f conftest.
$ac_objext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512 (eval $ac_compile) 2>conftest.er1
17514 grep -v '^ *+' conftest.er1
>conftest.err
17516 cat conftest.err
>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
17519 { ac_try
='test -z "$ac_c_werror_flag"
17520 || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try
='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17534 cat >conftest.
$ac_ext <<_ACEOF
17537 cat confdefs.h
>>conftest.
$ac_ext
17538 cat >>conftest.
$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540 $ac_includes_default
17544 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17551 rm -f conftest.
$ac_objext
17552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17553 (eval $ac_compile) 2>conftest.er1
17555 grep -v '^ *+' conftest.er1
>conftest.err
17557 cat conftest.err
>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } &&
17560 { ac_try
='test -z "$ac_c_werror_flag"
17561 || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try
='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 ac_hi
=$ac_mid; break
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.
$ac_ext >&5
17578 ac_lo
=`expr $ac_mid + 1`
17579 if test $ac_lo -le $ac_mid; then
17583 ac_mid
=`expr 2 '*' $ac_mid + 1`
17585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.
$ac_ext >&5
17591 cat >conftest.
$ac_ext <<_ACEOF
17594 cat confdefs.h
>>conftest.
$ac_ext
17595 cat >>conftest.
$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 $ac_includes_default
17601 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17608 rm -f conftest.
$ac_objext
17609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17610 (eval $ac_compile) 2>conftest.er1
17612 grep -v '^ *+' conftest.er1
>conftest.err
17614 cat conftest.err
>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } &&
17617 { ac_try
='test -z "$ac_c_werror_flag"
17618 || test ! -s conftest.err'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; } &&
17624 { ac_try
='test -s conftest.$ac_objext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17632 cat >conftest.
$ac_ext <<_ACEOF
17635 cat confdefs.h
>>conftest.
$ac_ext
17636 cat >>conftest.
$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17642 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17649 rm -f conftest.
$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17653 grep -v '^ *+' conftest.er1
>conftest.err
17655 cat conftest.err
>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -z "$ac_c_werror_flag"
17659 || test ! -s conftest.err'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try
='test -s conftest.$ac_objext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 ac_lo
=$ac_mid; break
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17676 ac_hi
=`expr '(' $ac_mid ')' - 1`
17677 if test $ac_mid -le $ac_hi; then
17681 ac_mid
=`expr 2 '*' $ac_mid`
17683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.
$ac_ext >&5
17691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17694 # Binary search between lo and hi bounds.
17695 while test "x$ac_lo" != "x$ac_hi"; do
17696 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17697 cat >conftest.
$ac_ext <<_ACEOF
17700 cat confdefs.h
>>conftest.
$ac_ext
17701 cat >>conftest.
$ac_ext <<_ACEOF
17702 /* end confdefs.h. */
17703 $ac_includes_default
17707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17714 rm -f conftest.
$ac_objext
17715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17716 (eval $ac_compile) 2>conftest.er1
17718 grep -v '^ *+' conftest.er1
>conftest.err
17720 cat conftest.err
>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } &&
17723 { ac_try
='test -z "$ac_c_werror_flag"
17724 || test ! -s conftest.err'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; } &&
17730 { ac_try
='test -s conftest.$ac_objext'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; }; then
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.
$ac_ext >&5
17741 ac_lo
=`expr '(' $ac_mid ')' + 1`
17743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17747 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17748 See \`config.log' for more details." >&5
17749 echo "$as_me: error: cannot compute sizeof (long long), 77
17750 See \`config.log' for more details." >&2;}
17751 { (exit 1); exit 1; }; } ;;
17754 if test "$cross_compiling" = yes; then
17755 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17756 See \`config.log' for more details." >&5
17757 echo "$as_me: error: cannot run test program while cross compiling
17758 See \`config.log' for more details." >&2;}
17759 { (exit 1); exit 1; }; }
17761 cat >conftest.
$ac_ext <<_ACEOF
17764 cat confdefs.h
>>conftest.
$ac_ext
17765 cat >>conftest.
$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 $ac_includes_default
17768 long longval () { return (long) (sizeof (long long)); }
17769 unsigned long ulongval () { return (long) (sizeof (long long)); }
17771 #include <stdlib.h>
17776 FILE *f = fopen ("conftest.val", "w");
17779 if (((long) (sizeof (long long))) < 0)
17781 long i = longval ();
17782 if (i != ((long) (sizeof (long long))))
17784 fprintf (f, "%ld\n", i);
17788 unsigned long i = ulongval ();
17789 if (i != ((long) (sizeof (long long))))
17791 fprintf (f, "%lu\n", i);
17793 exit (ferror (f) || fclose (f) != 0);
17799 rm -f conftest
$ac_exeext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17801 (eval $ac_link) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 ac_cv_sizeof_long_long
=`cat conftest.val`
17812 echo "$as_me: program exited with status $ac_status" >&5
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.
$ac_ext >&5
17816 ( exit $ac_status )
17817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17818 See \`config.log' for more details." >&5
17819 echo "$as_me: error: cannot compute sizeof (long long), 77
17820 See \`config.log' for more details." >&2;}
17821 { (exit 1); exit 1; }; }
17823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17828 ac_cv_sizeof_long_long
=0
17831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17832 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17833 cat >>confdefs.h
<<_ACEOF
17834 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17838 if test "$ac_cv_sizeof_long_long" != "0"; then
17839 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17843 echo "$as_me:$LINENO: checking for long long" >&5
17844 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17845 if test "${ac_cv_type_long_long+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 cat >conftest.
$ac_ext <<_ACEOF
17851 cat confdefs.h
>>conftest.
$ac_ext
17852 cat >>conftest.
$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17854 $ac_includes_default
17858 if ((long long *) 0)
17860 if (sizeof (long long))
17866 rm -f conftest.
$ac_objext
17867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17868 (eval $ac_compile) 2>conftest.er1
17870 grep -v '^ *+' conftest.er1
>conftest.err
17872 cat conftest.err
>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try
='test -z "$ac_c_werror_flag"
17876 || test ! -s conftest.err'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; } &&
17882 { ac_try
='test -s conftest.$ac_objext'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; }; then
17888 ac_cv_type_long_long
=yes
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.
$ac_ext >&5
17893 ac_cv_type_long_long
=no
17895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17897 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17898 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17900 echo "$as_me:$LINENO: checking size of long long" >&5
17901 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17902 if test "${ac_cv_sizeof_long_long+set}" = set; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17905 if test "$ac_cv_type_long_long" = yes; then
17906 # The cast to unsigned long works around a bug in the HP C Compiler
17907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17909 # This bug is HP SR number 8606223364.
17910 if test "$cross_compiling" = yes; then
17911 # Depending upon the size, compute the lo and hi bounds.
17912 cat >conftest.
$ac_ext <<_ACEOF
17915 cat confdefs.h
>>conftest.
$ac_ext
17916 cat >>conftest.
$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17918 $ac_includes_default
17922 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17929 rm -f conftest.
$ac_objext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17931 (eval $ac_compile) 2>conftest.er1
17933 grep -v '^ *+' conftest.er1
>conftest.err
17935 cat conftest.err
>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } &&
17938 { ac_try
='test -z "$ac_c_werror_flag"
17939 || test ! -s conftest.err'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; } &&
17945 { ac_try
='test -s conftest.$ac_objext'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; }; then
17953 cat >conftest.
$ac_ext <<_ACEOF
17956 cat confdefs.h
>>conftest.
$ac_ext
17957 cat >>conftest.
$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17959 $ac_includes_default
17963 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17970 rm -f conftest.
$ac_objext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17972 (eval $ac_compile) 2>conftest.er1
17974 grep -v '^ *+' conftest.er1
>conftest.err
17976 cat conftest.err
>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } &&
17979 { ac_try
='test -z "$ac_c_werror_flag"
17980 || 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_hi
=$ac_mid; break
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.
$ac_ext >&5
17997 ac_lo
=`expr $ac_mid + 1`
17998 if test $ac_lo -le $ac_mid; then
18002 ac_mid
=`expr 2 '*' $ac_mid + 1`
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
18010 cat >conftest.
$ac_ext <<_ACEOF
18013 cat confdefs.h
>>conftest.
$ac_ext
18014 cat >>conftest.
$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18016 $ac_includes_default
18020 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18027 rm -f conftest.
$ac_objext
18028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18029 (eval $ac_compile) 2>conftest.er1
18031 grep -v '^ *+' conftest.er1
>conftest.err
18033 cat conftest.err
>&5
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } &&
18036 { ac_try
='test -z "$ac_c_werror_flag"
18037 || test ! -s conftest.err'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; } &&
18043 { ac_try
='test -s conftest.$ac_objext'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; }; then
18051 cat >conftest.
$ac_ext <<_ACEOF
18054 cat confdefs.h
>>conftest.
$ac_ext
18055 cat >>conftest.
$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18057 $ac_includes_default
18061 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18068 rm -f conftest.
$ac_objext
18069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18070 (eval $ac_compile) 2>conftest.er1
18072 grep -v '^ *+' conftest.er1
>conftest.err
18074 cat conftest.err
>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } &&
18077 { ac_try
='test -z "$ac_c_werror_flag"
18078 || test ! -s conftest.err'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; } &&
18084 { ac_try
='test -s conftest.$ac_objext'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_lo
=$ac_mid; break
18092 echo "$as_me: failed program was:" >&5
18093 sed 's/^/| /' conftest.
$ac_ext >&5
18095 ac_hi
=`expr '(' $ac_mid ')' - 1`
18096 if test $ac_mid -le $ac_hi; then
18100 ac_mid
=`expr 2 '*' $ac_mid`
18102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.
$ac_ext >&5
18110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18113 # Binary search between lo and hi bounds.
18114 while test "x$ac_lo" != "x$ac_hi"; do
18115 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18116 cat >conftest.
$ac_ext <<_ACEOF
18119 cat confdefs.h
>>conftest.
$ac_ext
18120 cat >>conftest.
$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 $ac_includes_default
18126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18133 rm -f conftest.
$ac_objext
18134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18135 (eval $ac_compile) 2>conftest.er1
18137 grep -v '^ *+' conftest.er1
>conftest.err
18139 cat conftest.err
>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } &&
18142 { ac_try
='test -z "$ac_c_werror_flag"
18143 || test ! -s conftest.err'
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; } &&
18149 { ac_try
='test -s conftest.$ac_objext'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; }; then
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.
$ac_ext >&5
18160 ac_lo
=`expr '(' $ac_mid ')' + 1`
18162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18165 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18166 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18167 See \`config.log' for more details." >&5
18168 echo "$as_me: error: cannot compute sizeof (long long), 77
18169 See \`config.log' for more details." >&2;}
18170 { (exit 1); exit 1; }; } ;;
18173 if test "$cross_compiling" = yes; then
18174 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18175 See \`config.log' for more details." >&5
18176 echo "$as_me: error: cannot run test program while cross compiling
18177 See \`config.log' for more details." >&2;}
18178 { (exit 1); exit 1; }; }
18180 cat >conftest.
$ac_ext <<_ACEOF
18183 cat confdefs.h
>>conftest.
$ac_ext
18184 cat >>conftest.
$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186 $ac_includes_default
18187 long longval () { return (long) (sizeof (long long)); }
18188 unsigned long ulongval () { return (long) (sizeof (long long)); }
18190 #include <stdlib.h>
18195 FILE *f = fopen ("conftest.val", "w");
18198 if (((long) (sizeof (long long))) < 0)
18200 long i = longval ();
18201 if (i != ((long) (sizeof (long long))))
18203 fprintf (f, "%ld\n", i);
18207 unsigned long i = ulongval ();
18208 if (i != ((long) (sizeof (long long))))
18210 fprintf (f, "%lu\n", i);
18212 exit (ferror (f) || fclose (f) != 0);
18218 rm -f conftest
$ac_exeext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18220 (eval $ac_link) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 ac_cv_sizeof_long_long
=`cat conftest.val`
18231 echo "$as_me: program exited with status $ac_status" >&5
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.
$ac_ext >&5
18235 ( exit $ac_status )
18236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18237 See \`config.log' for more details." >&5
18238 echo "$as_me: error: cannot compute sizeof (long long), 77
18239 See \`config.log' for more details." >&2;}
18240 { (exit 1); exit 1; }; }
18242 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18247 ac_cv_sizeof_long_long
=0
18250 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18251 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18252 cat >>confdefs.h
<<_ACEOF
18253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18259 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18260 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18261 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 if test "$cross_compiling" = yes; then
18269 wx_cv_sizeof_wchar_t
=0
18272 wx_cv_sizeof_wchar_t
=4
18278 cat >conftest.
$ac_ext <<_ACEOF
18281 cat confdefs.h
>>conftest.
$ac_ext
18282 cat >>conftest.
$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18285 /* DJGPP only has fake wchar_t: */
18287 # error "fake wchar_t"
18289 #ifdef HAVE_WCHAR_H
18291 # include <stddef.h>
18293 # include <wchar.h>
18295 #ifdef HAVE_STDLIB_H
18296 # include <stdlib.h>
18301 FILE *f=fopen("conftestval", "w");
18303 fprintf(f, "%i", sizeof(wchar_t));
18308 rm -f conftest
$ac_exeext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18310 (eval $ac_link) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 wx_cv_sizeof_wchar_t
=`cat conftestval`
18321 echo "$as_me: program exited with status $ac_status" >&5
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.
$ac_ext >&5
18325 ( exit $ac_status )
18326 wx_cv_sizeof_wchar_t
=0
18328 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18332 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18333 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18335 cat >>confdefs.h
<<_ACEOF
18336 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18340 echo "$as_me:$LINENO: checking for va_copy" >&5
18341 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18342 if test "${wx_cv_func_va_copy+set}" = set; then
18343 echo $ECHO_N "(cached) $ECHO_C" >&6
18346 cat >conftest.
$ac_ext <<_ACEOF
18348 #include <stdarg.h>
18349 void foo(char *f, ...)
18358 rm -f conftest.
$ac_objext conftest
$ac_exeext
18359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18360 (eval $ac_link) 2>conftest.er1
18362 grep -v '^ *+' conftest.er1
>conftest.err
18364 cat conftest.err
>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } &&
18367 { ac_try
='test -z "$ac_c_werror_flag"
18368 || test ! -s conftest.err'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; } &&
18374 { ac_try
='test -s conftest$ac_exeext'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 wx_cv_func_va_copy
=yes
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.
$ac_ext >&5
18385 wx_cv_func_va_copy
=no
18388 rm -f conftest.err conftest.
$ac_objext \
18389 conftest
$ac_exeext conftest.
$ac_ext
18393 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18394 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18396 if test $wx_cv_func_va_copy = "yes"; then
18397 cat >>confdefs.h
<<\_ACEOF
18398 #define HAVE_VA_COPY 1
18402 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18403 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18404 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 if test "$cross_compiling" = yes; then
18409 wx_cv_type_va_list_lvalue
=yes
18412 cat >conftest.
$ac_ext <<_ACEOF
18414 #include <stdarg.h>
18415 int foo(char *f, ...)
18420 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18428 return foo("hi", 17);
18431 rm -f conftest
$ac_exeext
18432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18433 (eval $ac_link) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 wx_cv_type_va_list_lvalue
=yes
18444 echo "$as_me: program exited with status $ac_status" >&5
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.
$ac_ext >&5
18448 ( exit $ac_status )
18449 wx_cv_type_va_list_lvalue
=no
18451 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18456 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18457 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18459 if test $wx_cv_type_va_list_lvalue != "yes"; then
18460 cat >>confdefs.h
<<\_ACEOF
18461 #define VA_LIST_IS_ARRAY 1
18467 # Check whether --enable-largefile or --disable-largefile was given.
18468 if test "${enable_largefile+set}" = set; then
18469 enableval
="$enable_largefile"
18472 if test "$enable_largefile" != no
; then
18475 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18476 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18477 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18481 cat >conftest.
$ac_ext <<_ACEOF
18484 cat confdefs.h
>>conftest.
$ac_ext
18485 cat >>conftest.
$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18487 #define _FILE_OFFSET_BITS 64
18488 #include <sys/types.h>
18493 unsigned int field: sizeof(off_t) == 8;
18500 rm -f conftest.
$ac_objext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18502 (eval $ac_compile) 2>conftest.er1
18504 grep -v '^ *+' conftest.er1
>conftest.err
18506 cat conftest.err
>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try
='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try
='test -s conftest.$ac_objext'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_cv_sys_file_offset_bits
=64
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.
$ac_ext >&5
18527 ac_cv_sys_file_offset_bits
=no
18529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18533 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18534 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18536 if test "$ac_cv_sys_file_offset_bits" != no
; then
18538 cat >>confdefs.h
<<_ACEOF
18539 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18544 if test "x$wx_largefile" != "xyes"; then
18546 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18547 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18548 if test "${ac_cv_sys_large_files+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 #define _LARGE_FILES 1
18559 #include <sys/types.h>
18564 unsigned int field: sizeof(off_t) == 8;
18571 rm -f conftest.
$ac_objext
18572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18573 (eval $ac_compile) 2>conftest.er1
18575 grep -v '^ *+' conftest.er1
>conftest.err
18577 cat conftest.err
>&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); } &&
18580 { ac_try
='test -z "$ac_c_werror_flag"
18581 || test ! -s conftest.err'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; } &&
18587 { ac_try
='test -s conftest.$ac_objext'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_sys_large_files
=1
18595 echo "$as_me: failed program was:" >&5
18596 sed 's/^/| /' conftest.
$ac_ext >&5
18598 ac_cv_sys_large_files
=no
18600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18604 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18605 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18607 if test "$ac_cv_sys_large_files" != no
; then
18609 cat >>confdefs.h
<<_ACEOF
18610 #define _LARGE_FILES $ac_cv_sys_large_files
18617 echo "$as_me:$LINENO: checking if large file support is available" >&5
18618 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18619 if test "x$wx_largefile" = "xyes"; then
18620 cat >>confdefs.h
<<\_ACEOF
18621 #define HAVE_LARGEFILE_SUPPORT 1
18625 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18626 echo "${ECHO_T}$wx_largefile" >&6
18630 if test "x$wx_largefile" = "xyes"; then
18631 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18632 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18634 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18636 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18639 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18640 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18641 if test "${ac_cv_c_bigendian+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18644 ac_cv_c_bigendian
=unknown
18645 # See if sys/param.h defines the BYTE_ORDER macro.
18646 cat >conftest.
$ac_ext <<_ACEOF
18649 cat confdefs.h
>>conftest.
$ac_ext
18650 cat >>conftest.
$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 #include <sys/types.h>
18653 #include <sys/param.h>
18658 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18659 bogus endian macros
18665 rm -f conftest.
$ac_objext
18666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18667 (eval $ac_compile) 2>conftest.er1
18669 grep -v '^ *+' conftest.er1
>conftest.err
18671 cat conftest.err
>&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); } &&
18674 { ac_try
='test -z "$ac_c_werror_flag"
18675 || test ! -s conftest.err'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; } &&
18681 { ac_try
='test -s conftest.$ac_objext'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; }; then
18687 # It does; now see whether it defined to BIG_ENDIAN or not.
18688 cat >conftest.
$ac_ext <<_ACEOF
18691 cat confdefs.h
>>conftest.
$ac_ext
18692 cat >>conftest.
$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #include <sys/types.h>
18695 #include <sys/param.h>
18700 #if BYTE_ORDER != BIG_ENDIAN
18707 rm -f conftest.
$ac_objext
18708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18709 (eval $ac_compile) 2>conftest.er1
18711 grep -v '^ *+' conftest.er1
>conftest.err
18713 cat conftest.err
>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } &&
18716 { ac_try
='test -z "$ac_c_werror_flag"
18717 || test ! -s conftest.err'
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; } &&
18723 { ac_try
='test -s conftest.$ac_objext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_cv_c_bigendian
=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.
$ac_ext >&5
18734 ac_cv_c_bigendian
=no
18736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18743 if test $ac_cv_c_bigendian = unknown
; then
18744 if test "$cross_compiling" = yes; then
18745 ac_cv_c_bigendian
=unknown
18747 cat >conftest.
$ac_ext <<_ACEOF
18750 cat confdefs.h
>>conftest.
$ac_ext
18751 cat >>conftest.
$ac_ext <<_ACEOF
18752 /* end confdefs.h. */
18754 /* Are we little or big endian? From Harbison&Steele. */
18758 char c[sizeof (long)];
18761 exit (u.c[sizeof (long) - 1] == 1);
18764 rm -f conftest
$ac_exeext
18765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18766 (eval $ac_link) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_c_bigendian
=no
18777 echo "$as_me: program exited with status $ac_status" >&5
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.
$ac_ext >&5
18781 ( exit $ac_status )
18782 ac_cv_c_bigendian
=yes
18784 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18788 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18789 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18790 if test $ac_cv_c_bigendian = unknown
; then
18791 { 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
18792 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;}
18794 if test $ac_cv_c_bigendian = yes; then
18795 cat >>confdefs.h
<<\_ACEOF
18796 #define WORDS_BIGENDIAN 1
18803 ac_cpp
='$CXXCPP $CPPFLAGS'
18804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18807 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18808 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18809 if test -z "$CXXCPP"; then
18810 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 # Double quotes because CXXCPP needs to be expanded
18814 for CXXCPP
in "$CXX -E" "/lib/cpp"
18816 ac_preproc_ok
=false
18817 for ac_cxx_preproc_warn_flag
in '' yes
18819 # Use a header file that comes with gcc, so configuring glibc
18820 # with a fresh cross-compiler works.
18821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18822 # <limits.h> exists even on freestanding compilers.
18823 # On the NeXT, cc -E runs the code through the compiler's parser,
18824 # not just through cpp. "Syntax error" is here to catch this case.
18825 cat >conftest.
$ac_ext <<_ACEOF
18828 cat confdefs.h
>>conftest.
$ac_ext
18829 cat >>conftest.
$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18832 # include <limits.h>
18834 # include <assert.h>
18838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18841 grep -v '^ *+' conftest.er1
>conftest.err
18843 cat conftest.err
>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } >/dev
/null
; then
18846 if test -s conftest.err
; then
18847 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18848 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18855 if test -z "$ac_cpp_err"; then
18858 echo "$as_me: failed program was:" >&5
18859 sed 's/^/| /' conftest.
$ac_ext >&5
18861 # Broken: fails on valid input.
18864 rm -f conftest.err conftest.
$ac_ext
18866 # OK, works on sane cases. Now check whether non-existent headers
18867 # can be detected and how.
18868 cat >conftest.
$ac_ext <<_ACEOF
18871 cat confdefs.h
>>conftest.
$ac_ext
18872 cat >>conftest.
$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18874 #include <ac_nonexistent.h>
18876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18879 grep -v '^ *+' conftest.er1
>conftest.err
18881 cat conftest.err
>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } >/dev
/null
; then
18884 if test -s conftest.err
; then
18885 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18886 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18893 if test -z "$ac_cpp_err"; then
18894 # Broken: success on invalid input.
18897 echo "$as_me: failed program was:" >&5
18898 sed 's/^/| /' conftest.
$ac_ext >&5
18900 # Passes both tests.
18904 rm -f conftest.err conftest.
$ac_ext
18907 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18908 rm -f conftest.err conftest.
$ac_ext
18909 if $ac_preproc_ok; then
18914 ac_cv_prog_CXXCPP
=$CXXCPP
18917 CXXCPP
=$ac_cv_prog_CXXCPP
18919 ac_cv_prog_CXXCPP
=$CXXCPP
18921 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18922 echo "${ECHO_T}$CXXCPP" >&6
18923 ac_preproc_ok
=false
18924 for ac_cxx_preproc_warn_flag
in '' yes
18926 # Use a header file that comes with gcc, so configuring glibc
18927 # with a fresh cross-compiler works.
18928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18929 # <limits.h> exists even on freestanding compilers.
18930 # On the NeXT, cc -E runs the code through the compiler's parser,
18931 # not just through cpp. "Syntax error" is here to catch this case.
18932 cat >conftest.
$ac_ext <<_ACEOF
18935 cat confdefs.h
>>conftest.
$ac_ext
18936 cat >>conftest.
$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18939 # include <limits.h>
18941 # include <assert.h>
18945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18948 grep -v '^ *+' conftest.er1
>conftest.err
18950 cat conftest.err
>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } >/dev
/null
; then
18953 if test -s conftest.err
; then
18954 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18955 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18962 if test -z "$ac_cpp_err"; then
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.
$ac_ext >&5
18968 # Broken: fails on valid input.
18971 rm -f conftest.err conftest.
$ac_ext
18973 # OK, works on sane cases. Now check whether non-existent headers
18974 # can be detected and how.
18975 cat >conftest.
$ac_ext <<_ACEOF
18978 cat confdefs.h
>>conftest.
$ac_ext
18979 cat >>conftest.
$ac_ext <<_ACEOF
18980 /* end confdefs.h. */
18981 #include <ac_nonexistent.h>
18983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18986 grep -v '^ *+' conftest.er1
>conftest.err
18988 cat conftest.err
>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } >/dev
/null
; then
18991 if test -s conftest.err
; then
18992 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18993 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19000 if test -z "$ac_cpp_err"; then
19001 # Broken: success on invalid input.
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.
$ac_ext >&5
19007 # Passes both tests.
19011 rm -f conftest.err conftest.
$ac_ext
19014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19015 rm -f conftest.err conftest.
$ac_ext
19016 if $ac_preproc_ok; then
19019 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19020 See \`config.log' for more details." >&5
19021 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19022 See \`config.log' for more details." >&2;}
19023 { (exit 1); exit 1; }; }
19027 ac_cpp
='$CXXCPP $CPPFLAGS'
19028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19037 ac_cpp
='$CXXCPP $CPPFLAGS'
19038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19044 for ac_header
in iostream
19046 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19048 echo "$as_me:$LINENO: checking for $ac_header" >&5
19049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19056 # Is the header compilable?
19057 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19058 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19059 cat >conftest.
$ac_ext <<_ACEOF
19062 cat confdefs.h
>>conftest.
$ac_ext
19063 cat >>conftest.
$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 $ac_includes_default
19066 #include <$ac_header>
19068 rm -f conftest.
$ac_objext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19070 (eval $ac_compile) 2>conftest.er1
19072 grep -v '^ *+' conftest.er1
>conftest.err
19074 cat conftest.err
>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try
='test -z "$ac_cxx_werror_flag"
19078 || test ! -s conftest.err'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; } &&
19084 { ac_try
='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 ac_header_compiler
=yes
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.
$ac_ext >&5
19095 ac_header_compiler
=no
19097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19099 echo "${ECHO_T}$ac_header_compiler" >&6
19101 # Is the header present?
19102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19104 cat >conftest.
$ac_ext <<_ACEOF
19107 cat confdefs.h
>>conftest.
$ac_ext
19108 cat >>conftest.
$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 #include <$ac_header>
19112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19115 grep -v '^ *+' conftest.er1
>conftest.err
19117 cat conftest.err
>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } >/dev
/null
; then
19120 if test -s conftest.err
; then
19121 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19122 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19129 if test -z "$ac_cpp_err"; then
19130 ac_header_preproc
=yes
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.
$ac_ext >&5
19135 ac_header_preproc
=no
19137 rm -f conftest.err conftest.
$ac_ext
19138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19139 echo "${ECHO_T}$ac_header_preproc" >&6
19141 # So? What about this header?
19142 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19148 ac_header_preproc
=yes
19151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19165 ## ----------------------------------------- ##
19166 ## Report this to wx-dev@lists.wxwidgets.org ##
19167 ## ----------------------------------------- ##
19170 sed "s/^/$as_me: WARNING: /" >&2
19173 echo "$as_me:$LINENO: checking for $ac_header" >&5
19174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 eval "$as_ac_Header=\$ac_header_preproc"
19180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19185 cat >>confdefs.h
<<_ACEOF
19186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19194 if test "$ac_cv_header_iostream" = "yes" ; then
19197 cat >>confdefs.h
<<\_ACEOF
19198 #define wxUSE_IOSTREAMH 1
19204 ac_cpp
='$CPP $CPPFLAGS'
19205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19212 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19213 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19214 if test "${wx_cv_cpp_bool+set}" = set; then
19215 echo $ECHO_N "(cached) $ECHO_C" >&6
19221 ac_cpp
='$CXXCPP $CPPFLAGS'
19222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19227 cat >conftest.
$ac_ext <<_ACEOF
19230 cat confdefs.h
>>conftest.
$ac_ext
19231 cat >>conftest.
$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19247 rm -f conftest.
$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1
>conftest.err
19253 cat conftest.err
>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try
='test -z "$ac_cxx_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try
='test -s conftest.$ac_objext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.
$ac_ext >&5
19281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19284 ac_cpp
='$CPP $CPPFLAGS'
19285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19291 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19292 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19294 if test "$wx_cv_cpp_bool" = "yes"; then
19295 cat >>confdefs.h
<<\_ACEOF
19296 #define HAVE_BOOL 1
19303 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19304 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19305 if test "${wx_cv_explicit+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19312 ac_cpp
='$CXXCPP $CPPFLAGS'
19313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19318 cat >conftest.
$ac_ext <<_ACEOF
19321 cat confdefs.h
>>conftest.
$ac_ext
19322 cat >>conftest.
$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19325 class Foo { public: explicit Foo(int) {} };
19337 rm -f conftest.
$ac_objext
19338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19339 (eval $ac_compile) 2>conftest.er1
19341 grep -v '^ *+' conftest.er1
>conftest.err
19343 cat conftest.err
>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } &&
19346 { ac_try
='test -z "$ac_cxx_werror_flag"
19347 || test ! -s conftest.err'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; } &&
19353 { ac_try
='test -s conftest.$ac_objext'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; }; then
19360 cat >conftest.
$ac_ext <<_ACEOF
19363 cat confdefs.h
>>conftest.
$ac_ext
19364 cat >>conftest.
$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19367 class Foo { public: explicit Foo(int) {} };
19368 static void TakeFoo(const Foo& foo) { }
19381 rm -f conftest.
$ac_objext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19383 (eval $ac_compile) 2>conftest.er1
19385 grep -v '^ *+' conftest.er1
>conftest.err
19387 cat conftest.err
>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } &&
19390 { ac_try
='test -z "$ac_cxx_werror_flag"
19391 || test ! -s conftest.err'
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; } &&
19397 { ac_try
='test -s conftest.$ac_objext'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.
$ac_ext >&5
19411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19423 ac_cpp
='$CPP $CPPFLAGS'
19424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19430 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19431 echo "${ECHO_T}$wx_cv_explicit" >&6
19433 if test "$wx_cv_explicit" = "yes"; then
19434 cat >>confdefs.h
<<\_ACEOF
19435 #define HAVE_EXPLICIT 1
19441 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19442 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19443 if test "${ac_cv_cxx_const_cast+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 ac_cpp
='$CXXCPP $CPPFLAGS'
19450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19454 cat >conftest.
$ac_ext <<_ACEOF
19457 cat confdefs.h
>>conftest.
$ac_ext
19458 cat >>conftest.
$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19464 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19469 rm -f conftest.
$ac_objext
19470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19471 (eval $ac_compile) 2>conftest.er1
19473 grep -v '^ *+' conftest.er1
>conftest.err
19475 cat conftest.err
>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } &&
19478 { ac_try
='test -z "$ac_cxx_werror_flag"
19479 || test ! -s conftest.err'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; } &&
19485 { ac_try
='test -s conftest.$ac_objext'
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19487 (eval $ac_try) 2>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; }; then
19491 ac_cv_cxx_const_cast
=yes
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.
$ac_ext >&5
19496 ac_cv_cxx_const_cast
=no
19498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19500 ac_cpp
='$CPP $CPPFLAGS'
19501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19507 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19508 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19509 if test "$ac_cv_cxx_const_cast" = yes; then
19511 cat >>confdefs.h
<<\_ACEOF
19512 #define HAVE_CONST_CAST
19517 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19518 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19519 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19520 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 ac_cpp
='$CXXCPP $CPPFLAGS'
19526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19530 cat >conftest.
$ac_ext <<_ACEOF
19533 cat confdefs.h
>>conftest.
$ac_ext
19534 cat >>conftest.
$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <typeinfo>
19537 class Base { public : Base () {} virtual void f () = 0;};
19538 class Derived : public Base { public : Derived () {} virtual void f () {} };
19539 class Unrelated { public : Unrelated () {} };
19540 int g (Unrelated&) { return 0; }
19545 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19550 rm -f conftest.
$ac_objext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19552 (eval $ac_compile) 2>conftest.er1
19554 grep -v '^ *+' conftest.er1
>conftest.err
19556 cat conftest.err
>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } &&
19559 { ac_try
='test -z "$ac_cxx_werror_flag"
19560 || test ! -s conftest.err'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try
='test -s conftest.$ac_objext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_cxx_reinterpret_cast
=yes
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.
$ac_ext >&5
19577 ac_cv_cxx_reinterpret_cast
=no
19579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19581 ac_cpp
='$CPP $CPPFLAGS'
19582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19588 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19589 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19590 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19592 cat >>confdefs.h
<<\_ACEOF
19593 #define HAVE_REINTERPRET_CAST
19598 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19599 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19600 if test "${ac_cv_cxx_static_cast+set}" = set; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19606 ac_cpp
='$CXXCPP $CPPFLAGS'
19607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19611 cat >conftest.
$ac_ext <<_ACEOF
19614 cat confdefs.h
>>conftest.
$ac_ext
19615 cat >>conftest.
$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 #include <typeinfo>
19618 class Base { public : Base () {} virtual void f () = 0; };
19619 class Derived : public Base { public : Derived () {} virtual void f () {} };
19620 int g (Derived&) { return 0; }
19625 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19630 rm -f conftest.
$ac_objext
19631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19632 (eval $ac_compile) 2>conftest.er1
19634 grep -v '^ *+' conftest.er1
>conftest.err
19636 cat conftest.err
>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try
='test -z "$ac_cxx_werror_flag"
19640 || test ! -s conftest.err'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try
='test -s conftest.$ac_objext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 ac_cv_cxx_static_cast
=yes
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.
$ac_ext >&5
19657 ac_cv_cxx_static_cast
=no
19659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19661 ac_cpp
='$CPP $CPPFLAGS'
19662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19668 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19669 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19670 if test "$ac_cv_cxx_static_cast" = yes; then
19672 cat >>confdefs.h
<<\_ACEOF
19673 #define HAVE_STATIC_CAST
19679 if test "$wxUSE_STL" = "yes"; then
19681 ac_cpp
='$CXXCPP $CPPFLAGS'
19682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19687 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19688 echo $ECHO_N "checking for basic STL functionality... $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. */
19696 #include <functional>
19697 #include <algorithm>
19703 std::vector<int> moo;
19704 std::list<int> foo;
19705 std::vector<int>::iterator it =
19706 std::find_if(moo.begin(), moo.end(),
19707 std::bind2nd(std::less<int>(), 3));
19712 rm -f conftest.
$ac_objext
19713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19714 (eval $ac_compile) 2>conftest.er1
19716 grep -v '^ *+' conftest.er1
>conftest.err
19718 cat conftest.err
>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try
='test -z "$ac_cxx_werror_flag"
19722 || test ! -s conftest.err'
19723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724 (eval $ac_try) 2>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; } &&
19728 { ac_try
='test -s conftest.$ac_objext'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; }; then
19734 echo "$as_me:$LINENO: result: yes" >&5
19735 echo "${ECHO_T}yes" >&6
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.
$ac_ext >&5
19740 echo "$as_me:$LINENO: result: no" >&5
19741 echo "${ECHO_T}no" >&6
19742 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19743 echo "$as_me: error: Basic STL functionality missing" >&2;}
19744 { (exit 1); exit 1; }; }
19746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19748 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19749 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19765 rm -f conftest.
$ac_objext
19766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19767 (eval $ac_compile) 2>conftest.er1
19769 grep -v '^ *+' conftest.er1
>conftest.err
19771 cat conftest.err
>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); } &&
19774 { ac_try
='test -z "$ac_cxx_werror_flag"
19775 || test ! -s conftest.err'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; } &&
19781 { ac_try
='test -s conftest.$ac_objext'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; }; then
19787 echo "$as_me:$LINENO: result: yes" >&5
19788 echo "${ECHO_T}yes" >&6
19789 cat >>confdefs.h
<<\_ACEOF
19790 #define HAVE_STD_WSTRING 1
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.
$ac_ext >&5
19797 echo "$as_me:$LINENO: result: no" >&5
19798 echo "${ECHO_T}no" >&6
19800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19802 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19803 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19814 std::string foo, bar;
19816 foo.compare(1, 1, bar);
19817 foo.compare(1, 1, bar, 1, 1);
19819 foo.compare(1, 1, "");
19820 foo.compare(1, 1, "", 2);
19825 rm -f conftest.
$ac_objext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827 (eval $ac_compile) 2>conftest.er1
19829 grep -v '^ *+' conftest.er1
>conftest.err
19831 cat conftest.err
>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try
='test -z "$ac_cxx_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try
='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 echo "$as_me:$LINENO: result: yes" >&5
19848 echo "${ECHO_T}yes" >&6
19849 cat >>confdefs.h
<<\_ACEOF
19850 #define HAVE_STD_STRING_COMPARE 1
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.
$ac_ext >&5
19857 echo "$as_me:$LINENO: result: no" >&5
19858 echo "${ECHO_T}no" >&6
19860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19862 if test "${ac_cv_header_hash_map+set}" = set; then
19863 echo "$as_me:$LINENO: checking for hash_map" >&5
19864 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19865 if test "${ac_cv_header_hash_map+set}" = set; then
19866 echo $ECHO_N "(cached) $ECHO_C" >&6
19868 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19869 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19871 # Is the header compilable?
19872 echo "$as_me:$LINENO: checking hash_map usability" >&5
19873 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19874 cat >conftest.
$ac_ext <<_ACEOF
19877 cat confdefs.h
>>conftest.
$ac_ext
19878 cat >>conftest.
$ac_ext <<_ACEOF
19879 /* end confdefs.h. */
19880 $ac_includes_default
19881 #include <hash_map>
19883 rm -f conftest.
$ac_objext
19884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19885 (eval $ac_compile) 2>conftest.er1
19887 grep -v '^ *+' conftest.er1
>conftest.err
19889 cat conftest.err
>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } &&
19892 { ac_try
='test -z "$ac_cxx_werror_flag"
19893 || test ! -s conftest.err'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; } &&
19899 { ac_try
='test -s conftest.$ac_objext'
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; }; then
19905 ac_header_compiler
=yes
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.
$ac_ext >&5
19910 ac_header_compiler
=no
19912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19914 echo "${ECHO_T}$ac_header_compiler" >&6
19916 # Is the header present?
19917 echo "$as_me:$LINENO: checking hash_map presence" >&5
19918 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19919 cat >conftest.
$ac_ext <<_ACEOF
19922 cat confdefs.h
>>conftest.
$ac_ext
19923 cat >>conftest.
$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 #include <hash_map>
19927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19930 grep -v '^ *+' conftest.er1
>conftest.err
19932 cat conftest.err
>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } >/dev
/null
; then
19935 if test -s conftest.err
; then
19936 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19937 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19944 if test -z "$ac_cpp_err"; then
19945 ac_header_preproc
=yes
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.
$ac_ext >&5
19950 ac_header_preproc
=no
19952 rm -f conftest.err conftest.
$ac_ext
19953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19954 echo "${ECHO_T}$ac_header_preproc" >&6
19956 # So? What about this header?
19957 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19959 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19960 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19961 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19962 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19963 ac_header_preproc
=yes
19966 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19967 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19968 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19969 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19970 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19971 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19972 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19973 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19974 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19975 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19976 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19977 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19980 ## ----------------------------------------- ##
19981 ## Report this to wx-dev@lists.wxwidgets.org ##
19982 ## ----------------------------------------- ##
19985 sed "s/^/$as_me: WARNING: /" >&2
19988 echo "$as_me:$LINENO: checking for hash_map" >&5
19989 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19990 if test "${ac_cv_header_hash_map+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 ac_cv_header_hash_map
=$ac_header_preproc
19995 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19996 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19999 if test $ac_cv_header_hash_map = yes; then
20000 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20001 echo $ECHO_N "checking for hash_map and hash_set... $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 <hash_map>
20009 #include <hash_set>
20013 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20014 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20019 rm -f conftest.
$ac_objext
20020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20021 (eval $ac_compile) 2>conftest.er1
20023 grep -v '^ *+' conftest.er1
>conftest.err
20025 cat conftest.err
>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } &&
20028 { ac_try
='test -z "$ac_cxx_werror_flag"
20029 || test ! -s conftest.err'
20030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031 (eval $ac_try) 2>&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); }; } &&
20035 { ac_try
='test -s conftest.$ac_objext'
20036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20037 (eval $ac_try) 2>&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); }; }; then
20041 echo "$as_me:$LINENO: result: yes" >&5
20042 echo "${ECHO_T}yes" >&6
20043 cat >>confdefs.h
<<\_ACEOF
20044 #define HAVE_HASH_MAP 1
20047 cat >>confdefs.h
<<\_ACEOF
20048 #define HAVE_STD_HASH_MAP 1
20052 echo "$as_me: failed program was:" >&5
20053 sed 's/^/| /' conftest.
$ac_ext >&5
20055 echo "$as_me:$LINENO: result: no" >&5
20056 echo "${ECHO_T}no" >&6
20058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20064 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20065 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20066 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20067 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20071 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20073 # Is the header compilable?
20074 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20075 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20076 cat >conftest.
$ac_ext <<_ACEOF
20079 cat confdefs.h
>>conftest.
$ac_ext
20080 cat >>conftest.
$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 #include <ext/hash_map>
20085 rm -f conftest.
$ac_objext
20086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20087 (eval $ac_compile) 2>conftest.er1
20089 grep -v '^ *+' conftest.er1
>conftest.err
20091 cat conftest.err
>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } &&
20094 { ac_try
='test -z "$ac_cxx_werror_flag"
20095 || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try
='test -s conftest.$ac_objext'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20107 ac_header_compiler
=yes
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.
$ac_ext >&5
20112 ac_header_compiler
=no
20114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20116 echo "${ECHO_T}$ac_header_compiler" >&6
20118 # Is the header present?
20119 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20120 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20121 cat >conftest.
$ac_ext <<_ACEOF
20124 cat confdefs.h
>>conftest.
$ac_ext
20125 cat >>conftest.
$ac_ext <<_ACEOF
20126 /* end confdefs.h. */
20127 #include <ext/hash_map>
20129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20132 grep -v '^ *+' conftest.er1
>conftest.err
20134 cat conftest.err
>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } >/dev
/null
; then
20137 if test -s conftest.err
; then
20138 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20139 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20146 if test -z "$ac_cpp_err"; then
20147 ac_header_preproc
=yes
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.
$ac_ext >&5
20152 ac_header_preproc
=no
20154 rm -f conftest.err conftest.
$ac_ext
20155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20156 echo "${ECHO_T}$ac_header_preproc" >&6
20158 # So? What about this header?
20159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20161 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20162 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20163 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20164 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20165 ac_header_preproc
=yes
20168 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20169 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20170 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20171 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20172 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20173 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20174 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20175 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20176 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20177 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20178 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20179 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20182 ## ----------------------------------------- ##
20183 ## Report this to wx-dev@lists.wxwidgets.org ##
20184 ## ----------------------------------------- ##
20187 sed "s/^/$as_me: WARNING: /" >&2
20190 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20191 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20192 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 ac_cv_header_ext_hash_map
=$ac_header_preproc
20197 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20198 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20201 if test $ac_cv_header_ext_hash_map = yes; then
20202 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20203 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20204 cat >conftest.
$ac_ext <<_ACEOF
20207 cat confdefs.h
>>conftest.
$ac_ext
20208 cat >>conftest.
$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20210 #include <ext/hash_map>
20211 #include <ext/hash_set>
20215 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20216 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20221 rm -f conftest.
$ac_objext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20223 (eval $ac_compile) 2>conftest.er1
20225 grep -v '^ *+' conftest.er1
>conftest.err
20227 cat conftest.err
>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try
='test -z "$ac_cxx_werror_flag"
20231 || test ! -s conftest.err'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; } &&
20237 { ac_try
='test -s conftest.$ac_objext'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; }; then
20243 echo "$as_me:$LINENO: result: yes" >&5
20244 echo "${ECHO_T}yes" >&6
20245 cat >>confdefs.h
<<\_ACEOF
20246 #define HAVE_EXT_HASH_MAP 1
20249 cat >>confdefs.h
<<\_ACEOF
20250 #define HAVE_GNU_CXX_HASH_MAP 1
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.
$ac_ext >&5
20257 echo "$as_me:$LINENO: result: no" >&5
20258 echo "${ECHO_T}no" >&6
20260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20267 ac_cpp
='$CPP $CPPFLAGS'
20268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20276 /usr/local/include \
20278 /usr/Motif-2.1/include \
20279 /usr/Motif-1.2/include \
20280 /usr/include/Motif1.2 \
20281 /opt/xpm/include/X11 \
20282 /opt/GBxpm/include/ \
20283 /opt/GBxpm/X11/include/ \
20286 /usr/openwin/include \
20290 /usr/X11R6/include \
20291 /usr/X11R6.4/include \
20292 /usr/X11R5/include \
20293 /usr/X11R4/include \
20295 /usr/include/X11R6 \
20296 /usr/include/X11R5 \
20297 /usr/include/X11R4 \
20299 /usr/local/X11R6/include \
20300 /usr/local/X11R5/include \
20301 /usr/local/X11R4/include \
20303 /usr/local/include/X11R6 \
20304 /usr/local/include/X11R5 \
20305 /usr/local/include/X11R4 \
20309 /usr/local/X11/include \
20310 /usr/local/include/X11 \
20312 /usr/X386/include \
20313 /usr/x386/include \
20314 /usr/XFree86/include/X11 \
20316 X:/XFree86/include \
20317 X:/XFree86/include/X11 \
20320 /usr/local/include/gtk \
20321 /usr/include/glib \
20322 /usr/local/include/glib \
20325 /usr/local/include/qt \
20327 /usr/local/arm/3.3.2/include \
20329 /usr/include/windows \
20330 /usr/include/wine \
20331 /usr/local/include/wine \
20333 /usr/unsupported/include \
20334 /usr/athena/include \
20335 /usr/local/x11r5/include \
20336 /usr/lpp/Xamples/include \
20338 /usr/openwin/share/include"
20340 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20343 cat >confcache
<<\_ACEOF
20344 # This file is a shell script that caches the results of configure
20345 # tests run on this system so they can be shared between configure
20346 # scripts and configure runs, see configure's option --config-cache.
20347 # It is not useful on other systems. If it contains results you don't
20348 # want to keep, you may remove or edit it.
20350 # config.status only pays attention to the cache file if you give it
20351 # the --recheck option to rerun configure.
20353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20355 # following values.
20359 # The following way of writing the cache mishandles newlines in values,
20360 # but we know of no workaround that is simple, portable, and efficient.
20361 # So, don't put newlines in cache variables' values.
20362 # Ultrix sh set writes to stderr and can't be redirected directly,
20363 # and sets the high bit in the cache file unless we assign to the vars.
20366 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20368 # `set' does not quote correctly, so add quotes (double-quote
20369 # substitution turns \\\\ into \\, and sed turns \\ into \).
20372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20375 # `set' quotes correctly as required by POSIX, so do not add quotes.
20377 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20386 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20388 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20389 if test -w $cache_file; then
20390 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20391 cat confcache
>$cache_file
20393 echo "not updating unwritable cache $cache_file"
20398 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20399 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20400 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20401 if test "${wx_cv_lib_glibc21+set}" = set; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20405 cat >conftest.
$ac_ext <<_ACEOF
20408 cat confdefs.h
>>conftest.
$ac_ext
20409 cat >>conftest.
$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 #include <features.h>
20416 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20417 #error not glibc2.1
20424 rm -f conftest.
$ac_objext
20425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20426 (eval $ac_compile) 2>conftest.er1
20428 grep -v '^ *+' conftest.er1
>conftest.err
20430 cat conftest.err
>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
20433 { ac_try
='test -z "$ac_c_werror_flag"
20434 || test ! -s conftest.err'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; } &&
20440 { ac_try
='test -s conftest.$ac_objext'
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; }; then
20447 wx_cv_lib_glibc21
=yes
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20454 wx_cv_lib_glibc21
=no
20458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20461 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20462 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20463 if test "$wx_cv_lib_glibc21" = "yes"; then
20464 cat >>confdefs.h
<<\_ACEOF
20465 #define wxHAVE_GLIBC2 1
20471 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20472 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20473 cat >>confdefs.h
<<\_ACEOF
20474 #define _GNU_SOURCE 1
20482 if test "$wxUSE_REGEX" != "no"; then
20483 cat >>confdefs.h
<<\_ACEOF
20484 #define wxUSE_REGEX 1
20488 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20489 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20490 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20491 wxUSE_REGEX
=builtin
20494 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20495 if test "${ac_cv_header_regex_h+set}" = set; then
20496 echo "$as_me:$LINENO: checking for regex.h" >&5
20497 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20498 if test "${ac_cv_header_regex_h+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20501 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20502 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20504 # Is the header compilable?
20505 echo "$as_me:$LINENO: checking regex.h usability" >&5
20506 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20507 cat >conftest.
$ac_ext <<_ACEOF
20510 cat confdefs.h
>>conftest.
$ac_ext
20511 cat >>conftest.
$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 $ac_includes_default
20516 rm -f conftest.
$ac_objext
20517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20518 (eval $ac_compile) 2>conftest.er1
20520 grep -v '^ *+' conftest.er1
>conftest.err
20522 cat conftest.err
>&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } &&
20525 { ac_try
='test -z "$ac_c_werror_flag"
20526 || test ! -s conftest.err'
20527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528 (eval $ac_try) 2>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; } &&
20532 { ac_try
='test -s conftest.$ac_objext'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; }; then
20538 ac_header_compiler
=yes
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.
$ac_ext >&5
20543 ac_header_compiler
=no
20545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20547 echo "${ECHO_T}$ac_header_compiler" >&6
20549 # Is the header present?
20550 echo "$as_me:$LINENO: checking regex.h presence" >&5
20551 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20552 cat >conftest.
$ac_ext <<_ACEOF
20555 cat confdefs.h
>>conftest.
$ac_ext
20556 cat >>conftest.
$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20561 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20563 grep -v '^ *+' conftest.er1
>conftest.err
20565 cat conftest.err
>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } >/dev
/null
; then
20568 if test -s conftest.err
; then
20569 ac_cpp_err
=$ac_c_preproc_warn_flag
20570 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20577 if test -z "$ac_cpp_err"; then
20578 ac_header_preproc
=yes
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.
$ac_ext >&5
20583 ac_header_preproc
=no
20585 rm -f conftest.err conftest.
$ac_ext
20586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20587 echo "${ECHO_T}$ac_header_preproc" >&6
20589 # So? What about this header?
20590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20592 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20593 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20594 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20595 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20596 ac_header_preproc
=yes
20599 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20600 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20601 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20602 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20604 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20605 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20606 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20607 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20608 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20609 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20610 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20613 ## ----------------------------------------- ##
20614 ## Report this to wx-dev@lists.wxwidgets.org ##
20615 ## ----------------------------------------- ##
20618 sed "s/^/$as_me: WARNING: /" >&2
20621 echo "$as_me:$LINENO: checking for regex.h" >&5
20622 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20623 if test "${ac_cv_header_regex_h+set}" = set; then
20624 echo $ECHO_N "(cached) $ECHO_C" >&6
20626 ac_cv_header_regex_h
=$ac_header_preproc
20628 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20629 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20632 if test $ac_cv_header_regex_h = yes; then
20634 for ac_func
in regcomp
20636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20637 echo "$as_me:$LINENO: checking for $ac_func" >&5
20638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20639 if eval "test \"\${$as_ac_var+set}\" = set"; then
20640 echo $ECHO_N "(cached) $ECHO_C" >&6
20642 cat >conftest.
$ac_ext <<_ACEOF
20645 cat confdefs.h
>>conftest.
$ac_ext
20646 cat >>conftest.
$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20650 #define $ac_func innocuous_$ac_func
20652 /* System header to define __stub macros and hopefully few prototypes,
20653 which can conflict with char $ac_func (); below.
20654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20655 <limits.h> exists even on freestanding compilers. */
20658 # include <limits.h>
20660 # include <assert.h>
20665 /* Override any gcc2 internal prototype to avoid an error. */
20670 /* We use char because int might match the return type of a gcc2
20671 builtin and then its argument prototype would still apply. */
20673 /* The GNU C library defines this for functions which it implements
20674 to always fail with ENOSYS. Some functions are actually named
20675 something starting with __ and the normal name is an alias. */
20676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20679 char (*f) () = $ac_func;
20688 return f != $ac_func;
20693 rm -f conftest.
$ac_objext conftest
$ac_exeext
20694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20695 (eval $ac_link) 2>conftest.er1
20697 grep -v '^ *+' conftest.er1
>conftest.err
20699 cat conftest.err
>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } &&
20702 { ac_try
='test -z "$ac_c_werror_flag"
20703 || test ! -s conftest.err'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try
='test -s conftest$ac_exeext'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20715 eval "$as_ac_var=yes"
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.
$ac_ext >&5
20720 eval "$as_ac_var=no"
20722 rm -f conftest.err conftest.
$ac_objext \
20723 conftest
$ac_exeext conftest.
$ac_ext
20725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20727 if test `eval echo '${'$as_ac_var'}'` = yes; then
20728 cat >>confdefs.h
<<_ACEOF
20729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20739 if test "x$ac_cv_func_regcomp" != "xyes"; then
20740 if test "$wxUSE_REGEX" = "sys" ; then
20741 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20742 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20743 { (exit 1); exit 1; }; }
20745 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20746 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20747 wxUSE_REGEX
=builtin
20751 cat >>confdefs.h
<<\_ACEOF
20752 #define WX_NO_REGEX_ADVANCED 1
20761 if test "$wxUSE_ZLIB" != "no" ; then
20762 cat >>confdefs.h
<<\_ACEOF
20763 #define wxUSE_ZLIB 1
20767 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20768 if test "$USE_DARWIN" = 1; then
20769 system_zlib_h_ok
="yes"
20771 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20772 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20773 if test "${ac_cv_header_zlib_h+set}" = set; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20776 if test "$cross_compiling" = yes; then
20777 unset ac_cv_header_zlib_h
20780 cat >conftest.
$ac_ext <<_ACEOF
20783 cat confdefs.h
>>conftest.
$ac_ext
20784 cat >>conftest.
$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20792 FILE *f=fopen("conftestval", "w");
20795 ZLIB_VERSION[0] == '1' &&
20796 (ZLIB_VERSION[2] > '1' ||
20797 (ZLIB_VERSION[2] == '1' &&
20798 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20803 rm -f conftest
$ac_exeext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20805 (eval $ac_link) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20814 ac_cv_header_zlib_h
=`cat conftestval`
20816 echo "$as_me: program exited with status $ac_status" >&5
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.
$ac_ext >&5
20820 ( exit $ac_status )
20821 ac_cv_header_zlib_h
=no
20823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20827 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20828 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20829 if test "${ac_cv_header_zlib_h+set}" = set; then
20830 echo "$as_me:$LINENO: checking for zlib.h" >&5
20831 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20832 if test "${ac_cv_header_zlib_h+set}" = set; then
20833 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20836 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20838 # Is the header compilable?
20839 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20840 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20841 cat >conftest.
$ac_ext <<_ACEOF
20844 cat confdefs.h
>>conftest.
$ac_ext
20845 cat >>conftest.
$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 $ac_includes_default
20850 rm -f conftest.
$ac_objext
20851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20852 (eval $ac_compile) 2>conftest.er1
20854 grep -v '^ *+' conftest.er1
>conftest.err
20856 cat conftest.err
>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); } &&
20859 { ac_try
='test -z "$ac_c_werror_flag"
20860 || test ! -s conftest.err'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; } &&
20866 { ac_try
='test -s conftest.$ac_objext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872 ac_header_compiler
=yes
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.
$ac_ext >&5
20877 ac_header_compiler
=no
20879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20881 echo "${ECHO_T}$ac_header_compiler" >&6
20883 # Is the header present?
20884 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20885 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20886 cat >conftest.
$ac_ext <<_ACEOF
20889 cat confdefs.h
>>conftest.
$ac_ext
20890 cat >>conftest.
$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20895 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20897 grep -v '^ *+' conftest.er1
>conftest.err
20899 cat conftest.err
>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } >/dev
/null
; then
20902 if test -s conftest.err
; then
20903 ac_cpp_err
=$ac_c_preproc_warn_flag
20904 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20911 if test -z "$ac_cpp_err"; then
20912 ac_header_preproc
=yes
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.
$ac_ext >&5
20917 ac_header_preproc
=no
20919 rm -f conftest.err conftest.
$ac_ext
20920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20921 echo "${ECHO_T}$ac_header_preproc" >&6
20923 # So? What about this header?
20924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20926 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20927 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20928 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20929 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20930 ac_header_preproc
=yes
20933 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20934 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20935 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20936 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20937 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20938 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20939 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20940 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20941 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20942 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20943 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20944 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20947 ## ----------------------------------------- ##
20948 ## Report this to wx-dev@lists.wxwidgets.org ##
20949 ## ----------------------------------------- ##
20952 sed "s/^/$as_me: WARNING: /" >&2
20955 echo "$as_me:$LINENO: checking for zlib.h" >&5
20956 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20957 if test "${ac_cv_header_zlib_h+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 ac_cv_header_zlib_h
=$ac_header_preproc
20962 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20963 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20969 system_zlib_h_ok
=$ac_cv_header_zlib_h
20972 if test "$system_zlib_h_ok" = "yes"; then
20973 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20974 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20975 if test "${ac_cv_lib_z_deflate+set}" = set; then
20976 echo $ECHO_N "(cached) $ECHO_C" >&6
20978 ac_check_lib_save_LIBS
=$LIBS
20980 cat >conftest.
$ac_ext <<_ACEOF
20983 cat confdefs.h
>>conftest.
$ac_ext
20984 cat >>conftest.
$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20987 /* Override any gcc2 internal prototype to avoid an error. */
20991 /* We use char because int might match the return type of a gcc2
20992 builtin and then its argument prototype would still apply. */
21002 rm -f conftest.
$ac_objext conftest
$ac_exeext
21003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21004 (eval $ac_link) 2>conftest.er1
21006 grep -v '^ *+' conftest.er1
>conftest.err
21008 cat conftest.err
>&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } &&
21011 { ac_try
='test -z "$ac_c_werror_flag"
21012 || test ! -s conftest.err'
21013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21014 (eval $ac_try) 2>&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; } &&
21018 { ac_try
='test -s conftest$ac_exeext'
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; }; then
21024 ac_cv_lib_z_deflate
=yes
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.
$ac_ext >&5
21029 ac_cv_lib_z_deflate
=no
21031 rm -f conftest.err conftest.
$ac_objext \
21032 conftest
$ac_exeext conftest.
$ac_ext
21033 LIBS
=$ac_check_lib_save_LIBS
21035 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21036 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21037 if test $ac_cv_lib_z_deflate = yes; then
21043 if test "x$ZLIB_LINK" = "x" ; then
21044 if test "$wxUSE_ZLIB" = "sys" ; then
21045 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21046 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21047 { (exit 1); exit 1; }; }
21049 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21050 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21061 if test "$wxUSE_LIBPNG" != "no" ; then
21062 cat >>confdefs.h
<<\_ACEOF
21063 #define wxUSE_LIBPNG 1
21067 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21068 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21069 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21073 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21074 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21075 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21076 wxUSE_LIBPNG
=builtin
21079 if test "$wxUSE_MGL" != 1 ; then
21080 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21081 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21082 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21083 if test "${ac_cv_header_png_h+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 if test "$cross_compiling" = yes; then
21087 unset ac_cv_header_png_h
21090 cat >conftest.
$ac_ext <<_ACEOF
21093 cat confdefs.h
>>conftest.
$ac_ext
21094 cat >>conftest.
$ac_ext <<_ACEOF
21095 /* end confdefs.h. */
21102 FILE *f=fopen("conftestval", "w");
21105 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21110 rm -f conftest
$ac_exeext
21111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21112 (eval $ac_link) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117 (eval $ac_try) 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 ac_cv_header_png_h
=`cat conftestval`
21123 echo "$as_me: program exited with status $ac_status" >&5
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.
$ac_ext >&5
21127 ( exit $ac_status )
21128 ac_cv_header_png_h
=no
21130 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21134 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21135 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21136 if test "${ac_cv_header_png_h+set}" = set; then
21137 echo "$as_me:$LINENO: checking for png.h" >&5
21138 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21139 if test "${ac_cv_header_png_h+set}" = set; then
21140 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21143 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21145 # Is the header compilable?
21146 echo "$as_me:$LINENO: checking png.h usability" >&5
21147 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21148 cat >conftest.
$ac_ext <<_ACEOF
21151 cat confdefs.h
>>conftest.
$ac_ext
21152 cat >>conftest.
$ac_ext <<_ACEOF
21153 /* end confdefs.h. */
21154 $ac_includes_default
21157 rm -f conftest.
$ac_objext
21158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21159 (eval $ac_compile) 2>conftest.er1
21161 grep -v '^ *+' conftest.er1
>conftest.err
21163 cat conftest.err
>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } &&
21166 { ac_try
='test -z "$ac_c_werror_flag"
21167 || test ! -s conftest.err'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try
='test -s conftest.$ac_objext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_header_compiler
=yes
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.
$ac_ext >&5
21184 ac_header_compiler
=no
21186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21188 echo "${ECHO_T}$ac_header_compiler" >&6
21190 # Is the header present?
21191 echo "$as_me:$LINENO: checking png.h presence" >&5
21192 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21193 cat >conftest.
$ac_ext <<_ACEOF
21196 cat confdefs.h
>>conftest.
$ac_ext
21197 cat >>conftest.
$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21204 grep -v '^ *+' conftest.er1
>conftest.err
21206 cat conftest.err
>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } >/dev
/null
; then
21209 if test -s conftest.err
; then
21210 ac_cpp_err
=$ac_c_preproc_warn_flag
21211 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21218 if test -z "$ac_cpp_err"; then
21219 ac_header_preproc
=yes
21221 echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.
$ac_ext >&5
21224 ac_header_preproc
=no
21226 rm -f conftest.err conftest.
$ac_ext
21227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21228 echo "${ECHO_T}$ac_header_preproc" >&6
21230 # So? What about this header?
21231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21233 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21234 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21235 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21236 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21237 ac_header_preproc
=yes
21240 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21241 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21242 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21243 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21244 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21245 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21246 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21247 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21248 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21249 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21250 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21251 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21254 ## ----------------------------------------- ##
21255 ## Report this to wx-dev@lists.wxwidgets.org ##
21256 ## ----------------------------------------- ##
21259 sed "s/^/$as_me: WARNING: /" >&2
21262 echo "$as_me:$LINENO: checking for png.h" >&5
21263 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21264 if test "${ac_cv_header_png_h+set}" = set; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21267 ac_cv_header_png_h
=$ac_header_preproc
21269 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21270 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21276 if test "$ac_cv_header_png_h" = "yes"; then
21277 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21278 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21279 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 ac_check_lib_save_LIBS
=$LIBS
21283 LIBS
="-lpng -lz -lm $LIBS"
21284 cat >conftest.
$ac_ext <<_ACEOF
21287 cat confdefs.h
>>conftest.
$ac_ext
21288 cat >>conftest.
$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21291 /* Override any gcc2 internal prototype to avoid an error. */
21295 /* We use char because int might match the return type of a gcc2
21296 builtin and then its argument prototype would still apply. */
21297 char png_check_sig ();
21306 rm -f conftest.
$ac_objext conftest
$ac_exeext
21307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21308 (eval $ac_link) 2>conftest.er1
21310 grep -v '^ *+' conftest.er1
>conftest.err
21312 cat conftest.err
>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); } &&
21315 { ac_try
='test -z "$ac_c_werror_flag"
21316 || test ! -s conftest.err'
21317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21318 (eval $ac_try) 2>&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); }; } &&
21322 { ac_try
='test -s conftest$ac_exeext'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; }; then
21328 ac_cv_lib_png_png_check_sig
=yes
21330 echo "$as_me: failed program was:" >&5
21331 sed 's/^/| /' conftest.
$ac_ext >&5
21333 ac_cv_lib_png_png_check_sig
=no
21335 rm -f conftest.err conftest.
$ac_objext \
21336 conftest
$ac_exeext conftest.
$ac_ext
21337 LIBS
=$ac_check_lib_save_LIBS
21339 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21340 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21341 if test $ac_cv_lib_png_png_check_sig = yes; then
21342 PNG_LINK
=" -lpng -lz"
21347 if test "x$PNG_LINK" = "x" ; then
21348 if test "$wxUSE_LIBPNG" = "sys" ; then
21349 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21350 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21351 { (exit 1); exit 1; }; }
21353 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21354 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21355 wxUSE_LIBPNG
=builtin
21363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21368 if test "$wxUSE_LIBJPEG" != "no" ; then
21369 cat >>confdefs.h
<<\_ACEOF
21370 #define wxUSE_LIBJPEG 1
21374 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21375 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21376 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21380 if test "$wxUSE_MGL" != 1 ; then
21381 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21382 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21383 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21384 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 cat >conftest.
$ac_ext <<_ACEOF
21390 cat confdefs.h
>>conftest.
$ac_ext
21391 cat >>conftest.
$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21394 #undef HAVE_STDLIB_H
21396 #include <jpeglib.h>
21407 rm -f conftest.
$ac_objext
21408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21409 (eval $ac_compile) 2>conftest.er1
21411 grep -v '^ *+' conftest.er1
>conftest.err
21413 cat conftest.err
>&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } &&
21416 { ac_try
='test -z "$ac_c_werror_flag"
21417 || test ! -s conftest.err'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; } &&
21423 { ac_try
='test -s conftest.$ac_objext'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_cv_header_jpeglib_h
=yes
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 ac_cv_header_jpeglib_h
=no
21437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21441 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21442 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21444 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21445 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21446 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21447 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21450 ac_check_lib_save_LIBS
=$LIBS
21451 LIBS
="-ljpeg $LIBS"
21452 cat >conftest.
$ac_ext <<_ACEOF
21455 cat confdefs.h
>>conftest.
$ac_ext
21456 cat >>conftest.
$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21459 /* Override any gcc2 internal prototype to avoid an error. */
21463 /* We use char because int might match the return type of a gcc2
21464 builtin and then its argument prototype would still apply. */
21465 char jpeg_read_header ();
21469 jpeg_read_header ();
21474 rm -f conftest.
$ac_objext conftest
$ac_exeext
21475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21476 (eval $ac_link) 2>conftest.er1
21478 grep -v '^ *+' conftest.er1
>conftest.err
21480 cat conftest.err
>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } &&
21483 { ac_try
='test -z "$ac_c_werror_flag"
21484 || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try
='test -s conftest$ac_exeext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_cv_lib_jpeg_jpeg_read_header
=yes
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.
$ac_ext >&5
21501 ac_cv_lib_jpeg_jpeg_read_header
=no
21503 rm -f conftest.err conftest.
$ac_objext \
21504 conftest
$ac_exeext conftest.
$ac_ext
21505 LIBS
=$ac_check_lib_save_LIBS
21507 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21508 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21509 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21510 JPEG_LINK
=" -ljpeg"
21515 if test "x$JPEG_LINK" = "x" ; then
21516 if test "$wxUSE_LIBJPEG" = "sys" ; then
21517 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21518 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21519 { (exit 1); exit 1; }; }
21521 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21522 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21523 wxUSE_LIBJPEG
=builtin
21534 TIFF_PREREQ_LINKS
=-lm
21535 if test "$wxUSE_LIBTIFF" != "no" ; then
21536 cat >>confdefs.h
<<\_ACEOF
21537 #define wxUSE_LIBTIFF 1
21541 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21542 if test "$wxUSE_LIBJPEG" = "sys"; then
21543 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21545 if test "$wxUSE_ZLIB" = "sys"; then
21546 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21548 if test "${ac_cv_header_tiffio_h+set}" = set; then
21549 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21550 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21551 if test "${ac_cv_header_tiffio_h+set}" = set; then
21552 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21555 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21557 # Is the header compilable?
21558 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21559 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21560 cat >conftest.
$ac_ext <<_ACEOF
21563 cat confdefs.h
>>conftest.
$ac_ext
21564 cat >>conftest.
$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 $ac_includes_default
21567 #include <tiffio.h>
21569 rm -f conftest.
$ac_objext
21570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21571 (eval $ac_compile) 2>conftest.er1
21573 grep -v '^ *+' conftest.er1
>conftest.err
21575 cat conftest.err
>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } &&
21578 { ac_try
='test -z "$ac_c_werror_flag"
21579 || test ! -s conftest.err'
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; } &&
21585 { ac_try
='test -s conftest.$ac_objext'
21586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587 (eval $ac_try) 2>&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); }; }; then
21591 ac_header_compiler
=yes
21593 echo "$as_me: failed program was:" >&5
21594 sed 's/^/| /' conftest.
$ac_ext >&5
21596 ac_header_compiler
=no
21598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21600 echo "${ECHO_T}$ac_header_compiler" >&6
21602 # Is the header present?
21603 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21604 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21605 cat >conftest.
$ac_ext <<_ACEOF
21608 cat confdefs.h
>>conftest.
$ac_ext
21609 cat >>conftest.
$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 #include <tiffio.h>
21613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21614 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21616 grep -v '^ *+' conftest.er1
>conftest.err
21618 cat conftest.err
>&5
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } >/dev
/null
; then
21621 if test -s conftest.err
; then
21622 ac_cpp_err
=$ac_c_preproc_warn_flag
21623 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21630 if test -z "$ac_cpp_err"; then
21631 ac_header_preproc
=yes
21633 echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.
$ac_ext >&5
21636 ac_header_preproc
=no
21638 rm -f conftest.err conftest.
$ac_ext
21639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21640 echo "${ECHO_T}$ac_header_preproc" >&6
21642 # So? What about this header?
21643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21645 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21646 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21647 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21648 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21649 ac_header_preproc
=yes
21652 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21653 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21654 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21655 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21656 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21657 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21658 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21659 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21660 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21661 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21662 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21663 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21666 ## ----------------------------------------- ##
21667 ## Report this to wx-dev@lists.wxwidgets.org ##
21668 ## ----------------------------------------- ##
21671 sed "s/^/$as_me: WARNING: /" >&2
21674 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21675 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21676 if test "${ac_cv_header_tiffio_h+set}" = set; then
21677 echo $ECHO_N "(cached) $ECHO_C" >&6
21679 ac_cv_header_tiffio_h
=$ac_header_preproc
21681 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21682 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21685 if test $ac_cv_header_tiffio_h = yes; then
21687 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21688 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21689 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 ac_check_lib_save_LIBS
=$LIBS
21693 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21694 cat >conftest.
$ac_ext <<_ACEOF
21697 cat confdefs.h
>>conftest.
$ac_ext
21698 cat >>conftest.
$ac_ext <<_ACEOF
21699 /* end confdefs.h. */
21701 /* Override any gcc2 internal prototype to avoid an error. */
21705 /* We use char because int might match the return type of a gcc2
21706 builtin and then its argument prototype would still apply. */
21716 rm -f conftest.
$ac_objext conftest
$ac_exeext
21717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21718 (eval $ac_link) 2>conftest.er1
21720 grep -v '^ *+' conftest.er1
>conftest.err
21722 cat conftest.err
>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try
='test -z "$ac_c_werror_flag"
21726 || test ! -s conftest.err'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; } &&
21732 { ac_try
='test -s conftest$ac_exeext'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; }; then
21738 ac_cv_lib_tiff_TIFFError
=yes
21740 echo "$as_me: failed program was:" >&5
21741 sed 's/^/| /' conftest.
$ac_ext >&5
21743 ac_cv_lib_tiff_TIFFError
=no
21745 rm -f conftest.err conftest.
$ac_objext \
21746 conftest
$ac_exeext conftest.
$ac_ext
21747 LIBS
=$ac_check_lib_save_LIBS
21749 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21750 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21751 if test $ac_cv_lib_tiff_TIFFError = yes; then
21752 TIFF_LINK
=" -ltiff"
21761 if test "x$TIFF_LINK" = "x" ; then
21762 if test "$wxUSE_LIBTIFF" = "sys" ; then
21763 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21764 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21765 { (exit 1); exit 1; }; }
21767 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21768 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21769 wxUSE_LIBTIFF
=builtin
21778 if test "$wxUSE_EXPAT" != "no"; then
21780 cat >>confdefs.h
<<\_ACEOF
21781 #define wxUSE_EXPAT 1
21784 cat >>confdefs.h
<<\_ACEOF
21785 #define wxUSE_XML 1
21789 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21790 if test "${ac_cv_header_expat_h+set}" = set; then
21791 echo "$as_me:$LINENO: checking for expat.h" >&5
21792 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21793 if test "${ac_cv_header_expat_h+set}" = set; then
21794 echo $ECHO_N "(cached) $ECHO_C" >&6
21796 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21797 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21799 # Is the header compilable?
21800 echo "$as_me:$LINENO: checking expat.h usability" >&5
21801 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21802 cat >conftest.
$ac_ext <<_ACEOF
21805 cat confdefs.h
>>conftest.
$ac_ext
21806 cat >>conftest.
$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 $ac_includes_default
21811 rm -f conftest.
$ac_objext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21813 (eval $ac_compile) 2>conftest.er1
21815 grep -v '^ *+' conftest.er1
>conftest.err
21817 cat conftest.err
>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try
='test -z "$ac_c_werror_flag"
21821 || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try
='test -s conftest.$ac_objext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 ac_header_compiler
=yes
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_header_compiler
=no
21840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21842 echo "${ECHO_T}$ac_header_compiler" >&6
21844 # Is the header present?
21845 echo "$as_me:$LINENO: checking expat.h presence" >&5
21846 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21847 cat >conftest.
$ac_ext <<_ACEOF
21850 cat confdefs.h
>>conftest.
$ac_ext
21851 cat >>conftest.
$ac_ext <<_ACEOF
21852 /* end confdefs.h. */
21855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21858 grep -v '^ *+' conftest.er1
>conftest.err
21860 cat conftest.err
>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } >/dev
/null
; then
21863 if test -s conftest.err
; then
21864 ac_cpp_err
=$ac_c_preproc_warn_flag
21865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21872 if test -z "$ac_cpp_err"; then
21873 ac_header_preproc
=yes
21875 echo "$as_me: failed program was:" >&5
21876 sed 's/^/| /' conftest.
$ac_ext >&5
21878 ac_header_preproc
=no
21880 rm -f conftest.err conftest.
$ac_ext
21881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21882 echo "${ECHO_T}$ac_header_preproc" >&6
21884 # So? What about this header?
21885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21887 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21888 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21889 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21890 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21891 ac_header_preproc
=yes
21894 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21895 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21896 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21897 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21898 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21899 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21901 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21902 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21903 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21904 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21905 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21908 ## ----------------------------------------- ##
21909 ## Report this to wx-dev@lists.wxwidgets.org ##
21910 ## ----------------------------------------- ##
21913 sed "s/^/$as_me: WARNING: /" >&2
21916 echo "$as_me:$LINENO: checking for expat.h" >&5
21917 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21918 if test "${ac_cv_header_expat_h+set}" = set; then
21919 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 ac_cv_header_expat_h
=$ac_header_preproc
21923 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21924 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21927 if test $ac_cv_header_expat_h = yes; then
21932 if test "x$found_expat_h" = "x1"; then
21933 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21934 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21935 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21942 ac_cpp
='$CXXCPP $CPPFLAGS'
21943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21947 cat >conftest.
$ac_ext <<_ACEOF
21950 cat confdefs.h
>>conftest.
$ac_ext
21951 cat >>conftest.
$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21962 rm -f conftest.
$ac_objext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21964 (eval $ac_compile) 2>conftest.er1
21966 grep -v '^ *+' conftest.er1
>conftest.err
21968 cat conftest.err
>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } &&
21971 { ac_try
='test -z "$ac_cxx_werror_flag"
21972 || test ! -s conftest.err'
21973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974 (eval $ac_try) 2>&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); }; } &&
21978 { ac_try
='test -s conftest.$ac_objext'
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 wx_cv_expat_is_not_broken
=yes
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.
$ac_ext >&5
21989 wx_cv_expat_is_not_broken
=no
21992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21994 ac_cpp
='$CPP $CPPFLAGS'
21995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22002 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22003 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22004 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22005 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22006 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22007 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22008 echo $ECHO_N "(cached) $ECHO_C" >&6
22010 ac_check_lib_save_LIBS
=$LIBS
22011 LIBS
="-lexpat $LIBS"
22012 cat >conftest.
$ac_ext <<_ACEOF
22015 cat confdefs.h
>>conftest.
$ac_ext
22016 cat >>conftest.
$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22019 /* Override any gcc2 internal prototype to avoid an error. */
22023 /* We use char because int might match the return type of a gcc2
22024 builtin and then its argument prototype would still apply. */
22025 char XML_ParserCreate ();
22029 XML_ParserCreate ();
22034 rm -f conftest.
$ac_objext conftest
$ac_exeext
22035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22036 (eval $ac_link) 2>conftest.er1
22038 grep -v '^ *+' conftest.er1
>conftest.err
22040 cat conftest.err
>&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } &&
22043 { ac_try
='test -z "$ac_c_werror_flag"
22044 || test ! -s conftest.err'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; } &&
22050 { ac_try
='test -s conftest$ac_exeext'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; }; then
22056 ac_cv_lib_expat_XML_ParserCreate
=yes
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.
$ac_ext >&5
22061 ac_cv_lib_expat_XML_ParserCreate
=no
22063 rm -f conftest.err conftest.
$ac_objext \
22064 conftest
$ac_exeext conftest.
$ac_ext
22065 LIBS
=$ac_check_lib_save_LIBS
22067 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22068 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22069 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22070 EXPAT_LINK
=" -lexpat"
22075 if test "x$EXPAT_LINK" = "x" ; then
22076 if test "$wxUSE_EXPAT" = "sys" ; then
22077 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22078 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22079 { (exit 1); exit 1; }; }
22081 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22082 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22083 wxUSE_EXPAT
=builtin
22089 if test "$wxUSE_EXPAT" = "builtin" ; then
22092 subdirs
="$subdirs src/expat"
22099 if test "$wxUSE_LIBMSPACK" != "no"; then
22101 if test "${ac_cv_header_mspack_h+set}" = set; then
22102 echo "$as_me:$LINENO: checking for mspack.h" >&5
22103 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22104 if test "${ac_cv_header_mspack_h+set}" = set; then
22105 echo $ECHO_N "(cached) $ECHO_C" >&6
22107 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22108 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22110 # Is the header compilable?
22111 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22112 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22113 cat >conftest.
$ac_ext <<_ACEOF
22116 cat confdefs.h
>>conftest.
$ac_ext
22117 cat >>conftest.
$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22119 $ac_includes_default
22120 #include <mspack.h>
22122 rm -f conftest.
$ac_objext
22123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22124 (eval $ac_compile) 2>conftest.er1
22126 grep -v '^ *+' conftest.er1
>conftest.err
22128 cat conftest.err
>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } &&
22131 { ac_try
='test -z "$ac_c_werror_flag"
22132 || test ! -s conftest.err'
22133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134 (eval $ac_try) 2>&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; } &&
22138 { ac_try
='test -s conftest.$ac_objext'
22139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22140 (eval $ac_try) 2>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; }; then
22144 ac_header_compiler
=yes
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.
$ac_ext >&5
22149 ac_header_compiler
=no
22151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22153 echo "${ECHO_T}$ac_header_compiler" >&6
22155 # Is the header present?
22156 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22157 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22158 cat >conftest.
$ac_ext <<_ACEOF
22161 cat confdefs.h
>>conftest.
$ac_ext
22162 cat >>conftest.
$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 #include <mspack.h>
22166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22169 grep -v '^ *+' conftest.er1
>conftest.err
22171 cat conftest.err
>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } >/dev
/null
; then
22174 if test -s conftest.err
; then
22175 ac_cpp_err
=$ac_c_preproc_warn_flag
22176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22183 if test -z "$ac_cpp_err"; then
22184 ac_header_preproc
=yes
22186 echo "$as_me: failed program was:" >&5
22187 sed 's/^/| /' conftest.
$ac_ext >&5
22189 ac_header_preproc
=no
22191 rm -f conftest.err conftest.
$ac_ext
22192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22193 echo "${ECHO_T}$ac_header_preproc" >&6
22195 # So? What about this header?
22196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22198 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22199 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22200 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22201 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22202 ac_header_preproc
=yes
22205 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22206 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22207 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22208 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22209 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22210 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22211 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22212 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22213 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22214 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22215 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22216 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22219 ## ----------------------------------------- ##
22220 ## Report this to wx-dev@lists.wxwidgets.org ##
22221 ## ----------------------------------------- ##
22224 sed "s/^/$as_me: WARNING: /" >&2
22227 echo "$as_me:$LINENO: checking for mspack.h" >&5
22228 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22229 if test "${ac_cv_header_mspack_h+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22232 ac_cv_header_mspack_h
=$ac_header_preproc
22234 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22235 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22238 if test $ac_cv_header_mspack_h = yes; then
22243 if test "x$found_mspack_h" = "x1"; then
22244 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22245 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22246 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22249 ac_check_lib_save_LIBS
=$LIBS
22250 LIBS
="-lmspack $LIBS"
22251 cat >conftest.
$ac_ext <<_ACEOF
22254 cat confdefs.h
>>conftest.
$ac_ext
22255 cat >>conftest.
$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22258 /* Override any gcc2 internal prototype to avoid an error. */
22262 /* We use char because int might match the return type of a gcc2
22263 builtin and then its argument prototype would still apply. */
22264 char mspack_create_chm_decompressor ();
22268 mspack_create_chm_decompressor ();
22273 rm -f conftest.
$ac_objext conftest
$ac_exeext
22274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22275 (eval $ac_link) 2>conftest.er1
22277 grep -v '^ *+' conftest.er1
>conftest.err
22279 cat conftest.err
>&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } &&
22282 { ac_try
='test -z "$ac_c_werror_flag"
22283 || test ! -s conftest.err'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; } &&
22289 { ac_try
='test -s conftest$ac_exeext'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22295 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.
$ac_ext >&5
22300 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22302 rm -f conftest.err conftest.
$ac_objext \
22303 conftest
$ac_exeext conftest.
$ac_ext
22304 LIBS
=$ac_check_lib_save_LIBS
22306 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22307 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22308 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22309 MSPACK_LINK
=" -lmspack"
22313 if test "x$MSPACK_LINK" = "x" ; then
22316 cat >>confdefs.h
<<\_ACEOF
22317 #define wxUSE_LIBMSPACK 1
22332 if test "$USE_WIN32" = 1 ; then
22334 for ac_header
in w32api.h
22336 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22338 echo "$as_me:$LINENO: checking for $ac_header" >&5
22339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22346 # Is the header compilable?
22347 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22348 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22349 cat >conftest.
$ac_ext <<_ACEOF
22352 cat confdefs.h
>>conftest.
$ac_ext
22353 cat >>conftest.
$ac_ext <<_ACEOF
22354 /* end confdefs.h. */
22355 $ac_includes_default
22356 #include <$ac_header>
22358 rm -f conftest.
$ac_objext
22359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22360 (eval $ac_compile) 2>conftest.er1
22362 grep -v '^ *+' conftest.er1
>conftest.err
22364 cat conftest.err
>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); } &&
22367 { ac_try
='test -z "$ac_c_werror_flag"
22368 || test ! -s conftest.err'
22369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22370 (eval $ac_try) 2>&5
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); }; } &&
22374 { ac_try
='test -s conftest.$ac_objext'
22375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376 (eval $ac_try) 2>&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); }; }; then
22380 ac_header_compiler
=yes
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.
$ac_ext >&5
22385 ac_header_compiler
=no
22387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22389 echo "${ECHO_T}$ac_header_compiler" >&6
22391 # Is the header present?
22392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22394 cat >conftest.
$ac_ext <<_ACEOF
22397 cat confdefs.h
>>conftest.
$ac_ext
22398 cat >>conftest.
$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 #include <$ac_header>
22402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22403 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22405 grep -v '^ *+' conftest.er1
>conftest.err
22407 cat conftest.err
>&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } >/dev
/null
; then
22410 if test -s conftest.err
; then
22411 ac_cpp_err
=$ac_c_preproc_warn_flag
22412 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22419 if test -z "$ac_cpp_err"; then
22420 ac_header_preproc
=yes
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.
$ac_ext >&5
22425 ac_header_preproc
=no
22427 rm -f conftest.err conftest.
$ac_ext
22428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22429 echo "${ECHO_T}$ac_header_preproc" >&6
22431 # So? What about this header?
22432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22438 ac_header_preproc
=yes
22441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22455 ## ----------------------------------------- ##
22456 ## Report this to wx-dev@lists.wxwidgets.org ##
22457 ## ----------------------------------------- ##
22460 sed "s/^/$as_me: WARNING: /" >&2
22463 echo "$as_me:$LINENO: checking for $ac_header" >&5
22464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22466 echo $ECHO_N "(cached) $ECHO_C" >&6
22468 eval "$as_ac_Header=\$ac_header_preproc"
22470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22475 cat >>confdefs.h
<<_ACEOF
22476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22483 if test "${ac_cv_header_windows_h+set}" = set; then
22484 echo "$as_me:$LINENO: checking for windows.h" >&5
22485 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22486 if test "${ac_cv_header_windows_h+set}" = set; then
22487 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22490 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22492 # Is the header compilable?
22493 echo "$as_me:$LINENO: checking windows.h usability" >&5
22494 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22495 cat >conftest.
$ac_ext <<_ACEOF
22498 cat confdefs.h
>>conftest.
$ac_ext
22499 cat >>conftest.
$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22501 $ac_includes_default
22502 #include <windows.h>
22504 rm -f conftest.
$ac_objext
22505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22506 (eval $ac_compile) 2>conftest.er1
22508 grep -v '^ *+' conftest.er1
>conftest.err
22510 cat conftest.err
>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
22513 { ac_try
='test -z "$ac_c_werror_flag"
22514 || test ! -s conftest.err'
22515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); }; } &&
22520 { ac_try
='test -s conftest.$ac_objext'
22521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 (eval $ac_try) 2>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; }; then
22526 ac_header_compiler
=yes
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.
$ac_ext >&5
22531 ac_header_compiler
=no
22533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22535 echo "${ECHO_T}$ac_header_compiler" >&6
22537 # Is the header present?
22538 echo "$as_me:$LINENO: checking windows.h presence" >&5
22539 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22540 cat >conftest.
$ac_ext <<_ACEOF
22543 cat confdefs.h
>>conftest.
$ac_ext
22544 cat >>conftest.
$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546 #include <windows.h>
22548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22551 grep -v '^ *+' conftest.er1
>conftest.err
22553 cat conftest.err
>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } >/dev
/null
; then
22556 if test -s conftest.err
; then
22557 ac_cpp_err
=$ac_c_preproc_warn_flag
22558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22565 if test -z "$ac_cpp_err"; then
22566 ac_header_preproc
=yes
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.
$ac_ext >&5
22571 ac_header_preproc
=no
22573 rm -f conftest.err conftest.
$ac_ext
22574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22575 echo "${ECHO_T}$ac_header_preproc" >&6
22577 # So? What about this header?
22578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22580 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22581 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22582 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22583 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22584 ac_header_preproc
=yes
22587 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22588 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22589 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22590 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22591 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22592 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22593 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22594 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22595 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22596 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22597 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22598 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22601 ## ----------------------------------------- ##
22602 ## Report this to wx-dev@lists.wxwidgets.org ##
22603 ## ----------------------------------------- ##
22606 sed "s/^/$as_me: WARNING: /" >&2
22609 echo "$as_me:$LINENO: checking for windows.h" >&5
22610 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22611 if test "${ac_cv_header_windows_h+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22614 ac_cv_header_windows_h
=$ac_header_preproc
22616 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22617 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22620 if test $ac_cv_header_windows_h = yes; then
22624 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22625 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22626 { (exit 1); exit 1; }; }
22632 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22634 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22635 LIBS
="$LIBS -loleacc"
22640 LIBS
="$LIBS -lkernel32 -luser32"
22641 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22644 if test "$wxUSE_ODBC" = "sys" ; then
22647 if test "$wxUSE_ODBC" = "yes" ; then
22648 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22649 cat >>confdefs.h
<<\_ACEOF
22650 #define wxUSE_ODBC 1
22655 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22656 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22658 WIN32INSTALL
=win32install
22661 if test "$wxUSE_GUI" = "yes"; then
22671 if test "$wxUSE_COCOA" = 1 ; then
22672 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22673 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22674 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22675 wxUSE_PRINTING_ARCHITECTURE
=no
22677 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22678 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22679 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22680 wxUSE_DRAG_AND_DROP
=no
22682 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22683 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22684 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22689 if test "$wxUSE_MSW" = 1 ; then
22695 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22699 if test "$wxUSE_GTK" = 1; then
22700 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22701 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22703 gtk_version_cached
=1
22704 if test "${wx_cv_lib_gtk+set}" = set; then
22705 echo $ECHO_N "(cached) $ECHO_C" >&6
22708 gtk_version_cached
=0
22709 echo "$as_me:$LINENO: result: " >&5
22710 echo "${ECHO_T}" >&6
22713 if test "$wxUSE_THREADS" = "yes"; then
22714 GTK_MODULES
=gthread
22718 if test "x$wxUSE_GTK2" = "xyes"; then
22719 # Check whether --enable-gtktest or --disable-gtktest was given.
22720 if test "${enable_gtktest+set}" = set; then
22721 enableval
="$enable_gtktest"
22727 pkg_config_args
=gtk
+-2.0
22728 for module
in .
$GTK_MODULES
22732 pkg_config_args
="$pkg_config_args gthread-2.0"
22739 # Extract the first word of "pkg-config", so it can be a program name with args.
22740 set dummy pkg
-config; ac_word
=$2
22741 echo "$as_me:$LINENO: checking for $ac_word" >&5
22742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22743 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22746 case $PKG_CONFIG in
22748 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22752 for as_dir
in $PATH
22755 test -z "$as_dir" && as_dir
=.
22756 for ac_exec_ext
in '' $ac_executable_extensions; do
22757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22758 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22765 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22769 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22771 if test -n "$PKG_CONFIG"; then
22772 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22773 echo "${ECHO_T}$PKG_CONFIG" >&6
22775 echo "$as_me:$LINENO: result: no" >&5
22776 echo "${ECHO_T}no" >&6
22780 if test x
$PKG_CONFIG != xno
; then
22781 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22784 echo "*** pkg-config too old; version 0.7 or better required."
22792 min_gtk_version
=2.0.0
22793 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22794 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22796 if test x
$PKG_CONFIG != xno
; then
22797 ## don't try to run the test against uninstalled libtool libs
22798 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22799 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22803 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22810 if test x
"$no_gtk" = x
; then
22811 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22812 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22813 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22815 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22817 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22819 if test "x$enable_gtktest" = "xyes" ; then
22820 ac_save_CFLAGS
="$CFLAGS"
22821 ac_save_LIBS
="$LIBS"
22822 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22823 LIBS
="$GTK_LIBS $LIBS"
22825 if test "$cross_compiling" = yes; then
22826 echo $ac_n "cross compiling; assumed OK... $ac_c"
22828 cat >conftest.
$ac_ext <<_ACEOF
22831 cat confdefs.h
>>conftest.
$ac_ext
22832 cat >>conftest.
$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22835 #include <gtk/gtk.h>
22837 #include <stdlib.h>
22842 int major, minor, micro;
22845 system ("touch conf.gtktest");
22847 /* HP/UX 9 (%@#!) writes to sscanf strings */
22848 tmp_version = g_strdup("$min_gtk_version");
22849 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22850 printf("%s, bad version string\n", "$min_gtk_version");
22854 if ((gtk_major_version != $gtk_config_major_version) ||
22855 (gtk_minor_version != $gtk_config_minor_version) ||
22856 (gtk_micro_version != $gtk_config_micro_version))
22858 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22859 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22860 gtk_major_version, gtk_minor_version, gtk_micro_version);
22861 printf ("*** was found! If pkg-config was correct, then it is best\n");
22862 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22863 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22864 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22865 printf("*** required on your system.\n");
22866 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22867 printf("*** to point to the correct configuration files\n");
22869 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22870 (gtk_minor_version != GTK_MINOR_VERSION) ||
22871 (gtk_micro_version != GTK_MICRO_VERSION))
22873 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22874 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22875 printf("*** library (version %d.%d.%d)\n",
22876 gtk_major_version, gtk_minor_version, gtk_micro_version);
22880 if ((gtk_major_version > major) ||
22881 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22882 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22888 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22889 gtk_major_version, gtk_minor_version, gtk_micro_version);
22890 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22891 major, minor, micro);
22892 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22894 printf("*** If you have already installed a sufficiently new version, this error\n");
22895 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22896 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22897 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22898 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22899 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22900 printf("*** so that the correct libraries are found at run-time))\n");
22907 rm -f conftest
$ac_exeext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22909 (eval $ac_link) 2>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22920 echo "$as_me: program exited with status $ac_status" >&5
22921 echo "$as_me: failed program was:" >&5
22922 sed 's/^/| /' conftest.
$ac_ext >&5
22924 ( exit $ac_status )
22927 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22929 CFLAGS
="$ac_save_CFLAGS"
22930 LIBS
="$ac_save_LIBS"
22933 if test "x$no_gtk" = x
; then
22934 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22935 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22938 echo "$as_me:$LINENO: result: no" >&5
22939 echo "${ECHO_T}no" >&6
22940 if test "$PKG_CONFIG" = "no" ; then
22941 echo "*** A new enough version of pkg-config was not found."
22942 echo "*** See http://pkgconfig.sourceforge.net"
22944 if test -f conf.gtktest
; then
22947 echo "*** Could not run GTK+ test program, checking why..."
22948 ac_save_CFLAGS
="$CFLAGS"
22949 ac_save_LIBS
="$LIBS"
22950 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22951 LIBS
="$LIBS $GTK_LIBS"
22952 cat >conftest.
$ac_ext <<_ACEOF
22955 cat confdefs.h
>>conftest.
$ac_ext
22956 cat >>conftest.
$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22959 #include <gtk/gtk.h>
22965 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22970 rm -f conftest.
$ac_objext conftest
$ac_exeext
22971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22972 (eval $ac_link) 2>conftest.er1
22974 grep -v '^ *+' conftest.er1
>conftest.err
22976 cat conftest.err
>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } &&
22979 { ac_try
='test -z "$ac_c_werror_flag"
22980 || test ! -s conftest.err'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; } &&
22986 { ac_try
='test -s conftest$ac_exeext'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; }; then
22992 echo "*** The test program compiled, but did not run. This usually means"
22993 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22994 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22995 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22996 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22997 echo "*** is required on your system"
22999 echo "*** If you have an old version installed, it is best to remove it, although"
23000 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.
$ac_ext >&5
23005 echo "*** The test program failed to compile or link. See the file config.log for the"
23006 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23008 rm -f conftest.err conftest.
$ac_objext \
23009 conftest
$ac_exeext conftest.
$ac_ext
23010 CFLAGS
="$ac_save_CFLAGS"
23011 LIBS
="$ac_save_LIBS"
23024 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23025 if test "${with_gtk_prefix+set}" = set; then
23026 withval
="$with_gtk_prefix"
23027 gtk_config_prefix
="$withval"
23029 gtk_config_prefix
=""
23032 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23033 if test "${with_gtk_exec_prefix+set}" = set; then
23034 withval
="$with_gtk_exec_prefix"
23035 gtk_config_exec_prefix
="$withval"
23037 gtk_config_exec_prefix
=""
23039 # Check whether --enable-gtktest or --disable-gtktest was given.
23040 if test "${enable_gtktest+set}" = set; then
23041 enableval
="$enable_gtktest"
23047 for module
in .
$GTK_MODULES
23051 gtk_config_args
="$gtk_config_args gthread"
23056 if test x
$gtk_config_exec_prefix != x
; then
23057 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23058 if test x
${GTK_CONFIG+set} != xset
; then
23059 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23062 if test x
$gtk_config_prefix != x
; then
23063 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23064 if test x
${GTK_CONFIG+set} != xset
; then
23065 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23069 # Extract the first word of "gtk-config", so it can be a program name with args.
23070 set dummy gtk
-config; ac_word
=$2
23071 echo "$as_me:$LINENO: checking for $ac_word" >&5
23072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23073 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23076 case $GTK_CONFIG in
23078 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23082 for as_dir
in $PATH
23085 test -z "$as_dir" && as_dir
=.
23086 for ac_exec_ext
in '' $ac_executable_extensions; do
23087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23088 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23095 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23099 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23101 if test -n "$GTK_CONFIG"; then
23102 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23103 echo "${ECHO_T}$GTK_CONFIG" >&6
23105 echo "$as_me:$LINENO: result: no" >&5
23106 echo "${ECHO_T}no" >&6
23109 min_gtk_version
=1.2.7
23110 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23111 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23113 if test "$GTK_CONFIG" = "no" ; then
23116 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23117 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23118 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23120 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23122 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23124 if test "x$enable_gtktest" = "xyes" ; then
23125 ac_save_CFLAGS
="$CFLAGS"
23126 ac_save_LIBS
="$LIBS"
23127 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23128 LIBS
="$GTK_LIBS $LIBS"
23130 if test "$cross_compiling" = yes; then
23131 echo $ac_n "cross compiling; assumed OK... $ac_c"
23133 cat >conftest.
$ac_ext <<_ACEOF
23136 cat confdefs.h
>>conftest.
$ac_ext
23137 cat >>conftest.
$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23140 #include <gtk/gtk.h>
23142 #include <stdlib.h>
23147 int major, minor, micro;
23150 system ("touch conf.gtktest");
23152 /* HP/UX 9 (%@#!) writes to sscanf strings */
23153 tmp_version = g_strdup("$min_gtk_version");
23154 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23155 printf("%s, bad version string\n", "$min_gtk_version");
23159 if ((gtk_major_version != $gtk_config_major_version) ||
23160 (gtk_minor_version != $gtk_config_minor_version) ||
23161 (gtk_micro_version != $gtk_config_micro_version))
23163 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23164 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23165 gtk_major_version, gtk_minor_version, gtk_micro_version);
23166 printf ("*** was found! If gtk-config was correct, then it is best\n");
23167 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23168 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23169 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23170 printf("*** required on your system.\n");
23171 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23172 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23173 printf("*** before re-running configure\n");
23175 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23176 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23177 (gtk_minor_version != GTK_MINOR_VERSION) ||
23178 (gtk_micro_version != GTK_MICRO_VERSION))
23180 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23181 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23182 printf("*** library (version %d.%d.%d)\n",
23183 gtk_major_version, gtk_minor_version, gtk_micro_version);
23185 #endif /* defined (GTK_MAJOR_VERSION) ... */
23188 if ((gtk_major_version > major) ||
23189 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23190 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23196 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23197 gtk_major_version, gtk_minor_version, gtk_micro_version);
23198 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23199 major, minor, micro);
23200 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23202 printf("*** If you have already installed a sufficiently new version, this error\n");
23203 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23204 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23205 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23206 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23207 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23208 printf("*** so that the correct libraries are found at run-time))\n");
23215 rm -f conftest
$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23222 (eval $ac_try) 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; }; then
23228 echo "$as_me: program exited with status $ac_status" >&5
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.
$ac_ext >&5
23232 ( exit $ac_status )
23235 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23237 CFLAGS
="$ac_save_CFLAGS"
23238 LIBS
="$ac_save_LIBS"
23241 if test "x$no_gtk" = x
; then
23242 echo "$as_me:$LINENO: result: yes" >&5
23243 echo "${ECHO_T}yes" >&6
23244 wx_cv_lib_gtk
=1.2.7
23246 echo "$as_me:$LINENO: result: no" >&5
23247 echo "${ECHO_T}no" >&6
23248 if test "$GTK_CONFIG" = "no" ; then
23249 echo "*** The gtk-config script installed by GTK could not be found"
23250 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23251 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23252 echo "*** full path to gtk-config."
23254 if test -f conf.gtktest
; then
23257 echo "*** Could not run GTK test program, checking why..."
23258 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23259 LIBS
="$LIBS $GTK_LIBS"
23260 cat >conftest.
$ac_ext <<_ACEOF
23263 cat confdefs.h
>>conftest.
$ac_ext
23264 cat >>conftest.
$ac_ext <<_ACEOF
23265 /* end confdefs.h. */
23267 #include <gtk/gtk.h>
23273 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23278 rm -f conftest.
$ac_objext conftest
$ac_exeext
23279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23280 (eval $ac_link) 2>conftest.er1
23282 grep -v '^ *+' conftest.er1
>conftest.err
23284 cat conftest.err
>&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } &&
23287 { ac_try
='test -z "$ac_c_werror_flag"
23288 || test ! -s conftest.err'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; } &&
23294 { ac_try
='test -s conftest$ac_exeext'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 echo "*** The test program compiled, but did not run. This usually means"
23301 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23302 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23303 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23304 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23305 echo "*** is required on your system"
23307 echo "*** If you have an old version installed, it is best to remove it, although"
23308 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23310 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23311 echo "*** came with the system with the command"
23313 echo "*** rpm --erase --nodeps gtk gtk-devel"
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.
$ac_ext >&5
23318 echo "*** The test program failed to compile or link. See the file config.log for the"
23319 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23320 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23321 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23323 rm -f conftest.err conftest.
$ac_objext \
23324 conftest
$ac_exeext conftest.
$ac_ext
23325 CFLAGS
="$ac_save_CFLAGS"
23326 LIBS
="$ac_save_LIBS"
23338 if test -z "$wx_cv_lib_gtk"; then
23340 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23341 if test "${with_gtk_prefix+set}" = set; then
23342 withval
="$with_gtk_prefix"
23343 gtk_config_prefix
="$withval"
23345 gtk_config_prefix
=""
23348 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23349 if test "${with_gtk_exec_prefix+set}" = set; then
23350 withval
="$with_gtk_exec_prefix"
23351 gtk_config_exec_prefix
="$withval"
23353 gtk_config_exec_prefix
=""
23355 # Check whether --enable-gtktest or --disable-gtktest was given.
23356 if test "${enable_gtktest+set}" = set; then
23357 enableval
="$enable_gtktest"
23363 for module
in .
$GTK_MODULES
23367 gtk_config_args
="$gtk_config_args gthread"
23372 if test x
$gtk_config_exec_prefix != x
; then
23373 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23374 if test x
${GTK_CONFIG+set} != xset
; then
23375 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23378 if test x
$gtk_config_prefix != x
; then
23379 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23380 if test x
${GTK_CONFIG+set} != xset
; then
23381 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23385 # Extract the first word of "gtk-config", so it can be a program name with args.
23386 set dummy gtk
-config; ac_word
=$2
23387 echo "$as_me:$LINENO: checking for $ac_word" >&5
23388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23389 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 case $GTK_CONFIG in
23394 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23398 for as_dir
in $PATH
23401 test -z "$as_dir" && as_dir
=.
23402 for ac_exec_ext
in '' $ac_executable_extensions; do
23403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23404 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23411 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23415 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23417 if test -n "$GTK_CONFIG"; then
23418 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23419 echo "${ECHO_T}$GTK_CONFIG" >&6
23421 echo "$as_me:$LINENO: result: no" >&5
23422 echo "${ECHO_T}no" >&6
23425 min_gtk_version
=1.2.3
23426 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23427 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23429 if test "$GTK_CONFIG" = "no" ; then
23432 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23433 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23434 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23436 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23438 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23440 if test "x$enable_gtktest" = "xyes" ; then
23441 ac_save_CFLAGS
="$CFLAGS"
23442 ac_save_LIBS
="$LIBS"
23443 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23444 LIBS
="$GTK_LIBS $LIBS"
23446 if test "$cross_compiling" = yes; then
23447 echo $ac_n "cross compiling; assumed OK... $ac_c"
23449 cat >conftest.
$ac_ext <<_ACEOF
23452 cat confdefs.h
>>conftest.
$ac_ext
23453 cat >>conftest.
$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23456 #include <gtk/gtk.h>
23458 #include <stdlib.h>
23463 int major, minor, micro;
23466 system ("touch conf.gtktest");
23468 /* HP/UX 9 (%@#!) writes to sscanf strings */
23469 tmp_version = g_strdup("$min_gtk_version");
23470 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23471 printf("%s, bad version string\n", "$min_gtk_version");
23475 if ((gtk_major_version != $gtk_config_major_version) ||
23476 (gtk_minor_version != $gtk_config_minor_version) ||
23477 (gtk_micro_version != $gtk_config_micro_version))
23479 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23480 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23481 gtk_major_version, gtk_minor_version, gtk_micro_version);
23482 printf ("*** was found! If gtk-config was correct, then it is best\n");
23483 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23484 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23485 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23486 printf("*** required on your system.\n");
23487 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23488 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23489 printf("*** before re-running configure\n");
23491 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23492 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23493 (gtk_minor_version != GTK_MINOR_VERSION) ||
23494 (gtk_micro_version != GTK_MICRO_VERSION))
23496 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23497 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23498 printf("*** library (version %d.%d.%d)\n",
23499 gtk_major_version, gtk_minor_version, gtk_micro_version);
23501 #endif /* defined (GTK_MAJOR_VERSION) ... */
23504 if ((gtk_major_version > major) ||
23505 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23506 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23512 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23513 gtk_major_version, gtk_minor_version, gtk_micro_version);
23514 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23515 major, minor, micro);
23516 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23518 printf("*** If you have already installed a sufficiently new version, this error\n");
23519 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23520 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23521 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23522 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23523 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23524 printf("*** so that the correct libraries are found at run-time))\n");
23531 rm -f conftest
$ac_exeext
23532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23533 (eval $ac_link) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23538 (eval $ac_try) 2>&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); }; }; then
23544 echo "$as_me: program exited with status $ac_status" >&5
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.
$ac_ext >&5
23548 ( exit $ac_status )
23551 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23553 CFLAGS
="$ac_save_CFLAGS"
23554 LIBS
="$ac_save_LIBS"
23557 if test "x$no_gtk" = x
; then
23558 echo "$as_me:$LINENO: result: yes" >&5
23559 echo "${ECHO_T}yes" >&6
23560 wx_cv_lib_gtk
=1.2.3
23562 echo "$as_me:$LINENO: result: no" >&5
23563 echo "${ECHO_T}no" >&6
23564 if test "$GTK_CONFIG" = "no" ; then
23565 echo "*** The gtk-config script installed by GTK could not be found"
23566 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23567 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23568 echo "*** full path to gtk-config."
23570 if test -f conf.gtktest
; then
23573 echo "*** Could not run GTK test program, checking why..."
23574 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23575 LIBS
="$LIBS $GTK_LIBS"
23576 cat >conftest.
$ac_ext <<_ACEOF
23579 cat confdefs.h
>>conftest.
$ac_ext
23580 cat >>conftest.
$ac_ext <<_ACEOF
23581 /* end confdefs.h. */
23583 #include <gtk/gtk.h>
23589 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23594 rm -f conftest.
$ac_objext conftest
$ac_exeext
23595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23596 (eval $ac_link) 2>conftest.er1
23598 grep -v '^ *+' conftest.er1
>conftest.err
23600 cat conftest.err
>&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } &&
23603 { ac_try
='test -z "$ac_c_werror_flag"
23604 || test ! -s conftest.err'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; } &&
23610 { ac_try
='test -s conftest$ac_exeext'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; }; then
23616 echo "*** The test program compiled, but did not run. This usually means"
23617 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23618 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23619 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23620 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23621 echo "*** is required on your system"
23623 echo "*** If you have an old version installed, it is best to remove it, although"
23624 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23626 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23627 echo "*** came with the system with the command"
23629 echo "*** rpm --erase --nodeps gtk gtk-devel"
23631 echo "$as_me: failed program was:" >&5
23632 sed 's/^/| /' conftest.
$ac_ext >&5
23634 echo "*** The test program failed to compile or link. See the file config.log for the"
23635 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23636 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23637 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23639 rm -f conftest.err conftest.
$ac_objext \
23640 conftest
$ac_exeext conftest.
$ac_ext
23641 CFLAGS
="$ac_save_CFLAGS"
23642 LIBS
="$ac_save_LIBS"
23656 if test -z "$wx_cv_lib_gtk"; then
23659 wx_cv_cflags_gtk
=$GTK_CFLAGS
23660 wx_cv_libs_gtk
=$GTK_LIBS
23667 if test "$gtk_version_cached" = 1; then
23668 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23669 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23672 case "$wx_cv_lib_gtk" in
23681 *) { { echo "$as_me:$LINENO: error:
23682 Please check that gtk-config is in path, the directory
23683 where GTK+ libraries are installed (returned by
23684 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23685 equivalent variable and GTK+ is version 1.2.3 or above.
23687 echo "$as_me: error:
23688 Please check that gtk-config is in path, the directory
23689 where GTK+ libraries are installed (returned by
23690 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23691 equivalent variable and GTK+ is version 1.2.3 or above.
23693 { (exit 1); exit 1; }; }
23697 if test "$WXGTK20" = 1; then
23698 save_CFLAGS
="$CFLAGS"
23700 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23701 LIBS
="$LIBS $GTK_LIBS"
23703 for ac_func
in pango_font_family_is_monospace
23705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23706 echo "$as_me:$LINENO: checking for $ac_func" >&5
23707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23708 if eval "test \"\${$as_ac_var+set}\" = set"; then
23709 echo $ECHO_N "(cached) $ECHO_C" >&6
23711 cat >conftest.
$ac_ext <<_ACEOF
23714 cat confdefs.h
>>conftest.
$ac_ext
23715 cat >>conftest.
$ac_ext <<_ACEOF
23716 /* end confdefs.h. */
23717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23719 #define $ac_func innocuous_$ac_func
23721 /* System header to define __stub macros and hopefully few prototypes,
23722 which can conflict with char $ac_func (); below.
23723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23724 <limits.h> exists even on freestanding compilers. */
23727 # include <limits.h>
23729 # include <assert.h>
23734 /* Override any gcc2 internal prototype to avoid an error. */
23739 /* We use char because int might match the return type of a gcc2
23740 builtin and then its argument prototype would still apply. */
23742 /* The GNU C library defines this for functions which it implements
23743 to always fail with ENOSYS. Some functions are actually named
23744 something starting with __ and the normal name is an alias. */
23745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23748 char (*f) () = $ac_func;
23757 return f != $ac_func;
23762 rm -f conftest.
$ac_objext conftest
$ac_exeext
23763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23764 (eval $ac_link) 2>conftest.er1
23766 grep -v '^ *+' conftest.er1
>conftest.err
23768 cat conftest.err
>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try
='test -z "$ac_c_werror_flag"
23772 || test ! -s conftest.err'
23773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23774 (eval $ac_try) 2>&5
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); }; } &&
23778 { ac_try
='test -s conftest$ac_exeext'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; }; then
23784 eval "$as_ac_var=yes"
23786 echo "$as_me: failed program was:" >&5
23787 sed 's/^/| /' conftest.
$ac_ext >&5
23789 eval "$as_ac_var=no"
23791 rm -f conftest.err conftest.
$ac_objext \
23792 conftest
$ac_exeext conftest.
$ac_ext
23794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23796 if test `eval echo '${'$as_ac_var'}'` = yes; then
23797 cat >>confdefs.h
<<_ACEOF
23798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23804 CFLAGS
="$save_CFLAGS"
23807 if test "$wxUSE_UNICODE" = "yes"; then
23808 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23809 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23814 if test "$USE_DARWIN" != 1; then
23816 for ac_func
in poll
23818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23819 echo "$as_me:$LINENO: checking for $ac_func" >&5
23820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23821 if eval "test \"\${$as_ac_var+set}\" = set"; then
23822 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 cat >conftest.
$ac_ext <<_ACEOF
23827 cat confdefs.h
>>conftest.
$ac_ext
23828 cat >>conftest.
$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23832 #define $ac_func innocuous_$ac_func
23834 /* System header to define __stub macros and hopefully few prototypes,
23835 which can conflict with char $ac_func (); below.
23836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23837 <limits.h> exists even on freestanding compilers. */
23840 # include <limits.h>
23842 # include <assert.h>
23847 /* Override any gcc2 internal prototype to avoid an error. */
23852 /* We use char because int might match the return type of a gcc2
23853 builtin and then its argument prototype would still apply. */
23855 /* The GNU C library defines this for functions which it implements
23856 to always fail with ENOSYS. Some functions are actually named
23857 something starting with __ and the normal name is an alias. */
23858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23861 char (*f) () = $ac_func;
23870 return f != $ac_func;
23875 rm -f conftest.
$ac_objext conftest
$ac_exeext
23876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23877 (eval $ac_link) 2>conftest.er1
23879 grep -v '^ *+' conftest.er1
>conftest.err
23881 cat conftest.err
>&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } &&
23884 { ac_try
='test -z "$ac_c_werror_flag"
23885 || test ! -s conftest.err'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; } &&
23891 { ac_try
='test -s conftest$ac_exeext'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23897 eval "$as_ac_var=yes"
23899 echo "$as_me: failed program was:" >&5
23900 sed 's/^/| /' conftest.
$ac_ext >&5
23902 eval "$as_ac_var=no"
23904 rm -f conftest.err conftest.
$ac_objext \
23905 conftest
$ac_exeext conftest.
$ac_ext
23907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23909 if test `eval echo '${'$as_ac_var'}'` = yes; then
23910 cat >>confdefs.h
<<_ACEOF
23911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23919 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23920 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23922 AFMINSTALL
=afminstall
23926 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23927 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23928 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23929 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 ac_check_lib_save_LIBS
=$LIBS
23933 cat >conftest.
$ac_ext <<_ACEOF
23936 cat confdefs.h
>>conftest.
$ac_ext
23937 cat >>conftest.
$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23940 /* Override any gcc2 internal prototype to avoid an error. */
23944 /* We use char because int might match the return type of a gcc2
23945 builtin and then its argument prototype would still apply. */
23946 char gdk_im_open ();
23955 rm -f conftest.
$ac_objext conftest
$ac_exeext
23956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23957 (eval $ac_link) 2>conftest.er1
23959 grep -v '^ *+' conftest.er1
>conftest.err
23961 cat conftest.err
>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); } &&
23964 { ac_try
='test -z "$ac_c_werror_flag"
23965 || test ! -s conftest.err'
23966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967 (eval $ac_try) 2>&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; } &&
23971 { ac_try
='test -s conftest$ac_exeext'
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; }; then
23977 ac_cv_lib_gdk_gdk_im_open
=yes
23979 echo "$as_me: failed program was:" >&5
23980 sed 's/^/| /' conftest.
$ac_ext >&5
23982 ac_cv_lib_gdk_gdk_im_open
=no
23984 rm -f conftest.err conftest.
$ac_objext \
23985 conftest
$ac_exeext conftest.
$ac_ext
23986 LIBS
=$ac_check_lib_save_LIBS
23988 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23989 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23990 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23991 cat >>confdefs.h
<<\_ACEOF
23999 if test "$wxUSE_GPE" = "yes"; then
24000 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24001 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24004 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24006 for ac_extension
in a so sl dylib
; do
24007 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24008 ac_find_libraries
=$ac_dir
24014 if test "$ac_find_libraries" != "" ; then
24016 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24018 if test $result = 0; then
24021 ac_path_to_link
=" -L$ac_find_libraries"
24024 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24026 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24027 echo "${ECHO_T}found at $ac_find_libraries" >&6
24029 echo "$as_me:$LINENO: result: not found" >&5
24030 echo "${ECHO_T}not found" >&6
24036 if test "$wxUSE_MGL" = 1; then
24037 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24038 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24039 if test "x$MGL_ROOT" = x
; then
24040 echo "$as_me:$LINENO: result: not found" >&5
24041 echo "${ECHO_T}not found" >&6
24042 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24043 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24044 { (exit 1); exit 1; }; }
24046 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24047 echo "${ECHO_T}$MGL_ROOT" >&6
24050 echo "$as_me:$LINENO: checking for libmgl location" >&5
24051 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24054 if test "x$wxUSE_SHARED" = xyes
; then
24055 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24057 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24061 mgl_os_candidates
="dos32/dj2"
24064 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24065 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24066 { (exit 1); exit 1; }; }
24072 for mgl_os_i
in $mgl_os_candidates ; do
24073 if test "x$mgl_os" = x
; then
24074 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24075 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24076 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24081 if test "x$mgl_lib_type" = x
; then
24082 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24083 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24084 mgl_lib_type
=release
24091 if test "x$mgl_os" = x
; then
24092 echo "$as_me:$LINENO: result: not found" >&5
24093 echo "${ECHO_T}not found" >&6
24094 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24095 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24096 { (exit 1); exit 1; }; }
24098 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24099 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24101 wxUSE_UNIVERSAL
="yes"
24103 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24104 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24106 AFMINSTALL
=afminstall
24111 if test "$wxUSE_MICROWIN" = 1; then
24112 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24113 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24114 if test "x$MICROWINDOWS" = x
; then
24115 echo "$as_me:$LINENO: result: not found" >&5
24116 echo "${ECHO_T}not found" >&6
24117 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24118 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24119 { (exit 1); exit 1; }; }
24121 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24122 echo "${ECHO_T}$MICROWINDOWS" >&6
24125 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24126 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24127 echo "${ECHO_T}MicroWindows' libraries found." >&6
24129 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24130 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24131 { (exit 1); exit 1; }; }
24134 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24135 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24137 wxUSE_UNIVERSAL
="yes"
24139 AFMINSTALL
=afminstall
24141 GUIDIST
=MICROWIN_DIST
24143 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24146 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24147 echo "$as_me:$LINENO: checking for X" >&5
24148 echo $ECHO_N "checking for X... $ECHO_C" >&6
24151 # Check whether --with-x or --without-x was given.
24152 if test "${with_x+set}" = set; then
24156 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24157 if test "x$with_x" = xno
; then
24158 # The user explicitly disabled X.
24161 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24162 # Both variables are already set.
24165 if test "${ac_cv_have_x+set}" = set; then
24166 echo $ECHO_N "(cached) $ECHO_C" >&6
24168 # One or both of the vars are not set, and there is no cached value.
24169 ac_x_includes
=no ac_x_libraries
=no
24170 rm -fr conftest.dir
24171 if mkdir conftest.dir
; then
24173 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24174 cat >Imakefile
<<'_ACEOF'
24176 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24178 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24180 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24181 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24182 for ac_extension
in a so sl
; do
24183 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24184 test -f $ac_im_libdir/libX11.
$ac_extension; then
24185 ac_im_usrlibdir
=$ac_im_libdir; break
24188 # Screen out bogus values from the imake configuration. They are
24189 # bogus both because they are the default anyway, and because
24190 # using them would break gcc on systems where it needs fixed includes.
24191 case $ac_im_incroot in
24193 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24195 case $ac_im_usrlibdir in
24196 /usr
/lib
| /lib
) ;;
24197 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24201 rm -fr conftest.dir
24204 # Standard set of common directories for X headers.
24205 # Check X11 before X11Rn because it is often a symlink to the current release.
24217 /usr/local/X11/include
24218 /usr/local/X11R6/include
24219 /usr/local/X11R5/include
24220 /usr/local/X11R4/include
24222 /usr/local/include/X11
24223 /usr/local/include/X11R6
24224 /usr/local/include/X11R5
24225 /usr/local/include/X11R4
24229 /usr/XFree86/include/X11
24233 /usr/unsupported/include
24234 /usr/athena/include
24235 /usr/local/x11r5/include
24236 /usr/lpp/Xamples/include
24238 /usr/openwin/include
24239 /usr/openwin/share/include'
24241 if test "$ac_x_includes" = no
; then
24242 # Guess where to find include files, by looking for Intrinsic.h.
24243 # First, try using that file with no special directory specified.
24244 cat >conftest.
$ac_ext <<_ACEOF
24247 cat confdefs.h
>>conftest.
$ac_ext
24248 cat >>conftest.
$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24250 #include <X11/Intrinsic.h>
24252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24255 grep -v '^ *+' conftest.er1
>conftest.err
24257 cat conftest.err
>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } >/dev
/null
; then
24260 if test -s conftest.err
; then
24261 ac_cpp_err
=$ac_c_preproc_warn_flag
24262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24269 if test -z "$ac_cpp_err"; then
24270 # We can compile using X headers with no special include directory.
24273 echo "$as_me: failed program was:" >&5
24274 sed 's/^/| /' conftest.
$ac_ext >&5
24276 for ac_dir
in $ac_x_header_dirs; do
24277 if test -r "$ac_dir/X11/Intrinsic.h"; then
24278 ac_x_includes
=$ac_dir
24283 rm -f conftest.err conftest.
$ac_ext
24284 fi # $ac_x_includes = no
24286 if test "$ac_x_libraries" = no
; then
24287 # Check for the libraries.
24288 # See if we find them without any special options.
24289 # Don't add to $LIBS permanently.
24292 cat >conftest.
$ac_ext <<_ACEOF
24295 cat confdefs.h
>>conftest.
$ac_ext
24296 cat >>conftest.
$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 #include <X11/Intrinsic.h>
24307 rm -f conftest.
$ac_objext conftest
$ac_exeext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24309 (eval $ac_link) 2>conftest.er1
24311 grep -v '^ *+' conftest.er1
>conftest.err
24313 cat conftest.err
>&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try
='test -z "$ac_c_werror_flag"
24317 || test ! -s conftest.err'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; } &&
24323 { ac_try
='test -s conftest$ac_exeext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24330 # We can link X programs with no special library path.
24333 echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.
$ac_ext >&5
24337 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24339 # Don't even attempt the hair of trying to link an X program!
24340 for ac_extension
in a so sl
; do
24341 if test -r $ac_dir/libXt.
$ac_extension; then
24342 ac_x_libraries
=$ac_dir
24348 rm -f conftest.err conftest.
$ac_objext \
24349 conftest
$ac_exeext conftest.
$ac_ext
24350 fi # $ac_x_libraries = no
24352 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24353 # Didn't find X anywhere. Cache the known absence of X.
24354 ac_cv_have_x
="have_x=no"
24356 # Record where we found X for the cache.
24357 ac_cv_have_x
="have_x=yes \
24358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24363 eval "$ac_cv_have_x"
24366 if test "$have_x" != yes; then
24367 echo "$as_me:$LINENO: result: $have_x" >&5
24368 echo "${ECHO_T}$have_x" >&6
24371 # If each of the values was on the command line, it overrides each guess.
24372 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24373 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24374 # Update the cache value to reflect the command line values.
24375 ac_cv_have_x
="have_x=yes \
24376 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24377 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24378 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24381 if test "$no_x" = yes; then
24382 # Not all programs may use this symbol, but it does not hurt to define it.
24384 cat >>confdefs.h
<<\_ACEOF
24385 #define X_DISPLAY_MISSING 1
24388 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24390 if test -n "$x_includes"; then
24391 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24394 # It would also be nice to do this for all -L options, not just this one.
24395 if test -n "$x_libraries"; then
24396 X_LIBS
="$X_LIBS -L$x_libraries"
24397 # For Solaris; some versions of Sun CC require a space after -R and
24398 # others require no space. Words are not sufficient . . . .
24399 case `(uname -sr) 2>/dev/null` in
24401 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24402 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24403 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24404 cat >conftest.
$ac_ext <<_ACEOF
24407 cat confdefs.h
>>conftest.
$ac_ext
24408 cat >>conftest.
$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24419 rm -f conftest.
$ac_objext conftest
$ac_exeext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24421 (eval $ac_link) 2>conftest.er1
24423 grep -v '^ *+' conftest.er1
>conftest.err
24425 cat conftest.err
>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } &&
24428 { ac_try
='test -z "$ac_c_werror_flag"
24429 || test ! -s conftest.err'
24430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24431 (eval $ac_try) 2>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); }; } &&
24435 { ac_try
='test -s conftest$ac_exeext'
24436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437 (eval $ac_try) 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; }; then
24443 echo "$as_me: failed program was:" >&5
24444 sed 's/^/| /' conftest.
$ac_ext >&5
24448 rm -f conftest.err conftest.
$ac_objext \
24449 conftest
$ac_exeext conftest.
$ac_ext
24450 if test $ac_R_nospace = yes; then
24451 echo "$as_me:$LINENO: result: no" >&5
24452 echo "${ECHO_T}no" >&6
24453 X_LIBS
="$X_LIBS -R$x_libraries"
24455 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24456 cat >conftest.
$ac_ext <<_ACEOF
24459 cat confdefs.h
>>conftest.
$ac_ext
24460 cat >>conftest.
$ac_ext <<_ACEOF
24461 /* end confdefs.h. */
24471 rm -f conftest.
$ac_objext conftest
$ac_exeext
24472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24473 (eval $ac_link) 2>conftest.er1
24475 grep -v '^ *+' conftest.er1
>conftest.err
24477 cat conftest.err
>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try
='test -z "$ac_c_werror_flag"
24481 || test ! -s conftest.err'
24482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24483 (eval $ac_try) 2>&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); }; } &&
24487 { ac_try
='test -s conftest$ac_exeext'
24488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489 (eval $ac_try) 2>&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); }; }; then
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.
$ac_ext >&5
24500 rm -f conftest.err conftest.
$ac_objext \
24501 conftest
$ac_exeext conftest.
$ac_ext
24502 if test $ac_R_space = yes; then
24503 echo "$as_me:$LINENO: result: yes" >&5
24504 echo "${ECHO_T}yes" >&6
24505 X_LIBS
="$X_LIBS -R $x_libraries"
24507 echo "$as_me:$LINENO: result: neither works" >&5
24508 echo "${ECHO_T}neither works" >&6
24511 LIBS
=$ac_xsave_LIBS
24515 # Check for system-dependent libraries X programs must link with.
24516 # Do this before checking for the system-independent R6 libraries
24517 # (-lICE), since we may need -lsocket or whatever for X linking.
24519 if test "$ISC" = yes; then
24520 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24522 # Martyn Johnson says this is needed for Ultrix, if the X
24523 # libraries were built with DECnet support. And Karl Berry says
24524 # the Alpha needs dnet_stub (dnet does not exist).
24525 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24526 cat >conftest.
$ac_ext <<_ACEOF
24529 cat confdefs.h
>>conftest.
$ac_ext
24530 cat >>conftest.
$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24533 /* Override any gcc2 internal prototype to avoid an error. */
24537 /* We use char because int might match the return type of a gcc2
24538 builtin and then its argument prototype would still apply. */
24539 char XOpenDisplay ();
24548 rm -f conftest.
$ac_objext conftest
$ac_exeext
24549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24550 (eval $ac_link) 2>conftest.er1
24552 grep -v '^ *+' conftest.er1
>conftest.err
24554 cat conftest.err
>&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try
='test -z "$ac_c_werror_flag"
24558 || test ! -s conftest.err'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; } &&
24564 { ac_try
='test -s conftest$ac_exeext'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; }; then
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.
$ac_ext >&5
24575 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24576 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24577 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24578 echo $ECHO_N "(cached) $ECHO_C" >&6
24580 ac_check_lib_save_LIBS
=$LIBS
24581 LIBS
="-ldnet $LIBS"
24582 cat >conftest.
$ac_ext <<_ACEOF
24585 cat confdefs.h
>>conftest.
$ac_ext
24586 cat >>conftest.
$ac_ext <<_ACEOF
24587 /* end confdefs.h. */
24589 /* Override any gcc2 internal prototype to avoid an error. */
24593 /* We use char because int might match the return type of a gcc2
24594 builtin and then its argument prototype would still apply. */
24604 rm -f conftest.
$ac_objext conftest
$ac_exeext
24605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24606 (eval $ac_link) 2>conftest.er1
24608 grep -v '^ *+' conftest.er1
>conftest.err
24610 cat conftest.err
>&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); } &&
24613 { ac_try
='test -z "$ac_c_werror_flag"
24614 || test ! -s conftest.err'
24615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616 (eval $ac_try) 2>&5
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); }; } &&
24620 { ac_try
='test -s conftest$ac_exeext'
24621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622 (eval $ac_try) 2>&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); }; }; then
24626 ac_cv_lib_dnet_dnet_ntoa
=yes
24628 echo "$as_me: failed program was:" >&5
24629 sed 's/^/| /' conftest.
$ac_ext >&5
24631 ac_cv_lib_dnet_dnet_ntoa
=no
24633 rm -f conftest.err conftest.
$ac_objext \
24634 conftest
$ac_exeext conftest.
$ac_ext
24635 LIBS
=$ac_check_lib_save_LIBS
24637 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24638 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24639 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24643 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24644 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24645 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24646 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24647 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 ac_check_lib_save_LIBS
=$LIBS
24650 LIBS
="-ldnet_stub $LIBS"
24651 cat >conftest.
$ac_ext <<_ACEOF
24654 cat confdefs.h
>>conftest.
$ac_ext
24655 cat >>conftest.
$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24658 /* Override any gcc2 internal prototype to avoid an error. */
24662 /* We use char because int might match the return type of a gcc2
24663 builtin and then its argument prototype would still apply. */
24673 rm -f conftest.
$ac_objext conftest
$ac_exeext
24674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24675 (eval $ac_link) 2>conftest.er1
24677 grep -v '^ *+' conftest.er1
>conftest.err
24679 cat conftest.err
>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } &&
24682 { ac_try
='test -z "$ac_c_werror_flag"
24683 || test ! -s conftest.err'
24684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24685 (eval $ac_try) 2>&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); }; } &&
24689 { ac_try
='test -s conftest$ac_exeext'
24690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24691 (eval $ac_try) 2>&5
24693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24694 (exit $ac_status); }; }; then
24695 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24697 echo "$as_me: failed program was:" >&5
24698 sed 's/^/| /' conftest.
$ac_ext >&5
24700 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24702 rm -f conftest.err conftest.
$ac_objext \
24703 conftest
$ac_exeext conftest.
$ac_ext
24704 LIBS
=$ac_check_lib_save_LIBS
24706 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24707 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24708 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24709 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24714 rm -f conftest.err conftest.
$ac_objext \
24715 conftest
$ac_exeext conftest.
$ac_ext
24716 LIBS
="$ac_xsave_LIBS"
24718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24719 # to get the SysV transport functions.
24720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24722 # The nsl library prevents programs from opening the X display
24723 # on Irix 5.2, according to T.E. Dickey.
24724 # The functions gethostbyname, getservbyname, and inet_addr are
24725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24726 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24727 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24728 if test "${ac_cv_func_gethostbyname+set}" = set; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 cat >conftest.
$ac_ext <<_ACEOF
24734 cat confdefs.h
>>conftest.
$ac_ext
24735 cat >>conftest.
$ac_ext <<_ACEOF
24736 /* end confdefs.h. */
24737 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24739 #define gethostbyname innocuous_gethostbyname
24741 /* System header to define __stub macros and hopefully few prototypes,
24742 which can conflict with char gethostbyname (); below.
24743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24744 <limits.h> exists even on freestanding compilers. */
24747 # include <limits.h>
24749 # include <assert.h>
24752 #undef gethostbyname
24754 /* Override any gcc2 internal prototype to avoid an error. */
24759 /* We use char because int might match the return type of a gcc2
24760 builtin and then its argument prototype would still apply. */
24761 char gethostbyname ();
24762 /* The GNU C library defines this for functions which it implements
24763 to always fail with ENOSYS. Some functions are actually named
24764 something starting with __ and the normal name is an alias. */
24765 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24768 char (*f) () = gethostbyname;
24777 return f != gethostbyname;
24782 rm -f conftest.
$ac_objext conftest
$ac_exeext
24783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24784 (eval $ac_link) 2>conftest.er1
24786 grep -v '^ *+' conftest.er1
>conftest.err
24788 cat conftest.err
>&5
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); } &&
24791 { ac_try
='test -z "$ac_c_werror_flag"
24792 || test ! -s conftest.err'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; } &&
24798 { ac_try
='test -s conftest$ac_exeext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_cv_func_gethostbyname
=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.
$ac_ext >&5
24809 ac_cv_func_gethostbyname
=no
24811 rm -f conftest.err conftest.
$ac_objext \
24812 conftest
$ac_exeext conftest.
$ac_ext
24814 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24815 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24817 if test $ac_cv_func_gethostbyname = no
; then
24818 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24819 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24820 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24821 echo $ECHO_N "(cached) $ECHO_C" >&6
24823 ac_check_lib_save_LIBS
=$LIBS
24825 cat >conftest.
$ac_ext <<_ACEOF
24828 cat confdefs.h
>>conftest.
$ac_ext
24829 cat >>conftest.
$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24832 /* Override any gcc2 internal prototype to avoid an error. */
24836 /* We use char because int might match the return type of a gcc2
24837 builtin and then its argument prototype would still apply. */
24838 char gethostbyname ();
24847 rm -f conftest.
$ac_objext conftest
$ac_exeext
24848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24849 (eval $ac_link) 2>conftest.er1
24851 grep -v '^ *+' conftest.er1
>conftest.err
24853 cat conftest.err
>&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } &&
24856 { ac_try
='test -z "$ac_c_werror_flag"
24857 || test ! -s conftest.err'
24858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24859 (eval $ac_try) 2>&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); }; } &&
24863 { ac_try
='test -s conftest$ac_exeext'
24864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865 (eval $ac_try) 2>&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); }; }; then
24869 ac_cv_lib_nsl_gethostbyname
=yes
24871 echo "$as_me: failed program was:" >&5
24872 sed 's/^/| /' conftest.
$ac_ext >&5
24874 ac_cv_lib_nsl_gethostbyname
=no
24876 rm -f conftest.err conftest.
$ac_objext \
24877 conftest
$ac_exeext conftest.
$ac_ext
24878 LIBS
=$ac_check_lib_save_LIBS
24880 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24881 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24882 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24883 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24886 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24887 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24888 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24889 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24890 echo $ECHO_N "(cached) $ECHO_C" >&6
24892 ac_check_lib_save_LIBS
=$LIBS
24894 cat >conftest.
$ac_ext <<_ACEOF
24897 cat confdefs.h
>>conftest.
$ac_ext
24898 cat >>conftest.
$ac_ext <<_ACEOF
24899 /* end confdefs.h. */
24901 /* Override any gcc2 internal prototype to avoid an error. */
24905 /* We use char because int might match the return type of a gcc2
24906 builtin and then its argument prototype would still apply. */
24907 char gethostbyname ();
24916 rm -f conftest.
$ac_objext conftest
$ac_exeext
24917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24918 (eval $ac_link) 2>conftest.er1
24920 grep -v '^ *+' conftest.er1
>conftest.err
24922 cat conftest.err
>&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } &&
24925 { ac_try
='test -z "$ac_c_werror_flag"
24926 || test ! -s conftest.err'
24927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928 (eval $ac_try) 2>&5
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); }; } &&
24932 { ac_try
='test -s conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 ac_cv_lib_bsd_gethostbyname
=yes
24940 echo "$as_me: failed program was:" >&5
24941 sed 's/^/| /' conftest.
$ac_ext >&5
24943 ac_cv_lib_bsd_gethostbyname
=no
24945 rm -f conftest.err conftest.
$ac_objext \
24946 conftest
$ac_exeext conftest.
$ac_ext
24947 LIBS
=$ac_check_lib_save_LIBS
24949 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24950 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24951 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24952 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24958 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24959 # socket/setsockopt and other routines are undefined under SCO ODT
24960 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24961 # on later versions), says Simon Leinen: it contains gethostby*
24962 # variants that don't use the name server (or something). -lsocket
24963 # must be given before -lnsl if both are needed. We assume that
24964 # if connect needs -lnsl, so does gethostbyname.
24965 echo "$as_me:$LINENO: checking for connect" >&5
24966 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24967 if test "${ac_cv_func_connect+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 cat >conftest.
$ac_ext <<_ACEOF
24973 cat confdefs.h
>>conftest.
$ac_ext
24974 cat >>conftest.
$ac_ext <<_ACEOF
24975 /* end confdefs.h. */
24976 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24978 #define connect innocuous_connect
24980 /* System header to define __stub macros and hopefully few prototypes,
24981 which can conflict with char connect (); below.
24982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24983 <limits.h> exists even on freestanding compilers. */
24986 # include <limits.h>
24988 # include <assert.h>
24993 /* Override any gcc2 internal prototype to avoid an error. */
24998 /* We use char because int might match the return type of a gcc2
24999 builtin and then its argument prototype would still apply. */
25001 /* The GNU C library defines this for functions which it implements
25002 to always fail with ENOSYS. Some functions are actually named
25003 something starting with __ and the normal name is an alias. */
25004 #if defined (__stub_connect) || defined (__stub___connect)
25007 char (*f) () = connect;
25016 return f != connect;
25021 rm -f conftest.
$ac_objext conftest
$ac_exeext
25022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25023 (eval $ac_link) 2>conftest.er1
25025 grep -v '^ *+' conftest.er1
>conftest.err
25027 cat conftest.err
>&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); } &&
25030 { ac_try
='test -z "$ac_c_werror_flag"
25031 || test ! -s conftest.err'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; } &&
25037 { ac_try
='test -s conftest$ac_exeext'
25038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25039 (eval $ac_try) 2>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; }; then
25043 ac_cv_func_connect
=yes
25045 echo "$as_me: failed program was:" >&5
25046 sed 's/^/| /' conftest.
$ac_ext >&5
25048 ac_cv_func_connect
=no
25050 rm -f conftest.err conftest.
$ac_objext \
25051 conftest
$ac_exeext conftest.
$ac_ext
25053 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25054 echo "${ECHO_T}$ac_cv_func_connect" >&6
25056 if test $ac_cv_func_connect = no
; then
25057 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25058 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25059 if test "${ac_cv_lib_socket_connect+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 ac_check_lib_save_LIBS
=$LIBS
25063 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25064 cat >conftest.
$ac_ext <<_ACEOF
25067 cat confdefs.h
>>conftest.
$ac_ext
25068 cat >>conftest.
$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25071 /* Override any gcc2 internal prototype to avoid an error. */
25075 /* We use char because int might match the return type of a gcc2
25076 builtin and then its argument prototype would still apply. */
25086 rm -f conftest.
$ac_objext conftest
$ac_exeext
25087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25088 (eval $ac_link) 2>conftest.er1
25090 grep -v '^ *+' conftest.er1
>conftest.err
25092 cat conftest.err
>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); } &&
25095 { ac_try
='test -z "$ac_c_werror_flag"
25096 || test ! -s conftest.err'
25097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25098 (eval $ac_try) 2>&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); }; } &&
25102 { ac_try
='test -s conftest$ac_exeext'
25103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25104 (eval $ac_try) 2>&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); }; }; then
25108 ac_cv_lib_socket_connect
=yes
25110 echo "$as_me: failed program was:" >&5
25111 sed 's/^/| /' conftest.
$ac_ext >&5
25113 ac_cv_lib_socket_connect
=no
25115 rm -f conftest.err conftest.
$ac_objext \
25116 conftest
$ac_exeext conftest.
$ac_ext
25117 LIBS
=$ac_check_lib_save_LIBS
25119 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25120 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25121 if test $ac_cv_lib_socket_connect = yes; then
25122 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25127 # Guillermo Gomez says -lposix is necessary on A/UX.
25128 echo "$as_me:$LINENO: checking for remove" >&5
25129 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25130 if test "${ac_cv_func_remove+set}" = set; then
25131 echo $ECHO_N "(cached) $ECHO_C" >&6
25133 cat >conftest.
$ac_ext <<_ACEOF
25136 cat confdefs.h
>>conftest.
$ac_ext
25137 cat >>conftest.
$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25139 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25141 #define remove innocuous_remove
25143 /* System header to define __stub macros and hopefully few prototypes,
25144 which can conflict with char remove (); below.
25145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25146 <limits.h> exists even on freestanding compilers. */
25149 # include <limits.h>
25151 # include <assert.h>
25156 /* Override any gcc2 internal prototype to avoid an error. */
25161 /* We use char because int might match the return type of a gcc2
25162 builtin and then its argument prototype would still apply. */
25164 /* The GNU C library defines this for functions which it implements
25165 to always fail with ENOSYS. Some functions are actually named
25166 something starting with __ and the normal name is an alias. */
25167 #if defined (__stub_remove) || defined (__stub___remove)
25170 char (*f) () = remove;
25179 return f != remove;
25184 rm -f conftest.
$ac_objext conftest
$ac_exeext
25185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25186 (eval $ac_link) 2>conftest.er1
25188 grep -v '^ *+' conftest.er1
>conftest.err
25190 cat conftest.err
>&5
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); } &&
25193 { ac_try
='test -z "$ac_c_werror_flag"
25194 || test ! -s conftest.err'
25195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25196 (eval $ac_try) 2>&5
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; } &&
25200 { ac_try
='test -s conftest$ac_exeext'
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 ac_cv_func_remove
=yes
25208 echo "$as_me: failed program was:" >&5
25209 sed 's/^/| /' conftest.
$ac_ext >&5
25211 ac_cv_func_remove
=no
25213 rm -f conftest.err conftest.
$ac_objext \
25214 conftest
$ac_exeext conftest.
$ac_ext
25216 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25217 echo "${ECHO_T}$ac_cv_func_remove" >&6
25219 if test $ac_cv_func_remove = no
; then
25220 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25221 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25222 if test "${ac_cv_lib_posix_remove+set}" = set; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25225 ac_check_lib_save_LIBS
=$LIBS
25226 LIBS
="-lposix $LIBS"
25227 cat >conftest.
$ac_ext <<_ACEOF
25230 cat confdefs.h
>>conftest.
$ac_ext
25231 cat >>conftest.
$ac_ext <<_ACEOF
25232 /* end confdefs.h. */
25234 /* Override any gcc2 internal prototype to avoid an error. */
25238 /* We use char because int might match the return type of a gcc2
25239 builtin and then its argument prototype would still apply. */
25249 rm -f conftest.
$ac_objext conftest
$ac_exeext
25250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25251 (eval $ac_link) 2>conftest.er1
25253 grep -v '^ *+' conftest.er1
>conftest.err
25255 cat conftest.err
>&5
25256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25257 (exit $ac_status); } &&
25258 { ac_try
='test -z "$ac_c_werror_flag"
25259 || test ! -s conftest.err'
25260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25261 (eval $ac_try) 2>&5
25263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264 (exit $ac_status); }; } &&
25265 { ac_try
='test -s conftest$ac_exeext'
25266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25267 (eval $ac_try) 2>&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); }; }; then
25271 ac_cv_lib_posix_remove
=yes
25273 echo "$as_me: failed program was:" >&5
25274 sed 's/^/| /' conftest.
$ac_ext >&5
25276 ac_cv_lib_posix_remove
=no
25278 rm -f conftest.err conftest.
$ac_objext \
25279 conftest
$ac_exeext conftest.
$ac_ext
25280 LIBS
=$ac_check_lib_save_LIBS
25282 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25283 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25284 if test $ac_cv_lib_posix_remove = yes; then
25285 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25290 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25291 echo "$as_me:$LINENO: checking for shmat" >&5
25292 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25293 if test "${ac_cv_func_shmat+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 cat >conftest.
$ac_ext <<_ACEOF
25299 cat confdefs.h
>>conftest.
$ac_ext
25300 cat >>conftest.
$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25302 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25304 #define shmat innocuous_shmat
25306 /* System header to define __stub macros and hopefully few prototypes,
25307 which can conflict with char shmat (); below.
25308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25309 <limits.h> exists even on freestanding compilers. */
25312 # include <limits.h>
25314 # include <assert.h>
25319 /* Override any gcc2 internal prototype to avoid an error. */
25324 /* We use char because int might match the return type of a gcc2
25325 builtin and then its argument prototype would still apply. */
25327 /* The GNU C library defines this for functions which it implements
25328 to always fail with ENOSYS. Some functions are actually named
25329 something starting with __ and the normal name is an alias. */
25330 #if defined (__stub_shmat) || defined (__stub___shmat)
25333 char (*f) () = shmat;
25347 rm -f conftest.
$ac_objext conftest
$ac_exeext
25348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25349 (eval $ac_link) 2>conftest.er1
25351 grep -v '^ *+' conftest.er1
>conftest.err
25353 cat conftest.err
>&5
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); } &&
25356 { ac_try
='test -z "$ac_c_werror_flag"
25357 || test ! -s conftest.err'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; } &&
25363 { ac_try
='test -s conftest$ac_exeext'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; }; then
25369 ac_cv_func_shmat
=yes
25371 echo "$as_me: failed program was:" >&5
25372 sed 's/^/| /' conftest.
$ac_ext >&5
25374 ac_cv_func_shmat
=no
25376 rm -f conftest.err conftest.
$ac_objext \
25377 conftest
$ac_exeext conftest.
$ac_ext
25379 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25380 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25382 if test $ac_cv_func_shmat = no
; then
25383 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25384 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25385 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25386 echo $ECHO_N "(cached) $ECHO_C" >&6
25388 ac_check_lib_save_LIBS
=$LIBS
25390 cat >conftest.
$ac_ext <<_ACEOF
25393 cat confdefs.h
>>conftest.
$ac_ext
25394 cat >>conftest.
$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25397 /* Override any gcc2 internal prototype to avoid an error. */
25401 /* We use char because int might match the return type of a gcc2
25402 builtin and then its argument prototype would still apply. */
25412 rm -f conftest.
$ac_objext conftest
$ac_exeext
25413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25414 (eval $ac_link) 2>conftest.er1
25416 grep -v '^ *+' conftest.er1
>conftest.err
25418 cat conftest.err
>&5
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); } &&
25421 { ac_try
='test -z "$ac_c_werror_flag"
25422 || test ! -s conftest.err'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; } &&
25428 { ac_try
='test -s conftest$ac_exeext'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; }; then
25434 ac_cv_lib_ipc_shmat
=yes
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.
$ac_ext >&5
25439 ac_cv_lib_ipc_shmat
=no
25441 rm -f conftest.err conftest.
$ac_objext \
25442 conftest
$ac_exeext conftest.
$ac_ext
25443 LIBS
=$ac_check_lib_save_LIBS
25445 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25446 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25447 if test $ac_cv_lib_ipc_shmat = yes; then
25448 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25454 # Check for libraries that X11R6 Xt/Xaw programs need.
25455 ac_save_LDFLAGS
=$LDFLAGS
25456 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25457 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25458 # check for ICE first), but we must link in the order -lSM -lICE or
25459 # we get undefined symbols. So assume we have SM if we have ICE.
25460 # These have to be linked with before -lX11, unlike the other
25461 # libraries we check for below, so use a different variable.
25462 # John Interrante, Karl Berry
25463 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25464 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25465 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25468 ac_check_lib_save_LIBS
=$LIBS
25469 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25470 cat >conftest.
$ac_ext <<_ACEOF
25473 cat confdefs.h
>>conftest.
$ac_ext
25474 cat >>conftest.
$ac_ext <<_ACEOF
25475 /* end confdefs.h. */
25477 /* Override any gcc2 internal prototype to avoid an error. */
25481 /* We use char because int might match the return type of a gcc2
25482 builtin and then its argument prototype would still apply. */
25483 char IceConnectionNumber ();
25487 IceConnectionNumber ();
25492 rm -f conftest.
$ac_objext conftest
$ac_exeext
25493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25494 (eval $ac_link) 2>conftest.er1
25496 grep -v '^ *+' conftest.er1
>conftest.err
25498 cat conftest.err
>&5
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); } &&
25501 { ac_try
='test -z "$ac_c_werror_flag"
25502 || test ! -s conftest.err'
25503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25504 (eval $ac_try) 2>&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); }; } &&
25508 { ac_try
='test -s conftest$ac_exeext'
25509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510 (eval $ac_try) 2>&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); }; }; then
25514 ac_cv_lib_ICE_IceConnectionNumber
=yes
25516 echo "$as_me: failed program was:" >&5
25517 sed 's/^/| /' conftest.
$ac_ext >&5
25519 ac_cv_lib_ICE_IceConnectionNumber
=no
25521 rm -f conftest.err conftest.
$ac_objext \
25522 conftest
$ac_exeext conftest.
$ac_ext
25523 LIBS
=$ac_check_lib_save_LIBS
25525 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25526 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25527 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25528 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25531 LDFLAGS
=$ac_save_LDFLAGS
25536 if test "$no_x" = "yes"; then
25537 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25538 echo "$as_me: error: X11 not found" >&2;}
25539 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25542 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25543 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25544 AFMINSTALL
=afminstall
25545 COMPILED_X_PROGRAM
=0
25549 if test "$wxUSE_X11" = 1; then
25550 if test "$wxUSE_NANOX" = "yes"; then
25551 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25552 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25553 if test "x$MICROWIN" = x
; then
25554 echo "$as_me:$LINENO: result: not found" >&5
25555 echo "${ECHO_T}not found" >&6
25556 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25557 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25558 { (exit 1); exit 1; }; }
25560 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25561 echo "${ECHO_T}$MICROWIN" >&6
25562 cat >>confdefs.h
<<\_ACEOF
25563 #define wxUSE_NANOX 1
25569 if test "$wxUSE_UNICODE" = "yes"; then
25573 if test -z "$PKG_CONFIG"; then
25574 # Extract the first word of "pkg-config", so it can be a program name with args.
25575 set dummy pkg
-config; ac_word
=$2
25576 echo "$as_me:$LINENO: checking for $ac_word" >&5
25577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25578 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 case $PKG_CONFIG in
25583 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25587 for as_dir
in $PATH
25590 test -z "$as_dir" && as_dir
=.
25591 for ac_exec_ext
in '' $ac_executable_extensions; do
25592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25593 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25600 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25604 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25606 if test -n "$PKG_CONFIG"; then
25607 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25608 echo "${ECHO_T}$PKG_CONFIG" >&6
25610 echo "$as_me:$LINENO: result: no" >&5
25611 echo "${ECHO_T}no" >&6
25616 if test "$PKG_CONFIG" = "no" ; then
25617 echo "*** The pkg-config script could not be found. Make sure it is"
25618 echo "*** in your path, or set the PKG_CONFIG environment variable"
25619 echo "*** to the full path to pkg-config."
25620 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25622 PKG_CONFIG_MIN_VERSION
=0.9.0
25623 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25624 echo "$as_me:$LINENO: checking for pangox" >&5
25625 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25627 if $PKG_CONFIG --exists "pangox" ; then
25628 echo "$as_me:$LINENO: result: yes" >&5
25629 echo "${ECHO_T}yes" >&6
25632 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25633 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25634 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25635 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25636 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25638 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25639 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25640 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25641 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25642 echo "${ECHO_T}$PANGOX_LIBS" >&6
25646 ## If we have a custom action on failure, don't print errors, but
25647 ## do set a variable so people can do so.
25648 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25655 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25656 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25660 if test $succeeded = yes; then
25662 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25663 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25667 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25668 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25669 { (exit 1); exit 1; }; }
25677 if test -z "$PKG_CONFIG"; then
25678 # Extract the first word of "pkg-config", so it can be a program name with args.
25679 set dummy pkg
-config; ac_word
=$2
25680 echo "$as_me:$LINENO: checking for $ac_word" >&5
25681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25682 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 case $PKG_CONFIG in
25687 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25691 for as_dir
in $PATH
25694 test -z "$as_dir" && as_dir
=.
25695 for ac_exec_ext
in '' $ac_executable_extensions; do
25696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25697 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25704 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25708 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25710 if test -n "$PKG_CONFIG"; then
25711 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25712 echo "${ECHO_T}$PKG_CONFIG" >&6
25714 echo "$as_me:$LINENO: result: no" >&5
25715 echo "${ECHO_T}no" >&6
25720 if test "$PKG_CONFIG" = "no" ; then
25721 echo "*** The pkg-config script could not be found. Make sure it is"
25722 echo "*** in your path, or set the PKG_CONFIG environment variable"
25723 echo "*** to the full path to pkg-config."
25724 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25726 PKG_CONFIG_MIN_VERSION
=0.9.0
25727 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25728 echo "$as_me:$LINENO: checking for pangoft2" >&5
25729 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25731 if $PKG_CONFIG --exists "pangoft2" ; then
25732 echo "$as_me:$LINENO: result: yes" >&5
25733 echo "${ECHO_T}yes" >&6
25736 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25737 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25738 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25739 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25740 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25742 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25743 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25744 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25745 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25746 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25750 ## If we have a custom action on failure, don't print errors, but
25751 ## do set a variable so people can do so.
25752 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25759 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25760 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25764 if test $succeeded = yes; then
25766 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25767 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25771 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25772 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25773 wxUSE_PRINTING_ARCHITECTURE
="no"
25781 if test -z "$PKG_CONFIG"; then
25782 # Extract the first word of "pkg-config", so it can be a program name with args.
25783 set dummy pkg
-config; ac_word
=$2
25784 echo "$as_me:$LINENO: checking for $ac_word" >&5
25785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25786 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 case $PKG_CONFIG in
25791 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25795 for as_dir
in $PATH
25798 test -z "$as_dir" && as_dir
=.
25799 for ac_exec_ext
in '' $ac_executable_extensions; do
25800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25801 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25808 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25812 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25814 if test -n "$PKG_CONFIG"; then
25815 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25816 echo "${ECHO_T}$PKG_CONFIG" >&6
25818 echo "$as_me:$LINENO: result: no" >&5
25819 echo "${ECHO_T}no" >&6
25824 if test "$PKG_CONFIG" = "no" ; then
25825 echo "*** The pkg-config script could not be found. Make sure it is"
25826 echo "*** in your path, or set the PKG_CONFIG environment variable"
25827 echo "*** to the full path to pkg-config."
25828 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25830 PKG_CONFIG_MIN_VERSION
=0.9.0
25831 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25832 echo "$as_me:$LINENO: checking for pangoxft" >&5
25833 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25835 if $PKG_CONFIG --exists "pangoxft" ; then
25836 echo "$as_me:$LINENO: result: yes" >&5
25837 echo "${ECHO_T}yes" >&6
25840 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25841 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25842 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25843 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25844 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25846 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25847 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25848 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25849 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25850 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25854 ## If we have a custom action on failure, don't print errors, but
25855 ## do set a variable so people can do so.
25856 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25863 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25864 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25868 if test $succeeded = yes; then
25870 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25871 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25875 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25876 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25881 save_CFLAGS
="$CFLAGS"
25883 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25884 LIBS
="$LIBS $PANGOX_LIBS"
25886 for ac_func
in pango_font_family_is_monospace
25888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25889 echo "$as_me:$LINENO: checking for $ac_func" >&5
25890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25891 if eval "test \"\${$as_ac_var+set}\" = set"; then
25892 echo $ECHO_N "(cached) $ECHO_C" >&6
25894 cat >conftest.
$ac_ext <<_ACEOF
25897 cat confdefs.h
>>conftest.
$ac_ext
25898 cat >>conftest.
$ac_ext <<_ACEOF
25899 /* end confdefs.h. */
25900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25902 #define $ac_func innocuous_$ac_func
25904 /* System header to define __stub macros and hopefully few prototypes,
25905 which can conflict with char $ac_func (); below.
25906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25907 <limits.h> exists even on freestanding compilers. */
25910 # include <limits.h>
25912 # include <assert.h>
25917 /* Override any gcc2 internal prototype to avoid an error. */
25922 /* We use char because int might match the return type of a gcc2
25923 builtin and then its argument prototype would still apply. */
25925 /* The GNU C library defines this for functions which it implements
25926 to always fail with ENOSYS. Some functions are actually named
25927 something starting with __ and the normal name is an alias. */
25928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25931 char (*f) () = $ac_func;
25940 return f != $ac_func;
25945 rm -f conftest.
$ac_objext conftest
$ac_exeext
25946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25947 (eval $ac_link) 2>conftest.er1
25949 grep -v '^ *+' conftest.er1
>conftest.err
25951 cat conftest.err
>&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } &&
25954 { ac_try
='test -z "$ac_c_werror_flag"
25955 || test ! -s conftest.err'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; } &&
25961 { ac_try
='test -s conftest$ac_exeext'
25962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25963 (eval $ac_try) 2>&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); }; }; then
25967 eval "$as_ac_var=yes"
25969 echo "$as_me: failed program was:" >&5
25970 sed 's/^/| /' conftest.
$ac_ext >&5
25972 eval "$as_ac_var=no"
25974 rm -f conftest.err conftest.
$ac_objext \
25975 conftest
$ac_exeext conftest.
$ac_ext
25977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25979 if test `eval echo '${'$as_ac_var'}'` = yes; then
25980 cat >>confdefs.h
<<_ACEOF
25981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25987 CFLAGS
="$save_CFLAGS"
25991 wxUSE_UNIVERSAL
="yes"
25993 if test "$wxUSE_NANOX" = "yes"; then
25994 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25995 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"
25996 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25998 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26005 if test "$wxUSE_MOTIF" = 1; then
26006 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26007 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26010 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26012 if test -f "$ac_dir/Xm/Xm.h"; then
26013 ac_find_includes
=$ac_dir
26018 if test "$ac_find_includes" != "" ; then
26019 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26020 echo "${ECHO_T}found in $ac_find_includes" >&6
26022 if test "x$ac_find_includes" = "x/usr/include"; then
26023 ac_path_to_include
=""
26025 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26027 if test $result = 0; then
26028 ac_path_to_include
=""
26030 ac_path_to_include
=" -I$ac_find_includes"
26034 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26036 cat >conftest.
$ac_ext <<_ACEOF
26039 cat confdefs.h
>>conftest.
$ac_ext
26040 cat >>conftest.
$ac_ext <<_ACEOF
26041 /* end confdefs.h. */
26050 version = xmUseVersion;
26056 rm -f conftest.
$ac_objext
26057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26058 (eval $ac_compile) 2>conftest.er1
26060 grep -v '^ *+' conftest.er1
>conftest.err
26062 cat conftest.err
>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } &&
26065 { ac_try
='test -z "$ac_c_werror_flag"
26066 || test ! -s conftest.err'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; } &&
26072 { ac_try
='test -s conftest.$ac_objext'
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; }; then
26079 echo "$as_me:$LINENO: result: found in default search path" >&5
26080 echo "${ECHO_T}found in default search path" >&6
26081 COMPILED_X_PROGRAM
=1
26084 echo "$as_me: failed program was:" >&5
26085 sed 's/^/| /' conftest.
$ac_ext >&5
26088 echo "$as_me:$LINENO: result: no" >&5
26089 echo "${ECHO_T}no" >&6
26090 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26091 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26092 { (exit 1); exit 1; }; }
26096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26099 if test "$COMPILED_X_PROGRAM" = 0; then
26100 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26101 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26104 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26106 for ac_extension
in a so sl dylib
; do
26107 if test -f "$ac_dir/libXm.$ac_extension"; then
26108 ac_find_libraries
=$ac_dir
26114 if test "$ac_find_libraries" != "" ; then
26115 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26116 echo "${ECHO_T}found at $ac_find_libraries" >&6
26119 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26121 if test $result = 0; then
26124 ac_path_to_link
=" -L$ac_find_libraries"
26127 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26129 save_CFLAGS
=$CFLAGS
26130 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26132 cat >conftest.
$ac_ext <<_ACEOF
26135 cat confdefs.h
>>conftest.
$ac_ext
26136 cat >>conftest.
$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26146 version = xmUseVersion;
26152 rm -f conftest.
$ac_objext
26153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26154 (eval $ac_compile) 2>conftest.er1
26156 grep -v '^ *+' conftest.er1
>conftest.err
26158 cat conftest.err
>&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } &&
26161 { ac_try
='test -z "$ac_c_werror_flag"
26162 || test ! -s conftest.err'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; } &&
26168 { ac_try
='test -s conftest.$ac_objext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26175 echo "$as_me:$LINENO: result: found in default search path" >&5
26176 echo "${ECHO_T}found in default search path" >&6
26177 COMPILED_X_PROGRAM
=1
26180 echo "$as_me: failed program was:" >&5
26181 sed 's/^/| /' conftest.
$ac_ext >&5
26184 echo "$as_me:$LINENO: result: no" >&5
26185 echo "${ECHO_T}no" >&6
26186 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26187 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26188 { (exit 1); exit 1; }; }
26192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26194 CFLAGS
=$save_CFLAGS
26198 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26199 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26203 for libp
in "" " -lXp"; do
26204 if test "$libs_found" = "0"; then
26205 for libsm_ice
in "" " -lSM -lICE"; do
26206 if test "$libs_found" = "0"; then
26208 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26209 save_CFLAGS
=$CFLAGS
26210 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26212 cat >conftest.
$ac_ext <<_ACEOF
26215 cat confdefs.h
>>conftest.
$ac_ext
26216 cat >>conftest.
$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26220 #include <Xm/List.h>
26226 XmString string = NULL;
26229 XmListAddItem(w, string, position);
26235 rm -f conftest.
$ac_objext conftest
$ac_exeext
26236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26237 (eval $ac_link) 2>conftest.er1
26239 grep -v '^ *+' conftest.er1
>conftest.err
26241 cat conftest.err
>&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); } &&
26244 { ac_try
='test -z "$ac_c_werror_flag"
26245 || test ! -s conftest.err'
26246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26247 (eval $ac_try) 2>&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); }; } &&
26251 { ac_try
='test -s conftest$ac_exeext'
26252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26253 (eval $ac_try) 2>&5
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); }; }; then
26259 libsm_ice_link
="$libsm_ice"
26260 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26261 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26265 echo "$as_me: failed program was:" >&5
26266 sed 's/^/| /' conftest.
$ac_ext >&5
26271 rm -f conftest.err conftest.
$ac_objext \
26272 conftest
$ac_exeext conftest.
$ac_ext
26275 CFLAGS
=$save_CFLAGS
26281 if test "$libs_found" = "0"; then
26282 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26283 echo "${ECHO_T}can't find the right libraries" >&6
26284 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26285 echo "$as_me: error: can't link a simple motif program" >&2;}
26286 { (exit 1); exit 1; }; }
26289 save_CFLAGS
=$CFLAGS
26290 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26291 echo "$as_me:$LINENO: checking for Motif 2" >&5
26292 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26293 cat >conftest.
$ac_ext <<_ACEOF
26296 cat confdefs.h
>>conftest.
$ac_ext
26297 cat >>conftest.
$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26306 #if XmVersion < 2000
26307 #error "Not Motif 2"
26314 rm -f conftest.
$ac_objext
26315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26316 (eval $ac_compile) 2>conftest.er1
26318 grep -v '^ *+' conftest.er1
>conftest.err
26320 cat conftest.err
>&5
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); } &&
26323 { ac_try
='test -z "$ac_c_werror_flag"
26324 || test ! -s conftest.err'
26325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26326 (eval $ac_try) 2>&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); }; } &&
26330 { ac_try
='test -s conftest.$ac_objext'
26331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26332 (eval $ac_try) 2>&5
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); }; }; then
26337 cat >>confdefs.h
<<\_ACEOF
26338 #define __WXMOTIF20__ 1
26341 echo "$as_me:$LINENO: result: found" >&5
26342 echo "${ECHO_T}found" >&6
26345 echo "$as_me: failed program was:" >&5
26346 sed 's/^/| /' conftest.
$ac_ext >&5
26349 cat >>confdefs.h
<<\_ACEOF
26350 #define __WXMOTIF20__ 0
26353 echo "$as_me:$LINENO: result: not found" >&5
26354 echo "${ECHO_T}not found" >&6
26357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26358 CFLAGS
=$save_CFLAGS
26360 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26365 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26366 if test "$wxUSE_LIBXPM" = "sys"; then
26367 echo "$as_me:$LINENO: checking for Xpm library" >&5
26368 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26371 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26373 for ac_extension
in a so sl dylib
; do
26374 if test -f "$ac_dir/libXpm.$ac_extension"; then
26375 ac_find_libraries
=$ac_dir
26381 if test "$ac_find_libraries" != "" ; then
26383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26385 if test $result = 0; then
26388 ac_path_to_link
=" -L$ac_find_libraries"
26391 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26392 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26393 echo "${ECHO_T}found at $ac_find_libraries" >&6
26395 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26396 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26397 if test "${wx_cv_x11_xpm_h+set}" = set; then
26398 echo $ECHO_N "(cached) $ECHO_C" >&6
26401 save_CFLAGS
=$CFLAGS
26402 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26404 cat >conftest.
$ac_ext <<_ACEOF
26407 cat confdefs.h
>>conftest.
$ac_ext
26408 cat >>conftest.
$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26411 #include <X11/xpm.h>
26418 version = XpmLibraryVersion();
26424 rm -f conftest.
$ac_objext
26425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26426 (eval $ac_compile) 2>conftest.er1
26428 grep -v '^ *+' conftest.er1
>conftest.err
26430 cat conftest.err
>&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); } &&
26433 { ac_try
='test -z "$ac_c_werror_flag"
26434 || test ! -s conftest.err'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; } &&
26440 { ac_try
='test -s conftest.$ac_objext'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; }; then
26446 wx_cv_x11_xpm_h
=yes
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.
$ac_ext >&5
26454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26456 CFLAGS
=$save_CFLAGS
26460 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26461 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26463 if test $wx_cv_x11_xpm_h = "yes"; then
26464 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26465 cat >>confdefs.h
<<\_ACEOF
26466 #define wxHAVE_LIB_XPM 1
26470 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26471 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26477 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26478 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26479 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26480 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 ac_check_lib_save_LIBS
=$LIBS
26483 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26484 cat >conftest.
$ac_ext <<_ACEOF
26487 cat confdefs.h
>>conftest.
$ac_ext
26488 cat >>conftest.
$ac_ext <<_ACEOF
26489 /* end confdefs.h. */
26491 /* Override any gcc2 internal prototype to avoid an error. */
26495 /* We use char because int might match the return type of a gcc2
26496 builtin and then its argument prototype would still apply. */
26497 char XShapeQueryExtension ();
26501 XShapeQueryExtension ();
26506 rm -f conftest.
$ac_objext conftest
$ac_exeext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26508 (eval $ac_link) 2>conftest.er1
26510 grep -v '^ *+' conftest.er1
>conftest.err
26512 cat conftest.err
>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } &&
26515 { ac_try
='test -z "$ac_c_werror_flag"
26516 || test ! -s conftest.err'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; } &&
26522 { ac_try
='test -s conftest$ac_exeext'
26523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524 (eval $ac_try) 2>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; }; then
26528 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.
$ac_ext >&5
26533 ac_cv_lib_Xext_XShapeQueryExtension
=no
26535 rm -f conftest.err conftest.
$ac_objext \
26536 conftest
$ac_exeext conftest.
$ac_ext
26537 LIBS
=$ac_check_lib_save_LIBS
26539 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26540 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26541 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26543 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26549 if test "$wxHAVE_XEXT_LIB" = 1; then
26550 save_CFLAGS
="$CFLAGS"
26551 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26553 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26554 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26555 cat >conftest.
$ac_ext <<_ACEOF
26558 cat confdefs.h
>>conftest.
$ac_ext
26559 cat >>conftest.
$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26562 #include <X11/Xlib.h>
26563 #include <X11/extensions/shape.h>
26569 int dummy1, dummy2;
26570 XShapeQueryExtension((Display*)NULL,
26571 (int*)NULL, (int*)NULL);
26577 rm -f conftest.
$ac_objext
26578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26579 (eval $ac_compile) 2>conftest.er1
26581 grep -v '^ *+' conftest.er1
>conftest.err
26583 cat conftest.err
>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } &&
26586 { ac_try
='test -z "$ac_c_werror_flag"
26587 || test ! -s conftest.err'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; } &&
26593 { ac_try
='test -s conftest.$ac_objext'
26594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 (eval $ac_try) 2>&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); }; }; then
26600 cat >>confdefs.h
<<\_ACEOF
26601 #define HAVE_XSHAPE 1
26604 echo "$as_me:$LINENO: result: found" >&5
26605 echo "${ECHO_T}found" >&6
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.
$ac_ext >&5
26612 echo "$as_me:$LINENO: result: not found" >&5
26613 echo "${ECHO_T}not found" >&6
26616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26617 CFLAGS
="$save_CFLAGS"
26622 if test "$wxUSE_MAC" = 1; then
26623 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26624 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26625 if test "$GCC" = yes; then
26626 echo "$as_me:$LINENO: result: gcc" >&5
26627 echo "${ECHO_T}gcc" >&6
26628 CPPFLAGS_PASCAL
="-fpascal-strings"
26629 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26630 echo "$as_me:$LINENO: result: xlc" >&5
26631 echo "${ECHO_T}xlc" >&6
26632 CPPFLAGS_PASCAL
="-qmacpstr"
26634 echo "$as_me:$LINENO: result: none" >&5
26635 echo "${ECHO_T}none" >&6
26638 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26642 WXBASEPORT
="_carbon"
26645 if test "$wxUSE_COCOA" = 1; then
26650 if test "$wxUSE_PM" = 1; then
26653 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26654 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26655 if test "${wx_cv_spbcdata+set}" = set; then
26656 echo $ECHO_N "(cached) $ECHO_C" >&6
26659 cat >conftest.
$ac_ext <<_ACEOF
26662 cat confdefs.h
>>conftest.
$ac_ext
26663 cat >>conftest.
$ac_ext <<_ACEOF
26664 /* end confdefs.h. */
26679 rm -f conftest.
$ac_objext
26680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26681 (eval $ac_compile) 2>conftest.er1
26683 grep -v '^ *+' conftest.er1
>conftest.err
26685 cat conftest.err
>&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
26688 { ac_try
='test -z "$ac_c_werror_flag"
26689 || test ! -s conftest.err'
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; } &&
26695 { ac_try
='test -s conftest.$ac_objext'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; }; then
26703 echo "$as_me: failed program was:" >&5
26704 sed 's/^/| /' conftest.
$ac_ext >&5
26709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26713 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26714 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26716 if test $wx_cv_spbcdata = "yes"; then
26717 cat >>confdefs.h
<<\_ACEOF
26718 #define HAVE_SPBCDATA 1
26724 if test "$TOOLKIT" = "PM" ; then
26727 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26730 if test "$wxUSE_UNIVERSAL" = "yes"; then
26731 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26735 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26736 DISTDIR
="wx\$(TOOLKIT)"
26742 if test "$USE_WIN32" = 1 ; then
26746 GUIDIST
="BASE_DIST"
26756 if test "$TOOLKIT" != "MSW" ; then
26758 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26760 if test "${ac_cv_header_sql_h+set}" = set; then
26761 echo "$as_me:$LINENO: checking for sql.h" >&5
26762 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26763 if test "${ac_cv_header_sql_h+set}" = set; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26766 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26767 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26769 # Is the header compilable?
26770 echo "$as_me:$LINENO: checking sql.h usability" >&5
26771 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26772 cat >conftest.
$ac_ext <<_ACEOF
26775 cat confdefs.h
>>conftest.
$ac_ext
26776 cat >>conftest.
$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778 $ac_includes_default
26781 rm -f conftest.
$ac_objext
26782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26783 (eval $ac_compile) 2>conftest.er1
26785 grep -v '^ *+' conftest.er1
>conftest.err
26787 cat conftest.err
>&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } &&
26790 { ac_try
='test -z "$ac_c_werror_flag"
26791 || test ! -s conftest.err'
26792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26793 (eval $ac_try) 2>&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); }; } &&
26797 { ac_try
='test -s conftest.$ac_objext'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; }; then
26803 ac_header_compiler
=yes
26805 echo "$as_me: failed program was:" >&5
26806 sed 's/^/| /' conftest.
$ac_ext >&5
26808 ac_header_compiler
=no
26810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26812 echo "${ECHO_T}$ac_header_compiler" >&6
26814 # Is the header present?
26815 echo "$as_me:$LINENO: checking sql.h presence" >&5
26816 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26817 cat >conftest.
$ac_ext <<_ACEOF
26820 cat confdefs.h
>>conftest.
$ac_ext
26821 cat >>conftest.
$ac_ext <<_ACEOF
26822 /* end confdefs.h. */
26825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26826 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26828 grep -v '^ *+' conftest.er1
>conftest.err
26830 cat conftest.err
>&5
26831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26832 (exit $ac_status); } >/dev
/null
; then
26833 if test -s conftest.err
; then
26834 ac_cpp_err
=$ac_c_preproc_warn_flag
26835 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26842 if test -z "$ac_cpp_err"; then
26843 ac_header_preproc
=yes
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.
$ac_ext >&5
26848 ac_header_preproc
=no
26850 rm -f conftest.err conftest.
$ac_ext
26851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26852 echo "${ECHO_T}$ac_header_preproc" >&6
26854 # So? What about this header?
26855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26857 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26858 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26859 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26860 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26861 ac_header_preproc
=yes
26864 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26865 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26866 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26867 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26868 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26869 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26870 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26871 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26872 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26873 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26874 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26875 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26878 ## ----------------------------------------- ##
26879 ## Report this to wx-dev@lists.wxwidgets.org ##
26880 ## ----------------------------------------- ##
26883 sed "s/^/$as_me: WARNING: /" >&2
26886 echo "$as_me:$LINENO: checking for sql.h" >&5
26887 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26888 if test "${ac_cv_header_sql_h+set}" = set; then
26889 echo $ECHO_N "(cached) $ECHO_C" >&6
26891 ac_cv_header_sql_h
=$ac_header_preproc
26893 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26894 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26897 if test $ac_cv_header_sql_h = yes; then
26902 if test "x$found_sql_h" = "x1" ; then
26903 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26904 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26905 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26908 ac_check_lib_save_LIBS
=$LIBS
26909 LIBS
="-liodbc $LIBS"
26910 cat >conftest.
$ac_ext <<_ACEOF
26913 cat confdefs.h
>>conftest.
$ac_ext
26914 cat >>conftest.
$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26917 /* Override any gcc2 internal prototype to avoid an error. */
26921 /* We use char because int might match the return type of a gcc2
26922 builtin and then its argument prototype would still apply. */
26923 char SQLAllocEnv ();
26932 rm -f conftest.
$ac_objext conftest
$ac_exeext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26934 (eval $ac_link) 2>conftest.er1
26936 grep -v '^ *+' conftest.er1
>conftest.err
26938 cat conftest.err
>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
26941 { ac_try
='test -z "$ac_c_werror_flag"
26942 || test ! -s conftest.err'
26943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944 (eval $ac_try) 2>&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); }; } &&
26948 { ac_try
='test -s conftest$ac_exeext'
26949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26950 (eval $ac_try) 2>&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); }; }; then
26954 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.
$ac_ext >&5
26959 ac_cv_lib_iodbc_SQLAllocEnv
=no
26961 rm -f conftest.err conftest.
$ac_objext \
26962 conftest
$ac_exeext conftest.
$ac_ext
26963 LIBS
=$ac_check_lib_save_LIBS
26965 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26966 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26967 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26968 ODBC_LINK
=" -liodbc"
26971 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26972 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26973 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26974 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 ac_check_lib_save_LIBS
=$LIBS
26977 LIBS
="-lunixodbc $LIBS"
26978 cat >conftest.
$ac_ext <<_ACEOF
26981 cat confdefs.h
>>conftest.
$ac_ext
26982 cat >>conftest.
$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26985 /* Override any gcc2 internal prototype to avoid an error. */
26989 /* We use char because int might match the return type of a gcc2
26990 builtin and then its argument prototype would still apply. */
26991 char SQLAllocEnv ();
27000 rm -f conftest.
$ac_objext conftest
$ac_exeext
27001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27002 (eval $ac_link) 2>conftest.er1
27004 grep -v '^ *+' conftest.er1
>conftest.err
27006 cat conftest.err
>&5
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); } &&
27009 { ac_try
='test -z "$ac_c_werror_flag"
27010 || test ! -s conftest.err'
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; } &&
27016 { ac_try
='test -s conftest$ac_exeext'
27017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27018 (eval $ac_try) 2>&5
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); }; }; then
27022 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27024 echo "$as_me: failed program was:" >&5
27025 sed 's/^/| /' conftest.
$ac_ext >&5
27027 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27029 rm -f conftest.err conftest.
$ac_objext \
27030 conftest
$ac_exeext conftest.
$ac_ext
27031 LIBS
=$ac_check_lib_save_LIBS
27033 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27034 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27035 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27036 ODBC_LINK
=" -lunixodbc"
27039 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27040 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27041 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27042 echo $ECHO_N "(cached) $ECHO_C" >&6
27044 ac_check_lib_save_LIBS
=$LIBS
27045 LIBS
="-lodbc $LIBS"
27046 cat >conftest.
$ac_ext <<_ACEOF
27049 cat confdefs.h
>>conftest.
$ac_ext
27050 cat >>conftest.
$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27053 /* Override any gcc2 internal prototype to avoid an error. */
27057 /* We use char because int might match the return type of a gcc2
27058 builtin and then its argument prototype would still apply. */
27059 char SQLAllocEnv ();
27068 rm -f conftest.
$ac_objext conftest
$ac_exeext
27069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27070 (eval $ac_link) 2>conftest.er1
27072 grep -v '^ *+' conftest.er1
>conftest.err
27074 cat conftest.err
>&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } &&
27077 { ac_try
='test -z "$ac_c_werror_flag"
27078 || test ! -s conftest.err'
27079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080 (eval $ac_try) 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; } &&
27084 { ac_try
='test -s conftest$ac_exeext'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 ac_cv_lib_odbc_SQLAllocEnv
=yes
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.
$ac_ext >&5
27095 ac_cv_lib_odbc_SQLAllocEnv
=no
27097 rm -f conftest.err conftest.
$ac_objext \
27098 conftest
$ac_exeext conftest.
$ac_ext
27099 LIBS
=$ac_check_lib_save_LIBS
27101 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27102 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27103 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27104 ODBC_LINK
=" -lodbc"
27114 if test "x$ODBC_LINK" = "x" ; then
27115 if test "$wxUSE_ODBC" = "sys" ; then
27116 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27117 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27118 { (exit 1); exit 1; }; }
27120 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27121 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27128 if test "$wxUSE_ODBC" != "no" ; then
27129 cat >>confdefs.h
<<\_ACEOF
27130 #define wxUSE_ODBC 1
27133 if test "$wxUSE_ODBC" = "builtin" ; then
27134 cat >>confdefs.h
<<\_ACEOF
27135 #define wxUSE_BUILTIN_IODBC 1
27139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27141 WXODBCFLAG
="-D_IODBC_"
27147 if test "$wxUSE_DISPLAY" = "yes"; then
27148 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27149 echo "$as_me:$LINENO: checking for Xinerama" >&5
27150 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27153 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27155 for ac_extension
in a so sl dylib
; do
27156 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27157 ac_find_libraries
=$ac_dir
27163 if test "$ac_find_libraries" != "" ; then
27165 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27167 if test $result = 0; then
27170 ac_path_to_link
=" -L$ac_find_libraries"
27173 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27174 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27177 echo "$as_me:$LINENO: result: yes" >&5
27178 echo "${ECHO_T}yes" >&6
27180 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27181 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27184 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27186 for ac_extension
in a so sl dylib
; do
27187 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27188 ac_find_libraries
=$ac_dir
27194 if test "$ac_find_libraries" != "" ; then
27195 echo "$as_me:$LINENO: result: yes" >&5
27196 echo "${ECHO_T}yes" >&6
27198 for ac_header
in X
11/extensions
/xf86vmode.h
27200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27201 echo "$as_me:$LINENO: checking for $ac_header" >&5
27202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27206 cat >conftest.
$ac_ext <<_ACEOF
27209 cat confdefs.h
>>conftest.
$ac_ext
27210 cat >>conftest.
$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27213 #if HAVE_X11_XLIB_H
27214 #include <X11/Xlib.h>
27218 #include <$ac_header>
27220 rm -f conftest.
$ac_objext
27221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27222 (eval $ac_compile) 2>conftest.er1
27224 grep -v '^ *+' conftest.er1
>conftest.err
27226 cat conftest.err
>&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); } &&
27229 { ac_try
='test -z "$ac_c_werror_flag"
27230 || test ! -s conftest.err'
27231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232 (eval $ac_try) 2>&5
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); }; } &&
27236 { ac_try
='test -s conftest.$ac_objext'
27237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27238 (eval $ac_try) 2>&5
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); }; }; then
27242 eval "$as_ac_Header=yes"
27244 echo "$as_me: failed program was:" >&5
27245 sed 's/^/| /' conftest.
$ac_ext >&5
27247 eval "$as_ac_Header=no"
27249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27254 cat >>confdefs.h
<<_ACEOF
27255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27258 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27265 echo "$as_me:$LINENO: result: no" >&5
27266 echo "${ECHO_T}no" >&6
27270 echo "$as_me:$LINENO: result: no" >&5
27271 echo "${ECHO_T}no" >&6
27272 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27273 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27276 elif test "$wxUSE_MSW" = 1; then
27279 for ac_header
in multimon.h ddraw.h
27281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27283 echo "$as_me:$LINENO: checking for $ac_header" >&5
27284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27291 # Is the header compilable?
27292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27294 cat >conftest.
$ac_ext <<_ACEOF
27297 cat confdefs.h
>>conftest.
$ac_ext
27298 cat >>conftest.
$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27300 $ac_includes_default
27301 #include <$ac_header>
27303 rm -f conftest.
$ac_objext
27304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27305 (eval $ac_compile) 2>conftest.er1
27307 grep -v '^ *+' conftest.er1
>conftest.err
27309 cat conftest.err
>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } &&
27312 { ac_try
='test -z "$ac_c_werror_flag"
27313 || test ! -s conftest.err'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; } &&
27319 { ac_try
='test -s conftest.$ac_objext'
27320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27321 (eval $ac_try) 2>&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); }; }; then
27325 ac_header_compiler
=yes
27327 echo "$as_me: failed program was:" >&5
27328 sed 's/^/| /' conftest.
$ac_ext >&5
27330 ac_header_compiler
=no
27332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27334 echo "${ECHO_T}$ac_header_compiler" >&6
27336 # Is the header present?
27337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27339 cat >conftest.
$ac_ext <<_ACEOF
27342 cat confdefs.h
>>conftest.
$ac_ext
27343 cat >>conftest.
$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345 #include <$ac_header>
27347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27350 grep -v '^ *+' conftest.er1
>conftest.err
27352 cat conftest.err
>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } >/dev
/null
; then
27355 if test -s conftest.err
; then
27356 ac_cpp_err
=$ac_c_preproc_warn_flag
27357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27364 if test -z "$ac_cpp_err"; then
27365 ac_header_preproc
=yes
27367 echo "$as_me: failed program was:" >&5
27368 sed 's/^/| /' conftest.
$ac_ext >&5
27370 ac_header_preproc
=no
27372 rm -f conftest.err conftest.
$ac_ext
27373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27374 echo "${ECHO_T}$ac_header_preproc" >&6
27376 # So? What about this header?
27377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27383 ac_header_preproc
=yes
27386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27400 ## ----------------------------------------- ##
27401 ## Report this to wx-dev@lists.wxwidgets.org ##
27402 ## ----------------------------------------- ##
27405 sed "s/^/$as_me: WARNING: /" >&2
27408 echo "$as_me:$LINENO: checking for $ac_header" >&5
27409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27413 eval "$as_ac_Header=\$ac_header_preproc"
27415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27420 cat >>confdefs.h
<<_ACEOF
27421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27427 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27428 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27438 if test "$wxUSE_MEDIACTRL" = "yes"; then
27439 if test "$wxUSE_MSW" = 1; then
27440 wxUSE_DIRECTSHOW
="yes"
27442 for ac_header
in dshow.h
27444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27446 echo "$as_me:$LINENO: checking for $ac_header" >&5
27447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27449 echo $ECHO_N "(cached) $ECHO_C" >&6
27451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27454 # Is the header compilable?
27455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27457 cat >conftest.
$ac_ext <<_ACEOF
27460 cat confdefs.h
>>conftest.
$ac_ext
27461 cat >>conftest.
$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27463 $ac_includes_default
27464 #include <$ac_header>
27466 rm -f conftest.
$ac_objext
27467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27468 (eval $ac_compile) 2>conftest.er1
27470 grep -v '^ *+' conftest.er1
>conftest.err
27472 cat conftest.err
>&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); } &&
27475 { ac_try
='test -z "$ac_c_werror_flag"
27476 || test ! -s conftest.err'
27477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27478 (eval $ac_try) 2>&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); }; } &&
27482 { ac_try
='test -s conftest.$ac_objext'
27483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27484 (eval $ac_try) 2>&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; }; then
27488 ac_header_compiler
=yes
27490 echo "$as_me: failed program was:" >&5
27491 sed 's/^/| /' conftest.
$ac_ext >&5
27493 ac_header_compiler
=no
27495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27497 echo "${ECHO_T}$ac_header_compiler" >&6
27499 # Is the header present?
27500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27502 cat >conftest.
$ac_ext <<_ACEOF
27505 cat confdefs.h
>>conftest.
$ac_ext
27506 cat >>conftest.
$ac_ext <<_ACEOF
27507 /* end confdefs.h. */
27508 #include <$ac_header>
27510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27513 grep -v '^ *+' conftest.er1
>conftest.err
27515 cat conftest.err
>&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); } >/dev
/null
; then
27518 if test -s conftest.err
; then
27519 ac_cpp_err
=$ac_c_preproc_warn_flag
27520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27527 if test -z "$ac_cpp_err"; then
27528 ac_header_preproc
=yes
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.
$ac_ext >&5
27533 ac_header_preproc
=no
27535 rm -f conftest.err conftest.
$ac_ext
27536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27537 echo "${ECHO_T}$ac_header_preproc" >&6
27539 # So? What about this header?
27540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27546 ac_header_preproc
=yes
27549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27563 ## ----------------------------------------- ##
27564 ## Report this to wx-dev@lists.wxwidgets.org ##
27565 ## ----------------------------------------- ##
27568 sed "s/^/$as_me: WARNING: /" >&2
27571 echo "$as_me:$LINENO: checking for $ac_header" >&5
27572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 eval "$as_ac_Header=\$ac_header_preproc"
27578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27583 cat >>confdefs.h
<<_ACEOF
27584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27589 wxUSE_DIRECTSHOW
="no"
27590 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27591 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27598 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27599 cat >>confdefs.h
<<\_ACEOF
27600 #define wxUSE_DIRECTSHOW 1
27603 LIBS
="$LIBS -lstrmiids"
27607 cat >>confdefs.h
<<\_ACEOF
27608 #define wxUSE_MEDIACTRL 1
27615 if test "$wxUSE_OPENGL" = "yes"; then
27616 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27617 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27618 elif test "$wxUSE_MSW" = 1; then
27619 OPENGL_LIBS
="-lopengl32 -lglu32"
27624 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27626 if test -f "$ac_dir/GL/gl.h"; then
27627 ac_find_includes
=$ac_dir
27632 if test "$ac_find_includes" != "" ; then
27633 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27634 echo "${ECHO_T}found in $ac_find_includes" >&6
27636 if test "x$ac_find_includes" = "x/usr/include"; then
27637 ac_path_to_include
=""
27639 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27641 if test $result = 0; then
27642 ac_path_to_include
=""
27644 ac_path_to_include
=" -I$ac_find_includes"
27648 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27651 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27652 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27653 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27654 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27655 echo $ECHO_N "(cached) $ECHO_C" >&6
27657 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27658 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27660 # Is the header compilable?
27661 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27662 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27663 cat >conftest.
$ac_ext <<_ACEOF
27666 cat confdefs.h
>>conftest.
$ac_ext
27667 cat >>conftest.
$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27669 $ac_includes_default
27672 rm -f conftest.
$ac_objext
27673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27674 (eval $ac_compile) 2>conftest.er1
27676 grep -v '^ *+' conftest.er1
>conftest.err
27678 cat conftest.err
>&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); } &&
27681 { ac_try
='test -z "$ac_c_werror_flag"
27682 || test ! -s conftest.err'
27683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27684 (eval $ac_try) 2>&5
27686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27687 (exit $ac_status); }; } &&
27688 { ac_try
='test -s conftest.$ac_objext'
27689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27690 (eval $ac_try) 2>&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); }; }; then
27694 ac_header_compiler
=yes
27696 echo "$as_me: failed program was:" >&5
27697 sed 's/^/| /' conftest.
$ac_ext >&5
27699 ac_header_compiler
=no
27701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27703 echo "${ECHO_T}$ac_header_compiler" >&6
27705 # Is the header present?
27706 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27707 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27708 cat >conftest.
$ac_ext <<_ACEOF
27711 cat confdefs.h
>>conftest.
$ac_ext
27712 cat >>conftest.
$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27717 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27719 grep -v '^ *+' conftest.er1
>conftest.err
27721 cat conftest.err
>&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } >/dev
/null
; then
27724 if test -s conftest.err
; then
27725 ac_cpp_err
=$ac_c_preproc_warn_flag
27726 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27733 if test -z "$ac_cpp_err"; then
27734 ac_header_preproc
=yes
27736 echo "$as_me: failed program was:" >&5
27737 sed 's/^/| /' conftest.
$ac_ext >&5
27739 ac_header_preproc
=no
27741 rm -f conftest.err conftest.
$ac_ext
27742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27743 echo "${ECHO_T}$ac_header_preproc" >&6
27745 # So? What about this header?
27746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27748 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27749 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27750 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27751 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27752 ac_header_preproc
=yes
27755 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27756 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27757 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27758 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27759 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27760 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27761 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27762 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27763 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27764 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27765 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27766 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27769 ## ----------------------------------------- ##
27770 ## Report this to wx-dev@lists.wxwidgets.org ##
27771 ## ----------------------------------------- ##
27774 sed "s/^/$as_me: WARNING: /" >&2
27777 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27778 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27779 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27780 echo $ECHO_N "(cached) $ECHO_C" >&6
27782 ac_cv_header_GL_gl_h
=$ac_header_preproc
27784 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27785 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27788 if test $ac_cv_header_GL_gl_h = yes; then
27792 echo "$as_me:$LINENO: checking for -lGL" >&5
27793 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27796 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27798 for ac_extension
in a so sl dylib
; do
27799 if test -f "$ac_dir/libGL.$ac_extension"; then
27800 ac_find_libraries
=$ac_dir
27806 if test "$ac_find_libraries" != "" ; then
27808 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27810 if test $result = 0; then
27813 ac_path_to_link
=" -L$ac_find_libraries"
27816 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27817 LDFLAGS_GL
="$ac_path_to_link"
27822 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27824 for ac_extension
in a so sl dylib
; do
27825 if test -f "$ac_dir/libGLU.$ac_extension"; then
27826 ac_find_libraries
=$ac_dir
27832 if test "$ac_find_libraries" != "" ; then
27834 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27836 if test $result = 0; then
27839 ac_path_to_link
=" -L$ac_find_libraries"
27842 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27843 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27844 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27848 OPENGL_LIBS
="-lGL -lGLU"
27849 echo "$as_me:$LINENO: result: yes" >&5
27850 echo "${ECHO_T}yes" >&6
27854 if test "$found_gl" != 1; then
27855 echo "$as_me:$LINENO: result: no" >&5
27856 echo "${ECHO_T}no" >&6
27857 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27858 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27861 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27863 for ac_extension
in a so sl dylib
; do
27864 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27865 ac_find_libraries
=$ac_dir
27871 if test "$ac_find_libraries" != "" ; then
27873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27875 if test $result = 0; then
27878 ac_path_to_link
=" -L$ac_find_libraries"
27881 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27882 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27883 echo "$as_me:$LINENO: result: yes" >&5
27884 echo "${ECHO_T}yes" >&6
27886 echo "$as_me:$LINENO: result: no" >&5
27887 echo "${ECHO_T}no" >&6
27895 if test "x$OPENGL_LIBS" = "x"; then
27896 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27897 echo "$as_me: error: OpenGL libraries not available" >&2;}
27898 { (exit 1); exit 1; }; }
27902 if test "$wxUSE_OPENGL" = "yes"; then
27904 cat >>confdefs.h
<<\_ACEOF
27905 #define wxUSE_OPENGL 1
27908 cat >>confdefs.h
<<\_ACEOF
27909 #define wxUSE_GLCANVAS 1
27912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27917 if test -n "$TOOLKIT" ; then
27918 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27923 if test "$wxUSE_SHARED" = "yes"; then
27927 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27928 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27933 if test "$wxUSE_SHARED" = "yes"; then
27936 found_versioning
=no
27939 if test $found_versioning = no
; then
27940 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27941 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27942 if test "${wx_cv_version_script+set}" = set; then
27943 echo $ECHO_N "(cached) $ECHO_C" >&6
27946 echo "VER_1 { *; };" >conftest.sym
27947 echo "int main() { return 0; }" >conftest.cpp
27950 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27951 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } ; then
27957 if test -s conftest.stderr
; then
27958 wx_cv_version_script
=no
27960 wx_cv_version_script
=yes
27963 wx_cv_version_script
=no
27965 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27968 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27969 echo "${ECHO_T}$wx_cv_version_script" >&6
27970 if test $wx_cv_version_script = yes ; then
27971 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27977 *-*-linux* | *-*-gnu* )
27978 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27979 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27983 if test "$GCC" = yes ; then
27984 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27986 saveLdflags
="$LDFLAGS"
27987 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27988 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27989 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27990 cat >conftest.
$ac_ext <<_ACEOF
27993 cat confdefs.h
>>conftest.
$ac_ext
27994 cat >>conftest.
$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
28005 rm -f conftest.
$ac_objext conftest
$ac_exeext
28006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28007 (eval $ac_link) 2>conftest.er1
28009 grep -v '^ *+' conftest.er1
>conftest.err
28011 cat conftest.err
>&5
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); } &&
28014 { ac_try
='test -z "$ac_c_werror_flag"
28015 || test ! -s conftest.err'
28016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28017 (eval $ac_try) 2>&5
28019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); }; } &&
28021 { ac_try
='test -s conftest$ac_exeext'
28022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28023 (eval $ac_try) 2>&5
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; }; then
28028 echo "$as_me:$LINENO: result: yes" >&5
28029 echo "${ECHO_T}yes" >&6
28030 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28031 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28034 echo "$as_me: failed program was:" >&5
28035 sed 's/^/| /' conftest.
$ac_ext >&5
28038 echo "$as_me:$LINENO: result: no" >&5
28039 echo "${ECHO_T}no" >&6
28040 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28041 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28042 LDFLAGS
="$saveLdflags -Wl,-R,/"
28043 cat >conftest.
$ac_ext <<_ACEOF
28046 cat confdefs.h
>>conftest.
$ac_ext
28047 cat >>conftest.
$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28058 rm -f conftest.
$ac_objext conftest
$ac_exeext
28059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28060 (eval $ac_link) 2>conftest.er1
28062 grep -v '^ *+' conftest.er1
>conftest.err
28064 cat conftest.err
>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } &&
28067 { ac_try
='test -z "$ac_c_werror_flag"
28068 || test ! -s conftest.err'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; } &&
28074 { ac_try
='test -s conftest$ac_exeext'
28075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076 (eval $ac_try) 2>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; }; then
28081 echo "$as_me:$LINENO: result: yes" >&5
28082 echo "${ECHO_T}yes" >&6
28083 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28084 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28087 echo "$as_me: failed program was:" >&5
28088 sed 's/^/| /' conftest.
$ac_ext >&5
28091 echo "$as_me:$LINENO: result: no" >&5
28092 echo "${ECHO_T}no" >&6
28095 rm -f conftest.err conftest.
$ac_objext \
28096 conftest
$ac_exeext conftest.
$ac_ext
28099 rm -f conftest.err conftest.
$ac_objext \
28100 conftest
$ac_exeext conftest.
$ac_ext
28101 LDFLAGS
="$saveLdflags"
28103 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28104 WXCONFIG_RPATH
="-R\$libdir"
28108 powerpc
-*-darwin* )
28109 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28110 cat <<EOF >change-install-names
28112 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28113 inst_cmd="install_name_tool "
28114 for i in \${libnames} ; do
28115 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28119 chmod +x change
-install-names
28122 *-*-cygwin* | *-*-mingw32* )
28123 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28128 if test $wxUSE_RPATH = "no"; then
28129 SAMPLES_RPATH_FLAG
=''
28130 SAMPLES_RPATH_POSTLINK
=''
28138 config_linkage_component
="-static"
28145 lib_unicode_suffix
=
28147 if test "$wxUSE_UNICODE" = "yes"; then
28148 lib_unicode_suffix
=u
28149 WX_CHARTYPE
="unicode"
28154 WX_DEBUGTYPE
="release"
28156 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28158 WX_DEBUGTYPE
="debug"
28162 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28163 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28166 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28170 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28172 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28174 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28176 if test "$cross_compiling" = "yes"; then
28177 HOST_SUFFIX
="-$host_alias"
28178 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28179 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28182 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28183 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28187 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28188 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28189 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28191 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28193 # Extract the first word of "Rez", so it can be a program name with args.
28194 set dummy Rez
; ac_word
=$2
28195 echo "$as_me:$LINENO: checking for $ac_word" >&5
28196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28197 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 if test -n "$RESCOMP"; then
28201 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28204 for as_dir
in $PATH
28207 test -z "$as_dir" && as_dir
=.
28208 for ac_exec_ext
in '' $ac_executable_extensions; do
28209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28210 ac_cv_prog_RESCOMP
="Rez"
28211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28217 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28220 RESCOMP
=$ac_cv_prog_RESCOMP
28221 if test -n "$RESCOMP"; then
28222 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28223 echo "${ECHO_T}$RESCOMP" >&6
28225 echo "$as_me:$LINENO: result: no" >&5
28226 echo "${ECHO_T}no" >&6
28229 # Extract the first word of "DeRez", so it can be a program name with args.
28230 set dummy DeRez
; ac_word
=$2
28231 echo "$as_me:$LINENO: checking for $ac_word" >&5
28232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28233 if test "${ac_cv_prog_DEREZ+set}" = set; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28236 if test -n "$DEREZ"; then
28237 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28240 for as_dir
in $PATH
28243 test -z "$as_dir" && as_dir
=.
28244 for ac_exec_ext
in '' $ac_executable_extensions; do
28245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28246 ac_cv_prog_DEREZ
="DeRez"
28247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28253 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28256 DEREZ
=$ac_cv_prog_DEREZ
28257 if test -n "$DEREZ"; then
28258 echo "$as_me:$LINENO: result: $DEREZ" >&5
28259 echo "${ECHO_T}$DEREZ" >&6
28261 echo "$as_me:$LINENO: result: no" >&5
28262 echo "${ECHO_T}no" >&6
28265 # Extract the first word of "SetFile", so it can be a program name with args.
28266 set dummy SetFile
; ac_word
=$2
28267 echo "$as_me:$LINENO: checking for $ac_word" >&5
28268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28269 if test "${ac_cv_prog_SETFILE+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 if test -n "$SETFILE"; then
28273 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28276 for as_dir
in $PATH
28279 test -z "$as_dir" && as_dir
=.
28280 for ac_exec_ext
in '' $ac_executable_extensions; do
28281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28282 ac_cv_prog_SETFILE
="SetFile"
28283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28289 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28292 SETFILE
=$ac_cv_prog_SETFILE
28293 if test -n "$SETFILE"; then
28294 echo "$as_me:$LINENO: result: $SETFILE" >&5
28295 echo "${ECHO_T}$SETFILE" >&6
28297 echo "$as_me:$LINENO: result: no" >&5
28298 echo "${ECHO_T}no" >&6
28302 MACSETFILE
="\$(SETFILE)"
28304 if test "$wxUSE_MAC" = 1; then
28305 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28307 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28309 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28310 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28314 MACRESWXCONFIG
="@true"
28316 if test "$wxUSE_PM" = 1; then
28317 MACRESCOMP
="emxbind -ep"
28325 echo "$as_me:$LINENO: checking for mode_t" >&5
28326 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28327 if test "${ac_cv_type_mode_t+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 cat >conftest.
$ac_ext <<_ACEOF
28333 cat confdefs.h
>>conftest.
$ac_ext
28334 cat >>conftest.
$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336 $ac_includes_default
28342 if (sizeof (mode_t))
28348 rm -f conftest.
$ac_objext
28349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28350 (eval $ac_compile) 2>conftest.er1
28352 grep -v '^ *+' conftest.er1
>conftest.err
28354 cat conftest.err
>&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } &&
28357 { ac_try
='test -z "$ac_c_werror_flag"
28358 || test ! -s conftest.err'
28359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28360 (eval $ac_try) 2>&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); }; } &&
28364 { ac_try
='test -s conftest.$ac_objext'
28365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28366 (eval $ac_try) 2>&5
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); }; }; then
28370 ac_cv_type_mode_t
=yes
28372 echo "$as_me: failed program was:" >&5
28373 sed 's/^/| /' conftest.
$ac_ext >&5
28375 ac_cv_type_mode_t
=no
28377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28379 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28380 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28381 if test $ac_cv_type_mode_t = yes; then
28385 cat >>confdefs.h
<<_ACEOF
28391 echo "$as_me:$LINENO: checking for off_t" >&5
28392 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28393 if test "${ac_cv_type_off_t+set}" = set; then
28394 echo $ECHO_N "(cached) $ECHO_C" >&6
28396 cat >conftest.
$ac_ext <<_ACEOF
28399 cat confdefs.h
>>conftest.
$ac_ext
28400 cat >>conftest.
$ac_ext <<_ACEOF
28401 /* end confdefs.h. */
28402 $ac_includes_default
28408 if (sizeof (off_t))
28414 rm -f conftest.
$ac_objext
28415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28416 (eval $ac_compile) 2>conftest.er1
28418 grep -v '^ *+' conftest.er1
>conftest.err
28420 cat conftest.err
>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); } &&
28423 { ac_try
='test -z "$ac_c_werror_flag"
28424 || test ! -s conftest.err'
28425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28426 (eval $ac_try) 2>&5
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); }; } &&
28430 { ac_try
='test -s conftest.$ac_objext'
28431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28432 (eval $ac_try) 2>&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); }; }; then
28436 ac_cv_type_off_t
=yes
28438 echo "$as_me: failed program was:" >&5
28439 sed 's/^/| /' conftest.
$ac_ext >&5
28441 ac_cv_type_off_t
=no
28443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28445 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28446 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28447 if test $ac_cv_type_off_t = yes; then
28451 cat >>confdefs.h
<<_ACEOF
28457 echo "$as_me:$LINENO: checking for pid_t" >&5
28458 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28459 if test "${ac_cv_type_pid_t+set}" = set; then
28460 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 $ac_includes_default
28474 if (sizeof (pid_t))
28480 rm -f conftest.
$ac_objext
28481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28482 (eval $ac_compile) 2>conftest.er1
28484 grep -v '^ *+' conftest.er1
>conftest.err
28486 cat conftest.err
>&5
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); } &&
28489 { ac_try
='test -z "$ac_c_werror_flag"
28490 || test ! -s conftest.err'
28491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492 (eval $ac_try) 2>&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); }; } &&
28496 { ac_try
='test -s conftest.$ac_objext'
28497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28498 (eval $ac_try) 2>&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); }; }; then
28502 ac_cv_type_pid_t
=yes
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.
$ac_ext >&5
28507 ac_cv_type_pid_t
=no
28509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28511 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28512 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28513 if test $ac_cv_type_pid_t = yes; then
28517 cat >>confdefs.h
<<_ACEOF
28523 echo "$as_me:$LINENO: checking for size_t" >&5
28524 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28525 if test "${ac_cv_type_size_t+set}" = set; then
28526 echo $ECHO_N "(cached) $ECHO_C" >&6
28528 cat >conftest.
$ac_ext <<_ACEOF
28531 cat confdefs.h
>>conftest.
$ac_ext
28532 cat >>conftest.
$ac_ext <<_ACEOF
28533 /* end confdefs.h. */
28534 $ac_includes_default
28540 if (sizeof (size_t))
28546 rm -f conftest.
$ac_objext
28547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28548 (eval $ac_compile) 2>conftest.er1
28550 grep -v '^ *+' conftest.er1
>conftest.err
28552 cat conftest.err
>&5
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); } &&
28555 { ac_try
='test -z "$ac_c_werror_flag"
28556 || test ! -s conftest.err'
28557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28558 (eval $ac_try) 2>&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); }; } &&
28562 { ac_try
='test -s conftest.$ac_objext'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 ac_cv_type_size_t
=yes
28570 echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.
$ac_ext >&5
28573 ac_cv_type_size_t
=no
28575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28577 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28578 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28579 if test $ac_cv_type_size_t = yes; then
28583 cat >>confdefs.h
<<_ACEOF
28584 #define size_t unsigned
28589 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28590 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28591 if test "${ac_cv_type_uid_t+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28594 cat >conftest.
$ac_ext <<_ACEOF
28597 cat confdefs.h
>>conftest.
$ac_ext
28598 cat >>conftest.
$ac_ext <<_ACEOF
28599 /* end confdefs.h. */
28600 #include <sys/types.h>
28603 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28604 $EGREP "uid_t" >/dev
/null
2>&1; then
28605 ac_cv_type_uid_t
=yes
28607 ac_cv_type_uid_t
=no
28612 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28613 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28614 if test $ac_cv_type_uid_t = no
; then
28616 cat >>confdefs.h
<<\_ACEOF
28621 cat >>confdefs.h
<<\_ACEOF
28631 ac_cpp
='$CXXCPP $CPPFLAGS'
28632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28636 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28637 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28638 if test "${wx_cv_size_t_is_uint+set}" = set; then
28639 echo $ECHO_N "(cached) $ECHO_C" >&6
28642 cat >conftest.
$ac_ext <<_ACEOF
28645 cat confdefs.h
>>conftest.
$ac_ext
28646 cat >>conftest.
$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28648 #include <stddef.h>
28655 struct Foo { void foo(size_t); void foo(unsigned int); };
28663 rm -f conftest.
$ac_objext
28664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28665 (eval $ac_compile) 2>conftest.er1
28667 grep -v '^ *+' conftest.er1
>conftest.err
28669 cat conftest.err
>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); } &&
28672 { ac_try
='test -z "$ac_cxx_werror_flag"
28673 || test ! -s conftest.err'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; } &&
28679 { ac_try
='test -s conftest.$ac_objext'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; }; then
28685 wx_cv_size_t_is_uint
=no
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.
$ac_ext >&5
28690 wx_cv_size_t_is_uint
=yes
28693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28697 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28698 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28700 if test "$wx_cv_size_t_is_uint" = "yes"; then
28701 cat >>confdefs.h
<<\_ACEOF
28702 #define wxSIZE_T_IS_UINT 1
28706 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28707 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28708 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 cat >conftest.
$ac_ext <<_ACEOF
28714 cat confdefs.h
>>conftest.
$ac_ext
28715 cat >>conftest.
$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28717 #include <stddef.h>
28724 struct Foo { void foo(size_t); void foo(unsigned long); };
28732 rm -f conftest.
$ac_objext
28733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28734 (eval $ac_compile) 2>conftest.er1
28736 grep -v '^ *+' conftest.er1
>conftest.err
28738 cat conftest.err
>&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); } &&
28741 { ac_try
='test -z "$ac_cxx_werror_flag"
28742 || test ! -s conftest.err'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; } &&
28748 { ac_try
='test -s conftest.$ac_objext'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; }; then
28754 wx_cv_size_t_is_ulong
=no
28756 echo "$as_me: failed program was:" >&5
28757 sed 's/^/| /' conftest.
$ac_ext >&5
28759 wx_cv_size_t_is_ulong
=yes
28762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28765 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28766 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28768 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28769 cat >>confdefs.h
<<\_ACEOF
28770 #define wxSIZE_T_IS_ULONG 1
28777 ac_cpp
='$CPP $CPPFLAGS'
28778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28784 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28785 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28786 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28787 echo $ECHO_N "(cached) $ECHO_C" >&6
28790 cat >conftest.
$ac_ext <<_ACEOF
28793 cat confdefs.h
>>conftest.
$ac_ext
28794 cat >>conftest.
$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28809 rm -f conftest.
$ac_objext
28810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28811 (eval $ac_compile) 2>conftest.er1
28813 grep -v '^ *+' conftest.er1
>conftest.err
28815 cat conftest.err
>&5
28816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28817 (exit $ac_status); } &&
28818 { ac_try
='test -z "$ac_c_werror_flag"
28819 || test ! -s conftest.err'
28820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28821 (eval $ac_try) 2>&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); }; } &&
28825 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
28832 wx_cv_struct_pw_gecos
=yes
28835 echo "$as_me: failed program was:" >&5
28836 sed 's/^/| /' conftest.
$ac_ext >&5
28839 wx_cv_struct_pw_gecos
=no
28843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28847 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28848 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28850 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28851 cat >>confdefs.h
<<\_ACEOF
28852 #define HAVE_PW_GECOS 1
28858 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28859 cat >>confdefs.h
<<\_ACEOF
28860 #define wxUSE_WCHAR_T 1
28867 for ac_func
in wcslen
28869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28870 echo "$as_me:$LINENO: checking for $ac_func" >&5
28871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28872 if eval "test \"\${$as_ac_var+set}\" = set"; then
28873 echo $ECHO_N "(cached) $ECHO_C" >&6
28875 cat >conftest.
$ac_ext <<_ACEOF
28878 cat confdefs.h
>>conftest.
$ac_ext
28879 cat >>conftest.
$ac_ext <<_ACEOF
28880 /* end confdefs.h. */
28881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28883 #define $ac_func innocuous_$ac_func
28885 /* System header to define __stub macros and hopefully few prototypes,
28886 which can conflict with char $ac_func (); below.
28887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28888 <limits.h> exists even on freestanding compilers. */
28891 # include <limits.h>
28893 # include <assert.h>
28898 /* Override any gcc2 internal prototype to avoid an error. */
28903 /* We use char because int might match the return type of a gcc2
28904 builtin and then its argument prototype would still apply. */
28906 /* The GNU C library defines this for functions which it implements
28907 to always fail with ENOSYS. Some functions are actually named
28908 something starting with __ and the normal name is an alias. */
28909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28912 char (*f) () = $ac_func;
28921 return f != $ac_func;
28926 rm -f conftest.
$ac_objext conftest
$ac_exeext
28927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28928 (eval $ac_link) 2>conftest.er1
28930 grep -v '^ *+' conftest.er1
>conftest.err
28932 cat conftest.err
>&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); } &&
28935 { ac_try
='test -z "$ac_c_werror_flag"
28936 || test ! -s conftest.err'
28937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28938 (eval $ac_try) 2>&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); }; } &&
28942 { ac_try
='test -s conftest$ac_exeext'
28943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28944 (eval $ac_try) 2>&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); }; }; then
28948 eval "$as_ac_var=yes"
28950 echo "$as_me: failed program was:" >&5
28951 sed 's/^/| /' conftest.
$ac_ext >&5
28953 eval "$as_ac_var=no"
28955 rm -f conftest.err conftest.
$ac_objext \
28956 conftest
$ac_exeext conftest.
$ac_ext
28958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28960 if test `eval echo '${'$as_ac_var'}'` = yes; then
28961 cat >>confdefs.h
<<_ACEOF
28962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28969 if test "$WCSLEN_FOUND" = 0; then
28970 if test "$TOOLKIT" = "MSW"; then
28971 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28972 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28973 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28976 ac_check_lib_save_LIBS
=$LIBS
28977 LIBS
="-lmsvcrt $LIBS"
28978 cat >conftest.
$ac_ext <<_ACEOF
28981 cat confdefs.h
>>conftest.
$ac_ext
28982 cat >>conftest.
$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28985 /* Override any gcc2 internal prototype to avoid an error. */
28989 /* We use char because int might match the return type of a gcc2
28990 builtin and then its argument prototype would still apply. */
29000 rm -f conftest.
$ac_objext conftest
$ac_exeext
29001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29002 (eval $ac_link) 2>conftest.er1
29004 grep -v '^ *+' conftest.er1
>conftest.err
29006 cat conftest.err
>&5
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); } &&
29009 { ac_try
='test -z "$ac_c_werror_flag"
29010 || test ! -s conftest.err'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; } &&
29016 { ac_try
='test -s conftest$ac_exeext'
29017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018 (eval $ac_try) 2>&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 ac_cv_lib_msvcrt_wcslen
=yes
29024 echo "$as_me: failed program was:" >&5
29025 sed 's/^/| /' conftest.
$ac_ext >&5
29027 ac_cv_lib_msvcrt_wcslen
=no
29029 rm -f conftest.err conftest.
$ac_objext \
29030 conftest
$ac_exeext conftest.
$ac_ext
29031 LIBS
=$ac_check_lib_save_LIBS
29033 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29034 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29035 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29040 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29041 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29042 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29043 echo $ECHO_N "(cached) $ECHO_C" >&6
29045 ac_check_lib_save_LIBS
=$LIBS
29047 cat >conftest.
$ac_ext <<_ACEOF
29050 cat confdefs.h
>>conftest.
$ac_ext
29051 cat >>conftest.
$ac_ext <<_ACEOF
29052 /* end confdefs.h. */
29054 /* Override any gcc2 internal prototype to avoid an error. */
29058 /* We use char because int might match the return type of a gcc2
29059 builtin and then its argument prototype would still apply. */
29069 rm -f conftest.
$ac_objext conftest
$ac_exeext
29070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29071 (eval $ac_link) 2>conftest.er1
29073 grep -v '^ *+' conftest.er1
>conftest.err
29075 cat conftest.err
>&5
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); } &&
29078 { ac_try
='test -z "$ac_c_werror_flag"
29079 || test ! -s conftest.err'
29080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29081 (eval $ac_try) 2>&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; } &&
29085 { ac_try
='test -s conftest$ac_exeext'
29086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29087 (eval $ac_try) 2>&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); }; }; then
29091 ac_cv_lib_w_wcslen
=yes
29093 echo "$as_me: failed program was:" >&5
29094 sed 's/^/| /' conftest.
$ac_ext >&5
29096 ac_cv_lib_w_wcslen
=no
29098 rm -f conftest.err conftest.
$ac_objext \
29099 conftest
$ac_exeext conftest.
$ac_ext
29100 LIBS
=$ac_check_lib_save_LIBS
29102 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29103 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29104 if test $ac_cv_lib_w_wcslen = yes; then
29114 if test "$WCSLEN_FOUND" = 1; then
29115 cat >>confdefs.h
<<\_ACEOF
29116 #define HAVE_WCSLEN 1
29121 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29122 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29126 for ac_func
in wcsrtombs
29128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29129 echo "$as_me:$LINENO: checking for $ac_func" >&5
29130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29131 if eval "test \"\${$as_ac_var+set}\" = set"; then
29132 echo $ECHO_N "(cached) $ECHO_C" >&6
29134 cat >conftest.
$ac_ext <<_ACEOF
29137 cat confdefs.h
>>conftest.
$ac_ext
29138 cat >>conftest.
$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29142 #define $ac_func innocuous_$ac_func
29144 /* System header to define __stub macros and hopefully few prototypes,
29145 which can conflict with char $ac_func (); below.
29146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29147 <limits.h> exists even on freestanding compilers. */
29150 # include <limits.h>
29152 # include <assert.h>
29157 /* Override any gcc2 internal prototype to avoid an error. */
29162 /* We use char because int might match the return type of a gcc2
29163 builtin and then its argument prototype would still apply. */
29165 /* The GNU C library defines this for functions which it implements
29166 to always fail with ENOSYS. Some functions are actually named
29167 something starting with __ and the normal name is an alias. */
29168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29171 char (*f) () = $ac_func;
29180 return f != $ac_func;
29185 rm -f conftest.
$ac_objext conftest
$ac_exeext
29186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29187 (eval $ac_link) 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_c_werror_flag"
29195 || test ! -s conftest.err'
29196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29197 (eval $ac_try) 2>&5
29199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200 (exit $ac_status); }; } &&
29201 { ac_try
='test -s conftest$ac_exeext'
29202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29203 (eval $ac_try) 2>&5
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); }; }; then
29207 eval "$as_ac_var=yes"
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.
$ac_ext >&5
29212 eval "$as_ac_var=no"
29214 rm -f conftest.err conftest.
$ac_objext \
29215 conftest
$ac_exeext conftest.
$ac_ext
29217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29219 if test `eval echo '${'$as_ac_var'}'` = yes; then
29220 cat >>confdefs.h
<<_ACEOF
29221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29228 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29229 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29235 ac_cpp
='$CXXCPP $CPPFLAGS'
29236 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29242 for ac_func
in vsnprintf
29244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 echo "$as_me:$LINENO: checking for $ac_func" >&5
29246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29247 if eval "test \"\${$as_ac_var+set}\" = set"; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 cat >conftest.
$ac_ext <<_ACEOF
29253 cat confdefs.h
>>conftest.
$ac_ext
29254 cat >>conftest.
$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29258 #define $ac_func innocuous_$ac_func
29260 /* System header to define __stub macros and hopefully few prototypes,
29261 which can conflict with char $ac_func (); below.
29262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29263 <limits.h> exists even on freestanding compilers. */
29266 # include <limits.h>
29268 # include <assert.h>
29273 /* Override any gcc2 internal prototype to avoid an error. */
29278 /* We use char because int might match the return type of a gcc2
29279 builtin and then its argument prototype would still apply. */
29281 /* The GNU C library defines this for functions which it implements
29282 to always fail with ENOSYS. Some functions are actually named
29283 something starting with __ and the normal name is an alias. */
29284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29287 char (*f) () = $ac_func;
29296 return f != $ac_func;
29301 rm -f conftest.
$ac_objext conftest
$ac_exeext
29302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29303 (eval $ac_link) 2>conftest.er1
29305 grep -v '^ *+' conftest.er1
>conftest.err
29307 cat conftest.err
>&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); } &&
29310 { ac_try
='test -z "$ac_cxx_werror_flag"
29311 || test ! -s conftest.err'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; } &&
29317 { ac_try
='test -s conftest$ac_exeext'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; }; then
29323 eval "$as_ac_var=yes"
29325 echo "$as_me: failed program was:" >&5
29326 sed 's/^/| /' conftest.
$ac_ext >&5
29328 eval "$as_ac_var=no"
29330 rm -f conftest.err conftest.
$ac_objext \
29331 conftest
$ac_exeext conftest.
$ac_ext
29333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29335 if test `eval echo '${'$as_ac_var'}'` = yes; then
29336 cat >>confdefs.h
<<_ACEOF
29337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29344 if test "$ac_cv_func_vsnprintf" = "yes"; then
29345 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29346 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29347 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29348 echo $ECHO_N "(cached) $ECHO_C" >&6
29351 cat >conftest.
$ac_ext <<_ACEOF
29354 cat confdefs.h
>>conftest.
$ac_ext
29355 cat >>conftest.
$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29359 #include <stdarg.h>
29367 vsnprintf(buf, 10u, "%s", ap);
29373 rm -f conftest.
$ac_objext
29374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29375 (eval $ac_compile) 2>conftest.er1
29377 grep -v '^ *+' conftest.er1
>conftest.err
29379 cat conftest.err
>&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); } &&
29382 { ac_try
='test -z "$ac_cxx_werror_flag"
29383 || test ! -s conftest.err'
29384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29385 (eval $ac_try) 2>&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); }; } &&
29389 { ac_try
='test -s conftest.$ac_objext'
29390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29391 (eval $ac_try) 2>&5
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); }; }; then
29395 wx_cv_func_vsnprintf_decl
=yes
29397 echo "$as_me: failed program was:" >&5
29398 sed 's/^/| /' conftest.
$ac_ext >&5
29400 wx_cv_func_vsnprintf_decl
=no
29403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29407 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29408 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29410 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29411 cat >>confdefs.h
<<\_ACEOF
29412 #define HAVE_VSNPRINTF_DECL 1
29418 if test "$wxUSE_UNICODE" = yes; then
29425 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29427 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29428 echo "$as_me:$LINENO: checking for $ac_func" >&5
29429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29430 if eval "test \"\${$as_ac_var+set}\" = set"; then
29431 echo $ECHO_N "(cached) $ECHO_C" >&6
29433 cat >conftest.
$ac_ext <<_ACEOF
29436 cat confdefs.h
>>conftest.
$ac_ext
29437 cat >>conftest.
$ac_ext <<_ACEOF
29438 /* end confdefs.h. */
29439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29441 #define $ac_func innocuous_$ac_func
29443 /* System header to define __stub macros and hopefully few prototypes,
29444 which can conflict with char $ac_func (); below.
29445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29446 <limits.h> exists even on freestanding compilers. */
29449 # include <limits.h>
29451 # include <assert.h>
29456 /* Override any gcc2 internal prototype to avoid an error. */
29461 /* We use char because int might match the return type of a gcc2
29462 builtin and then its argument prototype would still apply. */
29464 /* The GNU C library defines this for functions which it implements
29465 to always fail with ENOSYS. Some functions are actually named
29466 something starting with __ and the normal name is an alias. */
29467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29470 char (*f) () = $ac_func;
29479 return f != $ac_func;
29484 rm -f conftest.
$ac_objext conftest
$ac_exeext
29485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29486 (eval $ac_link) 2>conftest.er1
29488 grep -v '^ *+' conftest.er1
>conftest.err
29490 cat conftest.err
>&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); } &&
29493 { ac_try
='test -z "$ac_cxx_werror_flag"
29494 || test ! -s conftest.err'
29495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29496 (eval $ac_try) 2>&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); }; } &&
29500 { ac_try
='test -s conftest$ac_exeext'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; }; then
29506 eval "$as_ac_var=yes"
29508 echo "$as_me: failed program was:" >&5
29509 sed 's/^/| /' conftest.
$ac_ext >&5
29511 eval "$as_ac_var=no"
29513 rm -f conftest.err conftest.
$ac_objext \
29514 conftest
$ac_exeext conftest.
$ac_ext
29516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29518 if test `eval echo '${'$as_ac_var'}'` = yes; then
29519 cat >>confdefs.h
<<_ACEOF
29520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29527 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29528 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29529 cat >conftest.
$ac_ext <<_ACEOF
29532 cat confdefs.h
>>conftest.
$ac_ext
29533 cat >>conftest.
$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29544 rm -f conftest.
$ac_objext
29545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29546 (eval $ac_compile) 2>conftest.er1
29548 grep -v '^ *+' conftest.er1
>conftest.err
29550 cat conftest.err
>&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } &&
29553 { ac_try
='test -z "$ac_cxx_werror_flag"
29554 || test ! -s conftest.err'
29555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556 (eval $ac_try) 2>&5
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); }; } &&
29560 { ac_try
='test -s conftest.$ac_objext'
29561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29562 (eval $ac_try) 2>&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); }; }; then
29566 echo "$as_me:$LINENO: result: yes" >&5
29567 echo "${ECHO_T}yes" >&6
29568 cat >>confdefs.h
<<\_ACEOF
29569 #define HAVE__VSNWPRINTF 1
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.
$ac_ext >&5
29576 echo "$as_me:$LINENO: result: no" >&5
29577 echo "${ECHO_T}no" >&6
29579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29583 ac_cpp
='$CPP $CPPFLAGS'
29584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29591 if test "$TOOLKIT" != "MSW"; then
29597 ac_cpp
='$CXXCPP $CPPFLAGS'
29598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29605 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29606 if test "${with_libiconv_prefix+set}" = set; then
29607 withval
="$with_libiconv_prefix"
29609 for dir
in `echo "$withval" | tr : ' '`; do
29610 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29611 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29616 echo "$as_me:$LINENO: checking for iconv" >&5
29617 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29618 if test "${am_cv_func_iconv+set}" = set; then
29619 echo $ECHO_N "(cached) $ECHO_C" >&6
29622 am_cv_func_iconv
="no, consider installing GNU libiconv"
29624 cat >conftest.
$ac_ext <<_ACEOF
29627 cat confdefs.h
>>conftest.
$ac_ext
29628 cat >>conftest.
$ac_ext <<_ACEOF
29629 /* end confdefs.h. */
29630 #include <stdlib.h>
29635 iconv_t cd = iconv_open("","");
29636 iconv(cd,NULL,NULL,NULL,NULL);
29642 rm -f conftest.
$ac_objext conftest
$ac_exeext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29644 (eval $ac_link) 2>conftest.er1
29646 grep -v '^ *+' conftest.er1
>conftest.err
29648 cat conftest.err
>&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try
='test -z "$ac_cxx_werror_flag"
29652 || test ! -s conftest.err'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; } &&
29658 { ac_try
='test -s conftest$ac_exeext'
29659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660 (eval $ac_try) 2>&5
29662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663 (exit $ac_status); }; }; then
29664 am_cv_func_iconv
=yes
29666 echo "$as_me: failed program was:" >&5
29667 sed 's/^/| /' conftest.
$ac_ext >&5
29670 rm -f conftest.err conftest.
$ac_objext \
29671 conftest
$ac_exeext conftest.
$ac_ext
29672 if test "$am_cv_func_iconv" != yes; then
29673 am_save_LIBS
="$LIBS"
29674 LIBS
="$LIBS -liconv"
29675 cat >conftest.
$ac_ext <<_ACEOF
29678 cat confdefs.h
>>conftest.
$ac_ext
29679 cat >>conftest.
$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681 #include <stdlib.h>
29686 iconv_t cd = iconv_open("","");
29687 iconv(cd,NULL,NULL,NULL,NULL);
29693 rm -f conftest.
$ac_objext conftest
$ac_exeext
29694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29695 (eval $ac_link) 2>conftest.er1
29697 grep -v '^ *+' conftest.er1
>conftest.err
29699 cat conftest.err
>&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); } &&
29702 { ac_try
='test -z "$ac_cxx_werror_flag"
29703 || test ! -s conftest.err'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; } &&
29709 { ac_try
='test -s conftest$ac_exeext'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; }; then
29715 am_cv_lib_iconv
=yes
29716 am_cv_func_iconv
=yes
29718 echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.
$ac_ext >&5
29722 rm -f conftest.err conftest.
$ac_objext \
29723 conftest
$ac_exeext conftest.
$ac_ext
29724 LIBS
="$am_save_LIBS"
29728 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29729 echo "${ECHO_T}$am_cv_func_iconv" >&6
29730 if test "$am_cv_func_iconv" = yes; then
29732 cat >>confdefs.h
<<\_ACEOF
29733 #define HAVE_ICONV 1
29736 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29737 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29738 if test "${wx_cv_func_iconv_const+set}" = set; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29741 cat >conftest.
$ac_ext <<_ACEOF
29744 cat confdefs.h
>>conftest.
$ac_ext
29745 cat >>conftest.
$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29748 #include <stdlib.h>
29754 #if defined(__STDC__) || defined(__cplusplus)
29755 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29768 rm -f conftest.
$ac_objext
29769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29770 (eval $ac_compile) 2>conftest.er1
29772 grep -v '^ *+' conftest.er1
>conftest.err
29774 cat conftest.err
>&5
29775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776 (exit $ac_status); } &&
29777 { ac_try
='test -z "$ac_cxx_werror_flag"
29778 || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try
='test -s conftest.$ac_objext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 wx_cv_func_iconv_const
="no"
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.
$ac_ext >&5
29795 wx_cv_func_iconv_const
="yes"
29798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29801 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29802 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29805 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29806 iconv_const
="const"
29810 cat >>confdefs.h
<<_ACEOF
29811 #define ICONV_CONST $iconv_const
29816 if test "$am_cv_lib_iconv" = yes; then
29821 LIBS
="$LIBICONV $LIBS"
29823 ac_cpp
='$CPP $CPPFLAGS'
29824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29829 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29831 for ac_func
in sigaction
29833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29834 echo "$as_me:$LINENO: checking for $ac_func" >&5
29835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29836 if eval "test \"\${$as_ac_var+set}\" = set"; then
29837 echo $ECHO_N "(cached) $ECHO_C" >&6
29839 cat >conftest.
$ac_ext <<_ACEOF
29842 cat confdefs.h
>>conftest.
$ac_ext
29843 cat >>conftest.
$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29847 #define $ac_func innocuous_$ac_func
29849 /* System header to define __stub macros and hopefully few prototypes,
29850 which can conflict with char $ac_func (); below.
29851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29852 <limits.h> exists even on freestanding compilers. */
29855 # include <limits.h>
29857 # include <assert.h>
29862 /* Override any gcc2 internal prototype to avoid an error. */
29867 /* We use char because int might match the return type of a gcc2
29868 builtin and then its argument prototype would still apply. */
29870 /* The GNU C library defines this for functions which it implements
29871 to always fail with ENOSYS. Some functions are actually named
29872 something starting with __ and the normal name is an alias. */
29873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29876 char (*f) () = $ac_func;
29885 return f != $ac_func;
29890 rm -f conftest.
$ac_objext conftest
$ac_exeext
29891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29892 (eval $ac_link) 2>conftest.er1
29894 grep -v '^ *+' conftest.er1
>conftest.err
29896 cat conftest.err
>&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } &&
29899 { ac_try
='test -z "$ac_c_werror_flag"
29900 || test ! -s conftest.err'
29901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29902 (eval $ac_try) 2>&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; } &&
29906 { ac_try
='test -s conftest$ac_exeext'
29907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29908 (eval $ac_try) 2>&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); }; }; then
29912 eval "$as_ac_var=yes"
29914 echo "$as_me: failed program was:" >&5
29915 sed 's/^/| /' conftest.
$ac_ext >&5
29917 eval "$as_ac_var=no"
29919 rm -f conftest.err conftest.
$ac_objext \
29920 conftest
$ac_exeext conftest.
$ac_ext
29922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29924 if test `eval echo '${'$as_ac_var'}'` = yes; then
29925 cat >>confdefs.h
<<_ACEOF
29926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29933 if test "$ac_cv_func_sigaction" = "no"; then
29934 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29935 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29936 wxUSE_ON_FATAL_EXCEPTION
=no
29939 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29943 ac_cpp
='$CXXCPP $CPPFLAGS'
29944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29949 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29950 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29951 if test "${wx_cv_type_sa_handler+set}" = set; then
29952 echo $ECHO_N "(cached) $ECHO_C" >&6
29955 cat >conftest.
$ac_ext <<_ACEOF
29958 cat confdefs.h
>>conftest.
$ac_ext
29959 cat >>conftest.
$ac_ext <<_ACEOF
29960 /* end confdefs.h. */
29961 #include <signal.h>
29966 extern void testSigHandler(int);
29968 struct sigaction sa;
29969 sa.sa_handler = testSigHandler;
29975 rm -f conftest.
$ac_objext
29976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29977 (eval $ac_compile) 2>conftest.er1
29979 grep -v '^ *+' conftest.er1
>conftest.err
29981 cat conftest.err
>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } &&
29984 { ac_try
='test -z "$ac_cxx_werror_flag"
29985 || test ! -s conftest.err'
29986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29987 (eval $ac_try) 2>&5
29989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29990 (exit $ac_status); }; } &&
29991 { ac_try
='test -s conftest.$ac_objext'
29992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29993 (eval $ac_try) 2>&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); }; }; then
29998 wx_cv_type_sa_handler
=int
30001 echo "$as_me: failed program was:" >&5
30002 sed 's/^/| /' conftest.
$ac_ext >&5
30005 wx_cv_type_sa_handler
=void
30008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30011 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30012 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30015 ac_cpp
='$CPP $CPPFLAGS'
30016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30021 cat >>confdefs.h
<<_ACEOF
30022 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30030 for ac_func
in mkstemp mktemp
30032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30033 echo "$as_me:$LINENO: checking for $ac_func" >&5
30034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30035 if eval "test \"\${$as_ac_var+set}\" = set"; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 cat >conftest.
$ac_ext <<_ACEOF
30041 cat confdefs.h
>>conftest.
$ac_ext
30042 cat >>conftest.
$ac_ext <<_ACEOF
30043 /* end confdefs.h. */
30044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30046 #define $ac_func innocuous_$ac_func
30048 /* System header to define __stub macros and hopefully few prototypes,
30049 which can conflict with char $ac_func (); below.
30050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30051 <limits.h> exists even on freestanding compilers. */
30054 # include <limits.h>
30056 # include <assert.h>
30061 /* Override any gcc2 internal prototype to avoid an error. */
30066 /* We use char because int might match the return type of a gcc2
30067 builtin and then its argument prototype would still apply. */
30069 /* The GNU C library defines this for functions which it implements
30070 to always fail with ENOSYS. Some functions are actually named
30071 something starting with __ and the normal name is an alias. */
30072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30075 char (*f) () = $ac_func;
30084 return f != $ac_func;
30089 rm -f conftest.
$ac_objext conftest
$ac_exeext
30090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30091 (eval $ac_link) 2>conftest.er1
30093 grep -v '^ *+' conftest.er1
>conftest.err
30095 cat conftest.err
>&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); } &&
30098 { ac_try
='test -z "$ac_c_werror_flag"
30099 || test ! -s conftest.err'
30100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30101 (eval $ac_try) 2>&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); }; } &&
30105 { ac_try
='test -s conftest$ac_exeext'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 eval "$as_ac_var=yes"
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.
$ac_ext >&5
30116 eval "$as_ac_var=no"
30118 rm -f conftest.err conftest.
$ac_objext \
30119 conftest
$ac_exeext conftest.
$ac_ext
30121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30123 if test `eval echo '${'$as_ac_var'}'` = yes; then
30124 cat >>confdefs.h
<<_ACEOF
30125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30132 echo "$as_me:$LINENO: checking for statfs" >&5
30133 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30134 if test "${wx_cv_func_statfs+set}" = set; then
30135 echo $ECHO_N "(cached) $ECHO_C" >&6
30137 cat >conftest.
$ac_ext <<_ACEOF
30140 cat confdefs.h
>>conftest.
$ac_ext
30141 cat >>conftest.
$ac_ext <<_ACEOF
30142 /* end confdefs.h. */
30144 #if defined(__BSD__)
30145 #include <sys/param.h>
30146 #include <sys/mount.h>
30148 #include <sys/vfs.h>
30166 rm -f conftest.
$ac_objext
30167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30168 (eval $ac_compile) 2>conftest.er1
30170 grep -v '^ *+' conftest.er1
>conftest.err
30172 cat conftest.err
>&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } &&
30175 { ac_try
='test -z "$ac_c_werror_flag"
30176 || test ! -s conftest.err'
30177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30178 (eval $ac_try) 2>&5
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; } &&
30182 { ac_try
='test -s conftest.$ac_objext'
30183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30184 (eval $ac_try) 2>&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); }; }; then
30189 wx_cv_func_statfs
=yes
30192 echo "$as_me: failed program was:" >&5
30193 sed 's/^/| /' conftest.
$ac_ext >&5
30196 wx_cv_func_statfs
=no
30200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30203 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30204 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30206 if test "$wx_cv_func_statfs" = "yes"; then
30207 wx_cv_type_statvfs_t
="struct statfs"
30208 cat >>confdefs.h
<<\_ACEOF
30209 #define HAVE_STATFS 1
30213 echo "$as_me:$LINENO: checking for statvfs" >&5
30214 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30215 if test "${wx_cv_func_statvfs+set}" = set; then
30216 echo $ECHO_N "(cached) $ECHO_C" >&6
30218 cat >conftest.
$ac_ext <<_ACEOF
30221 cat confdefs.h
>>conftest.
$ac_ext
30222 cat >>conftest.
$ac_ext <<_ACEOF
30223 /* end confdefs.h. */
30225 #include <stddef.h>
30226 #include <sys/statvfs.h>
30232 statvfs("/", NULL);
30238 rm -f conftest.
$ac_objext
30239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30240 (eval $ac_compile) 2>conftest.er1
30242 grep -v '^ *+' conftest.er1
>conftest.err
30244 cat conftest.err
>&5
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); } &&
30247 { ac_try
='test -z "$ac_c_werror_flag"
30248 || test ! -s conftest.err'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; } &&
30254 { ac_try
='test -s conftest.$ac_objext'
30255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30256 (eval $ac_try) 2>&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); }; }; then
30260 wx_cv_func_statvfs
=yes
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.
$ac_ext >&5
30265 wx_cv_func_statvfs
=no
30268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30271 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30272 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30274 if test "$wx_cv_func_statvfs" = "yes"; then
30278 ac_cpp
='$CXXCPP $CPPFLAGS'
30279 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30280 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30281 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30284 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30285 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30286 if test "${wx_cv_type_statvfs_t+set}" = set; then
30287 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 cat >conftest.
$ac_ext <<_ACEOF
30292 cat confdefs.h
>>conftest.
$ac_ext
30293 cat >>conftest.
$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30296 #include <sys/statvfs.h>
30313 rm -f conftest.
$ac_objext
30314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30315 (eval $ac_compile) 2>conftest.er1
30317 grep -v '^ *+' conftest.er1
>conftest.err
30319 cat conftest.err
>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } &&
30322 { ac_try
='test -z "$ac_cxx_werror_flag"
30323 || test ! -s conftest.err'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; } &&
30329 { ac_try
='test -s conftest.$ac_objext'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; }; then
30335 wx_cv_type_statvfs_t
=statvfs_t
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.
$ac_ext >&5
30341 cat >conftest.
$ac_ext <<_ACEOF
30344 cat confdefs.h
>>conftest.
$ac_ext
30345 cat >>conftest.
$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30348 #include <sys/statvfs.h>
30365 rm -f conftest.
$ac_objext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30367 (eval $ac_compile) 2>conftest.er1
30369 grep -v '^ *+' conftest.er1
>conftest.err
30371 cat conftest.err
>&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } &&
30374 { ac_try
='test -z "$ac_cxx_werror_flag"
30375 || test ! -s conftest.err'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; } &&
30381 { ac_try
='test -s conftest.$ac_objext'
30382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30383 (eval $ac_try) 2>&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); }; }; then
30387 wx_cv_type_statvfs_t
="struct statvfs"
30389 echo "$as_me: failed program was:" >&5
30390 sed 's/^/| /' conftest.
$ac_ext >&5
30392 wx_cv_type_statvfs_t
="unknown"
30395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30402 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30403 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30406 ac_cpp
='$CPP $CPPFLAGS'
30407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30412 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30413 cat >>confdefs.h
<<\_ACEOF
30414 #define HAVE_STATVFS 1
30419 wx_cv_type_statvfs_t
="unknown"
30423 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30424 cat >>confdefs.h
<<_ACEOF
30425 #define WX_STATFS_T $wx_cv_type_statvfs_t
30429 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30430 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30433 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30436 for ac_func
in fcntl flock
30438 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30439 echo "$as_me:$LINENO: checking for $ac_func" >&5
30440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30441 if eval "test \"\${$as_ac_var+set}\" = set"; then
30442 echo $ECHO_N "(cached) $ECHO_C" >&6
30444 cat >conftest.
$ac_ext <<_ACEOF
30447 cat confdefs.h
>>conftest.
$ac_ext
30448 cat >>conftest.
$ac_ext <<_ACEOF
30449 /* end confdefs.h. */
30450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30452 #define $ac_func innocuous_$ac_func
30454 /* System header to define __stub macros and hopefully few prototypes,
30455 which can conflict with char $ac_func (); below.
30456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30457 <limits.h> exists even on freestanding compilers. */
30460 # include <limits.h>
30462 # include <assert.h>
30467 /* Override any gcc2 internal prototype to avoid an error. */
30472 /* We use char because int might match the return type of a gcc2
30473 builtin and then its argument prototype would still apply. */
30475 /* The GNU C library defines this for functions which it implements
30476 to always fail with ENOSYS. Some functions are actually named
30477 something starting with __ and the normal name is an alias. */
30478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30481 char (*f) () = $ac_func;
30490 return f != $ac_func;
30495 rm -f conftest.
$ac_objext conftest
$ac_exeext
30496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30497 (eval $ac_link) 2>conftest.er1
30499 grep -v '^ *+' conftest.er1
>conftest.err
30501 cat conftest.err
>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); } &&
30504 { ac_try
='test -z "$ac_c_werror_flag"
30505 || test ! -s conftest.err'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; } &&
30511 { ac_try
='test -s conftest$ac_exeext'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; }; then
30517 eval "$as_ac_var=yes"
30519 echo "$as_me: failed program was:" >&5
30520 sed 's/^/| /' conftest.
$ac_ext >&5
30522 eval "$as_ac_var=no"
30524 rm -f conftest.err conftest.
$ac_objext \
30525 conftest
$ac_exeext conftest.
$ac_ext
30527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30529 if test `eval echo '${'$as_ac_var'}'` = yes; then
30530 cat >>confdefs.h
<<_ACEOF
30531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30538 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30539 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30540 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30541 wxUSE_SNGLINST_CHECKER
=no
30546 for ac_func
in timegm
30548 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30549 echo "$as_me:$LINENO: checking for $ac_func" >&5
30550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30551 if eval "test \"\${$as_ac_var+set}\" = set"; then
30552 echo $ECHO_N "(cached) $ECHO_C" >&6
30554 cat >conftest.
$ac_ext <<_ACEOF
30557 cat confdefs.h
>>conftest.
$ac_ext
30558 cat >>conftest.
$ac_ext <<_ACEOF
30559 /* end confdefs.h. */
30560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30562 #define $ac_func innocuous_$ac_func
30564 /* System header to define __stub macros and hopefully few prototypes,
30565 which can conflict with char $ac_func (); below.
30566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30567 <limits.h> exists even on freestanding compilers. */
30570 # include <limits.h>
30572 # include <assert.h>
30577 /* Override any gcc2 internal prototype to avoid an error. */
30582 /* We use char because int might match the return type of a gcc2
30583 builtin and then its argument prototype would still apply. */
30585 /* The GNU C library defines this for functions which it implements
30586 to always fail with ENOSYS. Some functions are actually named
30587 something starting with __ and the normal name is an alias. */
30588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30591 char (*f) () = $ac_func;
30600 return f != $ac_func;
30605 rm -f conftest.
$ac_objext conftest
$ac_exeext
30606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30607 (eval $ac_link) 2>conftest.er1
30609 grep -v '^ *+' conftest.er1
>conftest.err
30611 cat conftest.err
>&5
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); } &&
30614 { ac_try
='test -z "$ac_c_werror_flag"
30615 || test ! -s conftest.err'
30616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30617 (eval $ac_try) 2>&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); }; } &&
30621 { ac_try
='test -s conftest$ac_exeext'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; }; then
30627 eval "$as_ac_var=yes"
30629 echo "$as_me: failed program was:" >&5
30630 sed 's/^/| /' conftest.
$ac_ext >&5
30632 eval "$as_ac_var=no"
30634 rm -f conftest.err conftest.
$ac_objext \
30635 conftest
$ac_exeext conftest.
$ac_ext
30637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30639 if test `eval echo '${'$as_ac_var'}'` = yes; then
30640 cat >>confdefs.h
<<_ACEOF
30641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30650 for ac_func
in putenv setenv
30652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30653 echo "$as_me:$LINENO: checking for $ac_func" >&5
30654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30655 if eval "test \"\${$as_ac_var+set}\" = set"; then
30656 echo $ECHO_N "(cached) $ECHO_C" >&6
30658 cat >conftest.
$ac_ext <<_ACEOF
30661 cat confdefs.h
>>conftest.
$ac_ext
30662 cat >>conftest.
$ac_ext <<_ACEOF
30663 /* end confdefs.h. */
30664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30666 #define $ac_func innocuous_$ac_func
30668 /* System header to define __stub macros and hopefully few prototypes,
30669 which can conflict with char $ac_func (); below.
30670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30671 <limits.h> exists even on freestanding compilers. */
30674 # include <limits.h>
30676 # include <assert.h>
30681 /* Override any gcc2 internal prototype to avoid an error. */
30686 /* We use char because int might match the return type of a gcc2
30687 builtin and then its argument prototype would still apply. */
30689 /* The GNU C library defines this for functions which it implements
30690 to always fail with ENOSYS. Some functions are actually named
30691 something starting with __ and the normal name is an alias. */
30692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30695 char (*f) () = $ac_func;
30704 return f != $ac_func;
30709 rm -f conftest.
$ac_objext conftest
$ac_exeext
30710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30711 (eval $ac_link) 2>conftest.er1
30713 grep -v '^ *+' conftest.er1
>conftest.err
30715 cat conftest.err
>&5
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); } &&
30718 { ac_try
='test -z "$ac_c_werror_flag"
30719 || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try
='test -s conftest$ac_exeext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30731 eval "$as_ac_var=yes"
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.
$ac_ext >&5
30736 eval "$as_ac_var=no"
30738 rm -f conftest.err conftest.
$ac_objext \
30739 conftest
$ac_exeext conftest.
$ac_ext
30741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30743 if test `eval echo '${'$as_ac_var'}'` = yes; then
30744 cat >>confdefs.h
<<_ACEOF
30745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30752 HAVE_SOME_SLEEP_FUNC
=0
30753 if test "$USE_BEOS" = 1; then
30754 cat >>confdefs.h
<<\_ACEOF
30755 #define HAVE_SLEEP 1
30758 HAVE_SOME_SLEEP_FUNC
=1
30761 if test "$USE_DARWIN" = 1; then
30762 cat >>confdefs.h
<<\_ACEOF
30763 #define HAVE_USLEEP 1
30766 HAVE_SOME_SLEEP_FUNC
=1
30769 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30772 for ac_func
in nanosleep
30774 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30775 echo "$as_me:$LINENO: checking for $ac_func" >&5
30776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30777 if eval "test \"\${$as_ac_var+set}\" = set"; then
30778 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 cat >conftest.
$ac_ext <<_ACEOF
30783 cat confdefs.h
>>conftest.
$ac_ext
30784 cat >>conftest.
$ac_ext <<_ACEOF
30785 /* end confdefs.h. */
30786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30788 #define $ac_func innocuous_$ac_func
30790 /* System header to define __stub macros and hopefully few prototypes,
30791 which can conflict with char $ac_func (); below.
30792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30793 <limits.h> exists even on freestanding compilers. */
30796 # include <limits.h>
30798 # include <assert.h>
30803 /* Override any gcc2 internal prototype to avoid an error. */
30808 /* We use char because int might match the return type of a gcc2
30809 builtin and then its argument prototype would still apply. */
30811 /* The GNU C library defines this for functions which it implements
30812 to always fail with ENOSYS. Some functions are actually named
30813 something starting with __ and the normal name is an alias. */
30814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30817 char (*f) () = $ac_func;
30826 return f != $ac_func;
30831 rm -f conftest.
$ac_objext conftest
$ac_exeext
30832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30833 (eval $ac_link) 2>conftest.er1
30835 grep -v '^ *+' conftest.er1
>conftest.err
30837 cat conftest.err
>&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); } &&
30840 { ac_try
='test -z "$ac_c_werror_flag"
30841 || test ! -s conftest.err'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; } &&
30847 { ac_try
='test -s conftest$ac_exeext'
30848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 (eval $ac_try) 2>&5
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); }; }; then
30853 eval "$as_ac_var=yes"
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.
$ac_ext >&5
30858 eval "$as_ac_var=no"
30860 rm -f conftest.err conftest.
$ac_objext \
30861 conftest
$ac_exeext conftest.
$ac_ext
30863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30865 if test `eval echo '${'$as_ac_var'}'` = yes; then
30866 cat >>confdefs.h
<<_ACEOF
30867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30869 cat >>confdefs.h
<<\_ACEOF
30870 #define HAVE_NANOSLEEP 1
30875 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30876 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30877 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30878 echo $ECHO_N "(cached) $ECHO_C" >&6
30880 ac_check_lib_save_LIBS
=$LIBS
30881 LIBS
="-lposix4 $LIBS"
30882 cat >conftest.
$ac_ext <<_ACEOF
30885 cat confdefs.h
>>conftest.
$ac_ext
30886 cat >>conftest.
$ac_ext <<_ACEOF
30887 /* end confdefs.h. */
30889 /* Override any gcc2 internal prototype to avoid an error. */
30893 /* We use char because int might match the return type of a gcc2
30894 builtin and then its argument prototype would still apply. */
30904 rm -f conftest.
$ac_objext conftest
$ac_exeext
30905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30906 (eval $ac_link) 2>conftest.er1
30908 grep -v '^ *+' conftest.er1
>conftest.err
30910 cat conftest.err
>&5
30911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912 (exit $ac_status); } &&
30913 { ac_try
='test -z "$ac_c_werror_flag"
30914 || test ! -s conftest.err'
30915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30916 (eval $ac_try) 2>&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); }; } &&
30920 { ac_try
='test -s conftest$ac_exeext'
30921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30922 (eval $ac_try) 2>&5
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); }; }; then
30926 ac_cv_lib_posix4_nanosleep
=yes
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.
$ac_ext >&5
30931 ac_cv_lib_posix4_nanosleep
=no
30933 rm -f conftest.err conftest.
$ac_objext \
30934 conftest
$ac_exeext conftest.
$ac_ext
30935 LIBS
=$ac_check_lib_save_LIBS
30937 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30938 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30939 if test $ac_cv_lib_posix4_nanosleep = yes; then
30941 cat >>confdefs.h
<<\_ACEOF
30942 #define HAVE_NANOSLEEP 1
30945 POSIX4_LINK
=" -lposix4"
30950 for ac_func
in usleep
30952 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30953 echo "$as_me:$LINENO: checking for $ac_func" >&5
30954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30955 if eval "test \"\${$as_ac_var+set}\" = set"; then
30956 echo $ECHO_N "(cached) $ECHO_C" >&6
30958 cat >conftest.
$ac_ext <<_ACEOF
30961 cat confdefs.h
>>conftest.
$ac_ext
30962 cat >>conftest.
$ac_ext <<_ACEOF
30963 /* end confdefs.h. */
30964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30966 #define $ac_func innocuous_$ac_func
30968 /* System header to define __stub macros and hopefully few prototypes,
30969 which can conflict with char $ac_func (); below.
30970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30971 <limits.h> exists even on freestanding compilers. */
30974 # include <limits.h>
30976 # include <assert.h>
30981 /* Override any gcc2 internal prototype to avoid an error. */
30986 /* We use char because int might match the return type of a gcc2
30987 builtin and then its argument prototype would still apply. */
30989 /* The GNU C library defines this for functions which it implements
30990 to always fail with ENOSYS. Some functions are actually named
30991 something starting with __ and the normal name is an alias. */
30992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30995 char (*f) () = $ac_func;
31004 return f != $ac_func;
31009 rm -f conftest.
$ac_objext conftest
$ac_exeext
31010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31011 (eval $ac_link) 2>conftest.er1
31013 grep -v '^ *+' conftest.er1
>conftest.err
31015 cat conftest.err
>&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); } &&
31018 { ac_try
='test -z "$ac_c_werror_flag"
31019 || test ! -s conftest.err'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; } &&
31025 { ac_try
='test -s conftest$ac_exeext'
31026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31027 (eval $ac_try) 2>&5
31029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31030 (exit $ac_status); }; }; then
31031 eval "$as_ac_var=yes"
31033 echo "$as_me: failed program was:" >&5
31034 sed 's/^/| /' conftest.
$ac_ext >&5
31036 eval "$as_ac_var=no"
31038 rm -f conftest.err conftest.
$ac_objext \
31039 conftest
$ac_exeext conftest.
$ac_ext
31041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31043 if test `eval echo '${'$as_ac_var'}'` = yes; then
31044 cat >>confdefs.h
<<_ACEOF
31045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31047 cat >>confdefs.h
<<\_ACEOF
31048 #define HAVE_USLEEP 1
31052 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31053 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31071 for ac_func
in uname gethostname
31073 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31074 echo "$as_me:$LINENO: checking for $ac_func" >&5
31075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31076 if eval "test \"\${$as_ac_var+set}\" = set"; then
31077 echo $ECHO_N "(cached) $ECHO_C" >&6
31079 cat >conftest.
$ac_ext <<_ACEOF
31082 cat confdefs.h
>>conftest.
$ac_ext
31083 cat >>conftest.
$ac_ext <<_ACEOF
31084 /* end confdefs.h. */
31085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31087 #define $ac_func innocuous_$ac_func
31089 /* System header to define __stub macros and hopefully few prototypes,
31090 which can conflict with char $ac_func (); below.
31091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31092 <limits.h> exists even on freestanding compilers. */
31095 # include <limits.h>
31097 # include <assert.h>
31102 /* Override any gcc2 internal prototype to avoid an error. */
31107 /* We use char because int might match the return type of a gcc2
31108 builtin and then its argument prototype would still apply. */
31110 /* The GNU C library defines this for functions which it implements
31111 to always fail with ENOSYS. Some functions are actually named
31112 something starting with __ and the normal name is an alias. */
31113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31116 char (*f) () = $ac_func;
31125 return f != $ac_func;
31130 rm -f conftest.
$ac_objext conftest
$ac_exeext
31131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31132 (eval $ac_link) 2>conftest.er1
31134 grep -v '^ *+' conftest.er1
>conftest.err
31136 cat conftest.err
>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); } &&
31139 { ac_try
='test -z "$ac_c_werror_flag"
31140 || test ! -s conftest.err'
31141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31142 (eval $ac_try) 2>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); }; } &&
31146 { ac_try
='test -s conftest$ac_exeext'
31147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148 (eval $ac_try) 2>&5
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; }; then
31152 eval "$as_ac_var=yes"
31154 echo "$as_me: failed program was:" >&5
31155 sed 's/^/| /' conftest.
$ac_ext >&5
31157 eval "$as_ac_var=no"
31159 rm -f conftest.err conftest.
$ac_objext \
31160 conftest
$ac_exeext conftest.
$ac_ext
31162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31164 if test `eval echo '${'$as_ac_var'}'` = yes; then
31165 cat >>confdefs.h
<<_ACEOF
31166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31176 ac_cpp
='$CXXCPP $CPPFLAGS'
31177 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31183 for ac_func
in strtok_r
31185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31186 echo "$as_me:$LINENO: checking for $ac_func" >&5
31187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31188 if eval "test \"\${$as_ac_var+set}\" = set"; then
31189 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 cat >conftest.
$ac_ext <<_ACEOF
31194 cat confdefs.h
>>conftest.
$ac_ext
31195 cat >>conftest.
$ac_ext <<_ACEOF
31196 /* end confdefs.h. */
31197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31199 #define $ac_func innocuous_$ac_func
31201 /* System header to define __stub macros and hopefully few prototypes,
31202 which can conflict with char $ac_func (); below.
31203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31204 <limits.h> exists even on freestanding compilers. */
31207 # include <limits.h>
31209 # include <assert.h>
31214 /* Override any gcc2 internal prototype to avoid an error. */
31219 /* We use char because int might match the return type of a gcc2
31220 builtin and then its argument prototype would still apply. */
31222 /* The GNU C library defines this for functions which it implements
31223 to always fail with ENOSYS. Some functions are actually named
31224 something starting with __ and the normal name is an alias. */
31225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31228 char (*f) () = $ac_func;
31237 return f != $ac_func;
31242 rm -f conftest.
$ac_objext conftest
$ac_exeext
31243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31244 (eval $ac_link) 2>conftest.er1
31246 grep -v '^ *+' conftest.er1
>conftest.err
31248 cat conftest.err
>&5
31249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 (exit $ac_status); } &&
31251 { ac_try
='test -z "$ac_cxx_werror_flag"
31252 || test ! -s conftest.err'
31253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31254 (eval $ac_try) 2>&5
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); }; } &&
31258 { ac_try
='test -s conftest$ac_exeext'
31259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31260 (eval $ac_try) 2>&5
31262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263 (exit $ac_status); }; }; then
31264 eval "$as_ac_var=yes"
31266 echo "$as_me: failed program was:" >&5
31267 sed 's/^/| /' conftest.
$ac_ext >&5
31269 eval "$as_ac_var=no"
31271 rm -f conftest.err conftest.
$ac_objext \
31272 conftest
$ac_exeext conftest.
$ac_ext
31274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31276 if test `eval echo '${'$as_ac_var'}'` = yes; then
31277 cat >>confdefs.h
<<_ACEOF
31278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31286 ac_cpp
='$CPP $CPPFLAGS'
31287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31294 for ac_func
in inet_addr
31296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31297 echo "$as_me:$LINENO: checking for $ac_func" >&5
31298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31299 if eval "test \"\${$as_ac_var+set}\" = set"; then
31300 echo $ECHO_N "(cached) $ECHO_C" >&6
31302 cat >conftest.
$ac_ext <<_ACEOF
31305 cat confdefs.h
>>conftest.
$ac_ext
31306 cat >>conftest.
$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31310 #define $ac_func innocuous_$ac_func
31312 /* System header to define __stub macros and hopefully few prototypes,
31313 which can conflict with char $ac_func (); below.
31314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31315 <limits.h> exists even on freestanding compilers. */
31318 # include <limits.h>
31320 # include <assert.h>
31325 /* Override any gcc2 internal prototype to avoid an error. */
31330 /* We use char because int might match the return type of a gcc2
31331 builtin and then its argument prototype would still apply. */
31333 /* The GNU C library defines this for functions which it implements
31334 to always fail with ENOSYS. Some functions are actually named
31335 something starting with __ and the normal name is an alias. */
31336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31339 char (*f) () = $ac_func;
31348 return f != $ac_func;
31353 rm -f conftest.
$ac_objext conftest
$ac_exeext
31354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31355 (eval $ac_link) 2>conftest.er1
31357 grep -v '^ *+' conftest.er1
>conftest.err
31359 cat conftest.err
>&5
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); } &&
31362 { ac_try
='test -z "$ac_c_werror_flag"
31363 || test ! -s conftest.err'
31364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365 (eval $ac_try) 2>&5
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); }; } &&
31369 { ac_try
='test -s conftest$ac_exeext'
31370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31371 (eval $ac_try) 2>&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; }; then
31375 eval "$as_ac_var=yes"
31377 echo "$as_me: failed program was:" >&5
31378 sed 's/^/| /' conftest.
$ac_ext >&5
31380 eval "$as_ac_var=no"
31382 rm -f conftest.err conftest.
$ac_objext \
31383 conftest
$ac_exeext conftest.
$ac_ext
31385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31387 if test `eval echo '${'$as_ac_var'}'` = yes; then
31388 cat >>confdefs.h
<<_ACEOF
31389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31391 cat >>confdefs.h
<<\_ACEOF
31392 #define HAVE_INET_ADDR 1
31397 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31398 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31399 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31400 echo $ECHO_N "(cached) $ECHO_C" >&6
31402 ac_check_lib_save_LIBS
=$LIBS
31404 cat >conftest.
$ac_ext <<_ACEOF
31407 cat confdefs.h
>>conftest.
$ac_ext
31408 cat >>conftest.
$ac_ext <<_ACEOF
31409 /* end confdefs.h. */
31411 /* Override any gcc2 internal prototype to avoid an error. */
31415 /* We use char because int might match the return type of a gcc2
31416 builtin and then its argument prototype would still apply. */
31426 rm -f conftest.
$ac_objext conftest
$ac_exeext
31427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31428 (eval $ac_link) 2>conftest.er1
31430 grep -v '^ *+' conftest.er1
>conftest.err
31432 cat conftest.err
>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } &&
31435 { ac_try
='test -z "$ac_c_werror_flag"
31436 || test ! -s conftest.err'
31437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31438 (eval $ac_try) 2>&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); }; } &&
31442 { ac_try
='test -s conftest$ac_exeext'
31443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31444 (eval $ac_try) 2>&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); }; }; then
31448 ac_cv_lib_nsl_inet_addr
=yes
31450 echo "$as_me: failed program was:" >&5
31451 sed 's/^/| /' conftest.
$ac_ext >&5
31453 ac_cv_lib_nsl_inet_addr
=no
31455 rm -f conftest.err conftest.
$ac_objext \
31456 conftest
$ac_exeext conftest.
$ac_ext
31457 LIBS
=$ac_check_lib_save_LIBS
31459 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31460 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31461 if test $ac_cv_lib_nsl_inet_addr = yes; then
31465 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31466 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31467 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31470 ac_check_lib_save_LIBS
=$LIBS
31471 LIBS
="-lresolv $LIBS"
31472 cat >conftest.
$ac_ext <<_ACEOF
31475 cat confdefs.h
>>conftest.
$ac_ext
31476 cat >>conftest.
$ac_ext <<_ACEOF
31477 /* end confdefs.h. */
31479 /* Override any gcc2 internal prototype to avoid an error. */
31483 /* We use char because int might match the return type of a gcc2
31484 builtin and then its argument prototype would still apply. */
31494 rm -f conftest.
$ac_objext conftest
$ac_exeext
31495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31496 (eval $ac_link) 2>conftest.er1
31498 grep -v '^ *+' conftest.er1
>conftest.err
31500 cat conftest.err
>&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); } &&
31503 { ac_try
='test -z "$ac_c_werror_flag"
31504 || test ! -s conftest.err'
31505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506 (eval $ac_try) 2>&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; } &&
31510 { ac_try
='test -s conftest$ac_exeext'
31511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31512 (eval $ac_try) 2>&5
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; }; then
31516 ac_cv_lib_resolv_inet_addr
=yes
31518 echo "$as_me: failed program was:" >&5
31519 sed 's/^/| /' conftest.
$ac_ext >&5
31521 ac_cv_lib_resolv_inet_addr
=no
31523 rm -f conftest.err conftest.
$ac_objext \
31524 conftest
$ac_exeext conftest.
$ac_ext
31525 LIBS
=$ac_check_lib_save_LIBS
31527 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31528 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31529 if test $ac_cv_lib_resolv_inet_addr = yes; then
31533 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31534 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31535 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31536 echo $ECHO_N "(cached) $ECHO_C" >&6
31538 ac_check_lib_save_LIBS
=$LIBS
31539 LIBS
="-lsocket $LIBS"
31540 cat >conftest.
$ac_ext <<_ACEOF
31543 cat confdefs.h
>>conftest.
$ac_ext
31544 cat >>conftest.
$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31547 /* Override any gcc2 internal prototype to avoid an error. */
31551 /* We use char because int might match the return type of a gcc2
31552 builtin and then its argument prototype would still apply. */
31562 rm -f conftest.
$ac_objext conftest
$ac_exeext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31564 (eval $ac_link) 2>conftest.er1
31566 grep -v '^ *+' conftest.er1
>conftest.err
31568 cat conftest.err
>&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); } &&
31571 { ac_try
='test -z "$ac_c_werror_flag"
31572 || test ! -s conftest.err'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; } &&
31578 { ac_try
='test -s conftest$ac_exeext'
31579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31580 (eval $ac_try) 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; }; then
31584 ac_cv_lib_socket_inet_addr
=yes
31586 echo "$as_me: failed program was:" >&5
31587 sed 's/^/| /' conftest.
$ac_ext >&5
31589 ac_cv_lib_socket_inet_addr
=no
31591 rm -f conftest.err conftest.
$ac_objext \
31592 conftest
$ac_exeext conftest.
$ac_ext
31593 LIBS
=$ac_check_lib_save_LIBS
31595 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31596 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31597 if test $ac_cv_lib_socket_inet_addr = yes; then
31617 for ac_func
in inet_aton
31619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31620 echo "$as_me:$LINENO: checking for $ac_func" >&5
31621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31622 if eval "test \"\${$as_ac_var+set}\" = set"; then
31623 echo $ECHO_N "(cached) $ECHO_C" >&6
31625 cat >conftest.
$ac_ext <<_ACEOF
31628 cat confdefs.h
>>conftest.
$ac_ext
31629 cat >>conftest.
$ac_ext <<_ACEOF
31630 /* end confdefs.h. */
31631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31633 #define $ac_func innocuous_$ac_func
31635 /* System header to define __stub macros and hopefully few prototypes,
31636 which can conflict with char $ac_func (); below.
31637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31638 <limits.h> exists even on freestanding compilers. */
31641 # include <limits.h>
31643 # include <assert.h>
31648 /* Override any gcc2 internal prototype to avoid an error. */
31653 /* We use char because int might match the return type of a gcc2
31654 builtin and then its argument prototype would still apply. */
31656 /* The GNU C library defines this for functions which it implements
31657 to always fail with ENOSYS. Some functions are actually named
31658 something starting with __ and the normal name is an alias. */
31659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31662 char (*f) () = $ac_func;
31671 return f != $ac_func;
31676 rm -f conftest.
$ac_objext conftest
$ac_exeext
31677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31678 (eval $ac_link) 2>conftest.er1
31680 grep -v '^ *+' conftest.er1
>conftest.err
31682 cat conftest.err
>&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); } &&
31685 { ac_try
='test -z "$ac_c_werror_flag"
31686 || test ! -s conftest.err'
31687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31688 (eval $ac_try) 2>&5
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; } &&
31692 { ac_try
='test -s conftest$ac_exeext'
31693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31694 (eval $ac_try) 2>&5
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); }; }; then
31698 eval "$as_ac_var=yes"
31700 echo "$as_me: failed program was:" >&5
31701 sed 's/^/| /' conftest.
$ac_ext >&5
31703 eval "$as_ac_var=no"
31705 rm -f conftest.err conftest.
$ac_objext \
31706 conftest
$ac_exeext conftest.
$ac_ext
31708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31710 if test `eval echo '${'$as_ac_var'}'` = yes; then
31711 cat >>confdefs.h
<<_ACEOF
31712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31714 cat >>confdefs.h
<<\_ACEOF
31715 #define HAVE_INET_ATON 1
31720 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31721 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31722 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31723 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31724 echo $ECHO_N "(cached) $ECHO_C" >&6
31726 ac_check_lib_save_LIBS
=$LIBS
31727 LIBS
="-l$INET_LINK $LIBS"
31728 cat >conftest.
$ac_ext <<_ACEOF
31731 cat confdefs.h
>>conftest.
$ac_ext
31732 cat >>conftest.
$ac_ext <<_ACEOF
31733 /* end confdefs.h. */
31735 /* Override any gcc2 internal prototype to avoid an error. */
31739 /* We use char because int might match the return type of a gcc2
31740 builtin and then its argument prototype would still apply. */
31750 rm -f conftest.
$ac_objext conftest
$ac_exeext
31751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31752 (eval $ac_link) 2>conftest.er1
31754 grep -v '^ *+' conftest.er1
>conftest.err
31756 cat conftest.err
>&5
31757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31758 (exit $ac_status); } &&
31759 { ac_try
='test -z "$ac_c_werror_flag"
31760 || test ! -s conftest.err'
31761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31762 (eval $ac_try) 2>&5
31764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31765 (exit $ac_status); }; } &&
31766 { ac_try
='test -s conftest$ac_exeext'
31767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31768 (eval $ac_try) 2>&5
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); }; }; then
31772 eval "$as_ac_Lib=yes"
31774 echo "$as_me: failed program was:" >&5
31775 sed 's/^/| /' conftest.
$ac_ext >&5
31777 eval "$as_ac_Lib=no"
31779 rm -f conftest.err conftest.
$ac_objext \
31780 conftest
$ac_exeext conftest.
$ac_ext
31781 LIBS
=$ac_check_lib_save_LIBS
31783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31784 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31785 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31786 cat >>confdefs.h
<<\_ACEOF
31787 #define HAVE_INET_ATON 1
31797 if test "x$INET_LINK" != "x"; then
31798 cat >>confdefs.h
<<\_ACEOF
31799 #define HAVE_INET_ADDR 1
31802 INET_LINK
=" -l$INET_LINK"
31810 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31811 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31812 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31813 echo $ECHO_N "(cached) $ECHO_C" >&6
31815 ac_check_lib_save_LIBS
=$LIBS
31817 cat >conftest.
$ac_ext <<_ACEOF
31820 cat confdefs.h
>>conftest.
$ac_ext
31821 cat >>conftest.
$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31824 /* Override any gcc2 internal prototype to avoid an error. */
31828 /* We use char because int might match the return type of a gcc2
31829 builtin and then its argument prototype would still apply. */
31839 rm -f conftest.
$ac_objext conftest
$ac_exeext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31841 (eval $ac_link) 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"
31849 || test ! -s conftest.err'
31850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31851 (eval $ac_try) 2>&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); }; } &&
31855 { ac_try
='test -s conftest$ac_exeext'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; }; then
31861 ac_cv_lib_esd_esd_close
=yes
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.
$ac_ext >&5
31866 ac_cv_lib_esd_esd_close
=no
31868 rm -f conftest.err conftest.
$ac_objext \
31869 conftest
$ac_exeext conftest.
$ac_ext
31870 LIBS
=$ac_check_lib_save_LIBS
31872 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31873 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31874 if test $ac_cv_lib_esd_esd_close = yes; then
31877 for ac_header
in esd.h
31879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31881 echo "$as_me:$LINENO: checking for $ac_header" >&5
31882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
31886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31889 # Is the header compilable?
31890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31892 cat >conftest.
$ac_ext <<_ACEOF
31895 cat confdefs.h
>>conftest.
$ac_ext
31896 cat >>conftest.
$ac_ext <<_ACEOF
31897 /* end confdefs.h. */
31898 $ac_includes_default
31899 #include <$ac_header>
31901 rm -f conftest.
$ac_objext
31902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31903 (eval $ac_compile) 2>conftest.er1
31905 grep -v '^ *+' conftest.er1
>conftest.err
31907 cat conftest.err
>&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } &&
31910 { ac_try
='test -z "$ac_c_werror_flag"
31911 || test ! -s conftest.err'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try
='test -s conftest.$ac_objext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31923 ac_header_compiler
=yes
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.
$ac_ext >&5
31928 ac_header_compiler
=no
31930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31932 echo "${ECHO_T}$ac_header_compiler" >&6
31934 # Is the header present?
31935 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31937 cat >conftest.
$ac_ext <<_ACEOF
31940 cat confdefs.h
>>conftest.
$ac_ext
31941 cat >>conftest.
$ac_ext <<_ACEOF
31942 /* end confdefs.h. */
31943 #include <$ac_header>
31945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31948 grep -v '^ *+' conftest.er1
>conftest.err
31950 cat conftest.err
>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); } >/dev
/null
; then
31953 if test -s conftest.err
; then
31954 ac_cpp_err
=$ac_c_preproc_warn_flag
31955 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31962 if test -z "$ac_cpp_err"; then
31963 ac_header_preproc
=yes
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.
$ac_ext >&5
31968 ac_header_preproc
=no
31970 rm -f conftest.err conftest.
$ac_ext
31971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31972 echo "${ECHO_T}$ac_header_preproc" >&6
31974 # So? What about this header?
31975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31980 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31981 ac_header_preproc
=yes
31984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31988 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31989 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31990 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31991 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31994 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31995 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31998 ## ----------------------------------------- ##
31999 ## Report this to wx-dev@lists.wxwidgets.org ##
32000 ## ----------------------------------------- ##
32003 sed "s/^/$as_me: WARNING: /" >&2
32006 echo "$as_me:$LINENO: checking for $ac_header" >&5
32007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32009 echo $ECHO_N "(cached) $ECHO_C" >&6
32011 eval "$as_ac_Header=\$ac_header_preproc"
32013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32018 cat >>confdefs.h
<<_ACEOF
32019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32022 EXTRALIBS_ESD
="-lesd"
32033 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32034 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32035 cat >conftest.
$ac_ext <<_ACEOF
32038 cat confdefs.h
>>conftest.
$ac_ext
32039 cat >>conftest.
$ac_ext <<_ACEOF
32040 /* end confdefs.h. */
32042 #include <linux/cdrom.h>
32045 #include <sys/cdio.h>
32051 struct cdrom_tocentry entry, old_entry;
32056 rm -f conftest.
$ac_objext
32057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32058 (eval $ac_compile) 2>conftest.er1
32060 grep -v '^ *+' conftest.er1
>conftest.err
32062 cat conftest.err
>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try
='test -z "$ac_c_werror_flag"
32066 || test ! -s conftest.err'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; } &&
32072 { ac_try
='test -s conftest.$ac_objext'
32073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32074 (eval $ac_try) 2>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); }; }; then
32078 echo "$as_me:$LINENO: result: yes" >&5
32079 echo "${ECHO_T}yes" >&6
32080 cat >>confdefs.h
<<\_ACEOF
32081 #define HAVE_KNOWN_CDROM_INTERFACE 1
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.
$ac_ext >&5
32088 echo "$as_me:$LINENO: result: no" >&5
32089 echo "${ECHO_T}no" >&6
32091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32094 cat >confcache
<<\_ACEOF
32095 # This file is a shell script that caches the results of configure
32096 # tests run on this system so they can be shared between configure
32097 # scripts and configure runs, see configure's option --config-cache.
32098 # It is not useful on other systems. If it contains results you don't
32099 # want to keep, you may remove or edit it.
32101 # config.status only pays attention to the cache file if you give it
32102 # the --recheck option to rerun configure.
32104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32106 # following values.
32110 # The following way of writing the cache mishandles newlines in values,
32111 # but we know of no workaround that is simple, portable, and efficient.
32112 # So, don't put newlines in cache variables' values.
32113 # Ultrix sh set writes to stderr and can't be redirected directly,
32114 # and sets the high bit in the cache file unless we assign to the vars.
32117 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32119 # `set' does not quote correctly, so add quotes (double-quote
32120 # substitution turns \\\\ into \\, and sed turns \\ into \).
32123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32126 # `set' quotes correctly as required by POSIX, so do not add quotes.
32128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32135 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32137 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32139 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32140 if test -w $cache_file; then
32141 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32142 cat confcache
>$cache_file
32144 echo "not updating unwritable cache $cache_file"
32151 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32157 if test "$wxUSE_THREADS" = "yes" ; then
32158 if test "$USE_BEOS" = 1; then
32159 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32160 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32165 if test "$wxUSE_THREADS" = "yes" ; then
32168 THREAD_OPTS
="-pthread"
32170 *-*-solaris2* | *-*-sunos4* )
32171 if test "x$GCC" = "xyes"; then
32172 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32174 THREAD_OPTS
="-mt $THREAD_OPTS"
32178 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32180 *-*-darwin* | *-*-cygwin* )
32184 THREAD_OPTS
="pthreads"
32187 if test "x$GCC" != "xyes"; then
32193 if test "x$GCC" = "xyes"; then
32199 if test "x$GCC" != "xyes"; then
32200 THREAD_OPTS
="-Ethread"
32205 THREAD_OPTS
="$THREAD_OPTS pthread none"
32208 for flag
in $THREAD_OPTS; do
32211 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32212 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32216 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32217 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32218 THREADS_CFLAGS
="$flag"
32222 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32223 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32224 THREADS_LINK
="-l$flag"
32229 save_CFLAGS
="$CFLAGS"
32230 LIBS
="$THREADS_LINK $LIBS"
32231 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32233 cat >conftest.
$ac_ext <<_ACEOF
32236 cat confdefs.h
>>conftest.
$ac_ext
32237 cat >>conftest.
$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239 #include <pthread.h>
32243 pthread_create(0,0,0,0);
32248 rm -f conftest.
$ac_objext conftest
$ac_exeext
32249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32250 (eval $ac_link) 2>conftest.er1
32252 grep -v '^ *+' conftest.er1
>conftest.err
32254 cat conftest.err
>&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); } &&
32257 { ac_try
='test -z "$ac_c_werror_flag"
32258 || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try
='test -s conftest$ac_exeext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.
$ac_ext >&5
32276 rm -f conftest.err conftest.
$ac_objext \
32277 conftest
$ac_exeext conftest.
$ac_ext
32280 CFLAGS
="$save_CFLAGS"
32282 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32283 echo "${ECHO_T}$THREADS_OK" >&6
32284 if test "x$THREADS_OK" = "xyes"; then
32292 if test "x$THREADS_OK" != "xyes"; then
32294 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32295 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32297 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32298 LIBS
="$THREADS_LINK $LIBS"
32300 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32301 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32305 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32306 flag
="-D_THREAD_SAFE"
32309 flag
="-D_THREAD_SAFE"
32312 flag
="-D_REENTRANT"
32313 if test "x$GCC" != "xyes"; then
32314 flag
="$flag -D_RWSTD_MULTI_THREAD"
32319 *solaris
* | alpha
*-osf*)
32320 flag
="-D_REENTRANT"
32323 echo "$as_me:$LINENO: result: ${flag}" >&5
32324 echo "${ECHO_T}${flag}" >&6
32325 if test "x$flag" != xno
; then
32326 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32329 if test "x$THREADS_CFLAGS" != "x"; then
32330 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32331 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32336 if test "$wxUSE_THREADS" = "yes" ; then
32338 for ac_func
in thr_setconcurrency
32340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32341 echo "$as_me:$LINENO: checking for $ac_func" >&5
32342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32343 if eval "test \"\${$as_ac_var+set}\" = set"; then
32344 echo $ECHO_N "(cached) $ECHO_C" >&6
32346 cat >conftest.
$ac_ext <<_ACEOF
32349 cat confdefs.h
>>conftest.
$ac_ext
32350 cat >>conftest.
$ac_ext <<_ACEOF
32351 /* end confdefs.h. */
32352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32354 #define $ac_func innocuous_$ac_func
32356 /* System header to define __stub macros and hopefully few prototypes,
32357 which can conflict with char $ac_func (); below.
32358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32359 <limits.h> exists even on freestanding compilers. */
32362 # include <limits.h>
32364 # include <assert.h>
32369 /* Override any gcc2 internal prototype to avoid an error. */
32374 /* We use char because int might match the return type of a gcc2
32375 builtin and then its argument prototype would still apply. */
32377 /* The GNU C library defines this for functions which it implements
32378 to always fail with ENOSYS. Some functions are actually named
32379 something starting with __ and the normal name is an alias. */
32380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32383 char (*f) () = $ac_func;
32392 return f != $ac_func;
32397 rm -f conftest.
$ac_objext conftest
$ac_exeext
32398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32399 (eval $ac_link) 2>conftest.er1
32401 grep -v '^ *+' conftest.er1
>conftest.err
32403 cat conftest.err
>&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } &&
32406 { ac_try
='test -z "$ac_c_werror_flag"
32407 || test ! -s conftest.err'
32408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32409 (eval $ac_try) 2>&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); }; } &&
32413 { ac_try
='test -s conftest$ac_exeext'
32414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32415 (eval $ac_try) 2>&5
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; }; then
32419 eval "$as_ac_var=yes"
32421 echo "$as_me: failed program was:" >&5
32422 sed 's/^/| /' conftest.
$ac_ext >&5
32424 eval "$as_ac_var=no"
32426 rm -f conftest.err conftest.
$ac_objext \
32427 conftest
$ac_exeext conftest.
$ac_ext
32429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32431 if test `eval echo '${'$as_ac_var'}'` = yes; then
32432 cat >>confdefs.h
<<_ACEOF
32433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32441 for ac_header
in sched.h
32443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32445 echo "$as_me:$LINENO: checking for $ac_header" >&5
32446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32453 # Is the header compilable?
32454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32456 cat >conftest.
$ac_ext <<_ACEOF
32459 cat confdefs.h
>>conftest.
$ac_ext
32460 cat >>conftest.
$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 $ac_includes_default
32463 #include <$ac_header>
32465 rm -f conftest.
$ac_objext
32466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32467 (eval $ac_compile) 2>conftest.er1
32469 grep -v '^ *+' conftest.er1
>conftest.err
32471 cat conftest.err
>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); } &&
32474 { ac_try
='test -z "$ac_c_werror_flag"
32475 || test ! -s conftest.err'
32476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32477 (eval $ac_try) 2>&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); }; } &&
32481 { ac_try
='test -s conftest.$ac_objext'
32482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32483 (eval $ac_try) 2>&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); }; }; then
32487 ac_header_compiler
=yes
32489 echo "$as_me: failed program was:" >&5
32490 sed 's/^/| /' conftest.
$ac_ext >&5
32492 ac_header_compiler
=no
32494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32496 echo "${ECHO_T}$ac_header_compiler" >&6
32498 # Is the header present?
32499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32501 cat >conftest.
$ac_ext <<_ACEOF
32504 cat confdefs.h
>>conftest.
$ac_ext
32505 cat >>conftest.
$ac_ext <<_ACEOF
32506 /* end confdefs.h. */
32507 #include <$ac_header>
32509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32512 grep -v '^ *+' conftest.er1
>conftest.err
32514 cat conftest.err
>&5
32515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32516 (exit $ac_status); } >/dev
/null
; then
32517 if test -s conftest.err
; then
32518 ac_cpp_err
=$ac_c_preproc_warn_flag
32519 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32526 if test -z "$ac_cpp_err"; then
32527 ac_header_preproc
=yes
32529 echo "$as_me: failed program was:" >&5
32530 sed 's/^/| /' conftest.
$ac_ext >&5
32532 ac_header_preproc
=no
32534 rm -f conftest.err conftest.
$ac_ext
32535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32536 echo "${ECHO_T}$ac_header_preproc" >&6
32538 # So? What about this header?
32539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32545 ac_header_preproc
=yes
32548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32562 ## ----------------------------------------- ##
32563 ## Report this to wx-dev@lists.wxwidgets.org ##
32564 ## ----------------------------------------- ##
32567 sed "s/^/$as_me: WARNING: /" >&2
32570 echo "$as_me:$LINENO: checking for $ac_header" >&5
32571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 eval "$as_ac_Header=\$ac_header_preproc"
32577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32582 cat >>confdefs.h
<<_ACEOF
32583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32590 if test "$ac_cv_header_sched_h" = "yes"; then
32591 echo "$as_me:$LINENO: checking for sched_yield" >&5
32592 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32593 if test "${ac_cv_func_sched_yield+set}" = set; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 cat >conftest.
$ac_ext <<_ACEOF
32599 cat confdefs.h
>>conftest.
$ac_ext
32600 cat >>conftest.
$ac_ext <<_ACEOF
32601 /* end confdefs.h. */
32602 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32604 #define sched_yield innocuous_sched_yield
32606 /* System header to define __stub macros and hopefully few prototypes,
32607 which can conflict with char sched_yield (); below.
32608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32609 <limits.h> exists even on freestanding compilers. */
32612 # include <limits.h>
32614 # include <assert.h>
32619 /* Override any gcc2 internal prototype to avoid an error. */
32624 /* We use char because int might match the return type of a gcc2
32625 builtin and then its argument prototype would still apply. */
32626 char sched_yield ();
32627 /* The GNU C library defines this for functions which it implements
32628 to always fail with ENOSYS. Some functions are actually named
32629 something starting with __ and the normal name is an alias. */
32630 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32633 char (*f) () = sched_yield;
32642 return f != sched_yield;
32647 rm -f conftest.
$ac_objext conftest
$ac_exeext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32649 (eval $ac_link) 2>conftest.er1
32651 grep -v '^ *+' conftest.er1
>conftest.err
32653 cat conftest.err
>&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } &&
32656 { ac_try
='test -z "$ac_c_werror_flag"
32657 || test ! -s conftest.err'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; } &&
32663 { ac_try
='test -s conftest$ac_exeext'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; }; then
32669 ac_cv_func_sched_yield
=yes
32671 echo "$as_me: failed program was:" >&5
32672 sed 's/^/| /' conftest.
$ac_ext >&5
32674 ac_cv_func_sched_yield
=no
32676 rm -f conftest.err conftest.
$ac_objext \
32677 conftest
$ac_exeext conftest.
$ac_ext
32679 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32680 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32681 if test $ac_cv_func_sched_yield = yes; then
32682 cat >>confdefs.h
<<\_ACEOF
32683 #define HAVE_SCHED_YIELD 1
32688 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32689 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32690 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32693 ac_check_lib_save_LIBS
=$LIBS
32694 LIBS
="-lposix4 $LIBS"
32695 cat >conftest.
$ac_ext <<_ACEOF
32698 cat confdefs.h
>>conftest.
$ac_ext
32699 cat >>conftest.
$ac_ext <<_ACEOF
32700 /* end confdefs.h. */
32702 /* Override any gcc2 internal prototype to avoid an error. */
32706 /* We use char because int might match the return type of a gcc2
32707 builtin and then its argument prototype would still apply. */
32708 char sched_yield ();
32717 rm -f conftest.
$ac_objext conftest
$ac_exeext
32718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32719 (eval $ac_link) 2>conftest.er1
32721 grep -v '^ *+' conftest.er1
>conftest.err
32723 cat conftest.err
>&5
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); } &&
32726 { ac_try
='test -z "$ac_c_werror_flag"
32727 || test ! -s conftest.err'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; } &&
32733 { ac_try
='test -s conftest$ac_exeext'
32734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32735 (eval $ac_try) 2>&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); }; }; then
32739 ac_cv_lib_posix4_sched_yield
=yes
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.
$ac_ext >&5
32744 ac_cv_lib_posix4_sched_yield
=no
32746 rm -f conftest.err conftest.
$ac_objext \
32747 conftest
$ac_exeext conftest.
$ac_ext
32748 LIBS
=$ac_check_lib_save_LIBS
32750 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32751 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32752 if test $ac_cv_lib_posix4_sched_yield = yes; then
32753 cat >>confdefs.h
<<\_ACEOF
32754 #define HAVE_SCHED_YIELD 1
32756 POSIX4_LINK
=" -lposix4"
32758 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32759 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32770 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32771 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32772 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 cat >conftest.
$ac_ext <<_ACEOF
32778 cat confdefs.h
>>conftest.
$ac_ext
32779 cat >>conftest.
$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32783 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32785 /* System header to define __stub macros and hopefully few prototypes,
32786 which can conflict with char pthread_attr_getschedpolicy (); below.
32787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32788 <limits.h> exists even on freestanding compilers. */
32791 # include <limits.h>
32793 # include <assert.h>
32796 #undef pthread_attr_getschedpolicy
32798 /* Override any gcc2 internal prototype to avoid an error. */
32803 /* We use char because int might match the return type of a gcc2
32804 builtin and then its argument prototype would still apply. */
32805 char pthread_attr_getschedpolicy ();
32806 /* The GNU C library defines this for functions which it implements
32807 to always fail with ENOSYS. Some functions are actually named
32808 something starting with __ and the normal name is an alias. */
32809 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32812 char (*f) () = pthread_attr_getschedpolicy;
32821 return f != pthread_attr_getschedpolicy;
32826 rm -f conftest.
$ac_objext conftest
$ac_exeext
32827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32828 (eval $ac_link) 2>conftest.er1
32830 grep -v '^ *+' conftest.er1
>conftest.err
32832 cat conftest.err
>&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } &&
32835 { ac_try
='test -z "$ac_c_werror_flag"
32836 || test ! -s conftest.err'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try
='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 ac_cv_func_pthread_attr_getschedpolicy
=yes
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.
$ac_ext >&5
32853 ac_cv_func_pthread_attr_getschedpolicy
=no
32855 rm -f conftest.err conftest.
$ac_objext \
32856 conftest
$ac_exeext conftest.
$ac_ext
32858 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32859 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32860 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32861 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32862 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32863 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32864 echo $ECHO_N "(cached) $ECHO_C" >&6
32866 cat >conftest.
$ac_ext <<_ACEOF
32869 cat confdefs.h
>>conftest.
$ac_ext
32870 cat >>conftest.
$ac_ext <<_ACEOF
32871 /* end confdefs.h. */
32872 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32874 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32876 /* System header to define __stub macros and hopefully few prototypes,
32877 which can conflict with char pthread_attr_setschedparam (); below.
32878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32879 <limits.h> exists even on freestanding compilers. */
32882 # include <limits.h>
32884 # include <assert.h>
32887 #undef pthread_attr_setschedparam
32889 /* Override any gcc2 internal prototype to avoid an error. */
32894 /* We use char because int might match the return type of a gcc2
32895 builtin and then its argument prototype would still apply. */
32896 char pthread_attr_setschedparam ();
32897 /* The GNU C library defines this for functions which it implements
32898 to always fail with ENOSYS. Some functions are actually named
32899 something starting with __ and the normal name is an alias. */
32900 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32903 char (*f) () = pthread_attr_setschedparam;
32912 return f != pthread_attr_setschedparam;
32917 rm -f conftest.
$ac_objext conftest
$ac_exeext
32918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32919 (eval $ac_link) 2>conftest.er1
32921 grep -v '^ *+' conftest.er1
>conftest.err
32923 cat conftest.err
>&5
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); } &&
32926 { ac_try
='test -z "$ac_c_werror_flag"
32927 || test ! -s conftest.err'
32928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32929 (eval $ac_try) 2>&5
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); }; } &&
32933 { ac_try
='test -s conftest$ac_exeext'
32934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935 (eval $ac_try) 2>&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; }; then
32939 ac_cv_func_pthread_attr_setschedparam
=yes
32941 echo "$as_me: failed program was:" >&5
32942 sed 's/^/| /' conftest.
$ac_ext >&5
32944 ac_cv_func_pthread_attr_setschedparam
=no
32946 rm -f conftest.err conftest.
$ac_objext \
32947 conftest
$ac_exeext conftest.
$ac_ext
32949 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32950 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32951 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32952 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32953 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32954 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 cat >conftest.
$ac_ext <<_ACEOF
32960 cat confdefs.h
>>conftest.
$ac_ext
32961 cat >>conftest.
$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32965 #define sched_get_priority_max innocuous_sched_get_priority_max
32967 /* System header to define __stub macros and hopefully few prototypes,
32968 which can conflict with char sched_get_priority_max (); below.
32969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32970 <limits.h> exists even on freestanding compilers. */
32973 # include <limits.h>
32975 # include <assert.h>
32978 #undef sched_get_priority_max
32980 /* Override any gcc2 internal prototype to avoid an error. */
32985 /* We use char because int might match the return type of a gcc2
32986 builtin and then its argument prototype would still apply. */
32987 char sched_get_priority_max ();
32988 /* The GNU C library defines this for functions which it implements
32989 to always fail with ENOSYS. Some functions are actually named
32990 something starting with __ and the normal name is an alias. */
32991 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32994 char (*f) () = sched_get_priority_max;
33003 return f != sched_get_priority_max;
33008 rm -f conftest.
$ac_objext conftest
$ac_exeext
33009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33010 (eval $ac_link) 2>conftest.er1
33012 grep -v '^ *+' conftest.er1
>conftest.err
33014 cat conftest.err
>&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); } &&
33017 { ac_try
='test -z "$ac_c_werror_flag"
33018 || test ! -s conftest.err'
33019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33020 (eval $ac_try) 2>&5
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); }; } &&
33024 { ac_try
='test -s conftest$ac_exeext'
33025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026 (eval $ac_try) 2>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; }; then
33030 ac_cv_func_sched_get_priority_max
=yes
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.
$ac_ext >&5
33035 ac_cv_func_sched_get_priority_max
=no
33037 rm -f conftest.err conftest.
$ac_objext \
33038 conftest
$ac_exeext conftest.
$ac_ext
33040 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33041 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33042 if test $ac_cv_func_sched_get_priority_max = yes; then
33045 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33046 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33047 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33048 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 ac_check_lib_save_LIBS
=$LIBS
33051 LIBS
="-lposix4 $LIBS"
33052 cat >conftest.
$ac_ext <<_ACEOF
33055 cat confdefs.h
>>conftest.
$ac_ext
33056 cat >>conftest.
$ac_ext <<_ACEOF
33057 /* end confdefs.h. */
33059 /* Override any gcc2 internal prototype to avoid an error. */
33063 /* We use char because int might match the return type of a gcc2
33064 builtin and then its argument prototype would still apply. */
33065 char sched_get_priority_max ();
33069 sched_get_priority_max ();
33074 rm -f conftest.
$ac_objext conftest
$ac_exeext
33075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33076 (eval $ac_link) 2>conftest.er1
33078 grep -v '^ *+' conftest.er1
>conftest.err
33080 cat conftest.err
>&5
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); } &&
33083 { ac_try
='test -z "$ac_c_werror_flag"
33084 || test ! -s conftest.err'
33085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33086 (eval $ac_try) 2>&5
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); }; } &&
33090 { ac_try
='test -s conftest$ac_exeext'
33091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092 (eval $ac_try) 2>&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; }; then
33096 ac_cv_lib_posix4_sched_get_priority_max
=yes
33098 echo "$as_me: failed program was:" >&5
33099 sed 's/^/| /' conftest.
$ac_ext >&5
33101 ac_cv_lib_posix4_sched_get_priority_max
=no
33103 rm -f conftest.err conftest.
$ac_objext \
33104 conftest
$ac_exeext conftest.
$ac_ext
33105 LIBS
=$ac_check_lib_save_LIBS
33107 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33108 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33109 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33112 POSIX4_LINK
=" -lposix4"
33126 if test "$HAVE_PRIOR_FUNCS" = 1; then
33127 cat >>confdefs.h
<<\_ACEOF
33128 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33132 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33133 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33136 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33137 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33138 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33139 echo $ECHO_N "(cached) $ECHO_C" >&6
33141 cat >conftest.
$ac_ext <<_ACEOF
33144 cat confdefs.h
>>conftest.
$ac_ext
33145 cat >>conftest.
$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33147 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33149 #define pthread_cancel innocuous_pthread_cancel
33151 /* System header to define __stub macros and hopefully few prototypes,
33152 which can conflict with char pthread_cancel (); below.
33153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33154 <limits.h> exists even on freestanding compilers. */
33157 # include <limits.h>
33159 # include <assert.h>
33162 #undef pthread_cancel
33164 /* Override any gcc2 internal prototype to avoid an error. */
33169 /* We use char because int might match the return type of a gcc2
33170 builtin and then its argument prototype would still apply. */
33171 char pthread_cancel ();
33172 /* The GNU C library defines this for functions which it implements
33173 to always fail with ENOSYS. Some functions are actually named
33174 something starting with __ and the normal name is an alias. */
33175 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33178 char (*f) () = pthread_cancel;
33187 return f != pthread_cancel;
33192 rm -f conftest.
$ac_objext conftest
$ac_exeext
33193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33194 (eval $ac_link) 2>conftest.er1
33196 grep -v '^ *+' conftest.er1
>conftest.err
33198 cat conftest.err
>&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } &&
33201 { ac_try
='test -z "$ac_c_werror_flag"
33202 || test ! -s conftest.err'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; } &&
33208 { ac_try
='test -s conftest$ac_exeext'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; }; then
33214 ac_cv_func_pthread_cancel
=yes
33216 echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.
$ac_ext >&5
33219 ac_cv_func_pthread_cancel
=no
33221 rm -f conftest.err conftest.
$ac_objext \
33222 conftest
$ac_exeext conftest.
$ac_ext
33224 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33225 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33226 if test $ac_cv_func_pthread_cancel = yes; then
33227 cat >>confdefs.h
<<\_ACEOF
33228 #define HAVE_PTHREAD_CANCEL 1
33232 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33233 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33239 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33240 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33241 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33242 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 cat >conftest.
$ac_ext <<_ACEOF
33248 cat confdefs.h
>>conftest.
$ac_ext
33249 cat >>conftest.
$ac_ext <<_ACEOF
33250 /* end confdefs.h. */
33251 #include <pthread.h>
33256 pthread_mutexattr_t attr;
33257 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33263 rm -f conftest.
$ac_objext
33264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33265 (eval $ac_compile) 2>conftest.er1
33267 grep -v '^ *+' conftest.er1
>conftest.err
33269 cat conftest.err
>&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } &&
33272 { ac_try
='test -z "$ac_c_werror_flag"
33273 || test ! -s conftest.err'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; } &&
33279 { ac_try
='test -s conftest.$ac_objext'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; }; then
33286 wx_cv_type_pthread_mutexattr_t
=yes
33289 echo "$as_me: failed program was:" >&5
33290 sed 's/^/| /' conftest.
$ac_ext >&5
33293 wx_cv_type_pthread_mutexattr_t
=no
33297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33300 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33301 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33303 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33304 cat >>confdefs.h
<<\_ACEOF
33305 #define HAVE_PTHREAD_MUTEXATTR_T 1
33309 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33310 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33311 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33312 echo $ECHO_N "(cached) $ECHO_C" >&6
33315 cat >conftest.
$ac_ext <<_ACEOF
33318 cat confdefs.h
>>conftest.
$ac_ext
33319 cat >>conftest.
$ac_ext <<_ACEOF
33320 /* end confdefs.h. */
33321 #include <pthread.h>
33326 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33332 rm -f conftest.
$ac_objext
33333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33334 (eval $ac_compile) 2>conftest.er1
33336 grep -v '^ *+' conftest.er1
>conftest.err
33338 cat conftest.err
>&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); } &&
33341 { ac_try
='test -z "$ac_c_werror_flag"
33342 || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try
='test -s conftest.$ac_objext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33355 wx_cv_type_pthread_rec_mutex_init
=yes
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.
$ac_ext >&5
33362 wx_cv_type_pthread_rec_mutex_init
=no
33366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33369 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33370 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33371 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33372 cat >>confdefs.h
<<\_ACEOF
33373 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33377 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33378 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33384 if test "$wxUSE_THREADS" = "yes" ; then
33387 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33388 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33389 if test "${wx_cv_cflags_mthread+set}" = set; then
33390 echo $ECHO_N "(cached) $ECHO_C" >&6
33393 CFLAGS_OLD
="$CFLAGS"
33394 CFLAGS
="$CFLAGS -mthreads"
33395 cat >conftest.
$ac_ext <<_ACEOF
33398 cat confdefs.h
>>conftest.
$ac_ext
33399 cat >>conftest.
$ac_ext <<_ACEOF
33400 /* end confdefs.h. */
33410 rm -f conftest.
$ac_objext
33411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33412 (eval $ac_compile) 2>conftest.er1
33414 grep -v '^ *+' conftest.er1
>conftest.err
33416 cat conftest.err
>&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); } &&
33419 { ac_try
='test -z "$ac_c_werror_flag"
33420 || test ! -s conftest.err'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; } &&
33426 { ac_try
='test -s conftest.$ac_objext'
33427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33428 (eval $ac_try) 2>&5
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); }; }; then
33432 wx_cv_cflags_mthread
=yes
33434 echo "$as_me: failed program was:" >&5
33435 sed 's/^/| /' conftest.
$ac_ext >&5
33437 wx_cv_cflags_mthread
=no
33440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33444 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33445 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33447 if test "$wx_cv_cflags_mthread" = "yes"; then
33448 CXXFLAGS
="$CXXFLAGS -mthreads"
33449 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33450 LDFLAGS
="$LDFLAGS -mthreads"
33452 CFLAGS
="$CFLAGS_OLD"
33456 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33457 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33458 LDFLAGS
="$LDFLAGS -Zmt"
33464 if test "$wxUSE_THREADS" = "yes"; then
33465 cat >>confdefs.h
<<\_ACEOF
33466 #define wxUSE_THREADS 1
33470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33472 if test "$ac_cv_func_strtok_r" = "yes"; then
33473 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33474 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33475 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33476 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33477 echo "$as_me:$LINENO: result: yes" >&5
33478 echo "${ECHO_T}yes" >&6
33480 echo "$as_me:$LINENO: result: no" >&5
33481 echo "${ECHO_T}no" >&6
33486 if test "$WXGTK20" = 1 ; then
33487 cat >>confdefs.h
<<_ACEOF
33488 #define __WXGTK20__ $WXGTK20
33494 if test "$WXGTK12" = 1 ; then
33495 cat >>confdefs.h
<<_ACEOF
33496 #define __WXGTK12__ $WXGTK12
33501 if test "$WXGTK127" = 1 ; then
33502 cat >>confdefs.h
<<_ACEOF
33503 #define __WXGTK127__ $WXGTK127
33508 if test "$WXGPE" = 1 ; then
33509 cat >>confdefs.h
<<_ACEOF
33510 #define __WXGPE__ $WXGPE
33517 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33522 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33523 wxUSE_DEBUG_INFO
=yes
33527 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33528 cat >>confdefs.h
<<\_ACEOF
33532 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33534 if test "$wxUSE_GTK" = 1 ; then
33535 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33539 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33540 cat >>confdefs.h
<<\_ACEOF
33541 #define wxUSE_MEMORY_TRACING 1
33544 cat >>confdefs.h
<<\_ACEOF
33545 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33548 cat >>confdefs.h
<<\_ACEOF
33549 #define wxUSE_DEBUG_NEW_ALWAYS 1
33552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33555 if test "$wxUSE_DMALLOC" = "yes" ; then
33556 DMALLOC_LIBS
="-ldmalloc"
33560 if test "$wxUSE_PROFILE" = "yes" ; then
33565 CODE_GEN_FLAGS_CXX
=
33566 if test "$GCC" = "yes" ; then
33567 if test "$wxUSE_NO_RTTI" = "yes" ; then
33568 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33570 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33571 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33573 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33574 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33579 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33582 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33588 if test "$wxUSE_OPTIMISE" = "no" ; then
33589 if test "$GCC" = yes ; then
33593 if test "$GCC" = yes ; then
33597 i586
-*-*|i686
-*-* )
33598 OPTIMISE
="${OPTIMISE} "
33607 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33608 cat >>confdefs.h
<<\_ACEOF
33609 #define WXWIN_COMPATIBILITY_2_2 1
33613 WXWIN_COMPATIBILITY_2_4
="yes"
33616 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33617 cat >>confdefs.h
<<\_ACEOF
33618 #define WXWIN_COMPATIBILITY_2_4 1
33624 if test "$wxUSE_GUI" = "yes"; then
33625 cat >>confdefs.h
<<\_ACEOF
33626 #define wxUSE_GUI 1
33631 cat >>confdefs.h
<<\_ACEOF
33632 #define wxUSE_NOGUI 1
33638 if test "$wxUSE_UNIX" = "yes"; then
33639 cat >>confdefs.h
<<\_ACEOF
33640 #define wxUSE_UNIX 1
33646 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33650 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33651 if test "$USE_DARWIN" = 1; then
33655 for ac_func
in dlopen
33657 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33658 echo "$as_me:$LINENO: checking for $ac_func" >&5
33659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33660 if eval "test \"\${$as_ac_var+set}\" = set"; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33663 cat >conftest.
$ac_ext <<_ACEOF
33666 cat confdefs.h
>>conftest.
$ac_ext
33667 cat >>conftest.
$ac_ext <<_ACEOF
33668 /* end confdefs.h. */
33669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33671 #define $ac_func innocuous_$ac_func
33673 /* System header to define __stub macros and hopefully few prototypes,
33674 which can conflict with char $ac_func (); below.
33675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33676 <limits.h> exists even on freestanding compilers. */
33679 # include <limits.h>
33681 # include <assert.h>
33686 /* Override any gcc2 internal prototype to avoid an error. */
33691 /* We use char because int might match the return type of a gcc2
33692 builtin and then its argument prototype would still apply. */
33694 /* The GNU C library defines this for functions which it implements
33695 to always fail with ENOSYS. Some functions are actually named
33696 something starting with __ and the normal name is an alias. */
33697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33700 char (*f) () = $ac_func;
33709 return f != $ac_func;
33714 rm -f conftest.
$ac_objext conftest
$ac_exeext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33716 (eval $ac_link) 2>conftest.er1
33718 grep -v '^ *+' conftest.er1
>conftest.err
33720 cat conftest.err
>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try
='test -z "$ac_c_werror_flag"
33724 || test ! -s conftest.err'
33725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33726 (eval $ac_try) 2>&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); }; } &&
33730 { ac_try
='test -s conftest$ac_exeext'
33731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33732 (eval $ac_try) 2>&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); }; }; then
33736 eval "$as_ac_var=yes"
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.
$ac_ext >&5
33741 eval "$as_ac_var=no"
33743 rm -f conftest.err conftest.
$ac_objext \
33744 conftest
$ac_exeext conftest.
$ac_ext
33746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33748 if test `eval echo '${'$as_ac_var'}'` = yes; then
33749 cat >>confdefs.h
<<_ACEOF
33750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33753 cat >>confdefs.h
<<\_ACEOF
33754 #define HAVE_DLOPEN 1
33761 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33762 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33763 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33764 echo $ECHO_N "(cached) $ECHO_C" >&6
33766 ac_check_lib_save_LIBS
=$LIBS
33768 cat >conftest.
$ac_ext <<_ACEOF
33771 cat confdefs.h
>>conftest.
$ac_ext
33772 cat >>conftest.
$ac_ext <<_ACEOF
33773 /* end confdefs.h. */
33775 /* Override any gcc2 internal prototype to avoid an error. */
33779 /* We use char because int might match the return type of a gcc2
33780 builtin and then its argument prototype would still apply. */
33790 rm -f conftest.
$ac_objext conftest
$ac_exeext
33791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33792 (eval $ac_link) 2>conftest.er1
33794 grep -v '^ *+' conftest.er1
>conftest.err
33796 cat conftest.err
>&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); } &&
33799 { ac_try
='test -z "$ac_c_werror_flag"
33800 || test ! -s conftest.err'
33801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33802 (eval $ac_try) 2>&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); }; } &&
33806 { ac_try
='test -s conftest$ac_exeext'
33807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33808 (eval $ac_try) 2>&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); }; }; then
33812 ac_cv_lib_dl_dlopen
=yes
33814 echo "$as_me: failed program was:" >&5
33815 sed 's/^/| /' conftest.
$ac_ext >&5
33817 ac_cv_lib_dl_dlopen
=no
33819 rm -f conftest.err conftest.
$ac_objext \
33820 conftest
$ac_exeext conftest.
$ac_ext
33821 LIBS
=$ac_check_lib_save_LIBS
33823 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33824 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33825 if test $ac_cv_lib_dl_dlopen = yes; then
33827 cat >>confdefs.h
<<\_ACEOF
33828 #define HAVE_DLOPEN 1
33832 DL_LINK
=" -ldl$DL_LINK"
33837 for ac_func
in shl_load
33839 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33840 echo "$as_me:$LINENO: checking for $ac_func" >&5
33841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33842 if eval "test \"\${$as_ac_var+set}\" = set"; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33845 cat >conftest.
$ac_ext <<_ACEOF
33848 cat confdefs.h
>>conftest.
$ac_ext
33849 cat >>conftest.
$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33853 #define $ac_func innocuous_$ac_func
33855 /* System header to define __stub macros and hopefully few prototypes,
33856 which can conflict with char $ac_func (); below.
33857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33858 <limits.h> exists even on freestanding compilers. */
33861 # include <limits.h>
33863 # include <assert.h>
33868 /* Override any gcc2 internal prototype to avoid an error. */
33873 /* We use char because int might match the return type of a gcc2
33874 builtin and then its argument prototype would still apply. */
33876 /* The GNU C library defines this for functions which it implements
33877 to always fail with ENOSYS. Some functions are actually named
33878 something starting with __ and the normal name is an alias. */
33879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33882 char (*f) () = $ac_func;
33891 return f != $ac_func;
33896 rm -f conftest.
$ac_objext conftest
$ac_exeext
33897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33898 (eval $ac_link) 2>conftest.er1
33900 grep -v '^ *+' conftest.er1
>conftest.err
33902 cat conftest.err
>&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try
='test -z "$ac_c_werror_flag"
33906 || test ! -s conftest.err'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; } &&
33912 { ac_try
='test -s conftest$ac_exeext'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; }; then
33918 eval "$as_ac_var=yes"
33920 echo "$as_me: failed program was:" >&5
33921 sed 's/^/| /' conftest.
$ac_ext >&5
33923 eval "$as_ac_var=no"
33925 rm -f conftest.err conftest.
$ac_objext \
33926 conftest
$ac_exeext conftest.
$ac_ext
33928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33930 if test `eval echo '${'$as_ac_var'}'` = yes; then
33931 cat >>confdefs.h
<<_ACEOF
33932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33935 cat >>confdefs.h
<<\_ACEOF
33936 #define HAVE_SHL_LOAD 1
33943 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33944 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33945 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33946 echo $ECHO_N "(cached) $ECHO_C" >&6
33948 ac_check_lib_save_LIBS
=$LIBS
33949 LIBS
="-lshl_load $LIBS"
33950 cat >conftest.
$ac_ext <<_ACEOF
33953 cat confdefs.h
>>conftest.
$ac_ext
33954 cat >>conftest.
$ac_ext <<_ACEOF
33955 /* end confdefs.h. */
33957 /* Override any gcc2 internal prototype to avoid an error. */
33961 /* We use char because int might match the return type of a gcc2
33962 builtin and then its argument prototype would still apply. */
33972 rm -f conftest.
$ac_objext conftest
$ac_exeext
33973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33974 (eval $ac_link) 2>conftest.er1
33976 grep -v '^ *+' conftest.er1
>conftest.err
33978 cat conftest.err
>&5
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); } &&
33981 { ac_try
='test -z "$ac_c_werror_flag"
33982 || test ! -s conftest.err'
33983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33984 (eval $ac_try) 2>&5
33986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33987 (exit $ac_status); }; } &&
33988 { ac_try
='test -s conftest$ac_exeext'
33989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33990 (eval $ac_try) 2>&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); }; }; then
33994 ac_cv_lib_shl_load_dld
=yes
33996 echo "$as_me: failed program was:" >&5
33997 sed 's/^/| /' conftest.
$ac_ext >&5
33999 ac_cv_lib_shl_load_dld
=no
34001 rm -f conftest.err conftest.
$ac_objext \
34002 conftest
$ac_exeext conftest.
$ac_ext
34003 LIBS
=$ac_check_lib_save_LIBS
34005 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34006 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34007 if test $ac_cv_lib_shl_load_dld = yes; then
34010 DL_LINK
=" -ldld$DL_LINK"
34026 if test "$HAVE_DL_FUNCS" = 1; then
34028 for ac_func
in dlerror
34030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34031 echo "$as_me:$LINENO: checking for $ac_func" >&5
34032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34033 if eval "test \"\${$as_ac_var+set}\" = set"; then
34034 echo $ECHO_N "(cached) $ECHO_C" >&6
34036 cat >conftest.
$ac_ext <<_ACEOF
34039 cat confdefs.h
>>conftest.
$ac_ext
34040 cat >>conftest.
$ac_ext <<_ACEOF
34041 /* end confdefs.h. */
34042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34044 #define $ac_func innocuous_$ac_func
34046 /* System header to define __stub macros and hopefully few prototypes,
34047 which can conflict with char $ac_func (); below.
34048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34049 <limits.h> exists even on freestanding compilers. */
34052 # include <limits.h>
34054 # include <assert.h>
34059 /* Override any gcc2 internal prototype to avoid an error. */
34064 /* We use char because int might match the return type of a gcc2
34065 builtin and then its argument prototype would still apply. */
34067 /* The GNU C library defines this for functions which it implements
34068 to always fail with ENOSYS. Some functions are actually named
34069 something starting with __ and the normal name is an alias. */
34070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34073 char (*f) () = $ac_func;
34082 return f != $ac_func;
34087 rm -f conftest.
$ac_objext conftest
$ac_exeext
34088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34089 (eval $ac_link) 2>conftest.er1
34091 grep -v '^ *+' conftest.er1
>conftest.err
34093 cat conftest.err
>&5
34094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34095 (exit $ac_status); } &&
34096 { ac_try
='test -z "$ac_c_werror_flag"
34097 || test ! -s conftest.err'
34098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34099 (eval $ac_try) 2>&5
34101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102 (exit $ac_status); }; } &&
34103 { ac_try
='test -s conftest$ac_exeext'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; }; then
34109 eval "$as_ac_var=yes"
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.
$ac_ext >&5
34114 eval "$as_ac_var=no"
34116 rm -f conftest.err conftest.
$ac_objext \
34117 conftest
$ac_exeext conftest.
$ac_ext
34119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34121 if test `eval echo '${'$as_ac_var'}'` = yes; then
34122 cat >>confdefs.h
<<_ACEOF
34123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34125 cat >>confdefs.h
<<\_ACEOF
34126 #define HAVE_DLERROR 1
34131 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34132 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34133 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34134 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 ac_check_lib_save_LIBS
=$LIBS
34138 cat >conftest.
$ac_ext <<_ACEOF
34141 cat confdefs.h
>>conftest.
$ac_ext
34142 cat >>conftest.
$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34145 /* Override any gcc2 internal prototype to avoid an error. */
34149 /* We use char because int might match the return type of a gcc2
34150 builtin and then its argument prototype would still apply. */
34160 rm -f conftest.
$ac_objext conftest
$ac_exeext
34161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34162 (eval $ac_link) 2>conftest.er1
34164 grep -v '^ *+' conftest.er1
>conftest.err
34166 cat conftest.err
>&5
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); } &&
34169 { ac_try
='test -z "$ac_c_werror_flag"
34170 || test ! -s conftest.err'
34171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34172 (eval $ac_try) 2>&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); }; } &&
34176 { ac_try
='test -s conftest$ac_exeext'
34177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34178 (eval $ac_try) 2>&5
34180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181 (exit $ac_status); }; }; then
34182 ac_cv_lib_dl_dlerror
=yes
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.
$ac_ext >&5
34187 ac_cv_lib_dl_dlerror
=no
34189 rm -f conftest.err conftest.
$ac_objext \
34190 conftest
$ac_exeext conftest.
$ac_ext
34191 LIBS
=$ac_check_lib_save_LIBS
34193 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34194 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34195 if test $ac_cv_lib_dl_dlerror = yes; then
34196 cat >>confdefs.h
<<\_ACEOF
34197 #define HAVE_DLERROR 1
34210 if test "$HAVE_DL_FUNCS" = 0; then
34211 if test "$HAVE_SHL_FUNCS" = 0; then
34212 if test "$USE_UNIX" = 1; then
34213 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34214 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34215 wxUSE_DYNAMIC_LOADER
=no
34216 wxUSE_DYNLIB_CLASS
=no
34218 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34219 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34226 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34227 cat >>confdefs.h
<<\_ACEOF
34228 #define wxUSE_DYNAMIC_LOADER 1
34232 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34233 cat >>confdefs.h
<<\_ACEOF
34234 #define wxUSE_DYNLIB_CLASS 1
34241 if test "$wxUSE_PLUGINS" = "yes" ; then
34242 if test "$wxUSE_SHARED" = "no" ; then
34243 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34244 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34247 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34248 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34249 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34252 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34253 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34254 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34257 if test "$wxUSE_PLUGINS" = "yes" ; then
34258 cat >>confdefs.h
<<\_ACEOF
34259 #define wxUSE_PLUGINS 1
34266 if test "$wxUSE_STL" = "yes"; then
34267 cat >>confdefs.h
<<\_ACEOF
34268 #define wxUSE_STL 1
34273 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34274 cat >>confdefs.h
<<\_ACEOF
34275 #define wxUSE_APPLE_IEEE 1
34280 if test "$wxUSE_TIMER" = "yes"; then
34281 cat >>confdefs.h
<<\_ACEOF
34282 #define wxUSE_TIMER 1
34288 if test "$wxUSE_SOUND" = "yes"; then
34289 if test "$USE_UNIX" = "1" ; then
34291 for ac_header
in sys
/soundcard.h
34293 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34295 echo "$as_me:$LINENO: checking for $ac_header" >&5
34296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34298 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34303 # Is the header compilable?
34304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34306 cat >conftest.
$ac_ext <<_ACEOF
34309 cat confdefs.h
>>conftest.
$ac_ext
34310 cat >>conftest.
$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34312 $ac_includes_default
34313 #include <$ac_header>
34315 rm -f conftest.
$ac_objext
34316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34317 (eval $ac_compile) 2>conftest.er1
34319 grep -v '^ *+' conftest.er1
>conftest.err
34321 cat conftest.err
>&5
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); } &&
34324 { ac_try
='test -z "$ac_c_werror_flag"
34325 || test ! -s conftest.err'
34326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34327 (eval $ac_try) 2>&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); }; } &&
34331 { ac_try
='test -s conftest.$ac_objext'
34332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333 (eval $ac_try) 2>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; }; then
34337 ac_header_compiler
=yes
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.
$ac_ext >&5
34342 ac_header_compiler
=no
34344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34346 echo "${ECHO_T}$ac_header_compiler" >&6
34348 # Is the header present?
34349 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34351 cat >conftest.
$ac_ext <<_ACEOF
34354 cat confdefs.h
>>conftest.
$ac_ext
34355 cat >>conftest.
$ac_ext <<_ACEOF
34356 /* end confdefs.h. */
34357 #include <$ac_header>
34359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34360 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34362 grep -v '^ *+' conftest.er1
>conftest.err
34364 cat conftest.err
>&5
34365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34366 (exit $ac_status); } >/dev
/null
; then
34367 if test -s conftest.err
; then
34368 ac_cpp_err
=$ac_c_preproc_warn_flag
34369 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34376 if test -z "$ac_cpp_err"; then
34377 ac_header_preproc
=yes
34379 echo "$as_me: failed program was:" >&5
34380 sed 's/^/| /' conftest.
$ac_ext >&5
34382 ac_header_preproc
=no
34384 rm -f conftest.err conftest.
$ac_ext
34385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34386 echo "${ECHO_T}$ac_header_preproc" >&6
34388 # So? What about this header?
34389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34391 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34392 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34394 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34395 ac_header_preproc
=yes
34398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34402 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34403 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34404 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34405 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34408 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34409 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34412 ## ----------------------------------------- ##
34413 ## Report this to wx-dev@lists.wxwidgets.org ##
34414 ## ----------------------------------------- ##
34417 sed "s/^/$as_me: WARNING: /" >&2
34420 echo "$as_me:$LINENO: checking for $ac_header" >&5
34421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34423 echo $ECHO_N "(cached) $ECHO_C" >&6
34425 eval "$as_ac_Header=\$ac_header_preproc"
34427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34432 cat >>confdefs.h
<<_ACEOF
34433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34441 if test "$wxUSE_LIBSDL" != "no"; then
34443 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34444 if test "${with_sdl_prefix+set}" = set; then
34445 withval
="$with_sdl_prefix"
34446 sdl_prefix
="$withval"
34451 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34452 if test "${with_sdl_exec_prefix+set}" = set; then
34453 withval
="$with_sdl_exec_prefix"
34454 sdl_exec_prefix
="$withval"
34458 # Check whether --enable-sdltest or --disable-sdltest was given.
34459 if test "${enable_sdltest+set}" = set; then
34460 enableval
="$enable_sdltest"
34466 if test x
$sdl_exec_prefix != x
; then
34467 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34468 if test x
${SDL_CONFIG+set} != xset
; then
34469 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34472 if test x
$sdl_prefix != x
; then
34473 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34474 if test x
${SDL_CONFIG+set} != xset
; then
34475 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34480 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34481 # Extract the first word of "sdl-config", so it can be a program name with args.
34482 set dummy sdl
-config; ac_word
=$2
34483 echo "$as_me:$LINENO: checking for $ac_word" >&5
34484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34485 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34486 echo $ECHO_N "(cached) $ECHO_C" >&6
34488 case $SDL_CONFIG in
34490 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34494 for as_dir
in $PATH
34497 test -z "$as_dir" && as_dir
=.
34498 for ac_exec_ext
in '' $ac_executable_extensions; do
34499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34500 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34507 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34511 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34513 if test -n "$SDL_CONFIG"; then
34514 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34515 echo "${ECHO_T}$SDL_CONFIG" >&6
34517 echo "$as_me:$LINENO: result: no" >&5
34518 echo "${ECHO_T}no" >&6
34521 min_sdl_version
=1.2.0
34522 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34523 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34525 if test "$SDL_CONFIG" = "no" ; then
34528 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34529 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34531 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34532 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34533 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34535 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34537 if test "x$enable_sdltest" = "xyes" ; then
34538 ac_save_CFLAGS
="$CFLAGS"
34539 ac_save_LIBS
="$LIBS"
34540 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34541 LIBS
="$LIBS $SDL_LIBS"
34543 if test "$cross_compiling" = yes; then
34544 echo $ac_n "cross compiling; assumed OK... $ac_c"
34546 cat >conftest.
$ac_ext <<_ACEOF
34549 cat confdefs.h
>>conftest.
$ac_ext
34550 cat >>conftest.
$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34554 #include <stdlib.h>
34555 #include <string.h>
34559 my_strdup (char *str)
34565 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34566 strcpy (new_str, str);
34574 int main (int argc, char *argv[])
34576 int major, minor, micro;
34579 /* This hangs on some systems (?)
34580 system ("touch conf.sdltest");
34582 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34584 /* HP/UX 9 (%@#!) writes to sscanf strings */
34585 tmp_version = my_strdup("$min_sdl_version");
34586 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34587 printf("%s, bad version string\n", "$min_sdl_version");
34591 if (($sdl_major_version > major) ||
34592 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34593 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34599 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34600 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34601 printf("*** best to upgrade to the required version.\n");
34602 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34603 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34604 printf("*** config.cache before re-running configure\n");
34611 rm -f conftest
$ac_exeext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34613 (eval $ac_link) 2>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34618 (eval $ac_try) 2>&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); }; }; then
34624 echo "$as_me: program exited with status $ac_status" >&5
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.
$ac_ext >&5
34628 ( exit $ac_status )
34631 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34633 CFLAGS
="$ac_save_CFLAGS"
34634 LIBS
="$ac_save_LIBS"
34637 if test "x$no_sdl" = x
; then
34638 echo "$as_me:$LINENO: result: yes" >&5
34639 echo "${ECHO_T}yes" >&6
34641 EXTRALIBS_SDL
="$SDL_LIBS"
34642 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34643 cat >>confdefs.h
<<\_ACEOF
34644 #define wxUSE_LIBSDL 1
34649 echo "$as_me:$LINENO: result: no" >&5
34650 echo "${ECHO_T}no" >&6
34651 if test "$SDL_CONFIG" = "no" ; then
34652 echo "*** The sdl-config script installed by SDL could not be found"
34653 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34654 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34655 echo "*** full path to sdl-config."
34657 if test -f conf.sdltest
; then
34660 echo "*** Could not run SDL test program, checking why..."
34661 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34662 LIBS
="$LIBS $SDL_LIBS"
34663 cat >conftest.
$ac_ext <<_ACEOF
34666 cat confdefs.h
>>conftest.
$ac_ext
34667 cat >>conftest.
$ac_ext <<_ACEOF
34668 /* end confdefs.h. */
34673 int main(int argc, char *argv[])
34676 #define main K_and_R_C_main
34686 rm -f conftest.
$ac_objext conftest
$ac_exeext
34687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34688 (eval $ac_link) 2>conftest.er1
34690 grep -v '^ *+' conftest.er1
>conftest.err
34692 cat conftest.err
>&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); } &&
34695 { ac_try
='test -z "$ac_c_werror_flag"
34696 || test ! -s conftest.err'
34697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34698 (eval $ac_try) 2>&5
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); }; } &&
34702 { ac_try
='test -s conftest$ac_exeext'
34703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34704 (eval $ac_try) 2>&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); }; }; then
34708 echo "*** The test program compiled, but did not run. This usually means"
34709 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34710 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34711 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34712 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34713 echo "*** is required on your system"
34715 echo "*** If you have an old version installed, it is best to remove it, although"
34716 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.
$ac_ext >&5
34721 echo "*** The test program failed to compile or link. See the file config.log for the"
34722 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34723 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34724 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34726 rm -f conftest.err conftest.
$ac_objext \
34727 conftest
$ac_exeext conftest.
$ac_ext
34728 CFLAGS
="$ac_save_CFLAGS"
34729 LIBS
="$ac_save_LIBS"
34740 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34746 cat >>confdefs.h
<<\_ACEOF
34747 #define wxUSE_SOUND 1
34750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34753 if test "$WXGTK20" = 1; then
34754 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34755 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34760 if test -z "$PKG_CONFIG"; then
34761 # Extract the first word of "pkg-config", so it can be a program name with args.
34762 set dummy pkg
-config; ac_word
=$2
34763 echo "$as_me:$LINENO: checking for $ac_word" >&5
34764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34766 echo $ECHO_N "(cached) $ECHO_C" >&6
34768 case $PKG_CONFIG in
34770 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34774 for as_dir
in $PATH
34777 test -z "$as_dir" && as_dir
=.
34778 for ac_exec_ext
in '' $ac_executable_extensions; do
34779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34780 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34787 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
34791 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34793 if test -n "$PKG_CONFIG"; then
34794 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34795 echo "${ECHO_T}$PKG_CONFIG" >&6
34797 echo "$as_me:$LINENO: result: no" >&5
34798 echo "${ECHO_T}no" >&6
34803 if test "$PKG_CONFIG" = "no" ; then
34804 echo "*** The pkg-config script could not be found. Make sure it is"
34805 echo "*** in your path, or set the PKG_CONFIG environment variable"
34806 echo "*** to the full path to pkg-config."
34807 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34809 PKG_CONFIG_MIN_VERSION
=0.9.0
34810 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34811 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2" >&5
34812 echo $ECHO_N "checking for libgnomeprintui-2.2... $ECHO_C" >&6
34814 if $PKG_CONFIG --exists "libgnomeprintui-2.2" ; then
34815 echo "$as_me:$LINENO: result: yes" >&5
34816 echo "${ECHO_T}yes" >&6
34819 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34820 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34821 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2"`
34822 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34823 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34825 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34826 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34827 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2"`
34828 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34829 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34831 LIBGNOMEPRINTUI_CFLAGS
=""
34832 LIBGNOMEPRINTUI_LIBS
=""
34833 ## If we have a custom action on failure, don't print errors, but
34834 ## do set a variable so people can do so.
34835 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2"`
34842 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
34843 echo "*** See http://www.freedesktop.org/software/pkgconfig"
34847 if test $succeeded = yes; then
34849 EXTRALIBS_GNOMEPRINT
="$LIBGNOMEPRINTUI_LIBS"
34850 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
34851 cat >>confdefs.h
<<\_ACEOF
34852 #define wxUSE_LIBGNOMEPRINT 1
34858 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34859 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34860 wxUSE_LIBGNOMEPRINT
="no"
34870 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34871 cat >>confdefs.h
<<\_ACEOF
34872 #define wxUSE_CMDLINE_PARSER 1
34877 if test "$wxUSE_STOPWATCH" = "yes"; then
34878 cat >>confdefs.h
<<\_ACEOF
34879 #define wxUSE_STOPWATCH 1
34884 if test "$wxUSE_DATETIME" = "yes"; then
34885 cat >>confdefs.h
<<\_ACEOF
34886 #define wxUSE_DATETIME 1
34891 if test "$wxUSE_FILE" = "yes"; then
34892 cat >>confdefs.h
<<\_ACEOF
34893 #define wxUSE_FILE 1
34898 if test "$wxUSE_FFILE" = "yes"; then
34899 cat >>confdefs.h
<<\_ACEOF
34900 #define wxUSE_FFILE 1
34905 if test "$wxUSE_FILESYSTEM" = "yes"; then
34906 cat >>confdefs.h
<<\_ACEOF
34907 #define wxUSE_FILESYSTEM 1
34912 if test "$wxUSE_FS_ZIP" = "yes"; then
34913 cat >>confdefs.h
<<\_ACEOF
34914 #define wxUSE_FS_ZIP 1
34919 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34920 cat >>confdefs.h
<<\_ACEOF
34921 #define wxUSE_ZIPSTREAM 1
34926 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34927 cat >>confdefs.h
<<\_ACEOF
34928 #define wxUSE_ON_FATAL_EXCEPTION 1
34933 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34934 cat >>confdefs.h
<<\_ACEOF
34935 #define wxUSE_SNGLINST_CHECKER 1
34940 if test "$wxUSE_BUSYINFO" = "yes"; then
34941 cat >>confdefs.h
<<\_ACEOF
34942 #define wxUSE_BUSYINFO 1
34947 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34948 cat >>confdefs.h
<<\_ACEOF
34949 #define wxUSE_STD_IOSTREAM 1
34954 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34955 cat >>confdefs.h
<<\_ACEOF
34956 #define wxUSE_TEXTBUFFER 1
34961 if test "$wxUSE_TEXTFILE" = "yes"; then
34962 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34963 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34964 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34966 cat >>confdefs.h
<<\_ACEOF
34967 #define wxUSE_TEXTFILE 1
34973 if test "$wxUSE_CONFIG" = "yes" ; then
34974 if test "$wxUSE_TEXTFILE" != "yes"; then
34975 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34976 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34978 cat >>confdefs.h
<<\_ACEOF
34979 #define wxUSE_CONFIG 1
34982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34986 if test "$wxUSE_INTL" = "yes" ; then
34987 if test "$wxUSE_FILE" != "yes"; then
34988 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34989 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34991 cat >>confdefs.h
<<\_ACEOF
34992 #define wxUSE_INTL 1
34995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34996 GUIDIST
="$GUIDIST INTL_DIST"
35000 if test "$wxUSE_LOG" = "yes"; then
35001 cat >>confdefs.h
<<\_ACEOF
35002 #define wxUSE_LOG 1
35006 if test "$wxUSE_LOGGUI" = "yes"; then
35007 cat >>confdefs.h
<<\_ACEOF
35008 #define wxUSE_LOGGUI 1
35013 if test "$wxUSE_LOGWINDOW" = "yes"; then
35014 cat >>confdefs.h
<<\_ACEOF
35015 #define wxUSE_LOGWINDOW 1
35020 if test "$wxUSE_LOGDIALOG" = "yes"; then
35021 cat >>confdefs.h
<<\_ACEOF
35022 #define wxUSE_LOG_DIALOG 1
35028 if test "$wxUSE_LONGLONG" = "yes"; then
35029 cat >>confdefs.h
<<\_ACEOF
35030 #define wxUSE_LONGLONG 1
35035 if test "$wxUSE_GEOMETRY" = "yes"; then
35036 cat >>confdefs.h
<<\_ACEOF
35037 #define wxUSE_GEOMETRY 1
35042 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35043 cat >>confdefs.h
<<\_ACEOF
35044 #define wxUSE_DIALUP_MANAGER 1
35047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35050 if test "$wxUSE_STREAMS" = "yes" ; then
35051 cat >>confdefs.h
<<\_ACEOF
35052 #define wxUSE_STREAMS 1
35058 if test "$wxUSE_DATETIME" = "yes"; then
35060 for ac_func
in strptime
35062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35063 echo "$as_me:$LINENO: checking for $ac_func" >&5
35064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35065 if eval "test \"\${$as_ac_var+set}\" = set"; then
35066 echo $ECHO_N "(cached) $ECHO_C" >&6
35068 cat >conftest.
$ac_ext <<_ACEOF
35071 cat confdefs.h
>>conftest.
$ac_ext
35072 cat >>conftest.
$ac_ext <<_ACEOF
35073 /* end confdefs.h. */
35074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35076 #define $ac_func innocuous_$ac_func
35078 /* System header to define __stub macros and hopefully few prototypes,
35079 which can conflict with char $ac_func (); below.
35080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35081 <limits.h> exists even on freestanding compilers. */
35084 # include <limits.h>
35086 # include <assert.h>
35091 /* Override any gcc2 internal prototype to avoid an error. */
35096 /* We use char because int might match the return type of a gcc2
35097 builtin and then its argument prototype would still apply. */
35099 /* The GNU C library defines this for functions which it implements
35100 to always fail with ENOSYS. Some functions are actually named
35101 something starting with __ and the normal name is an alias. */
35102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35105 char (*f) () = $ac_func;
35114 return f != $ac_func;
35119 rm -f conftest.
$ac_objext conftest
$ac_exeext
35120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35121 (eval $ac_link) 2>conftest.er1
35123 grep -v '^ *+' conftest.er1
>conftest.err
35125 cat conftest.err
>&5
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); } &&
35128 { ac_try
='test -z "$ac_c_werror_flag"
35129 || test ! -s conftest.err'
35130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35131 (eval $ac_try) 2>&5
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); }; } &&
35135 { ac_try
='test -s conftest$ac_exeext'
35136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35137 (eval $ac_try) 2>&5
35139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35140 (exit $ac_status); }; }; then
35141 eval "$as_ac_var=yes"
35143 echo "$as_me: failed program was:" >&5
35144 sed 's/^/| /' conftest.
$ac_ext >&5
35146 eval "$as_ac_var=no"
35148 rm -f conftest.err conftest.
$ac_objext \
35149 conftest
$ac_exeext conftest.
$ac_ext
35151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35153 if test `eval echo '${'$as_ac_var'}'` = yes; then
35154 cat >>confdefs.h
<<_ACEOF
35155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35162 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35163 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35164 if test "${wx_cv_var_timezone+set}" = set; then
35165 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 cat >conftest.
$ac_ext <<_ACEOF
35171 cat confdefs.h
>>conftest.
$ac_ext
35172 cat >>conftest.
$ac_ext <<_ACEOF
35173 /* end confdefs.h. */
35188 rm -f conftest.
$ac_objext
35189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35190 (eval $ac_compile) 2>conftest.er1
35192 grep -v '^ *+' conftest.er1
>conftest.err
35194 cat conftest.err
>&5
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); } &&
35197 { ac_try
='test -z "$ac_c_werror_flag"
35198 || test ! -s conftest.err'
35199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35200 (eval $ac_try) 2>&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); }; } &&
35204 { ac_try
='test -s conftest.$ac_objext'
35205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35206 (eval $ac_try) 2>&5
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); }; }; then
35211 wx_cv_var_timezone
=timezone
35214 echo "$as_me: failed program was:" >&5
35215 sed 's/^/| /' conftest.
$ac_ext >&5
35218 cat >conftest.
$ac_ext <<_ACEOF
35221 cat confdefs.h
>>conftest.
$ac_ext
35222 cat >>conftest.
$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35238 rm -f conftest.
$ac_objext
35239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35240 (eval $ac_compile) 2>conftest.er1
35242 grep -v '^ *+' conftest.er1
>conftest.err
35244 cat conftest.err
>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); } &&
35247 { ac_try
='test -z "$ac_c_werror_flag"
35248 || test ! -s conftest.err'
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); }; } &&
35254 { ac_try
='test -s conftest.$ac_objext'
35255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35256 (eval $ac_try) 2>&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); }; }; then
35261 wx_cv_var_timezone
=_timezone
35264 echo "$as_me: failed program was:" >&5
35265 sed 's/^/| /' conftest.
$ac_ext >&5
35268 cat >conftest.
$ac_ext <<_ACEOF
35271 cat confdefs.h
>>conftest.
$ac_ext
35272 cat >>conftest.
$ac_ext <<_ACEOF
35273 /* end confdefs.h. */
35288 rm -f conftest.
$ac_objext
35289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35290 (eval $ac_compile) 2>conftest.er1
35292 grep -v '^ *+' conftest.er1
>conftest.err
35294 cat conftest.err
>&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } &&
35297 { ac_try
='test -z "$ac_c_werror_flag"
35298 || test ! -s conftest.err'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; } &&
35304 { ac_try
='test -s conftest.$ac_objext'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; }; then
35311 wx_cv_var_timezone
=__timezone
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.
$ac_ext >&5
35318 if test "$USE_DOS" = 0 ; then
35319 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35320 echo "$as_me: WARNING: no timezone variable" >&2;}
35325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35337 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35338 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35340 if test "x$wx_cv_var_timezone" != x
; then
35341 cat >>confdefs.h
<<_ACEOF
35342 #define WX_TIMEZONE $wx_cv_var_timezone
35348 for ac_func
in localtime
35350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35351 echo "$as_me:$LINENO: checking for $ac_func" >&5
35352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35353 if eval "test \"\${$as_ac_var+set}\" = set"; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35356 cat >conftest.
$ac_ext <<_ACEOF
35359 cat confdefs.h
>>conftest.
$ac_ext
35360 cat >>conftest.
$ac_ext <<_ACEOF
35361 /* end confdefs.h. */
35362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35364 #define $ac_func innocuous_$ac_func
35366 /* System header to define __stub macros and hopefully few prototypes,
35367 which can conflict with char $ac_func (); below.
35368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35369 <limits.h> exists even on freestanding compilers. */
35372 # include <limits.h>
35374 # include <assert.h>
35379 /* Override any gcc2 internal prototype to avoid an error. */
35384 /* We use char because int might match the return type of a gcc2
35385 builtin and then its argument prototype would still apply. */
35387 /* The GNU C library defines this for functions which it implements
35388 to always fail with ENOSYS. Some functions are actually named
35389 something starting with __ and the normal name is an alias. */
35390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35393 char (*f) () = $ac_func;
35402 return f != $ac_func;
35407 rm -f conftest.
$ac_objext conftest
$ac_exeext
35408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35409 (eval $ac_link) 2>conftest.er1
35411 grep -v '^ *+' conftest.er1
>conftest.err
35413 cat conftest.err
>&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); } &&
35416 { ac_try
='test -z "$ac_c_werror_flag"
35417 || test ! -s conftest.err'
35418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35419 (eval $ac_try) 2>&5
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); }; } &&
35423 { ac_try
='test -s conftest$ac_exeext'
35424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35425 (eval $ac_try) 2>&5
35427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35428 (exit $ac_status); }; }; then
35429 eval "$as_ac_var=yes"
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.
$ac_ext >&5
35434 eval "$as_ac_var=no"
35436 rm -f conftest.err conftest.
$ac_objext \
35437 conftest
$ac_exeext conftest.
$ac_ext
35439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35441 if test `eval echo '${'$as_ac_var'}'` = yes; then
35442 cat >>confdefs.h
<<_ACEOF
35443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35450 if test "$ac_cv_func_localtime" = "yes"; then
35451 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35452 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35453 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35454 echo $ECHO_N "(cached) $ECHO_C" >&6
35457 cat >conftest.
$ac_ext <<_ACEOF
35460 cat confdefs.h
>>conftest.
$ac_ext
35461 cat >>conftest.
$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35477 rm -f conftest.
$ac_objext
35478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35479 (eval $ac_compile) 2>conftest.er1
35481 grep -v '^ *+' conftest.er1
>conftest.err
35483 cat conftest.err
>&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); } &&
35486 { ac_try
='test -z "$ac_c_werror_flag"
35487 || test ! -s conftest.err'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; } &&
35493 { ac_try
='test -s conftest.$ac_objext'
35494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495 (eval $ac_try) 2>&5
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); }; }; then
35500 wx_cv_struct_tm_has_gmtoff
=yes
35503 echo "$as_me: failed program was:" >&5
35504 sed 's/^/| /' conftest.
$ac_ext >&5
35506 wx_cv_struct_tm_has_gmtoff
=no
35509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35512 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35513 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35516 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35517 cat >>confdefs.h
<<\_ACEOF
35518 #define WX_GMTOFF_IN_TM 1
35525 for ac_func
in gettimeofday ftime
35527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35528 echo "$as_me:$LINENO: checking for $ac_func" >&5
35529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35530 if eval "test \"\${$as_ac_var+set}\" = set"; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35533 cat >conftest.
$ac_ext <<_ACEOF
35536 cat confdefs.h
>>conftest.
$ac_ext
35537 cat >>conftest.
$ac_ext <<_ACEOF
35538 /* end confdefs.h. */
35539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35541 #define $ac_func innocuous_$ac_func
35543 /* System header to define __stub macros and hopefully few prototypes,
35544 which can conflict with char $ac_func (); below.
35545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35546 <limits.h> exists even on freestanding compilers. */
35549 # include <limits.h>
35551 # include <assert.h>
35556 /* Override any gcc2 internal prototype to avoid an error. */
35561 /* We use char because int might match the return type of a gcc2
35562 builtin and then its argument prototype would still apply. */
35564 /* The GNU C library defines this for functions which it implements
35565 to always fail with ENOSYS. Some functions are actually named
35566 something starting with __ and the normal name is an alias. */
35567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35570 char (*f) () = $ac_func;
35579 return f != $ac_func;
35584 rm -f conftest.
$ac_objext conftest
$ac_exeext
35585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35586 (eval $ac_link) 2>conftest.er1
35588 grep -v '^ *+' conftest.er1
>conftest.err
35590 cat conftest.err
>&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } &&
35593 { ac_try
='test -z "$ac_c_werror_flag"
35594 || test ! -s conftest.err'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; } &&
35600 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
35606 eval "$as_ac_var=yes"
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.
$ac_ext >&5
35611 eval "$as_ac_var=no"
35613 rm -f conftest.err conftest.
$ac_objext \
35614 conftest
$ac_exeext conftest.
$ac_ext
35616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35618 if test `eval echo '${'$as_ac_var'}'` = yes; then
35619 cat >>confdefs.h
<<_ACEOF
35620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35627 if test "$ac_cv_func_gettimeofday" = "yes"; then
35628 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35629 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35630 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35637 ac_cpp
='$CXXCPP $CPPFLAGS'
35638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35643 cat >conftest.
$ac_ext <<_ACEOF
35646 cat confdefs.h
>>conftest.
$ac_ext
35647 cat >>conftest.
$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35650 #include <sys/time.h>
35651 #include <unistd.h>
35658 gettimeofday(&tv, NULL);
35664 rm -f conftest.
$ac_objext
35665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35666 (eval $ac_compile) 2>conftest.er1
35668 grep -v '^ *+' conftest.er1
>conftest.err
35670 cat conftest.err
>&5
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); } &&
35673 { ac_try
='test -z "$ac_cxx_werror_flag"
35674 || test ! -s conftest.err'
35675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35676 (eval $ac_try) 2>&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); }; } &&
35680 { ac_try
='test -s conftest.$ac_objext'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; }; then
35686 wx_cv_func_gettimeofday_has_2_args
=yes
35688 echo "$as_me: failed program was:" >&5
35689 sed 's/^/| /' conftest.
$ac_ext >&5
35691 cat >conftest.
$ac_ext <<_ACEOF
35694 cat confdefs.h
>>conftest.
$ac_ext
35695 cat >>conftest.
$ac_ext <<_ACEOF
35696 /* end confdefs.h. */
35698 #include <sys/time.h>
35699 #include <unistd.h>
35712 rm -f conftest.
$ac_objext
35713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35714 (eval $ac_compile) 2>conftest.er1
35716 grep -v '^ *+' conftest.er1
>conftest.err
35718 cat conftest.err
>&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); } &&
35721 { ac_try
='test -z "$ac_cxx_werror_flag"
35722 || test ! -s conftest.err'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try
='test -s conftest.$ac_objext'
35729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730 (eval $ac_try) 2>&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); }; }; then
35734 wx_cv_func_gettimeofday_has_2_args
=no
35736 echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.
$ac_ext >&5
35740 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35741 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35742 wx_cv_func_gettimeofday_has_2_args
=unknown
35746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35751 ac_cpp
='$CPP $CPPFLAGS'
35752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35758 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35759 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35761 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35762 cat >>confdefs.h
<<\_ACEOF
35763 #define WX_GETTIMEOFDAY_NO_TZ 1
35769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35773 if test "$wxUSE_SOCKETS" = "yes"; then
35774 if test "$wxUSE_MGL" = "1"; then
35775 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35776 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35781 if test "$wxUSE_SOCKETS" = "yes"; then
35782 if test "$TOOLKIT" != "MSW"; then
35783 echo "$as_me:$LINENO: checking for socket" >&5
35784 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35785 if test "${ac_cv_func_socket+set}" = set; then
35786 echo $ECHO_N "(cached) $ECHO_C" >&6
35788 cat >conftest.
$ac_ext <<_ACEOF
35791 cat confdefs.h
>>conftest.
$ac_ext
35792 cat >>conftest.
$ac_ext <<_ACEOF
35793 /* end confdefs.h. */
35794 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35796 #define socket innocuous_socket
35798 /* System header to define __stub macros and hopefully few prototypes,
35799 which can conflict with char socket (); below.
35800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35801 <limits.h> exists even on freestanding compilers. */
35804 # include <limits.h>
35806 # include <assert.h>
35811 /* Override any gcc2 internal prototype to avoid an error. */
35816 /* We use char because int might match the return type of a gcc2
35817 builtin and then its argument prototype would still apply. */
35819 /* The GNU C library defines this for functions which it implements
35820 to always fail with ENOSYS. Some functions are actually named
35821 something starting with __ and the normal name is an alias. */
35822 #if defined (__stub_socket) || defined (__stub___socket)
35825 char (*f) () = socket;
35834 return f != socket;
35839 rm -f conftest.
$ac_objext conftest
$ac_exeext
35840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35841 (eval $ac_link) 2>conftest.er1
35843 grep -v '^ *+' conftest.er1
>conftest.err
35845 cat conftest.err
>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); } &&
35848 { ac_try
='test -z "$ac_c_werror_flag"
35849 || test ! -s conftest.err'
35850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851 (eval $ac_try) 2>&5
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); }; } &&
35855 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
35861 ac_cv_func_socket
=yes
35863 echo "$as_me: failed program was:" >&5
35864 sed 's/^/| /' conftest.
$ac_ext >&5
35866 ac_cv_func_socket
=no
35868 rm -f conftest.err conftest.
$ac_objext \
35869 conftest
$ac_exeext conftest.
$ac_ext
35871 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35872 echo "${ECHO_T}$ac_cv_func_socket" >&6
35873 if test $ac_cv_func_socket = yes; then
35877 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35878 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35879 if test "${ac_cv_lib_socket_socket+set}" = set; then
35880 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 ac_check_lib_save_LIBS
=$LIBS
35883 LIBS
="-lsocket $LIBS"
35884 cat >conftest.
$ac_ext <<_ACEOF
35887 cat confdefs.h
>>conftest.
$ac_ext
35888 cat >>conftest.
$ac_ext <<_ACEOF
35889 /* end confdefs.h. */
35891 /* Override any gcc2 internal prototype to avoid an error. */
35895 /* We use char because int might match the return type of a gcc2
35896 builtin and then its argument prototype would still apply. */
35906 rm -f conftest.
$ac_objext conftest
$ac_exeext
35907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35908 (eval $ac_link) 2>conftest.er1
35910 grep -v '^ *+' conftest.er1
>conftest.err
35912 cat conftest.err
>&5
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); } &&
35915 { ac_try
='test -z "$ac_c_werror_flag"
35916 || test ! -s conftest.err'
35917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35918 (eval $ac_try) 2>&5
35920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35921 (exit $ac_status); }; } &&
35922 { ac_try
='test -s conftest$ac_exeext'
35923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924 (eval $ac_try) 2>&5
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); }; }; then
35928 ac_cv_lib_socket_socket
=yes
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.
$ac_ext >&5
35933 ac_cv_lib_socket_socket
=no
35935 rm -f conftest.err conftest.
$ac_objext \
35936 conftest
$ac_exeext conftest.
$ac_ext
35937 LIBS
=$ac_check_lib_save_LIBS
35939 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35940 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35941 if test $ac_cv_lib_socket_socket = yes; then
35942 if test "$INET_LINK" != " -lsocket"; then
35943 INET_LINK
="$INET_LINK -lsocket"
35947 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35948 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35961 if test "$wxUSE_SOCKETS" = "yes" ; then
35962 if test "$TOOLKIT" != "MSW"; then
35964 ac_cpp
='$CXXCPP $CPPFLAGS'
35965 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35966 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35967 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35969 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35970 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35971 if test "${wx_cv_type_getsockname3+set}" = set; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35975 cat >conftest.
$ac_ext <<_ACEOF
35978 cat confdefs.h
>>conftest.
$ac_ext
35979 cat >>conftest.
$ac_ext <<_ACEOF
35980 /* end confdefs.h. */
35982 #include <sys/types.h>
35983 #include <sys/socket.h>
35990 getsockname(0, 0, &len);
35996 rm -f conftest.
$ac_objext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35998 (eval $ac_compile) 2>conftest.er1
36000 grep -v '^ *+' conftest.er1
>conftest.err
36002 cat conftest.err
>&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try
='test -z "$ac_cxx_werror_flag"
36006 || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try
='test -s conftest.$ac_objext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 wx_cv_type_getsockname3
=socklen_t
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.
$ac_ext >&5
36024 CFLAGS_OLD
="$CFLAGS"
36025 if test "$GCC" = yes ; then
36026 CFLAGS
="$CFLAGS -Werror"
36029 cat >conftest.
$ac_ext <<_ACEOF
36032 cat confdefs.h
>>conftest.
$ac_ext
36033 cat >>conftest.
$ac_ext <<_ACEOF
36034 /* end confdefs.h. */
36036 #include <sys/types.h>
36037 #include <sys/socket.h>
36044 getsockname(0, 0, &len);
36050 rm -f conftest.
$ac_objext
36051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36052 (eval $ac_compile) 2>conftest.er1
36054 grep -v '^ *+' conftest.er1
>conftest.err
36056 cat conftest.err
>&5
36057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36058 (exit $ac_status); } &&
36059 { ac_try
='test -z "$ac_cxx_werror_flag"
36060 || test ! -s conftest.err'
36061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36062 (eval $ac_try) 2>&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); }; } &&
36066 { ac_try
='test -s conftest.$ac_objext'
36067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36068 (eval $ac_try) 2>&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); }; }; then
36072 wx_cv_type_getsockname3
=size_t
36074 echo "$as_me: failed program was:" >&5
36075 sed 's/^/| /' conftest.
$ac_ext >&5
36077 cat >conftest.
$ac_ext <<_ACEOF
36080 cat confdefs.h
>>conftest.
$ac_ext
36081 cat >>conftest.
$ac_ext <<_ACEOF
36082 /* end confdefs.h. */
36084 #include <sys/types.h>
36085 #include <sys/socket.h>
36092 getsockname(0, 0, &len);
36098 rm -f conftest.
$ac_objext
36099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36100 (eval $ac_compile) 2>conftest.er1
36102 grep -v '^ *+' conftest.er1
>conftest.err
36104 cat conftest.err
>&5
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); } &&
36107 { ac_try
='test -z "$ac_cxx_werror_flag"
36108 || test ! -s conftest.err'
36109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36110 (eval $ac_try) 2>&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); }; } &&
36114 { ac_try
='test -s conftest.$ac_objext'
36115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36116 (eval $ac_try) 2>&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); }; }; then
36120 wx_cv_type_getsockname3
=int
36122 echo "$as_me: failed program was:" >&5
36123 sed 's/^/| /' conftest.
$ac_ext >&5
36125 wx_cv_type_getsockname3
=unknown
36128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36133 CFLAGS
="$CFLAGS_OLD"
36137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36140 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36141 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36143 if test "$wx_cv_type_getsockname3" = "unknown"; then
36145 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36146 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36148 cat >>confdefs.h
<<_ACEOF
36149 #define SOCKLEN_T $wx_cv_type_getsockname3
36154 ac_cpp
='$CPP $CPPFLAGS'
36155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36162 if test "$wxUSE_SOCKETS" = "yes" ; then
36163 cat >>confdefs.h
<<\_ACEOF
36164 #define wxUSE_SOCKETS 1
36167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36170 if test "$wxUSE_PROTOCOL" = "yes"; then
36171 if test "$wxUSE_SOCKETS" != "yes"; then
36172 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36173 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36178 if test "$wxUSE_PROTOCOL" = "yes"; then
36179 cat >>confdefs.h
<<\_ACEOF
36180 #define wxUSE_PROTOCOL 1
36184 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36185 cat >>confdefs.h
<<\_ACEOF
36186 #define wxUSE_PROTOCOL_HTTP 1
36190 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36191 cat >>confdefs.h
<<\_ACEOF
36192 #define wxUSE_PROTOCOL_FTP 1
36196 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36197 cat >>confdefs.h
<<\_ACEOF
36198 #define wxUSE_PROTOCOL_FILE 1
36203 if test "$wxUSE_FS_INET" = "yes"; then
36204 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36205 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36210 if test "$wxUSE_URL" = "yes"; then
36211 if test "$wxUSE_PROTOCOL" != "yes"; then
36212 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36213 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36216 if test "$wxUSE_URL" = "yes"; then
36217 cat >>confdefs.h
<<\_ACEOF
36218 #define wxUSE_URL 1
36224 if test "$wxUSE_FS_INET" = "yes"; then
36225 cat >>confdefs.h
<<\_ACEOF
36226 #define wxUSE_FS_INET 1
36232 if test "$wxUSE_GUI" = "yes"; then
36234 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36235 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36236 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36240 if test "$TOOLKIT" != "MSW"; then
36241 if test "$wxUSE_JOYSTICK" = "yes"; then
36243 for ac_header
in linux
/joystick.h
36245 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36247 echo "$as_me:$LINENO: checking for $ac_header" >&5
36248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36250 echo $ECHO_N "(cached) $ECHO_C" >&6
36252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36255 # Is the header compilable?
36256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36258 cat >conftest.
$ac_ext <<_ACEOF
36261 cat confdefs.h
>>conftest.
$ac_ext
36262 cat >>conftest.
$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264 $ac_includes_default
36265 #include <$ac_header>
36267 rm -f conftest.
$ac_objext
36268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36269 (eval $ac_compile) 2>conftest.er1
36271 grep -v '^ *+' conftest.er1
>conftest.err
36273 cat conftest.err
>&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); } &&
36276 { ac_try
='test -z "$ac_c_werror_flag"
36277 || test ! -s conftest.err'
36278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36279 (eval $ac_try) 2>&5
36281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282 (exit $ac_status); }; } &&
36283 { ac_try
='test -s conftest.$ac_objext'
36284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36285 (eval $ac_try) 2>&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); }; }; then
36289 ac_header_compiler
=yes
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.
$ac_ext >&5
36294 ac_header_compiler
=no
36296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36298 echo "${ECHO_T}$ac_header_compiler" >&6
36300 # Is the header present?
36301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36303 cat >conftest.
$ac_ext <<_ACEOF
36306 cat confdefs.h
>>conftest.
$ac_ext
36307 cat >>conftest.
$ac_ext <<_ACEOF
36308 /* end confdefs.h. */
36309 #include <$ac_header>
36311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36314 grep -v '^ *+' conftest.er1
>conftest.err
36316 cat conftest.err
>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } >/dev
/null
; then
36319 if test -s conftest.err
; then
36320 ac_cpp_err
=$ac_c_preproc_warn_flag
36321 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36328 if test -z "$ac_cpp_err"; then
36329 ac_header_preproc
=yes
36331 echo "$as_me: failed program was:" >&5
36332 sed 's/^/| /' conftest.
$ac_ext >&5
36334 ac_header_preproc
=no
36336 rm -f conftest.err conftest.
$ac_ext
36337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36338 echo "${ECHO_T}$ac_header_preproc" >&6
36340 # So? What about this header?
36341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36347 ac_header_preproc
=yes
36350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36364 ## ----------------------------------------- ##
36365 ## Report this to wx-dev@lists.wxwidgets.org ##
36366 ## ----------------------------------------- ##
36369 sed "s/^/$as_me: WARNING: /" >&2
36372 echo "$as_me:$LINENO: checking for $ac_header" >&5
36373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36375 echo $ECHO_N "(cached) $ECHO_C" >&6
36377 eval "$as_ac_Header=\$ac_header_preproc"
36379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36384 cat >>confdefs.h
<<_ACEOF
36385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36392 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36394 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36395 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36400 if test "$wxUSE_JOYSTICK" = "yes"; then
36401 cat >>confdefs.h
<<\_ACEOF
36402 #define wxUSE_JOYSTICK 1
36405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36411 if test "$wxUSE_FONTMAP" = "yes" ; then
36412 cat >>confdefs.h
<<\_ACEOF
36413 #define wxUSE_FONTMAP 1
36418 if test "$wxUSE_UNICODE" = "yes" ; then
36419 cat >>confdefs.h
<<\_ACEOF
36420 #define wxUSE_UNICODE 1
36424 if test "$USE_WIN32" != 1; then
36425 wxUSE_UNICODE_MSLU
=no
36428 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36429 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36430 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36431 if test "${ac_cv_lib_unicows_main+set}" = set; then
36432 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 ac_check_lib_save_LIBS
=$LIBS
36435 LIBS
="-lunicows $LIBS"
36436 cat >conftest.
$ac_ext <<_ACEOF
36439 cat confdefs.h
>>conftest.
$ac_ext
36440 cat >>conftest.
$ac_ext <<_ACEOF
36441 /* end confdefs.h. */
36452 rm -f conftest.
$ac_objext conftest
$ac_exeext
36453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36454 (eval $ac_link) 2>conftest.er1
36456 grep -v '^ *+' conftest.er1
>conftest.err
36458 cat conftest.err
>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } &&
36461 { ac_try
='test -z "$ac_c_werror_flag"
36462 || test ! -s conftest.err'
36463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36464 (eval $ac_try) 2>&5
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); }; } &&
36468 { ac_try
='test -s conftest$ac_exeext'
36469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36470 (eval $ac_try) 2>&5
36472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36473 (exit $ac_status); }; }; then
36474 ac_cv_lib_unicows_main
=yes
36476 echo "$as_me: failed program was:" >&5
36477 sed 's/^/| /' conftest.
$ac_ext >&5
36479 ac_cv_lib_unicows_main
=no
36481 rm -f conftest.err conftest.
$ac_objext \
36482 conftest
$ac_exeext conftest.
$ac_ext
36483 LIBS
=$ac_check_lib_save_LIBS
36485 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36486 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36487 if test $ac_cv_lib_unicows_main = yes; then
36489 cat >>confdefs.h
<<\_ACEOF
36490 #define wxUSE_UNICODE_MSLU 1
36496 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36497 Applications will only run on Windows NT/2000/XP!" >&5
36498 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36499 Applications will only run on Windows NT/2000/XP!" >&2;}
36500 wxUSE_UNICODE_MSLU
=no
36507 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36508 cat >>confdefs.h
<<\_ACEOF
36509 #define wxUSE_EXPERIMENTAL_PRINTF 1
36515 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36516 cat >>confdefs.h
<<\_ACEOF
36517 #define wxUSE_POSTSCRIPT 1
36522 cat >>confdefs.h
<<\_ACEOF
36523 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36527 cat >>confdefs.h
<<\_ACEOF
36528 #define wxUSE_NORMALIZED_PS_FONTS 1
36533 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36534 cat >>confdefs.h
<<\_ACEOF
36535 #define wxUSE_CONSTRAINTS 1
36538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36541 if test "$wxUSE_MDI" = "yes"; then
36542 cat >>confdefs.h
<<\_ACEOF
36543 #define wxUSE_MDI 1
36547 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36548 cat >>confdefs.h
<<\_ACEOF
36549 #define wxUSE_MDI_ARCHITECTURE 1
36552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36556 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36557 cat >>confdefs.h
<<\_ACEOF
36558 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36562 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36567 if test "$wxUSE_HELP" = "yes"; then
36568 cat >>confdefs.h
<<\_ACEOF
36569 #define wxUSE_HELP 1
36572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36574 if test "$wxUSE_MSW" = 1; then
36575 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36576 cat >>confdefs.h
<<\_ACEOF
36577 #define wxUSE_MS_HTML_HELP 1
36583 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36584 if test "$wxUSE_HTML" = "yes"; then
36585 cat >>confdefs.h
<<\_ACEOF
36586 #define wxUSE_WXHTML_HELP 1
36590 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36591 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36592 wxUSE_WXHTML_HELP
=no
36597 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36598 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36599 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36600 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36602 cat >>confdefs.h
<<\_ACEOF
36603 #define wxUSE_PRINTING_ARCHITECTURE 1
36607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36610 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36611 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36612 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36613 { (exit 1); exit 1; }; }
36617 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36618 -o "$wxUSE_CLIPBOARD" = "yes" \
36619 -o "$wxUSE_OLE" = "yes" \
36620 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36622 for ac_header
in ole2.h
36624 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36626 echo "$as_me:$LINENO: checking for $ac_header" >&5
36627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36629 echo $ECHO_N "(cached) $ECHO_C" >&6
36631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36634 # Is the header compilable?
36635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36637 cat >conftest.
$ac_ext <<_ACEOF
36640 cat confdefs.h
>>conftest.
$ac_ext
36641 cat >>conftest.
$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36643 $ac_includes_default
36644 #include <$ac_header>
36646 rm -f conftest.
$ac_objext
36647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36648 (eval $ac_compile) 2>conftest.er1
36650 grep -v '^ *+' conftest.er1
>conftest.err
36652 cat conftest.err
>&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); } &&
36655 { ac_try
='test -z "$ac_c_werror_flag"
36656 || test ! -s conftest.err'
36657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36658 (eval $ac_try) 2>&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); }; } &&
36662 { ac_try
='test -s conftest.$ac_objext'
36663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664 (eval $ac_try) 2>&5
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); }; }; then
36668 ac_header_compiler
=yes
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.
$ac_ext >&5
36673 ac_header_compiler
=no
36675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36677 echo "${ECHO_T}$ac_header_compiler" >&6
36679 # Is the header present?
36680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36682 cat >conftest.
$ac_ext <<_ACEOF
36685 cat confdefs.h
>>conftest.
$ac_ext
36686 cat >>conftest.
$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36688 #include <$ac_header>
36690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36691 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36693 grep -v '^ *+' conftest.er1
>conftest.err
36695 cat conftest.err
>&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); } >/dev
/null
; then
36698 if test -s conftest.err
; then
36699 ac_cpp_err
=$ac_c_preproc_warn_flag
36700 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36707 if test -z "$ac_cpp_err"; then
36708 ac_header_preproc
=yes
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.
$ac_ext >&5
36713 ac_header_preproc
=no
36715 rm -f conftest.err conftest.
$ac_ext
36716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36717 echo "${ECHO_T}$ac_header_preproc" >&6
36719 # So? What about this header?
36720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36726 ac_header_preproc
=yes
36729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36743 ## ----------------------------------------- ##
36744 ## Report this to wx-dev@lists.wxwidgets.org ##
36745 ## ----------------------------------------- ##
36748 sed "s/^/$as_me: WARNING: /" >&2
36751 echo "$as_me:$LINENO: checking for $ac_header" >&5
36752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 eval "$as_ac_Header=\$ac_header_preproc"
36758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36763 cat >>confdefs.h
<<_ACEOF
36764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36772 if test "$ac_cv_header_ole2_h" = "yes" ; then
36773 if test "$GCC" = yes ; then
36777 ac_cpp
='$CXXCPP $CPPFLAGS'
36778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36783 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36784 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36785 cat >conftest.
$ac_ext <<_ACEOF
36788 cat confdefs.h
>>conftest.
$ac_ext
36789 cat >>conftest.
$ac_ext <<_ACEOF
36790 /* end confdefs.h. */
36791 #include <windows.h>
36801 rm -f conftest.
$ac_objext
36802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36803 (eval $ac_compile) 2>conftest.er1
36805 grep -v '^ *+' conftest.er1
>conftest.err
36807 cat conftest.err
>&5
36808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36809 (exit $ac_status); } &&
36810 { ac_try
='test -z "$ac_cxx_werror_flag"
36811 || test ! -s conftest.err'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; } &&
36817 { ac_try
='test -s conftest.$ac_objext'
36818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36819 (eval $ac_try) 2>&5
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); }; }; then
36823 echo "$as_me:$LINENO: result: no" >&5
36824 echo "${ECHO_T}no" >&6
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.
$ac_ext >&5
36829 echo "$as_me:$LINENO: result: yes" >&5
36830 echo "${ECHO_T}yes" >&6
36831 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36835 ac_cpp
='$CPP $CPPFLAGS'
36836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36840 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36841 if test "$wxUSE_OLE" = "yes" ; then
36842 cat >>confdefs.h
<<\_ACEOF
36843 #define wxUSE_OLE 1
36849 if test "$wxUSE_DATAOBJ" = "yes" ; then
36850 cat >>confdefs.h
<<\_ACEOF
36851 #define wxUSE_DATAOBJ 1
36856 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36857 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36860 wxUSE_DRAG_AND_DROP
=no
36865 if test "$wxUSE_METAFILE" = "yes"; then
36866 cat >>confdefs.h
<<\_ACEOF
36867 #define wxUSE_METAFILE 1
36871 cat >>confdefs.h
<<\_ACEOF
36872 #define wxUSE_ENH_METAFILE 1
36878 if test "$wxUSE_IPC" = "yes"; then
36879 if test "$wxUSE_SOCKETS" != "yes"; then
36880 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36881 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36884 cat >>confdefs.h
<<\_ACEOF
36885 #define wxUSE_IPC 1
36890 if test "$wxUSE_CLIPBOARD" = "yes"; then
36891 if test "$wxUSE_MGL" = 1; then
36892 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36893 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36897 if test "$wxUSE_CLIPBOARD" = "yes"; then
36898 cat >>confdefs.h
<<\_ACEOF
36899 #define wxUSE_CLIPBOARD 1
36903 cat >>confdefs.h
<<\_ACEOF
36904 #define wxUSE_DATAOBJ 1
36910 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36911 if test "$wxUSE_GTK" = 1; then
36912 if test "$WXGTK12" != 1; then
36913 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36914 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36915 wxUSE_DRAG_AND_DROP
=no
36919 if test "$wxUSE_MOTIF" = 1; then
36920 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36921 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36922 wxUSE_DRAG_AND_DROP
=no
36925 if test "$wxUSE_X11" = 1; then
36926 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36927 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36928 wxUSE_DRAG_AND_DROP
=no
36931 if test "$wxUSE_MGL" = 1; then
36932 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36933 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36934 wxUSE_DRAG_AND_DROP
=no
36937 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36938 cat >>confdefs.h
<<\_ACEOF
36939 #define wxUSE_DRAG_AND_DROP 1
36946 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36950 if test "$wxUSE_SPLINES" = "yes" ; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_SPLINES 1
36959 if test "$wxUSE_CONTROLS" = "yes"; then
36963 if test "$wxUSE_ACCEL" = "yes"; then
36964 cat >>confdefs.h
<<\_ACEOF
36965 #define wxUSE_ACCEL 1
36971 if test "$wxUSE_BUTTON" = "yes"; then
36972 cat >>confdefs.h
<<\_ACEOF
36973 #define wxUSE_BUTTON 1
36979 if test "$wxUSE_BMPBUTTON" = "yes"; then
36980 cat >>confdefs.h
<<\_ACEOF
36981 #define wxUSE_BMPBUTTON 1
36987 if test "$wxUSE_CALCTRL" = "yes"; then
36988 cat >>confdefs.h
<<\_ACEOF
36989 #define wxUSE_CALENDARCTRL 1
36993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36996 if test "$wxUSE_CARET" = "yes"; then
36997 cat >>confdefs.h
<<\_ACEOF
36998 #define wxUSE_CARET 1
37002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37005 if test "$wxUSE_COMBOBOX" = "yes"; then
37006 cat >>confdefs.h
<<\_ACEOF
37007 #define wxUSE_COMBOBOX 1
37013 if test "$wxUSE_CHOICE" = "yes"; then
37014 cat >>confdefs.h
<<\_ACEOF
37015 #define wxUSE_CHOICE 1
37021 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37022 cat >>confdefs.h
<<\_ACEOF
37023 #define wxUSE_CHOICEBOOK 1
37029 if test "$wxUSE_CHECKBOX" = "yes"; then
37030 cat >>confdefs.h
<<\_ACEOF
37031 #define wxUSE_CHECKBOX 1
37037 if test "$wxUSE_CHECKLST" = "yes"; then
37038 cat >>confdefs.h
<<\_ACEOF
37039 #define wxUSE_CHECKLISTBOX 1
37043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37046 if test "$wxUSE_DISPLAY" = "yes"; then
37047 cat >>confdefs.h
<<\_ACEOF
37048 #define wxUSE_DISPLAY 1
37051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37054 if test "$wxUSE_GAUGE" = "yes"; then
37055 cat >>confdefs.h
<<\_ACEOF
37056 #define wxUSE_GAUGE 1
37062 if test "$wxUSE_GRID" = "yes"; then
37063 cat >>confdefs.h
<<\_ACEOF
37064 #define wxUSE_GRID 1
37068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37071 if test "$wxUSE_IMAGLIST" = "yes"; then
37072 cat >>confdefs.h
<<\_ACEOF
37073 #define wxUSE_IMAGLIST 1
37078 if test "$wxUSE_LISTBOOK" = "yes"; then
37079 cat >>confdefs.h
<<\_ACEOF
37080 #define wxUSE_LISTBOOK 1
37086 if test "$wxUSE_LISTBOX" = "yes"; then
37087 cat >>confdefs.h
<<\_ACEOF
37088 #define wxUSE_LISTBOX 1
37094 if test "$wxUSE_LISTCTRL" = "yes"; then
37095 if test "$wxUSE_IMAGLIST" = "yes"; then
37096 cat >>confdefs.h
<<\_ACEOF
37097 #define wxUSE_LISTCTRL 1
37101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37103 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37104 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37108 if test "$wxUSE_NOTEBOOK" = "yes"; then
37109 cat >>confdefs.h
<<\_ACEOF
37110 #define wxUSE_NOTEBOOK 1
37114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37118 if test "$wxUSE_RADIOBOX" = "yes"; then
37119 cat >>confdefs.h
<<\_ACEOF
37120 #define wxUSE_RADIOBOX 1
37126 if test "$wxUSE_RADIOBTN" = "yes"; then
37127 cat >>confdefs.h
<<\_ACEOF
37128 #define wxUSE_RADIOBTN 1
37134 if test "$wxUSE_SASH" = "yes"; then
37135 cat >>confdefs.h
<<\_ACEOF
37136 #define wxUSE_SASH 1
37139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37142 if test "$wxUSE_SCROLLBAR" = "yes"; then
37143 cat >>confdefs.h
<<\_ACEOF
37144 #define wxUSE_SCROLLBAR 1
37148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37151 if test "$wxUSE_SLIDER" = "yes"; then
37152 cat >>confdefs.h
<<\_ACEOF
37153 #define wxUSE_SLIDER 1
37159 if test "$wxUSE_SPINBTN" = "yes"; then
37160 cat >>confdefs.h
<<\_ACEOF
37161 #define wxUSE_SPINBTN 1
37167 if test "$wxUSE_SPINCTRL" = "yes"; then
37168 cat >>confdefs.h
<<\_ACEOF
37169 #define wxUSE_SPINCTRL 1
37175 if test "$wxUSE_SPLITTER" = "yes"; then
37176 cat >>confdefs.h
<<\_ACEOF
37177 #define wxUSE_SPLITTER 1
37180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37183 if test "$wxUSE_STATBMP" = "yes"; then
37184 cat >>confdefs.h
<<\_ACEOF
37185 #define wxUSE_STATBMP 1
37191 if test "$wxUSE_STATBOX" = "yes"; then
37192 cat >>confdefs.h
<<\_ACEOF
37193 #define wxUSE_STATBOX 1
37199 if test "$wxUSE_STATTEXT" = "yes"; then
37200 cat >>confdefs.h
<<\_ACEOF
37201 #define wxUSE_STATTEXT 1
37207 if test "$wxUSE_STATLINE" = "yes"; then
37208 cat >>confdefs.h
<<\_ACEOF
37209 #define wxUSE_STATLINE 1
37215 if test "$wxUSE_STATUSBAR" = "yes"; then
37216 cat >>confdefs.h
<<\_ACEOF
37217 #define wxUSE_STATUSBAR 1
37222 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37225 if test "$wxUSE_TABDIALOG" = "yes"; then
37226 cat >>confdefs.h
<<\_ACEOF
37227 #define wxUSE_TAB_DIALOG 1
37230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37233 if test "$wxUSE_TEXTCTRL" = "yes"; then
37234 cat >>confdefs.h
<<\_ACEOF
37235 #define wxUSE_TEXTCTRL 1
37239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37242 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37243 if test "$wxUSE_COCOA" = 1 ; then
37244 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37245 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37248 if test "$wxUSE_PM" = 1; then
37249 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37250 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37254 if test "$wxUSE_UNIVERSAL" = "yes"; then
37255 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37256 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37260 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37261 cat >>confdefs.h
<<\_ACEOF
37262 #define wxUSE_TOGGLEBTN 1
37269 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37270 cat >>confdefs.h
<<\_ACEOF
37271 #define wxUSE_TOOLBAR_SIMPLE 1
37274 wxUSE_TOOLBAR
="yes"
37278 if test "$wxUSE_TOOLBAR" = "yes"; then
37279 cat >>confdefs.h
<<\_ACEOF
37280 #define wxUSE_TOOLBAR 1
37285 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37286 wxUSE_TOOLBAR_NATIVE
="yes"
37289 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37290 cat >>confdefs.h
<<\_ACEOF
37291 #define wxUSE_TOOLBAR_NATIVE 1
37297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37300 if test "$wxUSE_TOOLTIPS" = "yes"; then
37301 if test "$wxUSE_MOTIF" = 1; then
37302 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37303 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37305 if test "$wxUSE_UNIVERSAL" = "yes"; then
37306 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37307 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37309 cat >>confdefs.h
<<\_ACEOF
37310 #define wxUSE_TOOLTIPS 1
37317 if test "$wxUSE_TREECTRL" = "yes"; then
37318 if test "$wxUSE_IMAGLIST" = "yes"; then
37319 cat >>confdefs.h
<<\_ACEOF
37320 #define wxUSE_TREECTRL 1
37324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37326 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37327 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37331 if test "$wxUSE_POPUPWIN" = "yes"; then
37332 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37333 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37334 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37336 if test "$wxUSE_PM" = 1; then
37337 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37338 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37340 cat >>confdefs.h
<<\_ACEOF
37341 #define wxUSE_POPUPWIN 1
37350 if test "$wxUSE_TIPWINDOW" = "yes"; then
37351 if test "$wxUSE_PM" = 1; then
37352 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37353 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37355 cat >>confdefs.h
<<\_ACEOF
37356 #define wxUSE_TIPWINDOW 1
37362 if test "$USES_CONTROLS" = 1; then
37363 cat >>confdefs.h
<<\_ACEOF
37364 #define wxUSE_CONTROLS 1
37370 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37371 cat >>confdefs.h
<<\_ACEOF
37372 #define wxUSE_ACCESSIBILITY 1
37375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37378 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37379 cat >>confdefs.h
<<\_ACEOF
37380 #define wxUSE_DRAGIMAGE 1
37383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37386 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37387 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37388 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37389 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37391 cat >>confdefs.h
<<\_ACEOF
37392 #define wxUSE_EXCEPTIONS 1
37395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37400 if test "$wxUSE_HTML" = "yes"; then
37401 cat >>confdefs.h
<<\_ACEOF
37402 #define wxUSE_HTML 1
37406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37407 if test "$wxUSE_MAC" = 1; then
37408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37411 if test "$wxUSE_WEBKIT" = "yes"; then
37412 if test "$wxUSE_MAC" = 1; then
37413 old_CPPFLAGS
="$CPPFLAGS"
37414 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37415 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37416 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37417 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37418 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 cat >conftest.
$ac_ext <<_ACEOF
37423 cat confdefs.h
>>conftest.
$ac_ext
37424 cat >>conftest.
$ac_ext <<_ACEOF
37425 /* end confdefs.h. */
37426 #include <Carbon/Carbon.h>
37428 #include <WebKit/HIWebView.h>
37430 rm -f conftest.
$ac_objext
37431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37432 (eval $ac_compile) 2>conftest.er1
37434 grep -v '^ *+' conftest.er1
>conftest.err
37436 cat conftest.err
>&5
37437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438 (exit $ac_status); } &&
37439 { ac_try
='test -z "$ac_c_werror_flag"
37440 || test ! -s conftest.err'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; } &&
37446 { ac_try
='test -s conftest.$ac_objext'
37447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448 (eval $ac_try) 2>&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); }; }; then
37452 ac_cv_header_WebKit_HIWebView_h
=yes
37454 echo "$as_me: failed program was:" >&5
37455 sed 's/^/| /' conftest.
$ac_ext >&5
37457 ac_cv_header_WebKit_HIWebView_h
=no
37459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37461 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37462 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37463 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37465 cat >>confdefs.h
<<\_ACEOF
37466 #define wxUSE_WEBKIT 1
37469 WEBKIT_LINK
="-framework WebKit"
37473 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37474 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37480 CPPFLAGS
="$old_CPPFLAGS"
37481 elif test "$wxUSE_COCOA" = 1; then
37482 cat >>confdefs.h
<<\_ACEOF
37483 #define wxUSE_WEBKIT 1
37492 if test "$wxUSE_XRC" = "yes"; then
37493 if test "$wxUSE_XML" != "yes"; then
37494 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37495 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37498 cat >>confdefs.h
<<\_ACEOF
37499 #define wxUSE_XRC 1
37503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37507 if test "$wxUSE_MENUS" = "yes"; then
37508 cat >>confdefs.h
<<\_ACEOF
37509 #define wxUSE_MENUS 1
37512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37515 if test "$wxUSE_METAFILE" = "yes"; then
37516 cat >>confdefs.h
<<\_ACEOF
37517 #define wxUSE_METAFILE 1
37522 if test "$wxUSE_MIMETYPE" = "yes"; then
37523 cat >>confdefs.h
<<\_ACEOF
37524 #define wxUSE_MIMETYPE 1
37529 if test "$wxUSE_MINIFRAME" = "yes"; then
37530 cat >>confdefs.h
<<\_ACEOF
37531 #define wxUSE_MINIFRAME 1
37534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37537 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37538 cat >>confdefs.h
<<\_ACEOF
37539 #define wxUSE_SYSTEM_OPTIONS 1
37542 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37543 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37549 if test "$wxUSE_VALIDATORS" = "yes"; then
37550 cat >>confdefs.h
<<\_ACEOF
37551 #define wxUSE_VALIDATORS 1
37554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37557 if test "$wxUSE_PALETTE" = "yes" ; then
37558 cat >>confdefs.h
<<\_ACEOF
37559 #define wxUSE_PALETTE 1
37564 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37565 LIBS
=" -lunicows $LIBS"
37569 if test "$wxUSE_IMAGE" = "yes" ; then
37570 cat >>confdefs.h
<<\_ACEOF
37571 #define wxUSE_IMAGE 1
37575 if test "$wxUSE_GIF" = "yes" ; then
37576 cat >>confdefs.h
<<\_ACEOF
37577 #define wxUSE_GIF 1
37582 if test "$wxUSE_PCX" = "yes" ; then
37583 cat >>confdefs.h
<<\_ACEOF
37584 #define wxUSE_PCX 1
37589 if test "$wxUSE_IFF" = "yes" ; then
37590 cat >>confdefs.h
<<\_ACEOF
37591 #define wxUSE_IFF 1
37596 if test "$wxUSE_PNM" = "yes" ; then
37597 cat >>confdefs.h
<<\_ACEOF
37598 #define wxUSE_PNM 1
37603 if test "$wxUSE_XPM" = "yes" ; then
37604 cat >>confdefs.h
<<\_ACEOF
37605 #define wxUSE_XPM 1
37610 if test "$wxUSE_ICO_CUR" = "yes" ; then
37611 cat >>confdefs.h
<<\_ACEOF
37612 #define wxUSE_ICO_CUR 1
37619 if test "$wxUSE_CHOICEDLG" = "yes"; then
37620 cat >>confdefs.h
<<\_ACEOF
37621 #define wxUSE_CHOICEDLG 1
37626 if test "$wxUSE_COLOURDLG" = "yes"; then
37627 cat >>confdefs.h
<<\_ACEOF
37628 #define wxUSE_COLOURDLG 1
37633 if test "$wxUSE_FILEDLG" = "yes"; then
37634 cat >>confdefs.h
<<\_ACEOF
37635 #define wxUSE_FILEDLG 1
37640 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37641 cat >>confdefs.h
<<\_ACEOF
37642 #define wxUSE_FINDREPLDLG 1
37647 if test "$wxUSE_FONTDLG" = "yes"; then
37648 cat >>confdefs.h
<<\_ACEOF
37649 #define wxUSE_FONTDLG 1
37654 if test "$wxUSE_DIRDLG" = "yes"; then
37655 if test "$wxUSE_TREECTRL" != "yes"; then
37656 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37657 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37659 cat >>confdefs.h
<<\_ACEOF
37660 #define wxUSE_DIRDLG 1
37666 if test "$wxUSE_MSGDLG" = "yes"; then
37667 cat >>confdefs.h
<<\_ACEOF
37668 #define wxUSE_MSGDLG 1
37673 if test "$wxUSE_NUMBERDLG" = "yes"; then
37674 cat >>confdefs.h
<<\_ACEOF
37675 #define wxUSE_NUMBERDLG 1
37680 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37681 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37682 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37683 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37685 cat >>confdefs.h
<<\_ACEOF
37686 #define wxUSE_PROGRESSDLG 1
37692 if test "$wxUSE_SPLASH" = "yes"; then
37693 cat >>confdefs.h
<<\_ACEOF
37694 #define wxUSE_SPLASH 1
37697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37700 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37701 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37702 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37703 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37705 cat >>confdefs.h
<<\_ACEOF
37706 #define wxUSE_STARTUP_TIPS 1
37712 if test "$wxUSE_TEXTDLG" = "yes"; then
37713 cat >>confdefs.h
<<\_ACEOF
37714 #define wxUSE_TEXTDLG 1
37719 if test "$wxUSE_WIZARDDLG" = "yes"; then
37720 cat >>confdefs.h
<<\_ACEOF
37721 #define wxUSE_WIZARDDLG 1
37724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37728 if test "$cross_compiling" = "yes"; then
37731 OSINFO
=`uname -s -r -m`
37732 OSINFO
="\"$OSINFO\""
37735 cat >>confdefs.h
<<_ACEOF
37736 #define WXWIN_OS_DESCRIPTION $OSINFO
37741 if test "x$prefix" != "xNONE"; then
37744 wxPREFIX
=$ac_default_prefix
37747 cat >>confdefs.h
<<_ACEOF
37748 #define wxINSTALL_PREFIX "$wxPREFIX"
37754 CORE_BASE_LIBS
="net base"
37755 CORE_GUI_LIBS
="adv core"
37757 if test "$wxUSE_XML" = "yes" ; then
37758 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37760 if test "$wxUSE_ODBC" != "no" ; then
37761 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37762 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37764 if test "$wxUSE_HTML" = "yes" ; then
37765 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37767 if test "$wxUSE_XRC" = "yes" ; then
37768 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37771 if test "$wxUSE_GUI" != "yes"; then
37782 if test "$wxUSE_MAC" = 1 ; then
37783 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
37784 LDFLAGS
="$LDFLAGS -framework QuickTime"
37786 if test "$USE_DARWIN" = 1; then
37787 LDFLAGS
="$LDFLAGS -framework IOKit"
37789 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37791 if test "$wxUSE_COCOA" = 1 ; then
37792 LDFLAGS
="$LDFLAGS -framework Cocoa"
37796 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37803 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37804 echo "$as_me:$LINENO: checking for $ac_func" >&5
37805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37806 if eval "test \"\${$as_ac_var+set}\" = set"; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37809 cat >conftest.
$ac_ext <<_ACEOF
37812 cat confdefs.h
>>conftest.
$ac_ext
37813 cat >>conftest.
$ac_ext <<_ACEOF
37814 /* end confdefs.h. */
37815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37817 #define $ac_func innocuous_$ac_func
37819 /* System header to define __stub macros and hopefully few prototypes,
37820 which can conflict with char $ac_func (); below.
37821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37822 <limits.h> exists even on freestanding compilers. */
37825 # include <limits.h>
37827 # include <assert.h>
37832 /* Override any gcc2 internal prototype to avoid an error. */
37837 /* We use char because int might match the return type of a gcc2
37838 builtin and then its argument prototype would still apply. */
37840 /* The GNU C library defines this for functions which it implements
37841 to always fail with ENOSYS. Some functions are actually named
37842 something starting with __ and the normal name is an alias. */
37843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37846 char (*f) () = $ac_func;
37855 return f != $ac_func;
37860 rm -f conftest.
$ac_objext conftest
$ac_exeext
37861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37862 (eval $ac_link) 2>conftest.er1
37864 grep -v '^ *+' conftest.er1
>conftest.err
37866 cat conftest.err
>&5
37867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37868 (exit $ac_status); } &&
37869 { ac_try
='test -z "$ac_c_werror_flag"
37870 || test ! -s conftest.err'
37871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37872 (eval $ac_try) 2>&5
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); }; } &&
37876 { ac_try
='test -s conftest$ac_exeext'
37877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37878 (eval $ac_try) 2>&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); }; }; then
37882 eval "$as_ac_var=yes"
37884 echo "$as_me: failed program was:" >&5
37885 sed 's/^/| /' conftest.
$ac_ext >&5
37887 eval "$as_ac_var=no"
37889 rm -f conftest.err conftest.
$ac_objext \
37890 conftest
$ac_exeext conftest.
$ac_ext
37892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37894 if test `eval echo '${'$as_ac_var'}'` = yes; then
37895 cat >>confdefs.h
<<_ACEOF
37896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37903 for ac_func
in floor
37905 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37906 echo "$as_me:$LINENO: checking for $ac_func" >&5
37907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37908 if eval "test \"\${$as_ac_var+set}\" = set"; then
37909 echo $ECHO_N "(cached) $ECHO_C" >&6
37911 cat >conftest.
$ac_ext <<_ACEOF
37914 cat confdefs.h
>>conftest.
$ac_ext
37915 cat >>conftest.
$ac_ext <<_ACEOF
37916 /* end confdefs.h. */
37917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37919 #define $ac_func innocuous_$ac_func
37921 /* System header to define __stub macros and hopefully few prototypes,
37922 which can conflict with char $ac_func (); below.
37923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37924 <limits.h> exists even on freestanding compilers. */
37927 # include <limits.h>
37929 # include <assert.h>
37934 /* Override any gcc2 internal prototype to avoid an error. */
37939 /* We use char because int might match the return type of a gcc2
37940 builtin and then its argument prototype would still apply. */
37942 /* The GNU C library defines this for functions which it implements
37943 to always fail with ENOSYS. Some functions are actually named
37944 something starting with __ and the normal name is an alias. */
37945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37948 char (*f) () = $ac_func;
37957 return f != $ac_func;
37962 rm -f conftest.
$ac_objext conftest
$ac_exeext
37963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37964 (eval $ac_link) 2>conftest.er1
37966 grep -v '^ *+' conftest.er1
>conftest.err
37968 cat conftest.err
>&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } &&
37971 { ac_try
='test -z "$ac_c_werror_flag"
37972 || test ! -s conftest.err'
37973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37974 (eval $ac_try) 2>&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); }; } &&
37978 { ac_try
='test -s conftest$ac_exeext'
37979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37980 (eval $ac_try) 2>&5
37982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983 (exit $ac_status); }; }; then
37984 eval "$as_ac_var=yes"
37986 echo "$as_me: failed program was:" >&5
37987 sed 's/^/| /' conftest.
$ac_ext >&5
37989 eval "$as_ac_var=no"
37991 rm -f conftest.err conftest.
$ac_objext \
37992 conftest
$ac_exeext conftest.
$ac_ext
37994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37996 if test `eval echo '${'$as_ac_var'}'` = yes; then
37997 cat >>confdefs.h
<<_ACEOF
37998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38004 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38005 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38006 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38007 echo "$as_me:$LINENO: result: yes" >&5
38008 echo "${ECHO_T}yes" >&6
38010 echo "$as_me:$LINENO: result: no" >&5
38011 echo "${ECHO_T}no" >&6
38013 # use different functions to avoid configure caching
38019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38020 echo "$as_me:$LINENO: checking for $ac_func" >&5
38021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38022 if eval "test \"\${$as_ac_var+set}\" = set"; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38025 cat >conftest.
$ac_ext <<_ACEOF
38028 cat confdefs.h
>>conftest.
$ac_ext
38029 cat >>conftest.
$ac_ext <<_ACEOF
38030 /* end confdefs.h. */
38031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38033 #define $ac_func innocuous_$ac_func
38035 /* System header to define __stub macros and hopefully few prototypes,
38036 which can conflict with char $ac_func (); below.
38037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38038 <limits.h> exists even on freestanding compilers. */
38041 # include <limits.h>
38043 # include <assert.h>
38048 /* Override any gcc2 internal prototype to avoid an error. */
38053 /* We use char because int might match the return type of a gcc2
38054 builtin and then its argument prototype would still apply. */
38056 /* The GNU C library defines this for functions which it implements
38057 to always fail with ENOSYS. Some functions are actually named
38058 something starting with __ and the normal name is an alias. */
38059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38062 char (*f) () = $ac_func;
38071 return f != $ac_func;
38076 rm -f conftest.
$ac_objext conftest
$ac_exeext
38077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38078 (eval $ac_link) 2>conftest.er1
38080 grep -v '^ *+' conftest.er1
>conftest.err
38082 cat conftest.err
>&5
38083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38084 (exit $ac_status); } &&
38085 { ac_try
='test -z "$ac_c_werror_flag"
38086 || test ! -s conftest.err'
38087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38088 (eval $ac_try) 2>&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); }; } &&
38092 { ac_try
='test -s conftest$ac_exeext'
38093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38094 (eval $ac_try) 2>&5
38096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38097 (exit $ac_status); }; }; then
38098 eval "$as_ac_var=yes"
38100 echo "$as_me: failed program was:" >&5
38101 sed 's/^/| /' conftest.
$ac_ext >&5
38103 eval "$as_ac_var=no"
38105 rm -f conftest.err conftest.
$ac_objext \
38106 conftest
$ac_exeext conftest.
$ac_ext
38108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38110 if test `eval echo '${'$as_ac_var'}'` = yes; then
38111 cat >>confdefs.h
<<_ACEOF
38112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38119 for ac_func
in ceil
38121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38122 echo "$as_me:$LINENO: checking for $ac_func" >&5
38123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38124 if eval "test \"\${$as_ac_var+set}\" = set"; then
38125 echo $ECHO_N "(cached) $ECHO_C" >&6
38127 cat >conftest.
$ac_ext <<_ACEOF
38130 cat confdefs.h
>>conftest.
$ac_ext
38131 cat >>conftest.
$ac_ext <<_ACEOF
38132 /* end confdefs.h. */
38133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38135 #define $ac_func innocuous_$ac_func
38137 /* System header to define __stub macros and hopefully few prototypes,
38138 which can conflict with char $ac_func (); below.
38139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38140 <limits.h> exists even on freestanding compilers. */
38143 # include <limits.h>
38145 # include <assert.h>
38150 /* Override any gcc2 internal prototype to avoid an error. */
38155 /* We use char because int might match the return type of a gcc2
38156 builtin and then its argument prototype would still apply. */
38158 /* The GNU C library defines this for functions which it implements
38159 to always fail with ENOSYS. Some functions are actually named
38160 something starting with __ and the normal name is an alias. */
38161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38164 char (*f) () = $ac_func;
38173 return f != $ac_func;
38178 rm -f conftest.
$ac_objext conftest
$ac_exeext
38179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38180 (eval $ac_link) 2>conftest.er1
38182 grep -v '^ *+' conftest.er1
>conftest.err
38184 cat conftest.err
>&5
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); } &&
38187 { ac_try
='test -z "$ac_c_werror_flag"
38188 || test ! -s conftest.err'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; } &&
38194 { ac_try
='test -s conftest$ac_exeext'
38195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38196 (eval $ac_try) 2>&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); }; }; then
38200 eval "$as_ac_var=yes"
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.
$ac_ext >&5
38205 eval "$as_ac_var=no"
38207 rm -f conftest.err conftest.
$ac_objext \
38208 conftest
$ac_exeext conftest.
$ac_ext
38210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38212 if test `eval echo '${'$as_ac_var'}'` = yes; then
38213 cat >>confdefs.h
<<_ACEOF
38214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38220 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38221 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38222 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38223 echo "$as_me:$LINENO: result: yes" >&5
38224 echo "${ECHO_T}yes" >&6
38226 echo "$as_me:$LINENO: result: no" >&5
38227 echo "${ECHO_T}no" >&6
38228 # not sure we should warn the user, crash, etc.
38232 if test "$wxUSE_GUI" = "yes"; then
38235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38236 drawing dynamic erase event exec font image \
38237 minimal propsize rotate shaped widgets render"
38239 if test "$wxUSE_MONOLITHIC" != "yes"; then
38240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38243 SAMPLES_SUBDIRS
="console"
38247 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38248 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38250 if test "$GXX" = yes ; then
38251 CXXWARNINGS
="-Wall"
38254 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38256 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38257 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
38258 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38262 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38263 EXTRALIBS_XML
="$EXPAT_LINK"
38264 EXTRALIBS_HTML
="$MSPACK_LINK"
38265 EXTRALIBS_ODBC
="$ODBC_LINK"
38266 if test "$wxUSE_GUI" = "yes"; then
38267 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38269 if test "$wxUSE_OPENGL" = "yes"; then
38270 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38273 LDFLAGS
="$LDFLAGS $PROFILE"
38275 if test "$wxUSE_GTK" = 1; then
38278 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38281 WXCONFIG_EXTRALIBS
="$LIBS"
38283 if test "$wxUSE_REGEX" = "builtin" ; then
38284 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38286 if test "$wxUSE_EXPAT" = "builtin" ; then
38287 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38289 if test "$wxUSE_ODBC" = "builtin" ; then
38290 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38292 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38293 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38295 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38296 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38298 if test "$wxUSE_LIBPNG" = "builtin" ; then
38299 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38301 if test "$wxUSE_ZLIB" = "builtin" ; then
38302 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38304 if test "$wxUSE_ODBC" = "builtin" ; then
38305 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38308 for i
in $wxconfig_3rdparty ; do
38309 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38313 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38327 if test $wxUSE_MONOLITHIC = "yes" ; then
38333 if test $wxUSE_PLUGINS = "yes" ; then
38339 if test $wxUSE_ODBC != "no" ; then
38345 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38373 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38384 TOOLKIT_USER
="GTK+"
38385 if test "$WXGTK20" = 1; then
38386 TOOLKIT_USER
="$TOOLKIT_USER 2"
38391 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38396 if test "x$BAKEFILE_HOST" = "x"; then
38397 BAKEFILE_HOST
="${host}"
38400 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38402 if test -n "$ac_tool_prefix"; then
38403 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38404 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38405 echo "$as_me:$LINENO: checking for $ac_word" >&5
38406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38407 if test "${ac_cv_prog_RANLIB+set}" = set; then
38408 echo $ECHO_N "(cached) $ECHO_C" >&6
38410 if test -n "$RANLIB"; then
38411 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38414 for as_dir
in $PATH
38417 test -z "$as_dir" && as_dir
=.
38418 for ac_exec_ext
in '' $ac_executable_extensions; do
38419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38420 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38429 RANLIB
=$ac_cv_prog_RANLIB
38430 if test -n "$RANLIB"; then
38431 echo "$as_me:$LINENO: result: $RANLIB" >&5
38432 echo "${ECHO_T}$RANLIB" >&6
38434 echo "$as_me:$LINENO: result: no" >&5
38435 echo "${ECHO_T}no" >&6
38439 if test -z "$ac_cv_prog_RANLIB"; then
38440 ac_ct_RANLIB
=$RANLIB
38441 # Extract the first word of "ranlib", so it can be a program name with args.
38442 set dummy ranlib
; ac_word
=$2
38443 echo "$as_me:$LINENO: checking for $ac_word" >&5
38444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38445 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 if test -n "$ac_ct_RANLIB"; then
38449 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38452 for as_dir
in $PATH
38455 test -z "$as_dir" && as_dir
=.
38456 for ac_exec_ext
in '' $ac_executable_extensions; do
38457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38458 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38465 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38468 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38469 if test -n "$ac_ct_RANLIB"; then
38470 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38471 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38473 echo "$as_me:$LINENO: result: no" >&5
38474 echo "${ECHO_T}no" >&6
38477 RANLIB
=$ac_ct_RANLIB
38479 RANLIB
="$ac_cv_prog_RANLIB"
38482 # Find a good install program. We prefer a C program (faster),
38483 # so one script is as good as another. But avoid the broken or
38484 # incompatible versions:
38485 # SysV /etc/install, /usr/sbin/install
38486 # SunOS /usr/etc/install
38487 # IRIX /sbin/install
38489 # AmigaOS /C/install, which installs bootblocks on floppy discs
38490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38492 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38493 # OS/2's system install, which has a completely different semantic
38494 # ./install, which can be erroneously created by make from ./install.sh.
38495 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38496 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38497 if test -z "$INSTALL"; then
38498 if test "${ac_cv_path_install+set}" = set; then
38499 echo $ECHO_N "(cached) $ECHO_C" >&6
38501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38502 for as_dir
in $PATH
38505 test -z "$as_dir" && as_dir
=.
38506 # Account for people who put trailing slashes in PATH elements.
38508 .
/ | .
// | /cC
/* | \
38509 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38510 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38513 # OSF1 and SCO ODT 3.0 have their own names for install.
38514 # Don't use installbsd from OSF since it installs stuff as root
38516 for ac_prog
in ginstall scoinst
install; do
38517 for ac_exec_ext
in '' $ac_executable_extensions; do
38518 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38519 if test $ac_prog = install &&
38520 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38521 # AIX install. It has an incompatible calling convention.
38523 elif test $ac_prog = install &&
38524 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38525 # program-specific install script used by HP pwplus--don't use.
38528 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38540 if test "${ac_cv_path_install+set}" = set; then
38541 INSTALL
=$ac_cv_path_install
38543 # As a last resort, use the slow shell script. We don't cache a
38544 # path for INSTALL within a source directory, because that will
38545 # break other packages using the cache if that directory is
38546 # removed, or if the path is relative.
38547 INSTALL
=$ac_install_sh
38550 echo "$as_me:$LINENO: result: $INSTALL" >&5
38551 echo "${ECHO_T}$INSTALL" >&6
38553 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38554 # It thinks the first close brace ends the variable substitution.
38555 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38557 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38559 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38561 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38562 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38564 if test "$LN_S" = "ln -s"; then
38565 echo "$as_me:$LINENO: result: yes" >&5
38566 echo "${ECHO_T}yes" >&6
38568 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38569 echo "${ECHO_T}no, using $LN_S" >&6
38573 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38574 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38575 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38576 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38579 cat >conftest.
make <<\_ACEOF
38581 @
echo 'ac_maketemp="$(MAKE)"'
38583 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38584 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38585 if test -n "$ac_maketemp"; then
38586 eval ac_cv_prog_make_
${ac_make}_set
=yes
38588 eval ac_cv_prog_make_
${ac_make}_set
=no
38590 rm -f conftest.
make
38592 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38593 echo "$as_me:$LINENO: result: yes" >&5
38594 echo "${ECHO_T}yes" >&6
38597 echo "$as_me:$LINENO: result: no" >&5
38598 echo "${ECHO_T}no" >&6
38599 SET_MAKE
="MAKE=${MAKE-make}"
38604 if test -n "$ac_tool_prefix"; then
38605 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38606 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38607 echo "$as_me:$LINENO: checking for $ac_word" >&5
38608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38609 if test "${ac_cv_prog_AR+set}" = set; then
38610 echo $ECHO_N "(cached) $ECHO_C" >&6
38612 if test -n "$AR"; then
38613 ac_cv_prog_AR
="$AR" # Let the user override the test.
38615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38616 for as_dir
in $PATH
38619 test -z "$as_dir" && as_dir
=.
38620 for ac_exec_ext
in '' $ac_executable_extensions; do
38621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38622 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38632 if test -n "$AR"; then
38633 echo "$as_me:$LINENO: result: $AR" >&5
38634 echo "${ECHO_T}$AR" >&6
38636 echo "$as_me:$LINENO: result: no" >&5
38637 echo "${ECHO_T}no" >&6
38641 if test -z "$ac_cv_prog_AR"; then
38643 # Extract the first word of "ar", so it can be a program name with args.
38644 set dummy
ar; ac_word
=$2
38645 echo "$as_me:$LINENO: checking for $ac_word" >&5
38646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38647 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38648 echo $ECHO_N "(cached) $ECHO_C" >&6
38650 if test -n "$ac_ct_AR"; then
38651 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38654 for as_dir
in $PATH
38657 test -z "$as_dir" && as_dir
=.
38658 for ac_exec_ext
in '' $ac_executable_extensions; do
38659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38660 ac_cv_prog_ac_ct_AR
="ar"
38661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38667 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38670 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38671 if test -n "$ac_ct_AR"; then
38672 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38673 echo "${ECHO_T}$ac_ct_AR" >&6
38675 echo "$as_me:$LINENO: result: no" >&5
38676 echo "${ECHO_T}no" >&6
38681 AR
="$ac_cv_prog_AR"
38684 if test -n "$ac_tool_prefix"; then
38685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38686 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38687 echo "$as_me:$LINENO: checking for $ac_word" >&5
38688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38689 if test "${ac_cv_prog_STRIP+set}" = set; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38692 if test -n "$STRIP"; then
38693 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38696 for as_dir
in $PATH
38699 test -z "$as_dir" && as_dir
=.
38700 for ac_exec_ext
in '' $ac_executable_extensions; do
38701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38702 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38711 STRIP
=$ac_cv_prog_STRIP
38712 if test -n "$STRIP"; then
38713 echo "$as_me:$LINENO: result: $STRIP" >&5
38714 echo "${ECHO_T}$STRIP" >&6
38716 echo "$as_me:$LINENO: result: no" >&5
38717 echo "${ECHO_T}no" >&6
38721 if test -z "$ac_cv_prog_STRIP"; then
38723 # Extract the first word of "strip", so it can be a program name with args.
38724 set dummy strip
; ac_word
=$2
38725 echo "$as_me:$LINENO: checking for $ac_word" >&5
38726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38727 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38728 echo $ECHO_N "(cached) $ECHO_C" >&6
38730 if test -n "$ac_ct_STRIP"; then
38731 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38734 for as_dir
in $PATH
38737 test -z "$as_dir" && as_dir
=.
38738 for ac_exec_ext
in '' $ac_executable_extensions; do
38739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38740 ac_cv_prog_ac_ct_STRIP
="strip"
38741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38747 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38750 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38751 if test -n "$ac_ct_STRIP"; then
38752 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38753 echo "${ECHO_T}$ac_ct_STRIP" >&6
38755 echo "$as_me:$LINENO: result: no" >&5
38756 echo "${ECHO_T}no" >&6
38761 STRIP
="$ac_cv_prog_STRIP"
38764 if test -n "$ac_tool_prefix"; then
38765 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38766 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38767 echo "$as_me:$LINENO: checking for $ac_word" >&5
38768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38769 if test "${ac_cv_prog_NM+set}" = set; then
38770 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 if test -n "$NM"; then
38773 ac_cv_prog_NM
="$NM" # Let the user override the test.
38775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38776 for as_dir
in $PATH
38779 test -z "$as_dir" && as_dir
=.
38780 for ac_exec_ext
in '' $ac_executable_extensions; do
38781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38782 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38792 if test -n "$NM"; then
38793 echo "$as_me:$LINENO: result: $NM" >&5
38794 echo "${ECHO_T}$NM" >&6
38796 echo "$as_me:$LINENO: result: no" >&5
38797 echo "${ECHO_T}no" >&6
38801 if test -z "$ac_cv_prog_NM"; then
38803 # Extract the first word of "nm", so it can be a program name with args.
38804 set dummy nm
; ac_word
=$2
38805 echo "$as_me:$LINENO: checking for $ac_word" >&5
38806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38807 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38810 if test -n "$ac_ct_NM"; then
38811 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38814 for as_dir
in $PATH
38817 test -z "$as_dir" && as_dir
=.
38818 for ac_exec_ext
in '' $ac_executable_extensions; do
38819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38820 ac_cv_prog_ac_ct_NM
="nm"
38821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38827 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38830 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38831 if test -n "$ac_ct_NM"; then
38832 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38833 echo "${ECHO_T}$ac_ct_NM" >&6
38835 echo "$as_me:$LINENO: result: no" >&5
38836 echo "${ECHO_T}no" >&6
38841 NM
="$ac_cv_prog_NM"
38845 case ${BAKEFILE_HOST} in
38847 INSTALL_DIR
="mkdir -p"
38849 *) INSTALL_DIR
="$INSTALL -d"
38855 case ${BAKEFILE_HOST} in
38856 *-*-cygwin* | *-*-mingw32* )
38857 LDFLAGS_GUI
="-mwindows"
38863 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38864 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38865 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38866 echo $ECHO_N "(cached) $ECHO_C" >&6
38869 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38870 egrep -s GNU
> /dev
/null
); then
38871 bakefile_cv_prog_makeisgnu
="yes"
38873 bakefile_cv_prog_makeisgnu
="no"
38877 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38878 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38880 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38895 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38896 case "${BAKEFILE_HOST}" in
38897 *-*-cygwin* | *-*-mingw32* )
38903 *-pc-os2_emx | *-pc-os2-emx )
38906 powerpc
-*-darwin* )
38915 case "$BAKEFILE_FORCE_PLATFORM" in
38933 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38934 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38935 { (exit 1); exit 1; }; }
38948 # Check whether --enable-omf or --disable-omf was given.
38949 if test "${enable_omf+set}" = set; then
38950 enableval
="$enable_omf"
38951 bk_os2_use_omf
="$enableval"
38954 case "${BAKEFILE_HOST}" in
38956 CFLAGS
="$CFLAGS -fno-common"
38957 CXXFLAGS
="$CXXFLAGS -fno-common"
38960 *-pc-os2_emx | *-pc-os2-emx )
38961 if test "x$bk_os2_use_omf" = "xyes" ; then
38964 LDFLAGS
="-Zomf $LDFLAGS"
38965 CFLAGS
="-Zomf $CFLAGS"
38966 CXXFLAGS
="-Zomf $CXXFLAGS"
38976 SO_SUFFIX_MODULE
="so"
38981 DLLPREFIX_MODULE
=""
38984 case "${BAKEFILE_HOST}" in
38987 SO_SUFFIX_MODULE
="sl"
38991 SO_SUFFIX_MODULE
="a"
38993 *-*-cygwin* | *-*-mingw32* )
38995 SO_SUFFIX_MODULE
="dll"
38996 DLLIMP_SUFFIX
="dll.a"
39004 *-pc-os2_emx | *-pc-os2-emx )
39006 SO_SUFFIX_MODULE
="dll"
39007 DLLIMP_SUFFIX
=$OS2_LIBEXT
39011 LIBEXT
=".$OS2_LIBEXT"
39013 powerpc
-*-darwin* )
39015 SO_SUFFIX_MODULE
="bundle"
39019 if test "x$DLLIMP_SUFFIX" = "x" ; then
39020 DLLIMP_SUFFIX
="$SO_SUFFIX"
39033 SHARED_LD_CC
="\$(CC) -shared -o"
39034 SHARED_LD_CXX
="\$(CXX) -shared -o"
39036 if test "x$GCC" = "xyes"; then
39040 case "${BAKEFILE_HOST}" in
39042 if test "x$GCC" = "xyes"; then
39043 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
39044 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
39046 LDFLAGS
="$LDFLAGS -L/usr/lib"
39048 SHARED_LD_CC
="${CC} -b -o"
39049 SHARED_LD_CXX
="${CXX} -b -o"
39055 if test "x$GCC" != "xyes"; then
39056 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39057 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39058 if test "${bakefile_cv_prog_icc+set}" = set; then
39059 echo $ECHO_N "(cached) $ECHO_C" >&6
39062 cat >conftest.
$ac_ext <<_ACEOF
39065 cat confdefs.h
>>conftest.
$ac_ext
39066 cat >>conftest.
$ac_ext <<_ACEOF
39067 /* end confdefs.h. */
39073 #ifndef __INTEL_COMPILER
39081 rm -f conftest.
$ac_objext
39082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39083 (eval $ac_compile) 2>conftest.er1
39085 grep -v '^ *+' conftest.er1
>conftest.err
39087 cat conftest.err
>&5
39088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 (exit $ac_status); } &&
39090 { ac_try
='test -z "$ac_c_werror_flag"
39091 || test ! -s conftest.err'
39092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 (eval $ac_try) 2>&5
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); }; } &&
39097 { ac_try
='test -s conftest.$ac_objext'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; }; then
39103 bakefile_cv_prog_icc
=yes
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.
$ac_ext >&5
39108 bakefile_cv_prog_icc
=no
39111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39114 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39115 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39116 if test "$bakefile_cv_prog_icc" = "yes"; then
39123 if test "x$GCC" != xyes
; then
39124 SHARED_LD_CC
="${CC} -G -o"
39125 SHARED_LD_CXX
="${CXX} -G -o"
39132 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39133 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39134 if test "${wx_cv_gcc31+set}" = set; then
39135 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 cat >conftest.
$ac_ext <<_ACEOF
39141 cat confdefs.h
>>conftest.
$ac_ext
39142 cat >>conftest.
$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39149 #if (__GNUC__ < 3) || \
39150 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39158 rm -f conftest.
$ac_objext
39159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39160 (eval $ac_compile) 2>conftest.er1
39162 grep -v '^ *+' conftest.er1
>conftest.err
39164 cat conftest.err
>&5
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); } &&
39167 { ac_try
='test -z "$ac_c_werror_flag"
39168 || test ! -s conftest.err'
39169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39170 (eval $ac_try) 2>&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); }; } &&
39174 { ac_try
='test -s conftest.$ac_objext'
39175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39176 (eval $ac_try) 2>&5
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); }; }; then
39184 echo "$as_me: failed program was:" >&5
39185 sed 's/^/| /' conftest.
$ac_ext >&5
39192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39195 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39196 echo "${ECHO_T}$wx_cv_gcc31" >&6
39197 if test "$wx_cv_gcc31" = "no"; then
39200 cat <<EOF >shared-ld-sh
39202 #-----------------------------------------------------------------------------
39203 #-- Name: distrib/mac/shared-ld-sh
39204 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39205 #-- Author: Gilles Depeyrot
39206 #-- Copyright: (c) 2002 Gilles Depeyrot
39207 #-- Licence: any use permitted
39208 #-----------------------------------------------------------------------------
39213 linking_flag="-dynamiclib"
39215 while test ${D}# -gt 0; do
39222 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39223 # collect these options and values
39224 args="${D}{args} ${D}1 ${D}2"
39228 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39229 # collect these options
39230 args="${D}{args} ${D}1"
39233 -dynamiclib|-bundle)
39234 linking_flag="${D}1"
39238 echo "shared-ld: unhandled option '${D}1'"
39242 *.o | *.a | *.dylib)
39243 # collect object files
39244 objects="${D}{objects} ${D}1"
39248 echo "shared-ld: unhandled argument '${D}1'"
39257 # Link one module containing all the others
39259 if test ${D}{verbose} = 1; then
39260 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39262 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39264 if test ${D}{status} != 0; then
39269 # Link the shared library from the single module created
39271 if test ${D}{verbose} = 1; then
39272 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39274 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39276 if test ${D}{status} != 0; then
39281 # Remove intermediate module
39283 rm -f master.${D}${D}.o
39288 chmod +x shared
-ld-sh
39290 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39291 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39292 SHARED_LD_CXX
="$SHARED_LD_CC"
39293 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39295 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39296 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39297 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39298 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39301 PIC_FLAG
="-dynamic -fPIC"
39305 if test "x$GCC" != "xyes"; then
39306 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39307 set dummy makeC
++SharedLib
; ac_word
=$2
39308 echo "$as_me:$LINENO: checking for $ac_word" >&5
39309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39310 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39311 echo $ECHO_N "(cached) $ECHO_C" >&6
39313 if test -n "$AIX_CXX_LD"; then
39314 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39317 for as_dir
in $PATH
39320 test -z "$as_dir" && as_dir
=.
39321 for ac_exec_ext
in '' $ac_executable_extensions; do
39322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39323 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39330 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39333 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39334 if test -n "$AIX_CXX_LD"; then
39335 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39336 echo "${ECHO_T}$AIX_CXX_LD" >&6
39338 echo "$as_me:$LINENO: result: no" >&5
39339 echo "${ECHO_T}no" >&6
39342 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39343 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39348 SHARED_LD_CC
="${LD} -shared -o"
39349 SHARED_LD_CXX
="${LD} -shared -o"
39353 if test "x$GCC" != "xyes"; then
39358 *-*-cygwin* | *-*-mingw32* )
39362 *-pc-os2_emx | *-pc-os2-emx )
39363 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39364 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39368 cat <<EOF >dllar.sh
39371 # dllar - a tool to build both a .dll and an .a file
39372 # from a set of object (.o) files for EMX/OS2.
39374 # Written by Andrew Zabolotny, bit@freya.etu.ru
39375 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39377 # This script will accept a set of files on the command line.
39378 # All the public symbols from the .o files will be exported into
39379 # a .DEF file, then linker will be run (through gcc) against them to
39380 # build a shared library consisting of all given .o files. All libraries
39381 # (.a) will be first decompressed into component .o files then act as
39382 # described above. You can optionally give a description (-d "description")
39383 # which will be put into .DLL. To see the list of accepted options (as well
39384 # as command-line format) simply run this program without options. The .DLL
39385 # is built to be imported by name (there is no guarantee that new versions
39386 # of the library you build will have same ordinals for same symbols).
39388 # dllar is free software; you can redistribute it and/or modify
39389 # it under the terms of the GNU General Public License as published by
39390 # the Free Software Foundation; either version 2, or (at your option)
39391 # any later version.
39393 # dllar is distributed in the hope that it will be useful,
39394 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39395 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39396 # GNU General Public License for more details.
39398 # You should have received a copy of the GNU General Public License
39399 # along with dllar; see the file COPYING. If not, write to the Free
39400 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39403 # To successfuly run this program you will need:
39404 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39405 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39407 # (used to build the .dll)
39409 # (used to create .def file from .o files)
39411 # (used to create .a file from .def file)
39412 # - GNU text utilites (cat, sort, uniq)
39413 # used to process emxexp output
39414 # - GNU file utilities (mv, rm)
39416 # - lxlite (optional, see flag below)
39417 # (used for general .dll cleanup)
39424 # basnam, variant of basename, which does _not_ remove the path, _iff_
39425 # second argument (suffix to remove) is given
39429 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39432 echo ${D}1 | sed 's/'${D}2'${D}//'
39435 echo "error in basnam ${D}*"
39441 # Cleanup temporary files and output
39444 for i in ${D}inputFiles ; do
39447 rm -rf \`basnam ${D}i !\`
39454 # Kill result in case of failure as there is just to many stupid make/nmake
39455 # things out there which doesn't do this.
39456 if [] ${D}# -eq 0 []; then
39457 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39461 # Print usage and exit script with rc=1.
39463 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39464 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39465 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39466 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39467 echo ' []*.o[] []*.a[]'
39468 echo '*> "output_file" should have no extension.'
39469 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39470 echo ' The import library name is derived from this and is set to "name".a,'
39471 echo ' unless overridden by -import'
39472 echo '*> "importlib_name" should have no extension.'
39473 echo ' If it has the .o, or .a extension, it is automatically removed.'
39474 echo ' This name is used as the import library name and may be longer and'
39475 echo ' more descriptive than the DLL name which has to follow the old '
39476 echo ' 8.3 convention of FAT.'
39477 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39478 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39479 echo ' These flags will be put at the start of GCC command line.'
39480 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39481 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39482 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39483 echo ' If the last character of a symbol is "*", all symbols beginning'
39484 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39485 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39486 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39487 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39488 echo ' C runtime DLLs.'
39489 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39490 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39491 echo ' unchanged to GCC at the end of command line.'
39492 echo '*> If you create a DLL from a library and you do not specify -o,'
39493 echo ' the basename for DLL and import library will be set to library name,'
39494 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39495 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39496 echo ' library will be renamed into gcc_s.a.'
39499 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39500 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39505 # Execute a command.
39506 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39507 # @Uses Whatever CleanUp() uses.
39513 if [] ${D}rcCmd -ne 0 []; then
39514 echo "command failed, exit code="${D}rcCmd
39528 CFLAGS="-s -Zcrtdll"
39530 EXPORT_BY_ORDINALS=0
39535 case ${D}curDirS in
39539 curDirS=${D}{curDirS}"/"
39542 # Parse commandline
39544 while [] ${D}1 []; do
39547 EXPORT_BY_ORDINALS=1;
39574 exclude_symbols=${D}{exclude_symbols}${D}1" "
39578 library_flags=${D}{library_flags}${D}1" "
39594 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39598 if [] ${D}libsToLink -ne 0 []; then
39599 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39601 for file in ${D}1 ; do
39602 if [] -f ${D}file []; then
39603 inputFiles="${D}{inputFiles} ${D}file"
39607 if [] ${D}found -eq 0 []; then
39608 echo "ERROR: No file(s) found: "${D}1
39615 done # iterate cmdline words
39618 if [] -z "${D}inputFiles" []; then
39619 echo "dllar: no input files"
39623 # Now extract all .o files from .a files
39625 for file in ${D}inputFiles ; do
39636 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39641 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39643 if [] ${D}? -ne 0 []; then
39644 echo "Failed to create subdirectory ./${D}dirname"
39648 # Append '!' to indicate archive
39649 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39650 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39653 for subfile in ${D}dirname/*.o* ; do
39654 if [] -f ${D}subfile []; then
39656 if [] -s ${D}subfile []; then
39657 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39658 newInputFiles="${D}newInputFiles ${D}subfile"
39662 if [] ${D}found -eq 0 []; then
39663 echo "WARNING: there are no files in archive \'${D}file\'"
39667 newInputFiles="${D}{newInputFiles} ${D}file"
39671 inputFiles="${D}newInputFiles"
39673 # Output filename(s).
39675 if [] -z ${D}outFile []; then
39677 set outFile ${D}inputFiles; outFile=${D}2
39680 # If it is an archive, remove the '!' and the '_%' suffixes
39681 case ${D}outFile in
39683 outFile=\`basnam ${D}outFile _%!\`
39688 case ${D}outFile in
39690 outFile=\`basnam ${D}outFile .dll\`
39693 outFile=\`basnam ${D}outFile .DLL\`
39696 outFile=\`basnam ${D}outFile .o\`
39699 outFile=\`basnam ${D}outFile .obj\`
39702 outFile=\`basnam ${D}outFile .a\`
39705 outFile=\`basnam ${D}outFile .lib\`
39710 case ${D}outimpFile in
39712 outimpFile=\`basnam ${D}outimpFile .a\`
39715 outimpFile=\`basnam ${D}outimpFile .lib\`
39720 if [] -z ${D}outimpFile []; then
39721 outimpFile=${D}outFile
39723 defFile="${D}{outFile}.def"
39724 arcFile="${D}{outimpFile}.a"
39725 arcFile2="${D}{outimpFile}.lib"
39726 dllFile="${D}outFile"
39727 # Add suffix to dllFile later, first we need a version to use as
39728 # name in .def file.
39730 if [] ${D}do_backup -ne 0 [] ; then
39731 if [] -f ${D}arcFile [] ; then
39732 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39734 if [] -f ${D}arcFile2 [] ; then
39735 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39739 # Extract public symbols from all the object files.
39740 tmpdefFile=${D}{defFile}_%
39741 rm -f ${D}tmpdefFile
39742 for file in ${D}inputFiles ; do
39747 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39752 # Create the def file.
39754 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39755 dllFile="${D}dllFile.dll"
39756 if [] -n ${D}description []; then
39757 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39759 echo "EXPORTS" >> ${D}defFile
39761 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39762 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39764 # Checks if the export is ok or not.
39765 for word in ${D}exclude_symbols; do
39766 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39767 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39771 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39772 sed "=" < ${D}tmpdefFile | \
39776 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39778 ' > ${D}{tmpdefFile}%
39779 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39781 rm -f ${D}{tmpdefFile}%
39783 cat ${D}tmpdefFile >> ${D}defFile
39784 rm -f ${D}tmpdefFile
39786 # Do linking, create implib, and apply lxlite.
39788 for file in ${D}inputFiles ; do
39793 gccCmdl="${D}gccCmdl ${D}file"
39797 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39798 touch "${D}{outFile}.dll"
39800 doCommand "emximp -o ${D}arcFile ${D}defFile"
39801 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39803 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39806 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39808 doCommand "emxomf -s -l ${D}arcFile"
39818 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39826 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39827 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39828 { (exit 1); exit 1; }; }
39831 if test "x$PIC_FLAG" != "x" ; then
39832 PIC_FLAG
="$PIC_FLAG -DPIC"
39835 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39836 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39838 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39839 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39856 case "${BAKEFILE_HOST}" in
39858 SONAME_FLAG
="-Wl,-soname,"
39886 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39887 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39890 if test "x$GCC" = "xyes"; then
39893 case "${BAKEFILE_HOST}" in
39894 powerpc
-*-darwin* )
39895 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39898 DEPSFLAG_GCC
="-MMD"
39901 echo "$as_me:$LINENO: result: gcc" >&5
39902 echo "${ECHO_T}gcc" >&6
39904 echo "$as_me:$LINENO: result: none" >&5
39905 echo "${ECHO_T}none" >&6
39908 if test $DEPS_TRACKING = 1 ; then
39914 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39915 # script. It is used to track C/C++ files dependencies in portable way.
39917 # Permission is given to use this file in any way.
39919 DEPSMODE=${DEPSMODE}
39921 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39923 mkdir -p ${D}DEPSDIR
39925 if test ${D}DEPSMODE = gcc ; then
39926 ${D}* ${D}{DEPSFLAG_GCC}
39928 if test ${D}{status} != 0 ; then
39931 # move created file to the location we want it in:
39932 while test ${D}# -gt 0; do
39946 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39947 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39948 if test -f ${D}depfile ; then
39949 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39952 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39953 if test -f ${D}depfile ; then
39954 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39974 case ${BAKEFILE_HOST} in
39975 *-*-cygwin* | *-*-mingw32* )
39976 if test "$build" != "$host" ; then
39977 RESCOMP
=$host_alias-windres
39979 # Extract the first word of "windres", so it can be a program name with args.
39980 set dummy windres
; ac_word
=$2
39981 echo "$as_me:$LINENO: checking for $ac_word" >&5
39982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39983 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39984 echo $ECHO_N "(cached) $ECHO_C" >&6
39986 if test -n "$RESCOMP"; then
39987 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39990 for as_dir
in $PATH
39993 test -z "$as_dir" && as_dir
=.
39994 for ac_exec_ext
in '' $ac_executable_extensions; do
39995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39996 ac_cv_prog_RESCOMP
="windres"
39997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40003 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40006 RESCOMP
=$ac_cv_prog_RESCOMP
40007 if test -n "$RESCOMP"; then
40008 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40009 echo "${ECHO_T}$RESCOMP" >&6
40011 echo "$as_me:$LINENO: result: no" >&5
40012 echo "${ECHO_T}no" >&6
40019 # Extract the first word of "Rez", so it can be a program name with args.
40020 set dummy Rez
; ac_word
=$2
40021 echo "$as_me:$LINENO: checking for $ac_word" >&5
40022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40023 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40026 if test -n "$RESCOMP"; then
40027 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40030 for as_dir
in $PATH
40033 test -z "$as_dir" && as_dir
=.
40034 for ac_exec_ext
in '' $ac_executable_extensions; do
40035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40036 ac_cv_prog_RESCOMP
="Rez"
40037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40043 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40046 RESCOMP
=$ac_cv_prog_RESCOMP
40047 if test -n "$RESCOMP"; then
40048 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40049 echo "${ECHO_T}$RESCOMP" >&6
40051 echo "$as_me:$LINENO: result: no" >&5
40052 echo "${ECHO_T}no" >&6
40055 # Extract the first word of "SetFile", so it can be a program name with args.
40056 set dummy SetFile
; ac_word
=$2
40057 echo "$as_me:$LINENO: checking for $ac_word" >&5
40058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40059 if test "${ac_cv_prog_SETFILE+set}" = set; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 if test -n "$SETFILE"; then
40063 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40066 for as_dir
in $PATH
40069 test -z "$as_dir" && as_dir
=.
40070 for ac_exec_ext
in '' $ac_executable_extensions; do
40071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40072 ac_cv_prog_SETFILE
="SetFile"
40073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40079 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40082 SETFILE
=$ac_cv_prog_SETFILE
40083 if test -n "$SETFILE"; then
40084 echo "$as_me:$LINENO: result: $SETFILE" >&5
40085 echo "${ECHO_T}$SETFILE" >&6
40087 echo "$as_me:$LINENO: result: no" >&5
40088 echo "${ECHO_T}no" >&6
40098 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
40104 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
40108 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40109 if test "${enable_precomp_headers+set}" = set; then
40110 enableval
="$enable_precomp_headers"
40111 bk_use_pch
="$enableval"
40116 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40117 if test "x$GCC" = "xyes"; then
40118 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40119 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40120 cat >conftest.
$ac_ext <<_ACEOF
40123 cat confdefs.h
>>conftest.
$ac_ext
40124 cat >>conftest.
$ac_ext <<_ACEOF
40125 /* end confdefs.h. */
40131 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40132 #error "no pch support"
40135 #error "no pch support"
40137 #if (__GNUC__ == 3) && \
40138 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40139 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40140 #error "no pch support"
40147 rm -f conftest.
$ac_objext
40148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40149 (eval $ac_compile) 2>conftest.er1
40151 grep -v '^ *+' conftest.er1
>conftest.err
40153 cat conftest.err
>&5
40154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40155 (exit $ac_status); } &&
40156 { ac_try
='test -z "$ac_c_werror_flag"
40157 || test ! -s conftest.err'
40158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40159 (eval $ac_try) 2>&5
40161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40162 (exit $ac_status); }; } &&
40163 { ac_try
='test -s conftest.$ac_objext'
40164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40165 (eval $ac_try) 2>&5
40167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40168 (exit $ac_status); }; }; then
40170 echo "$as_me:$LINENO: result: yes" >&5
40171 echo "${ECHO_T}yes" >&6
40175 echo "$as_me: failed program was:" >&5
40176 sed 's/^/| /' conftest.
$ac_ext >&5
40179 echo "$as_me:$LINENO: result: no" >&5
40180 echo "${ECHO_T}no" >&6
40183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40184 if test $GCC_PCH = 1 ; then
40185 cat <<EOF >bk-make-pch
40188 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40189 # script. It is used to generated precompiled headers.
40191 # Permission is given to use this file in any way.
40200 while test \${#} -gt 0; do
40203 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40204 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40205 headerfile="\${incdir}/\${header}"
40209 compiler="\${compiler} \${1}"
40213 if test "x\${headerfile}" = "x" ; then
40214 echo "error: can't find header \${header} in include paths" >2
40216 if test -f \${outfile} ; then
40219 mkdir -p \`dirname \${outfile}\`
40221 depsfile=".deps/\`basename \${outfile}\`.d"
40223 # can do this because gcc is >= 3.4:
40224 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40228 chmod +x bk
-make-pch
40239 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40240 if test "${enable_precomp_headers+set}" = set; then
40241 enableval
="$enable_precomp_headers"
40242 bk_use_pch
="$enableval"
40247 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40248 if test "x$GCC" = "xyes"; then
40249 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40250 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40251 cat >conftest.
$ac_ext <<_ACEOF
40254 cat confdefs.h
>>conftest.
$ac_ext
40255 cat >>conftest.
$ac_ext <<_ACEOF
40256 /* end confdefs.h. */
40262 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40263 #error "no pch support"
40266 #error "no pch support"
40268 #if (__GNUC__ == 3) && \
40269 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40270 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40271 #error "no pch support"
40278 rm -f conftest.
$ac_objext
40279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40280 (eval $ac_compile) 2>conftest.er1
40282 grep -v '^ *+' conftest.er1
>conftest.err
40284 cat conftest.err
>&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); } &&
40287 { ac_try
='test -z "$ac_c_werror_flag"
40288 || test ! -s conftest.err'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; } &&
40294 { ac_try
='test -s conftest.$ac_objext'
40295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296 (eval $ac_try) 2>&5
40298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299 (exit $ac_status); }; }; then
40301 echo "$as_me:$LINENO: result: yes" >&5
40302 echo "${ECHO_T}yes" >&6
40306 echo "$as_me: failed program was:" >&5
40307 sed 's/^/| /' conftest.
$ac_ext >&5
40310 echo "$as_me:$LINENO: result: no" >&5
40311 echo "${ECHO_T}no" >&6
40314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40315 if test $GCC_PCH = 1 ; then
40316 cat <<EOF >bk-make-pch
40319 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40320 # script. It is used to generated precompiled headers.
40322 # Permission is given to use this file in any way.
40331 while test \${#} -gt 0; do
40334 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40335 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40336 headerfile="\${incdir}/\${header}"
40340 compiler="\${compiler} \${1}"
40344 if test "x\${headerfile}" = "x" ; then
40345 echo "error: can't find header \${header} in include paths" >2
40347 if test -f \${outfile} ; then
40350 mkdir -p \`dirname \${outfile}\`
40352 depsfile=".deps/\`basename \${outfile}\`.d"
40354 # can do this because gcc is >= 3.4:
40355 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40359 chmod +x bk
-make-pch
40366 COND_BUILD_DEBUG
="#"
40367 if test "x$BUILD" = "xdebug" ; then
40368 COND_BUILD_DEBUG
=""
40371 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40372 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40373 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40376 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40377 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40378 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40381 COND_BUILD_DEBUG_UNICODE_0
="#"
40382 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40383 COND_BUILD_DEBUG_UNICODE_0
=""
40386 COND_BUILD_DEBUG_UNICODE_1
="#"
40387 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40388 COND_BUILD_DEBUG_UNICODE_1
=""
40391 COND_BUILD_RELEASE
="#"
40392 if test "x$BUILD" = "xrelease" ; then
40393 COND_BUILD_RELEASE
=""
40396 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40397 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40398 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40401 COND_BUILD_RELEASE_UNICODE_0
="#"
40402 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40403 COND_BUILD_RELEASE_UNICODE_0
=""
40406 COND_BUILD_RELEASE_UNICODE_1
="#"
40407 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40408 COND_BUILD_RELEASE_UNICODE_1
=""
40411 COND_DEBUG_FLAG_1
="#"
40412 if test "x$DEBUG_FLAG" = "x1" ; then
40413 COND_DEBUG_FLAG_1
=""
40416 COND_DEBUG_INFO_0
="#"
40417 if test "x$DEBUG_INFO" = "x0" ; then
40418 COND_DEBUG_INFO_0
=""
40421 COND_DEBUG_INFO_1
="#"
40422 if test "x$DEBUG_INFO" = "x1" ; then
40423 COND_DEBUG_INFO_1
=""
40426 COND_DEPS_TRACKING_0
="#"
40427 if test "x$DEPS_TRACKING" = "x0" ; then
40428 COND_DEPS_TRACKING_0
=""
40431 COND_DEPS_TRACKING_1
="#"
40432 if test "x$DEPS_TRACKING" = "x1" ; then
40433 COND_DEPS_TRACKING_1
=""
40437 if test "x$GCC_PCH" = "x1" ; then
40441 COND_MONOLITHIC_0
="#"
40442 if test "x$MONOLITHIC" = "x0" ; then
40443 COND_MONOLITHIC_0
=""
40446 COND_MONOLITHIC_0_SHARED_0
="#"
40447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40448 COND_MONOLITHIC_0_SHARED_0
=""
40451 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40453 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40456 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40458 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40461 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40463 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40466 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40468 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40471 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40473 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40476 COND_MONOLITHIC_0_SHARED_1
="#"
40477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40478 COND_MONOLITHIC_0_SHARED_1
=""
40481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40482 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40487 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40491 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40492 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40493 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40496 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40497 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40498 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40501 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40502 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40503 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40506 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40507 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40508 COND_MONOLITHIC_0_USE_ODBC_1
=""
40511 COND_MONOLITHIC_1
="#"
40512 if test "x$MONOLITHIC" = "x1" ; then
40513 COND_MONOLITHIC_1
=""
40516 COND_MONOLITHIC_1_SHARED_0
="#"
40517 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40518 COND_MONOLITHIC_1_SHARED_0
=""
40521 COND_MONOLITHIC_1_SHARED_1
="#"
40522 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40523 COND_MONOLITHIC_1_SHARED_1
=""
40526 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40527 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40528 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40531 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40532 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40533 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40536 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40537 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40538 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40541 COND_PLATFORM_MACOSX_1
="#"
40542 if test "x$PLATFORM_MACOSX" = "x1" ; then
40543 COND_PLATFORM_MACOSX_1
=""
40546 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40547 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40548 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40551 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40552 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40553 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40556 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40557 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40558 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40561 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40562 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40563 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40566 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40567 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40568 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40571 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40572 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40573 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40576 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40577 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40578 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40581 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40582 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40583 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40586 COND_PLATFORM_MACOS_1
="#"
40587 if test "x$PLATFORM_MACOS" = "x1" ; then
40588 COND_PLATFORM_MACOS_1
=""
40591 COND_PLATFORM_MAC_1
="#"
40592 if test "x$PLATFORM_MAC" = "x1" ; then
40593 COND_PLATFORM_MAC_1
=""
40596 COND_PLATFORM_OS2_1
="#"
40597 if test "x$PLATFORM_OS2" = "x1" ; then
40598 COND_PLATFORM_OS2_1
=""
40601 COND_PLATFORM_UNIX_0
="#"
40602 if test "x$PLATFORM_UNIX" = "x0" ; then
40603 COND_PLATFORM_UNIX_0
=""
40606 COND_PLATFORM_UNIX_1
="#"
40607 if test "x$PLATFORM_UNIX" = "x1" ; then
40608 COND_PLATFORM_UNIX_1
=""
40611 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40612 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40613 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40616 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40617 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40618 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40621 COND_PLATFORM_WIN32_0
="#"
40622 if test "x$PLATFORM_WIN32" = "x0" ; then
40623 COND_PLATFORM_WIN32_0
=""
40626 COND_PLATFORM_WIN32_1
="#"
40627 if test "x$PLATFORM_WIN32" = "x1" ; then
40628 COND_PLATFORM_WIN32_1
=""
40632 if test "x$SHARED" = "x0" ; then
40636 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40637 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40638 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40641 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40642 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40643 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40646 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40647 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40648 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40651 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40652 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40653 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40657 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40658 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40661 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40662 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40663 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40666 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40667 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40668 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40671 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40672 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40673 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40676 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40677 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40678 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40681 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40682 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40683 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40686 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40687 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40688 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40692 if test "x$SHARED" = "x1" ; then
40696 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40697 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40698 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40702 if test "x$TOOLKIT" = "x" ; then
40706 COND_TOOLKIT_COCOA
="#"
40707 if test "x$TOOLKIT" = "xCOCOA" ; then
40708 COND_TOOLKIT_COCOA
=""
40711 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40712 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40713 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40716 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40717 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40718 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40721 COND_TOOLKIT_GTK
="#"
40722 if test "x$TOOLKIT" = "xGTK" ; then
40723 COND_TOOLKIT_GTK
=""
40726 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40727 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40728 COND_TOOLKIT_GTK_USE_GUI_1
=""
40731 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40732 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40733 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40736 COND_TOOLKIT_MAC
="#"
40737 if test "x$TOOLKIT" = "xMAC" ; then
40738 COND_TOOLKIT_MAC
=""
40741 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40742 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40743 COND_TOOLKIT_MAC_USE_GUI_1
=""
40746 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40747 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40748 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40751 COND_TOOLKIT_MGL
="#"
40752 if test "x$TOOLKIT" = "xMGL" ; then
40753 COND_TOOLKIT_MGL
=""
40756 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40757 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40758 COND_TOOLKIT_MGL_USE_GUI_1
=""
40761 COND_TOOLKIT_MOTIF
="#"
40762 if test "x$TOOLKIT" = "xMOTIF" ; then
40763 COND_TOOLKIT_MOTIF
=""
40766 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40767 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40768 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40771 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40772 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40773 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40776 COND_TOOLKIT_MSW
="#"
40777 if test "x$TOOLKIT" = "xMSW" ; then
40778 COND_TOOLKIT_MSW
=""
40781 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40782 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40783 COND_TOOLKIT_MSW_USE_GUI_1
=""
40786 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40787 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40788 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40791 COND_TOOLKIT_PM
="#"
40792 if test "x$TOOLKIT" = "xPM" ; then
40796 COND_TOOLKIT_PM_USE_GUI_1
="#"
40797 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40798 COND_TOOLKIT_PM_USE_GUI_1
=""
40801 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40802 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40803 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40806 COND_TOOLKIT_WINCE
="#"
40807 if test "x$TOOLKIT" = "xWINCE" ; then
40808 COND_TOOLKIT_WINCE
=""
40811 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40812 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40813 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40816 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40817 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40818 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40821 COND_TOOLKIT_X11
="#"
40822 if test "x$TOOLKIT" = "xX11" ; then
40823 COND_TOOLKIT_X11
=""
40826 COND_TOOLKIT_X11_USE_GUI_1
="#"
40827 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40828 COND_TOOLKIT_X11_USE_GUI_1
=""
40832 if test "x$UNICODE" = "x1" ; then
40836 COND_USE_EXCEPTIONS_0
="#"
40837 if test "x$USE_EXCEPTIONS" = "x0" ; then
40838 COND_USE_EXCEPTIONS_0
=""
40841 COND_USE_EXCEPTIONS_1
="#"
40842 if test "x$USE_EXCEPTIONS" = "x1" ; then
40843 COND_USE_EXCEPTIONS_1
=""
40847 if test "x$USE_GUI" = "x0" ; then
40852 if test "x$USE_GUI" = "x1" ; then
40856 COND_USE_GUI_1_WXUNIV_0
="#"
40857 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40858 COND_USE_GUI_1_WXUNIV_0
=""
40861 COND_USE_GUI_1_WXUNIV_1
="#"
40862 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40863 COND_USE_GUI_1_WXUNIV_1
=""
40866 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40867 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40868 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40871 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40872 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40873 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40876 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40877 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40878 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40881 COND_USE_ODBC_1
="#"
40882 if test "x$USE_ODBC" = "x1" ; then
40886 COND_USE_OPENGL_1
="#"
40887 if test "x$USE_OPENGL" = "x1" ; then
40888 COND_USE_OPENGL_1
=""
40891 COND_USE_PLUGINS_0
="#"
40892 if test "x$USE_PLUGINS" = "x0" ; then
40893 COND_USE_PLUGINS_0
=""
40896 COND_USE_SOSYMLINKS_1
="#"
40897 if test "x$USE_SOSYMLINKS" = "x1" ; then
40898 COND_USE_SOSYMLINKS_1
=""
40901 COND_USE_SOVERLINUX_1
="#"
40902 if test "x$USE_SOVERLINUX" = "x1" ; then
40903 COND_USE_SOVERLINUX_1
=""
40906 COND_USE_SOVERSION_0
="#"
40907 if test "x$USE_SOVERSION" = "x0" ; then
40908 COND_USE_SOVERSION_0
=""
40911 COND_USE_SOVERSOLARIS_1
="#"
40912 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40913 COND_USE_SOVERSOLARIS_1
=""
40917 if test "x$USE_XRC" = "x1" ; then
40921 COND_WITH_PLUGIN_SDL_1
="#"
40922 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40923 COND_WITH_PLUGIN_SDL_1
=""
40927 if test "x$WXUNIV" = "x1" ; then
40931 COND_WXUSE_EXPAT_BUILTIN
="#"
40932 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40933 COND_WXUSE_EXPAT_BUILTIN
=""
40936 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40937 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40938 COND_WXUSE_LIBJPEG_BUILTIN
=""
40941 COND_WXUSE_LIBPNG_BUILTIN
="#"
40942 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40943 COND_WXUSE_LIBPNG_BUILTIN
=""
40946 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40947 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40948 COND_WXUSE_LIBTIFF_BUILTIN
=""
40951 COND_WXUSE_ODBC_BUILTIN
="#"
40952 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40953 COND_WXUSE_ODBC_BUILTIN
=""
40956 COND_WXUSE_REGEX_BUILTIN
="#"
40957 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40958 COND_WXUSE_REGEX_BUILTIN
=""
40961 COND_WXUSE_ZLIB_BUILTIN
="#"
40962 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40963 COND_WXUSE_ZLIB_BUILTIN
=""
40966 COND_BUILD_DEBUG
="#"
40967 if test "x$BUILD" = "xdebug" ; then
40968 COND_BUILD_DEBUG
=""
40971 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40972 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40973 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40976 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40977 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40978 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40981 COND_BUILD_DEBUG_UNICODE_0
="#"
40982 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40983 COND_BUILD_DEBUG_UNICODE_0
=""
40986 COND_BUILD_DEBUG_UNICODE_1
="#"
40987 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40988 COND_BUILD_DEBUG_UNICODE_1
=""
40991 COND_BUILD_RELEASE
="#"
40992 if test "x$BUILD" = "xrelease" ; then
40993 COND_BUILD_RELEASE
=""
40996 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40997 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40998 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
41001 COND_BUILD_RELEASE_UNICODE_0
="#"
41002 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41003 COND_BUILD_RELEASE_UNICODE_0
=""
41006 COND_BUILD_RELEASE_UNICODE_1
="#"
41007 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41008 COND_BUILD_RELEASE_UNICODE_1
=""
41011 COND_DEBUG_FLAG_1
="#"
41012 if test "x$DEBUG_FLAG" = "x1" ; then
41013 COND_DEBUG_FLAG_1
=""
41016 COND_DEBUG_INFO_0
="#"
41017 if test "x$DEBUG_INFO" = "x0" ; then
41018 COND_DEBUG_INFO_0
=""
41021 COND_DEBUG_INFO_1
="#"
41022 if test "x$DEBUG_INFO" = "x1" ; then
41023 COND_DEBUG_INFO_1
=""
41026 COND_DEPS_TRACKING_0
="#"
41027 if test "x$DEPS_TRACKING" = "x0" ; then
41028 COND_DEPS_TRACKING_0
=""
41031 COND_DEPS_TRACKING_1
="#"
41032 if test "x$DEPS_TRACKING" = "x1" ; then
41033 COND_DEPS_TRACKING_1
=""
41037 if test "x$GCC_PCH" = "x1" ; then
41041 COND_MONOLITHIC_0
="#"
41042 if test "x$MONOLITHIC" = "x0" ; then
41043 COND_MONOLITHIC_0
=""
41046 COND_MONOLITHIC_0_SHARED_0
="#"
41047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41048 COND_MONOLITHIC_0_SHARED_0
=""
41051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
41052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
41056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
41057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
41061 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
41062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41063 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
41066 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
41067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41068 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
41071 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
41072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41073 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
41076 COND_MONOLITHIC_0_SHARED_1
="#"
41077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41078 COND_MONOLITHIC_0_SHARED_1
=""
41081 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
41082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41083 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
41086 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
41087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41088 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
41091 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
41092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41093 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
41096 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
41097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41098 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
41101 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
41102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41103 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
41106 COND_MONOLITHIC_0_USE_ODBC_1
="#"
41107 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41108 COND_MONOLITHIC_0_USE_ODBC_1
=""
41111 COND_MONOLITHIC_1
="#"
41112 if test "x$MONOLITHIC" = "x1" ; then
41113 COND_MONOLITHIC_1
=""
41116 COND_MONOLITHIC_1_SHARED_0
="#"
41117 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41118 COND_MONOLITHIC_1_SHARED_0
=""
41121 COND_MONOLITHIC_1_SHARED_1
="#"
41122 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41123 COND_MONOLITHIC_1_SHARED_1
=""
41126 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
41127 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41128 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41131 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41132 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41133 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41136 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41137 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41138 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41141 COND_PLATFORM_MACOSX_1
="#"
41142 if test "x$PLATFORM_MACOSX" = "x1" ; then
41143 COND_PLATFORM_MACOSX_1
=""
41146 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41147 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41148 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41151 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41152 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41153 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41156 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41157 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41158 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41161 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
41162 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41163 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
41166 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
41167 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41168 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
41171 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41172 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41173 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41176 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41177 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41178 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41181 COND_PLATFORM_MAC_1
="#"
41182 if test "x$PLATFORM_MAC" = "x1" ; then
41183 COND_PLATFORM_MAC_1
=""
41186 COND_PLATFORM_OS2_1
="#"
41187 if test "x$PLATFORM_OS2" = "x1" ; then
41188 COND_PLATFORM_OS2_1
=""
41191 COND_PLATFORM_UNIX_0
="#"
41192 if test "x$PLATFORM_UNIX" = "x0" ; then
41193 COND_PLATFORM_UNIX_0
=""
41196 COND_PLATFORM_UNIX_1
="#"
41197 if test "x$PLATFORM_UNIX" = "x1" ; then
41198 COND_PLATFORM_UNIX_1
=""
41201 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41202 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41203 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41206 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41207 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41208 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41211 COND_PLATFORM_WIN32_0
="#"
41212 if test "x$PLATFORM_WIN32" = "x0" ; then
41213 COND_PLATFORM_WIN32_0
=""
41216 COND_PLATFORM_WIN32_1
="#"
41217 if test "x$PLATFORM_WIN32" = "x1" ; then
41218 COND_PLATFORM_WIN32_1
=""
41222 if test "x$SHARED" = "x0" ; then
41226 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41227 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41228 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41231 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41232 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41233 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41236 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41237 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41238 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41241 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41242 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41243 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41246 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41247 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41248 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41251 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41252 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41253 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41256 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41257 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41258 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41261 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41262 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41263 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41267 if test "x$SHARED" = "x1" ; then
41271 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41272 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41273 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41276 COND_TOOLKIT_COCOA
="#"
41277 if test "x$TOOLKIT" = "xCOCOA" ; then
41278 COND_TOOLKIT_COCOA
=""
41281 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41282 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41283 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41286 COND_TOOLKIT_GTK
="#"
41287 if test "x$TOOLKIT" = "xGTK" ; then
41288 COND_TOOLKIT_GTK
=""
41291 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41292 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41293 COND_TOOLKIT_GTK_USE_GUI_1
=""
41296 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41297 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41298 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41301 COND_TOOLKIT_MAC
="#"
41302 if test "x$TOOLKIT" = "xMAC" ; then
41303 COND_TOOLKIT_MAC
=""
41306 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41307 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41308 COND_TOOLKIT_MAC_USE_GUI_1
=""
41311 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41312 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41313 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41316 COND_TOOLKIT_MAC_WXUNIV_0
="#"
41317 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41318 COND_TOOLKIT_MAC_WXUNIV_0
=""
41321 COND_TOOLKIT_MGL
="#"
41322 if test "x$TOOLKIT" = "xMGL" ; then
41323 COND_TOOLKIT_MGL
=""
41326 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41327 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41328 COND_TOOLKIT_MGL_USE_GUI_1
=""
41331 COND_TOOLKIT_MOTIF
="#"
41332 if test "x$TOOLKIT" = "xMOTIF" ; then
41333 COND_TOOLKIT_MOTIF
=""
41336 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41337 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41338 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41341 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41342 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41343 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41346 COND_TOOLKIT_MSW
="#"
41347 if test "x$TOOLKIT" = "xMSW" ; then
41348 COND_TOOLKIT_MSW
=""
41351 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41352 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41353 COND_TOOLKIT_MSW_USE_GUI_1
=""
41356 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41357 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41358 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41361 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41362 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41363 COND_TOOLKIT_MSW_WXUNIV_0
=""
41366 COND_TOOLKIT_PM
="#"
41367 if test "x$TOOLKIT" = "xPM" ; then
41371 COND_TOOLKIT_PM_USE_GUI_1
="#"
41372 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41373 COND_TOOLKIT_PM_USE_GUI_1
=""
41376 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41377 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41378 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41381 COND_TOOLKIT_PM_WXUNIV_0
="#"
41382 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41383 COND_TOOLKIT_PM_WXUNIV_0
=""
41386 COND_TOOLKIT_WINCE
="#"
41387 if test "x$TOOLKIT" = "xWINCE" ; then
41388 COND_TOOLKIT_WINCE
=""
41391 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41392 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41393 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41396 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41397 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41398 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41401 COND_TOOLKIT_X11
="#"
41402 if test "x$TOOLKIT" = "xX11" ; then
41403 COND_TOOLKIT_X11
=""
41406 COND_TOOLKIT_X11_USE_GUI_1
="#"
41407 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41408 COND_TOOLKIT_X11_USE_GUI_1
=""
41412 if test "x$UNICODE" = "x1" ; then
41416 COND_USE_EXCEPTIONS_0
="#"
41417 if test "x$USE_EXCEPTIONS" = "x0" ; then
41418 COND_USE_EXCEPTIONS_0
=""
41421 COND_USE_EXCEPTIONS_1
="#"
41422 if test "x$USE_EXCEPTIONS" = "x1" ; then
41423 COND_USE_EXCEPTIONS_1
=""
41427 if test "x$USE_GUI" = "x0" ; then
41432 if test "x$USE_GUI" = "x1" ; then
41436 COND_USE_GUI_1_WXUNIV_0
="#"
41437 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41438 COND_USE_GUI_1_WXUNIV_0
=""
41441 COND_USE_GUI_1_WXUNIV_1
="#"
41442 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41443 COND_USE_GUI_1_WXUNIV_1
=""
41446 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41447 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41448 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41451 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41452 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41453 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41456 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41457 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41458 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41461 COND_USE_ODBC_1
="#"
41462 if test "x$USE_ODBC" = "x1" ; then
41466 COND_USE_PLUGINS_0
="#"
41467 if test "x$USE_PLUGINS" = "x0" ; then
41468 COND_USE_PLUGINS_0
=""
41471 COND_USE_SOSYMLINKS_1
="#"
41472 if test "x$USE_SOSYMLINKS" = "x1" ; then
41473 COND_USE_SOSYMLINKS_1
=""
41476 COND_USE_SOVERLINUX_1
="#"
41477 if test "x$USE_SOVERLINUX" = "x1" ; then
41478 COND_USE_SOVERLINUX_1
=""
41481 COND_USE_SOVERSION_0
="#"
41482 if test "x$USE_SOVERSION" = "x0" ; then
41483 COND_USE_SOVERSION_0
=""
41486 COND_USE_SOVERSOLARIS_1
="#"
41487 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41488 COND_USE_SOVERSOLARIS_1
=""
41491 COND_WITH_PLUGIN_SDL_1
="#"
41492 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41493 COND_WITH_PLUGIN_SDL_1
=""
41497 if test "x$WXUNIV" = "x1" ; then
41501 COND_WXUSE_EXPAT_BUILTIN
="#"
41502 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41503 COND_WXUSE_EXPAT_BUILTIN
=""
41506 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41507 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41508 COND_WXUSE_LIBJPEG_BUILTIN
=""
41511 COND_WXUSE_LIBPNG_BUILTIN
="#"
41512 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41513 COND_WXUSE_LIBPNG_BUILTIN
=""
41516 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41517 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41518 COND_WXUSE_LIBTIFF_BUILTIN
=""
41521 COND_WXUSE_ODBC_BUILTIN
="#"
41522 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41523 COND_WXUSE_ODBC_BUILTIN
=""
41526 COND_WXUSE_REGEX_BUILTIN
="#"
41527 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41528 COND_WXUSE_REGEX_BUILTIN
=""
41531 COND_WXUSE_ZLIB_BUILTIN
="#"
41532 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41533 COND_WXUSE_ZLIB_BUILTIN
=""
41538 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41539 { { 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
41540 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;}
41541 { (exit 1); exit 1; }; }
41545 if test "$wxUSE_SHARED" = "yes"; then
41547 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41548 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41552 EXE_LINKER
="$CXX -o"
41556 GCC_PRAGMA_FLAGS
=""
41557 if test $GCC_PCH = 1 ; then
41558 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41561 powerpc
-*-darwin* )
41562 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41565 if test "$wxUSE_STL" = "yes" -o \
41566 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41567 "$wxUSE_NO_RTTI" != "yes"; then
41568 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41569 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41570 cat >conftest.
$ac_ext <<_ACEOF
41573 cat confdefs.h
>>conftest.
$ac_ext
41574 cat >>conftest.
$ac_ext <<_ACEOF
41575 /* end confdefs.h. */
41580 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41581 #error "Not GCC 3.2 or greater"
41588 rm -f conftest.
$ac_objext
41589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41590 (eval $ac_compile) 2>conftest.er1
41592 grep -v '^ *+' conftest.er1
>conftest.err
41594 cat conftest.err
>&5
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); } &&
41597 { ac_try
='test -z "$ac_c_werror_flag"
41598 || test ! -s conftest.err'
41599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41600 (eval $ac_try) 2>&5
41602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41603 (exit $ac_status); }; } &&
41604 { ac_try
='test -s conftest.$ac_objext'
41605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606 (eval $ac_try) 2>&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); }; }; then
41610 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41611 echo "$as_me:$LINENO: result: yes" >&5
41612 echo "${ECHO_T}yes" >&6
41614 echo "$as_me: failed program was:" >&5
41615 sed 's/^/| /' conftest.
$ac_ext >&5
41617 echo "$as_me:$LINENO: result: no" >&5
41618 echo "${ECHO_T}no" >&6
41620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41625 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41628 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41692 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41693 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41694 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41695 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41696 echo $ECHO_N "(cached) $ECHO_C" >&6
41698 cat >conftest.
make <<\_ACEOF
41700 @
echo 'ac_maketemp="$(MAKE)"'
41702 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41703 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41704 if test -n "$ac_maketemp"; then
41705 eval ac_cv_prog_make_
${ac_make}_set
=yes
41707 eval ac_cv_prog_make_
${ac_make}_set
=no
41709 rm -f conftest.
make
41711 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41712 echo "$as_me:$LINENO: result: yes" >&5
41713 echo "${ECHO_T}yes" >&6
41716 echo "$as_me:$LINENO: result: no" >&5
41717 echo "${ECHO_T}no" >&6
41718 SET_MAKE
="MAKE=${MAKE-make}"
41723 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41726 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41729 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41732 ac_config_files
="$ac_config_files version-script Makefile"
41735 ac_config_commands
="$ac_config_commands wx-config
41741 if test "$wxUSE_GUI" = "yes"; then
41742 SUBDIRS
="samples demos utils contrib"
41743 else SUBDIRS
="samples utils"
41748 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41749 if test "${with_cppunit_prefix+set}" = set; then
41750 withval
="$with_cppunit_prefix"
41751 cppunit_config_prefix
="$withval"
41753 cppunit_config_prefix
=""
41756 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41757 if test "${with_cppunit_exec_prefix+set}" = set; then
41758 withval
="$with_cppunit_exec_prefix"
41759 cppunit_config_exec_prefix
="$withval"
41761 cppunit_config_exec_prefix
=""
41764 if test x
$cppunit_config_exec_prefix != x
; then
41765 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41766 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41767 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41770 if test x
$cppunit_config_prefix != x
; then
41771 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41772 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41773 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41777 # Extract the first word of "cppunit-config", so it can be a program name with args.
41778 set dummy cppunit
-config; ac_word
=$2
41779 echo "$as_me:$LINENO: checking for $ac_word" >&5
41780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41781 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41784 case $CPPUNIT_CONFIG in
41786 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41790 for as_dir
in $PATH
41793 test -z "$as_dir" && as_dir
=.
41794 for ac_exec_ext
in '' $ac_executable_extensions; do
41795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41796 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41803 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41807 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41809 if test -n "$CPPUNIT_CONFIG"; then
41810 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41811 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41813 echo "$as_me:$LINENO: result: no" >&5
41814 echo "${ECHO_T}no" >&6
41817 cppunit_version_min
=1.8.0
41819 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41820 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41822 if test "$CPPUNIT_CONFIG" = "no" ; then
41825 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41826 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41827 cppunit_version
=`$CPPUNIT_CONFIG --version`
41829 cppunit_major_version
=`echo $cppunit_version | \
41830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41831 cppunit_minor_version
=`echo $cppunit_version | \
41832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41833 cppunit_micro_version
=`echo $cppunit_version | \
41834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41836 cppunit_major_min
=`echo $cppunit_version_min | \
41837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41838 cppunit_minor_min
=`echo $cppunit_version_min | \
41839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41840 cppunit_micro_min
=`echo $cppunit_version_min | \
41841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41843 cppunit_version_proper
=`expr \
41844 $cppunit_major_version \> $cppunit_major_min \| \
41845 $cppunit_major_version \= $cppunit_major_min \& \
41846 $cppunit_minor_version \> $cppunit_minor_min \| \
41847 $cppunit_major_version \= $cppunit_major_min \& \
41848 $cppunit_minor_version \= $cppunit_minor_min \& \
41849 $cppunit_micro_version \>= $cppunit_micro_min `
41851 if test "$cppunit_version_proper" = "1" ; then
41852 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41853 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41855 echo "$as_me:$LINENO: result: no" >&5
41856 echo "${ECHO_T}no" >&6
41861 if test "x$no_cppunit" = x
; then
41862 SUBDIRS
="$SUBDIRS tests"
41873 for subdir
in `echo $SUBDIRS`; do
41874 if test -d ${srcdir}/${subdir} ; then
41875 if test "$wxUSE_GUI" = "yes"; then
41876 if test ${subdir} = "samples"; then
41877 makefiles
="samples/Makefile.in $makefiles"
41878 for sample
in `echo $SAMPLES_SUBDIRS`; do
41879 if test -d $srcdir/samples
/$sample; then
41880 makefiles
="samples/$sample/Makefile.in $makefiles"
41883 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41885 else if test ${subdir} = "samples"; then
41886 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41887 elif test ${subdir} = "utils"; then
41889 for util
in HelpGen tex2rtf
; do
41890 if test -d $srcdir/utils
/$util ; then
41891 makefiles
="utils/$util/Makefile.in \
41892 utils/$util/src/Makefile.in \
41896 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41900 for mkin
in $makefiles ; do
41901 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41902 ac_config_files
="$ac_config_files $mk"
41909 cat >confcache
<<\_ACEOF
41910 # This file is a shell script that caches the results of configure
41911 # tests run on this system so they can be shared between configure
41912 # scripts and configure runs, see configure's option --config-cache.
41913 # It is not useful on other systems. If it contains results you don't
41914 # want to keep, you may remove or edit it.
41916 # config.status only pays attention to the cache file if you give it
41917 # the --recheck option to rerun configure.
41919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41921 # following values.
41925 # The following way of writing the cache mishandles newlines in values,
41926 # but we know of no workaround that is simple, portable, and efficient.
41927 # So, don't put newlines in cache variables' values.
41928 # Ultrix sh set writes to stderr and can't be redirected directly,
41929 # and sets the high bit in the cache file unless we assign to the vars.
41932 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41934 # `set' does not quote correctly, so add quotes (double-quote
41935 # substitution turns \\\\ into \\, and sed turns \\ into \).
41938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41941 # `set' quotes correctly as required by POSIX, so do not add quotes.
41943 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41950 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41952 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41954 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41955 if test -w $cache_file; then
41956 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41957 cat confcache
>$cache_file
41959 echo "not updating unwritable cache $cache_file"
41964 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41965 # Let make expand exec_prefix.
41966 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41968 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41969 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41970 # trailing colons and then remove the whole line if VPATH becomes empty
41971 # (actually we leave an empty line to preserve line numbers).
41972 if test "x$srcdir" = x.
; then
41973 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41974 s/:*\$(srcdir):*/:/;
41975 s/:*\${srcdir}:*/:/;
41977 s/^\([^=]*=[ ]*\):*/\1/;
41983 DEFS
=-DHAVE_CONFIG_H
41987 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41988 # 1. Remove the extension, and $U if already installed.
41989 ac_i
=`echo "$ac_i" |
41990 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41992 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41993 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41995 LIBOBJS
=$ac_libobjs
41997 LTLIBOBJS
=$ac_ltlibobjs
42001 : ${CONFIG_STATUS=./config.status}
42002 ac_clean_files_save
=$ac_clean_files
42003 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
42004 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42005 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42006 cat >$CONFIG_STATUS <<_ACEOF
42008 # Generated by $as_me.
42009 # Run this file to recreate the current configuration.
42010 # Compiler output produced by configure, useful for debugging
42011 # configure, is in config.log if it exists.
42014 ac_cs_recheck=false
42016 SHELL=\${CONFIG_SHELL-$SHELL}
42019 cat >>$CONFIG_STATUS <<\_ACEOF
42020 ## --------------------- ##
42021 ## M4sh Initialization. ##
42022 ## --------------------- ##
42024 # Be Bourne compatible
42025 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42028 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42029 # is contrary to our usage. Disable this feature.
42030 alias -g '${1+"$@"}'='"$@"'
42031 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42034 DUALCASE
=1; export DUALCASE
# for MKS sh
42036 # Support unset when possible.
42037 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42044 # Work around bugs in pre-3.0 UWIN ksh.
42045 $as_unset ENV MAIL MAILPATH
42052 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42053 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42054 LC_TELEPHONE LC_TIME
42056 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42057 eval $as_var=C
; export $as_var
42063 # Required to use basename.
42064 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42070 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42071 as_basename
=basename
42077 # Name of the executable.
42078 as_me
=`$as_basename "$0" ||
42079 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42080 X"$0" : 'X\(//\)$' \| \
42081 X"$0" : 'X\(/\)$' \| \
42082 . : '\(.\)' 2>/dev/null ||
42084 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42085 /^X\/\(\/\/\)$/{ s//\1/; q; }
42086 /^X\/\(\/\).*/{ s//\1/; q; }
42090 # PATH needs CR, and LINENO needs CR and PATH.
42091 # Avoid depending upon Character Ranges.
42092 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42093 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42094 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42095 as_cr_digits
='0123456789'
42096 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42098 # The user is always right.
42099 if test "${PATH_SEPARATOR+set}" != set; then
42100 echo "#! /bin/sh" >conf$$.sh
42101 echo "exit 0" >>conf$$.sh
42103 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42112 as_lineno_1
=$LINENO
42113 as_lineno_2
=$LINENO
42114 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42115 test "x$as_lineno_1" != "x$as_lineno_2" &&
42116 test "x$as_lineno_3" = "x$as_lineno_2" || {
42117 # Find who we are. Look in the path if we contain no path at all
42120 *[\\/]* ) as_myself
=$0 ;;
42121 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42122 for as_dir
in $PATH
42125 test -z "$as_dir" && as_dir
=.
42126 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42131 # We did not find ourselves, most probably we were run as `sh COMMAND'
42132 # in which case we are not to be found in the path.
42133 if test "x$as_myself" = x
; then
42136 if test ! -f "$as_myself"; then
42137 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42138 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42139 { (exit 1); exit 1; }; }
42141 case $CONFIG_SHELL in
42143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42144 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42147 test -z "$as_dir" && as_dir
=.
42148 for as_base
in sh bash ksh sh5
; do
42151 if ("$as_dir/$as_base" -c '
42152 as_lineno_1=$LINENO
42153 as_lineno_2=$LINENO
42154 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42155 test "x$as_lineno_1" != "x$as_lineno_2" &&
42156 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42157 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42158 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42159 CONFIG_SHELL
=$as_dir/$as_base
42160 export CONFIG_SHELL
42161 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42169 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42170 # uniformly replaced by the line number. The first 'sed' inserts a
42171 # line-number line before each line; the second 'sed' does the real
42172 # work. The second script uses 'N' to pair each line-number line
42173 # with the numbered line, and appends trailing '-' during
42174 # substitution so that $LINENO is not a special case at line end.
42175 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42176 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42177 sed '=' <$as_myself |
42182 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42185 s,^['$as_cr_digits']*\n,,
42186 ' >$as_me.lineno
&&
42187 chmod +x
$as_me.lineno
||
42188 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42189 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42190 { (exit 1); exit 1; }; }
42192 # Don't try to exec as it changes $[0], causing all sort of problems
42193 # (the dirname of $[0] is not the place where we might find the
42194 # original and so on. Autoconf is especially sensible to this).
42196 # Exit status is that of the last command.
42201 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42202 *c
*,-n*) ECHO_N
= ECHO_C
='
42204 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42205 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42208 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42214 rm -f conf$$ conf$$.exe conf$$.
file
42216 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42217 # We could just check for DJGPP; but this test a) works b) is more generic
42218 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42219 if test -f conf$$.exe
; then
42220 # Don't use ln at all; we don't have any links
42225 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42230 rm -f conf$$ conf$$.exe conf$$.
file
42232 if mkdir -p .
2>/dev
/null
; then
42235 test -d .
/-p && rmdir .
/-p
42239 as_executable_p
="test -f"
42241 # Sed expression to map a string onto a valid CPP name.
42242 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42244 # Sed expression to map a string onto a valid variable name.
42245 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42249 # We need space, tab and new line, in precisely that order.
42259 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42260 # report actual input values of CONFIG_FILES etc. instead of their
42261 # values after options handling. Logging --version etc. is OK.
42265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42266 ## Running $as_me. ##
42271 This file was extended by wxWidgets $as_me 2.5.3, which was
42272 generated by GNU Autoconf 2.59. Invocation command line was
42274 CONFIG_FILES = $CONFIG_FILES
42275 CONFIG_HEADERS = $CONFIG_HEADERS
42276 CONFIG_LINKS = $CONFIG_LINKS
42277 CONFIG_COMMANDS = $CONFIG_COMMANDS
42281 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42285 # Files that config.status was made for.
42286 if test -n "$ac_config_files"; then
42287 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42290 if test -n "$ac_config_headers"; then
42291 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42294 if test -n "$ac_config_links"; then
42295 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42298 if test -n "$ac_config_commands"; then
42299 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42302 cat >>$CONFIG_STATUS <<\_ACEOF
42305 \`$as_me' instantiates files from templates according to the
42306 current configuration.
42308 Usage: $0 [OPTIONS] [FILE]...
42310 -h, --help print this help, then exit
42311 -V, --version print version number, then exit
42312 -q, --quiet do not print progress messages
42313 -d, --debug don't remove temporary files
42314 --recheck update $as_me by reconfiguring in the same conditions
42315 --file=FILE[:TEMPLATE]
42316 instantiate the configuration file FILE
42317 --header=FILE[:TEMPLATE]
42318 instantiate the configuration header FILE
42320 Configuration files:
42323 Configuration headers:
42326 Configuration commands:
42329 Report bugs to <bug-autoconf@gnu.org>."
42332 cat >>$CONFIG_STATUS <<_ACEOF
42334 wxWidgets config.status 2.5.3
42335 configured by $0, generated by GNU Autoconf 2.59,
42336 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42338 Copyright (C) 2003 Free Software Foundation, Inc.
42339 This config.status script is free software; the Free Software Foundation
42340 gives unlimited permission to copy, distribute and modify it."
42345 cat >>$CONFIG_STATUS <<\_ACEOF
42346 # If no file are specified by the user, then we need to provide default
42347 # value. By we need to know if files were specified by the user.
42353 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42354 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42362 *) # This is not an option, so the user has probably given explicit
42365 ac_need_defaults
=false
;;
42369 # Handling of the options.
42371 cat >>$CONFIG_STATUS <<\_ACEOF
42372 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42374 --version | --vers* | -V )
42375 echo "$ac_cs_version"; exit 0 ;;
42377 # Conflict between --help and --header
42378 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42379 Try \`$0 --help' for more information." >&5
42380 echo "$as_me: error: ambiguous option: $1
42381 Try \`$0 --help' for more information." >&2;}
42382 { (exit 1); exit 1; }; };;
42383 --help | --hel | -h )
42384 echo "$ac_cs_usage"; exit 0 ;;
42385 --debug | --d* | -d )
42387 --file | --fil | --fi | --f )
42389 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42390 ac_need_defaults
=false
;;
42391 --header | --heade | --head | --hea )
42393 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42394 ac_need_defaults
=false
;;
42395 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42396 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42399 # This is an error.
42400 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42401 Try \`$0 --help' for more information." >&5
42402 echo "$as_me: error: unrecognized option: $1
42403 Try \`$0 --help' for more information." >&2;}
42404 { (exit 1); exit 1; }; } ;;
42406 *) ac_config_targets
="$ac_config_targets $1" ;;
42412 ac_configure_extra_args
=
42414 if $ac_cs_silent; then
42416 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42420 cat >>$CONFIG_STATUS <<_ACEOF
42421 if \$ac_cs_recheck; then
42422 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42423 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42428 cat >>$CONFIG_STATUS <<_ACEOF
42430 # INIT-COMMANDS section.
42433 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42434 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42435 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42443 cat >>$CONFIG_STATUS <<\_ACEOF
42444 for ac_config_target
in $ac_config_targets
42446 case "$ac_config_target" in
42447 # Handling of arguments.
42448 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42449 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42450 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42451 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42452 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42453 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42454 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42455 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42456 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42457 { (exit 1); exit 1; }; };;
42461 # If the user did not use the arguments to specify the items to instantiate,
42462 # then the envvar interface is used. Set only those that are not.
42463 # We use the long form for the default assignment because of an extremely
42464 # bizarre bug on SunOS 4.1.3.
42465 if $ac_need_defaults; then
42466 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42467 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42468 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42471 # Have a temporary directory for convenience. Make it in the build tree
42472 # simply because there is no reason to put it here, and in addition,
42473 # creating and moving files from /tmp can sometimes cause problems.
42474 # Create a temporary directory, and hook for its removal unless debugging.
42477 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42478 trap '{ (exit 1); exit 1; }' 1 2 13 15
42481 # Create a (secure) tmp directory for tmp files.
42484 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42485 test -n "$tmp" && test -d "$tmp"
42488 tmp
=.
/confstat$$
-$RANDOM
42489 (umask 077 && mkdir $tmp)
42492 echo "$me: cannot create a temporary directory in ." >&2
42493 { (exit 1); exit 1; }
42498 cat >>$CONFIG_STATUS <<_ACEOF
42501 # CONFIG_FILES section.
42504 # No need to generate the scripts if there are no CONFIG_FILES.
42505 # This happens for instance when ./config.status config.h
42506 if test -n "\$CONFIG_FILES"; then
42507 # Protect against being on the right side of a sed subst in config.status.
42508 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42509 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42510 s,@SHELL@,$SHELL,;t t
42511 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42512 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42513 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42514 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42515 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42516 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42517 s,@exec_prefix@,$exec_prefix,;t t
42518 s,@prefix@,$prefix,;t t
42519 s,@program_transform_name@,$program_transform_name,;t t
42520 s,@bindir@,$bindir,;t t
42521 s,@sbindir@,$sbindir,;t t
42522 s,@libexecdir@,$libexecdir,;t t
42523 s,@datadir@,$datadir,;t t
42524 s,@sysconfdir@,$sysconfdir,;t t
42525 s,@sharedstatedir@,$sharedstatedir,;t t
42526 s,@localstatedir@,$localstatedir,;t t
42527 s,@libdir@,$libdir,;t t
42528 s,@includedir@,$includedir,;t t
42529 s,@oldincludedir@,$oldincludedir,;t t
42530 s,@infodir@,$infodir,;t t
42531 s,@mandir@,$mandir,;t t
42532 s,@build_alias@,$build_alias,;t t
42533 s,@host_alias@,$host_alias,;t t
42534 s,@target_alias@,$target_alias,;t t
42535 s,@DEFS@,$DEFS,;t t
42536 s,@ECHO_C@,$ECHO_C,;t t
42537 s,@ECHO_N@,$ECHO_N,;t t
42538 s,@ECHO_T@,$ECHO_T,;t t
42539 s,@LIBS@,$LIBS,;t t
42540 s,@build@,$build,;t t
42541 s,@build_cpu@,$build_cpu,;t t
42542 s,@build_vendor@,$build_vendor,;t t
42543 s,@build_os@,$build_os,;t t
42544 s,@host@,$host,;t t
42545 s,@host_cpu@,$host_cpu,;t t
42546 s,@host_vendor@,$host_vendor,;t t
42547 s,@host_os@,$host_os,;t t
42548 s,@target@,$target,;t t
42549 s,@target_cpu@,$target_cpu,;t t
42550 s,@target_vendor@,$target_vendor,;t t
42551 s,@target_os@,$target_os,;t t
42553 s,@CFLAGS@,$CFLAGS,;t t
42554 s,@LDFLAGS@,$LDFLAGS,;t t
42555 s,@CPPFLAGS@,$CPPFLAGS,;t t
42556 s,@ac_ct_CC@,$ac_ct_CC,;t t
42557 s,@EXEEXT@,$EXEEXT,;t t
42558 s,@OBJEXT@,$OBJEXT,;t t
42560 s,@EGREP@,$EGREP,;t t
42562 s,@CXXFLAGS@,$CXXFLAGS,;t t
42563 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42564 s,@RANLIB@,$RANLIB,;t t
42565 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42567 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42568 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42569 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42570 s,@STRIP@,$STRIP,;t t
42571 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42572 s,@LN_S@,$LN_S,;t t
42573 s,@CXXCPP@,$CXXCPP,;t t
42574 s,@subdirs@,$subdirs,;t t
42575 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42576 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42577 s,@GTK_LIBS@,$GTK_LIBS,;t t
42578 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42579 s,@X_CFLAGS@,$X_CFLAGS,;t t
42580 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42581 s,@X_LIBS@,$X_LIBS,;t t
42582 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42583 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42584 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42585 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42586 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42587 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42588 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42589 s,@RESCOMP@,$RESCOMP,;t t
42590 s,@DEREZ@,$DEREZ,;t t
42591 s,@SETFILE@,$SETFILE,;t t
42592 s,@LIBICONV@,$LIBICONV,;t t
42593 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42594 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42595 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42596 s,@SDL_LIBS@,$SDL_LIBS,;t t
42597 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42598 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42599 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42600 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42601 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42602 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42603 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42604 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42605 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42606 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42607 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42608 s,@VENDOR@,$VENDOR,;t t
42609 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42610 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42611 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42612 s,@WXUNIV@,$WXUNIV,;t t
42613 s,@MONOLITHIC@,$MONOLITHIC,;t t
42614 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42615 s,@EXTRALIBS@,$EXTRALIBS,;t t
42616 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42617 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42618 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42619 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42620 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42621 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42622 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42623 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42624 s,@UNICODE@,$UNICODE,;t t
42625 s,@BUILD@,$BUILD,;t t
42626 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42627 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42628 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42629 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42630 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42631 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42632 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42633 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42634 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42635 s,@SET_MAKE@,$SET_MAKE,;t t
42636 s,@MAKE_SET@,$MAKE_SET,;t t
42637 s,@ac_ct_AR@,$ac_ct_AR,;t t
42638 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42640 s,@ac_ct_NM@,$ac_ct_NM,;t t
42641 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42642 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42643 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42644 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42645 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42646 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42647 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42648 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42649 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42650 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42651 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42652 s,@LIBPREFIX@,$LIBPREFIX,;t t
42653 s,@LIBEXT@,$LIBEXT,;t t
42654 s,@DLLPREFIX@,$DLLPREFIX,;t t
42655 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42656 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42657 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42658 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42659 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42660 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42661 s,@PIC_FLAG@,$PIC_FLAG,;t t
42662 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42663 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42664 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42665 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42666 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42667 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42668 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42669 s,@GCC_PCH@,$GCC_PCH,;t t
42670 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42671 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42672 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42673 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42674 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42675 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42676 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42677 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42678 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42679 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42680 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42681 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42682 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42683 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42684 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42685 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42686 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42687 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42688 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
42689 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42690 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42691 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42692 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42693 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42694 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
42695 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42696 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42697 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42698 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42699 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42700 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42701 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42702 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42703 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42704 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42705 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42706 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42707 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42708 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42709 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42710 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42711 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42712 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42713 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42714 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42715 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42716 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42717 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42718 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42719 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42720 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42721 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42722 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42723 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42724 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42725 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42726 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42727 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42728 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42729 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42730 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42731 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42732 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42733 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42734 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42735 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42736 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42737 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42738 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42739 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42740 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42741 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42742 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42743 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42744 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42745 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42746 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42747 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42748 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42749 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42750 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42751 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42752 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42753 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42754 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42755 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42756 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42757 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42758 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42759 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42760 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42761 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42762 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42763 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42764 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42765 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42766 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42767 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42768 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42769 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42770 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42771 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42772 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42773 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42774 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42775 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42776 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42777 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42778 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42779 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42780 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42781 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42782 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42783 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42784 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42785 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42786 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42787 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42788 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42789 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42790 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42791 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42792 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42793 s,@SHARED@,$SHARED,;t t
42794 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42795 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42796 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42797 s,@USE_GUI@,$USE_GUI,;t t
42798 s,@AFMINSTALL@,$AFMINSTALL,;t t
42799 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42800 s,@TOOLKIT@,$TOOLKIT,;t t
42801 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42802 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42803 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42804 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42805 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42806 s,@cross_compiling@,$cross_compiling,;t t
42807 s,@WIDGET_SET@,$WIDGET_SET,;t t
42808 s,@WX_RELEASE@,$WX_RELEASE,;t t
42809 s,@WX_VERSION@,$WX_VERSION,;t t
42810 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42811 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42812 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42813 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42814 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42815 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42816 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42817 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42818 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42819 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42820 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42821 s,@EXE_LINKER@,$EXE_LINKER,;t t
42822 s,@GUIDIST@,$GUIDIST,;t t
42823 s,@DISTDIR@,$DISTDIR,;t t
42824 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42825 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42826 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42827 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42828 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42829 s,@RESFLAGS@,$RESFLAGS,;t t
42830 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42831 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42832 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42833 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42834 s,@MACRESCOMP@,$MACRESCOMP,;t t
42835 s,@MACSETFILE@,$MACSETFILE,;t t
42836 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42838 s,@DLLTOOL@,$DLLTOOL,;t t
42839 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42840 s,@LIBOBJS@,$LIBOBJS,;t t
42841 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42846 cat >>$CONFIG_STATUS <<\_ACEOF
42847 # Split the substitutions into bite-sized pieces for seds with
42848 # small command number limits, like on Digital OSF/1 and HP-UX.
42849 ac_max_sed_lines
=48
42850 ac_sed_frag
=1 # Number of current file.
42851 ac_beg
=1 # First line for current file.
42852 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42855 while $ac_more_lines; do
42856 if test $ac_beg -gt 1; then
42857 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42859 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42861 if test ! -s $tmp/subs.frag
; then
42862 ac_more_lines
=false
42864 # The purpose of the label and of the branching condition is to
42865 # speed up the sed processing (if there are no `@' at all, there
42866 # is no need to browse any of the substitutions).
42867 # These are the two extra sed commands mentioned above.
42869 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42870 if test -z "$ac_sed_cmds"; then
42871 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42873 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42875 ac_sed_frag
=`expr $ac_sed_frag + 1`
42877 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42880 if test -z "$ac_sed_cmds"; then
42883 fi # test -n "$CONFIG_FILES"
42886 cat >>$CONFIG_STATUS <<\_ACEOF
42887 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42888 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42890 - | *:- | *:-:* ) # input from stdin
42892 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42893 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42894 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42895 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42896 * ) ac_file_in
=$ac_file.
in ;;
42899 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42900 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42901 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42902 X"$ac_file" : 'X\(//\)[^/]' \| \
42903 X"$ac_file" : 'X\(//\)$' \| \
42904 X"$ac_file" : 'X\(/\)' \| \
42905 . : '\(.\)' 2>/dev/null ||
42907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42909 /^X\(\/\/\)$/{ s//\1/; q; }
42910 /^X\(\/\).*/{ s//\1/; q; }
42912 { if $as_mkdir_p; then
42917 while test ! -d "$as_dir"; do
42918 as_dirs
="$as_dir $as_dirs"
42919 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42921 X"$as_dir" : 'X\(//\)[^/]' \| \
42922 X"$as_dir" : 'X\(//\)$' \| \
42923 X"$as_dir" : 'X\(/\)' \| \
42924 . : '\(.\)' 2>/dev/null ||
42926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42927 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42928 /^X\(\/\/\)$/{ s//\1/; q; }
42929 /^X\(\/\).*/{ s//\1/; q; }
42932 test ! -n "$as_dirs" || mkdir $as_dirs
42933 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42934 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42935 { (exit 1); exit 1; }; }; }
42939 if test "$ac_dir" != .
; then
42940 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42941 # A "../" for each directory in $ac_dir_suffix.
42942 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42944 ac_dir_suffix
= ac_top_builddir
=
42948 .
) # No --srcdir option. We are building in place.
42950 if test -z "$ac_top_builddir"; then
42953 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42955 [\\/]* | ?
:[\\/]* ) # Absolute path.
42956 ac_srcdir
=$srcdir$ac_dir_suffix;
42957 ac_top_srcdir
=$srcdir ;;
42958 *) # Relative path.
42959 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42960 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42963 # Do not use `cd foo && pwd` to compute absolute paths, because
42964 # the directories may not exist.
42966 .
) ac_abs_builddir
="$ac_dir";;
42969 .
) ac_abs_builddir
=`pwd`;;
42970 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42971 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42974 case $ac_abs_builddir in
42975 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42977 case ${ac_top_builddir}.
in
42978 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42979 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42980 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42983 case $ac_abs_builddir in
42984 .
) ac_abs_srcdir
=$ac_srcdir;;
42987 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42988 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42989 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42992 case $ac_abs_builddir in
42993 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42995 case $ac_top_srcdir in
42996 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42997 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42998 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43004 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
43005 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
43008 if test x
"$ac_file" != x
-; then
43009 { echo "$as_me:$LINENO: creating $ac_file" >&5
43010 echo "$as_me: creating $ac_file" >&6;}
43013 # Let's still pretend it is `configure' which instantiates (i.e., don't
43014 # use $as_me), people would be surprised to read:
43015 # /* config.h. Generated by config.status. */
43016 if test x
"$ac_file" = x
-; then
43019 configure_input
="$ac_file. "
43021 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43022 sed 's,.*/,,'` by configure."
43024 # First look for the input files in the build tree, otherwise in the
43026 ac_file_inputs
=`IFS=:
43027 for f in $ac_file_in; do
43029 -) echo $tmp/stdin ;;
43031 # Absolute (can't be DOS-style, as IFS=:)
43032 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43033 echo "$as_me: error: cannot find input file: $f" >&2;}
43034 { (exit 1); exit 1; }; }
43037 if test -f "$f"; then
43040 elif test -f "$srcdir/$f"; then
43045 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43046 echo "$as_me: error: cannot find input file: $f" >&2;}
43047 { (exit 1); exit 1; }; }
43050 done` || { (exit 1); exit 1; }
43052 cat >>$CONFIG_STATUS <<_ACEOF
43056 cat >>$CONFIG_STATUS <<\_ACEOF
43058 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43059 s
,@configure_input@
,$configure_input,;t t
43060 s
,@srcdir@
,$ac_srcdir,;t t
43061 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43062 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43063 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43064 s
,@builddir@
,$ac_builddir,;t t
43065 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43066 s
,@top_builddir@
,$ac_top_builddir,;t t
43067 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43068 s
,@INSTALL@
,$ac_INSTALL,;t t
43069 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43071 if test x"$ac_file" != x-; then
43072 mv $tmp/out $ac_file
43078 # Run the commands associated with the file.
43080 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43081 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43085 cat >>$CONFIG_STATUS <<\_ACEOF
43088 # CONFIG_HEADER section.
43091 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43092 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43094 # ac_d sets the value in "#define NAME VALUE" lines.
43095 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43096 ac_dB
='[ ].*$,\1#\2'
43099 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43100 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43101 ac_uB
='$,\1#\2define\3'
43105 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43106 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43108 - | *:- | *:-:* ) # input from stdin
43110 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43111 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43112 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43113 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43114 * ) ac_file_in
=$ac_file.
in ;;
43117 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43118 echo "$as_me: creating $ac_file" >&6;}
43120 # First look for the input files in the build tree, otherwise in the
43122 ac_file_inputs
=`IFS=:
43123 for f in $ac_file_in; do
43125 -) echo $tmp/stdin ;;
43127 # Absolute (can't be DOS-style, as IFS=:)
43128 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43129 echo "$as_me: error: cannot find input file: $f" >&2;}
43130 { (exit 1); exit 1; }; }
43131 # Do quote $f, to prevent DOS paths from being IFS'd.
43134 if test -f "$f"; then
43137 elif test -f "$srcdir/$f"; then
43142 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43143 echo "$as_me: error: cannot find input file: $f" >&2;}
43144 { (exit 1); exit 1; }; }
43147 done` || { (exit 1); exit 1; }
43148 # Remove the trailing spaces.
43149 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43153 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43154 # `conftest.undefs', that substitutes the proper values into
43155 # config.h.in to produce config.h. The first handles `#define'
43156 # templates, and the second `#undef' templates.
43157 # And first: Protect against being on the right side of a sed subst in
43158 # config.status. Protect against being in an unquoted here document
43159 # in config.status.
43160 rm -f conftest.defines conftest.undefs
43161 # Using a here document instead of a string reduces the quoting nightmare.
43162 # Putting comments in sed scripts is not portable.
43164 # `end' is used to avoid that the second main sed command (meant for
43165 # 0-ary CPP macros) applies to n-ary macro definitions.
43166 # See the Autoconf documentation for `clear'.
43167 cat >confdef2sed.
sed <<\_ACEOF
43172 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43174 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43177 # If some macros were called several times there might be several times
43178 # the same #defines, which is useless. Nevertheless, we may not want to
43179 # sort them, since we want the *last* AC-DEFINE to be honored.
43180 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43181 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43182 rm -f confdef2sed.sed
43184 # This sed command replaces #undef with comments. This is necessary, for
43185 # example, in the case of _POSIX_SOURCE, which is predefined and required
43186 # on some systems where configure will not decide to define it.
43187 cat >>conftest.undefs <<\_ACEOF
43188 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43191 # Break up conftest.defines because some shells have a limit on the size
43192 # of here documents, and old seds have small limits too (100 cmds).
43193 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43194 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43195 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43196 echo ' :' >>$CONFIG_STATUS
43197 rm -f conftest.tail
43198 while grep . conftest.defines >/dev/null
43200 # Write a limited-size here document to $tmp/defines.sed.
43201 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43202 # Speed up: don't consider the non `#define' lines.
43203 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43204 # Work around the forget-to-reset-the-flag bug.
43205 echo 't clr' >>$CONFIG_STATUS
43206 echo ': clr' >>$CONFIG_STATUS
43207 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43209 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43211 mv $tmp/out $tmp/in
43213 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43214 rm -f conftest.defines
43215 mv conftest.
tail conftest.defines
43217 rm -f conftest.defines
43218 echo ' fi # grep' >>$CONFIG_STATUS
43219 echo >>$CONFIG_STATUS
43221 # Break up conftest.undefs because some shells have a limit on the size
43222 # of here documents, and old seds have small limits too (100 cmds).
43223 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43224 rm -f conftest.
tail
43225 while grep . conftest.undefs
>/dev
/null
43227 # Write a limited-size here document to $tmp/undefs.sed.
43228 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43229 # Speed up: don't consider the non
`#undef'
43230 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43231 # Work around the forget-to-reset-the-flag bug.
43232 echo 't clr' >>$CONFIG_STATUS
43233 echo ': clr' >>$CONFIG_STATUS
43234 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43236 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43238 mv $tmp/out $tmp/in
43240 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43241 rm -f conftest.undefs
43242 mv conftest.tail conftest.undefs
43244 rm -f conftest.undefs
43246 cat >>$CONFIG_STATUS <<\_ACEOF
43247 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43248 # use $as_me), people would be surprised to read:
43249 # /* config.h. Generated by config.status. */
43250 if test x
"$ac_file" = x
-; then
43251 echo "/* Generated by configure. */" >$tmp/config.h
43253 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43255 cat $tmp/in >>$tmp/config.h
43257 if test x
"$ac_file" != x
-; then
43258 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43259 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43260 echo "$as_me: $ac_file is unchanged" >&6;}
43262 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43263 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43264 X"$ac_file" : 'X\(//\)[^/]' \| \
43265 X"$ac_file" : 'X\(//\)$' \| \
43266 X"$ac_file" : 'X\(/\)' \| \
43267 . : '\(.\)' 2>/dev/null ||
43269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43271 /^X\(\/\/\)$/{ s//\1/; q; }
43272 /^X\(\/\).*/{ s//\1/; q; }
43274 { if $as_mkdir_p; then
43279 while test ! -d "$as_dir"; do
43280 as_dirs
="$as_dir $as_dirs"
43281 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43283 X"$as_dir" : 'X\(//\)[^/]' \| \
43284 X"$as_dir" : 'X\(//\)$' \| \
43285 X"$as_dir" : 'X\(/\)' \| \
43286 . : '\(.\)' 2>/dev/null ||
43288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43290 /^X\(\/\/\)$/{ s//\1/; q; }
43291 /^X\(\/\).*/{ s//\1/; q; }
43294 test ! -n "$as_dirs" || mkdir $as_dirs
43295 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43297 { (exit 1); exit 1; }; }; }
43300 mv $tmp/config.h
$ac_file
43304 rm -f $tmp/config.h
43308 cat >>$CONFIG_STATUS <<\_ACEOF
43311 # CONFIG_COMMANDS section.
43313 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43314 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43315 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43316 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43317 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43318 X"$ac_dest" : 'X\(//\)[^/]' \| \
43319 X"$ac_dest" : 'X\(//\)$' \| \
43320 X"$ac_dest" : 'X\(/\)' \| \
43321 . : '\(.\)' 2>/dev/null ||
43323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43325 /^X\(\/\/\)$/{ s//\1/; q; }
43326 /^X\(\/\).*/{ s//\1/; q; }
43328 { if $as_mkdir_p; then
43333 while test ! -d "$as_dir"; do
43334 as_dirs
="$as_dir $as_dirs"
43335 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43337 X"$as_dir" : 'X\(//\)[^/]' \| \
43338 X"$as_dir" : 'X\(//\)$' \| \
43339 X"$as_dir" : 'X\(/\)' \| \
43340 . : '\(.\)' 2>/dev/null ||
43342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43343 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43344 /^X\(\/\/\)$/{ s//\1/; q; }
43345 /^X\(\/\).*/{ s//\1/; q; }
43348 test ! -n "$as_dirs" || mkdir $as_dirs
43349 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43350 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43351 { (exit 1); exit 1; }; }; }
43355 if test "$ac_dir" != .
; then
43356 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43357 # A "../" for each directory in $ac_dir_suffix.
43358 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43360 ac_dir_suffix
= ac_top_builddir
=
43364 .
) # No --srcdir option. We are building in place.
43366 if test -z "$ac_top_builddir"; then
43369 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43371 [\\/]* | ?
:[\\/]* ) # Absolute path.
43372 ac_srcdir
=$srcdir$ac_dir_suffix;
43373 ac_top_srcdir
=$srcdir ;;
43374 *) # Relative path.
43375 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43376 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43379 # Do not use `cd foo && pwd` to compute absolute paths, because
43380 # the directories may not exist.
43382 .
) ac_abs_builddir
="$ac_dir";;
43385 .
) ac_abs_builddir
=`pwd`;;
43386 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43387 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43390 case $ac_abs_builddir in
43391 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43393 case ${ac_top_builddir}.
in
43394 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43395 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43396 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43399 case $ac_abs_builddir in
43400 .
) ac_abs_srcdir
=$ac_srcdir;;
43403 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43404 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43405 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43408 case $ac_abs_builddir in
43409 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43411 case $ac_top_srcdir in
43412 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43413 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43414 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43419 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43420 echo "$as_me: executing $ac_dest commands" >&6;}
43422 wx
-config ) rm -f wx
-config
43423 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43429 cat >>$CONFIG_STATUS <<\_ACEOF
43431 { (exit 0); exit 0; }
43433 chmod +x
$CONFIG_STATUS
43434 ac_clean_files
=$ac_clean_files_save
43437 # configure is writing to config.log, and then calls config.status.
43438 # config.status does its own redirection, appending to config.log.
43439 # Unfortunately, on DOS this fails, as config.log is still kept open
43440 # by configure, so config.status won't be able to write to it; its
43441 # output is simply discarded. So we exec the FD to /dev/null,
43442 # effectively closing config.log, so it can be properly (re)opened and
43443 # appended to by config.status. When coming back to configure, we
43444 # need to make the FD available again.
43445 if test "$no_create" != yes; then
43447 ac_config_status_args
=
43448 test "$silent" = yes &&
43449 ac_config_status_args
="$ac_config_status_args --quiet"
43451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43454 # would make configure fail if this is the last instruction.
43455 $ac_cs_success || { (exit 1); exit 1; }
43459 # CONFIG_SUBDIRS section.
43461 if test "$no_recursion" != yes; then
43463 # Remove --cache-file and --srcdir arguments so they do not pile up.
43464 ac_sub_configure_args
=
43466 for ac_arg
in $ac_configure_args; do
43467 if test -n "$ac_prev"; then
43472 -cache-file | --cache-file | --cache-fil | --cache-fi \
43473 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43474 ac_prev
=cache_file
;;
43475 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43476 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43479 --config-cache | -C)
43481 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43483 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43485 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43487 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43489 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43493 # Always prepend --prefix to ensure using the same prefix
43494 # in subdir configurations.
43495 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43498 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43500 # Do not complain, so a configure script can configure whichever
43501 # parts of a large source tree are present.
43502 test -d $srcdir/$ac_dir || continue
43504 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43505 echo "$as_me: configuring in $ac_dir" >&6;}
43506 { if $as_mkdir_p; then
43511 while test ! -d "$as_dir"; do
43512 as_dirs
="$as_dir $as_dirs"
43513 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43515 X"$as_dir" : 'X\(//\)[^/]' \| \
43516 X"$as_dir" : 'X\(//\)$' \| \
43517 X"$as_dir" : 'X\(/\)' \| \
43518 . : '\(.\)' 2>/dev/null ||
43520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43522 /^X\(\/\/\)$/{ s//\1/; q; }
43523 /^X\(\/\).*/{ s//\1/; q; }
43526 test ! -n "$as_dirs" || mkdir $as_dirs
43527 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43528 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43529 { (exit 1); exit 1; }; }; }
43533 if test "$ac_dir" != .
; then
43534 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43535 # A "../" for each directory in $ac_dir_suffix.
43536 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43538 ac_dir_suffix
= ac_top_builddir
=
43542 .
) # No --srcdir option. We are building in place.
43544 if test -z "$ac_top_builddir"; then
43547 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43549 [\\/]* | ?
:[\\/]* ) # Absolute path.
43550 ac_srcdir
=$srcdir$ac_dir_suffix;
43551 ac_top_srcdir
=$srcdir ;;
43552 *) # Relative path.
43553 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43554 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43557 # Do not use `cd foo && pwd` to compute absolute paths, because
43558 # the directories may not exist.
43560 .
) ac_abs_builddir
="$ac_dir";;
43563 .
) ac_abs_builddir
=`pwd`;;
43564 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43565 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43568 case $ac_abs_builddir in
43569 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43571 case ${ac_top_builddir}.
in
43572 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43573 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43574 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43577 case $ac_abs_builddir in
43578 .
) ac_abs_srcdir
=$ac_srcdir;;
43581 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43582 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43583 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43586 case $ac_abs_builddir in
43587 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43589 case $ac_top_srcdir in
43590 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43591 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43592 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43599 # Check for guested configure; otherwise get Cygnus style configure.
43600 if test -f $ac_srcdir/configure.gnu
; then
43601 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43602 elif test -f $ac_srcdir/configure
; then
43603 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43604 elif test -f $ac_srcdir/configure.
in; then
43605 ac_sub_configure
=$ac_configure
43607 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43608 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43612 # The recursion is here.
43613 if test -n "$ac_sub_configure"; then
43614 # Make the cache file name correct relative to the subdirectory.
43615 case $cache_file in
43616 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43617 *) # Relative path.
43618 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43621 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43622 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43623 # The eval makes quoting arguments work.
43624 eval $ac_sub_configure $ac_sub_configure_args \
43625 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43626 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43627 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43628 { (exit 1); exit 1; }; }
43637 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43639 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43640 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43642 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43643 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43644 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43646 echo " What level of wxWidgets compatibility should be enabled?"
43647 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43648 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43650 echo " Which libraries should wxWidgets use?"
43651 echo " jpeg ${wxUSE_LIBJPEG-none}"
43652 echo " png ${wxUSE_LIBPNG-none}"
43653 echo " regex ${wxUSE_REGEX}"
43654 echo " tiff ${wxUSE_LIBTIFF-none}"
43655 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43656 echo " xpm ${wxUSE_LIBXPM-none}"
43658 echo " zlib ${wxUSE_ZLIB}"
43659 echo " odbc ${wxUSE_ODBC}"
43660 echo " expat ${wxUSE_EXPAT}"
43661 echo " libmspack ${wxUSE_LIBMSPACK}"
43662 echo " sdl ${wxUSE_LIBSDL}"
43663 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"