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.4.
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.4'
274 PACKAGE_STRING='wxWidgets 2.5.4'
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 GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS 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_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_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_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_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_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 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_0 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 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.4 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.4:";;
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-arcstream use wxArchive streams
907 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class for DLL loading
913 --enable-dynamicloader use (new) wxDynamicLibrary class
914 --enable-exceptions build exception-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-streams use wxStream etc classes
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-stopwatch use wxStopWatch class
930 --enable-sysoptions use wxSystemOptions
931 --enable-textbuf use wxTextBuffer class
932 --enable-textfile use wxTextFile class
933 --enable-timer use wxTimer class
934 --enable-unicode compile wxString with Unicode support
935 --enable-sound use wxSound class
936 --enable-mediactrl use wxMediaCtrl class
937 --enable-wxprintfv use wxWidgets implementation of vprintf()
938 --enable-zipstream use wxZip streams
939 --enable-url use wxURL class
940 --enable-protocol use wxProtocol class
941 --enable-protocol-http HTTP support in wxProtocol
942 --enable-protocol-ftp FTP support in wxProtocol
943 --enable-protocol-file FILE support in wxProtocol
944 --enable-threads use threads
945 --enable-docview use document view architecture
946 --enable-help use help subsystem
947 --enable-mshtmlhelp use MS HTML Help (win32)
948 --enable-html use wxHTML sub-library
949 --enable-htmlhelp use wxHTML-based help
950 --enable-xrc use XRC resources sub-library
951 --enable-constraints use layout-constraints system
952 --enable-printarch use printing architecture
953 --enable-mdi use multiple document interface architecture
954 --enable-mdidoc use docview architecture with MDI
955 --enable-loggui use standard GUI logger
956 --enable-logwin use wxLogWindow
957 --enable-logdialog use wxLogDialog
958 --enable-webkit use wxWebKitCtrl (Mac)
959 --enable-postscript use wxPostscriptDC device context (default for gtk+)
960 --enable-prologio not available; see contrib
961 --enable-resources not available; see contrib
962 --enable-clipboard use wxClipboard class
963 --enable-dnd use Drag'n'Drop classes
964 --enable-metafile use win32 metafiles
965 --enable-controls use all usual controls
966 --enable-accel use accelerators
967 --enable-button use wxButton class
968 --enable-bmpbutton use wxBitmapButton class
969 --enable-calendar use wxCalendarCtrl class
970 --enable-caret use wxCaret class
971 --enable-checkbox use wxCheckBox class
972 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
973 --enable-choice use wxChoice class
974 --enable-choicebook use wxChoicebook class
975 --enable-combobox use wxComboBox class
976 --enable-datepick use wxDatePickerCtrl class
977 --enable-display use wxDisplay class
978 --enable-gauge use wxGauge class
979 --enable-grid use wxGrid class
980 --enable-imaglist use wxImageList class
981 --enable-listbook use wxListbook class
982 --enable-listbox use wxListBox class
983 --enable-listctrl use wxListCtrl class
984 --enable-notebook use wxNotebook class
985 --enable-radiobox use wxRadioBox class
986 --enable-radiobtn use wxRadioButton class
987 --enable-sash use wxSashWindow class
988 --enable-scrollbar use wxScrollBar class and scrollable windows
989 --enable-slider use wxSlider class
990 --enable-spinbtn use wxSpinButton class
991 --enable-spinctrl use wxSpinCtrl class
992 --enable-splitter use wxSplitterWindow class
993 --enable-statbmp use wxStaticBitmap class
994 --enable-statbox use wxStaticBox class
995 --enable-statline use wxStaticLine class
996 --enable-stattext use wxStaticText class
997 --enable-statusbar use wxStatusBar class
998 --enable-tabdialog use wxTabControl class
999 --enable-textctrl use wxTextCtrl class
1000 --enable-togglebtn use wxToggleButton class
1001 --enable-toolbar use wxToolBar class
1002 --enable-tbarnative use native wxToolBar class
1003 --enable-tbarsmpl use wxToolBarSimple class
1004 --enable-treectrl use wxTreeCtrl class
1005 --enable-tipwindow use wxTipWindow class
1006 --enable-popupwin use wxPopUpWindow class
1007 --enable-commondlg use all common dialogs
1008 --enable-choicedlg use wxChoiceDialog
1009 --enable-coldlg use wxColourDialog
1010 --enable-filedlg use wxFileDialog
1011 --enable-finddlg use wxFindReplaceDialog
1012 --enable-fontdlg use wxFontDialog
1013 --enable-dirdlg use wxDirDialog
1014 --enable-msgdlg use wxMessageDialog
1015 --enable-numberdlg use wxNumberEntryDialog
1016 --enable-splash use wxSplashScreen
1017 --enable-textdlg use wxTextDialog
1018 --enable-tipdlg use startup tips
1019 --enable-progressdlg use wxProgressDialog
1020 --enable-wizarddlg use wxWizard
1021 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1022 --enable-miniframe use wxMiniFrame class
1023 --enable-tooltips use wxToolTip class
1024 --enable-splines use spline drawing code
1025 --enable-validators use wxValidator and derived classes
1026 --enable-busyinfo use wxBusyInfo
1027 --enable-joystick use wxJoystick
1028 --enable-metafiles use wxMetaFile (Windows only)
1029 --enable-dragimage use wxDragImage
1030 --enable-accessibility enable accessibility support
1031 --enable-palette use wxPalette class
1032 --enable-image use wxImage class
1033 --enable-gif use gif images (GIF file format)
1034 --enable-pcx use pcx images (PCX file format)
1035 --enable-iff use iff images (IFF file format)
1036 --enable-pnm use pnm images (PNM file format)
1037 --enable-xpm use xpm images (XPM file format)
1038 --enable-icocur use Windows ICO and CUR formats
1039 --enable-official_build official build of wxWidgets (win32 DLL only)
1040 --enable-vendor=VENDOR vendor name (win32 DLL only)
1041 --disable-largefile omit support for large files
1042 --disable-gtktest do not try to compile and run a test GTK+ program
1043 --disable-gtktest Do not try to compile and run a test GTK program
1044 --disable-sdltest Do not try to compile and run a test SDL program
1045 --enable-omf use OMF object format (OS/2)
1046 --disable-precomp-headers
1047 don't use precompiled headers even if compiler can
1050 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1051 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1053 --with-motif use Motif/Lesstif
1054 --with-mac use Mac OS X
1055 --with-cocoa use Cocoa
1056 --with-wine use Wine
1057 --with-msw use MS-Windows
1058 --with-pm use OS/2 Presentation Manager
1059 --with-mgl use SciTech MGL
1060 --with-microwin use MicroWindows
1062 --with-libpng use libpng (PNG image format)
1063 --with-libjpeg use libjpeg (JPEG file format)
1064 --with-libtiff use libtiff (TIFF file format)
1065 --with-libxpm use libxpm (XPM file format)
1066 --with-libmspack use libmspack (CHM help files loading)
1067 --with-sdl use SDL for audio on Unix
1068 --with-gnomeprint use GNOME print for printing under Unix
1069 --with-opengl use OpenGL (or Mesa)
1070 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1071 --with-regex enable support for wxRegEx class
1072 --with-zlib use zlib for LZW compression
1073 --with-odbc use the IODBC and wxODBC classes
1074 --with-expat enable XML support using expat parser
1075 --with-flavour=NAME specify a name to identify this build
1076 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1077 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1078 --with-x use the X Window System
1079 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1080 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1081 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1082 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1083 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1093 CXX C++ compiler command
1094 CXXFLAGS C++ compiler flags
1095 CXXCPP C++ preprocessor
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1100 Report bugs to <wx-dev@lists.wxwidgets.org>.
1104 if test "$ac_init_help" = "recursive"; then
1105 # If there are subdirs, report their specific --help.
1107 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1108 test -d $ac_dir || continue
1111 if test "$ac_dir" != .; then
1112 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1113 # A "../" for each directory in $ac_dir_suffix.
1114 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1116 ac_dir_suffix= ac_top_builddir=
1120 .) # No --srcdir option. We are building in place.
1122 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1127 [\\/]* | ?:[\\/]* ) # Absolute path.
1128 ac_srcdir=$srcdir$ac_dir_suffix;
1129 ac_top_srcdir=$srcdir ;;
1131 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1132 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1135 # Do not use `cd foo && pwd` to compute absolute paths, because
1136 # the directories may not exist.
1138 .) ac_abs_builddir="$ac_dir";;
1141 .) ac_abs_builddir=`pwd`;;
1142 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1143 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1146 case $ac_abs_builddir in
1147 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1149 case ${ac_top_builddir}. in
1150 .) ac_abs_top_builddir=$ac_abs_builddir;;
1151 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1155 case $ac_abs_builddir in
1156 .) ac_abs_srcdir=$ac_srcdir;;
1159 .) ac_abs_srcdir=$ac_abs_builddir;;
1160 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1161 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1164 case $ac_abs_builddir in
1165 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1167 case $ac_top_srcdir in
1168 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1169 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1175 # Check for guested configure; otherwise get Cygnus style configure.
1176 if test -f $ac_srcdir/configure.gnu; then
1178 $SHELL $ac_srcdir/configure.gnu --help=recursive
1179 elif test -f $ac_srcdir/configure; then
1181 $SHELL $ac_srcdir/configure --help=recursive
1182 elif test -f $ac_srcdir/configure.ac ||
1183 test -f $ac_srcdir/configure.in; then
1185 $ac_configure --help
1187 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1193 test -n "$ac_init_help" && exit 0
1194 if $ac_init_version; then
1196 wxWidgets configure 2.5.4
1197 generated by GNU Autoconf 2.59
1199 Copyright (C) 2003 Free Software Foundation, Inc.
1200 This configure script is free software; the Free Software Foundation
1201 gives unlimited permission to copy, distribute and modify it.
1207 This file contains any messages produced by compilers while
1208 running configure, to aid debugging if configure makes a mistake.
1210 It was created by wxWidgets $as_me 2.5.4, which was
1211 generated by GNU Autoconf 2.59. Invocation command line was
1222 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1223 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1224 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1225 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1226 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1228 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1229 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1231 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1232 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1233 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1234 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1235 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1236 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1237 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1245 test -z "$as_dir" && as_dir=.
1246 echo "PATH: $as_dir"
1261 # Keep a trace of the command line.
1262 # Strip out --no-create and --no-recursion so they do not pile up.
1263 # Strip out --silent because we don't want to record it for future runs.
1264 # Also quote any args containing shell meta-characters.
1265 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_must_keep_next=false
1276 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1278 | -silent | --silent | --silen | --sile | --sil)
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1286 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1287 if test $ac_must_keep_next = true; then
1288 ac_must_keep_next=false # Got value, back to normal.
1291 *=* | --config-cache | -C | -disable-* | --disable-* \
1292 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1293 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1294 | -with-* | --with-* | -without-* | --without-* | --x)
1295 case "$ac_configure_args0 " in
1296 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 -* ) ac_must_keep_next=true ;;
1302 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1303 # Get rid of the leading space.
1309 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1310 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1312 # When interrupted or exit'd, cleanup temporary files, and complete
1313 # config.log. We remove comments because anyway the quotes in there
1314 # would cause problems or look ugly.
1315 # WARNING: Be sure not to use single quotes in there, as some shells,
1316 # such as our DU 5.0 friend, will then `close' the trap.
1317 trap 'exit_status=$?
1318 # Save into config.log some information that might help in debugging.
1323 ## ---------------- ##
1324 ## Cache variables. ##
1325 ## ---------------- ##
1328 # The following way of writing the cache mishandles newlines in values,
1331 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1339 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1346 ## ----------------- ##
1347 ## Output variables. ##
1348 ## ----------------- ##
1351 for ac_var in $ac_subst_vars
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1358 if test -n "$ac_subst_files"; then
1365 for ac_var in $ac_subst_files
1367 eval ac_val=$`echo $ac_var`
1368 echo "$ac_var='"'"'$ac_val'"'"'"
1373 if test -s confdefs.h; then
1380 sed "/^$/d" confdefs.h | sort
1383 test "$ac_signal" != 0 &&
1384 echo "$as_me: caught signal $ac_signal"
1385 echo "$as_me: exit $exit_status"
1387 rm -f core *.core &&
1388 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 for ac_signal in 1 2 13 15; do
1392 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1397 rm -rf conftest* confdefs.h
1398 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 # Predefined preprocessor variables.
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_NAME "$PACKAGE_NAME"
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_STRING "$PACKAGE_STRING"
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1428 # Let the site file select an alternate cache file if it wants to.
1429 # Prefer explicitly selected file to automatically selected ones.
1430 if test -z "$CONFIG_SITE"; then
1431 if test "x$prefix" != xNONE; then
1432 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1434 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 for ac_site_file in $CONFIG_SITE; do
1438 if test -r "$ac_site_file"; then
1439 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1440 echo "$as_me: loading site script $ac_site_file" >&6;}
1441 sed 's/^/| /' "$ac_site_file" >&5
1446 if test -r "$cache_file"; then
1447 # Some versions of bash will fail to source /dev/null (special
1448 # files actually), so we avoid doing that.
1449 if test -f "$cache_file"; then
1450 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1451 echo "$as_me: loading cache $cache_file" >&6;}
1453 [\\/]* | ?:[\\/]* ) . $cache_file;;
1454 *) . ./$cache_file;;
1458 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1459 echo "$as_me: creating cache $cache_file" >&6;}
1463 # Check that the precious variables saved in the cache have kept the same
1465 ac_cache_corrupted=false
1466 for ac_var in `(set) 2>&1 |
1467 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1468 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1469 eval ac_new_set=\$ac_env_${ac_var}_set
1470 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1471 eval ac_new_val="\$ac_env_${ac_var}_value"
1472 case $ac_old_set,$ac_new_set in
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1476 ac_cache_corrupted=: ;;
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1483 if test "x$ac_old_val" != "x$ac_new_val"; then
1484 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1487 echo "$as_me: former value: $ac_old_val" >&2;}
1488 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1489 echo "$as_me: current value: $ac_new_val" >&2;}
1490 ac_cache_corrupted=:
1493 # Pass precious variables to config.status.
1494 if test "$ac_new_set" = set; then
1496 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1497 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1498 *) ac_arg=$ac_var=$ac_new_val ;;
1500 case " $ac_configure_args " in
1501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1502 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1506 if $ac_cache_corrupted; then
1507 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1508 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1509 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1510 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1511 { (exit 1); exit 1; }; }
1515 ac_cpp='$CPP $CPPFLAGS'
1516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1550 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1551 if test -f $ac_dir/install-sh; then
1553 ac_install_sh="$ac_aux_dir/install-sh -c"
1555 elif test -f $ac_dir/install.sh; then
1557 ac_install_sh="$ac_aux_dir/install.sh -c"
1559 elif test -f $ac_dir/shtool; then
1561 ac_install_sh="$ac_aux_dir/shtool install -c"
1565 if test -z "$ac_aux_dir"; then
1566 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1567 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1568 { (exit 1); exit 1; }; }
1570 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1571 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1572 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1574 # Make sure we can run config.sub.
1575 $ac_config_sub sun4 >/dev/null 2>&1 ||
1576 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1577 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1578 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: checking build system type" >&5
1581 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1582 if test "${ac_cv_build+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_build_alias=$build_alias
1586 test -z "$ac_cv_build_alias" &&
1587 ac_cv_build_alias=`$ac_config_guess`
1588 test -z "$ac_cv_build_alias" &&
1589 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1590 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1591 { (exit 1); exit 1; }; }
1592 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1593 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1594 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1595 { (exit 1); exit 1; }; }
1598 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1599 echo "${ECHO_T}$ac_cv_build" >&6
1601 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1602 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1603 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606 echo "$as_me:$LINENO: checking host system type" >&5
1607 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1608 if test "${ac_cv_host+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 ac_cv_host_alias=$host_alias
1612 test -z "$ac_cv_host_alias" &&
1613 ac_cv_host_alias=$ac_cv_build_alias
1614 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1615 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1616 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1617 { (exit 1); exit 1; }; }
1620 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1621 echo "${ECHO_T}$ac_cv_host" >&6
1623 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1624 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1625 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628 echo "$as_me:$LINENO: checking target system type" >&5
1629 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1630 if test "${ac_cv_target+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 ac_cv_target_alias=$target_alias
1634 test "x$ac_cv_target_alias" = "x" &&
1635 ac_cv_target_alias=$ac_cv_host_alias
1636 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1642 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1643 echo "${ECHO_T}$ac_cv_target" >&6
1644 target=$ac_cv_target
1645 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650 # The aliases save the names the user supplied, while $host etc.
1651 # will get canonicalized.
1652 test -n "$target_alias" &&
1653 test "$program_prefix$program_suffix$program_transform_name" = \
1655 program_prefix=${target_alias}-
1659 wx_major_version_number=2
1660 wx_minor_version_number=5
1662 wx_subrelease_number=0
1664 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1665 WX_VERSION=$WX_RELEASE.$wx_release_number
1666 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1668 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1684 USE_BSD= USE_DARWIN= USE_FREEBSD=
1690 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1696 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1698 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1700 DEFAULT_wxUSE_COCOA=0
1704 DEFAULT_wxUSE_MICROWIN=0
1705 DEFAULT_wxUSE_MOTIF=0
1710 DEFAULT_DEFAULT_wxUSE_COCOA=0
1711 DEFAULT_DEFAULT_wxUSE_GTK=0
1712 DEFAULT_DEFAULT_wxUSE_MAC=0
1713 DEFAULT_DEFAULT_wxUSE_MGL=0
1714 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1715 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1716 DEFAULT_DEFAULT_wxUSE_MSW=0
1717 DEFAULT_DEFAULT_wxUSE_PM=0
1718 DEFAULT_DEFAULT_wxUSE_X11=0
1723 SAMPLES_RPATH_POSTLINK=
1728 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1729 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1731 cat >>confdefs.h <<\_ACEOF
1738 cat >>confdefs.h <<\_ACEOF
1743 if test "x$TMP" = "xalpha"; then
1745 cat >>confdefs.h <<\_ACEOF
1750 DEFAULT_DEFAULT_wxUSE_GTK=1
1752 *-*-gnu* | *-*-k*bsd*-gnu )
1755 if test "x$TMP" = "xalpha"; then
1757 cat >>confdefs.h <<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_GTK=1
1764 *-*-irix5* | *-*-irix6* )
1767 cat >>confdefs.h <<\_ACEOF
1771 cat >>confdefs.h <<\_ACEOF
1775 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1781 cat >>confdefs.h <<\_ACEOF
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SOLARIS__ 1
1789 cat >>confdefs.h <<\_ACEOF
1793 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1794 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1800 cat >>confdefs.h <<\_ACEOF
1804 cat >>confdefs.h <<\_ACEOF
1808 cat >>confdefs.h <<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __FREEBSD__ 1
1821 cat >>confdefs.h <<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_GTK=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __OPENBSD__ 1
1834 cat >>confdefs.h <<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __NETBSD__ 1
1847 cat >>confdefs.h <<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1856 cat >>confdefs.h <<\_ACEOF
1860 cat >>confdefs.h <<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1865 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1870 cat >>confdefs.h <<\_ACEOF
1874 cat >>confdefs.h <<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1883 cat >>confdefs.h <<\_ACEOF
1887 cat >>confdefs.h <<\_ACEOF
1891 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 cat >>confdefs.h <<\_ACEOF
1902 cat >>confdefs.h <<\_ACEOF
1906 cat >>confdefs.h <<\_ACEOF
1910 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __UNIXWARE__ 1
1923 *-*-cygwin* | *-*-mingw32* )
1927 DEFAULT_DEFAULT_wxUSE_MSW=1
1933 cat >>confdefs.h <<\_ACEOF
1938 DEFAULT_DEFAULT_wxUSE_MGL=1
1939 LIBS="$LIBS -lstdc++"
1942 *-pc-os2_emx | *-pc-os2-emx )
1943 cat >>confdefs.h <<\_ACEOF
1948 cat >>confdefs.h <<\_ACEOF
1953 DEFAULT_DEFAULT_wxUSE_PM=1
1955 LDFLAGS="$LDFLAGS -Zcrtdll"
1956 ac_executable_extensions=".exe"
1957 export ac_executable_extensions
1961 for ac_dir in $PATH; do
1963 if test -z "$ac_TEMP_PATH"; then
1964 ac_TEMP_PATH="$ac_dir"
1966 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1969 export PATH="$ac_TEMP_PATH"
1977 cat >>confdefs.h <<\_ACEOF
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __DARWIN__ 1
1985 cat >>confdefs.h <<\_ACEOF
1986 #define TARGET_CARBON 1
1989 DEFAULT_DEFAULT_wxUSE_MAC=1
1991 powerpc-apple-macos* )
1993 ac_cv_c_bigendian=yes
1995 DEFAULT_DEFAULT_wxUSE_MAC=1
2000 cat >>confdefs.h <<\_ACEOF
2007 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2008 echo "$as_me: error: unknown system type ${host}." >&2;}
2009 { (exit 1); exit 1; }; }
2015 wx_arg_cache_file="configarg.cache"
2016 echo "loading argument cache $wx_arg_cache_file"
2017 rm -f ${wx_arg_cache_file}.tmp
2018 touch ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}
2023 if test $DEBUG_CONFIGURE = 1; then
2024 DEFAULT_wxUSE_UNIVERSAL=no
2025 DEFAULT_wxUSE_STL=no
2027 DEFAULT_wxUSE_NANOX=no
2029 DEFAULT_wxUSE_THREADS=yes
2031 DEFAULT_wxUSE_SHARED=yes
2032 DEFAULT_wxUSE_OPTIMISE=no
2033 DEFAULT_wxUSE_PROFILE=no
2034 DEFAULT_wxUSE_NO_DEPS=no
2035 DEFAULT_wxUSE_NO_RTTI=no
2036 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2037 DEFAULT_wxUSE_RPATH=yes
2038 DEFAULT_wxUSE_PERMISSIVE=no
2039 DEFAULT_wxUSE_DEBUG_FLAG=yes
2040 DEFAULT_wxUSE_DEBUG_INFO=yes
2041 DEFAULT_wxUSE_DEBUG_GDB=yes
2042 DEFAULT_wxUSE_MEM_TRACING=no
2043 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2044 DEFAULT_wxUSE_DMALLOC=no
2045 DEFAULT_wxUSE_APPLE_IEEE=no
2047 DEFAULT_wxUSE_EXCEPTIONS=no
2048 DEFAULT_wxUSE_LOG=yes
2049 DEFAULT_wxUSE_LOGWINDOW=no
2050 DEFAULT_wxUSE_LOGGUI=no
2051 DEFAULT_wxUSE_LOGDIALOG=no
2053 DEFAULT_wxUSE_GUI=yes
2054 DEFAULT_wxUSE_CONTROLS=no
2056 DEFAULT_wxUSE_REGEX=no
2057 DEFAULT_wxUSE_XML=no
2058 DEFAULT_wxUSE_EXPAT=no
2059 DEFAULT_wxUSE_ZLIB=no
2060 DEFAULT_wxUSE_LIBPNG=no
2061 DEFAULT_wxUSE_LIBJPEG=no
2062 DEFAULT_wxUSE_LIBTIFF=no
2063 DEFAULT_wxUSE_LIBXPM=no
2064 DEFAULT_wxUSE_LIBMSPACK=no
2065 DEFAULT_wxUSE_LIBSDL=no
2066 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2067 DEFAULT_wxUSE_ODBC=no
2068 DEFAULT_wxUSE_OPENGL=no
2070 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2071 DEFAULT_wxUSE_STACKWALKER=no
2072 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2073 DEFAULT_wxUSE_STD_IOSTREAM=no
2074 DEFAULT_wxUSE_CMDLINE_PARSER=no
2075 DEFAULT_wxUSE_DATETIME=no
2076 DEFAULT_wxUSE_TIMER=no
2077 DEFAULT_wxUSE_STOPWATCH=no
2078 DEFAULT_wxUSE_FILE=no
2079 DEFAULT_wxUSE_FFILE=no
2080 DEFAULT_wxUSE_TEXTBUFFER=no
2081 DEFAULT_wxUSE_TEXTFILE=no
2082 DEFAULT_wxUSE_SOUND=no
2083 DEFAULT_wxUSE_MEDIACTRL=no
2084 DEFAULT_wxUSE_DIRECTSHOW=no
2085 DEFAULT_wxUSE_INTL=no
2086 DEFAULT_wxUSE_CONFIG=no
2087 DEFAULT_wxUSE_FONTMAP=no
2088 DEFAULT_wxUSE_STREAMS=no
2089 DEFAULT_wxUSE_SOCKETS=no
2090 DEFAULT_wxUSE_OLE=no
2091 DEFAULT_wxUSE_DATAOBJ=no
2092 DEFAULT_wxUSE_DIALUP_MANAGER=no
2093 DEFAULT_wxUSE_JOYSTICK=no
2094 DEFAULT_wxUSE_DYNLIB_CLASS=no
2095 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2096 DEFAULT_wxUSE_LONGLONG=no
2097 DEFAULT_wxUSE_GEOMETRY=no
2099 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2100 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2101 DEFAULT_wxUSE_POSTSCRIPT=no
2103 DEFAULT_wxUSE_CLIPBOARD=no
2104 DEFAULT_wxUSE_TOOLTIPS=no
2105 DEFAULT_wxUSE_DRAG_AND_DROP=no
2106 DEFAULT_wxUSE_DRAGIMAGE=no
2107 DEFAULT_wxUSE_SPLINES=no
2109 DEFAULT_wxUSE_MDI=no
2110 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2111 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2112 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2114 DEFAULT_wxUSE_RESOURCES=no
2115 DEFAULT_wxUSE_CONSTRAINTS=no
2116 DEFAULT_wxUSE_IPC=no
2117 DEFAULT_wxUSE_HELP=no
2118 DEFAULT_wxUSE_MS_HTML_HELP=no
2119 DEFAULT_wxUSE_WXHTML_HELP=no
2120 DEFAULT_wxUSE_TREELAYOUT=no
2121 DEFAULT_wxUSE_METAFILE=no
2122 DEFAULT_wxUSE_MIMETYPE=no
2123 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2124 DEFAULT_wxUSE_PROTOCOL=no
2125 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2126 DEFAULT_wxUSE_PROTOCOL_FTP=no
2127 DEFAULT_wxUSE_PROTOCOL_FILE=no
2128 DEFAULT_wxUSE_URL=no
2130 DEFAULT_wxUSE_COMMONDLGS=no
2131 DEFAULT_wxUSE_CHOICEDLG=no
2132 DEFAULT_wxUSE_COLOURDLG=no
2133 DEFAULT_wxUSE_DIRDLG=no
2134 DEFAULT_wxUSE_FILEDLG=no
2135 DEFAULT_wxUSE_FINDREPLDLG=no
2136 DEFAULT_wxUSE_FONTDLG=no
2137 DEFAULT_wxUSE_MSGDLG=no
2138 DEFAULT_wxUSE_NUMBERDLG=no
2139 DEFAULT_wxUSE_TEXTDLG=no
2140 DEFAULT_wxUSE_SPLASH=no
2141 DEFAULT_wxUSE_STARTUP_TIPS=no
2142 DEFAULT_wxUSE_PROGRESSDLG=no
2143 DEFAULT_wxUSE_WIZARDDLG=no
2145 DEFAULT_wxUSE_MENUS=no
2146 DEFAULT_wxUSE_MINIFRAME=no
2147 DEFAULT_wxUSE_HTML=no
2148 DEFAULT_wxUSE_XRC=no
2149 DEFAULT_wxUSE_WEBKIT=no
2150 DEFAULT_wxUSE_FILESYSTEM=no
2151 DEFAULT_wxUSE_FS_INET=no
2152 DEFAULT_wxUSE_FS_ZIP=no
2153 DEFAULT_wxUSE_BUSYINFO=no
2154 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2155 DEFAULT_wxUSE_ZIPSTREAM=no
2156 DEFAULT_wxUSE_VALIDATORS=no
2158 DEFAULT_wxUSE_ACCEL=no
2159 DEFAULT_wxUSE_BUTTON=no
2160 DEFAULT_wxUSE_BMPBUTTON=no
2161 DEFAULT_wxUSE_CALCTRL=no
2162 DEFAULT_wxUSE_CARET=no
2163 DEFAULT_wxUSE_CHECKBOX=no
2164 DEFAULT_wxUSE_CHECKLST=no
2165 DEFAULT_wxUSE_CHOICE=no
2166 DEFAULT_wxUSE_CHOICEBOOK=no
2167 DEFAULT_wxUSE_COMBOBOX=no
2168 DEFAULT_wxUSE_DATEPICKCTRL=no
2169 DEFAULT_wxUSE_DISPLAY=no
2170 DEFAULT_wxUSE_GAUGE=no
2171 DEFAULT_wxUSE_GRID=no
2172 DEFAULT_wxUSE_IMAGLIST=no
2173 DEFAULT_wxUSE_LISTBOOK=no
2174 DEFAULT_wxUSE_LISTBOX=no
2175 DEFAULT_wxUSE_LISTCTRL=no
2176 DEFAULT_wxUSE_NOTEBOOK=no
2177 DEFAULT_wxUSE_RADIOBOX=no
2178 DEFAULT_wxUSE_RADIOBTN=no
2179 DEFAULT_wxUSE_SASH=no
2180 DEFAULT_wxUSE_SCROLLBAR=no
2181 DEFAULT_wxUSE_SLIDER=no
2182 DEFAULT_wxUSE_SPINBTN=no
2183 DEFAULT_wxUSE_SPINCTRL=no
2184 DEFAULT_wxUSE_SPLITTER=no
2185 DEFAULT_wxUSE_STATBMP=no
2186 DEFAULT_wxUSE_STATBOX=no
2187 DEFAULT_wxUSE_STATLINE=no
2188 DEFAULT_wxUSE_STATTEXT=no
2189 DEFAULT_wxUSE_STATUSBAR=yes
2190 DEFAULT_wxUSE_TABDIALOG=no
2191 DEFAULT_wxUSE_TEXTCTRL=no
2192 DEFAULT_wxUSE_TOGGLEBTN=no
2193 DEFAULT_wxUSE_TOOLBAR=no
2194 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2195 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2196 DEFAULT_wxUSE_TREECTRL=no
2197 DEFAULT_wxUSE_POPUPWIN=no
2198 DEFAULT_wxUSE_TIPWINDOW=no
2200 DEFAULT_wxUSE_UNICODE=no
2201 DEFAULT_wxUSE_UNICODE_MSLU=no
2202 DEFAULT_wxUSE_WCSRTOMBS=no
2204 DEFAULT_wxUSE_PALETTE=no
2205 DEFAULT_wxUSE_IMAGE=no
2206 DEFAULT_wxUSE_GIF=no
2207 DEFAULT_wxUSE_PCX=no
2208 DEFAULT_wxUSE_PNM=no
2209 DEFAULT_wxUSE_IFF=no
2210 DEFAULT_wxUSE_XPM=no
2211 DEFAULT_wxUSE_ICO_CUR=no
2212 DEFAULT_wxUSE_ACCESSIBILITY=no
2214 DEFAULT_wxUSE_MONOLITHIC=no
2215 DEFAULT_wxUSE_PLUGINS=no
2216 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2218 DEFAULT_wxUSE_UNIVERSAL=no
2219 DEFAULT_wxUSE_STL=no
2221 DEFAULT_wxUSE_NANOX=no
2223 DEFAULT_wxUSE_THREADS=yes
2225 DEFAULT_wxUSE_SHARED=yes
2226 DEFAULT_wxUSE_OPTIMISE=yes
2227 DEFAULT_wxUSE_PROFILE=no
2228 DEFAULT_wxUSE_NO_DEPS=no
2229 DEFAULT_wxUSE_NO_RTTI=no
2230 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2231 DEFAULT_wxUSE_RPATH=yes
2232 DEFAULT_wxUSE_PERMISSIVE=no
2233 DEFAULT_wxUSE_DEBUG_FLAG=no
2234 DEFAULT_wxUSE_DEBUG_INFO=no
2235 DEFAULT_wxUSE_DEBUG_GDB=no
2236 DEFAULT_wxUSE_MEM_TRACING=no
2237 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2238 DEFAULT_wxUSE_DMALLOC=no
2239 DEFAULT_wxUSE_APPLE_IEEE=yes
2241 DEFAULT_wxUSE_EXCEPTIONS=yes
2242 DEFAULT_wxUSE_LOG=yes
2243 DEFAULT_wxUSE_LOGWINDOW=yes
2244 DEFAULT_wxUSE_LOGGUI=yes
2245 DEFAULT_wxUSE_LOGDIALOG=yes
2247 DEFAULT_wxUSE_GUI=yes
2249 DEFAULT_wxUSE_REGEX=yes
2250 DEFAULT_wxUSE_XML=yes
2251 DEFAULT_wxUSE_EXPAT=yes
2252 DEFAULT_wxUSE_ZLIB=yes
2253 DEFAULT_wxUSE_LIBPNG=yes
2254 DEFAULT_wxUSE_LIBJPEG=yes
2255 DEFAULT_wxUSE_LIBTIFF=yes
2256 DEFAULT_wxUSE_LIBXPM=yes
2257 DEFAULT_wxUSE_LIBMSPACK=yes
2258 DEFAULT_wxUSE_LIBSDL=no
2259 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2260 DEFAULT_wxUSE_ODBC=no
2261 DEFAULT_wxUSE_OPENGL=no
2263 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2264 DEFAULT_wxUSE_STACKWALKER=yes
2265 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2266 DEFAULT_wxUSE_STD_IOSTREAM=no
2267 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2268 DEFAULT_wxUSE_DATETIME=yes
2269 DEFAULT_wxUSE_TIMER=yes
2270 DEFAULT_wxUSE_STOPWATCH=yes
2271 DEFAULT_wxUSE_FILE=yes
2272 DEFAULT_wxUSE_FFILE=yes
2273 DEFAULT_wxUSE_TEXTBUFFER=yes
2274 DEFAULT_wxUSE_TEXTFILE=yes
2275 DEFAULT_wxUSE_SOUND=yes
2276 DEFAULT_wxUSE_MEDIACTRL=no
2277 DEFAULT_wxUSE_DIRECTSHOW=no
2278 DEFAULT_wxUSE_INTL=yes
2279 DEFAULT_wxUSE_CONFIG=yes
2280 DEFAULT_wxUSE_FONTMAP=yes
2281 DEFAULT_wxUSE_STREAMS=yes
2282 DEFAULT_wxUSE_SOCKETS=yes
2283 DEFAULT_wxUSE_OLE=yes
2284 DEFAULT_wxUSE_DATAOBJ=yes
2285 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2286 DEFAULT_wxUSE_JOYSTICK=yes
2287 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2288 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2289 DEFAULT_wxUSE_LONGLONG=yes
2290 DEFAULT_wxUSE_GEOMETRY=yes
2292 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2293 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2294 DEFAULT_wxUSE_POSTSCRIPT=yes
2296 DEFAULT_wxUSE_CLIPBOARD=yes
2297 DEFAULT_wxUSE_TOOLTIPS=yes
2298 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2299 DEFAULT_wxUSE_DRAGIMAGE=yes
2300 DEFAULT_wxUSE_SPLINES=yes
2302 DEFAULT_wxUSE_MDI=yes
2303 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2304 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2305 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2307 DEFAULT_wxUSE_RESOURCES=no
2308 DEFAULT_wxUSE_CONSTRAINTS=yes
2309 DEFAULT_wxUSE_IPC=yes
2310 DEFAULT_wxUSE_HELP=yes
2311 DEFAULT_wxUSE_MS_HTML_HELP=yes
2312 DEFAULT_wxUSE_WXHTML_HELP=yes
2313 DEFAULT_wxUSE_TREELAYOUT=yes
2314 DEFAULT_wxUSE_METAFILE=yes
2315 DEFAULT_wxUSE_MIMETYPE=yes
2316 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2317 DEFAULT_wxUSE_PROTOCOL=yes
2318 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2319 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2320 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2321 DEFAULT_wxUSE_URL=yes
2323 DEFAULT_wxUSE_COMMONDLGS=yes
2324 DEFAULT_wxUSE_CHOICEDLG=yes
2325 DEFAULT_wxUSE_COLOURDLG=yes
2326 DEFAULT_wxUSE_DIRDLG=yes
2327 DEFAULT_wxUSE_FILEDLG=yes
2328 DEFAULT_wxUSE_FINDREPLDLG=yes
2329 DEFAULT_wxUSE_FONTDLG=yes
2330 DEFAULT_wxUSE_MSGDLG=yes
2331 DEFAULT_wxUSE_NUMBERDLG=yes
2332 DEFAULT_wxUSE_TEXTDLG=yes
2333 DEFAULT_wxUSE_SPLASH=yes
2334 DEFAULT_wxUSE_STARTUP_TIPS=yes
2335 DEFAULT_wxUSE_PROGRESSDLG=yes
2336 DEFAULT_wxUSE_WIZARDDLG=yes
2338 DEFAULT_wxUSE_MENUS=yes
2339 DEFAULT_wxUSE_MINIFRAME=yes
2340 DEFAULT_wxUSE_HTML=yes
2341 DEFAULT_wxUSE_XRC=yes
2342 DEFAULT_wxUSE_WEBKIT=yes
2343 DEFAULT_wxUSE_FILESYSTEM=yes
2344 DEFAULT_wxUSE_FS_INET=yes
2345 DEFAULT_wxUSE_FS_ZIP=yes
2346 DEFAULT_wxUSE_BUSYINFO=yes
2347 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2348 DEFAULT_wxUSE_ZIPSTREAM=yes
2349 DEFAULT_wxUSE_VALIDATORS=yes
2351 DEFAULT_wxUSE_ACCEL=yes
2352 DEFAULT_wxUSE_BUTTON=yes
2353 DEFAULT_wxUSE_BMPBUTTON=yes
2354 DEFAULT_wxUSE_CALCTRL=yes
2355 DEFAULT_wxUSE_CARET=yes
2356 DEFAULT_wxUSE_CHECKBOX=yes
2357 DEFAULT_wxUSE_CHECKLST=yes
2358 DEFAULT_wxUSE_CHOICE=yes
2359 DEFAULT_wxUSE_CHOICEBOOK=yes
2360 DEFAULT_wxUSE_COMBOBOX=yes
2361 DEFAULT_wxUSE_DATEPICKCTRL=yes
2362 DEFAULT_wxUSE_DISPLAY=yes
2363 DEFAULT_wxUSE_GAUGE=yes
2364 DEFAULT_wxUSE_GRID=yes
2365 DEFAULT_wxUSE_IMAGLIST=yes
2366 DEFAULT_wxUSE_LISTBOOK=yes
2367 DEFAULT_wxUSE_LISTBOX=yes
2368 DEFAULT_wxUSE_LISTCTRL=yes
2369 DEFAULT_wxUSE_NOTEBOOK=yes
2370 DEFAULT_wxUSE_RADIOBOX=yes
2371 DEFAULT_wxUSE_RADIOBTN=yes
2372 DEFAULT_wxUSE_SASH=yes
2373 DEFAULT_wxUSE_SCROLLBAR=yes
2374 DEFAULT_wxUSE_SLIDER=yes
2375 DEFAULT_wxUSE_SPINBTN=yes
2376 DEFAULT_wxUSE_SPINCTRL=yes
2377 DEFAULT_wxUSE_SPLITTER=yes
2378 DEFAULT_wxUSE_STATBMP=yes
2379 DEFAULT_wxUSE_STATBOX=yes
2380 DEFAULT_wxUSE_STATLINE=yes
2381 DEFAULT_wxUSE_STATTEXT=yes
2382 DEFAULT_wxUSE_STATUSBAR=yes
2383 DEFAULT_wxUSE_TABDIALOG=no
2384 DEFAULT_wxUSE_TEXTCTRL=yes
2385 DEFAULT_wxUSE_TOGGLEBTN=yes
2386 DEFAULT_wxUSE_TOOLBAR=yes
2387 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2388 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2389 DEFAULT_wxUSE_TREECTRL=yes
2390 DEFAULT_wxUSE_POPUPWIN=yes
2391 DEFAULT_wxUSE_TIPWINDOW=yes
2393 DEFAULT_wxUSE_UNICODE=no
2394 DEFAULT_wxUSE_UNICODE_MSLU=yes
2395 DEFAULT_wxUSE_WCSRTOMBS=no
2397 DEFAULT_wxUSE_PALETTE=yes
2398 DEFAULT_wxUSE_IMAGE=yes
2399 DEFAULT_wxUSE_GIF=yes
2400 DEFAULT_wxUSE_PCX=yes
2401 DEFAULT_wxUSE_IFF=no
2402 DEFAULT_wxUSE_PNM=yes
2403 DEFAULT_wxUSE_XPM=yes
2404 DEFAULT_wxUSE_ICO_CUR=yes
2405 DEFAULT_wxUSE_ACCESSIBILITY=no
2407 DEFAULT_wxUSE_MONOLITHIC=no
2408 DEFAULT_wxUSE_PLUGINS=no
2409 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2411 DEFAULT_wxUSE_GTK2=yes
2416 for toolkit in `echo $ALL_TOOLKITS`; do
2417 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2418 if test "x$LINE" != "x" ; then
2419 has_toolkit_in_cache=1
2420 eval "DEFAULT_$LINE"
2421 eval "CACHE_$toolkit=1"
2428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2429 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2431 # Check whether --enable-gui or --disable-gui was given.
2432 if test "${enable_gui+set}" = set; then
2433 enableval="$enable_gui"
2435 if test "$enableval" = yes; then
2436 ac_cv_use_gui='wxUSE_GUI=yes'
2438 ac_cv_use_gui='wxUSE_GUI=no'
2443 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x ; then
2445 eval "DEFAULT_$LINE"
2450 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2454 eval "$ac_cv_use_gui"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2459 if test "$wxUSE_GUI" = yes; then
2460 echo "$as_me:$LINENO: result: yes" >&5
2461 echo "${ECHO_T}yes" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2470 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2472 # Check whether --enable-monolithic or --disable-monolithic was given.
2473 if test "${enable_monolithic+set}" = set; then
2474 enableval="$enable_monolithic"
2476 if test "$enableval" = yes; then
2477 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2479 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2484 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2485 if test "x$LINE" != x ; then
2486 eval "DEFAULT_$LINE"
2491 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2495 eval "$ac_cv_use_monolithic"
2496 if test "$no_cache" != 1; then
2497 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2500 if test "$wxUSE_MONOLITHIC" = yes; then
2501 echo "$as_me:$LINENO: result: yes" >&5
2502 echo "${ECHO_T}yes" >&6
2504 echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6
2510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2511 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2513 # Check whether --enable-plugins or --disable-plugins was given.
2514 if test "${enable_plugins+set}" = set; then
2515 enableval="$enable_plugins"
2517 if test "$enableval" = yes; then
2518 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2520 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2525 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2526 if test "x$LINE" != x ; then
2527 eval "DEFAULT_$LINE"
2532 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2536 eval "$ac_cv_use_plugins"
2537 if test "$no_cache" != 1; then
2538 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2541 if test "$wxUSE_PLUGINS" = yes; then
2542 echo "$as_me:$LINENO: result: yes" >&5
2543 echo "${ECHO_T}yes" >&6
2545 echo "$as_me:$LINENO: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2550 if test "$wxUSE_GUI" = "yes"; then
2554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2555 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2557 # Check whether --enable-universal or --disable-universal was given.
2558 if test "${enable_universal+set}" = set; then
2559 enableval="$enable_universal"
2561 if test "$enableval" = yes; then
2562 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2564 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2569 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2570 if test "x$LINE" != x ; then
2571 eval "DEFAULT_$LINE"
2576 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2580 eval "$ac_cv_use_universal"
2581 if test "$no_cache" != 1; then
2582 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2585 if test "$wxUSE_UNIVERSAL" = yes; then
2586 echo "$as_me:$LINENO: result: yes" >&5
2587 echo "${ECHO_T}yes" >&6
2589 echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6
2594 # Check whether --with-gtk or --without-gtk was given.
2595 if test "${with_gtk+set}" = set; then
2597 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2600 # Check whether --with-motif or --without-motif was given.
2601 if test "${with_motif+set}" = set; then
2602 withval="$with_motif"
2603 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2606 # Check whether --with-mac or --without-mac was given.
2607 if test "${with_mac+set}" = set; then
2609 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2612 # Check whether --with-cocoa or --without-cocoa was given.
2613 if test "${with_cocoa+set}" = set; then
2614 withval="$with_cocoa"
2615 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2618 # Check whether --with-wine or --without-wine was given.
2619 if test "${with_wine+set}" = set; then
2620 withval="$with_wine"
2621 wxUSE_WINE="$withval" CACHE_WINE=1
2624 # Check whether --with-msw or --without-msw was given.
2625 if test "${with_msw+set}" = set; then
2627 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2630 # Check whether --with-pm or --without-pm was given.
2631 if test "${with_pm+set}" = set; then
2633 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2636 # Check whether --with-mgl or --without-mgl was given.
2637 if test "${with_mgl+set}" = set; then
2639 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2642 # Check whether --with-microwin or --without-microwin was given.
2643 if test "${with_microwin+set}" = set; then
2644 withval="$with_microwin"
2645 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2648 # Check whether --with-x11 or --without-x11 was given.
2649 if test "${with_x11+set}" = set; then
2651 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2656 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2658 # Check whether --enable-nanox or --disable-nanox was given.
2659 if test "${enable_nanox+set}" = set; then
2660 enableval="$enable_nanox"
2662 if test "$enableval" = yes; then
2663 ac_cv_use_nanox='wxUSE_NANOX=yes'
2665 ac_cv_use_nanox='wxUSE_NANOX=no'
2670 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x ; then
2672 eval "DEFAULT_$LINE"
2677 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2681 eval "$ac_cv_use_nanox"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2686 if test "$wxUSE_NANOX" = yes; then
2687 echo "$as_me:$LINENO: result: yes" >&5
2688 echo "${ECHO_T}yes" >&6
2690 echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6
2697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2698 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2700 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2701 if test "${enable_gtk2+set}" = set; then
2702 enableval="$enable_gtk2"
2704 if test "$enableval" = yes; then
2705 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2707 ac_cv_use_gtk2='wxUSE_GTK2=no'
2712 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2719 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2723 eval "$ac_cv_use_gtk2"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_GTK2" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2739 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2741 # Check whether --enable-gpe or --disable-gpe was given.
2742 if test "${enable_gpe+set}" = set; then
2743 enableval="$enable_gpe"
2745 if test "$enableval" = yes; then
2746 ac_cv_use_gpe='wxUSE_GPE=yes'
2748 ac_cv_use_gpe='wxUSE_GPE=no'
2753 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2754 if test "x$LINE" != x ; then
2755 eval "DEFAULT_$LINE"
2760 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2764 eval "$ac_cv_use_gpe"
2765 if test "$no_cache" != 1; then
2766 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2769 if test "$wxUSE_GPE" = yes; then
2770 echo "$as_me:$LINENO: result: yes" >&5
2771 echo "${ECHO_T}yes" >&6
2773 echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2779 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2780 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2783 # Check whether --with-libpng or --without-libpng was given.
2784 if test "${with_libpng+set}" = set; then
2785 withval="$with_libpng"
2787 if test "$withval" = yes; then
2788 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2789 elif test "$withval" = no; then
2790 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2791 elif test "$withval" = sys; then
2792 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2793 elif test "$withval" = builtin; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2803 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2804 if test "x$LINE" != x ; then
2805 eval "DEFAULT_$LINE"
2810 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2814 eval "$ac_cv_use_libpng"
2815 if test "$no_cache" != 1; then
2816 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2819 if test "$wxUSE_LIBPNG" = yes; then
2820 echo "$as_me:$LINENO: result: yes" >&5
2821 echo "${ECHO_T}yes" >&6
2822 elif test "$wxUSE_LIBPNG" = no; then
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2825 elif test "$wxUSE_LIBPNG" = sys; then
2826 echo "$as_me:$LINENO: result: system version" >&5
2827 echo "${ECHO_T}system version" >&6
2828 elif test "$wxUSE_LIBPNG" = builtin; then
2829 echo "$as_me:$LINENO: result: builtin version" >&5
2830 echo "${ECHO_T}builtin version" >&6
2832 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2833 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2834 { (exit 1); exit 1; }; }
2838 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2839 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2842 # Check whether --with-libjpeg or --without-libjpeg was given.
2843 if test "${with_libjpeg+set}" = set; then
2844 withval="$with_libjpeg"
2846 if test "$withval" = yes; then
2847 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2848 elif test "$withval" = no; then
2849 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2850 elif test "$withval" = sys; then
2851 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2852 elif test "$withval" = builtin; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2862 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x ; then
2864 eval "DEFAULT_$LINE"
2869 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2873 eval "$ac_cv_use_libjpeg"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2878 if test "$wxUSE_LIBJPEG" = yes; then
2879 echo "$as_me:$LINENO: result: yes" >&5
2880 echo "${ECHO_T}yes" >&6
2881 elif test "$wxUSE_LIBJPEG" = no; then
2882 echo "$as_me:$LINENO: result: no" >&5
2883 echo "${ECHO_T}no" >&6
2884 elif test "$wxUSE_LIBJPEG" = sys; then
2885 echo "$as_me:$LINENO: result: system version" >&5
2886 echo "${ECHO_T}system version" >&6
2887 elif test "$wxUSE_LIBJPEG" = builtin; then
2888 echo "$as_me:$LINENO: result: builtin version" >&5
2889 echo "${ECHO_T}builtin version" >&6
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2892 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2897 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2898 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2901 # Check whether --with-libtiff or --without-libtiff was given.
2902 if test "${with_libtiff+set}" = set; then
2903 withval="$with_libtiff"
2905 if test "$withval" = yes; then
2906 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2907 elif test "$withval" = no; then
2908 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2909 elif test "$withval" = sys; then
2910 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2911 elif test "$withval" = builtin; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2921 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x ; then
2923 eval "DEFAULT_$LINE"
2928 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2932 eval "$ac_cv_use_libtiff"
2933 if test "$no_cache" != 1; then
2934 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2937 if test "$wxUSE_LIBTIFF" = yes; then
2938 echo "$as_me:$LINENO: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2940 elif test "$wxUSE_LIBTIFF" = no; then
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2943 elif test "$wxUSE_LIBTIFF" = sys; then
2944 echo "$as_me:$LINENO: result: system version" >&5
2945 echo "${ECHO_T}system version" >&6
2946 elif test "$wxUSE_LIBTIFF" = builtin; then
2947 echo "$as_me:$LINENO: result: builtin version" >&5
2948 echo "${ECHO_T}builtin version" >&6
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2951 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2956 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2957 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2960 # Check whether --with-libxpm or --without-libxpm was given.
2961 if test "${with_libxpm+set}" = set; then
2962 withval="$with_libxpm"
2964 if test "$withval" = yes; then
2965 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2966 elif test "$withval" = no; then
2967 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2968 elif test "$withval" = sys; then
2969 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2970 elif test "$withval" = builtin; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2980 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x ; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2991 eval "$ac_cv_use_libxpm"
2992 if test "$no_cache" != 1; then
2993 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2996 if test "$wxUSE_LIBXPM" = yes; then
2997 echo "$as_me:$LINENO: result: yes" >&5
2998 echo "${ECHO_T}yes" >&6
2999 elif test "$wxUSE_LIBXPM" = no; then
3000 echo "$as_me:$LINENO: result: no" >&5
3001 echo "${ECHO_T}no" >&6
3002 elif test "$wxUSE_LIBXPM" = sys; then
3003 echo "$as_me:$LINENO: result: system version" >&5
3004 echo "${ECHO_T}system version" >&6
3005 elif test "$wxUSE_LIBXPM" = builtin; then
3006 echo "$as_me:$LINENO: result: builtin version" >&5
3007 echo "${ECHO_T}builtin version" >&6
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3010 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3015 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3016 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3019 # Check whether --with-libmspack or --without-libmspack was given.
3020 if test "${with_libmspack+set}" = set; then
3021 withval="$with_libmspack"
3023 if test "$withval" = yes; then
3024 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3026 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3031 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x ; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3042 eval "$ac_cv_use_libmspack"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3047 if test "$wxUSE_LIBMSPACK" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3056 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3057 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3060 # Check whether --with-sdl or --without-sdl was given.
3061 if test "${with_sdl+set}" = set; then
3064 if test "$withval" = yes; then
3065 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3067 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3072 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3073 if test "x$LINE" != x ; then
3074 eval "DEFAULT_$LINE"
3079 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3083 eval "$ac_cv_use_sdl"
3084 if test "$no_cache" != 1; then
3085 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3088 if test "$wxUSE_LIBSDL" = yes; then
3089 echo "$as_me:$LINENO: result: yes" >&5
3090 echo "${ECHO_T}yes" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3097 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3098 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3101 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3102 if test "${with_gnomeprint+set}" = set; then
3103 withval="$with_gnomeprint"
3105 if test "$withval" = yes; then
3106 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3108 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3113 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x ; then
3115 eval "DEFAULT_$LINE"
3120 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3124 eval "$ac_cv_use_gnomeprint"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3129 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3130 echo "$as_me:$LINENO: result: yes" >&5
3131 echo "${ECHO_T}yes" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3138 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3139 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3142 # Check whether --with-opengl or --without-opengl was given.
3143 if test "${with_opengl+set}" = set; then
3144 withval="$with_opengl"
3146 if test "$withval" = yes; then
3147 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3149 ac_cv_use_opengl='wxUSE_OPENGL=no'
3154 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3161 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3165 eval "$ac_cv_use_opengl"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3170 if test "$wxUSE_OPENGL" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3182 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3183 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3186 # Check whether --with-dmalloc or --without-dmalloc was given.
3187 if test "${with_dmalloc+set}" = set; then
3188 withval="$with_dmalloc"
3190 if test "$withval" = yes; then
3191 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3193 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3198 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3199 if test "x$LINE" != x ; then
3200 eval "DEFAULT_$LINE"
3205 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3209 eval "$ac_cv_use_dmalloc"
3210 if test "$no_cache" != 1; then
3211 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3214 if test "$wxUSE_DMALLOC" = yes; then
3215 echo "$as_me:$LINENO: result: yes" >&5
3216 echo "${ECHO_T}yes" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3223 echo "$as_me:$LINENO: checking for --with-regex" >&5
3224 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3227 # Check whether --with-regex or --without-regex was given.
3228 if test "${with_regex+set}" = set; then
3229 withval="$with_regex"
3231 if test "$withval" = yes; then
3232 ac_cv_use_regex='wxUSE_REGEX=yes'
3233 elif test "$withval" = no; then
3234 ac_cv_use_regex='wxUSE_REGEX=no'
3235 elif test "$withval" = sys; then
3236 ac_cv_use_regex='wxUSE_REGEX=sys'
3237 elif test "$withval" = builtin; then
3238 ac_cv_use_regex='wxUSE_REGEX=builtin'
3240 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3241 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3242 { (exit 1); exit 1; }; }
3247 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3248 if test "x$LINE" != x ; then
3249 eval "DEFAULT_$LINE"
3254 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3258 eval "$ac_cv_use_regex"
3259 if test "$no_cache" != 1; then
3260 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3263 if test "$wxUSE_REGEX" = yes; then
3264 echo "$as_me:$LINENO: result: yes" >&5
3265 echo "${ECHO_T}yes" >&6
3266 elif test "$wxUSE_REGEX" = no; then
3267 echo "$as_me:$LINENO: result: no" >&5
3268 echo "${ECHO_T}no" >&6
3269 elif test "$wxUSE_REGEX" = sys; then
3270 echo "$as_me:$LINENO: result: system version" >&5
3271 echo "${ECHO_T}system version" >&6
3272 elif test "$wxUSE_REGEX" = builtin; then
3273 echo "$as_me:$LINENO: result: builtin version" >&5
3274 echo "${ECHO_T}builtin version" >&6
3276 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3277 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3278 { (exit 1); exit 1; }; }
3282 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3283 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3286 # Check whether --with-zlib or --without-zlib was given.
3287 if test "${with_zlib+set}" = set; then
3288 withval="$with_zlib"
3290 if test "$withval" = yes; then
3291 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3292 elif test "$withval" = no; then
3293 ac_cv_use_zlib='wxUSE_ZLIB=no'
3294 elif test "$withval" = sys; then
3295 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3296 elif test "$withval" = builtin; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3299 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3300 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3301 { (exit 1); exit 1; }; }
3306 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x ; then
3308 eval "DEFAULT_$LINE"
3313 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3317 eval "$ac_cv_use_zlib"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3322 if test "$wxUSE_ZLIB" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3325 elif test "$wxUSE_ZLIB" = no; then
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3328 elif test "$wxUSE_ZLIB" = sys; then
3329 echo "$as_me:$LINENO: result: system version" >&5
3330 echo "${ECHO_T}system version" >&6
3331 elif test "$wxUSE_ZLIB" = builtin; then
3332 echo "$as_me:$LINENO: result: builtin version" >&5
3333 echo "${ECHO_T}builtin version" >&6
3335 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3336 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3337 { (exit 1); exit 1; }; }
3341 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3342 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3345 # Check whether --with-odbc or --without-odbc was given.
3346 if test "${with_odbc+set}" = set; then
3347 withval="$with_odbc"
3349 if test "$withval" = yes; then
3350 ac_cv_use_odbc='wxUSE_ODBC=yes'
3351 elif test "$withval" = no; then
3352 ac_cv_use_odbc='wxUSE_ODBC=no'
3353 elif test "$withval" = sys; then
3354 ac_cv_use_odbc='wxUSE_ODBC=sys'
3355 elif test "$withval" = builtin; then
3356 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3358 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3359 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3360 { (exit 1); exit 1; }; }
3365 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3376 eval "$ac_cv_use_odbc"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3381 if test "$wxUSE_ODBC" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383 echo "${ECHO_T}yes" >&6
3384 elif test "$wxUSE_ODBC" = no; then
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3387 elif test "$wxUSE_ODBC" = sys; then
3388 echo "$as_me:$LINENO: result: system version" >&5
3389 echo "${ECHO_T}system version" >&6
3390 elif test "$wxUSE_ODBC" = builtin; then
3391 echo "$as_me:$LINENO: result: builtin version" >&5
3392 echo "${ECHO_T}builtin version" >&6
3394 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3395 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3396 { (exit 1); exit 1; }; }
3400 echo "$as_me:$LINENO: checking for --with-expat" >&5
3401 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3404 # Check whether --with-expat or --without-expat was given.
3405 if test "${with_expat+set}" = set; then
3406 withval="$with_expat"
3408 if test "$withval" = yes; then
3409 ac_cv_use_expat='wxUSE_EXPAT=yes'
3410 elif test "$withval" = no; then
3411 ac_cv_use_expat='wxUSE_EXPAT=no'
3412 elif test "$withval" = sys; then
3413 ac_cv_use_expat='wxUSE_EXPAT=sys'
3414 elif test "$withval" = builtin; then
3415 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3419 { (exit 1); exit 1; }; }
3424 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x ; then
3426 eval "DEFAULT_$LINE"
3431 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3435 eval "$ac_cv_use_expat"
3436 if test "$no_cache" != 1; then
3437 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3440 if test "$wxUSE_EXPAT" = yes; then
3441 echo "$as_me:$LINENO: result: yes" >&5
3442 echo "${ECHO_T}yes" >&6
3443 elif test "$wxUSE_EXPAT" = no; then
3444 echo "$as_me:$LINENO: result: no" >&5
3445 echo "${ECHO_T}no" >&6
3446 elif test "$wxUSE_EXPAT" = sys; then
3447 echo "$as_me:$LINENO: result: system version" >&5
3448 echo "${ECHO_T}system version" >&6
3449 elif test "$wxUSE_EXPAT" = builtin; then
3450 echo "$as_me:$LINENO: result: builtin version" >&5
3451 echo "${ECHO_T}builtin version" >&6
3453 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3454 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3455 { (exit 1); exit 1; }; }
3462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3465 # Check whether --enable-shared or --disable-shared was given.
3466 if test "${enable_shared+set}" = set; then
3467 enableval="$enable_shared"
3469 if test "$enableval" = yes; then
3470 ac_cv_use_shared='wxUSE_SHARED=yes'
3472 ac_cv_use_shared='wxUSE_SHARED=no'
3477 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x ; then
3479 eval "DEFAULT_$LINE"
3484 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3488 eval "$ac_cv_use_shared"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3493 if test "$wxUSE_SHARED" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3506 # Check whether --enable-optimise or --disable-optimise was given.
3507 if test "${enable_optimise+set}" = set; then
3508 enableval="$enable_optimise"
3510 if test "$enableval" = yes; then
3511 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3513 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3518 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3529 eval "$ac_cv_use_optimise"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_OPTIMISE" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3545 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3547 # Check whether --enable-debug or --disable-debug was given.
3548 if test "${enable_debug+set}" = set; then
3549 enableval="$enable_debug"
3551 if test "$enableval" = yes; then
3552 ac_cv_use_debug='wxUSE_DEBUG=yes'
3554 ac_cv_use_debug='wxUSE_DEBUG=no'
3559 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x ; then
3561 eval "DEFAULT_$LINE"
3566 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3570 eval "$ac_cv_use_debug"
3571 if test "$no_cache" != 1; then
3572 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3575 if test "$wxUSE_DEBUG" = yes; then
3576 echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6
3579 echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6
3585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3586 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3588 # Check whether --enable-stl or --disable-stl was given.
3589 if test "${enable_stl+set}" = set; then
3590 enableval="$enable_stl"
3592 if test "$enableval" = yes; then
3593 ac_cv_use_stl='wxUSE_STL=yes'
3595 ac_cv_use_stl='wxUSE_STL=no'
3600 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x ; then
3602 eval "DEFAULT_$LINE"
3607 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3611 eval "$ac_cv_use_stl"
3612 if test "$no_cache" != 1; then
3613 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3616 if test "$wxUSE_STL" = yes; then
3617 echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6
3620 echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6
3624 if test "$USE_OS2" = "1"; then
3627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3630 # Check whether --enable-omf or --disable-omf was given.
3631 if test "${enable_omf+set}" = set; then
3632 enableval="$enable_omf"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_omf='wxUSE_OMF=yes'
3637 ac_cv_use_omf='wxUSE_OMF=no'
3642 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3653 eval "$ac_cv_use_omf"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_OMF" = yes; then
3659 echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3668 if test "$wxUSE_DEBUG" = "yes"; then
3669 DEFAULT_wxUSE_DEBUG_FLAG=yes
3670 DEFAULT_wxUSE_DEBUG_INFO=yes
3672 elif test "$wxUSE_DEBUG" = "no"; then
3673 DEFAULT_wxUSE_DEBUG_FLAG=no
3674 DEFAULT_wxUSE_DEBUG_INFO=no
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3683 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3684 if test "${enable_debug_flag+set}" = set; then
3685 enableval="$enable_debug_flag"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3690 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3695 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3706 eval "$ac_cv_use_debug_flag"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_DEBUG_FLAG" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3722 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3724 # Check whether --enable-debug_info or --disable-debug_info was given.
3725 if test "${enable_debug_info+set}" = set; then
3726 enableval="$enable_debug_info"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3731 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3736 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3747 eval "$ac_cv_use_debug_info"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_DEBUG_INFO" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3763 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3765 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3766 if test "${enable_debug_gdb+set}" = set; then
3767 enableval="$enable_debug_gdb"
3769 if test "$enableval" = yes; then
3770 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3772 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3777 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3784 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3788 eval "$ac_cv_use_debug_gdb"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_DEBUG_GDB" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3804 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3806 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3807 if test "${enable_debug_cntxt+set}" = set; then
3808 enableval="$enable_debug_cntxt"
3810 if test "$enableval" = yes; then
3811 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3813 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3818 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3819 if test "x$LINE" != x ; then
3820 eval "DEFAULT_$LINE"
3825 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3829 eval "$ac_cv_use_debug_cntxt"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3834 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3845 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3847 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3848 if test "${enable_mem_tracing+set}" = set; then
3849 enableval="$enable_mem_tracing"
3851 if test "$enableval" = yes; then
3852 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3854 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3859 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x ; then
3861 eval "DEFAULT_$LINE"
3866 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3870 eval "$ac_cv_use_mem_tracing"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3875 if test "$wxUSE_MEM_TRACING" = yes; then
3876 echo "$as_me:$LINENO: result: yes" >&5
3877 echo "${ECHO_T}yes" >&6
3879 echo "$as_me:$LINENO: result: no" >&5
3880 echo "${ECHO_T}no" >&6
3885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3886 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3888 # Check whether --enable-profile or --disable-profile was given.
3889 if test "${enable_profile+set}" = set; then
3890 enableval="$enable_profile"
3892 if test "$enableval" = yes; then
3893 ac_cv_use_profile='wxUSE_PROFILE=yes'
3895 ac_cv_use_profile='wxUSE_PROFILE=no'
3900 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3901 if test "x$LINE" != x ; then
3902 eval "DEFAULT_$LINE"
3907 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3911 eval "$ac_cv_use_profile"
3912 if test "$no_cache" != 1; then
3913 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3916 if test "$wxUSE_PROFILE" = yes; then
3917 echo "$as_me:$LINENO: result: yes" >&5
3918 echo "${ECHO_T}yes" >&6
3920 echo "$as_me:$LINENO: result: no" >&5
3921 echo "${ECHO_T}no" >&6
3926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3927 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3929 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3930 if test "${enable_no_rtti+set}" = set; then
3931 enableval="$enable_no_rtti"
3933 if test "$enableval" = yes; then
3934 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3936 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3941 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x ; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3952 eval "$ac_cv_use_no_rtti"
3953 if test "$no_cache" != 1; then
3954 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3957 if test "$wxUSE_NO_RTTI" = yes; then
3958 echo "$as_me:$LINENO: result: yes" >&5
3959 echo "${ECHO_T}yes" >&6
3961 echo "$as_me:$LINENO: result: no" >&5
3962 echo "${ECHO_T}no" >&6
3967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3968 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3970 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3971 if test "${enable_no_exceptions+set}" = set; then
3972 enableval="$enable_no_exceptions"
3974 if test "$enableval" = yes; then
3975 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3977 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3982 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x ; then
3984 eval "DEFAULT_$LINE"
3989 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3993 eval "$ac_cv_use_no_exceptions"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3998 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3999 echo "$as_me:$LINENO: result: yes" >&5
4000 echo "${ECHO_T}yes" >&6
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4009 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4011 # Check whether --enable-permissive or --disable-permissive was given.
4012 if test "${enable_permissive+set}" = set; then
4013 enableval="$enable_permissive"
4015 if test "$enableval" = yes; then
4016 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4018 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4023 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x ; then
4025 eval "DEFAULT_$LINE"
4030 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4034 eval "$ac_cv_use_permissive"
4035 if test "$no_cache" != 1; then
4036 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4039 if test "$wxUSE_PERMISSIVE" = yes; then
4040 echo "$as_me:$LINENO: result: yes" >&5
4041 echo "${ECHO_T}yes" >&6
4043 echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4050 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4052 # Check whether --enable-no_deps or --disable-no_deps was given.
4053 if test "${enable_no_deps+set}" = set; then
4054 enableval="$enable_no_deps"
4056 if test "$enableval" = yes; then
4057 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4059 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4064 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x ; then
4066 eval "DEFAULT_$LINE"
4071 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4075 eval "$ac_cv_use_no_deps"
4076 if test "$no_cache" != 1; then
4077 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4080 if test "$wxUSE_NO_DEPS" = yes; then
4081 echo "$as_me:$LINENO: result: yes" >&5
4082 echo "${ECHO_T}yes" >&6
4084 echo "$as_me:$LINENO: result: no" >&5
4085 echo "${ECHO_T}no" >&6
4091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4092 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4094 # Check whether --enable-compat22 or --disable-compat22 was given.
4095 if test "${enable_compat22+set}" = set; then
4096 enableval="$enable_compat22"
4098 if test "$enableval" = yes; then
4099 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4101 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4106 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4107 if test "x$LINE" != x ; then
4108 eval "DEFAULT_$LINE"
4113 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4117 eval "$ac_cv_use_compat22"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4122 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4123 echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6
4126 echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6
4131 enablestring=disable
4132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4133 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4135 # Check whether --enable-compat24 or --disable-compat24 was given.
4136 if test "${enable_compat24+set}" = set; then
4137 enableval="$enable_compat24"
4139 if test "$enableval" = yes; then
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4142 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4147 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x ; then
4149 eval "DEFAULT_$LINE"
4154 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4158 eval "$ac_cv_use_compat24"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4163 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6
4174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4175 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4177 # Check whether --enable-rpath or --disable-rpath was given.
4178 if test "${enable_rpath+set}" = set; then
4179 enableval="$enable_rpath"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_rpath='wxUSE_RPATH=yes'
4184 ac_cv_use_rpath='wxUSE_RPATH=no'
4189 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x ; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4200 eval "$ac_cv_use_rpath"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_RPATH" = yes; then
4206 echo "$as_me:$LINENO: result: yes" >&5
4207 echo "${ECHO_T}yes" >&6
4209 echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6
4218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4219 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4221 # Check whether --enable-intl or --disable-intl was given.
4222 if test "${enable_intl+set}" = set; then
4223 enableval="$enable_intl"
4225 if test "$enableval" = yes; then
4226 ac_cv_use_intl='wxUSE_INTL=yes'
4228 ac_cv_use_intl='wxUSE_INTL=no'
4233 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4234 if test "x$LINE" != x ; then
4235 eval "DEFAULT_$LINE"
4240 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4244 eval "$ac_cv_use_intl"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4249 if test "$wxUSE_INTL" = yes; then
4250 echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4260 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4262 # Check whether --enable-config or --disable-config was given.
4263 if test "${enable_config+set}" = set; then
4264 enableval="$enable_config"
4266 if test "$enableval" = yes; then
4267 ac_cv_use_config='wxUSE_CONFIG=yes'
4269 ac_cv_use_config='wxUSE_CONFIG=no'
4274 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4285 eval "$ac_cv_use_config"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_CONFIG" = yes; then
4291 echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4302 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4304 # Check whether --enable-protocols or --disable-protocols was given.
4305 if test "${enable_protocols+set}" = set; then
4306 enableval="$enable_protocols"
4308 if test "$enableval" = yes; then
4309 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4311 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4316 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4327 eval "$ac_cv_use_protocols"
4328 if test "$no_cache" != 1; then
4329 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4332 if test "$wxUSE_PROTOCOL" = yes; then
4333 echo "$as_me:$LINENO: result: yes" >&5
4334 echo "${ECHO_T}yes" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4345 # Check whether --enable-ftp or --disable-ftp was given.
4346 if test "${enable_ftp+set}" = set; then
4347 enableval="$enable_ftp"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4352 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4357 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4368 eval "$ac_cv_use_ftp"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4374 echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4386 # Check whether --enable-http or --disable-http was given.
4387 if test "${enable_http+set}" = set; then
4388 enableval="$enable_http"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4393 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4398 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x ; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4409 eval "$ac_cv_use_http"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4414 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4415 echo "$as_me:$LINENO: result: yes" >&5
4416 echo "${ECHO_T}yes" >&6
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4425 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4427 # Check whether --enable-fileproto or --disable-fileproto was given.
4428 if test "${enable_fileproto+set}" = set; then
4429 enableval="$enable_fileproto"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4434 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4439 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x ; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4450 eval "$ac_cv_use_fileproto"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4456 echo "$as_me:$LINENO: result: yes" >&5
4457 echo "${ECHO_T}yes" >&6
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4468 # Check whether --enable-sockets or --disable-sockets was given.
4469 if test "${enable_sockets+set}" = set; then
4470 enableval="$enable_sockets"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4475 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4480 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4491 eval "$ac_cv_use_sockets"
4492 if test "$no_cache" != 1; then
4493 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4496 if test "$wxUSE_SOCKETS" = yes; then
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4507 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4509 # Check whether --enable-ole or --disable-ole was given.
4510 if test "${enable_ole+set}" = set; then
4511 enableval="$enable_ole"
4513 if test "$enableval" = yes; then
4514 ac_cv_use_ole='wxUSE_OLE=yes'
4516 ac_cv_use_ole='wxUSE_OLE=no'
4521 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4532 eval "$ac_cv_use_ole"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4537 if test "$wxUSE_OLE" = yes; then
4538 echo "$as_me:$LINENO: result: yes" >&5
4539 echo "${ECHO_T}yes" >&6
4541 echo "$as_me:$LINENO: result: no" >&5
4542 echo "${ECHO_T}no" >&6
4547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4550 # Check whether --enable-dataobj or --disable-dataobj was given.
4551 if test "${enable_dataobj+set}" = set; then
4552 enableval="$enable_dataobj"
4554 if test "$enableval" = yes; then
4555 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4557 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4562 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4569 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4573 eval "$ac_cv_use_dataobj"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4578 if test "$wxUSE_DATAOBJ" = yes; then
4579 echo "$as_me:$LINENO: result: yes" >&5
4580 echo "${ECHO_T}yes" >&6
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4592 # Check whether --enable-ipc or --disable-ipc was given.
4593 if test "${enable_ipc+set}" = set; then
4594 enableval="$enable_ipc"
4596 if test "$enableval" = yes; then
4597 ac_cv_use_ipc='wxUSE_IPC=yes'
4599 ac_cv_use_ipc='wxUSE_IPC=no'
4604 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4605 if test "x$LINE" != x ; then
4606 eval "DEFAULT_$LINE"
4611 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4615 eval "$ac_cv_use_ipc"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_IPC" = yes; then
4621 echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6
4624 echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4632 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4634 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4635 if test "${enable_apple_ieee+set}" = set; then
4636 enableval="$enable_apple_ieee"
4638 if test "$enableval" = yes; then
4639 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4641 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4646 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x ; then
4648 eval "DEFAULT_$LINE"
4653 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4657 eval "$ac_cv_use_apple_ieee"
4658 if test "$no_cache" != 1; then
4659 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4662 if test "$wxUSE_APPLE_IEEE" = yes; then
4663 echo "$as_me:$LINENO: result: yes" >&5
4664 echo "${ECHO_T}yes" >&6
4666 echo "$as_me:$LINENO: result: no" >&5
4667 echo "${ECHO_T}no" >&6
4672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4675 # Check whether --enable-arcstream or --disable-arcstream was given.
4676 if test "${enable_arcstream+set}" = set; then
4677 enableval="$enable_arcstream"
4679 if test "$enableval" = yes; then
4680 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4682 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4687 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x ; then
4689 eval "DEFAULT_$LINE"
4694 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4698 eval "$ac_cv_use_arcstream"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4703 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4704 echo "$as_me:$LINENO: result: yes" >&5
4705 echo "${ECHO_T}yes" >&6
4707 echo "$as_me:$LINENO: result: no" >&5
4708 echo "${ECHO_T}no" >&6
4713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4714 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4716 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4717 if test "${enable_catch_segvs+set}" = set; then
4718 enableval="$enable_catch_segvs"
4720 if test "$enableval" = yes; then
4721 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4723 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4728 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4729 if test "x$LINE" != x ; then
4730 eval "DEFAULT_$LINE"
4735 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4739 eval "$ac_cv_use_catch_segvs"
4740 if test "$no_cache" != 1; then
4741 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4744 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4745 echo "$as_me:$LINENO: result: yes" >&5
4746 echo "${ECHO_T}yes" >&6
4748 echo "$as_me:$LINENO: result: no" >&5
4749 echo "${ECHO_T}no" >&6
4754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4755 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4757 # Check whether --enable-backtrace or --disable-backtrace was given.
4758 if test "${enable_backtrace+set}" = set; then
4759 enableval="$enable_backtrace"
4761 if test "$enableval" = yes; then
4762 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4764 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4769 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x ; then
4771 eval "DEFAULT_$LINE"
4776 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4780 eval "$ac_cv_use_backtrace"
4781 if test "$no_cache" != 1; then
4782 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4785 if test "$wxUSE_STACKWALKER" = yes; then
4786 echo "$as_me:$LINENO: result: yes" >&5
4787 echo "${ECHO_T}yes" >&6
4789 echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6
4795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4798 # Check whether --enable-cmdline or --disable-cmdline was given.
4799 if test "${enable_cmdline+set}" = set; then
4800 enableval="$enable_cmdline"
4802 if test "$enableval" = yes; then
4803 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4805 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4810 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x ; then
4812 eval "DEFAULT_$LINE"
4817 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4821 eval "$ac_cv_use_cmdline"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4827 echo "$as_me:$LINENO: result: yes" >&5
4828 echo "${ECHO_T}yes" >&6
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4839 # Check whether --enable-datetime or --disable-datetime was given.
4840 if test "${enable_datetime+set}" = set; then
4841 enableval="$enable_datetime"
4843 if test "$enableval" = yes; then
4844 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4846 ac_cv_use_datetime='wxUSE_DATETIME=no'
4851 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x ; then
4853 eval "DEFAULT_$LINE"
4858 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4862 eval "$ac_cv_use_datetime"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4867 if test "$wxUSE_DATETIME" = yes; then
4868 echo "$as_me:$LINENO: result: yes" >&5
4869 echo "${ECHO_T}yes" >&6
4871 echo "$as_me:$LINENO: result: no" >&5
4872 echo "${ECHO_T}no" >&6
4877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4878 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4880 # Check whether --enable-dialupman or --disable-dialupman was given.
4881 if test "${enable_dialupman+set}" = set; then
4882 enableval="$enable_dialupman"
4884 if test "$enableval" = yes; then
4885 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4887 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4892 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4893 if test "x$LINE" != x ; then
4894 eval "DEFAULT_$LINE"
4899 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4903 eval "$ac_cv_use_dialupman"
4904 if test "$no_cache" != 1; then
4905 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4908 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4909 echo "$as_me:$LINENO: result: yes" >&5
4910 echo "${ECHO_T}yes" >&6
4912 echo "$as_me:$LINENO: result: no" >&5
4913 echo "${ECHO_T}no" >&6
4918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4919 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4921 # Check whether --enable-dynlib or --disable-dynlib was given.
4922 if test "${enable_dynlib+set}" = set; then
4923 enableval="$enable_dynlib"
4925 if test "$enableval" = yes; then
4926 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4928 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4933 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4934 if test "x$LINE" != x ; then
4935 eval "DEFAULT_$LINE"
4940 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4944 eval "$ac_cv_use_dynlib"
4945 if test "$no_cache" != 1; then
4946 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4949 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4950 echo "$as_me:$LINENO: result: yes" >&5
4951 echo "${ECHO_T}yes" >&6
4953 echo "$as_me:$LINENO: result: no" >&5
4954 echo "${ECHO_T}no" >&6
4959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4960 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4962 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4963 if test "${enable_dynamicloader+set}" = set; then
4964 enableval="$enable_dynamicloader"
4966 if test "$enableval" = yes; then
4967 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4969 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4974 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x ; then
4976 eval "DEFAULT_$LINE"
4981 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4985 eval "$ac_cv_use_dynamicloader"
4986 if test "$no_cache" != 1; then
4987 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4990 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4991 echo "$as_me:$LINENO: result: yes" >&5
4992 echo "${ECHO_T}yes" >&6
4994 echo "$as_me:$LINENO: result: no" >&5
4995 echo "${ECHO_T}no" >&6
5000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5001 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5003 # Check whether --enable-exceptions or --disable-exceptions was given.
5004 if test "${enable_exceptions+set}" = set; then
5005 enableval="$enable_exceptions"
5007 if test "$enableval" = yes; then
5008 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5010 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5015 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x ; then
5017 eval "DEFAULT_$LINE"
5022 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5026 eval "$ac_cv_use_exceptions"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5031 if test "$wxUSE_EXCEPTIONS" = yes; then
5032 echo "$as_me:$LINENO: result: yes" >&5
5033 echo "${ECHO_T}yes" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5042 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5044 # Check whether --enable-ffile or --disable-ffile was given.
5045 if test "${enable_ffile+set}" = set; then
5046 enableval="$enable_ffile"
5048 if test "$enableval" = yes; then
5049 ac_cv_use_ffile='wxUSE_FFILE=yes'
5051 ac_cv_use_ffile='wxUSE_FFILE=no'
5056 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5057 if test "x$LINE" != x ; then
5058 eval "DEFAULT_$LINE"
5063 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5067 eval "$ac_cv_use_ffile"
5068 if test "$no_cache" != 1; then
5069 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5072 if test "$wxUSE_FFILE" = yes; then
5073 echo "$as_me:$LINENO: result: yes" >&5
5074 echo "${ECHO_T}yes" >&6
5076 echo "$as_me:$LINENO: result: no" >&5
5077 echo "${ECHO_T}no" >&6
5082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5085 # Check whether --enable-file or --disable-file was given.
5086 if test "${enable_file+set}" = set; then
5087 enableval="$enable_file"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_file='wxUSE_FILE=yes'
5092 ac_cv_use_file='wxUSE_FILE=no'
5097 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x ; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5108 eval "$ac_cv_use_file"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_FILE" = yes; then
5114 echo "$as_me:$LINENO: result: yes" >&5
5115 echo "${ECHO_T}yes" >&6
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5126 # Check whether --enable-filesystem or --disable-filesystem was given.
5127 if test "${enable_filesystem+set}" = set; then
5128 enableval="$enable_filesystem"
5130 if test "$enableval" = yes; then
5131 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5133 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5138 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x ; then
5140 eval "DEFAULT_$LINE"
5145 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5149 eval "$ac_cv_use_filesystem"
5150 if test "$no_cache" != 1; then
5151 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5154 if test "$wxUSE_FILESYSTEM" = yes; then
5155 echo "$as_me:$LINENO: result: yes" >&5
5156 echo "${ECHO_T}yes" >&6
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5167 # Check whether --enable-fontmap or --disable-fontmap was given.
5168 if test "${enable_fontmap+set}" = set; then
5169 enableval="$enable_fontmap"
5171 if test "$enableval" = yes; then
5172 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5174 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5179 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x ; then
5181 eval "DEFAULT_$LINE"
5186 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5190 eval "$ac_cv_use_fontmap"
5191 if test "$no_cache" != 1; then
5192 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5195 if test "$wxUSE_FONTMAP" = yes; then
5196 echo "$as_me:$LINENO: result: yes" >&5
5197 echo "${ECHO_T}yes" >&6
5199 echo "$as_me:$LINENO: result: no" >&5
5200 echo "${ECHO_T}no" >&6
5205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5208 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5209 if test "${enable_fs_inet+set}" = set; then
5210 enableval="$enable_fs_inet"
5212 if test "$enableval" = yes; then
5213 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5215 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5220 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x ; then
5222 eval "DEFAULT_$LINE"
5227 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5231 eval "$ac_cv_use_fs_inet"
5232 if test "$no_cache" != 1; then
5233 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5236 if test "$wxUSE_FS_INET" = yes; then
5237 echo "$as_me:$LINENO: result: yes" >&5
5238 echo "${ECHO_T}yes" >&6
5240 echo "$as_me:$LINENO: result: no" >&5
5241 echo "${ECHO_T}no" >&6
5246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5249 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5250 if test "${enable_fs_zip+set}" = set; then
5251 enableval="$enable_fs_zip"
5253 if test "$enableval" = yes; then
5254 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5256 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5261 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5262 if test "x$LINE" != x ; then
5263 eval "DEFAULT_$LINE"
5268 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5272 eval "$ac_cv_use_fs_zip"
5273 if test "$no_cache" != 1; then
5274 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5277 if test "$wxUSE_FS_ZIP" = yes; then
5278 echo "$as_me:$LINENO: result: yes" >&5
5279 echo "${ECHO_T}yes" >&6
5281 echo "$as_me:$LINENO: result: no" >&5
5282 echo "${ECHO_T}no" >&6
5287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5290 # Check whether --enable-geometry or --disable-geometry was given.
5291 if test "${enable_geometry+set}" = set; then
5292 enableval="$enable_geometry"
5294 if test "$enableval" = yes; then
5295 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5297 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5302 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x ; then
5304 eval "DEFAULT_$LINE"
5309 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5313 eval "$ac_cv_use_geometry"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5318 if test "$wxUSE_GEOMETRY" = yes; then
5319 echo "$as_me:$LINENO: result: yes" >&5
5320 echo "${ECHO_T}yes" >&6
5322 echo "$as_me:$LINENO: result: no" >&5
5323 echo "${ECHO_T}no" >&6
5328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5331 # Check whether --enable-log or --disable-log was given.
5332 if test "${enable_log+set}" = set; then
5333 enableval="$enable_log"
5335 if test "$enableval" = yes; then
5336 ac_cv_use_log='wxUSE_LOG=yes'
5338 ac_cv_use_log='wxUSE_LOG=no'
5343 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x ; then
5345 eval "DEFAULT_$LINE"
5350 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5354 eval "$ac_cv_use_log"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5359 if test "$wxUSE_LOG" = yes; then
5360 echo "$as_me:$LINENO: result: yes" >&5
5361 echo "${ECHO_T}yes" >&6
5363 echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5372 # Check whether --enable-longlong or --disable-longlong was given.
5373 if test "${enable_longlong+set}" = set; then
5374 enableval="$enable_longlong"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5379 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5384 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5395 eval "$ac_cv_use_longlong"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_LONGLONG" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5413 # Check whether --enable-mimetype or --disable-mimetype was given.
5414 if test "${enable_mimetype+set}" = set; then
5415 enableval="$enable_mimetype"
5417 if test "$enableval" = yes; then
5418 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5420 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5425 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x ; then
5427 eval "DEFAULT_$LINE"
5432 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5436 eval "$ac_cv_use_mimetype"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_MIMETYPE" = yes; then
5442 echo "$as_me:$LINENO: result: yes" >&5
5443 echo "${ECHO_T}yes" >&6
5445 echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6
5451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5454 # Check whether --enable-mslu or --disable-mslu was given.
5455 if test "${enable_mslu+set}" = set; then
5456 enableval="$enable_mslu"
5458 if test "$enableval" = yes; then
5459 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5461 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5466 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x ; then
5468 eval "DEFAULT_$LINE"
5473 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5477 eval "$ac_cv_use_mslu"
5478 if test "$no_cache" != 1; then
5479 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5482 if test "$wxUSE_UNICODE_MSLU" = yes; then
5483 echo "$as_me:$LINENO: result: yes" >&5
5484 echo "${ECHO_T}yes" >&6
5486 echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6
5492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5495 # Check whether --enable-snglinst or --disable-snglinst was given.
5496 if test "${enable_snglinst+set}" = set; then
5497 enableval="$enable_snglinst"
5499 if test "$enableval" = yes; then
5500 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5502 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5507 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5514 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5518 eval "$ac_cv_use_snglinst"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5523 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5524 echo "$as_me:$LINENO: result: yes" >&5
5525 echo "${ECHO_T}yes" >&6
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5536 # Check whether --enable-streams or --disable-streams was given.
5537 if test "${enable_streams+set}" = set; then
5538 enableval="$enable_streams"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_streams='wxUSE_STREAMS=yes'
5543 ac_cv_use_streams='wxUSE_STREAMS=no'
5548 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5559 eval "$ac_cv_use_streams"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_STREAMS" = yes; then
5565 echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5577 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5578 if test "${enable_std_iostreams+set}" = set; then
5579 enableval="$enable_std_iostreams"
5581 if test "$enableval" = yes; then
5582 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5584 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5589 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x ; then
5591 eval "DEFAULT_$LINE"
5596 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5600 eval "$ac_cv_use_std_iostreams"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5605 if test "$wxUSE_STD_IOSTREAM" = yes; then
5606 echo "$as_me:$LINENO: result: yes" >&5
5607 echo "${ECHO_T}yes" >&6
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5618 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5619 if test "${enable_stopwatch+set}" = set; then
5620 enableval="$enable_stopwatch"
5622 if test "$enableval" = yes; then
5623 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5625 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5630 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x ; then
5632 eval "DEFAULT_$LINE"
5637 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5641 eval "$ac_cv_use_stopwatch"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5646 if test "$wxUSE_STOPWATCH" = yes; then
5647 echo "$as_me:$LINENO: result: yes" >&5
5648 echo "${ECHO_T}yes" >&6
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5659 # Check whether --enable-system_options or --disable-system_options was given.
5660 if test "${enable_system_options+set}" = set; then
5661 enableval="$enable_system_options"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5666 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5671 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5682 eval "$ac_cv_use_system_options"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5687 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5688 echo "$as_me:$LINENO: result: yes" >&5
5689 echo "${ECHO_T}yes" >&6
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5700 # Check whether --enable-textbuf or --disable-textbuf was given.
5701 if test "${enable_textbuf+set}" = set; then
5702 enableval="$enable_textbuf"
5704 if test "$enableval" = yes; then
5705 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5707 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5712 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5713 if test "x$LINE" != x ; then
5714 eval "DEFAULT_$LINE"
5719 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5723 eval "$ac_cv_use_textbuf"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5728 if test "$wxUSE_TEXTBUFFER" = yes; then
5729 echo "$as_me:$LINENO: result: yes" >&5
5730 echo "${ECHO_T}yes" >&6
5732 echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6
5738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5741 # Check whether --enable-textfile or --disable-textfile was given.
5742 if test "${enable_textfile+set}" = set; then
5743 enableval="$enable_textfile"
5745 if test "$enableval" = yes; then
5746 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5748 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5753 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5760 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5764 eval "$ac_cv_use_textfile"
5765 if test "$no_cache" != 1; then
5766 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5769 if test "$wxUSE_TEXTFILE" = yes; then
5770 echo "$as_me:$LINENO: result: yes" >&5
5771 echo "${ECHO_T}yes" >&6
5773 echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6
5779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5780 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5782 # Check whether --enable-timer or --disable-timer was given.
5783 if test "${enable_timer+set}" = set; then
5784 enableval="$enable_timer"
5786 if test "$enableval" = yes; then
5787 ac_cv_use_timer='wxUSE_TIMER=yes'
5789 ac_cv_use_timer='wxUSE_TIMER=no'
5794 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x ; then
5796 eval "DEFAULT_$LINE"
5801 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5805 eval "$ac_cv_use_timer"
5806 if test "$no_cache" != 1; then
5807 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5810 if test "$wxUSE_TIMER" = yes; then
5811 echo "$as_me:$LINENO: result: yes" >&5
5812 echo "${ECHO_T}yes" >&6
5814 echo "$as_me:$LINENO: result: no" >&5
5815 echo "${ECHO_T}no" >&6
5820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5821 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5823 # Check whether --enable-unicode or --disable-unicode was given.
5824 if test "${enable_unicode+set}" = set; then
5825 enableval="$enable_unicode"
5827 if test "$enableval" = yes; then
5828 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5830 ac_cv_use_unicode='wxUSE_UNICODE=no'
5835 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5842 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5846 eval "$ac_cv_use_unicode"
5847 if test "$no_cache" != 1; then
5848 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5851 if test "$wxUSE_UNICODE" = yes; then
5852 echo "$as_me:$LINENO: result: yes" >&5
5853 echo "${ECHO_T}yes" >&6
5855 echo "$as_me:$LINENO: result: no" >&5
5856 echo "${ECHO_T}no" >&6
5861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5862 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5864 # Check whether --enable-sound or --disable-sound was given.
5865 if test "${enable_sound+set}" = set; then
5866 enableval="$enable_sound"
5868 if test "$enableval" = yes; then
5869 ac_cv_use_sound='wxUSE_SOUND=yes'
5871 ac_cv_use_sound='wxUSE_SOUND=no'
5876 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5877 if test "x$LINE" != x ; then
5878 eval "DEFAULT_$LINE"
5883 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5887 eval "$ac_cv_use_sound"
5888 if test "$no_cache" != 1; then
5889 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5892 if test "$wxUSE_SOUND" = yes; then
5893 echo "$as_me:$LINENO: result: yes" >&5
5894 echo "${ECHO_T}yes" >&6
5896 echo "$as_me:$LINENO: result: no" >&5
5897 echo "${ECHO_T}no" >&6
5902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5905 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5906 if test "${enable_mediactrl+set}" = set; then
5907 enableval="$enable_mediactrl"
5909 if test "$enableval" = yes; then
5910 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5912 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5917 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x ; then
5919 eval "DEFAULT_$LINE"
5924 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5928 eval "$ac_cv_use_mediactrl"
5929 if test "$no_cache" != 1; then
5930 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5933 if test "$wxUSE_MEDIACTRL" = yes; then
5934 echo "$as_me:$LINENO: result: yes" >&5
5935 echo "${ECHO_T}yes" >&6
5937 echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6
5943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5946 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5947 if test "${enable_wxprintfv+set}" = set; then
5948 enableval="$enable_wxprintfv"
5950 if test "$enableval" = yes; then
5951 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5953 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5958 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x ; then
5960 eval "DEFAULT_$LINE"
5965 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5969 eval "$ac_cv_use_wxprintfv"
5970 if test "$no_cache" != 1; then
5971 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5974 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5975 echo "$as_me:$LINENO: result: yes" >&5
5976 echo "${ECHO_T}yes" >&6
5978 echo "$as_me:$LINENO: result: no" >&5
5979 echo "${ECHO_T}no" >&6
5984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5987 # Check whether --enable-zipstream or --disable-zipstream was given.
5988 if test "${enable_zipstream+set}" = set; then
5989 enableval="$enable_zipstream"
5991 if test "$enableval" = yes; then
5992 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5994 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5999 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x ; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6010 eval "$ac_cv_use_zipstream"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6015 if test "$wxUSE_ZIPSTREAM" = yes; then
6016 echo "$as_me:$LINENO: result: yes" >&5
6017 echo "${ECHO_T}yes" >&6
6019 echo "$as_me:$LINENO: result: no" >&5
6020 echo "${ECHO_T}no" >&6
6026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6029 # Check whether --enable-url or --disable-url was given.
6030 if test "${enable_url+set}" = set; then
6031 enableval="$enable_url"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_url='wxUSE_URL=yes'
6036 ac_cv_use_url='wxUSE_URL=no'
6041 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x ; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6052 eval "$ac_cv_use_url"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_URL" = yes; then
6058 echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6070 # Check whether --enable-protocol or --disable-protocol was given.
6071 if test "${enable_protocol+set}" = set; then
6072 enableval="$enable_protocol"
6074 if test "$enableval" = yes; then
6075 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6077 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6082 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x ; then
6084 eval "DEFAULT_$LINE"
6089 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6093 eval "$ac_cv_use_protocol"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6098 if test "$wxUSE_PROTOCOL" = yes; then
6099 echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6111 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6112 if test "${enable_protocol_http+set}" = set; then
6113 enableval="$enable_protocol_http"
6115 if test "$enableval" = yes; then
6116 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6118 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6123 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x ; then
6125 eval "DEFAULT_$LINE"
6130 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6134 eval "$ac_cv_use_protocol_http"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6139 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6140 echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6
6143 echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6
6149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6152 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6153 if test "${enable_protocol_ftp+set}" = set; then
6154 enableval="$enable_protocol_ftp"
6156 if test "$enableval" = yes; then
6157 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6159 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6164 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x ; then
6166 eval "DEFAULT_$LINE"
6171 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6175 eval "$ac_cv_use_protocol_ftp"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6180 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6181 echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6193 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6194 if test "${enable_protocol_file+set}" = set; then
6195 enableval="$enable_protocol_file"
6197 if test "$enableval" = yes; then
6198 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6200 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6205 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x ; then
6207 eval "DEFAULT_$LINE"
6212 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6216 eval "$ac_cv_use_protocol_file"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6221 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6222 echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6225 echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6237 # Check whether --enable-threads or --disable-threads was given.
6238 if test "${enable_threads+set}" = set; then
6239 enableval="$enable_threads"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_threads='wxUSE_THREADS=yes'
6244 ac_cv_use_threads='wxUSE_THREADS=no'
6249 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6260 eval "$ac_cv_use_threads"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_THREADS" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6274 if test "$wxUSE_GUI" = "yes"; then
6279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6282 # Check whether --enable-docview or --disable-docview was given.
6283 if test "${enable_docview+set}" = set; then
6284 enableval="$enable_docview"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6289 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6294 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6305 eval "$ac_cv_use_docview"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6310 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6311 echo "$as_me:$LINENO: result: yes" >&5
6312 echo "${ECHO_T}yes" >&6
6314 echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6
6320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6323 # Check whether --enable-help or --disable-help was given.
6324 if test "${enable_help+set}" = set; then
6325 enableval="$enable_help"
6327 if test "$enableval" = yes; then
6328 ac_cv_use_help='wxUSE_HELP=yes'
6330 ac_cv_use_help='wxUSE_HELP=no'
6335 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x ; then
6337 eval "DEFAULT_$LINE"
6342 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6346 eval "$ac_cv_use_help"
6347 if test "$no_cache" != 1; then
6348 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6351 if test "$wxUSE_HELP" = yes; then
6352 echo "$as_me:$LINENO: result: yes" >&5
6353 echo "${ECHO_T}yes" >&6
6355 echo "$as_me:$LINENO: result: no" >&5
6356 echo "${ECHO_T}no" >&6
6361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6362 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6364 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6365 if test "${enable_mshtmlhelp+set}" = set; then
6366 enableval="$enable_mshtmlhelp"
6368 if test "$enableval" = yes; then
6369 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6371 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6376 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x ; then
6378 eval "DEFAULT_$LINE"
6383 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6387 eval "$ac_cv_use_mshtmlhelp"
6388 if test "$no_cache" != 1; then
6389 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6392 if test "$wxUSE_MS_HTML_HELP" = yes; then
6393 echo "$as_me:$LINENO: result: yes" >&5
6394 echo "${ECHO_T}yes" >&6
6396 echo "$as_me:$LINENO: result: no" >&5
6397 echo "${ECHO_T}no" >&6
6402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6405 # Check whether --enable-html or --disable-html was given.
6406 if test "${enable_html+set}" = set; then
6407 enableval="$enable_html"
6409 if test "$enableval" = yes; then
6410 ac_cv_use_html='wxUSE_HTML=yes'
6412 ac_cv_use_html='wxUSE_HTML=no'
6417 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6424 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6428 eval "$ac_cv_use_html"
6429 if test "$no_cache" != 1; then
6430 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6433 if test "$wxUSE_HTML" = yes; then
6434 echo "$as_me:$LINENO: result: yes" >&5
6435 echo "${ECHO_T}yes" >&6
6437 echo "$as_me:$LINENO: result: no" >&5
6438 echo "${ECHO_T}no" >&6
6443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6446 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6447 if test "${enable_htmlhelp+set}" = set; then
6448 enableval="$enable_htmlhelp"
6450 if test "$enableval" = yes; then
6451 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6453 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6458 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6465 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6469 eval "$ac_cv_use_htmlhelp"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6474 if test "$wxUSE_WXHTML_HELP" = yes; then
6475 echo "$as_me:$LINENO: result: yes" >&5
6476 echo "${ECHO_T}yes" >&6
6478 echo "$as_me:$LINENO: result: no" >&5
6479 echo "${ECHO_T}no" >&6
6484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6485 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6487 # Check whether --enable-xrc or --disable-xrc was given.
6488 if test "${enable_xrc+set}" = set; then
6489 enableval="$enable_xrc"
6491 if test "$enableval" = yes; then
6492 ac_cv_use_xrc='wxUSE_XRC=yes'
6494 ac_cv_use_xrc='wxUSE_XRC=no'
6499 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6506 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6510 eval "$ac_cv_use_xrc"
6511 if test "$no_cache" != 1; then
6512 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6515 if test "$wxUSE_XRC" = yes; then
6516 echo "$as_me:$LINENO: result: yes" >&5
6517 echo "${ECHO_T}yes" >&6
6519 echo "$as_me:$LINENO: result: no" >&5
6520 echo "${ECHO_T}no" >&6
6525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6526 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6528 # Check whether --enable-constraints or --disable-constraints was given.
6529 if test "${enable_constraints+set}" = set; then
6530 enableval="$enable_constraints"
6532 if test "$enableval" = yes; then
6533 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6535 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6540 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6547 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6551 eval "$ac_cv_use_constraints"
6552 if test "$no_cache" != 1; then
6553 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6556 if test "$wxUSE_CONSTRAINTS" = yes; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6569 # Check whether --enable-printarch or --disable-printarch was given.
6570 if test "${enable_printarch+set}" = set; then
6571 enableval="$enable_printarch"
6573 if test "$enableval" = yes; then
6574 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6576 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6581 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6588 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6592 eval "$ac_cv_use_printarch"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6597 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6598 echo "$as_me:$LINENO: result: yes" >&5
6599 echo "${ECHO_T}yes" >&6
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6608 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6610 # Check whether --enable-mdi or --disable-mdi was given.
6611 if test "${enable_mdi+set}" = set; then
6612 enableval="$enable_mdi"
6614 if test "$enableval" = yes; then
6615 ac_cv_use_mdi='wxUSE_MDI=yes'
6617 ac_cv_use_mdi='wxUSE_MDI=no'
6622 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6633 eval "$ac_cv_use_mdi"
6634 if test "$no_cache" != 1; then
6635 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6638 if test "$wxUSE_MDI" = yes; then
6639 echo "$as_me:$LINENO: result: yes" >&5
6640 echo "${ECHO_T}yes" >&6
6642 echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6
6648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6651 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6652 if test "${enable_mdidoc+set}" = set; then
6653 enableval="$enable_mdidoc"
6655 if test "$enableval" = yes; then
6656 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6658 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6663 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6670 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6674 eval "$ac_cv_use_mdidoc"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6679 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6680 echo "$as_me:$LINENO: result: yes" >&5
6681 echo "${ECHO_T}yes" >&6
6683 echo "$as_me:$LINENO: result: no" >&5
6684 echo "${ECHO_T}no" >&6
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6692 # Check whether --enable-loggui or --disable-loggui was given.
6693 if test "${enable_loggui+set}" = set; then
6694 enableval="$enable_loggui"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6699 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6704 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6715 eval "$ac_cv_use_loggui"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6720 if test "$wxUSE_LOGGUI" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6733 # Check whether --enable-logwin or --disable-logwin was given.
6734 if test "${enable_logwin+set}" = set; then
6735 enableval="$enable_logwin"
6737 if test "$enableval" = yes; then
6738 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6740 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6745 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6752 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6756 eval "$ac_cv_use_logwin"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6761 if test "$wxUSE_LOGWINDOW" = yes; then
6762 echo "$as_me:$LINENO: result: yes" >&5
6763 echo "${ECHO_T}yes" >&6
6765 echo "$as_me:$LINENO: result: no" >&5
6766 echo "${ECHO_T}no" >&6
6771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6774 # Check whether --enable-logdialog or --disable-logdialog was given.
6775 if test "${enable_logdialog+set}" = set; then
6776 enableval="$enable_logdialog"
6778 if test "$enableval" = yes; then
6779 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6781 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6786 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6797 eval "$ac_cv_use_logdialog"
6798 if test "$no_cache" != 1; then
6799 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6802 if test "$wxUSE_LOGDIALOG" = yes; then
6803 echo "$as_me:$LINENO: result: yes" >&5
6804 echo "${ECHO_T}yes" >&6
6806 echo "$as_me:$LINENO: result: no" >&5
6807 echo "${ECHO_T}no" >&6
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6815 # Check whether --enable-webkit or --disable-webkit was given.
6816 if test "${enable_webkit+set}" = set; then
6817 enableval="$enable_webkit"
6819 if test "$enableval" = yes; then
6820 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6822 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6827 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6838 eval "$ac_cv_use_webkit"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_WEBKIT" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6857 # Check whether --enable-postscript or --disable-postscript was given.
6858 if test "${enable_postscript+set}" = set; then
6859 enableval="$enable_postscript"
6861 if test "$enableval" = yes; then
6862 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6864 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6869 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x ; then
6871 eval "DEFAULT_$LINE"
6876 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6880 eval "$ac_cv_use_postscript"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_POSTSCRIPT" = yes; then
6886 echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6
6889 echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6901 # Check whether --enable-prologio or --disable-prologio was given.
6902 if test "${enable_prologio+set}" = set; then
6903 enableval="$enable_prologio"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6908 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6913 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6924 eval "$ac_cv_use_prologio"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_PROLOGIO" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6942 # Check whether --enable-resources or --disable-resources was given.
6943 if test "${enable_resources+set}" = set; then
6944 enableval="$enable_resources"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6949 ac_cv_use_resources='wxUSE_RESOURCES=no'
6954 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6965 eval "$ac_cv_use_resources"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_RESOURCES" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6985 # Check whether --enable-clipboard or --disable-clipboard was given.
6986 if test "${enable_clipboard+set}" = set; then
6987 enableval="$enable_clipboard"
6989 if test "$enableval" = yes; then
6990 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6992 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6997 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7004 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7008 eval "$ac_cv_use_clipboard"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_CLIPBOARD" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7026 # Check whether --enable-dnd or --disable-dnd was given.
7027 if test "${enable_dnd+set}" = set; then
7028 enableval="$enable_dnd"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7033 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7038 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7049 eval "$ac_cv_use_dnd"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7054 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7067 # Check whether --enable-metafile or --disable-metafile was given.
7068 if test "${enable_metafile+set}" = set; then
7069 enableval="$enable_metafile"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7074 ac_cv_use_metafile='wxUSE_METAFILE=no'
7079 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7090 eval "$ac_cv_use_metafile"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7095 if test "$wxUSE_METAFILE" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7111 # Check whether --enable-controls or --disable-controls was given.
7112 if test "${enable_controls+set}" = set; then
7113 enableval="$enable_controls"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7118 ac_cv_use_controls='wxUSE_CONTROLS=no'
7123 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x ; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7134 eval "$ac_cv_use_controls"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7139 if test "$wxUSE_CONTROLS" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7148 if test "$wxUSE_CONTROLS" = "yes"; then
7149 DEFAULT_wxUSE_ACCEL=yes
7150 DEFAULT_wxUSE_BMPBUTTON=yes
7151 DEFAULT_wxUSE_BUTTON=yes
7152 DEFAULT_wxUSE_CALCTRL=yes
7153 DEFAULT_wxUSE_CARET=yes
7154 DEFAULT_wxUSE_COMBOBOX=yes
7155 DEFAULT_wxUSE_CHECKBOX=yes
7156 DEFAULT_wxUSE_CHECKLISTBOX=yes
7157 DEFAULT_wxUSE_CHOICE=yes
7158 DEFAULT_wxUSE_CHOICEBOOK=yes
7159 DEFAULT_wxUSE_DATEPICKCTRL=yes
7160 DEFAULT_wxUSE_GAUGE=yes
7161 DEFAULT_wxUSE_GRID=yes
7162 DEFAULT_wxUSE_IMAGLIST=yes
7163 DEFAULT_wxUSE_LISTBOOK=yes
7164 DEFAULT_wxUSE_LISTBOX=yes
7165 DEFAULT_wxUSE_LISTCTRL=yes
7166 DEFAULT_wxUSE_NOTEBOOK=yes
7167 DEFAULT_wxUSE_RADIOBOX=yes
7168 DEFAULT_wxUSE_RADIOBTN=yes
7169 DEFAULT_wxUSE_SASH=yes
7170 DEFAULT_wxUSE_SCROLLBAR=yes
7171 DEFAULT_wxUSE_SLIDER=yes
7172 DEFAULT_wxUSE_SPINBTN=yes
7173 DEFAULT_wxUSE_SPINCTRL=yes
7174 DEFAULT_wxUSE_SPLITTER=yes
7175 DEFAULT_wxUSE_STATBMP=yes
7176 DEFAULT_wxUSE_STATBOX=yes
7177 DEFAULT_wxUSE_STATLINE=yes
7178 DEFAULT_wxUSE_STATUSBAR=yes
7179 DEFAULT_wxUSE_TAB_DIALOG=yes
7180 DEFAULT_wxUSE_TOGGLEBTN=yes
7181 DEFAULT_wxUSE_TOOLBAR=yes
7182 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7183 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7184 DEFAULT_wxUSE_TOOLTIPS=yes
7185 DEFAULT_wxUSE_TREECTRL=yes
7186 DEFAULT_wxUSE_POPUPWIN=yes
7187 DEFAULT_wxUSE_TIPWINDOW=yes
7188 elif test "$wxUSE_CONTROLS" = "no"; then
7189 DEFAULT_wxUSE_ACCEL=no
7190 DEFAULT_wxUSE_BMPBUTTON=no
7191 DEFAULT_wxUSE_BUTTON=no
7192 DEFAULT_wxUSE_CALCTRL=no
7193 DEFAULT_wxUSE_CARET=no
7194 DEFAULT_wxUSE_COMBOBOX=no
7195 DEFAULT_wxUSE_CHECKBOX=no
7196 DEFAULT_wxUSE_CHECKLISTBOX=no
7197 DEFAULT_wxUSE_CHOICE=no
7198 DEFAULT_wxUSE_CHOICEBOOK=no
7199 DEFAULT_wxUSE_DATEPICKCTRL=no
7200 DEFAULT_wxUSE_GAUGE=no
7201 DEFAULT_wxUSE_GRID=no
7202 DEFAULT_wxUSE_IMAGLIST=no
7203 DEFAULT_wxUSE_LISTBOOK=no
7204 DEFAULT_wxUSE_LISTBOX=no
7205 DEFAULT_wxUSE_LISTCTRL=no
7206 DEFAULT_wxUSE_NOTEBOOK=no
7207 DEFAULT_wxUSE_RADIOBOX=no
7208 DEFAULT_wxUSE_RADIOBTN=no
7209 DEFAULT_wxUSE_SASH=no
7210 DEFAULT_wxUSE_SCROLLBAR=no
7211 DEFAULT_wxUSE_SLIDER=no
7212 DEFAULT_wxUSE_SPINBTN=no
7213 DEFAULT_wxUSE_SPINCTRL=no
7214 DEFAULT_wxUSE_SPLITTER=no
7215 DEFAULT_wxUSE_STATBMP=no
7216 DEFAULT_wxUSE_STATBOX=no
7217 DEFAULT_wxUSE_STATLINE=no
7218 DEFAULT_wxUSE_STATUSBAR=no
7219 DEFAULT_wxUSE_TAB_DIALOG=no
7220 DEFAULT_wxUSE_TOGGLEBTN=no
7221 DEFAULT_wxUSE_TOOLBAR=no
7222 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7223 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7224 DEFAULT_wxUSE_TOOLTIPS=no
7225 DEFAULT_wxUSE_TREECTRL=no
7226 DEFAULT_wxUSE_POPUPWIN=no
7227 DEFAULT_wxUSE_TIPWINDOW=no
7232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7235 # Check whether --enable-accel or --disable-accel was given.
7236 if test "${enable_accel+set}" = set; then
7237 enableval="$enable_accel"
7239 if test "$enableval" = yes; then
7240 ac_cv_use_accel='wxUSE_ACCEL=yes'
7242 ac_cv_use_accel='wxUSE_ACCEL=no'
7247 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7248 if test "x$LINE" != x ; then
7249 eval "DEFAULT_$LINE"
7254 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7258 eval "$ac_cv_use_accel"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7263 if test "$wxUSE_ACCEL" = yes; then
7264 echo "$as_me:$LINENO: result: yes" >&5
7265 echo "${ECHO_T}yes" >&6
7267 echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6
7273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7276 # Check whether --enable-button or --disable-button was given.
7277 if test "${enable_button+set}" = set; then
7278 enableval="$enable_button"
7280 if test "$enableval" = yes; then
7281 ac_cv_use_button='wxUSE_BUTTON=yes'
7283 ac_cv_use_button='wxUSE_BUTTON=no'
7288 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7289 if test "x$LINE" != x ; then
7290 eval "DEFAULT_$LINE"
7295 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7299 eval "$ac_cv_use_button"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7304 if test "$wxUSE_BUTTON" = yes; then
7305 echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6
7308 echo "$as_me:$LINENO: result: no" >&5
7309 echo "${ECHO_T}no" >&6
7314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7317 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7318 if test "${enable_bmpbutton+set}" = set; then
7319 enableval="$enable_bmpbutton"
7321 if test "$enableval" = yes; then
7322 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7324 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7329 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x ; then
7331 eval "DEFAULT_$LINE"
7336 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7340 eval "$ac_cv_use_bmpbutton"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7345 if test "$wxUSE_BMPBUTTON" = yes; then
7346 echo "$as_me:$LINENO: result: yes" >&5
7347 echo "${ECHO_T}yes" >&6
7349 echo "$as_me:$LINENO: result: no" >&5
7350 echo "${ECHO_T}no" >&6
7355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7358 # Check whether --enable-calendar or --disable-calendar was given.
7359 if test "${enable_calendar+set}" = set; then
7360 enableval="$enable_calendar"
7362 if test "$enableval" = yes; then
7363 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7365 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7370 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7371 if test "x$LINE" != x ; then
7372 eval "DEFAULT_$LINE"
7377 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7381 eval "$ac_cv_use_calendar"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7386 if test "$wxUSE_CALCTRL" = yes; then
7387 echo "$as_me:$LINENO: result: yes" >&5
7388 echo "${ECHO_T}yes" >&6
7390 echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6
7396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7399 # Check whether --enable-caret or --disable-caret was given.
7400 if test "${enable_caret+set}" = set; then
7401 enableval="$enable_caret"
7403 if test "$enableval" = yes; then
7404 ac_cv_use_caret='wxUSE_CARET=yes'
7406 ac_cv_use_caret='wxUSE_CARET=no'
7411 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x ; then
7413 eval "DEFAULT_$LINE"
7418 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7422 eval "$ac_cv_use_caret"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7427 if test "$wxUSE_CARET" = yes; then
7428 echo "$as_me:$LINENO: result: yes" >&5
7429 echo "${ECHO_T}yes" >&6
7431 echo "$as_me:$LINENO: result: no" >&5
7432 echo "${ECHO_T}no" >&6
7437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7440 # Check whether --enable-checkbox or --disable-checkbox was given.
7441 if test "${enable_checkbox+set}" = set; then
7442 enableval="$enable_checkbox"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7447 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7452 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7463 eval "$ac_cv_use_checkbox"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7468 if test "$wxUSE_CHECKBOX" = yes; then
7469 echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6
7472 echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6
7478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7481 # Check whether --enable-checklst or --disable-checklst was given.
7482 if test "${enable_checklst+set}" = set; then
7483 enableval="$enable_checklst"
7485 if test "$enableval" = yes; then
7486 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7488 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7493 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7504 eval "$ac_cv_use_checklst"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7509 if test "$wxUSE_CHECKLST" = yes; then
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7522 # Check whether --enable-choice or --disable-choice was given.
7523 if test "${enable_choice+set}" = set; then
7524 enableval="$enable_choice"
7526 if test "$enableval" = yes; then
7527 ac_cv_use_choice='wxUSE_CHOICE=yes'
7529 ac_cv_use_choice='wxUSE_CHOICE=no'
7534 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7541 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7545 eval "$ac_cv_use_choice"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_CHOICE" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7563 # Check whether --enable-choicebook or --disable-choicebook was given.
7564 if test "${enable_choicebook+set}" = set; then
7565 enableval="$enable_choicebook"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7570 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7575 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7586 eval "$ac_cv_use_choicebook"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_CHOICEBOOK" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7604 # Check whether --enable-combobox or --disable-combobox was given.
7605 if test "${enable_combobox+set}" = set; then
7606 enableval="$enable_combobox"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7611 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7616 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7627 eval "$ac_cv_use_combobox"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_COMBOBOX" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7645 # Check whether --enable-datepick or --disable-datepick was given.
7646 if test "${enable_datepick+set}" = set; then
7647 enableval="$enable_datepick"
7649 if test "$enableval" = yes; then
7650 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7652 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7657 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x ; then
7659 eval "DEFAULT_$LINE"
7664 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7668 eval "$ac_cv_use_datepick"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7673 if test "$wxUSE_DATEPICKCTRL" = yes; then
7674 echo "$as_me:$LINENO: result: yes" >&5
7675 echo "${ECHO_T}yes" >&6
7677 echo "$as_me:$LINENO: result: no" >&5
7678 echo "${ECHO_T}no" >&6
7683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7686 # Check whether --enable-display or --disable-display was given.
7687 if test "${enable_display+set}" = set; then
7688 enableval="$enable_display"
7690 if test "$enableval" = yes; then
7691 ac_cv_use_display='wxUSE_DISPLAY=yes'
7693 ac_cv_use_display='wxUSE_DISPLAY=no'
7698 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x ; then
7700 eval "DEFAULT_$LINE"
7705 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7709 eval "$ac_cv_use_display"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7714 if test "$wxUSE_DISPLAY" = yes; then
7715 echo "$as_me:$LINENO: result: yes" >&5
7716 echo "${ECHO_T}yes" >&6
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7727 # Check whether --enable-gauge or --disable-gauge was given.
7728 if test "${enable_gauge+set}" = set; then
7729 enableval="$enable_gauge"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7734 ac_cv_use_gauge='wxUSE_GAUGE=no'
7739 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x ; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7750 eval "$ac_cv_use_gauge"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7755 if test "$wxUSE_GAUGE" = yes; then
7756 echo "$as_me:$LINENO: result: yes" >&5
7757 echo "${ECHO_T}yes" >&6
7759 echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6
7765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7768 # Check whether --enable-grid or --disable-grid was given.
7769 if test "${enable_grid+set}" = set; then
7770 enableval="$enable_grid"
7772 if test "$enableval" = yes; then
7773 ac_cv_use_grid='wxUSE_GRID=yes'
7775 ac_cv_use_grid='wxUSE_GRID=no'
7780 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7787 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7791 eval "$ac_cv_use_grid"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7796 if test "$wxUSE_GRID" = yes; then
7797 echo "$as_me:$LINENO: result: yes" >&5
7798 echo "${ECHO_T}yes" >&6
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7809 # Check whether --enable-imaglist or --disable-imaglist was given.
7810 if test "${enable_imaglist+set}" = set; then
7811 enableval="$enable_imaglist"
7813 if test "$enableval" = yes; then
7814 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7816 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7821 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7828 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7832 eval "$ac_cv_use_imaglist"
7833 if test "$no_cache" != 1; then
7834 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7837 if test "$wxUSE_IMAGLIST" = yes; then
7838 echo "$as_me:$LINENO: result: yes" >&5
7839 echo "${ECHO_T}yes" >&6
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7848 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7850 # Check whether --enable-listbook or --disable-listbook was given.
7851 if test "${enable_listbook+set}" = set; then
7852 enableval="$enable_listbook"
7854 if test "$enableval" = yes; then
7855 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7857 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7862 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7863 if test "x$LINE" != x ; then
7864 eval "DEFAULT_$LINE"
7869 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7873 eval "$ac_cv_use_listbook"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7878 if test "$wxUSE_LISTBOOK" = yes; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7882 echo "$as_me:$LINENO: result: no" >&5
7883 echo "${ECHO_T}no" >&6
7888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7889 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7891 # Check whether --enable-listbox or --disable-listbox was given.
7892 if test "${enable_listbox+set}" = set; then
7893 enableval="$enable_listbox"
7895 if test "$enableval" = yes; then
7896 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7898 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7903 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x ; then
7905 eval "DEFAULT_$LINE"
7910 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7914 eval "$ac_cv_use_listbox"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7919 if test "$wxUSE_LISTBOX" = yes; then
7920 echo "$as_me:$LINENO: result: yes" >&5
7921 echo "${ECHO_T}yes" >&6
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7932 # Check whether --enable-listctrl or --disable-listctrl was given.
7933 if test "${enable_listctrl+set}" = set; then
7934 enableval="$enable_listctrl"
7936 if test "$enableval" = yes; then
7937 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7939 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7944 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7951 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7955 eval "$ac_cv_use_listctrl"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7960 if test "$wxUSE_LISTCTRL" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7973 # Check whether --enable-notebook or --disable-notebook was given.
7974 if test "${enable_notebook+set}" = set; then
7975 enableval="$enable_notebook"
7977 if test "$enableval" = yes; then
7978 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7980 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7985 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7992 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7996 eval "$ac_cv_use_notebook"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8001 if test "$wxUSE_NOTEBOOK" = yes; then
8002 echo "$as_me:$LINENO: result: yes" >&5
8003 echo "${ECHO_T}yes" >&6
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8014 # Check whether --enable-radiobox or --disable-radiobox was given.
8015 if test "${enable_radiobox+set}" = set; then
8016 enableval="$enable_radiobox"
8018 if test "$enableval" = yes; then
8019 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8021 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8026 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8033 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8037 eval "$ac_cv_use_radiobox"
8038 if test "$no_cache" != 1; then
8039 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8042 if test "$wxUSE_RADIOBOX" = yes; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8053 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8055 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8056 if test "${enable_radiobtn+set}" = set; then
8057 enableval="$enable_radiobtn"
8059 if test "$enableval" = yes; then
8060 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8062 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8067 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8068 if test "x$LINE" != x ; then
8069 eval "DEFAULT_$LINE"
8074 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8078 eval "$ac_cv_use_radiobtn"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8083 if test "$wxUSE_RADIOBTN" = yes; then
8084 echo "$as_me:$LINENO: result: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8087 echo "$as_me:$LINENO: result: no" >&5
8088 echo "${ECHO_T}no" >&6
8093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8096 # Check whether --enable-sash or --disable-sash was given.
8097 if test "${enable_sash+set}" = set; then
8098 enableval="$enable_sash"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_sash='wxUSE_SASH=yes'
8103 ac_cv_use_sash='wxUSE_SASH=no'
8108 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8119 eval "$ac_cv_use_sash"
8120 if test "$no_cache" != 1; then
8121 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8124 if test "$wxUSE_SASH" = yes; then
8125 echo "$as_me:$LINENO: result: yes" >&5
8126 echo "${ECHO_T}yes" >&6
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8137 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8138 if test "${enable_scrollbar+set}" = set; then
8139 enableval="$enable_scrollbar"
8141 if test "$enableval" = yes; then
8142 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8144 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8149 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x ; then
8151 eval "DEFAULT_$LINE"
8156 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8160 eval "$ac_cv_use_scrollbar"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_SCROLLBAR" = yes; then
8166 echo "$as_me:$LINENO: result: yes" >&5
8167 echo "${ECHO_T}yes" >&6
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8178 # Check whether --enable-slider or --disable-slider was given.
8179 if test "${enable_slider+set}" = set; then
8180 enableval="$enable_slider"
8182 if test "$enableval" = yes; then
8183 ac_cv_use_slider='wxUSE_SLIDER=yes'
8185 ac_cv_use_slider='wxUSE_SLIDER=no'
8190 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x ; then
8192 eval "DEFAULT_$LINE"
8197 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8201 eval "$ac_cv_use_slider"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8206 if test "$wxUSE_SLIDER" = yes; then
8207 echo "$as_me:$LINENO: result: yes" >&5
8208 echo "${ECHO_T}yes" >&6
8210 echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6
8216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8219 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8220 if test "${enable_spinbtn+set}" = set; then
8221 enableval="$enable_spinbtn"
8223 if test "$enableval" = yes; then
8224 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8226 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8231 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x ; then
8233 eval "DEFAULT_$LINE"
8238 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8242 eval "$ac_cv_use_spinbtn"
8243 if test "$no_cache" != 1; then
8244 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8247 if test "$wxUSE_SPINBTN" = yes; then
8248 echo "$as_me:$LINENO: result: yes" >&5
8249 echo "${ECHO_T}yes" >&6
8251 echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6
8257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8260 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8261 if test "${enable_spinctrl+set}" = set; then
8262 enableval="$enable_spinctrl"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8267 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8272 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x ; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8283 eval "$ac_cv_use_spinctrl"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8288 if test "$wxUSE_SPINCTRL" = yes; then
8289 echo "$as_me:$LINENO: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8292 echo "$as_me:$LINENO: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8301 # Check whether --enable-splitter or --disable-splitter was given.
8302 if test "${enable_splitter+set}" = set; then
8303 enableval="$enable_splitter"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8308 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8313 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x ; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8324 eval "$ac_cv_use_splitter"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8329 if test "$wxUSE_SPLITTER" = yes; then
8330 echo "$as_me:$LINENO: result: yes" >&5
8331 echo "${ECHO_T}yes" >&6
8333 echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6
8339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8342 # Check whether --enable-statbmp or --disable-statbmp was given.
8343 if test "${enable_statbmp+set}" = set; then
8344 enableval="$enable_statbmp"
8346 if test "$enableval" = yes; then
8347 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8349 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8354 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x ; then
8356 eval "DEFAULT_$LINE"
8361 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8365 eval "$ac_cv_use_statbmp"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8370 if test "$wxUSE_STATBMP" = yes; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8374 echo "$as_me:$LINENO: result: no" >&5
8375 echo "${ECHO_T}no" >&6
8380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8383 # Check whether --enable-statbox or --disable-statbox was given.
8384 if test "${enable_statbox+set}" = set; then
8385 enableval="$enable_statbox"
8387 if test "$enableval" = yes; then
8388 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8390 ac_cv_use_statbox='wxUSE_STATBOX=no'
8395 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8396 if test "x$LINE" != x ; then
8397 eval "DEFAULT_$LINE"
8402 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8406 eval "$ac_cv_use_statbox"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_STATBOX" = yes; then
8412 echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6
8415 echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6
8421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8424 # Check whether --enable-statline or --disable-statline was given.
8425 if test "${enable_statline+set}" = set; then
8426 enableval="$enable_statline"
8428 if test "$enableval" = yes; then
8429 ac_cv_use_statline='wxUSE_STATLINE=yes'
8431 ac_cv_use_statline='wxUSE_STATLINE=no'
8436 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8443 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8447 eval "$ac_cv_use_statline"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8452 if test "$wxUSE_STATLINE" = yes; then
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8465 # Check whether --enable-stattext or --disable-stattext was given.
8466 if test "${enable_stattext+set}" = set; then
8467 enableval="$enable_stattext"
8469 if test "$enableval" = yes; then
8470 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8472 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8477 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8478 if test "x$LINE" != x ; then
8479 eval "DEFAULT_$LINE"
8484 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8488 eval "$ac_cv_use_stattext"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8493 if test "$wxUSE_STATTEXT" = yes; then
8494 echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8497 echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6
8503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8506 # Check whether --enable-statusbar or --disable-statusbar was given.
8507 if test "${enable_statusbar+set}" = set; then
8508 enableval="$enable_statusbar"
8510 if test "$enableval" = yes; then
8511 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8513 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8518 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x ; then
8520 eval "DEFAULT_$LINE"
8525 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8529 eval "$ac_cv_use_statusbar"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8534 if test "$wxUSE_STATUSBAR" = yes; then
8535 echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8547 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8548 if test "${enable_tabdialog+set}" = set; then
8549 enableval="$enable_tabdialog"
8551 if test "$enableval" = yes; then
8552 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8554 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8559 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8560 if test "x$LINE" != x ; then
8561 eval "DEFAULT_$LINE"
8566 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8570 eval "$ac_cv_use_tabdialog"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8575 if test "$wxUSE_TABDIALOG" = yes; then
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8588 # Check whether --enable-textctrl or --disable-textctrl was given.
8589 if test "${enable_textctrl+set}" = set; then
8590 enableval="$enable_textctrl"
8592 if test "$enableval" = yes; then
8593 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8595 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8600 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8601 if test "x$LINE" != x ; then
8602 eval "DEFAULT_$LINE"
8607 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8611 eval "$ac_cv_use_textctrl"
8612 if test "$no_cache" != 1; then
8613 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8616 if test "$wxUSE_TEXTCTRL" = yes; then
8617 echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8629 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8630 if test "${enable_togglebtn+set}" = set; then
8631 enableval="$enable_togglebtn"
8633 if test "$enableval" = yes; then
8634 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8636 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8641 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x ; then
8643 eval "DEFAULT_$LINE"
8648 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8652 eval "$ac_cv_use_togglebtn"
8653 if test "$no_cache" != 1; then
8654 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8657 if test "$wxUSE_TOGGLEBTN" = yes; then
8658 echo "$as_me:$LINENO: result: yes" >&5
8659 echo "${ECHO_T}yes" >&6
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8670 # Check whether --enable-toolbar or --disable-toolbar was given.
8671 if test "${enable_toolbar+set}" = set; then
8672 enableval="$enable_toolbar"
8674 if test "$enableval" = yes; then
8675 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8677 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8682 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x ; then
8684 eval "DEFAULT_$LINE"
8689 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8693 eval "$ac_cv_use_toolbar"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8698 if test "$wxUSE_TOOLBAR" = yes; then
8699 echo "$as_me:$LINENO: result: yes" >&5
8700 echo "${ECHO_T}yes" >&6
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8711 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8712 if test "${enable_tbarnative+set}" = set; then
8713 enableval="$enable_tbarnative"
8715 if test "$enableval" = yes; then
8716 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8718 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8723 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x ; then
8725 eval "DEFAULT_$LINE"
8730 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8734 eval "$ac_cv_use_tbarnative"
8735 if test "$no_cache" != 1; then
8736 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8739 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8740 echo "$as_me:$LINENO: result: yes" >&5
8741 echo "${ECHO_T}yes" >&6
8743 echo "$as_me:$LINENO: result: no" >&5
8744 echo "${ECHO_T}no" >&6
8749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8752 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8753 if test "${enable_tbarsmpl+set}" = set; then
8754 enableval="$enable_tbarsmpl"
8756 if test "$enableval" = yes; then
8757 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8759 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8764 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x ; then
8766 eval "DEFAULT_$LINE"
8771 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8775 eval "$ac_cv_use_tbarsmpl"
8776 if test "$no_cache" != 1; then
8777 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8780 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8784 echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6
8790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8793 # Check whether --enable-treectrl or --disable-treectrl was given.
8794 if test "${enable_treectrl+set}" = set; then
8795 enableval="$enable_treectrl"
8797 if test "$enableval" = yes; then
8798 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8800 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8805 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x ; then
8807 eval "DEFAULT_$LINE"
8812 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8816 eval "$ac_cv_use_treectrl"
8817 if test "$no_cache" != 1; then
8818 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8821 if test "$wxUSE_TREECTRL" = yes; then
8822 echo "$as_me:$LINENO: result: yes" >&5
8823 echo "${ECHO_T}yes" >&6
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8834 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8835 if test "${enable_tipwindow+set}" = set; then
8836 enableval="$enable_tipwindow"
8838 if test "$enableval" = yes; then
8839 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8841 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8846 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8857 eval "$ac_cv_use_tipwindow"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8862 if test "$wxUSE_TIPWINDOW" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8875 # Check whether --enable-popupwin or --disable-popupwin was given.
8876 if test "${enable_popupwin+set}" = set; then
8877 enableval="$enable_popupwin"
8879 if test "$enableval" = yes; then
8880 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8882 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8887 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8894 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8898 eval "$ac_cv_use_popupwin"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8903 if test "$wxUSE_POPUPWIN" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8918 # Check whether --enable-commondlg or --disable-commondlg was given.
8919 if test "${enable_commondlg+set}" = set; then
8920 enableval="$enable_commondlg"
8922 if test "$enableval" = yes; then
8923 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8925 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8930 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x ; then
8932 eval "DEFAULT_$LINE"
8937 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8941 eval "$ac_cv_use_commondlg"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8946 if test "$wxUSE_COMMONDLGS" = yes; then
8947 echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8959 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8960 if test "${enable_choicedlg+set}" = set; then
8961 enableval="$enable_choicedlg"
8963 if test "$enableval" = yes; then
8964 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8966 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8971 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x ; then
8973 eval "DEFAULT_$LINE"
8978 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8982 eval "$ac_cv_use_choicedlg"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8987 if test "$wxUSE_CHOICEDLG" = yes; then
8988 echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9000 # Check whether --enable-coldlg or --disable-coldlg was given.
9001 if test "${enable_coldlg+set}" = set; then
9002 enableval="$enable_coldlg"
9004 if test "$enableval" = yes; then
9005 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9007 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9012 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x ; then
9014 eval "DEFAULT_$LINE"
9019 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9023 eval "$ac_cv_use_coldlg"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9028 if test "$wxUSE_COLOURDLG" = yes; then
9029 echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9041 # Check whether --enable-filedlg or --disable-filedlg was given.
9042 if test "${enable_filedlg+set}" = set; then
9043 enableval="$enable_filedlg"
9045 if test "$enableval" = yes; then
9046 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9048 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9053 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9060 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9064 eval "$ac_cv_use_filedlg"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9069 if test "$wxUSE_FILEDLG" = yes; then
9070 echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9082 # Check whether --enable-finddlg or --disable-finddlg was given.
9083 if test "${enable_finddlg+set}" = set; then
9084 enableval="$enable_finddlg"
9086 if test "$enableval" = yes; then
9087 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9089 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9094 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x ; then
9096 eval "DEFAULT_$LINE"
9101 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9105 eval "$ac_cv_use_finddlg"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9110 if test "$wxUSE_FINDREPLDLG" = yes; then
9111 echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6
9114 echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6
9120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9123 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9124 if test "${enable_fontdlg+set}" = set; then
9125 enableval="$enable_fontdlg"
9127 if test "$enableval" = yes; then
9128 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9130 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9135 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x ; then
9137 eval "DEFAULT_$LINE"
9142 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9146 eval "$ac_cv_use_fontdlg"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9151 if test "$wxUSE_FONTDLG" = yes; then
9152 echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6
9155 echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9164 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9165 if test "${enable_dirdlg+set}" = set; then
9166 enableval="$enable_dirdlg"
9168 if test "$enableval" = yes; then
9169 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9171 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9176 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9183 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9187 eval "$ac_cv_use_dirdlg"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9192 if test "$wxUSE_DIRDLG" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9205 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9206 if test "${enable_msgdlg+set}" = set; then
9207 enableval="$enable_msgdlg"
9209 if test "$enableval" = yes; then
9210 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9212 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9217 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9224 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9228 eval "$ac_cv_use_msgdlg"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9233 if test "$wxUSE_MSGDLG" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9246 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9247 if test "${enable_numberdlg+set}" = set; then
9248 enableval="$enable_numberdlg"
9250 if test "$enableval" = yes; then
9251 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9253 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9258 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9269 eval "$ac_cv_use_numberdlg"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9274 if test "$wxUSE_NUMBERDLG" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9287 # Check whether --enable-splash or --disable-splash was given.
9288 if test "${enable_splash+set}" = set; then
9289 enableval="$enable_splash"
9291 if test "$enableval" = yes; then
9292 ac_cv_use_splash='wxUSE_SPLASH=yes'
9294 ac_cv_use_splash='wxUSE_SPLASH=no'
9299 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9310 eval "$ac_cv_use_splash"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9315 if test "$wxUSE_SPLASH" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9328 # Check whether --enable-textdlg or --disable-textdlg was given.
9329 if test "${enable_textdlg+set}" = set; then
9330 enableval="$enable_textdlg"
9332 if test "$enableval" = yes; then
9333 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9335 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9340 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9351 eval "$ac_cv_use_textdlg"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9356 if test "$wxUSE_TEXTDLG" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9369 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9370 if test "${enable_tipdlg+set}" = set; then
9371 enableval="$enable_tipdlg"
9373 if test "$enableval" = yes; then
9374 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9376 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9381 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9392 eval "$ac_cv_use_tipdlg"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9397 if test "$wxUSE_STARTUP_TIPS" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9410 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9411 if test "${enable_progressdlg+set}" = set; then
9412 enableval="$enable_progressdlg"
9414 if test "$enableval" = yes; then
9415 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9417 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9422 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9433 eval "$ac_cv_use_progressdlg"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9438 if test "$wxUSE_PROGRESSDLG" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9451 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9452 if test "${enable_wizarddlg+set}" = set; then
9453 enableval="$enable_wizarddlg"
9455 if test "$enableval" = yes; then
9456 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9458 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9463 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9474 eval "$ac_cv_use_wizarddlg"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9479 if test "$wxUSE_WIZARDDLG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9494 # Check whether --enable-menus or --disable-menus was given.
9495 if test "${enable_menus+set}" = set; then
9496 enableval="$enable_menus"
9498 if test "$enableval" = yes; then
9499 ac_cv_use_menus='wxUSE_MENUS=yes'
9501 ac_cv_use_menus='wxUSE_MENUS=no'
9506 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9507 if test "x$LINE" != x ; then
9508 eval "DEFAULT_$LINE"
9513 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9517 eval "$ac_cv_use_menus"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9522 if test "$wxUSE_MENUS" = yes; then
9523 echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9535 # Check whether --enable-miniframe or --disable-miniframe was given.
9536 if test "${enable_miniframe+set}" = set; then
9537 enableval="$enable_miniframe"
9539 if test "$enableval" = yes; then
9540 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9542 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9547 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9554 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9558 eval "$ac_cv_use_miniframe"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9563 if test "$wxUSE_MINIFRAME" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9576 # Check whether --enable-tooltips or --disable-tooltips was given.
9577 if test "${enable_tooltips+set}" = set; then
9578 enableval="$enable_tooltips"
9580 if test "$enableval" = yes; then
9581 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9583 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9588 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9589 if test "x$LINE" != x ; then
9590 eval "DEFAULT_$LINE"
9595 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9599 eval "$ac_cv_use_tooltips"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9604 if test "$wxUSE_TOOLTIPS" = yes; then
9605 echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6
9608 echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6
9614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9617 # Check whether --enable-splines or --disable-splines was given.
9618 if test "${enable_splines+set}" = set; then
9619 enableval="$enable_splines"
9621 if test "$enableval" = yes; then
9622 ac_cv_use_splines='wxUSE_SPLINES=yes'
9624 ac_cv_use_splines='wxUSE_SPLINES=no'
9629 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9630 if test "x$LINE" != x ; then
9631 eval "DEFAULT_$LINE"
9636 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9640 eval "$ac_cv_use_splines"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9645 if test "$wxUSE_SPLINES" = yes; then
9646 echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6
9649 echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6
9655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9658 # Check whether --enable-validators or --disable-validators was given.
9659 if test "${enable_validators+set}" = set; then
9660 enableval="$enable_validators"
9662 if test "$enableval" = yes; then
9663 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9665 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9670 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9671 if test "x$LINE" != x ; then
9672 eval "DEFAULT_$LINE"
9677 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9681 eval "$ac_cv_use_validators"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9686 if test "$wxUSE_VALIDATORS" = yes; then
9687 echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9699 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9700 if test "${enable_busyinfo+set}" = set; then
9701 enableval="$enable_busyinfo"
9703 if test "$enableval" = yes; then
9704 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9706 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9711 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x ; then
9713 eval "DEFAULT_$LINE"
9718 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9722 eval "$ac_cv_use_busyinfo"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9727 if test "$wxUSE_BUSYINFO" = yes; then
9728 echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6
9731 echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9740 # Check whether --enable-joystick or --disable-joystick was given.
9741 if test "${enable_joystick+set}" = set; then
9742 enableval="$enable_joystick"
9744 if test "$enableval" = yes; then
9745 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9747 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9752 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9759 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9763 eval "$ac_cv_use_joystick"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9768 if test "$wxUSE_JOYSTICK" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9781 # Check whether --enable-metafile or --disable-metafile was given.
9782 if test "${enable_metafile+set}" = set; then
9783 enableval="$enable_metafile"
9785 if test "$enableval" = yes; then
9786 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9788 ac_cv_use_metafile='wxUSE_METAFILE=no'
9793 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9800 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9804 eval "$ac_cv_use_metafile"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9809 if test "$wxUSE_METAFILE" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9822 # Check whether --enable-dragimage or --disable-dragimage was given.
9823 if test "${enable_dragimage+set}" = set; then
9824 enableval="$enable_dragimage"
9826 if test "$enableval" = yes; then
9827 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9829 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9834 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9841 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9845 eval "$ac_cv_use_dragimage"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9850 if test "$wxUSE_DRAGIMAGE" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9863 # Check whether --enable-accessibility or --disable-accessibility was given.
9864 if test "${enable_accessibility+set}" = set; then
9865 enableval="$enable_accessibility"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9870 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9875 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9886 eval "$ac_cv_use_accessibility"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_ACCESSIBILITY" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9906 # Check whether --enable-palette or --disable-palette was given.
9907 if test "${enable_palette+set}" = set; then
9908 enableval="$enable_palette"
9910 if test "$enableval" = yes; then
9911 ac_cv_use_palette='wxUSE_PALETTE=yes'
9913 ac_cv_use_palette='wxUSE_PALETTE=no'
9918 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9919 if test "x$LINE" != x ; then
9920 eval "DEFAULT_$LINE"
9925 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9929 eval "$ac_cv_use_palette"
9930 if test "$no_cache" != 1; then
9931 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9934 if test "$wxUSE_PALETTE" = yes; then
9935 echo "$as_me:$LINENO: result: yes" >&5
9936 echo "${ECHO_T}yes" >&6
9938 echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6
9944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9945 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9947 # Check whether --enable-image or --disable-image was given.
9948 if test "${enable_image+set}" = set; then
9949 enableval="$enable_image"
9951 if test "$enableval" = yes; then
9952 ac_cv_use_image='wxUSE_IMAGE=yes'
9954 ac_cv_use_image='wxUSE_IMAGE=no'
9959 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9960 if test "x$LINE" != x ; then
9961 eval "DEFAULT_$LINE"
9966 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9970 eval "$ac_cv_use_image"
9971 if test "$no_cache" != 1; then
9972 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9975 if test "$wxUSE_IMAGE" = yes; then
9976 echo "$as_me:$LINENO: result: yes" >&5
9977 echo "${ECHO_T}yes" >&6
9979 echo "$as_me:$LINENO: result: no" >&5
9980 echo "${ECHO_T}no" >&6
9985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9988 # Check whether --enable-gif or --disable-gif was given.
9989 if test "${enable_gif+set}" = set; then
9990 enableval="$enable_gif"
9992 if test "$enableval" = yes; then
9993 ac_cv_use_gif='wxUSE_GIF=yes'
9995 ac_cv_use_gif='wxUSE_GIF=no'
10000 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10001 if test "x$LINE" != x ; then
10002 eval "DEFAULT_$LINE"
10007 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10011 eval "$ac_cv_use_gif"
10012 if test "$no_cache" != 1; then
10013 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10016 if test "$wxUSE_GIF" = yes; then
10017 echo "$as_me:$LINENO: result: yes" >&5
10018 echo "${ECHO_T}yes" >&6
10020 echo "$as_me:$LINENO: result: no" >&5
10021 echo "${ECHO_T}no" >&6
10026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10029 # Check whether --enable-pcx or --disable-pcx was given.
10030 if test "${enable_pcx+set}" = set; then
10031 enableval="$enable_pcx"
10033 if test "$enableval" = yes; then
10034 ac_cv_use_pcx='wxUSE_PCX=yes'
10036 ac_cv_use_pcx='wxUSE_PCX=no'
10041 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x ; then
10043 eval "DEFAULT_$LINE"
10048 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10052 eval "$ac_cv_use_pcx"
10053 if test "$no_cache" != 1; then
10054 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10057 if test "$wxUSE_PCX" = yes; then
10058 echo "$as_me:$LINENO: result: yes" >&5
10059 echo "${ECHO_T}yes" >&6
10061 echo "$as_me:$LINENO: result: no" >&5
10062 echo "${ECHO_T}no" >&6
10067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10070 # Check whether --enable-iff or --disable-iff was given.
10071 if test "${enable_iff+set}" = set; then
10072 enableval="$enable_iff"
10074 if test "$enableval" = yes; then
10075 ac_cv_use_iff='wxUSE_IFF=yes'
10077 ac_cv_use_iff='wxUSE_IFF=no'
10082 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10083 if test "x$LINE" != x ; then
10084 eval "DEFAULT_$LINE"
10089 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10093 eval "$ac_cv_use_iff"
10094 if test "$no_cache" != 1; then
10095 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10098 if test "$wxUSE_IFF" = yes; then
10099 echo "$as_me:$LINENO: result: yes" >&5
10100 echo "${ECHO_T}yes" >&6
10102 echo "$as_me:$LINENO: result: no" >&5
10103 echo "${ECHO_T}no" >&6
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10111 # Check whether --enable-pnm or --disable-pnm was given.
10112 if test "${enable_pnm+set}" = set; then
10113 enableval="$enable_pnm"
10115 if test "$enableval" = yes; then
10116 ac_cv_use_pnm='wxUSE_PNM=yes'
10118 ac_cv_use_pnm='wxUSE_PNM=no'
10123 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x ; then
10125 eval "DEFAULT_$LINE"
10130 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10134 eval "$ac_cv_use_pnm"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10139 if test "$wxUSE_PNM" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10152 # Check whether --enable-xpm or --disable-xpm was given.
10153 if test "${enable_xpm+set}" = set; then
10154 enableval="$enable_xpm"
10156 if test "$enableval" = yes; then
10157 ac_cv_use_xpm='wxUSE_XPM=yes'
10159 ac_cv_use_xpm='wxUSE_XPM=no'
10164 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10165 if test "x$LINE" != x ; then
10166 eval "DEFAULT_$LINE"
10171 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10175 eval "$ac_cv_use_xpm"
10176 if test "$no_cache" != 1; then
10177 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10180 if test "$wxUSE_XPM" = yes; then
10181 echo "$as_me:$LINENO: result: yes" >&5
10182 echo "${ECHO_T}yes" >&6
10184 echo "$as_me:$LINENO: result: no" >&5
10185 echo "${ECHO_T}no" >&6
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10193 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10194 if test "${enable_ico_cur+set}" = set; then
10195 enableval="$enable_ico_cur"
10197 if test "$enableval" = yes; then
10198 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10200 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10205 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10212 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10216 eval "$ac_cv_use_ico_cur"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10221 if test "$wxUSE_ICO_CUR" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10234 # Check whether --with-flavour or --without-flavour was given.
10235 if test "${with_flavour+set}" = set; then
10236 withval="$with_flavour"
10237 WX_FLAVOUR="$withval"
10243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10246 # Check whether --enable-official_build or --disable-official_build was given.
10247 if test "${enable_official_build+set}" = set; then
10248 enableval="$enable_official_build"
10250 if test "$enableval" = yes; then
10251 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10253 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10258 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10259 if test "x$LINE" != x ; then
10260 eval "DEFAULT_$LINE"
10265 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10269 eval "$ac_cv_use_official_build"
10270 if test "$no_cache" != 1; then
10271 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10274 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10275 echo "$as_me:$LINENO: result: yes" >&5
10276 echo "${ECHO_T}yes" >&6
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10282 # Check whether --enable-vendor or --disable-vendor was given.
10283 if test "${enable_vendor+set}" = set; then
10284 enableval="$enable_vendor"
10285 VENDOR="$enableval"
10287 if test "x$VENDOR" = "x"; then
10294 echo "saving argument cache $wx_arg_cache_file"
10295 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10299 echo "$as_me:$LINENO: checking for toolkit" >&5
10300 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10302 # In Wine, we need to default to MSW, not GTK or MOTIF
10303 if test "$wxUSE_WINE" = "yes"; then
10304 DEFAULT_DEFAULT_wxUSE_GTK=0
10305 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10306 DEFAULT_DEFAULT_wxUSE_MSW=1
10310 if test "$wxUSE_GUI" = "yes"; then
10312 if test "$USE_BEOS" = 1; then
10313 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10314 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10315 { (exit 1); exit 1; }; }
10318 if test "$TOOLKIT_GIVEN" = 1; then
10319 for toolkit in `echo $ALL_TOOLKITS`; do
10321 eval "value=\$${var}"
10322 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10325 for toolkit in `echo $ALL_TOOLKITS`; do
10326 if test "$has_toolkit_in_cache" != 1; then
10327 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10329 var=DEFAULT_wxUSE_$toolkit
10331 eval "wxUSE_$toolkit=\$${var}"
10335 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10336 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10337 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10340 *-pc-os2_emx | *-pc-os2-emx )
10341 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10344 case "$NUM_TOOLKITS" in
10348 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10349 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10350 { (exit 1); exit 1; }; }
10353 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10354 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10355 { (exit 1); exit 1; }; }
10358 for toolkit in `echo $ALL_TOOLKITS`; do
10360 eval "value=\$${var}"
10361 if test "x$value" != x; then
10362 cache_var=CACHE_$toolkit
10363 eval "cache=\$${cache_var}"
10364 if test "$cache" = 1; then
10365 echo "$var=$value" >> ${wx_arg_cache_file}
10367 if test "$value" = 1; then
10368 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10369 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10370 echo "${ECHO_T}$toolkit_echo" >&6
10375 if test "x$host_alias" != "x"; then
10376 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10377 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10379 echo "$as_me:$LINENO: result: base only" >&5
10380 echo "${ECHO_T}base only" >&6
10385 doesnt_want_win32=0
10388 if test "$wxUSE_MSW" = 1 ; then
10391 doesnt_want_win32=1
10399 if test "$wxUSE_WINE" = "yes"; then
10404 LDFLAGS_GUI="-mwindows"
10407 if test "$wants_win32" = 1 ; then
10410 cat >>confdefs.h <<\_ACEOF
10411 #define __WIN32__ 1
10414 cat >>confdefs.h <<\_ACEOF
10415 #define __WIN95__ 1
10418 cat >>confdefs.h <<\_ACEOF
10419 #define __WINDOWS__ 1
10422 cat >>confdefs.h <<\_ACEOF
10423 #define __GNUWIN32__ 1
10426 cat >>confdefs.h <<\_ACEOF
10430 cat >>confdefs.h <<\_ACEOF
10431 #define WINVER 0x0400
10435 if test "$doesnt_want_win32" = 1 ; then
10440 if test "$USE_UNIX" = 1 ; then
10442 cat >>confdefs.h <<\_ACEOF
10449 cat >confcache <<\_ACEOF
10450 # This file is a shell script that caches the results of configure
10451 # tests run on this system so they can be shared between configure
10452 # scripts and configure runs, see configure's option --config-cache.
10453 # It is not useful on other systems. If it contains results you don't
10454 # want to keep, you may remove or edit it.
10456 # config.status only pays attention to the cache file if you give it
10457 # the --recheck option to rerun configure.
10459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10461 # following values.
10465 # The following way of writing the cache mishandles newlines in values,
10466 # but we know of no workaround that is simple, portable, and efficient.
10467 # So, don't put newlines in cache variables' values.
10468 # Ultrix sh set writes to stderr and can't be redirected directly,
10469 # and sets the high bit in the cache file unless we assign to the vars.
10472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10474 # `set' does not quote correctly, so add quotes (double-quote
10475 # substitution turns \\\\ into \\, and sed turns \\ into \).
10478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10481 # `set' quotes correctly as required by POSIX, so do not add quotes.
10483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10494 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10495 if test -w $cache_file; then
10496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10497 cat confcache >$cache_file
10499 echo "not updating unwritable cache $cache_file"
10504 if test "$build" != "$host" ; then
10505 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10507 CXX=$host_alias-c++
10509 RANLIB=$host_alias-ranlib
10510 DLLTOOL=$host_alias-dlltool
10511 RESCOMP=$host_alias-windres
10512 STRIP=$host_alias-strip
10513 elif test "x$CC" '!=' "x"; then
10514 echo "You set CC, I assume you know what you are doing."
10516 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10517 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10518 { (exit 1); exit 1; }; }
10524 ac_cpp='$CPP $CPPFLAGS'
10525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10528 if test -n "$ac_tool_prefix"; then
10529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10531 echo "$as_me:$LINENO: checking for $ac_word" >&5
10532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10533 if test "${ac_cv_prog_CC+set}" = set; then
10534 echo $ECHO_N "(cached) $ECHO_C" >&6
10536 if test -n "$CC"; then
10537 ac_cv_prog_CC="$CC" # Let the user override the test.
10539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10540 for as_dir in $PATH
10543 test -z "$as_dir" && as_dir=.
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10546 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10556 if test -n "$CC"; then
10557 echo "$as_me:$LINENO: result: $CC" >&5
10558 echo "${ECHO_T}$CC" >&6
10560 echo "$as_me:$LINENO: result: no" >&5
10561 echo "${ECHO_T}no" >&6
10565 if test -z "$ac_cv_prog_CC"; then
10567 # Extract the first word of "gcc", so it can be a program name with args.
10568 set dummy gcc; ac_word=$2
10569 echo "$as_me:$LINENO: checking for $ac_word" >&5
10570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10572 echo $ECHO_N "(cached) $ECHO_C" >&6
10574 if test -n "$ac_ct_CC"; then
10575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10578 for as_dir in $PATH
10581 test -z "$as_dir" && as_dir=.
10582 for ac_exec_ext in '' $ac_executable_extensions; do
10583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10584 ac_cv_prog_ac_ct_CC="gcc"
10585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10594 if test -n "$ac_ct_CC"; then
10595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10596 echo "${ECHO_T}$ac_ct_CC" >&6
10598 echo "$as_me:$LINENO: result: no" >&5
10599 echo "${ECHO_T}no" >&6
10604 CC="$ac_cv_prog_CC"
10607 if test -z "$CC"; then
10608 if test -n "$ac_tool_prefix"; then
10609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10610 set dummy ${ac_tool_prefix}cc; ac_word=$2
10611 echo "$as_me:$LINENO: checking for $ac_word" >&5
10612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10613 if test "${ac_cv_prog_CC+set}" = set; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10616 if test -n "$CC"; then
10617 ac_cv_prog_CC="$CC" # Let the user override the test.
10619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10620 for as_dir in $PATH
10623 test -z "$as_dir" && as_dir=.
10624 for ac_exec_ext in '' $ac_executable_extensions; do
10625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10626 ac_cv_prog_CC="${ac_tool_prefix}cc"
10627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10636 if test -n "$CC"; then
10637 echo "$as_me:$LINENO: result: $CC" >&5
10638 echo "${ECHO_T}$CC" >&6
10640 echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6
10645 if test -z "$ac_cv_prog_CC"; then
10647 # Extract the first word of "cc", so it can be a program name with args.
10648 set dummy cc; ac_word=$2
10649 echo "$as_me:$LINENO: checking for $ac_word" >&5
10650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 if test -n "$ac_ct_CC"; then
10655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10658 for as_dir in $PATH
10661 test -z "$as_dir" && as_dir=.
10662 for ac_exec_ext in '' $ac_executable_extensions; do
10663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10664 ac_cv_prog_ac_ct_CC="cc"
10665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10674 if test -n "$ac_ct_CC"; then
10675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10676 echo "${ECHO_T}$ac_ct_CC" >&6
10678 echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6
10684 CC="$ac_cv_prog_CC"
10688 if test -z "$CC"; then
10689 # Extract the first word of "cc", so it can be a program name with args.
10690 set dummy cc; ac_word=$2
10691 echo "$as_me:$LINENO: checking for $ac_word" >&5
10692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10693 if test "${ac_cv_prog_CC+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 if test -n "$CC"; then
10697 ac_cv_prog_CC="$CC" # Let the user override the test.
10699 ac_prog_rejected=no
10700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10701 for as_dir in $PATH
10704 test -z "$as_dir" && as_dir=.
10705 for ac_exec_ext in '' $ac_executable_extensions; do
10706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10708 ac_prog_rejected=yes
10712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 if test $ac_prog_rejected = yes; then
10719 # We found a bogon in the path, so make sure we never use it.
10720 set dummy $ac_cv_prog_CC
10722 if test $# != 0; then
10723 # We chose a different compiler from the bogus one.
10724 # However, it has the same basename, so the bogon will be chosen
10725 # first if we set CC to just the basename; use the full file name.
10727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10742 if test -z "$CC"; then
10743 if test -n "$ac_tool_prefix"; then
10746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10748 echo "$as_me:$LINENO: checking for $ac_word" >&5
10749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10750 if test "${ac_cv_prog_CC+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 if test -n "$CC"; then
10754 ac_cv_prog_CC="$CC" # Let the user override the test.
10756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10757 for as_dir in $PATH
10760 test -z "$as_dir" && as_dir=.
10761 for ac_exec_ext in '' $ac_executable_extensions; do
10762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10773 if test -n "$CC"; then
10774 echo "$as_me:$LINENO: result: $CC" >&5
10775 echo "${ECHO_T}$CC" >&6
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10781 test -n "$CC" && break
10784 if test -z "$CC"; then
10788 # Extract the first word of "$ac_prog", so it can be a program name with args.
10789 set dummy $ac_prog; ac_word=$2
10790 echo "$as_me:$LINENO: checking for $ac_word" >&5
10791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 if test -n "$ac_ct_CC"; then
10796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10799 for as_dir in $PATH
10802 test -z "$as_dir" && as_dir=.
10803 for ac_exec_ext in '' $ac_executable_extensions; do
10804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10805 ac_cv_prog_ac_ct_CC="$ac_prog"
10806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10815 if test -n "$ac_ct_CC"; then
10816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10817 echo "${ECHO_T}$ac_ct_CC" >&6
10819 echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6
10823 test -n "$ac_ct_CC" && break
10832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10833 See \`config.log' for more details." >&5
10834 echo "$as_me: error: no acceptable C compiler found in \$PATH
10835 See \`config.log' for more details." >&2;}
10836 { (exit 1); exit 1; }; }
10838 # Provide some information about the compiler.
10839 echo "$as_me:$LINENO:" \
10840 "checking for C compiler version" >&5
10841 ac_compiler=`set X $ac_compile; echo $2`
10842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10843 (eval $ac_compiler --version </dev/null >&5) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }
10847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10848 (eval $ac_compiler -v </dev/null >&5) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }
10852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10853 (eval $ac_compiler -V </dev/null >&5) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }
10858 cat >conftest.$ac_ext <<_ACEOF
10861 cat confdefs.h >>conftest.$ac_ext
10862 cat >>conftest.$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10873 ac_clean_files_save=$ac_clean_files
10874 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10875 # Try to create an executable without -o first, disregard a.out.
10876 # It will help us diagnose broken compilers, and finding out an intuition
10878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10880 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10882 (eval $ac_link_default) 2>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; then
10886 # Find the output, starting from the most likely. This scheme is
10887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10890 # Be careful to initialize this variable, since it used to be cached.
10891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10893 # b.out is created by i960 compilers.
10894 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10896 test -f "$ac_file" || continue
10898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10901 # This is the source file.
10904 # We found the default executable, but exeext='' is most
10908 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10909 # FIXME: I believe we export ac_cv_exeext for Libtool,
10910 # but it would be cool to find out if it's true. Does anybody
10911 # maintain Libtool? --akim.
10912 export ac_cv_exeext
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.$ac_ext >&5
10922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10923 See \`config.log' for more details." >&5
10924 echo "$as_me: error: C compiler cannot create executables
10925 See \`config.log' for more details." >&2;}
10926 { (exit 77); exit 77; }; }
10929 ac_exeext=$ac_cv_exeext
10930 echo "$as_me:$LINENO: result: $ac_file" >&5
10931 echo "${ECHO_T}$ac_file" >&6
10933 # Check the compiler produces executables we can run. If not, either
10934 # the compiler is broken, or we cross compile.
10935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10938 # If not cross compiling, check that we can run a simple program.
10939 if test "$cross_compiling" != yes; then
10940 if { ac_try='./$ac_file'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10948 if test "$cross_compiling" = maybe; then
10949 cross_compiling=yes
10951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10952 If you meant to cross compile, use \`--host'.
10953 See \`config.log' for more details." >&5
10954 echo "$as_me: error: cannot run C compiled programs.
10955 If you meant to cross compile, use \`--host'.
10956 See \`config.log' for more details." >&2;}
10957 { (exit 1); exit 1; }; }
10961 echo "$as_me:$LINENO: result: yes" >&5
10962 echo "${ECHO_T}yes" >&6
10964 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10965 ac_clean_files=$ac_clean_files_save
10966 # Check the compiler produces executables we can run. If not, either
10967 # the compiler is broken, or we cross compile.
10968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10971 echo "${ECHO_T}$cross_compiling" >&6
10973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10976 (eval $ac_link) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; then
10980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10982 # work properly (i.e., refer to `conftest.exe'), while it won't with
10984 for ac_file in conftest.exe conftest conftest.*; do
10985 test -f "$ac_file" || continue
10987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10988 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10989 export ac_cv_exeext
10995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10996 See \`config.log' for more details." >&5
10997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10998 See \`config.log' for more details." >&2;}
10999 { (exit 1); exit 1; }; }
11002 rm -f conftest$ac_cv_exeext
11003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11004 echo "${ECHO_T}$ac_cv_exeext" >&6
11006 rm -f conftest.$ac_ext
11007 EXEEXT=$ac_cv_exeext
11009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11011 if test "${ac_cv_objext+set}" = set; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 cat >conftest.$ac_ext <<_ACEOF
11017 cat confdefs.h >>conftest.$ac_ext
11018 cat >>conftest.$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11029 rm -f conftest.o conftest.obj
11030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11031 (eval $ac_compile) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; then
11035 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11038 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11043 echo "$as_me: failed program was:" >&5
11044 sed 's/^/| /' conftest.$ac_ext >&5
11046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11047 See \`config.log' for more details." >&5
11048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11049 See \`config.log' for more details." >&2;}
11050 { (exit 1); exit 1; }; }
11053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11056 echo "${ECHO_T}$ac_cv_objext" >&6
11057 OBJEXT=$ac_cv_objext
11059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 cat >conftest.$ac_ext <<_ACEOF
11067 cat confdefs.h >>conftest.$ac_ext
11068 cat >>conftest.$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11082 rm -f conftest.$ac_objext
11083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11084 (eval $ac_compile) 2>conftest.er1
11086 grep -v '^ *+' conftest.er1 >conftest.err
11088 cat conftest.err >&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } &&
11091 { ac_try='test -z "$ac_c_werror_flag"
11092 || test ! -s conftest.err'
11093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11094 (eval $ac_try) 2>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); }; } &&
11098 { ac_try='test -s conftest.$ac_objext'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11104 ac_compiler_gnu=yes
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.$ac_ext >&5
11111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11115 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11116 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11117 GCC=`test $ac_compiler_gnu = yes && echo yes`
11118 ac_test_CFLAGS=${CFLAGS+set}
11119 ac_save_CFLAGS=$CFLAGS
11121 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11122 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11123 if test "${ac_cv_prog_cc_g+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 cat >conftest.$ac_ext <<_ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11141 rm -f conftest.$ac_objext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11143 (eval $ac_compile) 2>conftest.er1
11145 grep -v '^ *+' conftest.er1 >conftest.err
11147 cat conftest.err >&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -z "$ac_c_werror_flag"
11151 || test ! -s conftest.err'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; } &&
11157 { ac_try='test -s conftest.$ac_objext'
11158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11159 (eval $ac_try) 2>&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); }; }; then
11163 ac_cv_prog_cc_g=yes
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.$ac_ext >&5
11170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11172 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11173 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11174 if test "$ac_test_CFLAGS" = set; then
11175 CFLAGS=$ac_save_CFLAGS
11176 elif test $ac_cv_prog_cc_g = yes; then
11177 if test "$GCC" = yes; then
11183 if test "$GCC" = yes; then
11189 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11190 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11191 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 ac_cv_prog_cc_stdc=no
11196 cat >conftest.$ac_ext <<_ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <stdarg.h>
11204 #include <sys/types.h>
11205 #include <sys/stat.h>
11206 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11207 struct buf { int x; };
11208 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11209 static char *e (p, i)
11215 static char *f (char * (*g) (char **, int), char **p, ...)
11220 s = g (p, va_arg (v,int));
11225 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11226 function prototypes and stuff, but not '\xHH' hex character constants.
11227 These don't provoke an error unfortunately, instead are silently treated
11228 as 'x'. The following induces an error, until -std1 is added to get
11229 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11230 array size at least. It's necessary to write '\x00'==0 to get something
11231 that's true only with -std1. */
11232 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11234 int test (int i, double x);
11235 struct s1 {int (*f) (int a);};
11236 struct s2 {int (*f) (double a);};
11237 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11243 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11248 # Don't try gcc -ansi; that turns off useful extensions and
11249 # breaks some systems' header files.
11250 # AIX -qlanglvl=ansi
11251 # Ultrix and OSF/1 -std1
11252 # HP-UX 10.20 and later -Ae
11253 # HP-UX older versions -Aa -D_HPUX_SOURCE
11254 # SVR4 -Xc -D__EXTENSIONS__
11255 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11257 CC="$ac_save_CC $ac_arg"
11258 rm -f conftest.$ac_objext
11259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11260 (eval $ac_compile) 2>conftest.er1
11262 grep -v '^ *+' conftest.er1 >conftest.err
11264 cat conftest.err >&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } &&
11267 { ac_try='test -z "$ac_c_werror_flag"
11268 || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try='test -s conftest.$ac_objext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 ac_cv_prog_cc_stdc=$ac_arg
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11287 rm -f conftest.err conftest.$ac_objext
11289 rm -f conftest.$ac_ext conftest.$ac_objext
11294 case "x$ac_cv_prog_cc_stdc" in
11296 echo "$as_me:$LINENO: result: none needed" >&5
11297 echo "${ECHO_T}none needed" >&6 ;;
11299 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11300 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11301 CC="$CC $ac_cv_prog_cc_stdc" ;;
11304 # Some people use a C++ compiler to compile C. Since we use `exit',
11305 # in C++ we need to declare it. In case someone uses the same compiler
11306 # for both compiling C and C++ we need to have the C++ compiler decide
11307 # the declaration of exit, since it's the most demanding environment.
11308 cat >conftest.$ac_ext <<_ACEOF
11309 #ifndef __cplusplus
11313 rm -f conftest.$ac_objext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11315 (eval $ac_compile) 2>conftest.er1
11317 grep -v '^ *+' conftest.er1 >conftest.err
11319 cat conftest.err >&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try='test -z "$ac_c_werror_flag"
11323 || test ! -s conftest.err'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; } &&
11329 { ac_try='test -s conftest.$ac_objext'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 for ac_declaration in \
11337 'extern "C" void std::exit (int) throw (); using std::exit;' \
11338 'extern "C" void std::exit (int); using std::exit;' \
11339 'extern "C" void exit (int) throw ();' \
11340 'extern "C" void exit (int);' \
11343 cat >conftest.$ac_ext <<_ACEOF
11346 cat confdefs.h >>conftest.$ac_ext
11347 cat >>conftest.$ac_ext <<_ACEOF
11348 /* end confdefs.h. */
11350 #include <stdlib.h>
11359 rm -f conftest.$ac_objext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11361 (eval $ac_compile) 2>conftest.er1
11363 grep -v '^ *+' conftest.er1 >conftest.err
11365 cat conftest.err >&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } &&
11368 { ac_try='test -z "$ac_c_werror_flag"
11369 || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11389 cat >conftest.$ac_ext <<_ACEOF
11392 cat confdefs.h >>conftest.$ac_ext
11393 cat >>conftest.$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11404 rm -f conftest.$ac_objext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11406 (eval $ac_compile) 2>conftest.er1
11408 grep -v '^ *+' conftest.er1 >conftest.err
11410 cat conftest.err >&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } &&
11413 { ac_try='test -z "$ac_c_werror_flag"
11414 || test ! -s conftest.err'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; } &&
11420 { ac_try='test -s conftest.$ac_objext'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then
11428 echo "$as_me: failed program was:" >&5
11429 sed 's/^/| /' conftest.$ac_ext >&5
11432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11435 if test -n "$ac_declaration"; then
11436 echo '#ifdef __cplusplus' >>confdefs.h
11437 echo $ac_declaration >>confdefs.h
11438 echo '#endif' >>confdefs.h
11442 echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11448 ac_cpp='$CPP $CPPFLAGS'
11449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11455 ac_cpp='$CPP $CPPFLAGS'
11456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11460 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11461 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11462 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11463 echo $ECHO_N "(cached) $ECHO_C" >&6
11465 cat >conftest.$ac_ext <<_ACEOF
11468 cat confdefs.h >>conftest.$ac_ext
11469 cat >>conftest.$ac_ext <<_ACEOF
11470 /* end confdefs.h. */
11483 rm -f conftest.$ac_objext
11484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11485 (eval $ac_compile) 2>conftest.er1
11487 grep -v '^ *+' conftest.er1 >conftest.err
11489 cat conftest.err >&5
11490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491 (exit $ac_status); } &&
11492 { ac_try='test -z "$ac_c_werror_flag"
11493 || test ! -s conftest.err'
11494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11495 (eval $ac_try) 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; } &&
11499 { ac_try='test -s conftest.$ac_objext'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; }; then
11505 bakefile_compiler_mwerks=yes
11507 echo "$as_me: failed program was:" >&5
11508 sed 's/^/| /' conftest.$ac_ext >&5
11510 bakefile_compiler_mwerks=no
11512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11513 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11516 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11517 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11519 MWCC=`test $bakefile_compiler_mwerks = yes && echo yes`
11521 ac_cpp='$CPP $CPPFLAGS'
11522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11529 ac_cpp='$CPP $CPPFLAGS'
11530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11533 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11534 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11535 # On Suns, sometimes $CPP names a directory.
11536 if test -n "$CPP" && test -d "$CPP"; then
11539 if test -z "$CPP"; then
11540 if test "${ac_cv_prog_CPP+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 # Double quotes because CPP needs to be expanded
11544 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11546 ac_preproc_ok=false
11547 for ac_c_preproc_warn_flag in '' yes
11549 # Use a header file that comes with gcc, so configuring glibc
11550 # with a fresh cross-compiler works.
11551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11552 # <limits.h> exists even on freestanding compilers.
11553 # On the NeXT, cc -E runs the code through the compiler's parser,
11554 # not just through cpp. "Syntax error" is here to catch this case.
11555 cat >conftest.$ac_ext <<_ACEOF
11558 cat confdefs.h >>conftest.$ac_ext
11559 cat >>conftest.$ac_ext <<_ACEOF
11560 /* end confdefs.h. */
11562 # include <limits.h>
11564 # include <assert.h>
11568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11571 grep -v '^ *+' conftest.er1 >conftest.err
11573 cat conftest.err >&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); } >/dev/null; then
11576 if test -s conftest.err; then
11577 ac_cpp_err=$ac_c_preproc_warn_flag
11578 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11585 if test -z "$ac_cpp_err"; then
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.$ac_ext >&5
11591 # Broken: fails on valid input.
11594 rm -f conftest.err conftest.$ac_ext
11596 # OK, works on sane cases. Now check whether non-existent headers
11597 # can be detected and how.
11598 cat >conftest.$ac_ext <<_ACEOF
11601 cat confdefs.h >>conftest.$ac_ext
11602 cat >>conftest.$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11604 #include <ac_nonexistent.h>
11606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11609 grep -v '^ *+' conftest.er1 >conftest.err
11611 cat conftest.err >&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } >/dev/null; then
11614 if test -s conftest.err; then
11615 ac_cpp_err=$ac_c_preproc_warn_flag
11616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11623 if test -z "$ac_cpp_err"; then
11624 # Broken: success on invalid input.
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11630 # Passes both tests.
11634 rm -f conftest.err conftest.$ac_ext
11637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11638 rm -f conftest.err conftest.$ac_ext
11639 if $ac_preproc_ok; then
11644 ac_cv_prog_CPP=$CPP
11647 CPP=$ac_cv_prog_CPP
11649 ac_cv_prog_CPP=$CPP
11651 echo "$as_me:$LINENO: result: $CPP" >&5
11652 echo "${ECHO_T}$CPP" >&6
11653 ac_preproc_ok=false
11654 for ac_c_preproc_warn_flag in '' yes
11656 # Use a header file that comes with gcc, so configuring glibc
11657 # with a fresh cross-compiler works.
11658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11659 # <limits.h> exists even on freestanding compilers.
11660 # On the NeXT, cc -E runs the code through the compiler's parser,
11661 # not just through cpp. "Syntax error" is here to catch this case.
11662 cat >conftest.$ac_ext <<_ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11669 # include <limits.h>
11671 # include <assert.h>
11675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11678 grep -v '^ *+' conftest.er1 >conftest.err
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } >/dev/null; then
11683 if test -s conftest.err; then
11684 ac_cpp_err=$ac_c_preproc_warn_flag
11685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11692 if test -z "$ac_cpp_err"; then
11695 echo "$as_me: failed program was:" >&5
11696 sed 's/^/| /' conftest.$ac_ext >&5
11698 # Broken: fails on valid input.
11701 rm -f conftest.err conftest.$ac_ext
11703 # OK, works on sane cases. Now check whether non-existent headers
11704 # can be detected and how.
11705 cat >conftest.$ac_ext <<_ACEOF
11708 cat confdefs.h >>conftest.$ac_ext
11709 cat >>conftest.$ac_ext <<_ACEOF
11710 /* end confdefs.h. */
11711 #include <ac_nonexistent.h>
11713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11716 grep -v '^ *+' conftest.er1 >conftest.err
11718 cat conftest.err >&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } >/dev/null; then
11721 if test -s conftest.err; then
11722 ac_cpp_err=$ac_c_preproc_warn_flag
11723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11730 if test -z "$ac_cpp_err"; then
11731 # Broken: success on invalid input.
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11737 # Passes both tests.
11741 rm -f conftest.err conftest.$ac_ext
11744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11745 rm -f conftest.err conftest.$ac_ext
11746 if $ac_preproc_ok; then
11749 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11750 See \`config.log' for more details." >&5
11751 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11752 See \`config.log' for more details." >&2;}
11753 { (exit 1); exit 1; }; }
11757 ac_cpp='$CPP $CPPFLAGS'
11758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11763 echo "$as_me:$LINENO: checking for egrep" >&5
11764 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11765 if test "${ac_cv_prog_egrep+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11768 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11769 then ac_cv_prog_egrep='grep -E'
11770 else ac_cv_prog_egrep='egrep'
11773 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11774 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11775 EGREP=$ac_cv_prog_egrep
11778 if test $ac_cv_c_compiler_gnu = yes; then
11779 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11780 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11781 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11784 ac_pattern="Autoconf.*'x'"
11785 cat >conftest.$ac_ext <<_ACEOF
11788 cat confdefs.h >>conftest.$ac_ext
11789 cat >>conftest.$ac_ext <<_ACEOF
11790 /* end confdefs.h. */
11794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11795 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11796 ac_cv_prog_gcc_traditional=yes
11798 ac_cv_prog_gcc_traditional=no
11803 if test $ac_cv_prog_gcc_traditional = no; then
11804 cat >conftest.$ac_ext <<_ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11810 #include <termio.h>
11813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11814 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11815 ac_cv_prog_gcc_traditional=yes
11821 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11822 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11823 if test $ac_cv_prog_gcc_traditional = yes; then
11824 CC="$CC -traditional"
11832 ac_cpp='$CXXCPP $CPPFLAGS'
11833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11838 CXXFLAGS=${CXXFLAGS:=}
11840 ac_cpp='$CXXCPP $CPPFLAGS'
11841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11844 if test -n "$ac_tool_prefix"; then
11845 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11849 echo "$as_me:$LINENO: checking for $ac_word" >&5
11850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11851 if test "${ac_cv_prog_CXX+set}" = set; then
11852 echo $ECHO_N "(cached) $ECHO_C" >&6
11854 if test -n "$CXX"; then
11855 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858 for as_dir in $PATH
11861 test -z "$as_dir" && as_dir=.
11862 for ac_exec_ext in '' $ac_executable_extensions; do
11863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11864 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11873 CXX=$ac_cv_prog_CXX
11874 if test -n "$CXX"; then
11875 echo "$as_me:$LINENO: result: $CXX" >&5
11876 echo "${ECHO_T}$CXX" >&6
11878 echo "$as_me:$LINENO: result: no" >&5
11879 echo "${ECHO_T}no" >&6
11882 test -n "$CXX" && break
11885 if test -z "$CXX"; then
11887 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11889 # Extract the first word of "$ac_prog", so it can be a program name with args.
11890 set dummy $ac_prog; ac_word=$2
11891 echo "$as_me:$LINENO: checking for $ac_word" >&5
11892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11893 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11896 if test -n "$ac_ct_CXX"; then
11897 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11900 for as_dir in $PATH
11903 test -z "$as_dir" && as_dir=.
11904 for ac_exec_ext in '' $ac_executable_extensions; do
11905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11906 ac_cv_prog_ac_ct_CXX="$ac_prog"
11907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11915 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11916 if test -n "$ac_ct_CXX"; then
11917 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11918 echo "${ECHO_T}$ac_ct_CXX" >&6
11920 echo "$as_me:$LINENO: result: no" >&5
11921 echo "${ECHO_T}no" >&6
11924 test -n "$ac_ct_CXX" && break
11926 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11932 # Provide some information about the compiler.
11933 echo "$as_me:$LINENO:" \
11934 "checking for C++ compiler version" >&5
11935 ac_compiler=`set X $ac_compile; echo $2`
11936 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11937 (eval $ac_compiler --version </dev/null >&5) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }
11941 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11942 (eval $ac_compiler -v </dev/null >&5) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }
11946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11947 (eval $ac_compiler -V </dev/null >&5) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }
11952 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11953 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11954 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11957 cat >conftest.$ac_ext <<_ACEOF
11960 cat confdefs.h >>conftest.$ac_ext
11961 cat >>conftest.$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11975 rm -f conftest.$ac_objext
11976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11977 (eval $ac_compile) 2>conftest.er1
11979 grep -v '^ *+' conftest.er1 >conftest.err
11981 cat conftest.err >&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } &&
11984 { ac_try='test -z "$ac_cxx_werror_flag"
11985 || test ! -s conftest.err'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; } &&
11991 { ac_try='test -s conftest.$ac_objext'
11992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11993 (eval $ac_try) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); }; }; then
11997 ac_compiler_gnu=yes
11999 echo "$as_me: failed program was:" >&5
12000 sed 's/^/| /' conftest.$ac_ext >&5
12004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12005 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12008 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12009 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12010 GXX=`test $ac_compiler_gnu = yes && echo yes`
12011 ac_test_CXXFLAGS=${CXXFLAGS+set}
12012 ac_save_CXXFLAGS=$CXXFLAGS
12014 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12015 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12016 if test "${ac_cv_prog_cxx_g+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 cat >conftest.$ac_ext <<_ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12034 rm -f conftest.$ac_objext
12035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12036 (eval $ac_compile) 2>conftest.er1
12038 grep -v '^ *+' conftest.er1 >conftest.err
12040 cat conftest.err >&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); } &&
12043 { ac_try='test -z "$ac_cxx_werror_flag"
12044 || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } &&
12050 { ac_try='test -s conftest.$ac_objext'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then
12056 ac_cv_prog_cxx_g=yes
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.$ac_ext >&5
12061 ac_cv_prog_cxx_g=no
12063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12065 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12066 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12067 if test "$ac_test_CXXFLAGS" = set; then
12068 CXXFLAGS=$ac_save_CXXFLAGS
12069 elif test $ac_cv_prog_cxx_g = yes; then
12070 if test "$GXX" = yes; then
12076 if test "$GXX" = yes; then
12082 for ac_declaration in \
12084 'extern "C" void std::exit (int) throw (); using std::exit;' \
12085 'extern "C" void std::exit (int); using std::exit;' \
12086 'extern "C" void exit (int) throw ();' \
12087 'extern "C" void exit (int);' \
12090 cat >conftest.$ac_ext <<_ACEOF
12093 cat confdefs.h >>conftest.$ac_ext
12094 cat >>conftest.$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12097 #include <stdlib.h>
12106 rm -f conftest.$ac_objext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12108 (eval $ac_compile) 2>conftest.er1
12110 grep -v '^ *+' conftest.er1 >conftest.err
12112 cat conftest.err >&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } &&
12115 { ac_try='test -z "$ac_cxx_werror_flag"
12116 || test ! -s conftest.err'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; } &&
12122 { ac_try='test -s conftest.$ac_objext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12136 cat >conftest.$ac_ext <<_ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12151 rm -f conftest.$ac_objext
12152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12153 (eval $ac_compile) 2>conftest.er1
12155 grep -v '^ *+' conftest.er1 >conftest.err
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_cxx_werror_flag"
12161 || test ! -s conftest.err'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; } &&
12167 { ac_try='test -s conftest.$ac_objext'
12168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12169 (eval $ac_try) 2>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; }; then
12175 echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12182 if test -n "$ac_declaration"; then
12183 echo '#ifdef __cplusplus' >>confdefs.h
12184 echo $ac_declaration >>confdefs.h
12185 echo '#endif' >>confdefs.h
12189 ac_cpp='$CXXCPP $CPPFLAGS'
12190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12196 ac_cpp='$CXXCPP $CPPFLAGS'
12197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12201 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12202 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12203 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12204 echo $ECHO_N "(cached) $ECHO_C" >&6
12206 cat >conftest.$ac_ext <<_ACEOF
12209 cat confdefs.h >>conftest.$ac_ext
12210 cat >>conftest.$ac_ext <<_ACEOF
12211 /* end confdefs.h. */
12224 rm -f conftest.$ac_objext
12225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12226 (eval $ac_compile) 2>conftest.er1
12228 grep -v '^ *+' conftest.er1 >conftest.err
12230 cat conftest.err >&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); } &&
12233 { ac_try='test -z "$ac_cxx_werror_flag"
12234 || test ! -s conftest.err'
12235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12236 (eval $ac_try) 2>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }; } &&
12240 { ac_try='test -s conftest.$ac_objext'
12241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12242 (eval $ac_try) 2>&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); }; }; then
12246 bakefile_compiler_mwerks=yes
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.$ac_ext >&5
12251 bakefile_compiler_mwerks=no
12253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12254 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12257 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12258 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12260 MWCXX=`test $bakefile_compiler_mwerks = yes && echo yes`
12262 ac_cpp='$CXXCPP $CPPFLAGS'
12263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12270 ac_cpp='$CPP $CPPFLAGS'
12271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12276 if test -n "$ac_tool_prefix"; then
12277 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12278 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12279 echo "$as_me:$LINENO: checking for $ac_word" >&5
12280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12281 if test "${ac_cv_prog_RANLIB+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 if test -n "$RANLIB"; then
12285 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12288 for as_dir in $PATH
12291 test -z "$as_dir" && as_dir=.
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12294 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12303 RANLIB=$ac_cv_prog_RANLIB
12304 if test -n "$RANLIB"; then
12305 echo "$as_me:$LINENO: result: $RANLIB" >&5
12306 echo "${ECHO_T}$RANLIB" >&6
12308 echo "$as_me:$LINENO: result: no" >&5
12309 echo "${ECHO_T}no" >&6
12313 if test -z "$ac_cv_prog_RANLIB"; then
12314 ac_ct_RANLIB=$RANLIB
12315 # Extract the first word of "ranlib", so it can be a program name with args.
12316 set dummy ranlib; ac_word=$2
12317 echo "$as_me:$LINENO: checking for $ac_word" >&5
12318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12319 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 if test -n "$ac_ct_RANLIB"; then
12323 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12326 for as_dir in $PATH
12329 test -z "$as_dir" && as_dir=.
12330 for ac_exec_ext in '' $ac_executable_extensions; do
12331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12332 ac_cv_prog_ac_ct_RANLIB="ranlib"
12333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12339 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12342 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12343 if test -n "$ac_ct_RANLIB"; then
12344 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12345 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12347 echo "$as_me:$LINENO: result: no" >&5
12348 echo "${ECHO_T}no" >&6
12351 RANLIB=$ac_ct_RANLIB
12353 RANLIB="$ac_cv_prog_RANLIB"
12357 # Extract the first word of "ar", so it can be a program name with args.
12358 set dummy ar; ac_word=$2
12359 echo "$as_me:$LINENO: checking for $ac_word" >&5
12360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12361 if test "${ac_cv_prog_AR+set}" = set; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12364 if test -n "$AR"; then
12365 ac_cv_prog_AR="$AR" # Let the user override the test.
12367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12368 for as_dir in $PATH
12371 test -z "$as_dir" && as_dir=.
12372 for ac_exec_ext in '' $ac_executable_extensions; do
12373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12384 if test -n "$AR"; then
12385 echo "$as_me:$LINENO: result: $AR" >&5
12386 echo "${ECHO_T}$AR" >&6
12388 echo "$as_me:$LINENO: result: no" >&5
12389 echo "${ECHO_T}no" >&6
12392 if test "x$AR" = "x" ; then
12393 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12394 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12395 { (exit 1); exit 1; }; }
12398 # Find a good install program. We prefer a C program (faster),
12399 # so one script is as good as another. But avoid the broken or
12400 # incompatible versions:
12401 # SysV /etc/install, /usr/sbin/install
12402 # SunOS /usr/etc/install
12403 # IRIX /sbin/install
12405 # AmigaOS /C/install, which installs bootblocks on floppy discs
12406 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12407 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12408 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12409 # OS/2's system install, which has a completely different semantic
12410 # ./install, which can be erroneously created by make from ./install.sh.
12411 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12412 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12413 if test -z "$INSTALL"; then
12414 if test "${ac_cv_path_install+set}" = set; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12421 test -z "$as_dir" && as_dir=.
12422 # Account for people who put trailing slashes in PATH elements.
12424 ./ | .// | /cC/* | \
12425 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12426 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12429 # OSF1 and SCO ODT 3.0 have their own names for install.
12430 # Don't use installbsd from OSF since it installs stuff as root
12432 for ac_prog in ginstall scoinst install; do
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12435 if test $ac_prog = install &&
12436 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12437 # AIX install. It has an incompatible calling convention.
12439 elif test $ac_prog = install &&
12440 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12441 # program-specific install script used by HP pwplus--don't use.
12444 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12456 if test "${ac_cv_path_install+set}" = set; then
12457 INSTALL=$ac_cv_path_install
12459 # As a last resort, use the slow shell script. We don't cache a
12460 # path for INSTALL within a source directory, because that will
12461 # break other packages using the cache if that directory is
12462 # removed, or if the path is relative.
12463 INSTALL=$ac_install_sh
12466 echo "$as_me:$LINENO: result: $INSTALL" >&5
12467 echo "${ECHO_T}$INSTALL" >&6
12469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12470 # It thinks the first close brace ends the variable substitution.
12471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12481 ?:* ) # Drive letter, considered as absolute.
12484 INSTALL=`pwd`/${INSTALL} ;;
12490 powerpc-*-darwin* )
12491 INSTALL_PROGRAM="cp -fp"
12492 INSTALL_DATA="cp -fp"
12498 # Extract the first word of "strip", so it can be a program name with args.
12499 set dummy strip; ac_word=$2
12500 echo "$as_me:$LINENO: checking for $ac_word" >&5
12501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12502 if test "${ac_cv_prog_STRIP+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 if test -n "$STRIP"; then
12506 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12509 for as_dir in $PATH
12512 test -z "$as_dir" && as_dir=.
12513 for ac_exec_ext in '' $ac_executable_extensions; do
12514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12515 ac_cv_prog_STRIP="strip"
12516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12522 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12525 STRIP=$ac_cv_prog_STRIP
12526 if test -n "$STRIP"; then
12527 echo "$as_me:$LINENO: result: $STRIP" >&5
12528 echo "${ECHO_T}$STRIP" >&6
12530 echo "$as_me:$LINENO: result: no" >&5
12531 echo "${ECHO_T}no" >&6
12535 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12536 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12537 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12538 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12542 egrep -s GNU > /dev/null); then
12543 wx_cv_prog_makeisgnu="yes"
12545 wx_cv_prog_makeisgnu="no"
12549 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12550 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12552 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12560 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12561 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12562 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12563 if test "${wx_cv_prog_makevpath+set}" = set; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 cat - << EOF > confMake
12573 if test ! -d sub ; then
12576 echo dummy > sub/file
12577 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12579 rm -f sub/file check final_file confMake
12581 if test "$RESULT" = 0; then
12582 wx_cv_prog_makevpath="yes"
12584 wx_cv_prog_makevpath="no"
12588 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12589 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12591 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12592 { { echo "$as_me:$LINENO: error:
12593 You need a make-utility that is able to use the variable
12595 If your version of make does not support VPATH correctly,
12596 please install GNU-make (possibly as gmake), and start
12597 configure with the following command:
12598 export MAKE=gmake; ./configure for sh-type shells
12599 setenv MAKE gmake; ./configure for csh-type shells
12600 Also please do remember to use gmake in this case every time
12601 you are trying to compile.
12603 echo "$as_me: error:
12604 You need a make-utility that is able to use the variable
12606 If your version of make does not support VPATH correctly,
12607 please install GNU-make (possibly as gmake), and start
12608 configure with the following command:
12609 export MAKE=gmake; ./configure for sh-type shells
12610 setenv MAKE gmake; ./configure for csh-type shells
12611 Also please do remember to use gmake in this case every time
12612 you are trying to compile.
12614 { (exit 1); exit 1; }; }
12616 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12617 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12619 if test "$LN_S" = "ln -s"; then
12620 echo "$as_me:$LINENO: result: yes" >&5
12621 echo "${ECHO_T}yes" >&6
12623 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12624 echo "${ECHO_T}no, using $LN_S" >&6
12630 powerpc-*-darwin* )
12631 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
12632 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
12633 cat >conftest.$ac_ext <<_ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12643 #ifndef __POWERPC__
12644 choke me for lack of PowerPC
12651 rm -f conftest.$ac_objext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12653 (eval $ac_compile) 2>conftest.er1
12655 grep -v '^ *+' conftest.er1 >conftest.err
12657 cat conftest.err >&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); } &&
12660 { ac_try='test -z "$ac_c_werror_flag"
12661 || test ! -s conftest.err'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; } &&
12667 { ac_try='test -s conftest.$ac_objext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 echo "$as_me:$LINENO: result: yes" >&5
12674 echo "${ECHO_T}yes" >&6
12676 echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.$ac_ext >&5
12679 echo "$as_me:$LINENO: result: no" >&5
12680 echo "${ECHO_T}no" >&6
12681 cat >>confdefs.h <<\_ACEOF
12682 #define __POWERPC__ 1
12687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12688 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
12689 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
12690 cat >conftest.$ac_ext <<_ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 #include <CoreFoundation/CFBase.h>
12706 rm -f conftest.$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>conftest.er1
12710 grep -v '^ *+' conftest.er1 >conftest.err
12712 cat conftest.err >&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try='test -z "$ac_c_werror_flag"
12716 || test ! -s conftest.err'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; } &&
12722 { ac_try='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728 echo "$as_me:$LINENO: result: yes" >&5
12729 echo "${ECHO_T}yes" >&6
12731 echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.$ac_ext >&5
12734 echo "$as_me:$LINENO: result: no" >&5
12735 echo "${ECHO_T}no" >&6
12736 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
12737 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
12738 cat >conftest.$ac_ext <<_ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 #define __CF_USE_FRAMEWORK_INCLUDES__
12745 #include <CoreFoundation/CFBase.h>
12755 rm -f conftest.$ac_objext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>conftest.er1
12759 grep -v '^ *+' conftest.er1 >conftest.err
12761 cat conftest.err >&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try='test -z "$ac_c_werror_flag"
12765 || test ! -s conftest.err'
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767 (eval $ac_try) 2>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }; } &&
12771 { ac_try='test -s conftest.$ac_objext'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; }; then
12777 echo "$as_me:$LINENO: result: yes" >&5
12778 echo "${ECHO_T}yes" >&6
12779 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.$ac_ext >&5
12784 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
12785 See \`config.log' for more details." >&5
12786 echo "$as_me: error: no. CoreFoundation not available.
12787 See \`config.log' for more details." >&2;}
12788 { (exit 1); exit 1; }; }
12791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12800 *-pc-os2_emx | *-pc-os2-emx )
12801 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12802 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12803 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12804 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 ac_check_lib_save_LIBS=$LIBS
12808 LIBS="-lcExt $LIBS"
12809 cat >conftest.$ac_ext <<_ACEOF
12812 cat confdefs.h >>conftest.$ac_ext
12813 cat >>conftest.$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12816 /* Override any gcc2 internal prototype to avoid an error. */
12820 /* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12831 rm -f conftest.$ac_objext conftest$ac_exeext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12833 (eval $ac_link) 2>conftest.er1
12835 grep -v '^ *+' conftest.er1 >conftest.err
12837 cat conftest.err >&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try='test -z "$ac_c_werror_flag"
12841 || test ! -s conftest.err'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; } &&
12847 { ac_try='test -s conftest$ac_exeext'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; }; then
12853 ac_cv_lib_cExt_drand48=yes
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.$ac_ext >&5
12858 ac_cv_lib_cExt_drand48=no
12860 rm -f conftest.err conftest.$ac_objext \
12861 conftest$ac_exeext conftest.$ac_ext
12862 LIBS=$ac_check_lib_save_LIBS
12864 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12865 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12866 if test $ac_cv_lib_cExt_drand48 = yes; then
12867 LIBS="$LIBS -lcExt"
12871 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12873 echo "$as_me:$LINENO: checking for gcc version" >&5
12874 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12875 if test "${wx_cv_gccversion+set}" = set; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 if test "$cross_compiling" = yes; then
12880 wx_cv_gccversion="EMX2"
12883 cat >conftest.$ac_ext <<_ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12894 FILE *f=fopen("conftestval", "w");
12899 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12901 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
12911 rm -f conftest$ac_exeext
12912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12913 (eval $ac_link) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 wx_cv_gccversion=`cat conftestval`
12924 echo "$as_me: program exited with status $ac_status" >&5
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12928 ( exit $ac_status )
12929 wx_cv_gccversion="EMX2"
12931 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12935 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12936 echo "${ECHO_T}$wx_cv_gccversion" >&6
12937 if test "$wx_cv_gccversion" = "EMX2"; then
12938 LIBS="$LIBS -lstdcpp"
12939 LDFLAGS="$LDFLAGS -Zsysv-signals"
12941 if test "$wx_cv_gccversion" = "EMX3"; then
12942 LIBS="$LIBS -lstdcxx"
12943 LDFLAGS="$LDFLAGS -Zsysv-signals"
12945 LIBS="$LIBS -lstdc++"
12948 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
12949 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
12950 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
12953 if test "$wxUSE_OMF" = "yes"; then
12954 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12962 ac_cpp='$CXXCPP $CPPFLAGS'
12963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12968 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12969 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12970 if test "${ac_cv_string_strcasecmp+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 cat >conftest.$ac_ext <<_ACEOF
12977 cat confdefs.h >>conftest.$ac_ext
12978 cat >>conftest.$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12981 #include <string.h>
12987 strcasecmp("foo", "bar");
12993 rm -f conftest.$ac_objext conftest$ac_exeext
12994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12995 (eval $ac_link) 2>conftest.er1
12997 grep -v '^ *+' conftest.er1 >conftest.err
12999 cat conftest.err >&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); } &&
13002 { ac_try='test -z "$ac_cxx_werror_flag"
13003 || test ! -s conftest.err'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; } &&
13009 { ac_try='test -s conftest$ac_exeext'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; }; then
13015 ac_cv_string_strcasecmp=yes
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.$ac_ext >&5
13020 ac_cv_string_strcasecmp=no
13023 rm -f conftest.err conftest.$ac_objext \
13024 conftest$ac_exeext conftest.$ac_ext
13027 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13028 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13030 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13031 cat >>confdefs.h <<\_ACEOF
13032 #define HAVE_STRCASECMP_IN_STRING_H 1
13036 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13037 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13038 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 cat >conftest.$ac_ext <<_ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13049 #include <strings.h>
13055 strcasecmp("foo", "bar");
13061 rm -f conftest.$ac_objext conftest$ac_exeext
13062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13063 (eval $ac_link) 2>conftest.er1
13065 grep -v '^ *+' conftest.er1 >conftest.err
13067 cat conftest.err >&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } &&
13070 { ac_try='test -z "$ac_cxx_werror_flag"
13071 || test ! -s conftest.err'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; } &&
13077 { ac_try='test -s conftest$ac_exeext'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; }; then
13083 ac_cv_strings_strcasecmp=yes
13085 echo "$as_me: failed program was:" >&5
13086 sed 's/^/| /' conftest.$ac_ext >&5
13088 ac_cv_strings_strcasecmp=no
13091 rm -f conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13095 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13096 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13098 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13099 cat >>confdefs.h <<\_ACEOF
13100 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13104 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13105 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13106 { (exit 1); exit 1; }; }
13111 ac_cpp='$CPP $CPPFLAGS'
13112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13120 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13121 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13122 if test "${ac_cv_header_stdc+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 cat >conftest.$ac_ext <<_ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 #include <stdlib.h>
13132 #include <stdarg.h>
13133 #include <string.h>
13144 rm -f conftest.$ac_objext
13145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13146 (eval $ac_compile) 2>conftest.er1
13148 grep -v '^ *+' conftest.er1 >conftest.err
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try='test -z "$ac_c_werror_flag"
13154 || test ! -s conftest.err'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; } &&
13160 { ac_try='test -s conftest.$ac_objext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 ac_cv_header_stdc=yes
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.$ac_ext >&5
13171 ac_cv_header_stdc=no
13173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13175 if test $ac_cv_header_stdc = yes; then
13176 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13177 cat >conftest.$ac_ext <<_ACEOF
13180 cat confdefs.h >>conftest.$ac_ext
13181 cat >>conftest.$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13183 #include <string.h>
13186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13187 $EGREP "memchr" >/dev/null 2>&1; then
13190 ac_cv_header_stdc=no
13196 if test $ac_cv_header_stdc = yes; then
13197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13198 cat >conftest.$ac_ext <<_ACEOF
13201 cat confdefs.h >>conftest.$ac_ext
13202 cat >>conftest.$ac_ext <<_ACEOF
13203 /* end confdefs.h. */
13204 #include <stdlib.h>
13207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13208 $EGREP "free" >/dev/null 2>&1; then
13211 ac_cv_header_stdc=no
13217 if test $ac_cv_header_stdc = yes; then
13218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13219 if test "$cross_compiling" = yes; then
13222 cat >conftest.$ac_ext <<_ACEOF
13225 cat confdefs.h >>conftest.$ac_ext
13226 cat >>conftest.$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13229 #if ((' ' & 0x0FF) == 0x020)
13230 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13231 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13233 # define ISLOWER(c) \
13234 (('a' <= (c) && (c) <= 'i') \
13235 || ('j' <= (c) && (c) <= 'r') \
13236 || ('s' <= (c) && (c) <= 'z'))
13237 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13240 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13245 for (i = 0; i < 256; i++)
13246 if (XOR (islower (i), ISLOWER (i))
13247 || toupper (i) != TOUPPER (i))
13252 rm -f conftest$ac_exeext
13253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13254 (eval $ac_link) 2>&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13265 echo "$as_me: program exited with status $ac_status" >&5
13266 echo "$as_me: failed program was:" >&5
13267 sed 's/^/| /' conftest.$ac_ext >&5
13269 ( exit $ac_status )
13270 ac_cv_header_stdc=no
13272 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13276 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13277 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13278 if test $ac_cv_header_stdc = yes; then
13280 cat >>confdefs.h <<\_ACEOF
13281 #define STDC_HEADERS 1
13286 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13296 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13297 inttypes.h stdint.h unistd.h
13299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13300 echo "$as_me:$LINENO: checking for $ac_header" >&5
13301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13303 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 cat >conftest.$ac_ext <<_ACEOF
13308 cat confdefs.h >>conftest.$ac_ext
13309 cat >>conftest.$ac_ext <<_ACEOF
13310 /* end confdefs.h. */
13311 $ac_includes_default
13313 #include <$ac_header>
13315 rm -f conftest.$ac_objext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13317 (eval $ac_compile) 2>conftest.er1
13319 grep -v '^ *+' conftest.er1 >conftest.err
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try='test -z "$ac_c_werror_flag"
13325 || test ! -s conftest.err'
13326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327 (eval $ac_try) 2>&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); }; } &&
13331 { ac_try='test -s conftest.$ac_objext'
13332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333 (eval $ac_try) 2>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; }; then
13337 eval "$as_ac_Header=yes"
13339 echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.$ac_ext >&5
13342 eval "$as_ac_Header=no"
13344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13349 cat >>confdefs.h <<_ACEOF
13350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13359 for ac_header in stdlib.h
13361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13363 echo "$as_me:$LINENO: checking for $ac_header" >&5
13364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13371 # Is the header compilable?
13372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13374 cat >conftest.$ac_ext <<_ACEOF
13377 cat confdefs.h >>conftest.$ac_ext
13378 cat >>conftest.$ac_ext <<_ACEOF
13379 /* end confdefs.h. */
13380 $ac_includes_default
13381 #include <$ac_header>
13383 rm -f conftest.$ac_objext
13384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13385 (eval $ac_compile) 2>conftest.er1
13387 grep -v '^ *+' conftest.er1 >conftest.err
13389 cat conftest.err >&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); } &&
13392 { ac_try='test -z "$ac_c_werror_flag"
13393 || test ! -s conftest.err'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try='test -s conftest.$ac_objext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 ac_header_compiler=yes
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 ac_header_compiler=no
13412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13414 echo "${ECHO_T}$ac_header_compiler" >&6
13416 # Is the header present?
13417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13419 cat >conftest.$ac_ext <<_ACEOF
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 #include <$ac_header>
13427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13430 grep -v '^ *+' conftest.er1 >conftest.err
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } >/dev/null; then
13435 if test -s conftest.err; then
13436 ac_cpp_err=$ac_c_preproc_warn_flag
13437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13444 if test -z "$ac_cpp_err"; then
13445 ac_header_preproc=yes
13447 echo "$as_me: failed program was:" >&5
13448 sed 's/^/| /' conftest.$ac_ext >&5
13450 ac_header_preproc=no
13452 rm -f conftest.err conftest.$ac_ext
13453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13454 echo "${ECHO_T}$ac_header_preproc" >&6
13456 # So? What about this header?
13457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13463 ac_header_preproc=yes
13466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13480 ## ----------------------------------------- ##
13481 ## Report this to wx-dev@lists.wxwidgets.org ##
13482 ## ----------------------------------------- ##
13485 sed "s/^/$as_me: WARNING: /" >&2
13488 echo "$as_me:$LINENO: checking for $ac_header" >&5
13489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13491 echo $ECHO_N "(cached) $ECHO_C" >&6
13493 eval "$as_ac_Header=\$ac_header_preproc"
13495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13500 cat >>confdefs.h <<_ACEOF
13501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13509 for ac_header in malloc.h
13511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13513 echo "$as_me:$LINENO: checking for $ac_header" >&5
13514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13521 # Is the header compilable?
13522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13524 cat >conftest.$ac_ext <<_ACEOF
13527 cat confdefs.h >>conftest.$ac_ext
13528 cat >>conftest.$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13530 $ac_includes_default
13531 #include <$ac_header>
13533 rm -f conftest.$ac_objext
13534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13535 (eval $ac_compile) 2>conftest.er1
13537 grep -v '^ *+' conftest.er1 >conftest.err
13539 cat conftest.err >&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try='test -z "$ac_c_werror_flag"
13543 || test ! -s conftest.err'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; } &&
13549 { ac_try='test -s conftest.$ac_objext'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; }; then
13555 ac_header_compiler=yes
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13560 ac_header_compiler=no
13562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13564 echo "${ECHO_T}$ac_header_compiler" >&6
13566 # Is the header present?
13567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13569 cat >conftest.$ac_ext <<_ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <$ac_header>
13577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13580 grep -v '^ *+' conftest.er1 >conftest.err
13582 cat conftest.err >&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } >/dev/null; then
13585 if test -s conftest.err; then
13586 ac_cpp_err=$ac_c_preproc_warn_flag
13587 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13594 if test -z "$ac_cpp_err"; then
13595 ac_header_preproc=yes
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 ac_header_preproc=no
13602 rm -f conftest.err conftest.$ac_ext
13603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13604 echo "${ECHO_T}$ac_header_preproc" >&6
13606 # So? What about this header?
13607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13613 ac_header_preproc=yes
13616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13630 ## ----------------------------------------- ##
13631 ## Report this to wx-dev@lists.wxwidgets.org ##
13632 ## ----------------------------------------- ##
13635 sed "s/^/$as_me: WARNING: /" >&2
13638 echo "$as_me:$LINENO: checking for $ac_header" >&5
13639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 eval "$as_ac_Header=\$ac_header_preproc"
13645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13650 cat >>confdefs.h <<_ACEOF
13651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13659 for ac_header in unistd.h
13661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13663 echo "$as_me:$LINENO: checking for $ac_header" >&5
13664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13671 # Is the header compilable?
13672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13674 cat >conftest.$ac_ext <<_ACEOF
13677 cat confdefs.h >>conftest.$ac_ext
13678 cat >>conftest.$ac_ext <<_ACEOF
13679 /* end confdefs.h. */
13680 $ac_includes_default
13681 #include <$ac_header>
13683 rm -f conftest.$ac_objext
13684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13685 (eval $ac_compile) 2>conftest.er1
13687 grep -v '^ *+' conftest.er1 >conftest.err
13689 cat conftest.err >&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } &&
13692 { ac_try='test -z "$ac_c_werror_flag"
13693 || test ! -s conftest.err'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; } &&
13699 { ac_try='test -s conftest.$ac_objext'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; }; then
13705 ac_header_compiler=yes
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13710 ac_header_compiler=no
13712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13714 echo "${ECHO_T}$ac_header_compiler" >&6
13716 # Is the header present?
13717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13719 cat >conftest.$ac_ext <<_ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 #include <$ac_header>
13727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13730 grep -v '^ *+' conftest.er1 >conftest.err
13732 cat conftest.err >&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } >/dev/null; then
13735 if test -s conftest.err; then
13736 ac_cpp_err=$ac_c_preproc_warn_flag
13737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13744 if test -z "$ac_cpp_err"; then
13745 ac_header_preproc=yes
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13750 ac_header_preproc=no
13752 rm -f conftest.err conftest.$ac_ext
13753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13754 echo "${ECHO_T}$ac_header_preproc" >&6
13756 # So? What about this header?
13757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13763 ac_header_preproc=yes
13766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13780 ## ----------------------------------------- ##
13781 ## Report this to wx-dev@lists.wxwidgets.org ##
13782 ## ----------------------------------------- ##
13785 sed "s/^/$as_me: WARNING: /" >&2
13788 echo "$as_me:$LINENO: checking for $ac_header" >&5
13789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 eval "$as_ac_Header=\$ac_header_preproc"
13795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13800 cat >>confdefs.h <<_ACEOF
13801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13809 for ac_header in wchar.h
13811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13813 echo "$as_me:$LINENO: checking for $ac_header" >&5
13814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13821 # Is the header compilable?
13822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13824 cat >conftest.$ac_ext <<_ACEOF
13827 cat confdefs.h >>conftest.$ac_ext
13828 cat >>conftest.$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13830 $ac_includes_default
13831 #include <$ac_header>
13833 rm -f conftest.$ac_objext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13835 (eval $ac_compile) 2>conftest.er1
13837 grep -v '^ *+' conftest.er1 >conftest.err
13839 cat conftest.err >&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try='test -z "$ac_c_werror_flag"
13843 || test ! -s conftest.err'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; } &&
13849 { ac_try='test -s conftest.$ac_objext'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; }; then
13855 ac_header_compiler=yes
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13860 ac_header_compiler=no
13862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13864 echo "${ECHO_T}$ac_header_compiler" >&6
13866 # Is the header present?
13867 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13868 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13869 cat >conftest.$ac_ext <<_ACEOF
13872 cat confdefs.h >>conftest.$ac_ext
13873 cat >>conftest.$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13875 #include <$ac_header>
13877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13880 grep -v '^ *+' conftest.er1 >conftest.err
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } >/dev/null; then
13885 if test -s conftest.err; then
13886 ac_cpp_err=$ac_c_preproc_warn_flag
13887 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13894 if test -z "$ac_cpp_err"; then
13895 ac_header_preproc=yes
13897 echo "$as_me: failed program was:" >&5
13898 sed 's/^/| /' conftest.$ac_ext >&5
13900 ac_header_preproc=no
13902 rm -f conftest.err conftest.$ac_ext
13903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13904 echo "${ECHO_T}$ac_header_preproc" >&6
13906 # So? What about this header?
13907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13912 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13913 ac_header_preproc=yes
13916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13920 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13921 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13922 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13923 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13926 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13927 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13930 ## ----------------------------------------- ##
13931 ## Report this to wx-dev@lists.wxwidgets.org ##
13932 ## ----------------------------------------- ##
13935 sed "s/^/$as_me: WARNING: /" >&2
13938 echo "$as_me:$LINENO: checking for $ac_header" >&5
13939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 eval "$as_ac_Header=\$ac_header_preproc"
13945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13950 cat >>confdefs.h <<_ACEOF
13951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13959 if test "$ac_cv_header_wchar_h" != "yes"; then
13961 for ac_header in wcstr.h
13963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13965 echo "$as_me:$LINENO: checking for $ac_header" >&5
13966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13973 # Is the header compilable?
13974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13976 cat >conftest.$ac_ext <<_ACEOF
13979 cat confdefs.h >>conftest.$ac_ext
13980 cat >>conftest.$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13982 $ac_includes_default
13983 #include <$ac_header>
13985 rm -f conftest.$ac_objext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13987 (eval $ac_compile) 2>conftest.er1
13989 grep -v '^ *+' conftest.er1 >conftest.err
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag"
13995 || test ! -s conftest.err'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; } &&
14001 { ac_try='test -s conftest.$ac_objext'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; }; then
14007 ac_header_compiler=yes
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.$ac_ext >&5
14012 ac_header_compiler=no
14014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14016 echo "${ECHO_T}$ac_header_compiler" >&6
14018 # Is the header present?
14019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14021 cat >conftest.$ac_ext <<_ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 #include <$ac_header>
14029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14032 grep -v '^ *+' conftest.er1 >conftest.err
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } >/dev/null; then
14037 if test -s conftest.err; then
14038 ac_cpp_err=$ac_c_preproc_warn_flag
14039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14046 if test -z "$ac_cpp_err"; then
14047 ac_header_preproc=yes
14049 echo "$as_me: failed program was:" >&5
14050 sed 's/^/| /' conftest.$ac_ext >&5
14052 ac_header_preproc=no
14054 rm -f conftest.err conftest.$ac_ext
14055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14056 echo "${ECHO_T}$ac_header_preproc" >&6
14058 # So? What about this header?
14059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14065 ac_header_preproc=yes
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14082 ## ----------------------------------------- ##
14083 ## Report this to wx-dev@lists.wxwidgets.org ##
14084 ## ----------------------------------------- ##
14087 sed "s/^/$as_me: WARNING: /" >&2
14090 echo "$as_me:$LINENO: checking for $ac_header" >&5
14091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 eval "$as_ac_Header=\$ac_header_preproc"
14097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14102 cat >>confdefs.h <<_ACEOF
14103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14113 for ac_header in fnmatch.h
14115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14117 echo "$as_me:$LINENO: checking for $ac_header" >&5
14118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14125 # Is the header compilable?
14126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14128 cat >conftest.$ac_ext <<_ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14135 #include <$ac_header>
14137 rm -f conftest.$ac_objext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>conftest.er1
14141 grep -v '^ *+' conftest.er1 >conftest.err
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -z "$ac_c_werror_flag"
14147 || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_header_compiler=yes
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.$ac_ext >&5
14164 ac_header_compiler=no
14166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14168 echo "${ECHO_T}$ac_header_compiler" >&6
14170 # Is the header present?
14171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14173 cat >conftest.$ac_ext <<_ACEOF
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179 #include <$ac_header>
14181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14184 grep -v '^ *+' conftest.er1 >conftest.err
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } >/dev/null; then
14189 if test -s conftest.err; then
14190 ac_cpp_err=$ac_c_preproc_warn_flag
14191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14198 if test -z "$ac_cpp_err"; then
14199 ac_header_preproc=yes
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.$ac_ext >&5
14204 ac_header_preproc=no
14206 rm -f conftest.err conftest.$ac_ext
14207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14208 echo "${ECHO_T}$ac_header_preproc" >&6
14210 # So? What about this header?
14211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14217 ac_header_preproc=yes
14220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14234 ## ----------------------------------------- ##
14235 ## Report this to wx-dev@lists.wxwidgets.org ##
14236 ## ----------------------------------------- ##
14239 sed "s/^/$as_me: WARNING: /" >&2
14242 echo "$as_me:$LINENO: checking for $ac_header" >&5
14243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 eval "$as_ac_Header=\$ac_header_preproc"
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14254 cat >>confdefs.h <<_ACEOF
14255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14263 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14265 for ac_func in fnmatch
14267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14268 echo "$as_me:$LINENO: checking for $ac_func" >&5
14269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14270 if eval "test \"\${$as_ac_var+set}\" = set"; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 cat >conftest.$ac_ext <<_ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14281 #define $ac_func innocuous_$ac_func
14283 /* System header to define __stub macros and hopefully few prototypes,
14284 which can conflict with char $ac_func (); below.
14285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14286 <limits.h> exists even on freestanding compilers. */
14289 # include <limits.h>
14291 # include <assert.h>
14296 /* Override any gcc2 internal prototype to avoid an error. */
14301 /* We use char because int might match the return type of a gcc2
14302 builtin and then its argument prototype would still apply. */
14304 /* The GNU C library defines this for functions which it implements
14305 to always fail with ENOSYS. Some functions are actually named
14306 something starting with __ and the normal name is an alias. */
14307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14310 char (*f) () = $ac_func;
14319 return f != $ac_func;
14324 rm -f conftest.$ac_objext conftest$ac_exeext
14325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14326 (eval $ac_link) 2>conftest.er1
14328 grep -v '^ *+' conftest.er1 >conftest.err
14330 cat conftest.err >&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } &&
14333 { ac_try='test -z "$ac_c_werror_flag"
14334 || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try='test -s conftest$ac_exeext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14346 eval "$as_ac_var=yes"
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.$ac_ext >&5
14351 eval "$as_ac_var=no"
14353 rm -f conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14358 if test `eval echo '${'$as_ac_var'}'` = yes; then
14359 cat >>confdefs.h <<_ACEOF
14360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14369 for ac_header in langinfo.h
14371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14373 echo "$as_me:$LINENO: checking for $ac_header" >&5
14374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14376 echo $ECHO_N "(cached) $ECHO_C" >&6
14378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14381 # Is the header compilable?
14382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14384 cat >conftest.$ac_ext <<_ACEOF
14387 cat confdefs.h >>conftest.$ac_ext
14388 cat >>conftest.$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14390 $ac_includes_default
14391 #include <$ac_header>
14393 rm -f conftest.$ac_objext
14394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14395 (eval $ac_compile) 2>conftest.er1
14397 grep -v '^ *+' conftest.er1 >conftest.err
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } &&
14402 { ac_try='test -z "$ac_c_werror_flag"
14403 || test ! -s conftest.err'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; } &&
14409 { ac_try='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 ac_header_compiler=yes
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14420 ac_header_compiler=no
14422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14424 echo "${ECHO_T}$ac_header_compiler" >&6
14426 # Is the header present?
14427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14429 cat >conftest.$ac_ext <<_ACEOF
14432 cat confdefs.h >>conftest.$ac_ext
14433 cat >>conftest.$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14435 #include <$ac_header>
14437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14440 grep -v '^ *+' conftest.er1 >conftest.err
14442 cat conftest.err >&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } >/dev/null; then
14445 if test -s conftest.err; then
14446 ac_cpp_err=$ac_c_preproc_warn_flag
14447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14454 if test -z "$ac_cpp_err"; then
14455 ac_header_preproc=yes
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14460 ac_header_preproc=no
14462 rm -f conftest.err conftest.$ac_ext
14463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14464 echo "${ECHO_T}$ac_header_preproc" >&6
14466 # So? What about this header?
14467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14473 ac_header_preproc=yes
14476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14490 ## ----------------------------------------- ##
14491 ## Report this to wx-dev@lists.wxwidgets.org ##
14492 ## ----------------------------------------- ##
14495 sed "s/^/$as_me: WARNING: /" >&2
14498 echo "$as_me:$LINENO: checking for $ac_header" >&5
14499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 eval "$as_ac_Header=\$ac_header_preproc"
14505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14510 cat >>confdefs.h <<_ACEOF
14511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14520 *-pc-os2_emx | *-pc-os2-emx )
14521 if test $ac_cv_header_langinfo_h = "yes" \
14522 -a \( "$wx_cv_gccversion" = "EMX2" \
14523 -o "$wx_cv_gccversion" = "EMX3" \
14524 -o "$wx_cv_gccversion" = "Innotek5" \); then
14525 LIBS="$LIBS -lintl"
14530 if test "$wxUSE_GUI" = "yes"; then
14531 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14533 for ac_header in X11/Xlib.h
14535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14537 echo "$as_me:$LINENO: checking for $ac_header" >&5
14538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14545 # Is the header compilable?
14546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14548 cat >conftest.$ac_ext <<_ACEOF
14551 cat confdefs.h >>conftest.$ac_ext
14552 cat >>conftest.$ac_ext <<_ACEOF
14553 /* end confdefs.h. */
14554 $ac_includes_default
14555 #include <$ac_header>
14557 rm -f conftest.$ac_objext
14558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14559 (eval $ac_compile) 2>conftest.er1
14561 grep -v '^ *+' conftest.er1 >conftest.err
14563 cat conftest.err >&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try='test -z "$ac_c_werror_flag"
14567 || test ! -s conftest.err'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } &&
14573 { ac_try='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14579 ac_header_compiler=yes
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14584 ac_header_compiler=no
14586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14588 echo "${ECHO_T}$ac_header_compiler" >&6
14590 # Is the header present?
14591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14593 cat >conftest.$ac_ext <<_ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 #include <$ac_header>
14601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14604 grep -v '^ *+' conftest.er1 >conftest.err
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } >/dev/null; then
14609 if test -s conftest.err; then
14610 ac_cpp_err=$ac_c_preproc_warn_flag
14611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14618 if test -z "$ac_cpp_err"; then
14619 ac_header_preproc=yes
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.$ac_ext >&5
14624 ac_header_preproc=no
14626 rm -f conftest.err conftest.$ac_ext
14627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14628 echo "${ECHO_T}$ac_header_preproc" >&6
14630 # So? What about this header?
14631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14637 ac_header_preproc=yes
14640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14654 ## ----------------------------------------- ##
14655 ## Report this to wx-dev@lists.wxwidgets.org ##
14656 ## ----------------------------------------- ##
14659 sed "s/^/$as_me: WARNING: /" >&2
14662 echo "$as_me:$LINENO: checking for $ac_header" >&5
14663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 eval "$as_ac_Header=\$ac_header_preproc"
14669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14674 cat >>confdefs.h <<_ACEOF
14675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14683 for ac_header in X11/XKBlib.h
14685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14686 echo "$as_me:$LINENO: checking for $ac_header" >&5
14687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14689 echo $ECHO_N "(cached) $ECHO_C" >&6
14691 cat >conftest.$ac_ext <<_ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14698 #if HAVE_X11_XLIB_H
14699 #include <X11/Xlib.h>
14703 #include <$ac_header>
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
14727 eval "$as_ac_Header=yes"
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.$ac_ext >&5
14732 eval "$as_ac_Header=no"
14734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14739 cat >>confdefs.h <<_ACEOF
14740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14751 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14752 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14753 if test "${ac_cv_c_const+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 cat >conftest.$ac_ext <<_ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14766 /* FIXME: Include the comments suggested by Paul. */
14767 #ifndef __cplusplus
14768 /* Ultrix mips cc rejects this. */
14769 typedef int charset[2];
14771 /* SunOS 4.1.1 cc rejects this. */
14772 char const *const *ccp;
14774 /* NEC SVR4.0.2 mips cc rejects this. */
14775 struct point {int x, y;};
14776 static struct point const zero = {0,0};
14777 /* AIX XL C 1.02.0.0 rejects this.
14778 It does not let you subtract one const X* pointer from another in
14779 an arm of an if-expression whose if-part is not a constant
14781 const char *g = "string";
14782 ccp = &g + (g ? g-g : 0);
14783 /* HPUX 7.0 cc rejects these. */
14786 ccp = (char const *const *) p;
14787 { /* SCO 3.2v4 cc rejects this. */
14789 char const *s = 0 ? (char *) 0 : (char const *) 0;
14793 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14794 int x[] = {25, 17};
14795 const int *foo = &x[0];
14798 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14799 typedef const int *iptr;
14803 { /* AIX XL C 1.02.0.0 rejects this saying
14804 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14805 struct s { int j; const int *ap[3]; };
14806 struct s *b; b->j = 5;
14808 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14809 const int foo = 10;
14817 rm -f conftest.$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>conftest.er1
14821 grep -v '^ *+' conftest.er1 >conftest.err
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } &&
14826 { ac_try='test -z "$ac_c_werror_flag"
14827 || test ! -s conftest.err'
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); }; } &&
14833 { ac_try='test -s conftest.$ac_objext'
14834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14835 (eval $ac_try) 2>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); }; }; then
14841 echo "$as_me: failed program was:" >&5
14842 sed 's/^/| /' conftest.$ac_ext >&5
14846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14848 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14849 echo "${ECHO_T}$ac_cv_c_const" >&6
14850 if test $ac_cv_c_const = no; then
14852 cat >>confdefs.h <<\_ACEOF
14858 echo "$as_me:$LINENO: checking for inline" >&5
14859 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14860 if test "${ac_cv_c_inline+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 for ac_kw in inline __inline__ __inline; do
14865 cat >conftest.$ac_ext <<_ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14871 #ifndef __cplusplus
14873 static $ac_kw foo_t static_foo () {return 0; }
14874 $ac_kw foo_t foo () {return 0; }
14878 rm -f conftest.$ac_objext
14879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14880 (eval $ac_compile) 2>conftest.er1
14882 grep -v '^ *+' conftest.er1 >conftest.err
14884 cat conftest.err >&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } &&
14887 { ac_try='test -z "$ac_c_werror_flag"
14888 || test ! -s conftest.err'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; } &&
14894 { ac_try='test -s conftest.$ac_objext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14900 ac_cv_c_inline=$ac_kw; break
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14910 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14911 echo "${ECHO_T}$ac_cv_c_inline" >&6
14914 case $ac_cv_c_inline in
14917 case $ac_cv_c_inline in
14919 *) ac_val=$ac_cv_c_inline;;
14921 cat >>confdefs.h <<_ACEOF
14922 #ifndef __cplusplus
14923 #define inline $ac_val
14930 echo "$as_me:$LINENO: checking for char" >&5
14931 echo $ECHO_N "checking for char... $ECHO_C" >&6
14932 if test "${ac_cv_type_char+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 cat >conftest.$ac_ext <<_ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 $ac_includes_default
14953 rm -f conftest.$ac_objext
14954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14955 (eval $ac_compile) 2>conftest.er1
14957 grep -v '^ *+' conftest.er1 >conftest.err
14959 cat conftest.err >&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); } &&
14962 { ac_try='test -z "$ac_c_werror_flag"
14963 || test ! -s conftest.err'
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); }; } &&
14969 { ac_try='test -s conftest.$ac_objext'
14970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14971 (eval $ac_try) 2>&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); }; }; then
14975 ac_cv_type_char=yes
14977 echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.$ac_ext >&5
14982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14984 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14985 echo "${ECHO_T}$ac_cv_type_char" >&6
14987 echo "$as_me:$LINENO: checking size of char" >&5
14988 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14989 if test "${ac_cv_sizeof_char+set}" = set; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 if test "$ac_cv_type_char" = yes; then
14993 # The cast to unsigned long works around a bug in the HP C Compiler
14994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14996 # This bug is HP SR number 8606223364.
14997 if test "$cross_compiling" = yes; then
14998 # Depending upon the size, compute the lo and hi bounds.
14999 cat >conftest.$ac_ext <<_ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 $ac_includes_default
15009 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15016 rm -f conftest.$ac_objext
15017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15018 (eval $ac_compile) 2>conftest.er1
15020 grep -v '^ *+' conftest.er1 >conftest.err
15022 cat conftest.err >&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } &&
15025 { ac_try='test -z "$ac_c_werror_flag"
15026 || test ! -s conftest.err'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; } &&
15032 { ac_try='test -s conftest.$ac_objext'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15040 cat >conftest.$ac_ext <<_ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15046 $ac_includes_default
15050 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15057 rm -f conftest.$ac_objext
15058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15059 (eval $ac_compile) 2>conftest.er1
15061 grep -v '^ *+' conftest.er1 >conftest.err
15063 cat conftest.err >&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); } &&
15066 { ac_try='test -z "$ac_c_werror_flag"
15067 || test ! -s conftest.err'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; } &&
15073 { ac_try='test -s conftest.$ac_objext'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; }; then
15079 ac_hi=$ac_mid; break
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15084 ac_lo=`expr $ac_mid + 1`
15085 if test $ac_lo -le $ac_mid; then
15089 ac_mid=`expr 2 '*' $ac_mid + 1`
15091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15097 cat >conftest.$ac_ext <<_ACEOF
15100 cat confdefs.h >>conftest.$ac_ext
15101 cat >>conftest.$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 $ac_includes_default
15107 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15114 rm -f conftest.$ac_objext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>conftest.er1
15118 grep -v '^ *+' conftest.er1 >conftest.err
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try='test -z "$ac_c_werror_flag"
15124 || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15138 cat >conftest.$ac_ext <<_ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144 $ac_includes_default
15148 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15155 rm -f conftest.$ac_objext
15156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15157 (eval $ac_compile) 2>conftest.er1
15159 grep -v '^ *+' conftest.er1 >conftest.err
15161 cat conftest.err >&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } &&
15164 { ac_try='test -z "$ac_c_werror_flag"
15165 || test ! -s conftest.err'
15166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15167 (eval $ac_try) 2>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); }; } &&
15171 { ac_try='test -s conftest.$ac_objext'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; }; then
15177 ac_lo=$ac_mid; break
15179 echo "$as_me: failed program was:" >&5
15180 sed 's/^/| /' conftest.$ac_ext >&5
15182 ac_hi=`expr '(' $ac_mid ')' - 1`
15183 if test $ac_mid -le $ac_hi; then
15187 ac_mid=`expr 2 '*' $ac_mid`
15189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15200 # Binary search between lo and hi bounds.
15201 while test "x$ac_lo" != "x$ac_hi"; do
15202 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15203 cat >conftest.$ac_ext <<_ACEOF
15206 cat confdefs.h >>conftest.$ac_ext
15207 cat >>conftest.$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15209 $ac_includes_default
15213 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15220 rm -f conftest.$ac_objext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15222 (eval $ac_compile) 2>conftest.er1
15224 grep -v '^ *+' conftest.er1 >conftest.err
15226 cat conftest.err >&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); } &&
15229 { ac_try='test -z "$ac_c_werror_flag"
15230 || test ! -s conftest.err'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; } &&
15236 { ac_try='test -s conftest.$ac_objext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15244 echo "$as_me: failed program was:" >&5
15245 sed 's/^/| /' conftest.$ac_ext >&5
15247 ac_lo=`expr '(' $ac_mid ')' + 1`
15249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15252 ?*) ac_cv_sizeof_char=$ac_lo;;
15253 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15254 See \`config.log' for more details." >&5
15255 echo "$as_me: error: cannot compute sizeof (char), 77
15256 See \`config.log' for more details." >&2;}
15257 { (exit 1); exit 1; }; } ;;
15260 if test "$cross_compiling" = yes; then
15261 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15262 See \`config.log' for more details." >&5
15263 echo "$as_me: error: cannot run test program while cross compiling
15264 See \`config.log' for more details." >&2;}
15265 { (exit 1); exit 1; }; }
15267 cat >conftest.$ac_ext <<_ACEOF
15270 cat confdefs.h >>conftest.$ac_ext
15271 cat >>conftest.$ac_ext <<_ACEOF
15272 /* end confdefs.h. */
15273 $ac_includes_default
15274 long longval () { return (long) (sizeof (char)); }
15275 unsigned long ulongval () { return (long) (sizeof (char)); }
15277 #include <stdlib.h>
15282 FILE *f = fopen ("conftest.val", "w");
15285 if (((long) (sizeof (char))) < 0)
15287 long i = longval ();
15288 if (i != ((long) (sizeof (char))))
15290 fprintf (f, "%ld\n", i);
15294 unsigned long i = ulongval ();
15295 if (i != ((long) (sizeof (char))))
15297 fprintf (f, "%lu\n", i);
15299 exit (ferror (f) || fclose (f) != 0);
15305 rm -f conftest$ac_exeext
15306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15307 (eval $ac_link) 2>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; }; then
15316 ac_cv_sizeof_char=`cat conftest.val`
15318 echo "$as_me: program exited with status $ac_status" >&5
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5
15322 ( exit $ac_status )
15323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15324 See \`config.log' for more details." >&5
15325 echo "$as_me: error: cannot compute sizeof (char), 77
15326 See \`config.log' for more details." >&2;}
15327 { (exit 1); exit 1; }; }
15329 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15334 ac_cv_sizeof_char=0
15337 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15338 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15339 cat >>confdefs.h <<_ACEOF
15340 #define SIZEOF_CHAR $ac_cv_sizeof_char
15344 echo "$as_me:$LINENO: checking for short" >&5
15345 echo $ECHO_N "checking for short... $ECHO_C" >&6
15346 if test "${ac_cv_type_short+set}" = set; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 cat >conftest.$ac_ext <<_ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15355 $ac_includes_default
15361 if (sizeof (short))
15367 rm -f conftest.$ac_objext
15368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15369 (eval $ac_compile) 2>conftest.er1
15371 grep -v '^ *+' conftest.er1 >conftest.err
15373 cat conftest.err >&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); } &&
15376 { ac_try='test -z "$ac_c_werror_flag"
15377 || test ! -s conftest.err'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; } &&
15383 { ac_try='test -s conftest.$ac_objext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 ac_cv_type_short=yes
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15394 ac_cv_type_short=no
15396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15398 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15399 echo "${ECHO_T}$ac_cv_type_short" >&6
15401 echo "$as_me:$LINENO: checking size of short" >&5
15402 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15403 if test "${ac_cv_sizeof_short+set}" = set; then
15404 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 if test "$ac_cv_type_short" = yes; then
15407 # The cast to unsigned long works around a bug in the HP C Compiler
15408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15410 # This bug is HP SR number 8606223364.
15411 if test "$cross_compiling" = yes; then
15412 # Depending upon the size, compute the lo and hi bounds.
15413 cat >conftest.$ac_ext <<_ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419 $ac_includes_default
15423 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15430 rm -f conftest.$ac_objext
15431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15432 (eval $ac_compile) 2>conftest.er1
15434 grep -v '^ *+' conftest.er1 >conftest.err
15436 cat conftest.err >&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); } &&
15439 { ac_try='test -z "$ac_c_werror_flag"
15440 || test ! -s conftest.err'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; } &&
15446 { ac_try='test -s conftest.$ac_objext'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; }; then
15454 cat >conftest.$ac_ext <<_ACEOF
15457 cat confdefs.h >>conftest.$ac_ext
15458 cat >>conftest.$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15460 $ac_includes_default
15464 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15471 rm -f conftest.$ac_objext
15472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15473 (eval $ac_compile) 2>conftest.er1
15475 grep -v '^ *+' conftest.er1 >conftest.err
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try='test -z "$ac_c_werror_flag"
15481 || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try='test -s conftest.$ac_objext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 ac_hi=$ac_mid; break
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15498 ac_lo=`expr $ac_mid + 1`
15499 if test $ac_lo -le $ac_mid; then
15503 ac_mid=`expr 2 '*' $ac_mid + 1`
15505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15511 cat >conftest.$ac_ext <<_ACEOF
15514 cat confdefs.h >>conftest.$ac_ext
15515 cat >>conftest.$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517 $ac_includes_default
15521 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15528 rm -f conftest.$ac_objext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15530 (eval $ac_compile) 2>conftest.er1
15532 grep -v '^ *+' conftest.er1 >conftest.err
15534 cat conftest.err >&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -z "$ac_c_werror_flag"
15538 || test ! -s conftest.err'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; } &&
15544 { ac_try='test -s conftest.$ac_objext'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; }; then
15552 cat >conftest.$ac_ext <<_ACEOF
15555 cat confdefs.h >>conftest.$ac_ext
15556 cat >>conftest.$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15558 $ac_includes_default
15562 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15569 rm -f conftest.$ac_objext
15570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15571 (eval $ac_compile) 2>conftest.er1
15573 grep -v '^ *+' conftest.er1 >conftest.err
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -z "$ac_c_werror_flag"
15579 || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try='test -s conftest.$ac_objext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15591 ac_lo=$ac_mid; break
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15596 ac_hi=`expr '(' $ac_mid ')' - 1`
15597 if test $ac_mid -le $ac_hi; then
15601 ac_mid=`expr 2 '*' $ac_mid`
15603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5
15611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15614 # Binary search between lo and hi bounds.
15615 while test "x$ac_lo" != "x$ac_hi"; do
15616 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15617 cat >conftest.$ac_ext <<_ACEOF
15620 cat confdefs.h >>conftest.$ac_ext
15621 cat >>conftest.$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 $ac_includes_default
15627 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15634 rm -f conftest.$ac_objext
15635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15636 (eval $ac_compile) 2>conftest.er1
15638 grep -v '^ *+' conftest.er1 >conftest.err
15640 cat conftest.err >&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } &&
15643 { ac_try='test -z "$ac_c_werror_flag"
15644 || test ! -s conftest.err'
15645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15646 (eval $ac_try) 2>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; } &&
15650 { ac_try='test -s conftest.$ac_objext'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; }; then
15658 echo "$as_me: failed program was:" >&5
15659 sed 's/^/| /' conftest.$ac_ext >&5
15661 ac_lo=`expr '(' $ac_mid ')' + 1`
15663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15666 ?*) ac_cv_sizeof_short=$ac_lo;;
15667 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15668 See \`config.log' for more details." >&5
15669 echo "$as_me: error: cannot compute sizeof (short), 77
15670 See \`config.log' for more details." >&2;}
15671 { (exit 1); exit 1; }; } ;;
15674 if test "$cross_compiling" = yes; then
15675 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15676 See \`config.log' for more details." >&5
15677 echo "$as_me: error: cannot run test program while cross compiling
15678 See \`config.log' for more details." >&2;}
15679 { (exit 1); exit 1; }; }
15681 cat >conftest.$ac_ext <<_ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15687 $ac_includes_default
15688 long longval () { return (long) (sizeof (short)); }
15689 unsigned long ulongval () { return (long) (sizeof (short)); }
15691 #include <stdlib.h>
15696 FILE *f = fopen ("conftest.val", "w");
15699 if (((long) (sizeof (short))) < 0)
15701 long i = longval ();
15702 if (i != ((long) (sizeof (short))))
15704 fprintf (f, "%ld\n", i);
15708 unsigned long i = ulongval ();
15709 if (i != ((long) (sizeof (short))))
15711 fprintf (f, "%lu\n", i);
15713 exit (ferror (f) || fclose (f) != 0);
15719 rm -f conftest$ac_exeext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15721 (eval $ac_link) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15730 ac_cv_sizeof_short=`cat conftest.val`
15732 echo "$as_me: program exited with status $ac_status" >&5
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15736 ( exit $ac_status )
15737 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15738 See \`config.log' for more details." >&5
15739 echo "$as_me: error: cannot compute sizeof (short), 77
15740 See \`config.log' for more details." >&2;}
15741 { (exit 1); exit 1; }; }
15743 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15748 ac_cv_sizeof_short=0
15751 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15752 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15753 cat >>confdefs.h <<_ACEOF
15754 #define SIZEOF_SHORT $ac_cv_sizeof_short
15758 echo "$as_me:$LINENO: checking for void *" >&5
15759 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15760 if test "${ac_cv_type_void_p+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 cat >conftest.$ac_ext <<_ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15769 $ac_includes_default
15775 if (sizeof (void *))
15781 rm -f conftest.$ac_objext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15783 (eval $ac_compile) 2>conftest.er1
15785 grep -v '^ *+' conftest.er1 >conftest.err
15787 cat conftest.err >&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } &&
15790 { ac_try='test -z "$ac_c_werror_flag"
15791 || test ! -s conftest.err'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; } &&
15797 { ac_try='test -s conftest.$ac_objext'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 ac_cv_type_void_p=yes
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15808 ac_cv_type_void_p=no
15810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15812 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15813 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15815 echo "$as_me:$LINENO: checking size of void *" >&5
15816 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15817 if test "${ac_cv_sizeof_void_p+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15820 if test "$ac_cv_type_void_p" = yes; then
15821 # The cast to unsigned long works around a bug in the HP C Compiler
15822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15824 # This bug is HP SR number 8606223364.
15825 if test "$cross_compiling" = yes; then
15826 # Depending upon the size, compute the lo and hi bounds.
15827 cat >conftest.$ac_ext <<_ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833 $ac_includes_default
15837 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15844 rm -f conftest.$ac_objext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15846 (eval $ac_compile) 2>conftest.er1
15848 grep -v '^ *+' conftest.er1 >conftest.err
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try='test -z "$ac_c_werror_flag"
15854 || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try='test -s conftest.$ac_objext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15868 cat >conftest.$ac_ext <<_ACEOF
15871 cat confdefs.h >>conftest.$ac_ext
15872 cat >>conftest.$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 $ac_includes_default
15878 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15885 rm -f conftest.$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>conftest.er1
15889 grep -v '^ *+' conftest.er1 >conftest.err
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -z "$ac_c_werror_flag"
15895 || test ! -s conftest.err'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; } &&
15901 { ac_try='test -s conftest.$ac_objext'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; }; then
15907 ac_hi=$ac_mid; break
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15912 ac_lo=`expr $ac_mid + 1`
15913 if test $ac_lo -le $ac_mid; then
15917 ac_mid=`expr 2 '*' $ac_mid + 1`
15919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15925 cat >conftest.$ac_ext <<_ACEOF
15928 cat confdefs.h >>conftest.$ac_ext
15929 cat >>conftest.$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 $ac_includes_default
15935 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15942 rm -f conftest.$ac_objext
15943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15944 (eval $ac_compile) 2>conftest.er1
15946 grep -v '^ *+' conftest.er1 >conftest.err
15948 cat conftest.err >&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } &&
15951 { ac_try='test -z "$ac_c_werror_flag"
15952 || test ! -s conftest.err'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; } &&
15958 { ac_try='test -s conftest.$ac_objext'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15966 cat >conftest.$ac_ext <<_ACEOF
15969 cat confdefs.h >>conftest.$ac_ext
15970 cat >>conftest.$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 $ac_includes_default
15976 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15983 rm -f conftest.$ac_objext
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>conftest.er1
15987 grep -v '^ *+' conftest.er1 >conftest.err
15989 cat conftest.err >&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } &&
15992 { ac_try='test -z "$ac_c_werror_flag"
15993 || test ! -s conftest.err'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; } &&
15999 { ac_try='test -s conftest.$ac_objext'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; }; then
16005 ac_lo=$ac_mid; break
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16010 ac_hi=`expr '(' $ac_mid ')' - 1`
16011 if test $ac_mid -le $ac_hi; then
16015 ac_mid=`expr 2 '*' $ac_mid`
16017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16028 # Binary search between lo and hi bounds.
16029 while test "x$ac_lo" != "x$ac_hi"; do
16030 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16031 cat >conftest.$ac_ext <<_ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 $ac_includes_default
16041 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16048 rm -f conftest.$ac_objext
16049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16050 (eval $ac_compile) 2>conftest.er1
16052 grep -v '^ *+' conftest.er1 >conftest.err
16054 cat conftest.err >&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); } &&
16057 { ac_try='test -z "$ac_c_werror_flag"
16058 || test ! -s conftest.err'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; } &&
16064 { ac_try='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16072 echo "$as_me: failed program was:" >&5
16073 sed 's/^/| /' conftest.$ac_ext >&5
16075 ac_lo=`expr '(' $ac_mid ')' + 1`
16077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16080 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16081 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16082 See \`config.log' for more details." >&5
16083 echo "$as_me: error: cannot compute sizeof (void *), 77
16084 See \`config.log' for more details." >&2;}
16085 { (exit 1); exit 1; }; } ;;
16088 if test "$cross_compiling" = yes; then
16089 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16090 See \`config.log' for more details." >&5
16091 echo "$as_me: error: cannot run test program while cross compiling
16092 See \`config.log' for more details." >&2;}
16093 { (exit 1); exit 1; }; }
16095 cat >conftest.$ac_ext <<_ACEOF
16098 cat confdefs.h >>conftest.$ac_ext
16099 cat >>conftest.$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 $ac_includes_default
16102 long longval () { return (long) (sizeof (void *)); }
16103 unsigned long ulongval () { return (long) (sizeof (void *)); }
16105 #include <stdlib.h>
16110 FILE *f = fopen ("conftest.val", "w");
16113 if (((long) (sizeof (void *))) < 0)
16115 long i = longval ();
16116 if (i != ((long) (sizeof (void *))))
16118 fprintf (f, "%ld\n", i);
16122 unsigned long i = ulongval ();
16123 if (i != ((long) (sizeof (void *))))
16125 fprintf (f, "%lu\n", i);
16127 exit (ferror (f) || fclose (f) != 0);
16133 rm -f conftest$ac_exeext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16135 (eval $ac_link) 2>&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_cv_sizeof_void_p=`cat conftest.val`
16146 echo "$as_me: program exited with status $ac_status" >&5
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.$ac_ext >&5
16150 ( exit $ac_status )
16151 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16152 See \`config.log' for more details." >&5
16153 echo "$as_me: error: cannot compute sizeof (void *), 77
16154 See \`config.log' for more details." >&2;}
16155 { (exit 1); exit 1; }; }
16157 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16162 ac_cv_sizeof_void_p=0
16165 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16166 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16167 cat >>confdefs.h <<_ACEOF
16168 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16172 echo "$as_me:$LINENO: checking for int" >&5
16173 echo $ECHO_N "checking for int... $ECHO_C" >&6
16174 if test "${ac_cv_type_int+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 cat >conftest.$ac_ext <<_ACEOF
16180 cat confdefs.h >>conftest.$ac_ext
16181 cat >>conftest.$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16183 $ac_includes_default
16195 rm -f conftest.$ac_objext
16196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>conftest.er1
16199 grep -v '^ *+' conftest.er1 >conftest.err
16201 cat conftest.err >&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } &&
16204 { ac_try='test -z "$ac_c_werror_flag"
16205 || test ! -s conftest.err'
16206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16207 (eval $ac_try) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }; } &&
16211 { ac_try='test -s conftest.$ac_objext'
16212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16213 (eval $ac_try) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); }; }; then
16219 echo "$as_me: failed program was:" >&5
16220 sed 's/^/| /' conftest.$ac_ext >&5
16224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16226 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16227 echo "${ECHO_T}$ac_cv_type_int" >&6
16229 echo "$as_me:$LINENO: checking size of int" >&5
16230 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16231 if test "${ac_cv_sizeof_int+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16234 if test "$ac_cv_type_int" = yes; then
16235 # The cast to unsigned long works around a bug in the HP C Compiler
16236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16238 # This bug is HP SR number 8606223364.
16239 if test "$cross_compiling" = yes; then
16240 # Depending upon the size, compute the lo and hi bounds.
16241 cat >conftest.$ac_ext <<_ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16247 $ac_includes_default
16251 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16258 rm -f conftest.$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>conftest.er1
16262 grep -v '^ *+' conftest.er1 >conftest.err
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try='test -z "$ac_c_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try='test -s conftest.$ac_objext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16282 cat >conftest.$ac_ext <<_ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 $ac_includes_default
16292 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16299 rm -f conftest.$ac_objext
16300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16301 (eval $ac_compile) 2>conftest.er1
16303 grep -v '^ *+' conftest.er1 >conftest.err
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } &&
16308 { ac_try='test -z "$ac_c_werror_flag"
16309 || test ! -s conftest.err'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; } &&
16315 { ac_try='test -s conftest.$ac_objext'
16316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16317 (eval $ac_try) 2>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); }; }; then
16321 ac_hi=$ac_mid; break
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16326 ac_lo=`expr $ac_mid + 1`
16327 if test $ac_lo -le $ac_mid; then
16331 ac_mid=`expr 2 '*' $ac_mid + 1`
16333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16339 cat >conftest.$ac_ext <<_ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16349 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16356 rm -f conftest.$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>conftest.er1
16360 grep -v '^ *+' conftest.er1 >conftest.err
16362 cat conftest.err >&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try='test -z "$ac_c_werror_flag"
16366 || test ! -s conftest.err'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; } &&
16372 { ac_try='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16380 cat >conftest.$ac_ext <<_ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16390 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16397 rm -f conftest.$ac_objext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16399 (eval $ac_compile) 2>conftest.er1
16401 grep -v '^ *+' conftest.er1 >conftest.err
16403 cat conftest.err >&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -z "$ac_c_werror_flag"
16407 || test ! -s conftest.err'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; } &&
16413 { ac_try='test -s conftest.$ac_objext'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 ac_lo=$ac_mid; break
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 ac_hi=`expr '(' $ac_mid ')' - 1`
16425 if test $ac_mid -le $ac_hi; then
16429 ac_mid=`expr 2 '*' $ac_mid`
16431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16442 # Binary search between lo and hi bounds.
16443 while test "x$ac_lo" != "x$ac_hi"; do
16444 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16445 cat >conftest.$ac_ext <<_ACEOF
16448 cat confdefs.h >>conftest.$ac_ext
16449 cat >>conftest.$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16455 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16462 rm -f conftest.$ac_objext
16463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16464 (eval $ac_compile) 2>conftest.er1
16466 grep -v '^ *+' conftest.er1 >conftest.err
16468 cat conftest.err >&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } &&
16471 { ac_try='test -z "$ac_c_werror_flag"
16472 || test ! -s conftest.err'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; } &&
16478 { ac_try='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16489 ac_lo=`expr '(' $ac_mid ')' + 1`
16491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16494 ?*) ac_cv_sizeof_int=$ac_lo;;
16495 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16496 See \`config.log' for more details." >&5
16497 echo "$as_me: error: cannot compute sizeof (int), 77
16498 See \`config.log' for more details." >&2;}
16499 { (exit 1); exit 1; }; } ;;
16502 if test "$cross_compiling" = yes; then
16503 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16504 See \`config.log' for more details." >&5
16505 echo "$as_me: error: cannot run test program while cross compiling
16506 See \`config.log' for more details." >&2;}
16507 { (exit 1); exit 1; }; }
16509 cat >conftest.$ac_ext <<_ACEOF
16512 cat confdefs.h >>conftest.$ac_ext
16513 cat >>conftest.$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 $ac_includes_default
16516 long longval () { return (long) (sizeof (int)); }
16517 unsigned long ulongval () { return (long) (sizeof (int)); }
16519 #include <stdlib.h>
16524 FILE *f = fopen ("conftest.val", "w");
16527 if (((long) (sizeof (int))) < 0)
16529 long i = longval ();
16530 if (i != ((long) (sizeof (int))))
16532 fprintf (f, "%ld\n", i);
16536 unsigned long i = ulongval ();
16537 if (i != ((long) (sizeof (int))))
16539 fprintf (f, "%lu\n", i);
16541 exit (ferror (f) || fclose (f) != 0);
16547 rm -f conftest$ac_exeext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16549 (eval $ac_link) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; }; then
16558 ac_cv_sizeof_int=`cat conftest.val`
16560 echo "$as_me: program exited with status $ac_status" >&5
16561 echo "$as_me: failed program was:" >&5
16562 sed 's/^/| /' conftest.$ac_ext >&5
16564 ( exit $ac_status )
16565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16566 See \`config.log' for more details." >&5
16567 echo "$as_me: error: cannot compute sizeof (int), 77
16568 See \`config.log' for more details." >&2;}
16569 { (exit 1); exit 1; }; }
16571 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16579 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16580 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16581 cat >>confdefs.h <<_ACEOF
16582 #define SIZEOF_INT $ac_cv_sizeof_int
16586 echo "$as_me:$LINENO: checking for long" >&5
16587 echo $ECHO_N "checking for long... $ECHO_C" >&6
16588 if test "${ac_cv_type_long+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 cat >conftest.$ac_ext <<_ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597 $ac_includes_default
16609 rm -f conftest.$ac_objext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16611 (eval $ac_compile) 2>conftest.er1
16613 grep -v '^ *+' conftest.er1 >conftest.err
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try='test -z "$ac_c_werror_flag"
16619 || test ! -s conftest.err'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; } &&
16625 { ac_try='test -s conftest.$ac_objext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 ac_cv_type_long=yes
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16640 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16641 echo "${ECHO_T}$ac_cv_type_long" >&6
16643 echo "$as_me:$LINENO: checking size of long" >&5
16644 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16645 if test "${ac_cv_sizeof_long+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 if test "$ac_cv_type_long" = yes; then
16649 # The cast to unsigned long works around a bug in the HP C Compiler
16650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16652 # This bug is HP SR number 8606223364.
16653 if test "$cross_compiling" = yes; then
16654 # Depending upon the size, compute the lo and hi bounds.
16655 cat >conftest.$ac_ext <<_ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661 $ac_includes_default
16665 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16672 rm -f conftest.$ac_objext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>conftest.er1
16676 grep -v '^ *+' conftest.er1 >conftest.err
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -z "$ac_c_werror_flag"
16682 || test ! -s conftest.err'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; } &&
16688 { ac_try='test -s conftest.$ac_objext'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; }; then
16696 cat >conftest.$ac_ext <<_ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 $ac_includes_default
16706 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16713 rm -f conftest.$ac_objext
16714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16715 (eval $ac_compile) 2>conftest.er1
16717 grep -v '^ *+' conftest.er1 >conftest.err
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } &&
16722 { ac_try='test -z "$ac_c_werror_flag"
16723 || test ! -s conftest.err'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; } &&
16729 { ac_try='test -s conftest.$ac_objext'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16735 ac_hi=$ac_mid; break
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.$ac_ext >&5
16740 ac_lo=`expr $ac_mid + 1`
16741 if test $ac_lo -le $ac_mid; then
16745 ac_mid=`expr 2 '*' $ac_mid + 1`
16747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.$ac_ext >&5
16753 cat >conftest.$ac_ext <<_ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16763 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16774 grep -v '^ *+' conftest.er1 >conftest.err
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try='test -z "$ac_c_werror_flag"
16780 || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16794 cat >conftest.$ac_ext <<_ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800 $ac_includes_default
16804 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16811 rm -f conftest.$ac_objext
16812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16813 (eval $ac_compile) 2>conftest.er1
16815 grep -v '^ *+' conftest.er1 >conftest.err
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } &&
16820 { ac_try='test -z "$ac_c_werror_flag"
16821 || test ! -s conftest.err'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; } &&
16827 { ac_try='test -s conftest.$ac_objext'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; }; then
16833 ac_lo=$ac_mid; break
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16838 ac_hi=`expr '(' $ac_mid ')' - 1`
16839 if test $ac_mid -le $ac_hi; then
16843 ac_mid=`expr 2 '*' $ac_mid`
16845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16856 # Binary search between lo and hi bounds.
16857 while test "x$ac_lo" != "x$ac_hi"; do
16858 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16859 cat >conftest.$ac_ext <<_ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 $ac_includes_default
16869 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16876 rm -f conftest.$ac_objext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16878 (eval $ac_compile) 2>conftest.er1
16880 grep -v '^ *+' conftest.er1 >conftest.err
16882 cat conftest.err >&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } &&
16885 { ac_try='test -z "$ac_c_werror_flag"
16886 || test ! -s conftest.err'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; } &&
16892 { ac_try='test -s conftest.$ac_objext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16903 ac_lo=`expr '(' $ac_mid ')' + 1`
16905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16908 ?*) ac_cv_sizeof_long=$ac_lo;;
16909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16910 See \`config.log' for more details." >&5
16911 echo "$as_me: error: cannot compute sizeof (long), 77
16912 See \`config.log' for more details." >&2;}
16913 { (exit 1); exit 1; }; } ;;
16916 if test "$cross_compiling" = yes; then
16917 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16918 See \`config.log' for more details." >&5
16919 echo "$as_me: error: cannot run test program while cross compiling
16920 See \`config.log' for more details." >&2;}
16921 { (exit 1); exit 1; }; }
16923 cat >conftest.$ac_ext <<_ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16930 long longval () { return (long) (sizeof (long)); }
16931 unsigned long ulongval () { return (long) (sizeof (long)); }
16933 #include <stdlib.h>
16938 FILE *f = fopen ("conftest.val", "w");
16941 if (((long) (sizeof (long))) < 0)
16943 long i = longval ();
16944 if (i != ((long) (sizeof (long))))
16946 fprintf (f, "%ld\n", i);
16950 unsigned long i = ulongval ();
16951 if (i != ((long) (sizeof (long))))
16953 fprintf (f, "%lu\n", i);
16955 exit (ferror (f) || fclose (f) != 0);
16961 rm -f conftest$ac_exeext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16963 (eval $ac_link) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; }; then
16972 ac_cv_sizeof_long=`cat conftest.val`
16974 echo "$as_me: program exited with status $ac_status" >&5
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.$ac_ext >&5
16978 ( exit $ac_status )
16979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16980 See \`config.log' for more details." >&5
16981 echo "$as_me: error: cannot compute sizeof (long), 77
16982 See \`config.log' for more details." >&2;}
16983 { (exit 1); exit 1; }; }
16985 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16990 ac_cv_sizeof_long=0
16993 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16994 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16995 cat >>confdefs.h <<_ACEOF
16996 #define SIZEOF_LONG $ac_cv_sizeof_long
17000 echo "$as_me:$LINENO: checking for size_t" >&5
17001 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17002 if test "${ac_cv_type_size_t+set}" = set; then
17003 echo $ECHO_N "(cached) $ECHO_C" >&6
17005 cat >conftest.$ac_ext <<_ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17017 if (sizeof (size_t))
17023 rm -f conftest.$ac_objext
17024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17025 (eval $ac_compile) 2>conftest.er1
17027 grep -v '^ *+' conftest.er1 >conftest.err
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } &&
17032 { ac_try='test -z "$ac_c_werror_flag"
17033 || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17045 ac_cv_type_size_t=yes
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.$ac_ext >&5
17050 ac_cv_type_size_t=no
17052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17054 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17055 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17057 echo "$as_me:$LINENO: checking size of size_t" >&5
17058 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17059 if test "${ac_cv_sizeof_size_t+set}" = set; then
17060 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 if test "$ac_cv_type_size_t" = yes; then
17063 # The cast to unsigned long works around a bug in the HP C Compiler
17064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17066 # This bug is HP SR number 8606223364.
17067 if test "$cross_compiling" = yes; then
17068 # Depending upon the size, compute the lo and hi bounds.
17069 cat >conftest.$ac_ext <<_ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17079 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17090 grep -v '^ *+' conftest.er1 >conftest.err
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -z "$ac_c_werror_flag"
17096 || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try='test -s conftest.$ac_objext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17110 cat >conftest.$ac_ext <<_ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116 $ac_includes_default
17120 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17127 rm -f conftest.$ac_objext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17129 (eval $ac_compile) 2>conftest.er1
17131 grep -v '^ *+' conftest.er1 >conftest.err
17133 cat conftest.err >&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } &&
17136 { ac_try='test -z "$ac_c_werror_flag"
17137 || test ! -s conftest.err'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; } &&
17143 { ac_try='test -s conftest.$ac_objext'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; }; then
17149 ac_hi=$ac_mid; break
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17154 ac_lo=`expr $ac_mid + 1`
17155 if test $ac_lo -le $ac_mid; then
17159 ac_mid=`expr 2 '*' $ac_mid + 1`
17161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17167 cat >conftest.$ac_ext <<_ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17177 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17184 rm -f conftest.$ac_objext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17186 (eval $ac_compile) 2>conftest.er1
17188 grep -v '^ *+' conftest.er1 >conftest.err
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try='test -z "$ac_c_werror_flag"
17194 || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest.$ac_objext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17208 cat >conftest.$ac_ext <<_ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 $ac_includes_default
17218 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17225 rm -f conftest.$ac_objext
17226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17227 (eval $ac_compile) 2>conftest.er1
17229 grep -v '^ *+' conftest.er1 >conftest.err
17231 cat conftest.err >&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } &&
17234 { ac_try='test -z "$ac_c_werror_flag"
17235 || test ! -s conftest.err'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; } &&
17241 { ac_try='test -s conftest.$ac_objext'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; }; then
17247 ac_lo=$ac_mid; break
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17252 ac_hi=`expr '(' $ac_mid ')' - 1`
17253 if test $ac_mid -le $ac_hi; then
17257 ac_mid=`expr 2 '*' $ac_mid`
17259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17270 # Binary search between lo and hi bounds.
17271 while test "x$ac_lo" != "x$ac_hi"; do
17272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17273 cat >conftest.$ac_ext <<_ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279 $ac_includes_default
17283 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17290 rm -f conftest.$ac_objext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17292 (eval $ac_compile) 2>conftest.er1
17294 grep -v '^ *+' conftest.er1 >conftest.err
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } &&
17299 { ac_try='test -z "$ac_c_werror_flag"
17300 || test ! -s conftest.err'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; } &&
17306 { ac_try='test -s conftest.$ac_objext'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; }; then
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17317 ac_lo=`expr '(' $ac_mid ')' + 1`
17319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17322 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17324 See \`config.log' for more details." >&5
17325 echo "$as_me: error: cannot compute sizeof (size_t), 77
17326 See \`config.log' for more details." >&2;}
17327 { (exit 1); exit 1; }; } ;;
17330 if test "$cross_compiling" = yes; then
17331 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17332 See \`config.log' for more details." >&5
17333 echo "$as_me: error: cannot run test program while cross compiling
17334 See \`config.log' for more details." >&2;}
17335 { (exit 1); exit 1; }; }
17337 cat >conftest.$ac_ext <<_ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17344 long longval () { return (long) (sizeof (size_t)); }
17345 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17347 #include <stdlib.h>
17352 FILE *f = fopen ("conftest.val", "w");
17355 if (((long) (sizeof (size_t))) < 0)
17357 long i = longval ();
17358 if (i != ((long) (sizeof (size_t))))
17360 fprintf (f, "%ld\n", i);
17364 unsigned long i = ulongval ();
17365 if (i != ((long) (sizeof (size_t))))
17367 fprintf (f, "%lu\n", i);
17369 exit (ferror (f) || fclose (f) != 0);
17375 rm -f conftest$ac_exeext
17376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17377 (eval $ac_link) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_cv_sizeof_size_t=`cat conftest.val`
17388 echo "$as_me: program exited with status $ac_status" >&5
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.$ac_ext >&5
17392 ( exit $ac_status )
17393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17394 See \`config.log' for more details." >&5
17395 echo "$as_me: error: cannot compute sizeof (size_t), 77
17396 See \`config.log' for more details." >&2;}
17397 { (exit 1); exit 1; }; }
17399 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17404 ac_cv_sizeof_size_t=0
17407 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17408 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17409 cat >>confdefs.h <<_ACEOF
17410 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17417 echo "$as_me:$LINENO: checking for long long" >&5
17418 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17419 if test "${ac_cv_type_long_long+set}" = set; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 cat >conftest.$ac_ext <<_ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428 $ac_includes_default
17432 if ((long long *) 0)
17434 if (sizeof (long long))
17440 rm -f conftest.$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17444 grep -v '^ *+' conftest.er1 >conftest.err
17446 cat conftest.err >&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try='test -z "$ac_c_werror_flag"
17450 || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 ac_cv_type_long_long=yes
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17467 ac_cv_type_long_long=no
17469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17472 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17474 echo "$as_me:$LINENO: checking size of long long" >&5
17475 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17476 if test "${ac_cv_sizeof_long_long+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 if test "$ac_cv_type_long_long" = yes; then
17480 # The cast to unsigned long works around a bug in the HP C Compiler
17481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17483 # This bug is HP SR number 8606223364.
17484 if test "$cross_compiling" = yes; then
17485 # Depending upon the size, compute the lo and hi bounds.
17486 cat >conftest.$ac_ext <<_ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492 $ac_includes_default
17496 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17503 rm -f conftest.$ac_objext
17504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17505 (eval $ac_compile) 2>conftest.er1
17507 grep -v '^ *+' conftest.er1 >conftest.err
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try='test -z "$ac_c_werror_flag"
17513 || test ! -s conftest.err'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; } &&
17519 { ac_try='test -s conftest.$ac_objext'
17520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521 (eval $ac_try) 2>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; }; then
17527 cat >conftest.$ac_ext <<_ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17533 $ac_includes_default
17537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17544 rm -f conftest.$ac_objext
17545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17546 (eval $ac_compile) 2>conftest.er1
17548 grep -v '^ *+' conftest.er1 >conftest.err
17550 cat conftest.err >&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } &&
17553 { ac_try='test -z "$ac_c_werror_flag"
17554 || test ! -s conftest.err'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; } &&
17560 { ac_try='test -s conftest.$ac_objext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_hi=$ac_mid; break
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.$ac_ext >&5
17571 ac_lo=`expr $ac_mid + 1`
17572 if test $ac_lo -le $ac_mid; then
17576 ac_mid=`expr 2 '*' $ac_mid + 1`
17578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17584 cat >conftest.$ac_ext <<_ACEOF
17587 cat confdefs.h >>conftest.$ac_ext
17588 cat >>conftest.$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590 $ac_includes_default
17594 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17601 rm -f conftest.$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17605 grep -v '^ *+' conftest.er1 >conftest.err
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_c_werror_flag"
17611 || test ! -s conftest.err'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; } &&
17617 { ac_try='test -s conftest.$ac_objext'
17618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17619 (eval $ac_try) 2>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); }; }; then
17625 cat >conftest.$ac_ext <<_ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 $ac_includes_default
17635 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17642 rm -f conftest.$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>conftest.er1
17646 grep -v '^ *+' conftest.er1 >conftest.err
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try='test -z "$ac_c_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_lo=$ac_mid; break
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 ac_hi=`expr '(' $ac_mid ')' - 1`
17670 if test $ac_mid -le $ac_hi; then
17674 ac_mid=`expr 2 '*' $ac_mid`
17676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.$ac_ext >&5
17684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17687 # Binary search between lo and hi bounds.
17688 while test "x$ac_lo" != "x$ac_hi"; do
17689 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17690 cat >conftest.$ac_ext <<_ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 $ac_includes_default
17700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17707 rm -f conftest.$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709 (eval $ac_compile) 2>conftest.er1
17711 grep -v '^ *+' conftest.er1 >conftest.err
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try='test -z "$ac_c_werror_flag"
17717 || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try='test -s conftest.$ac_objext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17734 ac_lo=`expr '(' $ac_mid ')' + 1`
17736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17739 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17740 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17741 See \`config.log' for more details." >&5
17742 echo "$as_me: error: cannot compute sizeof (long long), 77
17743 See \`config.log' for more details." >&2;}
17744 { (exit 1); exit 1; }; } ;;
17747 if test "$cross_compiling" = yes; then
17748 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17749 See \`config.log' for more details." >&5
17750 echo "$as_me: error: cannot run test program while cross compiling
17751 See \`config.log' for more details." >&2;}
17752 { (exit 1); exit 1; }; }
17754 cat >conftest.$ac_ext <<_ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 $ac_includes_default
17761 long longval () { return (long) (sizeof (long long)); }
17762 unsigned long ulongval () { return (long) (sizeof (long long)); }
17764 #include <stdlib.h>
17769 FILE *f = fopen ("conftest.val", "w");
17772 if (((long) (sizeof (long long))) < 0)
17774 long i = longval ();
17775 if (i != ((long) (sizeof (long long))))
17777 fprintf (f, "%ld\n", i);
17781 unsigned long i = ulongval ();
17782 if (i != ((long) (sizeof (long long))))
17784 fprintf (f, "%lu\n", i);
17786 exit (ferror (f) || fclose (f) != 0);
17792 rm -f conftest$ac_exeext
17793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17794 (eval $ac_link) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17799 (eval $ac_try) 2>&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); }; }; then
17803 ac_cv_sizeof_long_long=`cat conftest.val`
17805 echo "$as_me: program exited with status $ac_status" >&5
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17809 ( exit $ac_status )
17810 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17811 See \`config.log' for more details." >&5
17812 echo "$as_me: error: cannot compute sizeof (long long), 77
17813 See \`config.log' for more details." >&2;}
17814 { (exit 1); exit 1; }; }
17816 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17821 ac_cv_sizeof_long_long=0
17824 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17825 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17826 cat >>confdefs.h <<_ACEOF
17827 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17833 echo "$as_me:$LINENO: checking for long long" >&5
17834 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17835 if test "${ac_cv_type_long_long+set}" = set; then
17836 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 cat >conftest.$ac_ext <<_ACEOF
17841 cat confdefs.h >>conftest.$ac_ext
17842 cat >>conftest.$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17848 if ((long long *) 0)
17850 if (sizeof (long long))
17856 rm -f conftest.$ac_objext
17857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17858 (eval $ac_compile) 2>conftest.er1
17860 grep -v '^ *+' conftest.er1 >conftest.err
17862 cat conftest.err >&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } &&
17865 { ac_try='test -z "$ac_c_werror_flag"
17866 || test ! -s conftest.err'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; } &&
17872 { ac_try='test -s conftest.$ac_objext'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17878 ac_cv_type_long_long=yes
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17883 ac_cv_type_long_long=no
17885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17887 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17888 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17890 echo "$as_me:$LINENO: checking size of long long" >&5
17891 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17892 if test "${ac_cv_sizeof_long_long+set}" = set; then
17893 echo $ECHO_N "(cached) $ECHO_C" >&6
17895 if test "$ac_cv_type_long_long" = yes; then
17896 # The cast to unsigned long works around a bug in the HP C Compiler
17897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17899 # This bug is HP SR number 8606223364.
17900 if test "$cross_compiling" = yes; then
17901 # Depending upon the size, compute the lo and hi bounds.
17902 cat >conftest.$ac_ext <<_ACEOF
17905 cat confdefs.h >>conftest.$ac_ext
17906 cat >>conftest.$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17912 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17919 rm -f conftest.$ac_objext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17921 (eval $ac_compile) 2>conftest.er1
17923 grep -v '^ *+' conftest.er1 >conftest.err
17925 cat conftest.err >&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try='test -z "$ac_c_werror_flag"
17929 || test ! -s conftest.err'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try='test -s conftest.$ac_objext'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; }; then
17943 cat >conftest.$ac_ext <<_ACEOF
17946 cat confdefs.h >>conftest.$ac_ext
17947 cat >>conftest.$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17953 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17960 rm -f conftest.$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1 >conftest.err
17966 cat conftest.err >&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try='test -z "$ac_c_werror_flag"
17970 || test ! -s conftest.err'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try='test -s conftest.$ac_objext'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; }; then
17982 ac_hi=$ac_mid; break
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.$ac_ext >&5
17987 ac_lo=`expr $ac_mid + 1`
17988 if test $ac_lo -le $ac_mid; then
17992 ac_mid=`expr 2 '*' $ac_mid + 1`
17994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
18000 cat >conftest.$ac_ext <<_ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18010 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18017 rm -f conftest.$ac_objext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18019 (eval $ac_compile) 2>conftest.er1
18021 grep -v '^ *+' conftest.er1 >conftest.err
18023 cat conftest.err >&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try='test -z "$ac_c_werror_flag"
18027 || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 cat >conftest.$ac_ext <<_ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18051 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1 >conftest.err
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try='test -z "$ac_c_werror_flag"
18068 || test ! -s conftest.err'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try='test -s conftest.$ac_objext'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; }; then
18080 ac_lo=$ac_mid; break
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18085 ac_hi=`expr '(' $ac_mid ')' - 1`
18086 if test $ac_mid -le $ac_hi; then
18090 ac_mid=`expr 2 '*' $ac_mid`
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18103 # Binary search between lo and hi bounds.
18104 while test "x$ac_lo" != "x$ac_hi"; do
18105 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18106 cat >conftest.$ac_ext <<_ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 $ac_includes_default
18116 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18123 rm -f conftest.$ac_objext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18125 (eval $ac_compile) 2>conftest.er1
18127 grep -v '^ *+' conftest.er1 >conftest.err
18129 cat conftest.err >&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try='test -z "$ac_c_werror_flag"
18133 || test ! -s conftest.err'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; } &&
18139 { ac_try='test -s conftest.$ac_objext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 ac_lo=`expr '(' $ac_mid ')' + 1`
18152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18156 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18157 See \`config.log' for more details." >&5
18158 echo "$as_me: error: cannot compute sizeof (long long), 77
18159 See \`config.log' for more details." >&2;}
18160 { (exit 1); exit 1; }; } ;;
18163 if test "$cross_compiling" = yes; then
18164 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18165 See \`config.log' for more details." >&5
18166 echo "$as_me: error: cannot run test program while cross compiling
18167 See \`config.log' for more details." >&2;}
18168 { (exit 1); exit 1; }; }
18170 cat >conftest.$ac_ext <<_ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18176 $ac_includes_default
18177 long longval () { return (long) (sizeof (long long)); }
18178 unsigned long ulongval () { return (long) (sizeof (long long)); }
18180 #include <stdlib.h>
18185 FILE *f = fopen ("conftest.val", "w");
18188 if (((long) (sizeof (long long))) < 0)
18190 long i = longval ();
18191 if (i != ((long) (sizeof (long long))))
18193 fprintf (f, "%ld\n", i);
18197 unsigned long i = ulongval ();
18198 if (i != ((long) (sizeof (long long))))
18200 fprintf (f, "%lu\n", i);
18202 exit (ferror (f) || fclose (f) != 0);
18208 rm -f conftest$ac_exeext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210 (eval $ac_link) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_sizeof_long_long=`cat conftest.val`
18221 echo "$as_me: program exited with status $ac_status" >&5
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 ( exit $ac_status )
18226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18227 See \`config.log' for more details." >&5
18228 echo "$as_me: error: cannot compute sizeof (long long), 77
18229 See \`config.log' for more details." >&2;}
18230 { (exit 1); exit 1; }; }
18232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18237 ac_cv_sizeof_long_long=0
18240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18241 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18242 cat >>confdefs.h <<_ACEOF
18243 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18247 if test "$ac_cv_sizeof_long_long" != "0"; then
18248 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18252 echo "$as_me:$LINENO: checking for long long" >&5
18253 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18254 if test "${ac_cv_type_long_long+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 cat >conftest.$ac_ext <<_ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18263 $ac_includes_default
18267 if ((long long *) 0)
18269 if (sizeof (long long))
18275 rm -f conftest.$ac_objext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18277 (eval $ac_compile) 2>conftest.er1
18279 grep -v '^ *+' conftest.er1 >conftest.err
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try='test -z "$ac_c_werror_flag"
18285 || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try='test -s conftest.$ac_objext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 ac_cv_type_long_long=yes
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18302 ac_cv_type_long_long=no
18304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18306 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18307 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18309 echo "$as_me:$LINENO: checking size of long long" >&5
18310 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18311 if test "${ac_cv_sizeof_long_long+set}" = set; then
18312 echo $ECHO_N "(cached) $ECHO_C" >&6
18314 if test "$ac_cv_type_long_long" = yes; then
18315 # The cast to unsigned long works around a bug in the HP C Compiler
18316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18318 # This bug is HP SR number 8606223364.
18319 if test "$cross_compiling" = yes; then
18320 # Depending upon the size, compute the lo and hi bounds.
18321 cat >conftest.$ac_ext <<_ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 $ac_includes_default
18331 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18338 rm -f conftest.$ac_objext
18339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18340 (eval $ac_compile) 2>conftest.er1
18342 grep -v '^ *+' conftest.er1 >conftest.err
18344 cat conftest.err >&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } &&
18347 { ac_try='test -z "$ac_c_werror_flag"
18348 || test ! -s conftest.err'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; } &&
18354 { ac_try='test -s conftest.$ac_objext'
18355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356 (eval $ac_try) 2>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; }; then
18362 cat >conftest.$ac_ext <<_ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368 $ac_includes_default
18372 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18379 rm -f conftest.$ac_objext
18380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18381 (eval $ac_compile) 2>conftest.er1
18383 grep -v '^ *+' conftest.er1 >conftest.err
18385 cat conftest.err >&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); } &&
18388 { ac_try='test -z "$ac_c_werror_flag"
18389 || test ! -s conftest.err'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; } &&
18395 { ac_try='test -s conftest.$ac_objext'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; }; then
18401 ac_hi=$ac_mid; break
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.$ac_ext >&5
18406 ac_lo=`expr $ac_mid + 1`
18407 if test $ac_lo -le $ac_mid; then
18411 ac_mid=`expr 2 '*' $ac_mid + 1`
18413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.$ac_ext >&5
18419 cat >conftest.$ac_ext <<_ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 $ac_includes_default
18429 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18436 rm -f conftest.$ac_objext
18437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18438 (eval $ac_compile) 2>conftest.er1
18440 grep -v '^ *+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } &&
18445 { ac_try='test -z "$ac_c_werror_flag"
18446 || test ! -s conftest.err'
18447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18448 (eval $ac_try) 2>&5
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); }; } &&
18452 { ac_try='test -s conftest.$ac_objext'
18453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454 (eval $ac_try) 2>&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; }; then
18460 cat >conftest.$ac_ext <<_ACEOF
18463 cat confdefs.h >>conftest.$ac_ext
18464 cat >>conftest.$ac_ext <<_ACEOF
18465 /* end confdefs.h. */
18466 $ac_includes_default
18470 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18477 rm -f conftest.$ac_objext
18478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18479 (eval $ac_compile) 2>conftest.er1
18481 grep -v '^ *+' conftest.er1 >conftest.err
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -z "$ac_c_werror_flag"
18487 || test ! -s conftest.err'
18488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18489 (eval $ac_try) 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; } &&
18493 { ac_try='test -s conftest.$ac_objext'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; }; then
18499 ac_lo=$ac_mid; break
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 ac_hi=`expr '(' $ac_mid ')' - 1`
18505 if test $ac_mid -le $ac_hi; then
18509 ac_mid=`expr 2 '*' $ac_mid`
18511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.$ac_ext >&5
18519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18522 # Binary search between lo and hi bounds.
18523 while test "x$ac_lo" != "x$ac_hi"; do
18524 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18525 cat >conftest.$ac_ext <<_ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 $ac_includes_default
18535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18542 rm -f conftest.$ac_objext
18543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18544 (eval $ac_compile) 2>conftest.er1
18546 grep -v '^ *+' conftest.er1 >conftest.err
18548 cat conftest.err >&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); } &&
18551 { ac_try='test -z "$ac_c_werror_flag"
18552 || test ! -s conftest.err'
18553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 (eval $ac_try) 2>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); }; } &&
18558 { ac_try='test -s conftest.$ac_objext'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; }; then
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18569 ac_lo=`expr '(' $ac_mid ')' + 1`
18571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18574 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18576 See \`config.log' for more details." >&5
18577 echo "$as_me: error: cannot compute sizeof (long long), 77
18578 See \`config.log' for more details." >&2;}
18579 { (exit 1); exit 1; }; } ;;
18582 if test "$cross_compiling" = yes; then
18583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18584 See \`config.log' for more details." >&5
18585 echo "$as_me: error: cannot run test program while cross compiling
18586 See \`config.log' for more details." >&2;}
18587 { (exit 1); exit 1; }; }
18589 cat >conftest.$ac_ext <<_ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595 $ac_includes_default
18596 long longval () { return (long) (sizeof (long long)); }
18597 unsigned long ulongval () { return (long) (sizeof (long long)); }
18599 #include <stdlib.h>
18604 FILE *f = fopen ("conftest.val", "w");
18607 if (((long) (sizeof (long long))) < 0)
18609 long i = longval ();
18610 if (i != ((long) (sizeof (long long))))
18612 fprintf (f, "%ld\n", i);
18616 unsigned long i = ulongval ();
18617 if (i != ((long) (sizeof (long long))))
18619 fprintf (f, "%lu\n", i);
18621 exit (ferror (f) || fclose (f) != 0);
18627 rm -f conftest$ac_exeext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18629 (eval $ac_link) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; }; then
18638 ac_cv_sizeof_long_long=`cat conftest.val`
18640 echo "$as_me: program exited with status $ac_status" >&5
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18644 ( exit $ac_status )
18645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18646 See \`config.log' for more details." >&5
18647 echo "$as_me: error: cannot compute sizeof (long long), 77
18648 See \`config.log' for more details." >&2;}
18649 { (exit 1); exit 1; }; }
18651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18656 ac_cv_sizeof_long_long=0
18659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18660 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18661 cat >>confdefs.h <<_ACEOF
18662 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18668 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18669 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18670 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18674 if test "$cross_compiling" = yes; then
18678 wx_cv_sizeof_wchar_t=0
18681 wx_cv_sizeof_wchar_t=4
18687 cat >conftest.$ac_ext <<_ACEOF
18690 cat confdefs.h >>conftest.$ac_ext
18691 cat >>conftest.$ac_ext <<_ACEOF
18692 /* end confdefs.h. */
18694 /* DJGPP only has fake wchar_t: */
18696 # error "fake wchar_t"
18698 #ifdef HAVE_WCHAR_H
18700 # include <stddef.h>
18702 # include <wchar.h>
18704 #ifdef HAVE_STDLIB_H
18705 # include <stdlib.h>
18710 FILE *f=fopen("conftestval", "w");
18712 fprintf(f, "%i", sizeof(wchar_t));
18717 rm -f conftest$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719 (eval $ac_link) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; }; then
18728 wx_cv_sizeof_wchar_t=`cat conftestval`
18730 echo "$as_me: program exited with status $ac_status" >&5
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18734 ( exit $ac_status )
18735 wx_cv_sizeof_wchar_t=0
18737 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18741 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18742 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18744 cat >>confdefs.h <<_ACEOF
18745 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18749 echo "$as_me:$LINENO: checking for va_copy" >&5
18750 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18751 if test "${wx_cv_func_va_copy+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18755 cat >conftest.$ac_ext <<_ACEOF
18757 #include <stdarg.h>
18758 void foo(char *f, ...)
18772 rm -f conftest.$ac_objext conftest$ac_exeext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18774 (eval $ac_link) 2>conftest.er1
18776 grep -v '^ *+' conftest.er1 >conftest.err
18778 cat conftest.err >&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try='test -z "$ac_c_werror_flag"
18782 || test ! -s conftest.err'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; } &&
18788 { ac_try='test -s conftest$ac_exeext'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 wx_cv_func_va_copy=yes
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18799 wx_cv_func_va_copy=no
18802 rm -f conftest.err conftest.$ac_objext \
18803 conftest$ac_exeext conftest.$ac_ext
18807 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18808 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18810 if test $wx_cv_func_va_copy = "yes"; then
18811 cat >>confdefs.h <<\_ACEOF
18812 #define HAVE_VA_COPY 1
18816 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18817 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18818 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 if test "$cross_compiling" = yes; then
18823 wx_cv_type_va_list_lvalue=yes
18826 cat >conftest.$ac_ext <<_ACEOF
18828 #include <stdarg.h>
18829 int foo(char *f, ...)
18834 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18842 return foo("hi", 17);
18845 rm -f conftest$ac_exeext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18847 (eval $ac_link) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; }; then
18856 wx_cv_type_va_list_lvalue=yes
18858 echo "$as_me: program exited with status $ac_status" >&5
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18862 ( exit $ac_status )
18863 wx_cv_type_va_list_lvalue=no
18865 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18870 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18871 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18873 if test $wx_cv_type_va_list_lvalue != "yes"; then
18874 cat >>confdefs.h <<\_ACEOF
18875 #define VA_LIST_IS_ARRAY 1
18881 # Check whether --enable-largefile or --disable-largefile was given.
18882 if test "${enable_largefile+set}" = set; then
18883 enableval="$enable_largefile"
18886 if test "$enable_largefile" != no; then
18889 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18890 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18891 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 cat >conftest.$ac_ext <<_ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 #define _FILE_OFFSET_BITS 64
18902 #include <sys/types.h>
18907 unsigned int field: sizeof(off_t) == 8;
18914 rm -f conftest.$ac_objext
18915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18916 (eval $ac_compile) 2>conftest.er1
18918 grep -v '^ *+' conftest.er1 >conftest.err
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } &&
18923 { ac_try='test -z "$ac_c_werror_flag"
18924 || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_cv_sys_file_offset_bits=64
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18941 ac_cv_sys_file_offset_bits=no
18943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18947 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18948 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18950 if test "$ac_cv_sys_file_offset_bits" != no; then
18952 cat >>confdefs.h <<_ACEOF
18953 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18958 if test "x$wx_largefile" != "xyes"; then
18960 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18961 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18962 if test "${ac_cv_sys_large_files+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18966 cat >conftest.$ac_ext <<_ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 #define _LARGE_FILES 1
18973 #include <sys/types.h>
18978 unsigned int field: sizeof(off_t) == 8;
18985 rm -f conftest.$ac_objext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18987 (eval $ac_compile) 2>conftest.er1
18989 grep -v '^ *+' conftest.er1 >conftest.err
18991 cat conftest.err >&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try='test -z "$ac_c_werror_flag"
18995 || test ! -s conftest.err'
18996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997 (eval $ac_try) 2>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; } &&
19001 { ac_try='test -s conftest.$ac_objext'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; }; then
19007 ac_cv_sys_large_files=1
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 ac_cv_sys_large_files=no
19014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19018 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19019 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19021 if test "$ac_cv_sys_large_files" != no; then
19023 cat >>confdefs.h <<_ACEOF
19024 #define _LARGE_FILES $ac_cv_sys_large_files
19031 echo "$as_me:$LINENO: checking if large file support is available" >&5
19032 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19033 if test "x$wx_largefile" = "xyes"; then
19034 cat >>confdefs.h <<\_ACEOF
19035 #define HAVE_LARGEFILE_SUPPORT 1
19039 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19040 echo "${ECHO_T}$wx_largefile" >&6
19044 if test "x$wx_largefile" = "xyes"; then
19045 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19046 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19048 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
19050 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19051 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19052 if test "${ac_cv_sys_largefile_source+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19056 ac_cv_sys_largefile_source=no
19057 cat >conftest.$ac_ext <<_ACEOF
19060 cat confdefs.h >>conftest.$ac_ext
19061 cat >>conftest.$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19072 rm -f conftest.$ac_objext
19073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19074 (eval $ac_compile) 2>conftest.er1
19076 grep -v '^ *+' conftest.er1 >conftest.err
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } &&
19081 { ac_try='test -z "$ac_c_werror_flag"
19082 || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.$ac_ext >&5
19100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 cat >conftest.$ac_ext <<_ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 #define _LARGEFILE_SOURCE 1
19117 rm -f conftest.$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19121 grep -v '^ *+' conftest.er1 >conftest.err
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try='test -z "$ac_c_werror_flag"
19127 || test ! -s conftest.err'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; } &&
19133 { ac_try='test -s conftest.$ac_objext'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; }; then
19139 ac_cv_sys_largefile_source=1; break
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19149 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19150 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19151 if test "$ac_cv_sys_largefile_source" != no; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19160 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19161 # in glibc 2.1.3, but that breaks too many other things.
19162 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19163 echo "$as_me:$LINENO: checking for fseeko" >&5
19164 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
19165 if test "${ac_cv_func_fseeko+set}" = set; then
19166 echo $ECHO_N "(cached) $ECHO_C" >&6
19168 cat >conftest.$ac_ext <<_ACEOF
19171 cat confdefs.h >>conftest.$ac_ext
19172 cat >>conftest.$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19178 return fseeko && fseeko (stdin, 0, 0);
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>conftest.er1
19187 grep -v '^ *+' conftest.er1 >conftest.err
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try='test -z "$ac_c_werror_flag"
19193 || test ! -s conftest.err'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; } &&
19199 { ac_try='test -s conftest$ac_exeext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_cv_func_fseeko=yes
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19210 ac_cv_func_fseeko=no
19212 rm -f conftest.err conftest.$ac_objext \
19213 conftest$ac_exeext conftest.$ac_ext
19215 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
19216 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
19217 if test $ac_cv_func_fseeko = yes; then
19219 cat >>confdefs.h <<\_ACEOF
19220 #define HAVE_FSEEKO 1
19225 if test "$ac_cv_sys_largefile_source" != no; then
19226 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
19228 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
19231 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19232 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19233 if test "${ac_cv_c_bigendian+set}" = set; then
19234 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 ac_cv_c_bigendian=unknown
19237 # See if sys/param.h defines the BYTE_ORDER macro.
19238 cat >conftest.$ac_ext <<_ACEOF
19241 cat confdefs.h >>conftest.$ac_ext
19242 cat >>conftest.$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19244 #include <sys/types.h>
19245 #include <sys/param.h>
19250 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19251 bogus endian macros
19257 rm -f conftest.$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19261 grep -v '^ *+' conftest.er1 >conftest.err
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try='test -z "$ac_c_werror_flag"
19267 || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19279 # It does; now see whether it defined to BIG_ENDIAN or not.
19280 cat >conftest.$ac_ext <<_ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 #include <sys/types.h>
19287 #include <sys/param.h>
19292 #if BYTE_ORDER != BIG_ENDIAN
19299 rm -f conftest.$ac_objext
19300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19301 (eval $ac_compile) 2>conftest.er1
19303 grep -v '^ *+' conftest.er1 >conftest.err
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } &&
19308 { ac_try='test -z "$ac_c_werror_flag"
19309 || test ! -s conftest.err'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; } &&
19315 { ac_try='test -s conftest.$ac_objext'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; }; then
19321 ac_cv_c_bigendian=yes
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 ac_cv_c_bigendian=no
19328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19335 if test $ac_cv_c_bigendian = unknown; then
19336 if test "$cross_compiling" = yes; then
19337 ac_cv_c_bigendian=unknown
19339 cat >conftest.$ac_ext <<_ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19346 /* Are we little or big endian? From Harbison&Steele. */
19350 char c[sizeof (long)];
19353 exit (u.c[sizeof (long) - 1] == 1);
19356 rm -f conftest$ac_exeext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19358 (eval $ac_link) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_c_bigendian=no
19369 echo "$as_me: program exited with status $ac_status" >&5
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 ( exit $ac_status )
19374 ac_cv_c_bigendian=yes
19376 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19380 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19381 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19382 if test $ac_cv_c_bigendian = unknown; then
19383 { 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
19384 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;}
19386 if test $ac_cv_c_bigendian = yes; then
19387 cat >>confdefs.h <<\_ACEOF
19388 #define WORDS_BIGENDIAN 1
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19400 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19401 if test -z "$CXXCPP"; then
19402 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19405 # Double quotes because CXXCPP needs to be expanded
19406 for CXXCPP in "$CXX -E" "/lib/cpp"
19408 ac_preproc_ok=false
19409 for ac_cxx_preproc_warn_flag in '' yes
19411 # Use a header file that comes with gcc, so configuring glibc
19412 # with a fresh cross-compiler works.
19413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19414 # <limits.h> exists even on freestanding compilers.
19415 # On the NeXT, cc -E runs the code through the compiler's parser,
19416 # not just through cpp. "Syntax error" is here to catch this case.
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19424 # include <limits.h>
19426 # include <assert.h>
19430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19433 grep -v '^ *+' conftest.er1 >conftest.err
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } >/dev/null; then
19438 if test -s conftest.err; then
19439 ac_cpp_err=$ac_cxx_preproc_warn_flag
19440 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19447 if test -z "$ac_cpp_err"; then
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 # Broken: fails on valid input.
19456 rm -f conftest.err conftest.$ac_ext
19458 # OK, works on sane cases. Now check whether non-existent headers
19459 # can be detected and how.
19460 cat >conftest.$ac_ext <<_ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 #include <ac_nonexistent.h>
19468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19471 grep -v '^ *+' conftest.er1 >conftest.err
19473 cat conftest.err >&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } >/dev/null; then
19476 if test -s conftest.err; then
19477 ac_cpp_err=$ac_cxx_preproc_warn_flag
19478 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19485 if test -z "$ac_cpp_err"; then
19486 # Broken: success on invalid input.
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 # Passes both tests.
19496 rm -f conftest.err conftest.$ac_ext
19499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19500 rm -f conftest.err conftest.$ac_ext
19501 if $ac_preproc_ok; then
19506 ac_cv_prog_CXXCPP=$CXXCPP
19509 CXXCPP=$ac_cv_prog_CXXCPP
19511 ac_cv_prog_CXXCPP=$CXXCPP
19513 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19514 echo "${ECHO_T}$CXXCPP" >&6
19515 ac_preproc_ok=false
19516 for ac_cxx_preproc_warn_flag in '' yes
19518 # Use a header file that comes with gcc, so configuring glibc
19519 # with a fresh cross-compiler works.
19520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19521 # <limits.h> exists even on freestanding compilers.
19522 # On the NeXT, cc -E runs the code through the compiler's parser,
19523 # not just through cpp. "Syntax error" is here to catch this case.
19524 cat >conftest.$ac_ext <<_ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19531 # include <limits.h>
19533 # include <assert.h>
19537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19540 grep -v '^ *+' conftest.er1 >conftest.err
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } >/dev/null; then
19545 if test -s conftest.err; then
19546 ac_cpp_err=$ac_cxx_preproc_warn_flag
19547 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19554 if test -z "$ac_cpp_err"; then
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19560 # Broken: fails on valid input.
19563 rm -f conftest.err conftest.$ac_ext
19565 # OK, works on sane cases. Now check whether non-existent headers
19566 # can be detected and how.
19567 cat >conftest.$ac_ext <<_ACEOF
19570 cat confdefs.h >>conftest.$ac_ext
19571 cat >>conftest.$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19573 #include <ac_nonexistent.h>
19575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19578 grep -v '^ *+' conftest.er1 >conftest.err
19580 cat conftest.err >&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } >/dev/null; then
19583 if test -s conftest.err; then
19584 ac_cpp_err=$ac_cxx_preproc_warn_flag
19585 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19592 if test -z "$ac_cpp_err"; then
19593 # Broken: success on invalid input.
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19599 # Passes both tests.
19603 rm -f conftest.err conftest.$ac_ext
19606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19607 rm -f conftest.err conftest.$ac_ext
19608 if $ac_preproc_ok; then
19611 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19612 See \`config.log' for more details." >&5
19613 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19614 See \`config.log' for more details." >&2;}
19615 { (exit 1); exit 1; }; }
19619 ac_cpp='$CXXCPP $CPPFLAGS'
19620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19629 ac_cpp='$CXXCPP $CPPFLAGS'
19630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636 for ac_header in iostream
19638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19640 echo "$as_me:$LINENO: checking for $ac_header" >&5
19641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19648 # Is the header compilable?
19649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19651 cat >conftest.$ac_ext <<_ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19658 #include <$ac_header>
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19664 grep -v '^ *+' conftest.er1 >conftest.err
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_cxx_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_header_compiler=yes
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19687 ac_header_compiler=no
19689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19691 echo "${ECHO_T}$ac_header_compiler" >&6
19693 # Is the header present?
19694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19696 cat >conftest.$ac_ext <<_ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <$ac_header>
19704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19705 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19707 grep -v '^ *+' conftest.er1 >conftest.err
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } >/dev/null; then
19712 if test -s conftest.err; then
19713 ac_cpp_err=$ac_cxx_preproc_warn_flag
19714 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19721 if test -z "$ac_cpp_err"; then
19722 ac_header_preproc=yes
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19727 ac_header_preproc=no
19729 rm -f conftest.err conftest.$ac_ext
19730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19731 echo "${ECHO_T}$ac_header_preproc" >&6
19733 # So? What about this header?
19734 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19740 ac_header_preproc=yes
19743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19757 ## ----------------------------------------- ##
19758 ## Report this to wx-dev@lists.wxwidgets.org ##
19759 ## ----------------------------------------- ##
19762 sed "s/^/$as_me: WARNING: /" >&2
19765 echo "$as_me:$LINENO: checking for $ac_header" >&5
19766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19770 eval "$as_ac_Header=\$ac_header_preproc"
19772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19777 cat >>confdefs.h <<_ACEOF
19778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19786 if test "$ac_cv_header_iostream" = "yes" ; then
19789 cat >>confdefs.h <<\_ACEOF
19790 #define wxUSE_IOSTREAMH 1
19796 ac_cpp='$CPP $CPPFLAGS'
19797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19804 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19805 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19806 if test "${wx_cv_cpp_bool+set}" = set; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 ac_cpp='$CXXCPP $CPPFLAGS'
19814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19819 cat >conftest.$ac_ext <<_ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19839 rm -f conftest.$ac_objext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>conftest.er1
19843 grep -v '^ *+' conftest.er1 >conftest.err
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try='test -z "$ac_cxx_werror_flag"
19849 || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19876 ac_cpp='$CPP $CPPFLAGS'
19877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19883 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19884 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19886 if test "$wx_cv_cpp_bool" = "yes"; then
19887 cat >>confdefs.h <<\_ACEOF
19888 #define HAVE_BOOL 1
19895 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19896 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19897 if test "${wx_cv_explicit+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 ac_cpp='$CXXCPP $CPPFLAGS'
19905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19910 cat >conftest.$ac_ext <<_ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19917 class Foo { public: explicit Foo(int) {} };
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19933 grep -v '^ *+' conftest.er1 >conftest.err
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19952 cat >conftest.$ac_ext <<_ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19959 class Foo { public: explicit Foo(int) {} };
19960 static void TakeFoo(const Foo& foo) { }
19973 rm -f conftest.$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19977 grep -v '^ *+' conftest.er1 >conftest.err
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_cxx_werror_flag"
19983 || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
20003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20006 echo "$as_me: failed program was:" >&5
20007 sed 's/^/| /' conftest.$ac_ext >&5
20012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20015 ac_cpp='$CPP $CPPFLAGS'
20016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20022 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20023 echo "${ECHO_T}$wx_cv_explicit" >&6
20025 if test "$wx_cv_explicit" = "yes"; then
20026 cat >>confdefs.h <<\_ACEOF
20027 #define HAVE_EXPLICIT 1
20033 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20034 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20035 if test "${ac_cv_cxx_const_cast+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20041 ac_cpp='$CXXCPP $CPPFLAGS'
20042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20046 cat >conftest.$ac_ext <<_ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20056 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20061 rm -f conftest.$ac_objext
20062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20063 (eval $ac_compile) 2>conftest.er1
20065 grep -v '^ *+' conftest.er1 >conftest.err
20067 cat conftest.err >&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } &&
20070 { ac_try='test -z "$ac_cxx_werror_flag"
20071 || test ! -s conftest.err'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083 ac_cv_cxx_const_cast=yes
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20088 ac_cv_cxx_const_cast=no
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20092 ac_cpp='$CPP $CPPFLAGS'
20093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20099 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20100 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20101 if test "$ac_cv_cxx_const_cast" = yes; then
20103 cat >>confdefs.h <<\_ACEOF
20104 #define HAVE_CONST_CAST
20109 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20110 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20111 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 ac_cpp='$CXXCPP $CPPFLAGS'
20118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20122 cat >conftest.$ac_ext <<_ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 #include <typeinfo>
20129 class Base { public : Base () {} virtual void f () = 0;};
20130 class Derived : public Base { public : Derived () {} virtual void f () {} };
20131 class Unrelated { public : Unrelated () {} };
20132 int g (Unrelated&) { return 0; }
20137 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20142 rm -f conftest.$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20146 grep -v '^ *+' conftest.er1 >conftest.err
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_cxx_werror_flag"
20152 || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_cxx_reinterpret_cast=yes
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20169 ac_cv_cxx_reinterpret_cast=no
20171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20173 ac_cpp='$CPP $CPPFLAGS'
20174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20180 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20181 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20182 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20184 cat >>confdefs.h <<\_ACEOF
20185 #define HAVE_REINTERPRET_CAST
20190 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20191 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20192 if test "${ac_cv_cxx_static_cast+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 ac_cpp='$CXXCPP $CPPFLAGS'
20199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20203 cat >conftest.$ac_ext <<_ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 #include <typeinfo>
20210 class Base { public : Base () {} virtual void f () = 0; };
20211 class Derived : public Base { public : Derived () {} virtual void f () {} };
20212 int g (Derived&) { return 0; }
20217 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
20222 rm -f conftest.$ac_objext
20223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20224 (eval $ac_compile) 2>conftest.er1
20226 grep -v '^ *+' conftest.er1 >conftest.err
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } &&
20231 { ac_try='test -z "$ac_cxx_werror_flag"
20232 || test ! -s conftest.err'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; } &&
20238 { ac_try='test -s conftest.$ac_objext'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; }; then
20244 ac_cv_cxx_static_cast=yes
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20249 ac_cv_cxx_static_cast=no
20251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20253 ac_cpp='$CPP $CPPFLAGS'
20254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20260 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
20261 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
20262 if test "$ac_cv_cxx_static_cast" = yes; then
20264 cat >>confdefs.h <<\_ACEOF
20265 #define HAVE_STATIC_CAST
20271 if test "$wxUSE_STL" = "yes"; then
20273 ac_cpp='$CXXCPP $CPPFLAGS'
20274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20279 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
20280 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
20281 cat >conftest.$ac_ext <<_ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20288 #include <functional>
20289 #include <algorithm>
20295 std::vector<int> moo;
20296 std::list<int> foo;
20297 std::vector<int>::iterator it =
20298 std::find_if(moo.begin(), moo.end(),
20299 std::bind2nd(std::less<int>(), 3));
20304 rm -f conftest.$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306 (eval $ac_compile) 2>conftest.er1
20308 grep -v '^ *+' conftest.er1 >conftest.err
20310 cat conftest.err >&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try='test -z "$ac_cxx_werror_flag"
20314 || test ! -s conftest.err'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try='test -s conftest.$ac_objext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 echo "$as_me:$LINENO: result: yes" >&5
20327 echo "${ECHO_T}yes" >&6
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20332 echo "$as_me:$LINENO: result: no" >&5
20333 echo "${ECHO_T}no" >&6
20334 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20335 echo "$as_me: error: Basic STL functionality missing" >&2;}
20336 { (exit 1); exit 1; }; }
20338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20340 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20341 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20342 cat >conftest.$ac_ext <<_ACEOF
20345 cat confdefs.h >>conftest.$ac_ext
20346 cat >>conftest.$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20357 rm -f conftest.$ac_objext
20358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20359 (eval $ac_compile) 2>conftest.er1
20361 grep -v '^ *+' conftest.er1 >conftest.err
20363 cat conftest.err >&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } &&
20366 { ac_try='test -z "$ac_cxx_werror_flag"
20367 || test ! -s conftest.err'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; } &&
20373 { ac_try='test -s conftest.$ac_objext'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; }; then
20379 echo "$as_me:$LINENO: result: yes" >&5
20380 echo "${ECHO_T}yes" >&6
20381 cat >>confdefs.h <<\_ACEOF
20382 #define HAVE_STD_WSTRING 1
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20389 echo "$as_me:$LINENO: result: no" >&5
20390 echo "${ECHO_T}no" >&6
20392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20394 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20395 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20396 cat >conftest.$ac_ext <<_ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20406 std::string foo, bar;
20408 foo.compare(1, 1, bar);
20409 foo.compare(1, 1, bar, 1, 1);
20411 foo.compare(1, 1, "");
20412 foo.compare(1, 1, "", 2);
20417 rm -f conftest.$ac_objext
20418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20419 (eval $ac_compile) 2>conftest.er1
20421 grep -v '^ *+' conftest.er1 >conftest.err
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } &&
20426 { ac_try='test -z "$ac_cxx_werror_flag"
20427 || test ! -s conftest.err'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; } &&
20433 { ac_try='test -s conftest.$ac_objext'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; }; then
20439 echo "$as_me:$LINENO: result: yes" >&5
20440 echo "${ECHO_T}yes" >&6
20441 cat >>confdefs.h <<\_ACEOF
20442 #define HAVE_STD_STRING_COMPARE 1
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20449 echo "$as_me:$LINENO: result: no" >&5
20450 echo "${ECHO_T}no" >&6
20452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20454 if test "${ac_cv_header_hash_map+set}" = set; then
20455 echo "$as_me:$LINENO: checking for hash_map" >&5
20456 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20457 if test "${ac_cv_header_hash_map+set}" = set; then
20458 echo $ECHO_N "(cached) $ECHO_C" >&6
20460 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20461 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20463 # Is the header compilable?
20464 echo "$as_me:$LINENO: checking hash_map usability" >&5
20465 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20466 cat >conftest.$ac_ext <<_ACEOF
20469 cat confdefs.h >>conftest.$ac_ext
20470 cat >>conftest.$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20472 $ac_includes_default
20473 #include <hash_map>
20475 rm -f conftest.$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20479 grep -v '^ *+' conftest.er1 >conftest.err
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -z "$ac_cxx_werror_flag"
20485 || test ! -s conftest.err'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; } &&
20491 { ac_try='test -s conftest.$ac_objext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_header_compiler=yes
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20502 ac_header_compiler=no
20504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20506 echo "${ECHO_T}$ac_header_compiler" >&6
20508 # Is the header present?
20509 echo "$as_me:$LINENO: checking hash_map presence" >&5
20510 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20511 cat >conftest.$ac_ext <<_ACEOF
20514 cat confdefs.h >>conftest.$ac_ext
20515 cat >>conftest.$ac_ext <<_ACEOF
20516 /* end confdefs.h. */
20517 #include <hash_map>
20519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20522 grep -v '^ *+' conftest.er1 >conftest.err
20524 cat conftest.err >&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } >/dev/null; then
20527 if test -s conftest.err; then
20528 ac_cpp_err=$ac_cxx_preproc_warn_flag
20529 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20536 if test -z "$ac_cpp_err"; then
20537 ac_header_preproc=yes
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 ac_header_preproc=no
20544 rm -f conftest.err conftest.$ac_ext
20545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20546 echo "${ECHO_T}$ac_header_preproc" >&6
20548 # So? What about this header?
20549 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20551 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20552 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20553 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20554 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20555 ac_header_preproc=yes
20558 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20559 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20560 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20561 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20562 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20563 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20564 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20565 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20566 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20567 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20568 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20569 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20572 ## ----------------------------------------- ##
20573 ## Report this to wx-dev@lists.wxwidgets.org ##
20574 ## ----------------------------------------- ##
20577 sed "s/^/$as_me: WARNING: /" >&2
20580 echo "$as_me:$LINENO: checking for hash_map" >&5
20581 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20582 if test "${ac_cv_header_hash_map+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 ac_cv_header_hash_map=$ac_header_preproc
20587 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20588 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20591 if test $ac_cv_header_hash_map = yes; then
20592 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20593 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20594 cat >conftest.$ac_ext <<_ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 #include <hash_map>
20601 #include <hash_set>
20605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20611 rm -f conftest.$ac_objext
20612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20613 (eval $ac_compile) 2>conftest.er1
20615 grep -v '^ *+' conftest.er1 >conftest.err
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } &&
20620 { ac_try='test -z "$ac_cxx_werror_flag"
20621 || test ! -s conftest.err'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; } &&
20627 { ac_try='test -s conftest.$ac_objext'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; }; then
20633 echo "$as_me:$LINENO: result: yes" >&5
20634 echo "${ECHO_T}yes" >&6
20635 cat >>confdefs.h <<\_ACEOF
20636 #define HAVE_HASH_MAP 1
20639 cat >>confdefs.h <<\_ACEOF
20640 #define HAVE_STD_HASH_MAP 1
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20647 echo "$as_me:$LINENO: result: no" >&5
20648 echo "${ECHO_T}no" >&6
20650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20656 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20657 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20660 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20663 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20665 # Is the header compilable?
20666 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20667 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 #include <ext/hash_map>
20677 rm -f conftest.$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20681 grep -v '^ *+' conftest.er1 >conftest.err
20683 cat conftest.err >&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try='test -z "$ac_cxx_werror_flag"
20687 || test ! -s conftest.err'
20688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20689 (eval $ac_try) 2>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); }; } &&
20693 { ac_try='test -s conftest.$ac_objext'
20694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20695 (eval $ac_try) 2>&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); }; }; then
20699 ac_header_compiler=yes
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20704 ac_header_compiler=no
20706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20708 echo "${ECHO_T}$ac_header_compiler" >&6
20710 # Is the header present?
20711 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20712 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20713 cat >conftest.$ac_ext <<_ACEOF
20716 cat confdefs.h >>conftest.$ac_ext
20717 cat >>conftest.$ac_ext <<_ACEOF
20718 /* end confdefs.h. */
20719 #include <ext/hash_map>
20721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20724 grep -v '^ *+' conftest.er1 >conftest.err
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } >/dev/null; then
20729 if test -s conftest.err; then
20730 ac_cpp_err=$ac_cxx_preproc_warn_flag
20731 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20738 if test -z "$ac_cpp_err"; then
20739 ac_header_preproc=yes
20741 echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.$ac_ext >&5
20744 ac_header_preproc=no
20746 rm -f conftest.err conftest.$ac_ext
20747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20748 echo "${ECHO_T}$ac_header_preproc" >&6
20750 # So? What about this header?
20751 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20753 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20754 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20755 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20756 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20757 ac_header_preproc=yes
20760 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20761 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20762 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20763 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20764 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20765 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20766 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20767 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20768 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20769 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20770 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20771 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20774 ## ----------------------------------------- ##
20775 ## Report this to wx-dev@lists.wxwidgets.org ##
20776 ## ----------------------------------------- ##
20779 sed "s/^/$as_me: WARNING: /" >&2
20782 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20783 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20784 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20785 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 ac_cv_header_ext_hash_map=$ac_header_preproc
20789 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20790 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20793 if test $ac_cv_header_ext_hash_map = yes; then
20794 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20795 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20796 cat >conftest.$ac_ext <<_ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 #include <ext/hash_map>
20803 #include <ext/hash_set>
20807 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20808 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20817 grep -v '^ *+' conftest.er1 >conftest.err
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try='test -z "$ac_cxx_werror_flag"
20823 || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 echo "$as_me:$LINENO: result: yes" >&5
20836 echo "${ECHO_T}yes" >&6
20837 cat >>confdefs.h <<\_ACEOF
20838 #define HAVE_EXT_HASH_MAP 1
20841 cat >>confdefs.h <<\_ACEOF
20842 #define HAVE_GNU_CXX_HASH_MAP 1
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20849 echo "$as_me:$LINENO: result: no" >&5
20850 echo "${ECHO_T}no" >&6
20852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20859 ac_cpp='$CPP $CPPFLAGS'
20860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20868 /usr/local/include \
20870 /usr/Motif-2.1/include \
20871 /usr/Motif-1.2/include \
20872 /usr/include/Motif1.2 \
20873 /opt/xpm/include/X11 \
20874 /opt/GBxpm/include/ \
20875 /opt/GBxpm/X11/include/ \
20878 /usr/openwin/include \
20882 /usr/X11R6/include \
20883 /usr/X11R6.4/include \
20884 /usr/X11R5/include \
20885 /usr/X11R4/include \
20887 /usr/include/X11R6 \
20888 /usr/include/X11R5 \
20889 /usr/include/X11R4 \
20891 /usr/local/X11R6/include \
20892 /usr/local/X11R5/include \
20893 /usr/local/X11R4/include \
20895 /usr/local/include/X11R6 \
20896 /usr/local/include/X11R5 \
20897 /usr/local/include/X11R4 \
20901 /usr/local/X11/include \
20902 /usr/local/include/X11 \
20904 /usr/X386/include \
20905 /usr/x386/include \
20906 /usr/XFree86/include/X11 \
20908 X:/XFree86/include \
20909 X:/XFree86/include/X11 \
20912 /usr/local/include/gtk \
20913 /usr/include/glib \
20914 /usr/local/include/glib \
20917 /usr/local/include/qt \
20919 /usr/local/arm/3.3.2/include \
20921 /usr/include/windows \
20922 /usr/include/wine \
20923 /usr/local/include/wine \
20925 /usr/unsupported/include \
20926 /usr/athena/include \
20927 /usr/local/x11r5/include \
20928 /usr/lpp/Xamples/include \
20930 /usr/openwin/share/include"
20932 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20935 cat >confcache <<\_ACEOF
20936 # This file is a shell script that caches the results of configure
20937 # tests run on this system so they can be shared between configure
20938 # scripts and configure runs, see configure's option --config-cache.
20939 # It is not useful on other systems. If it contains results you don't
20940 # want to keep, you may remove or edit it.
20942 # config.status only pays attention to the cache file if you give it
20943 # the --recheck option to rerun configure.
20945 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20946 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20947 # following values.
20951 # The following way of writing the cache mishandles newlines in values,
20952 # but we know of no workaround that is simple, portable, and efficient.
20953 # So, don't put newlines in cache variables' values.
20954 # Ultrix sh set writes to stderr and can't be redirected directly,
20955 # and sets the high bit in the cache file unless we assign to the vars.
20958 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20960 # `set' does not quote correctly, so add quotes (double-quote
20961 # substitution turns \\\\ into \\, and sed turns \\ into \).
20964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20967 # `set' quotes correctly as required by POSIX, so do not add quotes.
20969 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20978 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20980 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20981 if test -w $cache_file; then
20982 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20983 cat confcache >$cache_file
20985 echo "not updating unwritable cache $cache_file"
20990 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20991 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20992 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20993 if test "${wx_cv_lib_glibc21+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20997 cat >conftest.$ac_ext <<_ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 #include <features.h>
21008 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21009 #error not glibc2.1
21016 rm -f conftest.$ac_objext
21017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21018 (eval $ac_compile) 2>conftest.er1
21020 grep -v '^ *+' conftest.er1 >conftest.err
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } &&
21025 { ac_try='test -z "$ac_c_werror_flag"
21026 || test ! -s conftest.err'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; } &&
21032 { ac_try='test -s conftest.$ac_objext'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21039 wx_cv_lib_glibc21=yes
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21046 wx_cv_lib_glibc21=no
21050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21053 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21054 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21055 if test "$wx_cv_lib_glibc21" = "yes"; then
21056 cat >>confdefs.h <<\_ACEOF
21057 #define wxHAVE_GLIBC2 1
21063 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21064 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21065 cat >>confdefs.h <<\_ACEOF
21066 #define _GNU_SOURCE 1
21074 if test "$wxUSE_REGEX" != "no"; then
21075 cat >>confdefs.h <<\_ACEOF
21076 #define wxUSE_REGEX 1
21080 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21081 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21082 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21083 wxUSE_REGEX=builtin
21086 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21087 if test "${ac_cv_header_regex_h+set}" = set; then
21088 echo "$as_me:$LINENO: checking for regex.h" >&5
21089 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21090 if test "${ac_cv_header_regex_h+set}" = set; then
21091 echo $ECHO_N "(cached) $ECHO_C" >&6
21093 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21094 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21096 # Is the header compilable?
21097 echo "$as_me:$LINENO: checking regex.h usability" >&5
21098 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21099 cat >conftest.$ac_ext <<_ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21108 rm -f conftest.$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>conftest.er1
21112 grep -v '^ *+' conftest.er1 >conftest.err
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_c_werror_flag"
21118 || test ! -s conftest.err'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; } &&
21124 { ac_try='test -s conftest.$ac_objext'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 ac_header_compiler=yes
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.$ac_ext >&5
21135 ac_header_compiler=no
21137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21139 echo "${ECHO_T}$ac_header_compiler" >&6
21141 # Is the header present?
21142 echo "$as_me:$LINENO: checking regex.h presence" >&5
21143 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21144 cat >conftest.$ac_ext <<_ACEOF
21147 cat confdefs.h >>conftest.$ac_ext
21148 cat >>conftest.$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21155 grep -v '^ *+' conftest.er1 >conftest.err
21157 cat conftest.err >&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } >/dev/null; then
21160 if test -s conftest.err; then
21161 ac_cpp_err=$ac_c_preproc_warn_flag
21162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21169 if test -z "$ac_cpp_err"; then
21170 ac_header_preproc=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21175 ac_header_preproc=no
21177 rm -f conftest.err conftest.$ac_ext
21178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21179 echo "${ECHO_T}$ac_header_preproc" >&6
21181 # So? What about this header?
21182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21184 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21185 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21186 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21187 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21188 ac_header_preproc=yes
21191 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21192 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21193 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21194 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21196 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21197 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21198 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21199 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21200 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21201 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21202 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21205 ## ----------------------------------------- ##
21206 ## Report this to wx-dev@lists.wxwidgets.org ##
21207 ## ----------------------------------------- ##
21210 sed "s/^/$as_me: WARNING: /" >&2
21213 echo "$as_me:$LINENO: checking for regex.h" >&5
21214 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21215 if test "${ac_cv_header_regex_h+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21218 ac_cv_header_regex_h=$ac_header_preproc
21220 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21221 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21224 if test $ac_cv_header_regex_h = yes; then
21226 for ac_func in regcomp
21228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21229 echo "$as_me:$LINENO: checking for $ac_func" >&5
21230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21231 if eval "test \"\${$as_ac_var+set}\" = set"; then
21232 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 cat >conftest.$ac_ext <<_ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21242 #define $ac_func innocuous_$ac_func
21244 /* System header to define __stub macros and hopefully few prototypes,
21245 which can conflict with char $ac_func (); below.
21246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21247 <limits.h> exists even on freestanding compilers. */
21250 # include <limits.h>
21252 # include <assert.h>
21257 /* Override any gcc2 internal prototype to avoid an error. */
21262 /* We use char because int might match the return type of a gcc2
21263 builtin and then its argument prototype would still apply. */
21265 /* The GNU C library defines this for functions which it implements
21266 to always fail with ENOSYS. Some functions are actually named
21267 something starting with __ and the normal name is an alias. */
21268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21271 char (*f) () = $ac_func;
21280 return f != $ac_func;
21285 rm -f conftest.$ac_objext conftest$ac_exeext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21287 (eval $ac_link) 2>conftest.er1
21289 grep -v '^ *+' conftest.er1 >conftest.err
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try='test -z "$ac_c_werror_flag"
21295 || test ! -s conftest.err'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; } &&
21301 { ac_try='test -s conftest$ac_exeext'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; }; then
21307 eval "$as_ac_var=yes"
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.$ac_ext >&5
21312 eval "$as_ac_var=no"
21314 rm -f conftest.err conftest.$ac_objext \
21315 conftest$ac_exeext conftest.$ac_ext
21317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21319 if test `eval echo '${'$as_ac_var'}'` = yes; then
21320 cat >>confdefs.h <<_ACEOF
21321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21331 if test "x$ac_cv_func_regcomp" != "xyes"; then
21332 if test "$wxUSE_REGEX" = "sys" ; then
21333 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21334 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21335 { (exit 1); exit 1; }; }
21337 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21338 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21339 wxUSE_REGEX=builtin
21343 cat >>confdefs.h <<\_ACEOF
21344 #define WX_NO_REGEX_ADVANCED 1
21353 if test "$wxUSE_ZLIB" != "no" ; then
21354 cat >>confdefs.h <<\_ACEOF
21355 #define wxUSE_ZLIB 1
21359 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21360 if test "$USE_DARWIN" = 1; then
21361 system_zlib_h_ok="yes"
21363 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21364 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21365 if test "${ac_cv_header_zlib_h+set}" = set; then
21366 echo $ECHO_N "(cached) $ECHO_C" >&6
21368 if test "$cross_compiling" = yes; then
21369 unset ac_cv_header_zlib_h
21372 cat >conftest.$ac_ext <<_ACEOF
21375 cat confdefs.h >>conftest.$ac_ext
21376 cat >>conftest.$ac_ext <<_ACEOF
21377 /* end confdefs.h. */
21384 FILE *f=fopen("conftestval", "w");
21387 ZLIB_VERSION[0] == '1' &&
21388 (ZLIB_VERSION[2] > '1' ||
21389 (ZLIB_VERSION[2] == '1' &&
21390 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21395 rm -f conftest$ac_exeext
21396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21397 (eval $ac_link) 2>&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 ac_cv_header_zlib_h=`cat conftestval`
21408 echo "$as_me: program exited with status $ac_status" >&5
21409 echo "$as_me: failed program was:" >&5
21410 sed 's/^/| /' conftest.$ac_ext >&5
21412 ( exit $ac_status )
21413 ac_cv_header_zlib_h=no
21415 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21419 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21420 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21421 if test "${ac_cv_header_zlib_h+set}" = set; then
21422 echo "$as_me:$LINENO: checking for zlib.h" >&5
21423 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21424 if test "${ac_cv_header_zlib_h+set}" = set; then
21425 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21428 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21430 # Is the header compilable?
21431 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21432 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21433 cat >conftest.$ac_ext <<_ACEOF
21436 cat confdefs.h >>conftest.$ac_ext
21437 cat >>conftest.$ac_ext <<_ACEOF
21438 /* end confdefs.h. */
21439 $ac_includes_default
21442 rm -f conftest.$ac_objext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21444 (eval $ac_compile) 2>conftest.er1
21446 grep -v '^ *+' conftest.er1 >conftest.err
21448 cat conftest.err >&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -z "$ac_c_werror_flag"
21452 || test ! -s conftest.err'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; } &&
21458 { ac_try='test -s conftest.$ac_objext'
21459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21460 (eval $ac_try) 2>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); }; }; then
21464 ac_header_compiler=yes
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21469 ac_header_compiler=no
21471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21473 echo "${ECHO_T}$ac_header_compiler" >&6
21475 # Is the header present?
21476 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21477 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21478 cat >conftest.$ac_ext <<_ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21489 grep -v '^ *+' conftest.er1 >conftest.err
21491 cat conftest.err >&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } >/dev/null; then
21494 if test -s conftest.err; then
21495 ac_cpp_err=$ac_c_preproc_warn_flag
21496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21503 if test -z "$ac_cpp_err"; then
21504 ac_header_preproc=yes
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.$ac_ext >&5
21509 ac_header_preproc=no
21511 rm -f conftest.err conftest.$ac_ext
21512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21513 echo "${ECHO_T}$ac_header_preproc" >&6
21515 # So? What about this header?
21516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21518 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21519 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21520 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21521 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21522 ac_header_preproc=yes
21525 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21526 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21527 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21528 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21529 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21530 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21531 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21532 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21533 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21534 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21535 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21536 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21539 ## ----------------------------------------- ##
21540 ## Report this to wx-dev@lists.wxwidgets.org ##
21541 ## ----------------------------------------- ##
21544 sed "s/^/$as_me: WARNING: /" >&2
21547 echo "$as_me:$LINENO: checking for zlib.h" >&5
21548 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21549 if test "${ac_cv_header_zlib_h+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 ac_cv_header_zlib_h=$ac_header_preproc
21554 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21555 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21561 system_zlib_h_ok=$ac_cv_header_zlib_h
21564 if test "$system_zlib_h_ok" = "yes"; then
21565 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21566 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21567 if test "${ac_cv_lib_z_deflate+set}" = set; then
21568 echo $ECHO_N "(cached) $ECHO_C" >&6
21570 ac_check_lib_save_LIBS=$LIBS
21572 cat >conftest.$ac_ext <<_ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21579 /* Override any gcc2 internal prototype to avoid an error. */
21583 /* We use char because int might match the return type of a gcc2
21584 builtin and then its argument prototype would still apply. */
21594 rm -f conftest.$ac_objext conftest$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>conftest.er1
21598 grep -v '^ *+' conftest.er1 >conftest.err
21600 cat conftest.err >&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } &&
21603 { ac_try='test -z "$ac_c_werror_flag"
21604 || test ! -s conftest.err'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; } &&
21610 { ac_try='test -s conftest$ac_exeext'
21611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21612 (eval $ac_try) 2>&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); }; }; then
21616 ac_cv_lib_z_deflate=yes
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.$ac_ext >&5
21621 ac_cv_lib_z_deflate=no
21623 rm -f conftest.err conftest.$ac_objext \
21624 conftest$ac_exeext conftest.$ac_ext
21625 LIBS=$ac_check_lib_save_LIBS
21627 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21628 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21629 if test $ac_cv_lib_z_deflate = yes; then
21635 if test "x$ZLIB_LINK" = "x" ; then
21636 if test "$wxUSE_ZLIB" = "sys" ; then
21637 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21638 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21639 { (exit 1); exit 1; }; }
21641 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21642 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21653 if test "$wxUSE_LIBPNG" != "no" ; then
21654 cat >>confdefs.h <<\_ACEOF
21655 #define wxUSE_LIBPNG 1
21659 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21660 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21661 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21665 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21666 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21667 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21668 wxUSE_LIBPNG=builtin
21671 if test "$wxUSE_MGL" != 1 ; then
21672 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21673 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21674 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21675 if test "${ac_cv_header_png_h+set}" = set; then
21676 echo $ECHO_N "(cached) $ECHO_C" >&6
21678 if test "$cross_compiling" = yes; then
21679 unset ac_cv_header_png_h
21682 cat >conftest.$ac_ext <<_ACEOF
21685 cat confdefs.h >>conftest.$ac_ext
21686 cat >>conftest.$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21694 FILE *f=fopen("conftestval", "w");
21697 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21702 rm -f conftest$ac_exeext
21703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21704 (eval $ac_link) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_cv_header_png_h=`cat conftestval`
21715 echo "$as_me: program exited with status $ac_status" >&5
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 ( exit $ac_status )
21720 ac_cv_header_png_h=no
21722 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21726 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21727 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21728 if test "${ac_cv_header_png_h+set}" = set; then
21729 echo "$as_me:$LINENO: checking for png.h" >&5
21730 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21731 if test "${ac_cv_header_png_h+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21735 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21737 # Is the header compilable?
21738 echo "$as_me:$LINENO: checking png.h usability" >&5
21739 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21740 cat >conftest.$ac_ext <<_ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21749 rm -f conftest.$ac_objext
21750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21751 (eval $ac_compile) 2>conftest.er1
21753 grep -v '^ *+' conftest.er1 >conftest.err
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try='test -z "$ac_c_werror_flag"
21759 || test ! -s conftest.err'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try='test -s conftest.$ac_objext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 ac_header_compiler=yes
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21776 ac_header_compiler=no
21778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21780 echo "${ECHO_T}$ac_header_compiler" >&6
21782 # Is the header present?
21783 echo "$as_me:$LINENO: checking png.h presence" >&5
21784 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21785 cat >conftest.$ac_ext <<_ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21796 grep -v '^ *+' conftest.er1 >conftest.err
21798 cat conftest.err >&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } >/dev/null; then
21801 if test -s conftest.err; then
21802 ac_cpp_err=$ac_c_preproc_warn_flag
21803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21810 if test -z "$ac_cpp_err"; then
21811 ac_header_preproc=yes
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21816 ac_header_preproc=no
21818 rm -f conftest.err conftest.$ac_ext
21819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21820 echo "${ECHO_T}$ac_header_preproc" >&6
21822 # So? What about this header?
21823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21825 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21826 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21827 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21828 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21829 ac_header_preproc=yes
21832 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21833 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21834 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21835 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21836 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21837 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21838 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21839 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21840 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21841 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21842 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21843 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21846 ## ----------------------------------------- ##
21847 ## Report this to wx-dev@lists.wxwidgets.org ##
21848 ## ----------------------------------------- ##
21851 sed "s/^/$as_me: WARNING: /" >&2
21854 echo "$as_me:$LINENO: checking for png.h" >&5
21855 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21856 if test "${ac_cv_header_png_h+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 ac_cv_header_png_h=$ac_header_preproc
21861 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21862 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21868 if test "$ac_cv_header_png_h" = "yes"; then
21869 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21870 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21871 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21872 echo $ECHO_N "(cached) $ECHO_C" >&6
21874 ac_check_lib_save_LIBS=$LIBS
21875 LIBS="-lpng -lz -lm $LIBS"
21876 cat >conftest.$ac_ext <<_ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21883 /* Override any gcc2 internal prototype to avoid an error. */
21887 /* We use char because int might match the return type of a gcc2
21888 builtin and then its argument prototype would still apply. */
21889 char png_check_sig ();
21898 rm -f conftest.$ac_objext conftest$ac_exeext
21899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21900 (eval $ac_link) 2>conftest.er1
21902 grep -v '^ *+' conftest.er1 >conftest.err
21904 cat conftest.err >&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } &&
21907 { ac_try='test -z "$ac_c_werror_flag"
21908 || test ! -s conftest.err'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; } &&
21914 { ac_try='test -s conftest$ac_exeext'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; }; then
21920 ac_cv_lib_png_png_check_sig=yes
21922 echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.$ac_ext >&5
21925 ac_cv_lib_png_png_check_sig=no
21927 rm -f conftest.err conftest.$ac_objext \
21928 conftest$ac_exeext conftest.$ac_ext
21929 LIBS=$ac_check_lib_save_LIBS
21931 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21932 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21933 if test $ac_cv_lib_png_png_check_sig = yes; then
21934 PNG_LINK=" -lpng -lz"
21939 if test "x$PNG_LINK" = "x" ; then
21940 if test "$wxUSE_LIBPNG" = "sys" ; then
21941 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21942 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21943 { (exit 1); exit 1; }; }
21945 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21946 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21947 wxUSE_LIBPNG=builtin
21955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21960 if test "$wxUSE_LIBJPEG" != "no" ; then
21961 cat >>confdefs.h <<\_ACEOF
21962 #define wxUSE_LIBJPEG 1
21966 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21967 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21968 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21972 if test "$wxUSE_MGL" != 1 ; then
21973 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21974 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21975 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21976 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 cat >conftest.$ac_ext <<_ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21986 #undef HAVE_STDLIB_H
21988 #include <jpeglib.h>
21999 rm -f conftest.$ac_objext
22000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22001 (eval $ac_compile) 2>conftest.er1
22003 grep -v '^ *+' conftest.er1 >conftest.err
22005 cat conftest.err >&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } &&
22008 { ac_try='test -z "$ac_c_werror_flag"
22009 || test ! -s conftest.err'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; } &&
22015 { ac_try='test -s conftest.$ac_objext'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; }; then
22021 ac_cv_header_jpeglib_h=yes
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22026 ac_cv_header_jpeglib_h=no
22029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22033 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22034 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22036 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22037 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22038 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22039 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22040 echo $ECHO_N "(cached) $ECHO_C" >&6
22042 ac_check_lib_save_LIBS=$LIBS
22043 LIBS="-ljpeg $LIBS"
22044 cat >conftest.$ac_ext <<_ACEOF
22047 cat confdefs.h >>conftest.$ac_ext
22048 cat >>conftest.$ac_ext <<_ACEOF
22049 /* end confdefs.h. */
22051 /* Override any gcc2 internal prototype to avoid an error. */
22055 /* We use char because int might match the return type of a gcc2
22056 builtin and then its argument prototype would still apply. */
22057 char jpeg_read_header ();
22061 jpeg_read_header ();
22066 rm -f conftest.$ac_objext conftest$ac_exeext
22067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22068 (eval $ac_link) 2>conftest.er1
22070 grep -v '^ *+' conftest.er1 >conftest.err
22072 cat conftest.err >&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); } &&
22075 { ac_try='test -z "$ac_c_werror_flag"
22076 || test ! -s conftest.err'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; } &&
22082 { ac_try='test -s conftest$ac_exeext'
22083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22084 (eval $ac_try) 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); }; }; then
22088 ac_cv_lib_jpeg_jpeg_read_header=yes
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.$ac_ext >&5
22093 ac_cv_lib_jpeg_jpeg_read_header=no
22095 rm -f conftest.err conftest.$ac_objext \
22096 conftest$ac_exeext conftest.$ac_ext
22097 LIBS=$ac_check_lib_save_LIBS
22099 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22100 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22101 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22102 JPEG_LINK=" -ljpeg"
22107 if test "x$JPEG_LINK" = "x" ; then
22108 if test "$wxUSE_LIBJPEG" = "sys" ; then
22109 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22110 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22111 { (exit 1); exit 1; }; }
22113 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22114 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22115 wxUSE_LIBJPEG=builtin
22126 TIFF_PREREQ_LINKS=-lm
22127 if test "$wxUSE_LIBTIFF" != "no" ; then
22128 cat >>confdefs.h <<\_ACEOF
22129 #define wxUSE_LIBTIFF 1
22133 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22134 if test "$wxUSE_LIBJPEG" = "sys"; then
22135 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22137 if test "$wxUSE_ZLIB" = "sys"; then
22138 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22140 if test "${ac_cv_header_tiffio_h+set}" = set; then
22141 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22142 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22143 if test "${ac_cv_header_tiffio_h+set}" = set; then
22144 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22147 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22149 # Is the header compilable?
22150 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22151 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22152 cat >conftest.$ac_ext <<_ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 $ac_includes_default
22159 #include <tiffio.h>
22161 rm -f conftest.$ac_objext
22162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22163 (eval $ac_compile) 2>conftest.er1
22165 grep -v '^ *+' conftest.er1 >conftest.err
22167 cat conftest.err >&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } &&
22170 { ac_try='test -z "$ac_c_werror_flag"
22171 || test ! -s conftest.err'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; } &&
22177 { ac_try='test -s conftest.$ac_objext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22183 ac_header_compiler=yes
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22188 ac_header_compiler=no
22190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22192 echo "${ECHO_T}$ac_header_compiler" >&6
22194 # Is the header present?
22195 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22196 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22197 cat >conftest.$ac_ext <<_ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 #include <tiffio.h>
22205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22208 grep -v '^ *+' conftest.er1 >conftest.err
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } >/dev/null; then
22213 if test -s conftest.err; then
22214 ac_cpp_err=$ac_c_preproc_warn_flag
22215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22222 if test -z "$ac_cpp_err"; then
22223 ac_header_preproc=yes
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22228 ac_header_preproc=no
22230 rm -f conftest.err conftest.$ac_ext
22231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22232 echo "${ECHO_T}$ac_header_preproc" >&6
22234 # So? What about this header?
22235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22237 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
22238 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
22240 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
22241 ac_header_preproc=yes
22244 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
22245 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
22246 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
22247 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
22248 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
22249 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
22250 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
22251 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
22252 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
22253 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
22254 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
22255 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
22258 ## ----------------------------------------- ##
22259 ## Report this to wx-dev@lists.wxwidgets.org ##
22260 ## ----------------------------------------- ##
22263 sed "s/^/$as_me: WARNING: /" >&2
22266 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22267 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22268 if test "${ac_cv_header_tiffio_h+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 ac_cv_header_tiffio_h=$ac_header_preproc
22273 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22274 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22277 if test $ac_cv_header_tiffio_h = yes; then
22279 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
22280 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
22281 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 ac_check_lib_save_LIBS=$LIBS
22285 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22286 cat >conftest.$ac_ext <<_ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22293 /* Override any gcc2 internal prototype to avoid an error. */
22297 /* We use char because int might match the return type of a gcc2
22298 builtin and then its argument prototype would still apply. */
22308 rm -f conftest.$ac_objext conftest$ac_exeext
22309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22310 (eval $ac_link) 2>conftest.er1
22312 grep -v '^ *+' conftest.er1 >conftest.err
22314 cat conftest.err >&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } &&
22317 { ac_try='test -z "$ac_c_werror_flag"
22318 || test ! -s conftest.err'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; } &&
22324 { ac_try='test -s conftest$ac_exeext'
22325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22326 (eval $ac_try) 2>&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); }; }; then
22330 ac_cv_lib_tiff_TIFFError=yes
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.$ac_ext >&5
22335 ac_cv_lib_tiff_TIFFError=no
22337 rm -f conftest.err conftest.$ac_objext \
22338 conftest$ac_exeext conftest.$ac_ext
22339 LIBS=$ac_check_lib_save_LIBS
22341 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22342 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22343 if test $ac_cv_lib_tiff_TIFFError = yes; then
22344 TIFF_LINK=" -ltiff"
22353 if test "x$TIFF_LINK" = "x" ; then
22354 if test "$wxUSE_LIBTIFF" = "sys" ; then
22355 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22356 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22357 { (exit 1); exit 1; }; }
22359 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22360 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22361 wxUSE_LIBTIFF=builtin
22370 if test "$wxUSE_EXPAT" != "no"; then
22372 cat >>confdefs.h <<\_ACEOF
22373 #define wxUSE_EXPAT 1
22376 cat >>confdefs.h <<\_ACEOF
22377 #define wxUSE_XML 1
22381 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22382 if test "${ac_cv_header_expat_h+set}" = set; then
22383 echo "$as_me:$LINENO: checking for expat.h" >&5
22384 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22385 if test "${ac_cv_header_expat_h+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22389 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22391 # Is the header compilable?
22392 echo "$as_me:$LINENO: checking expat.h usability" >&5
22393 echo $ECHO_N "checking expat.h usability... $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 $ac_includes_default
22403 rm -f conftest.$ac_objext
22404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22405 (eval $ac_compile) 2>conftest.er1
22407 grep -v '^ *+' conftest.er1 >conftest.err
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try='test -z "$ac_c_werror_flag"
22413 || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try='test -s conftest.$ac_objext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 ac_header_compiler=yes
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22430 ac_header_compiler=no
22432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22434 echo "${ECHO_T}$ac_header_compiler" >&6
22436 # Is the header present?
22437 echo "$as_me:$LINENO: checking expat.h presence" >&5
22438 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22439 cat >conftest.$ac_ext <<_ACEOF
22442 cat confdefs.h >>conftest.$ac_ext
22443 cat >>conftest.$ac_ext <<_ACEOF
22444 /* end confdefs.h. */
22447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22450 grep -v '^ *+' conftest.er1 >conftest.err
22452 cat conftest.err >&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } >/dev/null; then
22455 if test -s conftest.err; then
22456 ac_cpp_err=$ac_c_preproc_warn_flag
22457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22464 if test -z "$ac_cpp_err"; then
22465 ac_header_preproc=yes
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22470 ac_header_preproc=no
22472 rm -f conftest.err conftest.$ac_ext
22473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22474 echo "${ECHO_T}$ac_header_preproc" >&6
22476 # So? What about this header?
22477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22479 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22480 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22481 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22482 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22483 ac_header_preproc=yes
22486 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22487 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22488 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22489 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22490 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22491 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22492 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22493 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22494 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22495 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22496 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22497 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22500 ## ----------------------------------------- ##
22501 ## Report this to wx-dev@lists.wxwidgets.org ##
22502 ## ----------------------------------------- ##
22505 sed "s/^/$as_me: WARNING: /" >&2
22508 echo "$as_me:$LINENO: checking for expat.h" >&5
22509 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22510 if test "${ac_cv_header_expat_h+set}" = set; then
22511 echo $ECHO_N "(cached) $ECHO_C" >&6
22513 ac_cv_header_expat_h=$ac_header_preproc
22515 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22516 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22519 if test $ac_cv_header_expat_h = yes; then
22524 if test "x$found_expat_h" = "x1"; then
22525 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22526 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22527 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22528 echo $ECHO_N "(cached) $ECHO_C" >&6
22534 ac_cpp='$CXXCPP $CPPFLAGS'
22535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22539 cat >conftest.$ac_ext <<_ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22554 rm -f conftest.$ac_objext
22555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22556 (eval $ac_compile) 2>conftest.er1
22558 grep -v '^ *+' conftest.er1 >conftest.err
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } &&
22563 { ac_try='test -z "$ac_cxx_werror_flag"
22564 || test ! -s conftest.err'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; } &&
22570 { ac_try='test -s conftest.$ac_objext'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; }; then
22576 wx_cv_expat_is_not_broken=yes
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22581 wx_cv_expat_is_not_broken=no
22584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22586 ac_cpp='$CPP $CPPFLAGS'
22587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22594 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22595 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22596 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22597 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22598 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22599 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22600 echo $ECHO_N "(cached) $ECHO_C" >&6
22602 ac_check_lib_save_LIBS=$LIBS
22603 LIBS="-lexpat $LIBS"
22604 cat >conftest.$ac_ext <<_ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22611 /* Override any gcc2 internal prototype to avoid an error. */
22615 /* We use char because int might match the return type of a gcc2
22616 builtin and then its argument prototype would still apply. */
22617 char XML_ParserCreate ();
22621 XML_ParserCreate ();
22626 rm -f conftest.$ac_objext conftest$ac_exeext
22627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22628 (eval $ac_link) 2>conftest.er1
22630 grep -v '^ *+' conftest.er1 >conftest.err
22632 cat conftest.err >&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } &&
22635 { ac_try='test -z "$ac_c_werror_flag"
22636 || test ! -s conftest.err'
22637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22638 (eval $ac_try) 2>&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); }; } &&
22642 { ac_try='test -s conftest$ac_exeext'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; }; then
22648 ac_cv_lib_expat_XML_ParserCreate=yes
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22653 ac_cv_lib_expat_XML_ParserCreate=no
22655 rm -f conftest.err conftest.$ac_objext \
22656 conftest$ac_exeext conftest.$ac_ext
22657 LIBS=$ac_check_lib_save_LIBS
22659 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22660 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22661 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22662 EXPAT_LINK=" -lexpat"
22667 if test "x$EXPAT_LINK" = "x" ; then
22668 if test "$wxUSE_EXPAT" = "sys" ; then
22669 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22670 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22671 { (exit 1); exit 1; }; }
22673 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22674 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22675 wxUSE_EXPAT=builtin
22681 if test "$wxUSE_EXPAT" = "builtin" ; then
22684 subdirs="$subdirs src/expat"
22691 if test "$wxUSE_LIBMSPACK" != "no"; then
22692 if test "${ac_cv_header_mspack_h+set}" = set; then
22693 echo "$as_me:$LINENO: checking for mspack.h" >&5
22694 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22695 if test "${ac_cv_header_mspack_h+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22698 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22699 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22701 # Is the header compilable?
22702 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22703 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22704 cat >conftest.$ac_ext <<_ACEOF
22707 cat confdefs.h >>conftest.$ac_ext
22708 cat >>conftest.$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22710 $ac_includes_default
22711 #include <mspack.h>
22713 rm -f conftest.$ac_objext
22714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22715 (eval $ac_compile) 2>conftest.er1
22717 grep -v '^ *+' conftest.er1 >conftest.err
22719 cat conftest.err >&5
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); } &&
22722 { ac_try='test -z "$ac_c_werror_flag"
22723 || test ! -s conftest.err'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; } &&
22729 { ac_try='test -s conftest.$ac_objext'
22730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22731 (eval $ac_try) 2>&5
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); }; }; then
22735 ac_header_compiler=yes
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.$ac_ext >&5
22740 ac_header_compiler=no
22742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22744 echo "${ECHO_T}$ac_header_compiler" >&6
22746 # Is the header present?
22747 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22748 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22749 cat >conftest.$ac_ext <<_ACEOF
22752 cat confdefs.h >>conftest.$ac_ext
22753 cat >>conftest.$ac_ext <<_ACEOF
22754 /* end confdefs.h. */
22755 #include <mspack.h>
22757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22760 grep -v '^ *+' conftest.er1 >conftest.err
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } >/dev/null; then
22765 if test -s conftest.err; then
22766 ac_cpp_err=$ac_c_preproc_warn_flag
22767 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22774 if test -z "$ac_cpp_err"; then
22775 ac_header_preproc=yes
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.$ac_ext >&5
22780 ac_header_preproc=no
22782 rm -f conftest.err conftest.$ac_ext
22783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22784 echo "${ECHO_T}$ac_header_preproc" >&6
22786 # So? What about this header?
22787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22789 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22790 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22791 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22792 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22793 ac_header_preproc=yes
22796 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22797 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22798 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22799 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22800 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22801 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22802 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22803 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22804 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22805 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22806 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22807 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22810 ## ----------------------------------------- ##
22811 ## Report this to wx-dev@lists.wxwidgets.org ##
22812 ## ----------------------------------------- ##
22815 sed "s/^/$as_me: WARNING: /" >&2
22818 echo "$as_me:$LINENO: checking for mspack.h" >&5
22819 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22820 if test "${ac_cv_header_mspack_h+set}" = set; then
22821 echo $ECHO_N "(cached) $ECHO_C" >&6
22823 ac_cv_header_mspack_h=$ac_header_preproc
22825 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22826 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22829 if test $ac_cv_header_mspack_h = yes; then
22834 if test "x$found_mspack_h" = "x1"; then
22835 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22836 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22837 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22840 ac_check_lib_save_LIBS=$LIBS
22841 LIBS="-lmspack $LIBS"
22842 cat >conftest.$ac_ext <<_ACEOF
22845 cat confdefs.h >>conftest.$ac_ext
22846 cat >>conftest.$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22849 /* Override any gcc2 internal prototype to avoid an error. */
22853 /* We use char because int might match the return type of a gcc2
22854 builtin and then its argument prototype would still apply. */
22855 char mspack_create_chm_decompressor ();
22859 mspack_create_chm_decompressor ();
22864 rm -f conftest.$ac_objext conftest$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866 (eval $ac_link) 2>conftest.er1
22868 grep -v '^ *+' conftest.er1 >conftest.err
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } &&
22873 { ac_try='test -z "$ac_c_werror_flag"
22874 || test ! -s conftest.err'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; } &&
22880 { ac_try='test -s conftest$ac_exeext'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; }; then
22886 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22891 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22893 rm -f conftest.err conftest.$ac_objext \
22894 conftest$ac_exeext conftest.$ac_ext
22895 LIBS=$ac_check_lib_save_LIBS
22897 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22898 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22899 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22900 MSPACK_LINK=" -lmspack"
22904 if test "x$MSPACK_LINK" = "x" ; then
22909 if test "$wxUSE_LIBMSPACK" != "no"; then
22910 cat >>confdefs.h <<\_ACEOF
22911 #define wxUSE_LIBMSPACK 1
22925 if test "$USE_WIN32" = 1 ; then
22927 for ac_header in w32api.h
22929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22931 echo "$as_me:$LINENO: checking for $ac_header" >&5
22932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22934 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22939 # Is the header compilable?
22940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22942 cat >conftest.$ac_ext <<_ACEOF
22945 cat confdefs.h >>conftest.$ac_ext
22946 cat >>conftest.$ac_ext <<_ACEOF
22947 /* end confdefs.h. */
22948 $ac_includes_default
22949 #include <$ac_header>
22951 rm -f conftest.$ac_objext
22952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22953 (eval $ac_compile) 2>conftest.er1
22955 grep -v '^ *+' conftest.er1 >conftest.err
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } &&
22960 { ac_try='test -z "$ac_c_werror_flag"
22961 || test ! -s conftest.err'
22962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22963 (eval $ac_try) 2>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); }; } &&
22967 { ac_try='test -s conftest.$ac_objext'
22968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22969 (eval $ac_try) 2>&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); }; }; then
22973 ac_header_compiler=yes
22975 echo "$as_me: failed program was:" >&5
22976 sed 's/^/| /' conftest.$ac_ext >&5
22978 ac_header_compiler=no
22980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22982 echo "${ECHO_T}$ac_header_compiler" >&6
22984 # Is the header present?
22985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22987 cat >conftest.$ac_ext <<_ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 #include <$ac_header>
22995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22998 grep -v '^ *+' conftest.er1 >conftest.err
23000 cat conftest.err >&5
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } >/dev/null; then
23003 if test -s conftest.err; then
23004 ac_cpp_err=$ac_c_preproc_warn_flag
23005 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23012 if test -z "$ac_cpp_err"; then
23013 ac_header_preproc=yes
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23018 ac_header_preproc=no
23020 rm -f conftest.err conftest.$ac_ext
23021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23022 echo "${ECHO_T}$ac_header_preproc" >&6
23024 # So? What about this header?
23025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23031 ac_header_preproc=yes
23034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23048 ## ----------------------------------------- ##
23049 ## Report this to wx-dev@lists.wxwidgets.org ##
23050 ## ----------------------------------------- ##
23053 sed "s/^/$as_me: WARNING: /" >&2
23056 echo "$as_me:$LINENO: checking for $ac_header" >&5
23057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23061 eval "$as_ac_Header=\$ac_header_preproc"
23063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23068 cat >>confdefs.h <<_ACEOF
23069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23076 if test "${ac_cv_header_windows_h+set}" = set; then
23077 echo "$as_me:$LINENO: checking for windows.h" >&5
23078 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23079 if test "${ac_cv_header_windows_h+set}" = set; then
23080 echo $ECHO_N "(cached) $ECHO_C" >&6
23082 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23083 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23085 # Is the header compilable?
23086 echo "$as_me:$LINENO: checking windows.h usability" >&5
23087 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23088 cat >conftest.$ac_ext <<_ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 #include <windows.h>
23097 rm -f conftest.$ac_objext
23098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23099 (eval $ac_compile) 2>conftest.er1
23101 grep -v '^ *+' conftest.er1 >conftest.err
23103 cat conftest.err >&5
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); } &&
23106 { ac_try='test -z "$ac_c_werror_flag"
23107 || test ! -s conftest.err'
23108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109 (eval $ac_try) 2>&5
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; } &&
23113 { ac_try='test -s conftest.$ac_objext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23119 ac_header_compiler=yes
23121 echo "$as_me: failed program was:" >&5
23122 sed 's/^/| /' conftest.$ac_ext >&5
23124 ac_header_compiler=no
23126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23128 echo "${ECHO_T}$ac_header_compiler" >&6
23130 # Is the header present?
23131 echo "$as_me:$LINENO: checking windows.h presence" >&5
23132 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23133 cat >conftest.$ac_ext <<_ACEOF
23136 cat confdefs.h >>conftest.$ac_ext
23137 cat >>conftest.$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139 #include <windows.h>
23141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23144 grep -v '^ *+' conftest.er1 >conftest.err
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } >/dev/null; then
23149 if test -s conftest.err; then
23150 ac_cpp_err=$ac_c_preproc_warn_flag
23151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23158 if test -z "$ac_cpp_err"; then
23159 ac_header_preproc=yes
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.$ac_ext >&5
23164 ac_header_preproc=no
23166 rm -f conftest.err conftest.$ac_ext
23167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23168 echo "${ECHO_T}$ac_header_preproc" >&6
23170 # So? What about this header?
23171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23173 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23174 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23175 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23176 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23177 ac_header_preproc=yes
23180 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23181 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23182 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23183 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23184 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23185 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23186 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23187 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23188 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23189 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23190 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23191 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23194 ## ----------------------------------------- ##
23195 ## Report this to wx-dev@lists.wxwidgets.org ##
23196 ## ----------------------------------------- ##
23199 sed "s/^/$as_me: WARNING: /" >&2
23202 echo "$as_me:$LINENO: checking for windows.h" >&5
23203 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23204 if test "${ac_cv_header_windows_h+set}" = set; then
23205 echo $ECHO_N "(cached) $ECHO_C" >&6
23207 ac_cv_header_windows_h=$ac_header_preproc
23209 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23210 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23213 if test $ac_cv_header_windows_h = yes; then
23217 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23218 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23219 { (exit 1); exit 1; }; }
23225 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23227 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23228 LIBS="$LIBS -loleacc"
23233 LIBS="$LIBS -lkernel32 -luser32"
23234 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
23237 if test "$wxUSE_ODBC" = "sys" ; then
23240 if test "$wxUSE_ODBC" = "yes" ; then
23241 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
23242 cat >>confdefs.h <<\_ACEOF
23243 #define wxUSE_ODBC 1
23248 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
23249 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23251 WIN32INSTALL=win32install
23254 if test "$wxUSE_GUI" = "yes"; then
23264 if test "$wxUSE_COCOA" = 1 ; then
23265 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23266 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23267 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23268 wxUSE_PRINTING_ARCHITECTURE=no
23270 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23271 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23272 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23273 wxUSE_DRAG_AND_DROP=no
23275 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23276 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
23277 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
23282 if test "$wxUSE_MSW" = 1 ; then
23288 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23292 if test "$wxUSE_GTK" = 1; then
23293 echo "$as_me:$LINENO: checking for GTK+ version" >&5
23294 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
23296 gtk_version_cached=1
23297 if test "${wx_cv_lib_gtk+set}" = set; then
23298 echo $ECHO_N "(cached) $ECHO_C" >&6
23301 gtk_version_cached=0
23302 echo "$as_me:$LINENO: result: " >&5
23303 echo "${ECHO_T}" >&6
23306 if test "$wxUSE_THREADS" = "yes"; then
23307 GTK_MODULES=gthread
23311 if test "x$wxUSE_GTK2" = "xyes"; then
23312 # Check whether --enable-gtktest or --disable-gtktest was given.
23313 if test "${enable_gtktest+set}" = set; then
23314 enableval="$enable_gtktest"
23320 pkg_config_args=gtk+-2.0
23321 for module in . $GTK_MODULES
23325 pkg_config_args="$pkg_config_args gthread-2.0"
23332 # Extract the first word of "pkg-config", so it can be a program name with args.
23333 set dummy pkg-config; ac_word=$2
23334 echo "$as_me:$LINENO: checking for $ac_word" >&5
23335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23336 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23337 echo $ECHO_N "(cached) $ECHO_C" >&6
23339 case $PKG_CONFIG in
23341 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23345 for as_dir in $PATH
23348 test -z "$as_dir" && as_dir=.
23349 for ac_exec_ext in '' $ac_executable_extensions; do
23350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23351 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23358 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23362 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23364 if test -n "$PKG_CONFIG"; then
23365 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23366 echo "${ECHO_T}$PKG_CONFIG" >&6
23368 echo "$as_me:$LINENO: result: no" >&5
23369 echo "${ECHO_T}no" >&6
23373 if test x$PKG_CONFIG != xno ; then
23374 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23377 echo "*** pkg-config too old; version 0.7 or better required."
23385 min_gtk_version=2.0.0
23386 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23387 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23389 if test x$PKG_CONFIG != xno ; then
23390 ## don't try to run the test against uninstalled libtool libs
23391 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23392 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23396 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23403 if test x"$no_gtk" = x ; then
23404 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23405 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23406 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23407 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23408 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23409 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23410 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23411 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23412 if test "x$enable_gtktest" = "xyes" ; then
23413 ac_save_CFLAGS="$CFLAGS"
23414 ac_save_LIBS="$LIBS"
23415 CFLAGS="$CFLAGS $GTK_CFLAGS"
23416 LIBS="$GTK_LIBS $LIBS"
23418 if test "$cross_compiling" = yes; then
23419 echo $ac_n "cross compiling; assumed OK... $ac_c"
23421 cat >conftest.$ac_ext <<_ACEOF
23424 cat confdefs.h >>conftest.$ac_ext
23425 cat >>conftest.$ac_ext <<_ACEOF
23426 /* end confdefs.h. */
23428 #include <gtk/gtk.h>
23430 #include <stdlib.h>
23435 int major, minor, micro;
23438 system ("touch conf.gtktest");
23440 /* HP/UX 9 (%@#!) writes to sscanf strings */
23441 tmp_version = g_strdup("$min_gtk_version");
23442 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23443 printf("%s, bad version string\n", "$min_gtk_version");
23447 if ((gtk_major_version != $gtk_config_major_version) ||
23448 (gtk_minor_version != $gtk_config_minor_version) ||
23449 (gtk_micro_version != $gtk_config_micro_version))
23451 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23452 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23453 gtk_major_version, gtk_minor_version, gtk_micro_version);
23454 printf ("*** was found! If pkg-config was correct, then it is best\n");
23455 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23456 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23457 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23458 printf("*** required on your system.\n");
23459 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23460 printf("*** to point to the correct configuration files\n");
23462 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23463 (gtk_minor_version != GTK_MINOR_VERSION) ||
23464 (gtk_micro_version != GTK_MICRO_VERSION))
23466 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23467 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23468 printf("*** library (version %d.%d.%d)\n",
23469 gtk_major_version, gtk_minor_version, gtk_micro_version);
23473 if ((gtk_major_version > major) ||
23474 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23475 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23481 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23482 gtk_major_version, gtk_minor_version, gtk_micro_version);
23483 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23484 major, minor, micro);
23485 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23487 printf("*** If you have already installed a sufficiently new version, this error\n");
23488 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23489 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23490 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23491 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23492 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23493 printf("*** so that the correct libraries are found at run-time))\n");
23500 rm -f conftest$ac_exeext
23501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23502 (eval $ac_link) 2>&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23507 (eval $ac_try) 2>&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); }; }; then
23513 echo "$as_me: program exited with status $ac_status" >&5
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23517 ( exit $ac_status )
23520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23522 CFLAGS="$ac_save_CFLAGS"
23523 LIBS="$ac_save_LIBS"
23526 if test "x$no_gtk" = x ; then
23527 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23528 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23531 echo "$as_me:$LINENO: result: no" >&5
23532 echo "${ECHO_T}no" >&6
23533 if test "$PKG_CONFIG" = "no" ; then
23534 echo "*** A new enough version of pkg-config was not found."
23535 echo "*** See http://pkgconfig.sourceforge.net"
23537 if test -f conf.gtktest ; then
23540 echo "*** Could not run GTK+ test program, checking why..."
23541 ac_save_CFLAGS="$CFLAGS"
23542 ac_save_LIBS="$LIBS"
23543 CFLAGS="$CFLAGS $GTK_CFLAGS"
23544 LIBS="$LIBS $GTK_LIBS"
23545 cat >conftest.$ac_ext <<_ACEOF
23548 cat confdefs.h >>conftest.$ac_ext
23549 cat >>conftest.$ac_ext <<_ACEOF
23550 /* end confdefs.h. */
23552 #include <gtk/gtk.h>
23558 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23563 rm -f conftest.$ac_objext conftest$ac_exeext
23564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23565 (eval $ac_link) 2>conftest.er1
23567 grep -v '^ *+' conftest.er1 >conftest.err
23569 cat conftest.err >&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); } &&
23572 { ac_try='test -z "$ac_c_werror_flag"
23573 || test ! -s conftest.err'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; } &&
23579 { ac_try='test -s conftest$ac_exeext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 echo "*** The test program compiled, but did not run. This usually means"
23586 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23587 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23588 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23589 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23590 echo "*** is required on your system"
23592 echo "*** If you have an old version installed, it is best to remove it, although"
23593 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23595 echo "$as_me: failed program was:" >&5
23596 sed 's/^/| /' conftest.$ac_ext >&5
23598 echo "*** The test program failed to compile or link. See the file config.log for the"
23599 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23601 rm -f conftest.err conftest.$ac_objext \
23602 conftest$ac_exeext conftest.$ac_ext
23603 CFLAGS="$ac_save_CFLAGS"
23604 LIBS="$ac_save_LIBS"
23617 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23618 if test "${with_gtk_prefix+set}" = set; then
23619 withval="$with_gtk_prefix"
23620 gtk_config_prefix="$withval"
23622 gtk_config_prefix=""
23625 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23626 if test "${with_gtk_exec_prefix+set}" = set; then
23627 withval="$with_gtk_exec_prefix"
23628 gtk_config_exec_prefix="$withval"
23630 gtk_config_exec_prefix=""
23632 # Check whether --enable-gtktest or --disable-gtktest was given.
23633 if test "${enable_gtktest+set}" = set; then
23634 enableval="$enable_gtktest"
23640 for module in . $GTK_MODULES
23644 gtk_config_args="$gtk_config_args gthread"
23649 if test x$gtk_config_exec_prefix != x ; then
23650 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23651 if test x${GTK_CONFIG+set} != xset ; then
23652 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23655 if test x$gtk_config_prefix != x ; then
23656 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23657 if test x${GTK_CONFIG+set} != xset ; then
23658 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23662 # Extract the first word of "gtk-config", so it can be a program name with args.
23663 set dummy gtk-config; ac_word=$2
23664 echo "$as_me:$LINENO: checking for $ac_word" >&5
23665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23666 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23667 echo $ECHO_N "(cached) $ECHO_C" >&6
23669 case $GTK_CONFIG in
23671 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23675 for as_dir in $PATH
23678 test -z "$as_dir" && as_dir=.
23679 for ac_exec_ext in '' $ac_executable_extensions; do
23680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23681 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23688 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23692 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23694 if test -n "$GTK_CONFIG"; then
23695 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23696 echo "${ECHO_T}$GTK_CONFIG" >&6
23698 echo "$as_me:$LINENO: result: no" >&5
23699 echo "${ECHO_T}no" >&6
23702 min_gtk_version=1.2.7
23703 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23704 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23706 if test "$GTK_CONFIG" = "no" ; then
23709 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23710 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23711 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23713 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23715 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23717 if test "x$enable_gtktest" = "xyes" ; then
23718 ac_save_CFLAGS="$CFLAGS"
23719 ac_save_LIBS="$LIBS"
23720 CFLAGS="$CFLAGS $GTK_CFLAGS"
23721 LIBS="$GTK_LIBS $LIBS"
23723 if test "$cross_compiling" = yes; then
23724 echo $ac_n "cross compiling; assumed OK... $ac_c"
23726 cat >conftest.$ac_ext <<_ACEOF
23729 cat confdefs.h >>conftest.$ac_ext
23730 cat >>conftest.$ac_ext <<_ACEOF
23731 /* end confdefs.h. */
23733 #include <gtk/gtk.h>
23735 #include <stdlib.h>
23740 int major, minor, micro;
23743 system ("touch conf.gtktest");
23745 /* HP/UX 9 (%@#!) writes to sscanf strings */
23746 tmp_version = g_strdup("$min_gtk_version");
23747 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23748 printf("%s, bad version string\n", "$min_gtk_version");
23752 if ((gtk_major_version != $gtk_config_major_version) ||
23753 (gtk_minor_version != $gtk_config_minor_version) ||
23754 (gtk_micro_version != $gtk_config_micro_version))
23756 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23757 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23758 gtk_major_version, gtk_minor_version, gtk_micro_version);
23759 printf ("*** was found! If gtk-config was correct, then it is best\n");
23760 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23761 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23762 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23763 printf("*** required on your system.\n");
23764 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23765 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23766 printf("*** before re-running configure\n");
23768 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23769 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23770 (gtk_minor_version != GTK_MINOR_VERSION) ||
23771 (gtk_micro_version != GTK_MICRO_VERSION))
23773 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23774 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23775 printf("*** library (version %d.%d.%d)\n",
23776 gtk_major_version, gtk_minor_version, gtk_micro_version);
23778 #endif /* defined (GTK_MAJOR_VERSION) ... */
23781 if ((gtk_major_version > major) ||
23782 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23783 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23789 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23790 gtk_major_version, gtk_minor_version, gtk_micro_version);
23791 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23792 major, minor, micro);
23793 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23795 printf("*** If you have already installed a sufficiently new version, this error\n");
23796 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23797 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23798 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23799 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23800 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23801 printf("*** so that the correct libraries are found at run-time))\n");
23808 rm -f conftest$ac_exeext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23810 (eval $ac_link) 2>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23815 (eval $ac_try) 2>&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); }; }; then
23821 echo "$as_me: program exited with status $ac_status" >&5
23822 echo "$as_me: failed program was:" >&5
23823 sed 's/^/| /' conftest.$ac_ext >&5
23825 ( exit $ac_status )
23828 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23830 CFLAGS="$ac_save_CFLAGS"
23831 LIBS="$ac_save_LIBS"
23834 if test "x$no_gtk" = x ; then
23835 echo "$as_me:$LINENO: result: yes" >&5
23836 echo "${ECHO_T}yes" >&6
23837 wx_cv_lib_gtk=1.2.7
23839 echo "$as_me:$LINENO: result: no" >&5
23840 echo "${ECHO_T}no" >&6
23841 if test "$GTK_CONFIG" = "no" ; then
23842 echo "*** The gtk-config script installed by GTK could not be found"
23843 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23844 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23845 echo "*** full path to gtk-config."
23847 if test -f conf.gtktest ; then
23850 echo "*** Could not run GTK test program, checking why..."
23851 CFLAGS="$CFLAGS $GTK_CFLAGS"
23852 LIBS="$LIBS $GTK_LIBS"
23853 cat >conftest.$ac_ext <<_ACEOF
23856 cat confdefs.h >>conftest.$ac_ext
23857 cat >>conftest.$ac_ext <<_ACEOF
23858 /* end confdefs.h. */
23860 #include <gtk/gtk.h>
23866 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23871 rm -f conftest.$ac_objext conftest$ac_exeext
23872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23873 (eval $ac_link) 2>conftest.er1
23875 grep -v '^ *+' conftest.er1 >conftest.err
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try='test -z "$ac_c_werror_flag"
23881 || test ! -s conftest.err'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; } &&
23887 { ac_try='test -s conftest$ac_exeext'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 echo "*** The test program compiled, but did not run. This usually means"
23894 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23895 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23896 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23897 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23898 echo "*** is required on your system"
23900 echo "*** If you have an old version installed, it is best to remove it, although"
23901 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23903 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23904 echo "*** came with the system with the command"
23906 echo "*** rpm --erase --nodeps gtk gtk-devel"
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.$ac_ext >&5
23911 echo "*** The test program failed to compile or link. See the file config.log for the"
23912 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23913 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23914 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23916 rm -f conftest.err conftest.$ac_objext \
23917 conftest$ac_exeext conftest.$ac_ext
23918 CFLAGS="$ac_save_CFLAGS"
23919 LIBS="$ac_save_LIBS"
23931 if test -z "$wx_cv_lib_gtk"; then
23933 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23934 if test "${with_gtk_prefix+set}" = set; then
23935 withval="$with_gtk_prefix"
23936 gtk_config_prefix="$withval"
23938 gtk_config_prefix=""
23941 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23942 if test "${with_gtk_exec_prefix+set}" = set; then
23943 withval="$with_gtk_exec_prefix"
23944 gtk_config_exec_prefix="$withval"
23946 gtk_config_exec_prefix=""
23948 # Check whether --enable-gtktest or --disable-gtktest was given.
23949 if test "${enable_gtktest+set}" = set; then
23950 enableval="$enable_gtktest"
23956 for module in . $GTK_MODULES
23960 gtk_config_args="$gtk_config_args gthread"
23965 if test x$gtk_config_exec_prefix != x ; then
23966 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23967 if test x${GTK_CONFIG+set} != xset ; then
23968 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23971 if test x$gtk_config_prefix != x ; then
23972 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23973 if test x${GTK_CONFIG+set} != xset ; then
23974 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23978 # Extract the first word of "gtk-config", so it can be a program name with args.
23979 set dummy gtk-config; ac_word=$2
23980 echo "$as_me:$LINENO: checking for $ac_word" >&5
23981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23982 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 case $GTK_CONFIG in
23987 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23991 for as_dir in $PATH
23994 test -z "$as_dir" && as_dir=.
23995 for ac_exec_ext in '' $ac_executable_extensions; do
23996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23997 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24004 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24008 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24010 if test -n "$GTK_CONFIG"; then
24011 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24012 echo "${ECHO_T}$GTK_CONFIG" >&6
24014 echo "$as_me:$LINENO: result: no" >&5
24015 echo "${ECHO_T}no" >&6
24018 min_gtk_version=1.2.3
24019 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24020 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24022 if test "$GTK_CONFIG" = "no" ; then
24025 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24026 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24027 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24029 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24031 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24033 if test "x$enable_gtktest" = "xyes" ; then
24034 ac_save_CFLAGS="$CFLAGS"
24035 ac_save_LIBS="$LIBS"
24036 CFLAGS="$CFLAGS $GTK_CFLAGS"
24037 LIBS="$GTK_LIBS $LIBS"
24039 if test "$cross_compiling" = yes; then
24040 echo $ac_n "cross compiling; assumed OK... $ac_c"
24042 cat >conftest.$ac_ext <<_ACEOF
24045 cat confdefs.h >>conftest.$ac_ext
24046 cat >>conftest.$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24049 #include <gtk/gtk.h>
24051 #include <stdlib.h>
24056 int major, minor, micro;
24059 system ("touch conf.gtktest");
24061 /* HP/UX 9 (%@#!) writes to sscanf strings */
24062 tmp_version = g_strdup("$min_gtk_version");
24063 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24064 printf("%s, bad version string\n", "$min_gtk_version");
24068 if ((gtk_major_version != $gtk_config_major_version) ||
24069 (gtk_minor_version != $gtk_config_minor_version) ||
24070 (gtk_micro_version != $gtk_config_micro_version))
24072 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24073 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24074 gtk_major_version, gtk_minor_version, gtk_micro_version);
24075 printf ("*** was found! If gtk-config was correct, then it is best\n");
24076 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24077 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24078 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24079 printf("*** required on your system.\n");
24080 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24081 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24082 printf("*** before re-running configure\n");
24084 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24085 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24086 (gtk_minor_version != GTK_MINOR_VERSION) ||
24087 (gtk_micro_version != GTK_MICRO_VERSION))
24089 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24090 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24091 printf("*** library (version %d.%d.%d)\n",
24092 gtk_major_version, gtk_minor_version, gtk_micro_version);
24094 #endif /* defined (GTK_MAJOR_VERSION) ... */
24097 if ((gtk_major_version > major) ||
24098 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24099 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24105 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24106 gtk_major_version, gtk_minor_version, gtk_micro_version);
24107 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24108 major, minor, micro);
24109 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24111 printf("*** If you have already installed a sufficiently new version, this error\n");
24112 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24113 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24114 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24115 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24116 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24117 printf("*** so that the correct libraries are found at run-time))\n");
24124 rm -f conftest$ac_exeext
24125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24126 (eval $ac_link) 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; }; then
24137 echo "$as_me: program exited with status $ac_status" >&5
24138 echo "$as_me: failed program was:" >&5
24139 sed 's/^/| /' conftest.$ac_ext >&5
24141 ( exit $ac_status )
24144 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24146 CFLAGS="$ac_save_CFLAGS"
24147 LIBS="$ac_save_LIBS"
24150 if test "x$no_gtk" = x ; then
24151 echo "$as_me:$LINENO: result: yes" >&5
24152 echo "${ECHO_T}yes" >&6
24153 wx_cv_lib_gtk=1.2.3
24155 echo "$as_me:$LINENO: result: no" >&5
24156 echo "${ECHO_T}no" >&6
24157 if test "$GTK_CONFIG" = "no" ; then
24158 echo "*** The gtk-config script installed by GTK could not be found"
24159 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24160 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24161 echo "*** full path to gtk-config."
24163 if test -f conf.gtktest ; then
24166 echo "*** Could not run GTK test program, checking why..."
24167 CFLAGS="$CFLAGS $GTK_CFLAGS"
24168 LIBS="$LIBS $GTK_LIBS"
24169 cat >conftest.$ac_ext <<_ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24176 #include <gtk/gtk.h>
24182 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24187 rm -f conftest.$ac_objext conftest$ac_exeext
24188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>conftest.er1
24191 grep -v '^ *+' conftest.er1 >conftest.err
24193 cat conftest.err >&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } &&
24196 { ac_try='test -z "$ac_c_werror_flag"
24197 || test ! -s conftest.err'
24198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24199 (eval $ac_try) 2>&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); }; } &&
24203 { ac_try='test -s conftest$ac_exeext'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; }; then
24209 echo "*** The test program compiled, but did not run. This usually means"
24210 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24211 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24212 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24213 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24214 echo "*** is required on your system"
24216 echo "*** If you have an old version installed, it is best to remove it, although"
24217 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24219 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24220 echo "*** came with the system with the command"
24222 echo "*** rpm --erase --nodeps gtk gtk-devel"
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24227 echo "*** The test program failed to compile or link. See the file config.log for the"
24228 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24229 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24230 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24232 rm -f conftest.err conftest.$ac_objext \
24233 conftest$ac_exeext conftest.$ac_ext
24234 CFLAGS="$ac_save_CFLAGS"
24235 LIBS="$ac_save_LIBS"
24249 if test -z "$wx_cv_lib_gtk"; then
24252 wx_cv_cflags_gtk=$GTK_CFLAGS
24253 wx_cv_libs_gtk=$GTK_LIBS
24260 if test "$gtk_version_cached" = 1; then
24261 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
24262 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
24265 case "$wx_cv_lib_gtk" in
24274 *) { { echo "$as_me:$LINENO: error:
24275 Please check that gtk-config is in path, the directory
24276 where GTK+ libraries are installed (returned by
24277 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24278 equivalent variable and GTK+ is version 1.2.3 or above.
24280 echo "$as_me: error:
24281 Please check that gtk-config is in path, the directory
24282 where GTK+ libraries are installed (returned by
24283 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24284 equivalent variable and GTK+ is version 1.2.3 or above.
24286 { (exit 1); exit 1; }; }
24290 if test "$WXGTK20" = 1; then
24291 save_CFLAGS="$CFLAGS"
24293 CFLAGS="$CFLAGS $GTK_CFLAGS"
24294 LIBS="$LIBS $GTK_LIBS"
24297 for ac_func in pango_font_family_is_monospace
24299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24300 echo "$as_me:$LINENO: checking for $ac_func" >&5
24301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24302 if eval "test \"\${$as_ac_var+set}\" = set"; then
24303 echo $ECHO_N "(cached) $ECHO_C" >&6
24305 cat >conftest.$ac_ext <<_ACEOF
24308 cat confdefs.h >>conftest.$ac_ext
24309 cat >>conftest.$ac_ext <<_ACEOF
24310 /* end confdefs.h. */
24311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24313 #define $ac_func innocuous_$ac_func
24315 /* System header to define __stub macros and hopefully few prototypes,
24316 which can conflict with char $ac_func (); below.
24317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24318 <limits.h> exists even on freestanding compilers. */
24321 # include <limits.h>
24323 # include <assert.h>
24328 /* Override any gcc2 internal prototype to avoid an error. */
24333 /* We use char because int might match the return type of a gcc2
24334 builtin and then its argument prototype would still apply. */
24336 /* The GNU C library defines this for functions which it implements
24337 to always fail with ENOSYS. Some functions are actually named
24338 something starting with __ and the normal name is an alias. */
24339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24342 char (*f) () = $ac_func;
24351 return f != $ac_func;
24356 rm -f conftest.$ac_objext conftest$ac_exeext
24357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24358 (eval $ac_link) 2>conftest.er1
24360 grep -v '^ *+' conftest.er1 >conftest.err
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } &&
24365 { ac_try='test -z "$ac_c_werror_flag"
24366 || test ! -s conftest.err'
24367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24368 (eval $ac_try) 2>&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); }; } &&
24372 { ac_try='test -s conftest$ac_exeext'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; }; then
24378 eval "$as_ac_var=yes"
24380 echo "$as_me: failed program was:" >&5
24381 sed 's/^/| /' conftest.$ac_ext >&5
24383 eval "$as_ac_var=no"
24385 rm -f conftest.err conftest.$ac_objext \
24386 conftest$ac_exeext conftest.$ac_ext
24388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24390 if test `eval echo '${'$as_ac_var'}'` = yes; then
24391 cat >>confdefs.h <<_ACEOF
24392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24399 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24400 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24401 cat >conftest.$ac_ext <<_ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24408 #include <gtk/gtk.h>
24414 #if !GTK_CHECK_VERSION(2,4,0)
24415 #error "Not GTK+ 2.4"
24422 rm -f conftest.$ac_objext
24423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24424 (eval $ac_compile) 2>conftest.er1
24426 grep -v '^ *+' conftest.er1 >conftest.err
24428 cat conftest.err >&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); } &&
24431 { ac_try='test -z "$ac_c_werror_flag"
24432 || test ! -s conftest.err'
24433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24434 (eval $ac_try) 2>&5
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); }; } &&
24438 { ac_try='test -s conftest.$ac_objext'
24439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440 (eval $ac_try) 2>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; }; then
24445 cat >>confdefs.h <<\_ACEOF
24446 #define __WXGTK24__ 1
24449 echo "$as_me:$LINENO: result: yes" >&5
24450 echo "${ECHO_T}yes" >&6
24453 echo "$as_me: failed program was:" >&5
24454 sed 's/^/| /' conftest.$ac_ext >&5
24457 echo "$as_me:$LINENO: result: no" >&5
24458 echo "${ECHO_T}no" >&6
24461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24463 CFLAGS="$save_CFLAGS"
24466 if test "$wxUSE_UNICODE" = "yes"; then
24467 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24468 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24473 if test "$USE_DARWIN" != 1; then
24475 for ac_func in poll
24477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24478 echo "$as_me:$LINENO: checking for $ac_func" >&5
24479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24480 if eval "test \"\${$as_ac_var+set}\" = set"; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 cat >conftest.$ac_ext <<_ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24491 #define $ac_func innocuous_$ac_func
24493 /* System header to define __stub macros and hopefully few prototypes,
24494 which can conflict with char $ac_func (); below.
24495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24496 <limits.h> exists even on freestanding compilers. */
24499 # include <limits.h>
24501 # include <assert.h>
24506 /* Override any gcc2 internal prototype to avoid an error. */
24511 /* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24514 /* The GNU C library defines this for functions which it implements
24515 to always fail with ENOSYS. Some functions are actually named
24516 something starting with __ and the normal name is an alias. */
24517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24520 char (*f) () = $ac_func;
24529 return f != $ac_func;
24534 rm -f conftest.$ac_objext conftest$ac_exeext
24535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24536 (eval $ac_link) 2>conftest.er1
24538 grep -v '^ *+' conftest.er1 >conftest.err
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } &&
24543 { ac_try='test -z "$ac_c_werror_flag"
24544 || test ! -s conftest.err'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; } &&
24550 { ac_try='test -s conftest$ac_exeext'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; }; then
24556 eval "$as_ac_var=yes"
24558 echo "$as_me: failed program was:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24561 eval "$as_ac_var=no"
24563 rm -f conftest.err conftest.$ac_objext \
24564 conftest$ac_exeext conftest.$ac_ext
24566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24568 if test `eval echo '${'$as_ac_var'}'` = yes; then
24569 cat >>confdefs.h <<_ACEOF
24570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24578 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24579 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24581 AFMINSTALL=afminstall
24585 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24586 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24587 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24590 ac_check_lib_save_LIBS=$LIBS
24592 cat >conftest.$ac_ext <<_ACEOF
24595 cat confdefs.h >>conftest.$ac_ext
24596 cat >>conftest.$ac_ext <<_ACEOF
24597 /* end confdefs.h. */
24599 /* Override any gcc2 internal prototype to avoid an error. */
24603 /* We use char because int might match the return type of a gcc2
24604 builtin and then its argument prototype would still apply. */
24605 char gdk_im_open ();
24614 rm -f conftest.$ac_objext conftest$ac_exeext
24615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24616 (eval $ac_link) 2>conftest.er1
24618 grep -v '^ *+' conftest.er1 >conftest.err
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); } &&
24623 { ac_try='test -z "$ac_c_werror_flag"
24624 || test ! -s conftest.err'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; } &&
24630 { ac_try='test -s conftest$ac_exeext'
24631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24632 (eval $ac_try) 2>&5
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); }; }; then
24636 ac_cv_lib_gdk_gdk_im_open=yes
24638 echo "$as_me: failed program was:" >&5
24639 sed 's/^/| /' conftest.$ac_ext >&5
24641 ac_cv_lib_gdk_gdk_im_open=no
24643 rm -f conftest.err conftest.$ac_objext \
24644 conftest$ac_exeext conftest.$ac_ext
24645 LIBS=$ac_check_lib_save_LIBS
24647 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24648 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24649 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24650 cat >>confdefs.h <<\_ACEOF
24658 if test "$wxUSE_GPE" = "yes"; then
24659 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24660 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24663 for ac_dir in $SEARCH_LIB /usr/lib;
24665 for ac_extension in a so sl dylib; do
24666 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24667 ac_find_libraries=$ac_dir
24673 if test "$ac_find_libraries" != "" ; then
24675 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24677 if test $result = 0; then
24680 ac_path_to_link=" -L$ac_find_libraries"
24683 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24685 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24686 echo "${ECHO_T}found at $ac_find_libraries" >&6
24688 echo "$as_me:$LINENO: result: not found" >&5
24689 echo "${ECHO_T}not found" >&6
24695 if test "$wxUSE_MGL" = 1; then
24696 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24697 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24698 if test "x$MGL_ROOT" = x ; then
24699 echo "$as_me:$LINENO: result: not found" >&5
24700 echo "${ECHO_T}not found" >&6
24701 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24702 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24703 { (exit 1); exit 1; }; }
24705 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24706 echo "${ECHO_T}$MGL_ROOT" >&6
24709 echo "$as_me:$LINENO: checking for libmgl location" >&5
24710 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24713 if test "x$wxUSE_SHARED" = xyes ; then
24714 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24716 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24720 mgl_os_candidates="dos32/dj2"
24723 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24724 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24725 { (exit 1); exit 1; }; }
24731 for mgl_os_i in $mgl_os_candidates ; do
24732 if test "x$mgl_os" = x ; then
24733 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24734 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24735 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24740 if test "x$mgl_lib_type" = x ; then
24741 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24742 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24743 mgl_lib_type=release
24750 if test "x$mgl_os" = x ; then
24751 echo "$as_me:$LINENO: result: not found" >&5
24752 echo "${ECHO_T}not found" >&6
24753 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24754 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24755 { (exit 1); exit 1; }; }
24757 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24758 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24760 wxUSE_UNIVERSAL="yes"
24762 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24763 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24765 AFMINSTALL=afminstall
24770 if test "$wxUSE_MICROWIN" = 1; then
24771 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24772 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24773 if test "x$MICROWINDOWS" = x ; then
24774 echo "$as_me:$LINENO: result: not found" >&5
24775 echo "${ECHO_T}not found" >&6
24776 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24777 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24778 { (exit 1); exit 1; }; }
24780 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24781 echo "${ECHO_T}$MICROWINDOWS" >&6
24784 if test -f $MICROWINDOWS/lib/libmwin.a; then
24785 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24786 echo "${ECHO_T}MicroWindows' libraries found." >&6
24788 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24789 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24790 { (exit 1); exit 1; }; }
24793 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24794 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24796 wxUSE_UNIVERSAL="yes"
24798 AFMINSTALL=afminstall
24800 GUIDIST=MICROWIN_DIST
24802 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24805 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24806 echo "$as_me:$LINENO: checking for X" >&5
24807 echo $ECHO_N "checking for X... $ECHO_C" >&6
24810 # Check whether --with-x or --without-x was given.
24811 if test "${with_x+set}" = set; then
24815 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24816 if test "x$with_x" = xno; then
24817 # The user explicitly disabled X.
24820 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24821 # Both variables are already set.
24824 if test "${ac_cv_have_x+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 # One or both of the vars are not set, and there is no cached value.
24828 ac_x_includes=no ac_x_libraries=no
24829 rm -fr conftest.dir
24830 if mkdir conftest.dir; then
24832 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24833 cat >Imakefile <<'_ACEOF'
24835 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24837 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24838 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24839 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24840 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24841 for ac_extension in a so sl; do
24842 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24843 test -f $ac_im_libdir/libX11.$ac_extension; then
24844 ac_im_usrlibdir=$ac_im_libdir; break
24847 # Screen out bogus values from the imake configuration. They are
24848 # bogus both because they are the default anyway, and because
24849 # using them would break gcc on systems where it needs fixed includes.
24850 case $ac_im_incroot in
24852 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24854 case $ac_im_usrlibdir in
24855 /usr/lib | /lib) ;;
24856 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24860 rm -fr conftest.dir
24863 # Standard set of common directories for X headers.
24864 # Check X11 before X11Rn because it is often a symlink to the current release.
24876 /usr/local/X11/include
24877 /usr/local/X11R6/include
24878 /usr/local/X11R5/include
24879 /usr/local/X11R4/include
24881 /usr/local/include/X11
24882 /usr/local/include/X11R6
24883 /usr/local/include/X11R5
24884 /usr/local/include/X11R4
24888 /usr/XFree86/include/X11
24892 /usr/unsupported/include
24893 /usr/athena/include
24894 /usr/local/x11r5/include
24895 /usr/lpp/Xamples/include
24897 /usr/openwin/include
24898 /usr/openwin/share/include'
24900 if test "$ac_x_includes" = no; then
24901 # Guess where to find include files, by looking for Intrinsic.h.
24902 # First, try using that file with no special directory specified.
24903 cat >conftest.$ac_ext <<_ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909 #include <X11/Intrinsic.h>
24911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24914 grep -v '^ *+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } >/dev/null; then
24919 if test -s conftest.err; then
24920 ac_cpp_err=$ac_c_preproc_warn_flag
24921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24928 if test -z "$ac_cpp_err"; then
24929 # We can compile using X headers with no special include directory.
24932 echo "$as_me: failed program was:" >&5
24933 sed 's/^/| /' conftest.$ac_ext >&5
24935 for ac_dir in $ac_x_header_dirs; do
24936 if test -r "$ac_dir/X11/Intrinsic.h"; then
24937 ac_x_includes=$ac_dir
24942 rm -f conftest.err conftest.$ac_ext
24943 fi # $ac_x_includes = no
24945 if test "$ac_x_libraries" = no; then
24946 # Check for the libraries.
24947 # See if we find them without any special options.
24948 # Don't add to $LIBS permanently.
24951 cat >conftest.$ac_ext <<_ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24957 #include <X11/Intrinsic.h>
24966 rm -f conftest.$ac_objext conftest$ac_exeext
24967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24968 (eval $ac_link) 2>conftest.er1
24970 grep -v '^ *+' conftest.er1 >conftest.err
24972 cat conftest.err >&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); } &&
24975 { ac_try='test -z "$ac_c_werror_flag"
24976 || test ! -s conftest.err'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; } &&
24982 { ac_try='test -s conftest$ac_exeext'
24983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24984 (eval $ac_try) 2>&5
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987 (exit $ac_status); }; }; then
24989 # We can link X programs with no special library path.
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24996 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24998 # Don't even attempt the hair of trying to link an X program!
24999 for ac_extension in a so sl; do
25000 if test -r $ac_dir/libXt.$ac_extension; then
25001 ac_x_libraries=$ac_dir
25007 rm -f conftest.err conftest.$ac_objext \
25008 conftest$ac_exeext conftest.$ac_ext
25009 fi # $ac_x_libraries = no
25011 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25012 # Didn't find X anywhere. Cache the known absence of X.
25013 ac_cv_have_x="have_x=no"
25015 # Record where we found X for the cache.
25016 ac_cv_have_x="have_x=yes \
25017 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25022 eval "$ac_cv_have_x"
25025 if test "$have_x" != yes; then
25026 echo "$as_me:$LINENO: result: $have_x" >&5
25027 echo "${ECHO_T}$have_x" >&6
25030 # If each of the values was on the command line, it overrides each guess.
25031 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25032 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25033 # Update the cache value to reflect the command line values.
25034 ac_cv_have_x="have_x=yes \
25035 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25036 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
25037 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25040 if test "$no_x" = yes; then
25041 # Not all programs may use this symbol, but it does not hurt to define it.
25043 cat >>confdefs.h <<\_ACEOF
25044 #define X_DISPLAY_MISSING 1
25047 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25049 if test -n "$x_includes"; then
25050 X_CFLAGS="$X_CFLAGS -I$x_includes"
25053 # It would also be nice to do this for all -L options, not just this one.
25054 if test -n "$x_libraries"; then
25055 X_LIBS="$X_LIBS -L$x_libraries"
25056 # For Solaris; some versions of Sun CC require a space after -R and
25057 # others require no space. Words are not sufficient . . . .
25058 case `(uname -sr) 2>/dev/null` in
25060 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25061 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25062 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25063 cat >conftest.$ac_ext <<_ACEOF
25066 cat confdefs.h >>conftest.$ac_ext
25067 cat >>conftest.$ac_ext <<_ACEOF
25068 /* end confdefs.h. */
25078 rm -f conftest.$ac_objext conftest$ac_exeext
25079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25080 (eval $ac_link) 2>conftest.er1
25082 grep -v '^ *+' conftest.er1 >conftest.err
25084 cat conftest.err >&5
25085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086 (exit $ac_status); } &&
25087 { ac_try='test -z "$ac_c_werror_flag"
25088 || test ! -s conftest.err'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; } &&
25094 { ac_try='test -s conftest$ac_exeext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.$ac_ext >&5
25107 rm -f conftest.err conftest.$ac_objext \
25108 conftest$ac_exeext conftest.$ac_ext
25109 if test $ac_R_nospace = yes; then
25110 echo "$as_me:$LINENO: result: no" >&5
25111 echo "${ECHO_T}no" >&6
25112 X_LIBS="$X_LIBS -R$x_libraries"
25114 LIBS="$ac_xsave_LIBS -R $x_libraries"
25115 cat >conftest.$ac_ext <<_ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25130 rm -f conftest.$ac_objext conftest$ac_exeext
25131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25132 (eval $ac_link) 2>conftest.er1
25134 grep -v '^ *+' conftest.er1 >conftest.err
25136 cat conftest.err >&5
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); } &&
25139 { ac_try='test -z "$ac_c_werror_flag"
25140 || test ! -s conftest.err'
25141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25142 (eval $ac_try) 2>&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); }; } &&
25146 { ac_try='test -s conftest$ac_exeext'
25147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148 (eval $ac_try) 2>&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); }; }; then
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25159 rm -f conftest.err conftest.$ac_objext \
25160 conftest$ac_exeext conftest.$ac_ext
25161 if test $ac_R_space = yes; then
25162 echo "$as_me:$LINENO: result: yes" >&5
25163 echo "${ECHO_T}yes" >&6
25164 X_LIBS="$X_LIBS -R $x_libraries"
25166 echo "$as_me:$LINENO: result: neither works" >&5
25167 echo "${ECHO_T}neither works" >&6
25170 LIBS=$ac_xsave_LIBS
25174 # Check for system-dependent libraries X programs must link with.
25175 # Do this before checking for the system-independent R6 libraries
25176 # (-lICE), since we may need -lsocket or whatever for X linking.
25178 if test "$ISC" = yes; then
25179 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25181 # Martyn Johnson says this is needed for Ultrix, if the X
25182 # libraries were built with DECnet support. And Karl Berry says
25183 # the Alpha needs dnet_stub (dnet does not exist).
25184 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25185 cat >conftest.$ac_ext <<_ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25192 /* Override any gcc2 internal prototype to avoid an error. */
25196 /* We use char because int might match the return type of a gcc2
25197 builtin and then its argument prototype would still apply. */
25198 char XOpenDisplay ();
25207 rm -f conftest.$ac_objext conftest$ac_exeext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25209 (eval $ac_link) 2>conftest.er1
25211 grep -v '^ *+' conftest.er1 >conftest.err
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } &&
25216 { ac_try='test -z "$ac_c_werror_flag"
25217 || test ! -s conftest.err'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; } &&
25223 { ac_try='test -s conftest$ac_exeext'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; }; then
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25234 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25235 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25236 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 ac_check_lib_save_LIBS=$LIBS
25240 LIBS="-ldnet $LIBS"
25241 cat >conftest.$ac_ext <<_ACEOF
25244 cat confdefs.h >>conftest.$ac_ext
25245 cat >>conftest.$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25248 /* Override any gcc2 internal prototype to avoid an error. */
25252 /* We use char because int might match the return type of a gcc2
25253 builtin and then its argument prototype would still apply. */
25263 rm -f conftest.$ac_objext conftest$ac_exeext
25264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25265 (eval $ac_link) 2>conftest.er1
25267 grep -v '^ *+' conftest.er1 >conftest.err
25269 cat conftest.err >&5
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); } &&
25272 { ac_try='test -z "$ac_c_werror_flag"
25273 || test ! -s conftest.err'
25274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25275 (eval $ac_try) 2>&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); }; } &&
25279 { ac_try='test -s conftest$ac_exeext'
25280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25281 (eval $ac_try) 2>&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); }; }; then
25285 ac_cv_lib_dnet_dnet_ntoa=yes
25287 echo "$as_me: failed program was:" >&5
25288 sed 's/^/| /' conftest.$ac_ext >&5
25290 ac_cv_lib_dnet_dnet_ntoa=no
25292 rm -f conftest.err conftest.$ac_objext \
25293 conftest$ac_exeext conftest.$ac_ext
25294 LIBS=$ac_check_lib_save_LIBS
25296 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25297 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25298 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25299 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25302 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25303 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25304 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25305 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 ac_check_lib_save_LIBS=$LIBS
25309 LIBS="-ldnet_stub $LIBS"
25310 cat >conftest.$ac_ext <<_ACEOF
25313 cat confdefs.h >>conftest.$ac_ext
25314 cat >>conftest.$ac_ext <<_ACEOF
25315 /* end confdefs.h. */
25317 /* Override any gcc2 internal prototype to avoid an error. */
25321 /* We use char because int might match the return type of a gcc2
25322 builtin and then its argument prototype would still apply. */
25332 rm -f conftest.$ac_objext conftest$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334 (eval $ac_link) 2>conftest.er1
25336 grep -v '^ *+' conftest.er1 >conftest.err
25338 cat conftest.err >&5
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); } &&
25341 { ac_try='test -z "$ac_c_werror_flag"
25342 || test ! -s conftest.err'
25343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344 (eval $ac_try) 2>&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); }; } &&
25348 { ac_try='test -s conftest$ac_exeext'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25354 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.$ac_ext >&5
25359 ac_cv_lib_dnet_stub_dnet_ntoa=no
25361 rm -f conftest.err conftest.$ac_objext \
25362 conftest$ac_exeext conftest.$ac_ext
25363 LIBS=$ac_check_lib_save_LIBS
25365 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25366 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25367 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25368 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25373 rm -f conftest.err conftest.$ac_objext \
25374 conftest$ac_exeext conftest.$ac_ext
25375 LIBS="$ac_xsave_LIBS"
25377 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25378 # to get the SysV transport functions.
25379 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25381 # The nsl library prevents programs from opening the X display
25382 # on Irix 5.2, according to T.E. Dickey.
25383 # The functions gethostbyname, getservbyname, and inet_addr are
25384 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25385 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25386 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25387 if test "${ac_cv_func_gethostbyname+set}" = set; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 cat >conftest.$ac_ext <<_ACEOF
25393 cat confdefs.h >>conftest.$ac_ext
25394 cat >>conftest.$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25396 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25398 #define gethostbyname innocuous_gethostbyname
25400 /* System header to define __stub macros and hopefully few prototypes,
25401 which can conflict with char gethostbyname (); below.
25402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25403 <limits.h> exists even on freestanding compilers. */
25406 # include <limits.h>
25408 # include <assert.h>
25411 #undef gethostbyname
25413 /* Override any gcc2 internal prototype to avoid an error. */
25418 /* We use char because int might match the return type of a gcc2
25419 builtin and then its argument prototype would still apply. */
25420 char gethostbyname ();
25421 /* The GNU C library defines this for functions which it implements
25422 to always fail with ENOSYS. Some functions are actually named
25423 something starting with __ and the normal name is an alias. */
25424 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25427 char (*f) () = gethostbyname;
25436 return f != gethostbyname;
25441 rm -f conftest.$ac_objext conftest$ac_exeext
25442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25443 (eval $ac_link) 2>conftest.er1
25445 grep -v '^ *+' conftest.er1 >conftest.err
25447 cat conftest.err >&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } &&
25450 { ac_try='test -z "$ac_c_werror_flag"
25451 || test ! -s conftest.err'
25452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453 (eval $ac_try) 2>&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); }; } &&
25457 { ac_try='test -s conftest$ac_exeext'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; }; then
25463 ac_cv_func_gethostbyname=yes
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25468 ac_cv_func_gethostbyname=no
25470 rm -f conftest.err conftest.$ac_objext \
25471 conftest$ac_exeext conftest.$ac_ext
25473 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25474 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25476 if test $ac_cv_func_gethostbyname = no; then
25477 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25478 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25479 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 ac_check_lib_save_LIBS=$LIBS
25484 cat >conftest.$ac_ext <<_ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25491 /* Override any gcc2 internal prototype to avoid an error. */
25495 /* We use char because int might match the return type of a gcc2
25496 builtin and then its argument prototype would still apply. */
25497 char gethostbyname ();
25506 rm -f conftest.$ac_objext conftest$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508 (eval $ac_link) 2>conftest.er1
25510 grep -v '^ *+' conftest.er1 >conftest.err
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try='test -z "$ac_c_werror_flag"
25516 || test ! -s conftest.err'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; } &&
25522 { ac_try='test -s conftest$ac_exeext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528 ac_cv_lib_nsl_gethostbyname=yes
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.$ac_ext >&5
25533 ac_cv_lib_nsl_gethostbyname=no
25535 rm -f conftest.err conftest.$ac_objext \
25536 conftest$ac_exeext conftest.$ac_ext
25537 LIBS=$ac_check_lib_save_LIBS
25539 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25540 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25541 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25542 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25545 if test $ac_cv_lib_nsl_gethostbyname = no; then
25546 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25547 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25548 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 ac_check_lib_save_LIBS=$LIBS
25553 cat >conftest.$ac_ext <<_ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25560 /* Override any gcc2 internal prototype to avoid an error. */
25564 /* We use char because int might match the return type of a gcc2
25565 builtin and then its argument prototype would still apply. */
25566 char gethostbyname ();
25575 rm -f conftest.$ac_objext conftest$ac_exeext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25577 (eval $ac_link) 2>conftest.er1
25579 grep -v '^ *+' conftest.er1 >conftest.err
25581 cat conftest.err >&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try='test -z "$ac_c_werror_flag"
25585 || test ! -s conftest.err'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; } &&
25591 { ac_try='test -s conftest$ac_exeext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25597 ac_cv_lib_bsd_gethostbyname=yes
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.$ac_ext >&5
25602 ac_cv_lib_bsd_gethostbyname=no
25604 rm -f conftest.err conftest.$ac_objext \
25605 conftest$ac_exeext conftest.$ac_ext
25606 LIBS=$ac_check_lib_save_LIBS
25608 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25609 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25610 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25611 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25617 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25618 # socket/setsockopt and other routines are undefined under SCO ODT
25619 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25620 # on later versions), says Simon Leinen: it contains gethostby*
25621 # variants that don't use the name server (or something). -lsocket
25622 # must be given before -lnsl if both are needed. We assume that
25623 # if connect needs -lnsl, so does gethostbyname.
25624 echo "$as_me:$LINENO: checking for connect" >&5
25625 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25626 if test "${ac_cv_func_connect+set}" = set; then
25627 echo $ECHO_N "(cached) $ECHO_C" >&6
25629 cat >conftest.$ac_ext <<_ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h. */
25635 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25637 #define connect innocuous_connect
25639 /* System header to define __stub macros and hopefully few prototypes,
25640 which can conflict with char connect (); below.
25641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25642 <limits.h> exists even on freestanding compilers. */
25645 # include <limits.h>
25647 # include <assert.h>
25652 /* Override any gcc2 internal prototype to avoid an error. */
25657 /* We use char because int might match the return type of a gcc2
25658 builtin and then its argument prototype would still apply. */
25660 /* The GNU C library defines this for functions which it implements
25661 to always fail with ENOSYS. Some functions are actually named
25662 something starting with __ and the normal name is an alias. */
25663 #if defined (__stub_connect) || defined (__stub___connect)
25666 char (*f) () = connect;
25675 return f != connect;
25680 rm -f conftest.$ac_objext conftest$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25684 grep -v '^ *+' conftest.er1 >conftest.err
25686 cat conftest.err >&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try='test -z "$ac_c_werror_flag"
25690 || test ! -s conftest.err'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; } &&
25696 { ac_try='test -s conftest$ac_exeext'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; }; then
25702 ac_cv_func_connect=yes
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25707 ac_cv_func_connect=no
25709 rm -f conftest.err conftest.$ac_objext \
25710 conftest$ac_exeext conftest.$ac_ext
25712 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25713 echo "${ECHO_T}$ac_cv_func_connect" >&6
25715 if test $ac_cv_func_connect = no; then
25716 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25717 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25718 if test "${ac_cv_lib_socket_connect+set}" = set; then
25719 echo $ECHO_N "(cached) $ECHO_C" >&6
25721 ac_check_lib_save_LIBS=$LIBS
25722 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25723 cat >conftest.$ac_ext <<_ACEOF
25726 cat confdefs.h >>conftest.$ac_ext
25727 cat >>conftest.$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25730 /* Override any gcc2 internal prototype to avoid an error. */
25734 /* We use char because int might match the return type of a gcc2
25735 builtin and then its argument prototype would still apply. */
25745 rm -f conftest.$ac_objext conftest$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25749 grep -v '^ *+' conftest.er1 >conftest.err
25751 cat conftest.err >&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 ac_cv_lib_socket_connect=yes
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25772 ac_cv_lib_socket_connect=no
25774 rm -f conftest.err conftest.$ac_objext \
25775 conftest$ac_exeext conftest.$ac_ext
25776 LIBS=$ac_check_lib_save_LIBS
25778 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25779 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25780 if test $ac_cv_lib_socket_connect = yes; then
25781 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25786 # Guillermo Gomez says -lposix is necessary on A/UX.
25787 echo "$as_me:$LINENO: checking for remove" >&5
25788 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25789 if test "${ac_cv_func_remove+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 cat >conftest.$ac_ext <<_ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25800 #define remove innocuous_remove
25802 /* System header to define __stub macros and hopefully few prototypes,
25803 which can conflict with char remove (); below.
25804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25805 <limits.h> exists even on freestanding compilers. */
25808 # include <limits.h>
25810 # include <assert.h>
25815 /* Override any gcc2 internal prototype to avoid an error. */
25820 /* We use char because int might match the return type of a gcc2
25821 builtin and then its argument prototype would still apply. */
25823 /* The GNU C library defines this for functions which it implements
25824 to always fail with ENOSYS. Some functions are actually named
25825 something starting with __ and the normal name is an alias. */
25826 #if defined (__stub_remove) || defined (__stub___remove)
25829 char (*f) () = remove;
25838 return f != remove;
25843 rm -f conftest.$ac_objext conftest$ac_exeext
25844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25845 (eval $ac_link) 2>conftest.er1
25847 grep -v '^ *+' conftest.er1 >conftest.err
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } &&
25852 { ac_try='test -z "$ac_c_werror_flag"
25853 || test ! -s conftest.err'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; } &&
25859 { ac_try='test -s conftest$ac_exeext'
25860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25861 (eval $ac_try) 2>&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); }; }; then
25865 ac_cv_func_remove=yes
25867 echo "$as_me: failed program was:" >&5
25868 sed 's/^/| /' conftest.$ac_ext >&5
25870 ac_cv_func_remove=no
25872 rm -f conftest.err conftest.$ac_objext \
25873 conftest$ac_exeext conftest.$ac_ext
25875 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25876 echo "${ECHO_T}$ac_cv_func_remove" >&6
25878 if test $ac_cv_func_remove = no; then
25879 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25880 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25881 if test "${ac_cv_lib_posix_remove+set}" = set; then
25882 echo $ECHO_N "(cached) $ECHO_C" >&6
25884 ac_check_lib_save_LIBS=$LIBS
25885 LIBS="-lposix $LIBS"
25886 cat >conftest.$ac_ext <<_ACEOF
25889 cat confdefs.h >>conftest.$ac_ext
25890 cat >>conftest.$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25893 /* Override any gcc2 internal prototype to avoid an error. */
25897 /* We use char because int might match the return type of a gcc2
25898 builtin and then its argument prototype would still apply. */
25908 rm -f conftest.$ac_objext conftest$ac_exeext
25909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25910 (eval $ac_link) 2>conftest.er1
25912 grep -v '^ *+' conftest.er1 >conftest.err
25914 cat conftest.err >&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } &&
25917 { ac_try='test -z "$ac_c_werror_flag"
25918 || test ! -s conftest.err'
25919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25920 (eval $ac_try) 2>&5
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); }; } &&
25924 { ac_try='test -s conftest$ac_exeext'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; }; then
25930 ac_cv_lib_posix_remove=yes
25932 echo "$as_me: failed program was:" >&5
25933 sed 's/^/| /' conftest.$ac_ext >&5
25935 ac_cv_lib_posix_remove=no
25937 rm -f conftest.err conftest.$ac_objext \
25938 conftest$ac_exeext conftest.$ac_ext
25939 LIBS=$ac_check_lib_save_LIBS
25941 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25942 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25943 if test $ac_cv_lib_posix_remove = yes; then
25944 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25949 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25950 echo "$as_me:$LINENO: checking for shmat" >&5
25951 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25952 if test "${ac_cv_func_shmat+set}" = set; then
25953 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 cat >conftest.$ac_ext <<_ACEOF
25958 cat confdefs.h >>conftest.$ac_ext
25959 cat >>conftest.$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25963 #define shmat innocuous_shmat
25965 /* System header to define __stub macros and hopefully few prototypes,
25966 which can conflict with char shmat (); below.
25967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25968 <limits.h> exists even on freestanding compilers. */
25971 # include <limits.h>
25973 # include <assert.h>
25978 /* Override any gcc2 internal prototype to avoid an error. */
25983 /* We use char because int might match the return type of a gcc2
25984 builtin and then its argument prototype would still apply. */
25986 /* The GNU C library defines this for functions which it implements
25987 to always fail with ENOSYS. Some functions are actually named
25988 something starting with __ and the normal name is an alias. */
25989 #if defined (__stub_shmat) || defined (__stub___shmat)
25992 char (*f) () = shmat;
26006 rm -f conftest.$ac_objext conftest$ac_exeext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26008 (eval $ac_link) 2>conftest.er1
26010 grep -v '^ *+' conftest.er1 >conftest.err
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try='test -z "$ac_c_werror_flag"
26016 || test ! -s conftest.err'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; } &&
26022 { ac_try='test -s conftest$ac_exeext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_func_shmat=yes
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.$ac_ext >&5
26033 ac_cv_func_shmat=no
26035 rm -f conftest.err conftest.$ac_objext \
26036 conftest$ac_exeext conftest.$ac_ext
26038 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26039 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26041 if test $ac_cv_func_shmat = no; then
26042 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26043 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26044 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 ac_check_lib_save_LIBS=$LIBS
26049 cat >conftest.$ac_ext <<_ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26056 /* Override any gcc2 internal prototype to avoid an error. */
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26071 rm -f conftest.$ac_objext conftest$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26075 grep -v '^ *+' conftest.er1 >conftest.err
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try='test -z "$ac_c_werror_flag"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 ac_cv_lib_ipc_shmat=yes
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26098 ac_cv_lib_ipc_shmat=no
26100 rm -f conftest.err conftest.$ac_objext \
26101 conftest$ac_exeext conftest.$ac_ext
26102 LIBS=$ac_check_lib_save_LIBS
26104 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26105 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26106 if test $ac_cv_lib_ipc_shmat = yes; then
26107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26113 # Check for libraries that X11R6 Xt/Xaw programs need.
26114 ac_save_LDFLAGS=$LDFLAGS
26115 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26116 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26117 # check for ICE first), but we must link in the order -lSM -lICE or
26118 # we get undefined symbols. So assume we have SM if we have ICE.
26119 # These have to be linked with before -lX11, unlike the other
26120 # libraries we check for below, so use a different variable.
26121 # John Interrante, Karl Berry
26122 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26123 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26124 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 ac_check_lib_save_LIBS=$LIBS
26128 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26129 cat >conftest.$ac_ext <<_ACEOF
26132 cat confdefs.h >>conftest.$ac_ext
26133 cat >>conftest.$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26136 /* Override any gcc2 internal prototype to avoid an error. */
26140 /* We use char because int might match the return type of a gcc2
26141 builtin and then its argument prototype would still apply. */
26142 char IceConnectionNumber ();
26146 IceConnectionNumber ();
26151 rm -f conftest.$ac_objext conftest$ac_exeext
26152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26153 (eval $ac_link) 2>conftest.er1
26155 grep -v '^ *+' conftest.er1 >conftest.err
26157 cat conftest.err >&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } &&
26160 { ac_try='test -z "$ac_c_werror_flag"
26161 || test ! -s conftest.err'
26162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26163 (eval $ac_try) 2>&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); }; } &&
26167 { ac_try='test -s conftest$ac_exeext'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; }; then
26173 ac_cv_lib_ICE_IceConnectionNumber=yes
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.$ac_ext >&5
26178 ac_cv_lib_ICE_IceConnectionNumber=no
26180 rm -f conftest.err conftest.$ac_objext \
26181 conftest$ac_exeext conftest.$ac_ext
26182 LIBS=$ac_check_lib_save_LIBS
26184 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26185 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26186 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26187 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26190 LDFLAGS=$ac_save_LDFLAGS
26195 if test "$no_x" = "yes"; then
26196 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26197 echo "$as_me: error: X11 not found" >&2;}
26198 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26201 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26202 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26203 AFMINSTALL=afminstall
26204 COMPILED_X_PROGRAM=0
26208 if test "$wxUSE_X11" = 1; then
26209 if test "$wxUSE_NANOX" = "yes"; then
26210 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26211 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26212 if test "x$MICROWIN" = x ; then
26213 echo "$as_me:$LINENO: result: not found" >&5
26214 echo "${ECHO_T}not found" >&6
26215 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26216 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26217 { (exit 1); exit 1; }; }
26219 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26220 echo "${ECHO_T}$MICROWIN" >&6
26221 cat >>confdefs.h <<\_ACEOF
26222 #define wxUSE_NANOX 1
26228 if test "$wxUSE_UNICODE" = "yes"; then
26232 if test -z "$PKG_CONFIG"; then
26233 # Extract the first word of "pkg-config", so it can be a program name with args.
26234 set dummy pkg-config; ac_word=$2
26235 echo "$as_me:$LINENO: checking for $ac_word" >&5
26236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26238 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 case $PKG_CONFIG in
26242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26246 for as_dir in $PATH
26249 test -z "$as_dir" && as_dir=.
26250 for ac_exec_ext in '' $ac_executable_extensions; do
26251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26259 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26265 if test -n "$PKG_CONFIG"; then
26266 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26267 echo "${ECHO_T}$PKG_CONFIG" >&6
26269 echo "$as_me:$LINENO: result: no" >&5
26270 echo "${ECHO_T}no" >&6
26275 if test "$PKG_CONFIG" = "no" ; then
26276 echo "*** The pkg-config script could not be found. Make sure it is"
26277 echo "*** in your path, or set the PKG_CONFIG environment variable"
26278 echo "*** to the full path to pkg-config."
26279 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26281 PKG_CONFIG_MIN_VERSION=0.9.0
26282 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26283 echo "$as_me:$LINENO: checking for pangox" >&5
26284 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
26286 if $PKG_CONFIG --exists "pangox" ; then
26287 echo "$as_me:$LINENO: result: yes" >&5
26288 echo "${ECHO_T}yes" >&6
26291 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
26292 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
26293 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
26294 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
26295 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
26297 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
26298 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
26299 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
26300 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
26301 echo "${ECHO_T}$PANGOX_LIBS" >&6
26305 ## If we have a custom action on failure, don't print errors, but
26306 ## do set a variable so people can do so.
26307 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
26314 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26315 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26319 if test $succeeded = yes; then
26321 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
26322 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
26326 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26327 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26328 { (exit 1); exit 1; }; }
26336 if test -z "$PKG_CONFIG"; then
26337 # Extract the first word of "pkg-config", so it can be a program name with args.
26338 set dummy pkg-config; ac_word=$2
26339 echo "$as_me:$LINENO: checking for $ac_word" >&5
26340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 case $PKG_CONFIG in
26346 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26350 for as_dir in $PATH
26353 test -z "$as_dir" && as_dir=.
26354 for ac_exec_ext in '' $ac_executable_extensions; do
26355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26356 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26363 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26369 if test -n "$PKG_CONFIG"; then
26370 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26371 echo "${ECHO_T}$PKG_CONFIG" >&6
26373 echo "$as_me:$LINENO: result: no" >&5
26374 echo "${ECHO_T}no" >&6
26379 if test "$PKG_CONFIG" = "no" ; then
26380 echo "*** The pkg-config script could not be found. Make sure it is"
26381 echo "*** in your path, or set the PKG_CONFIG environment variable"
26382 echo "*** to the full path to pkg-config."
26383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26385 PKG_CONFIG_MIN_VERSION=0.9.0
26386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26387 echo "$as_me:$LINENO: checking for pangoft2" >&5
26388 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26390 if $PKG_CONFIG --exists "pangoft2" ; then
26391 echo "$as_me:$LINENO: result: yes" >&5
26392 echo "${ECHO_T}yes" >&6
26395 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26396 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26397 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
26398 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26399 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26401 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26402 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26403 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
26404 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26405 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26409 ## If we have a custom action on failure, don't print errors, but
26410 ## do set a variable so people can do so.
26411 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26418 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26419 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26423 if test $succeeded = yes; then
26425 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
26426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26430 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26431 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26432 wxUSE_PRINTING_ARCHITECTURE="no"
26440 if test -z "$PKG_CONFIG"; then
26441 # Extract the first word of "pkg-config", so it can be a program name with args.
26442 set dummy pkg-config; ac_word=$2
26443 echo "$as_me:$LINENO: checking for $ac_word" >&5
26444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26445 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 case $PKG_CONFIG in
26450 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26454 for as_dir in $PATH
26457 test -z "$as_dir" && as_dir=.
26458 for ac_exec_ext in '' $ac_executable_extensions; do
26459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26460 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26467 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26471 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26473 if test -n "$PKG_CONFIG"; then
26474 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26475 echo "${ECHO_T}$PKG_CONFIG" >&6
26477 echo "$as_me:$LINENO: result: no" >&5
26478 echo "${ECHO_T}no" >&6
26483 if test "$PKG_CONFIG" = "no" ; then
26484 echo "*** The pkg-config script could not be found. Make sure it is"
26485 echo "*** in your path, or set the PKG_CONFIG environment variable"
26486 echo "*** to the full path to pkg-config."
26487 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26489 PKG_CONFIG_MIN_VERSION=0.9.0
26490 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26491 echo "$as_me:$LINENO: checking for pangoxft" >&5
26492 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26494 if $PKG_CONFIG --exists "pangoxft" ; then
26495 echo "$as_me:$LINENO: result: yes" >&5
26496 echo "${ECHO_T}yes" >&6
26499 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26500 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26501 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
26502 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26503 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26505 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26506 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26507 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
26508 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26509 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26513 ## If we have a custom action on failure, don't print errors, but
26514 ## do set a variable so people can do so.
26515 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26522 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26523 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26527 if test $succeeded = yes; then
26529 cat >>confdefs.h <<\_ACEOF
26530 #define HAVE_PANGO_XFT 1
26533 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
26534 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26538 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26539 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26544 save_CFLAGS="$CFLAGS"
26546 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
26547 LIBS="$LIBS $PANGOX_LIBS"
26549 for ac_func in pango_font_family_is_monospace
26551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26552 echo "$as_me:$LINENO: checking for $ac_func" >&5
26553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26554 if eval "test \"\${$as_ac_var+set}\" = set"; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 cat >conftest.$ac_ext <<_ACEOF
26560 cat confdefs.h >>conftest.$ac_ext
26561 cat >>conftest.$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26565 #define $ac_func innocuous_$ac_func
26567 /* System header to define __stub macros and hopefully few prototypes,
26568 which can conflict with char $ac_func (); below.
26569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26570 <limits.h> exists even on freestanding compilers. */
26573 # include <limits.h>
26575 # include <assert.h>
26580 /* Override any gcc2 internal prototype to avoid an error. */
26585 /* We use char because int might match the return type of a gcc2
26586 builtin and then its argument prototype would still apply. */
26588 /* The GNU C library defines this for functions which it implements
26589 to always fail with ENOSYS. Some functions are actually named
26590 something starting with __ and the normal name is an alias. */
26591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26594 char (*f) () = $ac_func;
26603 return f != $ac_func;
26608 rm -f conftest.$ac_objext conftest$ac_exeext
26609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26610 (eval $ac_link) 2>conftest.er1
26612 grep -v '^ *+' conftest.er1 >conftest.err
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } &&
26617 { ac_try='test -z "$ac_c_werror_flag"
26618 || test ! -s conftest.err'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; } &&
26624 { ac_try='test -s conftest$ac_exeext'
26625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26626 (eval $ac_try) 2>&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); }; }; then
26630 eval "$as_ac_var=yes"
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.$ac_ext >&5
26635 eval "$as_ac_var=no"
26637 rm -f conftest.err conftest.$ac_objext \
26638 conftest$ac_exeext conftest.$ac_ext
26640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26642 if test `eval echo '${'$as_ac_var'}'` = yes; then
26643 cat >>confdefs.h <<_ACEOF
26644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26650 CFLAGS="$save_CFLAGS"
26654 wxUSE_UNIVERSAL="yes"
26656 if test "$wxUSE_NANOX" = "yes"; then
26657 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26658 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"
26659 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26668 if test "$wxUSE_MOTIF" = 1; then
26669 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26670 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26673 for ac_dir in $SEARCH_INCLUDE /usr/include;
26675 if test -f "$ac_dir/Xm/Xm.h"; then
26676 ac_find_includes=$ac_dir
26681 if test "$ac_find_includes" != "" ; then
26682 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26683 echo "${ECHO_T}found in $ac_find_includes" >&6
26685 if test "x$ac_find_includes" = "x/usr/include"; then
26686 ac_path_to_include=""
26688 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26690 if test $result = 0; then
26691 ac_path_to_include=""
26693 ac_path_to_include=" -I$ac_find_includes"
26697 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26699 cat >conftest.$ac_ext <<_ACEOF
26702 cat confdefs.h >>conftest.$ac_ext
26703 cat >>conftest.$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26713 version = xmUseVersion;
26719 rm -f conftest.$ac_objext
26720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26721 (eval $ac_compile) 2>conftest.er1
26723 grep -v '^ *+' conftest.er1 >conftest.err
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } &&
26728 { ac_try='test -z "$ac_c_werror_flag"
26729 || test ! -s conftest.err'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; } &&
26735 { ac_try='test -s conftest.$ac_objext'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; }; then
26742 echo "$as_me:$LINENO: result: found in default search path" >&5
26743 echo "${ECHO_T}found in default search path" >&6
26744 COMPILED_X_PROGRAM=1
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.$ac_ext >&5
26751 echo "$as_me:$LINENO: result: no" >&5
26752 echo "${ECHO_T}no" >&6
26753 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26754 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26755 { (exit 1); exit 1; }; }
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26762 if test "$COMPILED_X_PROGRAM" = 0; then
26763 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26764 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26767 for ac_dir in $SEARCH_LIB /usr/lib;
26769 for ac_extension in a so sl dylib; do
26770 if test -f "$ac_dir/libXm.$ac_extension"; then
26771 ac_find_libraries=$ac_dir
26777 if test "$ac_find_libraries" != "" ; then
26778 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26779 echo "${ECHO_T}found at $ac_find_libraries" >&6
26782 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26784 if test $result = 0; then
26787 ac_path_to_link=" -L$ac_find_libraries"
26790 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26792 save_CFLAGS=$CFLAGS
26793 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26795 cat >conftest.$ac_ext <<_ACEOF
26798 cat confdefs.h >>conftest.$ac_ext
26799 cat >>conftest.$ac_ext <<_ACEOF
26800 /* end confdefs.h. */
26809 version = xmUseVersion;
26815 rm -f conftest.$ac_objext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26817 (eval $ac_compile) 2>conftest.er1
26819 grep -v '^ *+' conftest.er1 >conftest.err
26821 cat conftest.err >&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try='test -z "$ac_c_werror_flag"
26825 || test ! -s conftest.err'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; } &&
26831 { ac_try='test -s conftest.$ac_objext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26838 echo "$as_me:$LINENO: result: found in default search path" >&5
26839 echo "${ECHO_T}found in default search path" >&6
26840 COMPILED_X_PROGRAM=1
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26847 echo "$as_me:$LINENO: result: no" >&5
26848 echo "${ECHO_T}no" >&6
26849 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26850 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26851 { (exit 1); exit 1; }; }
26855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26857 CFLAGS=$save_CFLAGS
26861 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26862 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26866 for libp in "" " -lXp"; do
26867 if test "$libs_found" = "0"; then
26868 for libsm_ice in "" " -lSM -lICE"; do
26869 if test "$libs_found" = "0"; then
26871 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26872 save_CFLAGS=$CFLAGS
26873 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26875 cat >conftest.$ac_ext <<_ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26883 #include <Xm/List.h>
26889 XmString string = NULL;
26892 XmListAddItem(w, string, position);
26898 rm -f conftest.$ac_objext conftest$ac_exeext
26899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26900 (eval $ac_link) 2>conftest.er1
26902 grep -v '^ *+' conftest.er1 >conftest.err
26904 cat conftest.err >&5
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } &&
26907 { ac_try='test -z "$ac_c_werror_flag"
26908 || test ! -s conftest.err'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; } &&
26914 { ac_try='test -s conftest$ac_exeext'
26915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26916 (eval $ac_try) 2>&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); }; }; then
26922 libsm_ice_link="$libsm_ice"
26923 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26924 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.$ac_ext >&5
26934 rm -f conftest.err conftest.$ac_objext \
26935 conftest$ac_exeext conftest.$ac_ext
26938 CFLAGS=$save_CFLAGS
26944 if test "$libs_found" = "0"; then
26945 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26946 echo "${ECHO_T}can't find the right libraries" >&6
26947 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26948 echo "$as_me: error: can't link a simple motif program" >&2;}
26949 { (exit 1); exit 1; }; }
26952 save_CFLAGS=$CFLAGS
26953 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26954 echo "$as_me:$LINENO: checking for Motif 2" >&5
26955 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26956 cat >conftest.$ac_ext <<_ACEOF
26959 cat confdefs.h >>conftest.$ac_ext
26960 cat >>conftest.$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26969 #if XmVersion < 2000
26970 #error "Not Motif 2"
26977 rm -f conftest.$ac_objext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26979 (eval $ac_compile) 2>conftest.er1
26981 grep -v '^ *+' conftest.er1 >conftest.err
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try='test -s conftest.$ac_objext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
27000 cat >>confdefs.h <<\_ACEOF
27001 #define __WXMOTIF20__ 1
27004 echo "$as_me:$LINENO: result: found" >&5
27005 echo "${ECHO_T}found" >&6
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27012 cat >>confdefs.h <<\_ACEOF
27013 #define __WXMOTIF20__ 0
27016 echo "$as_me:$LINENO: result: not found" >&5
27017 echo "${ECHO_T}not found" >&6
27020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27021 CFLAGS=$save_CFLAGS
27023 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27028 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27029 if test "$wxUSE_LIBXPM" = "sys"; then
27030 echo "$as_me:$LINENO: checking for Xpm library" >&5
27031 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27034 for ac_dir in $SEARCH_LIB /usr/lib;
27036 for ac_extension in a so sl dylib; do
27037 if test -f "$ac_dir/libXpm.$ac_extension"; then
27038 ac_find_libraries=$ac_dir
27044 if test "$ac_find_libraries" != "" ; then
27046 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27048 if test $result = 0; then
27051 ac_path_to_link=" -L$ac_find_libraries"
27054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27055 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27056 echo "${ECHO_T}found at $ac_find_libraries" >&6
27058 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27059 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27060 if test "${wx_cv_x11_xpm_h+set}" = set; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 save_CFLAGS=$CFLAGS
27065 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27067 cat >conftest.$ac_ext <<_ACEOF
27070 cat confdefs.h >>conftest.$ac_ext
27071 cat >>conftest.$ac_ext <<_ACEOF
27072 /* end confdefs.h. */
27074 #include <X11/xpm.h>
27081 version = XpmLibraryVersion();
27087 rm -f conftest.$ac_objext
27088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27089 (eval $ac_compile) 2>conftest.er1
27091 grep -v '^ *+' conftest.er1 >conftest.err
27093 cat conftest.err >&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } &&
27096 { ac_try='test -z "$ac_c_werror_flag"
27097 || test ! -s conftest.err'
27098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27099 (eval $ac_try) 2>&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); }; } &&
27103 { ac_try='test -s conftest.$ac_objext'
27104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105 (eval $ac_try) 2>&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); }; }; then
27109 wx_cv_x11_xpm_h=yes
27111 echo "$as_me: failed program was:" >&5
27112 sed 's/^/| /' conftest.$ac_ext >&5
27117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27119 CFLAGS=$save_CFLAGS
27123 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27124 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27126 if test $wx_cv_x11_xpm_h = "yes"; then
27127 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
27128 cat >>confdefs.h <<\_ACEOF
27129 #define wxHAVE_LIB_XPM 1
27133 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27134 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27140 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27141 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27142 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27143 echo $ECHO_N "(cached) $ECHO_C" >&6
27145 ac_check_lib_save_LIBS=$LIBS
27146 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27147 cat >conftest.$ac_ext <<_ACEOF
27150 cat confdefs.h >>conftest.$ac_ext
27151 cat >>conftest.$ac_ext <<_ACEOF
27152 /* end confdefs.h. */
27154 /* Override any gcc2 internal prototype to avoid an error. */
27158 /* We use char because int might match the return type of a gcc2
27159 builtin and then its argument prototype would still apply. */
27160 char XShapeQueryExtension ();
27164 XShapeQueryExtension ();
27169 rm -f conftest.$ac_objext conftest$ac_exeext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27171 (eval $ac_link) 2>conftest.er1
27173 grep -v '^ *+' conftest.er1 >conftest.err
27175 cat conftest.err >&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try='test -z "$ac_c_werror_flag"
27179 || test ! -s conftest.err'
27180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27181 (eval $ac_try) 2>&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; } &&
27185 { ac_try='test -s conftest$ac_exeext'
27186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27187 (eval $ac_try) 2>&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); }; }; then
27191 ac_cv_lib_Xext_XShapeQueryExtension=yes
27193 echo "$as_me: failed program was:" >&5
27194 sed 's/^/| /' conftest.$ac_ext >&5
27196 ac_cv_lib_Xext_XShapeQueryExtension=no
27198 rm -f conftest.err conftest.$ac_objext \
27199 conftest$ac_exeext conftest.$ac_ext
27200 LIBS=$ac_check_lib_save_LIBS
27202 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27203 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27204 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27206 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27212 if test "$wxHAVE_XEXT_LIB" = 1; then
27213 save_CFLAGS="$CFLAGS"
27214 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27216 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27217 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27218 cat >conftest.$ac_ext <<_ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27225 #include <X11/Xlib.h>
27226 #include <X11/extensions/shape.h>
27232 int dummy1, dummy2;
27233 XShapeQueryExtension((Display*)NULL,
27234 (int*)NULL, (int*)NULL);
27240 rm -f conftest.$ac_objext
27241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27242 (eval $ac_compile) 2>conftest.er1
27244 grep -v '^ *+' conftest.er1 >conftest.err
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } &&
27249 { ac_try='test -z "$ac_c_werror_flag"
27250 || test ! -s conftest.err'
27251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 (eval $ac_try) 2>&5
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); }; } &&
27256 { ac_try='test -s conftest.$ac_objext'
27257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27258 (eval $ac_try) 2>&5
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; }; then
27263 cat >>confdefs.h <<\_ACEOF
27264 #define HAVE_XSHAPE 1
27267 echo "$as_me:$LINENO: result: found" >&5
27268 echo "${ECHO_T}found" >&6
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27275 echo "$as_me:$LINENO: result: not found" >&5
27276 echo "${ECHO_T}not found" >&6
27279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27280 CFLAGS="$save_CFLAGS"
27285 if test "$wxUSE_MAC" = 1; then
27286 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27287 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27288 if test "$GCC" = yes; then
27289 echo "$as_me:$LINENO: result: gcc" >&5
27290 echo "${ECHO_T}gcc" >&6
27291 CPPFLAGS_PASCAL="-fpascal-strings"
27292 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27293 echo "$as_me:$LINENO: result: xlc" >&5
27294 echo "${ECHO_T}xlc" >&6
27295 CPPFLAGS_PASCAL="-qmacpstr"
27297 echo "$as_me:$LINENO: result: none" >&5
27298 echo "${ECHO_T}none" >&6
27301 if test "x$wxUSE_UNIX" = "xyes"; then
27302 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27304 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
27309 WXBASEPORT="_carbon"
27312 if test "$wxUSE_COCOA" = 1; then
27317 if test "$wxUSE_PM" = 1; then
27320 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27321 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27322 if test "${wx_cv_spbcdata+set}" = set; then
27323 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 cat >conftest.$ac_ext <<_ACEOF
27329 cat confdefs.h >>conftest.$ac_ext
27330 cat >>conftest.$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27346 rm -f conftest.$ac_objext
27347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27348 (eval $ac_compile) 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); } &&
27355 { ac_try='test -z "$ac_c_werror_flag"
27356 || test ! -s conftest.err'
27357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27358 (eval $ac_try) 2>&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); }; } &&
27362 { ac_try='test -s conftest.$ac_objext'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27380 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27381 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27383 if test $wx_cv_spbcdata = "yes"; then
27384 cat >>confdefs.h <<\_ACEOF
27385 #define HAVE_SPBCDATA 1
27391 if test "$TOOLKIT" = "PM" ; then
27394 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27397 if test "$wxUSE_UNIVERSAL" = "yes"; then
27398 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27402 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27403 DISTDIR="wx\$(TOOLKIT)"
27409 if test "$USE_WIN32" = 1 ; then
27413 GUIDIST="BASE_DIST"
27423 if test "$TOOLKIT" != "MSW" ; then
27425 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27427 if test "${ac_cv_header_sql_h+set}" = set; then
27428 echo "$as_me:$LINENO: checking for sql.h" >&5
27429 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27430 if test "${ac_cv_header_sql_h+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27433 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27434 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27436 # Is the header compilable?
27437 echo "$as_me:$LINENO: checking sql.h usability" >&5
27438 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27439 cat >conftest.$ac_ext <<_ACEOF
27442 cat confdefs.h >>conftest.$ac_ext
27443 cat >>conftest.$ac_ext <<_ACEOF
27444 /* end confdefs.h. */
27445 $ac_includes_default
27448 rm -f conftest.$ac_objext
27449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27450 (eval $ac_compile) 2>conftest.er1
27452 grep -v '^ *+' conftest.er1 >conftest.err
27454 cat conftest.err >&5
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); } &&
27457 { ac_try='test -z "$ac_c_werror_flag"
27458 || test ! -s conftest.err'
27459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27460 (eval $ac_try) 2>&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; } &&
27464 { ac_try='test -s conftest.$ac_objext'
27465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27466 (eval $ac_try) 2>&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); }; }; then
27470 ac_header_compiler=yes
27472 echo "$as_me: failed program was:" >&5
27473 sed 's/^/| /' conftest.$ac_ext >&5
27475 ac_header_compiler=no
27477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27479 echo "${ECHO_T}$ac_header_compiler" >&6
27481 # Is the header present?
27482 echo "$as_me:$LINENO: checking sql.h presence" >&5
27483 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27484 cat >conftest.$ac_ext <<_ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27495 grep -v '^ *+' conftest.er1 >conftest.err
27497 cat conftest.err >&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); } >/dev/null; then
27500 if test -s conftest.err; then
27501 ac_cpp_err=$ac_c_preproc_warn_flag
27502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27509 if test -z "$ac_cpp_err"; then
27510 ac_header_preproc=yes
27512 echo "$as_me: failed program was:" >&5
27513 sed 's/^/| /' conftest.$ac_ext >&5
27515 ac_header_preproc=no
27517 rm -f conftest.err conftest.$ac_ext
27518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27519 echo "${ECHO_T}$ac_header_preproc" >&6
27521 # So? What about this header?
27522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27524 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27525 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27526 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27527 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27528 ac_header_preproc=yes
27531 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27532 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27533 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27534 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27535 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27536 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27537 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27538 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27539 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27540 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27541 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27542 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27545 ## ----------------------------------------- ##
27546 ## Report this to wx-dev@lists.wxwidgets.org ##
27547 ## ----------------------------------------- ##
27550 sed "s/^/$as_me: WARNING: /" >&2
27553 echo "$as_me:$LINENO: checking for sql.h" >&5
27554 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27555 if test "${ac_cv_header_sql_h+set}" = set; then
27556 echo $ECHO_N "(cached) $ECHO_C" >&6
27558 ac_cv_header_sql_h=$ac_header_preproc
27560 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27561 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27564 if test $ac_cv_header_sql_h = yes; then
27569 if test "x$found_sql_h" = "x1" ; then
27570 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27571 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27572 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 ac_check_lib_save_LIBS=$LIBS
27576 LIBS="-liodbc $LIBS"
27577 cat >conftest.$ac_ext <<_ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27584 /* Override any gcc2 internal prototype to avoid an error. */
27588 /* We use char because int might match the return type of a gcc2
27589 builtin and then its argument prototype would still apply. */
27590 char SQLAllocEnv ();
27599 rm -f conftest.$ac_objext conftest$ac_exeext
27600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27601 (eval $ac_link) 2>conftest.er1
27603 grep -v '^ *+' conftest.er1 >conftest.err
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } &&
27608 { ac_try='test -z "$ac_c_werror_flag"
27609 || test ! -s conftest.err'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; } &&
27615 { ac_try='test -s conftest$ac_exeext'
27616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27617 (eval $ac_try) 2>&5
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); }; }; then
27621 ac_cv_lib_iodbc_SQLAllocEnv=yes
27623 echo "$as_me: failed program was:" >&5
27624 sed 's/^/| /' conftest.$ac_ext >&5
27626 ac_cv_lib_iodbc_SQLAllocEnv=no
27628 rm -f conftest.err conftest.$ac_objext \
27629 conftest$ac_exeext conftest.$ac_ext
27630 LIBS=$ac_check_lib_save_LIBS
27632 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27633 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27634 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27635 ODBC_LINK=" -liodbc"
27638 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27639 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27640 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27641 echo $ECHO_N "(cached) $ECHO_C" >&6
27643 ac_check_lib_save_LIBS=$LIBS
27644 LIBS="-lunixodbc $LIBS"
27645 cat >conftest.$ac_ext <<_ACEOF
27648 cat confdefs.h >>conftest.$ac_ext
27649 cat >>conftest.$ac_ext <<_ACEOF
27650 /* end confdefs.h. */
27652 /* Override any gcc2 internal prototype to avoid an error. */
27656 /* We use char because int might match the return type of a gcc2
27657 builtin and then its argument prototype would still apply. */
27658 char SQLAllocEnv ();
27667 rm -f conftest.$ac_objext conftest$ac_exeext
27668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27669 (eval $ac_link) 2>conftest.er1
27671 grep -v '^ *+' conftest.er1 >conftest.err
27673 cat conftest.err >&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); } &&
27676 { ac_try='test -z "$ac_c_werror_flag"
27677 || test ! -s conftest.err'
27678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27679 (eval $ac_try) 2>&5
27681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27682 (exit $ac_status); }; } &&
27683 { ac_try='test -s conftest$ac_exeext'
27684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27685 (eval $ac_try) 2>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); }; }; then
27689 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.$ac_ext >&5
27694 ac_cv_lib_unixodbc_SQLAllocEnv=no
27696 rm -f conftest.err conftest.$ac_objext \
27697 conftest$ac_exeext conftest.$ac_ext
27698 LIBS=$ac_check_lib_save_LIBS
27700 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27701 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27702 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27703 ODBC_LINK=" -lunixodbc"
27706 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27707 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27708 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27709 echo $ECHO_N "(cached) $ECHO_C" >&6
27711 ac_check_lib_save_LIBS=$LIBS
27712 LIBS="-lodbc $LIBS"
27713 cat >conftest.$ac_ext <<_ACEOF
27716 cat confdefs.h >>conftest.$ac_ext
27717 cat >>conftest.$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27720 /* Override any gcc2 internal prototype to avoid an error. */
27724 /* We use char because int might match the return type of a gcc2
27725 builtin and then its argument prototype would still apply. */
27726 char SQLAllocEnv ();
27735 rm -f conftest.$ac_objext conftest$ac_exeext
27736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27737 (eval $ac_link) 2>conftest.er1
27739 grep -v '^ *+' conftest.er1 >conftest.err
27741 cat conftest.err >&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); } &&
27744 { ac_try='test -z "$ac_c_werror_flag"
27745 || test ! -s conftest.err'
27746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27747 (eval $ac_try) 2>&5
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); }; } &&
27751 { ac_try='test -s conftest$ac_exeext'
27752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27753 (eval $ac_try) 2>&5
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); }; }; then
27757 ac_cv_lib_odbc_SQLAllocEnv=yes
27759 echo "$as_me: failed program was:" >&5
27760 sed 's/^/| /' conftest.$ac_ext >&5
27762 ac_cv_lib_odbc_SQLAllocEnv=no
27764 rm -f conftest.err conftest.$ac_objext \
27765 conftest$ac_exeext conftest.$ac_ext
27766 LIBS=$ac_check_lib_save_LIBS
27768 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27769 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27770 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27771 ODBC_LINK=" -lodbc"
27781 if test "x$ODBC_LINK" = "x" ; then
27782 if test "$wxUSE_ODBC" = "sys" ; then
27783 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27784 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27785 { (exit 1); exit 1; }; }
27787 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27788 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27795 if test "$wxUSE_ODBC" != "no" ; then
27796 cat >>confdefs.h <<\_ACEOF
27797 #define wxUSE_ODBC 1
27800 if test "$wxUSE_ODBC" = "builtin" ; then
27801 cat >>confdefs.h <<\_ACEOF
27802 #define wxUSE_BUILTIN_IODBC 1
27806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27808 WXODBCFLAG="-D_IODBC_"
27814 if test "$wxUSE_DISPLAY" = "yes"; then
27815 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27816 echo "$as_me:$LINENO: checking for Xinerama" >&5
27817 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27820 for ac_dir in $SEARCH_LIB /usr/lib;
27822 for ac_extension in a so sl dylib; do
27823 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27824 ac_find_libraries=$ac_dir
27830 if test "$ac_find_libraries" != "" ; then
27832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27834 if test $result = 0; then
27837 ac_path_to_link=" -L$ac_find_libraries"
27840 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27841 LDFLAGS="$LDFLAGS $ac_path_to_link"
27843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27844 echo "$as_me:$LINENO: result: yes" >&5
27845 echo "${ECHO_T}yes" >&6
27847 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27848 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27851 for ac_dir in $SEARCH_LIB /usr/lib;
27853 for ac_extension in a so sl dylib; do
27854 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27855 ac_find_libraries=$ac_dir
27861 if test "$ac_find_libraries" != "" ; then
27862 echo "$as_me:$LINENO: result: yes" >&5
27863 echo "${ECHO_T}yes" >&6
27865 for ac_header in X11/extensions/xf86vmode.h
27867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27868 echo "$as_me:$LINENO: checking for $ac_header" >&5
27869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27871 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 cat >conftest.$ac_ext <<_ACEOF
27876 cat confdefs.h >>conftest.$ac_ext
27877 cat >>conftest.$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27880 #if HAVE_X11_XLIB_H
27881 #include <X11/Xlib.h>
27885 #include <$ac_header>
27887 rm -f conftest.$ac_objext
27888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27889 (eval $ac_compile) 2>conftest.er1
27891 grep -v '^ *+' conftest.er1 >conftest.err
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -z "$ac_c_werror_flag"
27897 || test ! -s conftest.err'
27898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27899 (eval $ac_try) 2>&5
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); }; } &&
27903 { ac_try='test -s conftest.$ac_objext'
27904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905 (eval $ac_try) 2>&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); }; }; then
27909 eval "$as_ac_Header=yes"
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.$ac_ext >&5
27914 eval "$as_ac_Header=no"
27916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27921 cat >>confdefs.h <<_ACEOF
27922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27925 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27932 echo "$as_me:$LINENO: result: no" >&5
27933 echo "${ECHO_T}no" >&6
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27939 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27940 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27943 elif test "$wxUSE_MSW" = 1; then
27946 for ac_header in multimon.h ddraw.h
27948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27949 echo "$as_me:$LINENO: checking for $ac_header" >&5
27950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 cat >conftest.$ac_ext <<_ACEOF
27957 cat confdefs.h >>conftest.$ac_ext
27958 cat >>conftest.$ac_ext <<_ACEOF
27959 /* end confdefs.h. */
27960 #include <windows.h>
27962 #include <$ac_header>
27964 rm -f conftest.$ac_objext
27965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27966 (eval $ac_compile) 2>conftest.er1
27968 grep -v '^ *+' conftest.er1 >conftest.err
27970 cat conftest.err >&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); } &&
27973 { ac_try='test -z "$ac_c_werror_flag"
27974 || test ! -s conftest.err'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; } &&
27980 { ac_try='test -s conftest.$ac_objext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27986 eval "$as_ac_Header=yes"
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27991 eval "$as_ac_Header=no"
27993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27998 cat >>confdefs.h <<_ACEOF
27999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28005 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28006 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28017 if test "$wxUSE_OPENGL" = "yes"; then
28018 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28019 OPENGL_LIBS="-framework OpenGL -framework AGL"
28020 elif test "$wxUSE_MSW" = 1; then
28021 OPENGL_LIBS="-lopengl32 -lglu32"
28026 for ac_dir in $SEARCH_INCLUDE /usr/include;
28028 if test -f "$ac_dir/GL/gl.h"; then
28029 ac_find_includes=$ac_dir
28034 if test "$ac_find_includes" != "" ; then
28035 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28036 echo "${ECHO_T}found in $ac_find_includes" >&6
28038 if test "x$ac_find_includes" = "x/usr/include"; then
28039 ac_path_to_include=""
28041 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
28043 if test $result = 0; then
28044 ac_path_to_include=""
28046 ac_path_to_include=" -I$ac_find_includes"
28050 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
28053 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28054 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28055 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28056 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28059 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28060 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28062 # Is the header compilable?
28063 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28064 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28065 cat >conftest.$ac_ext <<_ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28071 $ac_includes_default
28074 rm -f conftest.$ac_objext
28075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28076 (eval $ac_compile) 2>conftest.er1
28078 grep -v '^ *+' conftest.er1 >conftest.err
28080 cat conftest.err >&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); } &&
28083 { ac_try='test -z "$ac_c_werror_flag"
28084 || test ! -s conftest.err'
28085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086 (eval $ac_try) 2>&5
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; } &&
28090 { ac_try='test -s conftest.$ac_objext'
28091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28092 (eval $ac_try) 2>&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); }; }; then
28096 ac_header_compiler=yes
28098 echo "$as_me: failed program was:" >&5
28099 sed 's/^/| /' conftest.$ac_ext >&5
28101 ac_header_compiler=no
28103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28105 echo "${ECHO_T}$ac_header_compiler" >&6
28107 # Is the header present?
28108 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28109 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28110 cat >conftest.$ac_ext <<_ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28121 grep -v '^ *+' conftest.er1 >conftest.err
28123 cat conftest.err >&5
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); } >/dev/null; then
28126 if test -s conftest.err; then
28127 ac_cpp_err=$ac_c_preproc_warn_flag
28128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28135 if test -z "$ac_cpp_err"; then
28136 ac_header_preproc=yes
28138 echo "$as_me: failed program was:" >&5
28139 sed 's/^/| /' conftest.$ac_ext >&5
28141 ac_header_preproc=no
28143 rm -f conftest.err conftest.$ac_ext
28144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28145 echo "${ECHO_T}$ac_header_preproc" >&6
28147 # So? What about this header?
28148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28150 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28151 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28152 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28153 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28154 ac_header_preproc=yes
28157 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28158 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28159 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28160 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28161 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28162 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28163 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28164 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28165 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28166 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28167 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28168 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28171 ## ----------------------------------------- ##
28172 ## Report this to wx-dev@lists.wxwidgets.org ##
28173 ## ----------------------------------------- ##
28176 sed "s/^/$as_me: WARNING: /" >&2
28179 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28180 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28181 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28182 echo $ECHO_N "(cached) $ECHO_C" >&6
28184 ac_cv_header_GL_gl_h=$ac_header_preproc
28186 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28187 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28190 if test $ac_cv_header_GL_gl_h = yes; then
28194 echo "$as_me:$LINENO: checking for -lGL" >&5
28195 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28198 for ac_dir in $SEARCH_LIB /usr/lib;
28200 for ac_extension in a so sl dylib; do
28201 if test -f "$ac_dir/libGL.$ac_extension"; then
28202 ac_find_libraries=$ac_dir
28208 if test "$ac_find_libraries" != "" ; then
28210 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28212 if test $result = 0; then
28215 ac_path_to_link=" -L$ac_find_libraries"
28218 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28219 LDFLAGS_GL="$ac_path_to_link"
28224 for ac_dir in $SEARCH_LIB /usr/lib;
28226 for ac_extension in a so sl dylib; do
28227 if test -f "$ac_dir/libGLU.$ac_extension"; then
28228 ac_find_libraries=$ac_dir
28234 if test "$ac_find_libraries" != "" ; then
28236 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28238 if test $result = 0; then
28241 ac_path_to_link=" -L$ac_find_libraries"
28244 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28245 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28246 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28250 OPENGL_LIBS="-lGL -lGLU"
28251 echo "$as_me:$LINENO: result: yes" >&5
28252 echo "${ECHO_T}yes" >&6
28256 if test "$found_gl" != 1; then
28257 echo "$as_me:$LINENO: result: no" >&5
28258 echo "${ECHO_T}no" >&6
28259 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28260 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28263 for ac_dir in $SEARCH_LIB /usr/lib;
28265 for ac_extension in a so sl dylib; do
28266 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28267 ac_find_libraries=$ac_dir
28273 if test "$ac_find_libraries" != "" ; then
28275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28277 if test $result = 0; then
28280 ac_path_to_link=" -L$ac_find_libraries"
28283 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
28284 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28285 echo "$as_me:$LINENO: result: yes" >&5
28286 echo "${ECHO_T}yes" >&6
28288 echo "$as_me:$LINENO: result: no" >&5
28289 echo "${ECHO_T}no" >&6
28297 if test "x$OPENGL_LIBS" = "x"; then
28298 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28299 echo "$as_me: error: OpenGL libraries not available" >&2;}
28300 { (exit 1); exit 1; }; }
28304 if test "$wxUSE_OPENGL" = "yes"; then
28306 cat >>confdefs.h <<\_ACEOF
28307 #define wxUSE_OPENGL 1
28310 cat >>confdefs.h <<\_ACEOF
28311 #define wxUSE_GLCANVAS 1
28314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28319 if test -n "$TOOLKIT" ; then
28320 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28325 if test "$wxUSE_SHARED" = "yes"; then
28329 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28330 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28335 if test "$wxUSE_SHARED" = "yes"; then
28338 found_versioning=no
28341 if test $found_versioning = no ; then
28342 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28343 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28344 if test "${wx_cv_version_script+set}" = set; then
28345 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 echo "VER_1 { *; };" >conftest.sym
28349 echo "int main() { return 0; }" >conftest.cpp
28352 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28353 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 (eval $ac_try) 2>&5
28357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 (exit $ac_status); }; } ; then
28359 if test -s conftest.stderr ; then
28360 wx_cv_version_script=no
28362 wx_cv_version_script=yes
28365 wx_cv_version_script=no
28367 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28370 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28371 echo "${ECHO_T}$wx_cv_version_script" >&6
28372 if test $wx_cv_version_script = yes ; then
28373 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
28379 *-*-linux* | *-*-gnu* )
28380 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28381 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28385 if test "$GCC" = yes ; then
28386 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
28388 saveLdflags="$LDFLAGS"
28389 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28390 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28391 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28392 cat >conftest.$ac_ext <<_ACEOF
28395 cat confdefs.h >>conftest.$ac_ext
28396 cat >>conftest.$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28407 rm -f conftest.$ac_objext conftest$ac_exeext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28409 (eval $ac_link) 2>conftest.er1
28411 grep -v '^ *+' conftest.er1 >conftest.err
28413 cat conftest.err >&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try='test -s conftest$ac_exeext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28430 echo "$as_me:$LINENO: result: yes" >&5
28431 echo "${ECHO_T}yes" >&6
28432 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28433 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28440 echo "$as_me:$LINENO: result: no" >&5
28441 echo "${ECHO_T}no" >&6
28442 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28443 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28444 LDFLAGS="$saveLdflags -Wl,-R,/"
28445 cat >conftest.$ac_ext <<_ACEOF
28448 cat confdefs.h >>conftest.$ac_ext
28449 cat >>conftest.$ac_ext <<_ACEOF
28450 /* end confdefs.h. */
28460 rm -f conftest.$ac_objext conftest$ac_exeext
28461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28462 (eval $ac_link) 2>conftest.er1
28464 grep -v '^ *+' conftest.er1 >conftest.err
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } &&
28469 { ac_try='test -z "$ac_c_werror_flag"
28470 || test ! -s conftest.err'
28471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28472 (eval $ac_try) 2>&5
28474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28475 (exit $ac_status); }; } &&
28476 { ac_try='test -s conftest$ac_exeext'
28477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28478 (eval $ac_try) 2>&5
28480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 (exit $ac_status); }; }; then
28483 echo "$as_me:$LINENO: result: yes" >&5
28484 echo "${ECHO_T}yes" >&6
28485 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28486 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28489 echo "$as_me: failed program was:" >&5
28490 sed 's/^/| /' conftest.$ac_ext >&5
28493 echo "$as_me:$LINENO: result: no" >&5
28494 echo "${ECHO_T}no" >&6
28497 rm -f conftest.err conftest.$ac_objext \
28498 conftest$ac_exeext conftest.$ac_ext
28501 rm -f conftest.err conftest.$ac_objext \
28502 conftest$ac_exeext conftest.$ac_ext
28503 LDFLAGS="$saveLdflags"
28505 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28506 WXCONFIG_RPATH="-R\$libdir"
28510 powerpc-*-darwin* )
28511 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28512 cat <<EOF >change-install-names
28514 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28515 inst_cmd="install_name_tool "
28516 for i in \${libnames} ; do
28517 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28521 chmod +x change-install-names
28524 *-*-cygwin* | *-*-mingw32* )
28525 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28529 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
28530 WXCONFIG_RPATH="-Wl,+b,\$libdir"
28535 if test $wxUSE_RPATH = "no"; then
28536 SAMPLES_RPATH_FLAG=''
28537 SAMPLES_RPATH_POSTLINK=''
28545 config_linkage_component="-static"
28552 lib_unicode_suffix=
28554 if test "$wxUSE_UNICODE" = "yes"; then
28555 lib_unicode_suffix=u
28556 WX_CHARTYPE="unicode"
28561 WX_DEBUGTYPE="release"
28563 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28565 WX_DEBUGTYPE="debug"
28569 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28570 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28573 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28577 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28579 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28581 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28583 if test "$cross_compiling" = "yes"; then
28584 HOST_SUFFIX="-$host_alias"
28585 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28586 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28589 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28590 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28594 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28595 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28596 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28598 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28600 # Extract the first word of "Rez", so it can be a program name with args.
28601 set dummy Rez; ac_word=$2
28602 echo "$as_me:$LINENO: checking for $ac_word" >&5
28603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28604 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28607 if test -n "$RESCOMP"; then
28608 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28611 for as_dir in $PATH
28614 test -z "$as_dir" && as_dir=.
28615 for ac_exec_ext in '' $ac_executable_extensions; do
28616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28617 ac_cv_prog_RESCOMP="Rez"
28618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28624 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28627 RESCOMP=$ac_cv_prog_RESCOMP
28628 if test -n "$RESCOMP"; then
28629 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28630 echo "${ECHO_T}$RESCOMP" >&6
28632 echo "$as_me:$LINENO: result: no" >&5
28633 echo "${ECHO_T}no" >&6
28636 # Extract the first word of "DeRez", so it can be a program name with args.
28637 set dummy DeRez; ac_word=$2
28638 echo "$as_me:$LINENO: checking for $ac_word" >&5
28639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28640 if test "${ac_cv_prog_DEREZ+set}" = set; then
28641 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 if test -n "$DEREZ"; then
28644 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28647 for as_dir in $PATH
28650 test -z "$as_dir" && as_dir=.
28651 for ac_exec_ext in '' $ac_executable_extensions; do
28652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28653 ac_cv_prog_DEREZ="DeRez"
28654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28660 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28663 DEREZ=$ac_cv_prog_DEREZ
28664 if test -n "$DEREZ"; then
28665 echo "$as_me:$LINENO: result: $DEREZ" >&5
28666 echo "${ECHO_T}$DEREZ" >&6
28668 echo "$as_me:$LINENO: result: no" >&5
28669 echo "${ECHO_T}no" >&6
28672 # Extract the first word of "SetFile", so it can be a program name with args.
28673 set dummy SetFile; ac_word=$2
28674 echo "$as_me:$LINENO: checking for $ac_word" >&5
28675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28676 if test "${ac_cv_prog_SETFILE+set}" = set; then
28677 echo $ECHO_N "(cached) $ECHO_C" >&6
28679 if test -n "$SETFILE"; then
28680 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28683 for as_dir in $PATH
28686 test -z "$as_dir" && as_dir=.
28687 for ac_exec_ext in '' $ac_executable_extensions; do
28688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28689 ac_cv_prog_SETFILE="SetFile"
28690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28696 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28699 SETFILE=$ac_cv_prog_SETFILE
28700 if test -n "$SETFILE"; then
28701 echo "$as_me:$LINENO: result: $SETFILE" >&5
28702 echo "${ECHO_T}$SETFILE" >&6
28704 echo "$as_me:$LINENO: result: no" >&5
28705 echo "${ECHO_T}no" >&6
28709 MACSETFILE="\$(SETFILE)"
28711 if test "$wxUSE_MAC" = 1; then
28712 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28714 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28716 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28717 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28721 MACRESWXCONFIG="@true"
28723 if test "$wxUSE_PM" = 1; then
28724 MACRESCOMP="emxbind -ep"
28732 echo "$as_me:$LINENO: checking for mode_t" >&5
28733 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28734 if test "${ac_cv_type_mode_t+set}" = set; then
28735 echo $ECHO_N "(cached) $ECHO_C" >&6
28737 cat >conftest.$ac_ext <<_ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h. */
28743 $ac_includes_default
28749 if (sizeof (mode_t))
28755 rm -f conftest.$ac_objext
28756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28757 (eval $ac_compile) 2>conftest.er1
28759 grep -v '^ *+' conftest.er1 >conftest.err
28761 cat conftest.err >&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); } &&
28764 { ac_try='test -z "$ac_c_werror_flag"
28765 || test ! -s conftest.err'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; } &&
28771 { ac_try='test -s conftest.$ac_objext'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; }; then
28777 ac_cv_type_mode_t=yes
28779 echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.$ac_ext >&5
28782 ac_cv_type_mode_t=no
28784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28786 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28787 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28788 if test $ac_cv_type_mode_t = yes; then
28792 cat >>confdefs.h <<_ACEOF
28798 echo "$as_me:$LINENO: checking for off_t" >&5
28799 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28800 if test "${ac_cv_type_off_t+set}" = set; then
28801 echo $ECHO_N "(cached) $ECHO_C" >&6
28803 cat >conftest.$ac_ext <<_ACEOF
28806 cat confdefs.h >>conftest.$ac_ext
28807 cat >>conftest.$ac_ext <<_ACEOF
28808 /* end confdefs.h. */
28809 $ac_includes_default
28815 if (sizeof (off_t))
28821 rm -f conftest.$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28825 grep -v '^ *+' conftest.er1 >conftest.err
28827 cat conftest.err >&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try='test -z "$ac_c_werror_flag"
28831 || test ! -s conftest.err'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; } &&
28837 { ac_try='test -s conftest.$ac_objext'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; }; then
28843 ac_cv_type_off_t=yes
28845 echo "$as_me: failed program was:" >&5
28846 sed 's/^/| /' conftest.$ac_ext >&5
28848 ac_cv_type_off_t=no
28850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28852 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28853 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28854 if test $ac_cv_type_off_t = yes; then
28858 cat >>confdefs.h <<_ACEOF
28864 echo "$as_me:$LINENO: checking for pid_t" >&5
28865 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28866 if test "${ac_cv_type_pid_t+set}" = set; then
28867 echo $ECHO_N "(cached) $ECHO_C" >&6
28869 cat >conftest.$ac_ext <<_ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875 $ac_includes_default
28881 if (sizeof (pid_t))
28887 rm -f conftest.$ac_objext
28888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28889 (eval $ac_compile) 2>conftest.er1
28891 grep -v '^ *+' conftest.er1 >conftest.err
28893 cat conftest.err >&5
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); } &&
28896 { ac_try='test -z "$ac_c_werror_flag"
28897 || test ! -s conftest.err'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; } &&
28903 { ac_try='test -s conftest.$ac_objext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 ac_cv_type_pid_t=yes
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.$ac_ext >&5
28914 ac_cv_type_pid_t=no
28916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28918 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28919 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28920 if test $ac_cv_type_pid_t = yes; then
28924 cat >>confdefs.h <<_ACEOF
28930 echo "$as_me:$LINENO: checking for size_t" >&5
28931 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28932 if test "${ac_cv_type_size_t+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 cat >conftest.$ac_ext <<_ACEOF
28938 cat confdefs.h >>conftest.$ac_ext
28939 cat >>conftest.$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941 $ac_includes_default
28947 if (sizeof (size_t))
28953 rm -f conftest.$ac_objext
28954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28955 (eval $ac_compile) 2>conftest.er1
28957 grep -v '^ *+' conftest.er1 >conftest.err
28959 cat conftest.err >&5
28960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28961 (exit $ac_status); } &&
28962 { ac_try='test -z "$ac_c_werror_flag"
28963 || test ! -s conftest.err'
28964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28965 (eval $ac_try) 2>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); }; } &&
28969 { ac_try='test -s conftest.$ac_objext'
28970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28971 (eval $ac_try) 2>&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); }; }; then
28975 ac_cv_type_size_t=yes
28977 echo "$as_me: failed program was:" >&5
28978 sed 's/^/| /' conftest.$ac_ext >&5
28980 ac_cv_type_size_t=no
28982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28984 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28985 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28986 if test $ac_cv_type_size_t = yes; then
28990 cat >>confdefs.h <<_ACEOF
28991 #define size_t unsigned
28996 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28997 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28998 if test "${ac_cv_type_uid_t+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29001 cat >conftest.$ac_ext <<_ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h. */
29007 #include <sys/types.h>
29010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29011 $EGREP "uid_t" >/dev/null 2>&1; then
29012 ac_cv_type_uid_t=yes
29014 ac_cv_type_uid_t=no
29019 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29020 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29021 if test $ac_cv_type_uid_t = no; then
29023 cat >>confdefs.h <<\_ACEOF
29028 cat >>confdefs.h <<\_ACEOF
29035 echo "$as_me:$LINENO: checking for ssize_t" >&5
29036 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29037 if test "${ac_cv_type_ssize_t+set}" = set; then
29038 echo $ECHO_N "(cached) $ECHO_C" >&6
29040 cat >conftest.$ac_ext <<_ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 $ac_includes_default
29052 if (sizeof (ssize_t))
29058 rm -f conftest.$ac_objext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29060 (eval $ac_compile) 2>conftest.er1
29062 grep -v '^ *+' conftest.er1 >conftest.err
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } &&
29067 { ac_try='test -z "$ac_c_werror_flag"
29068 || test ! -s conftest.err'
29069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29070 (eval $ac_try) 2>&5
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); }; } &&
29074 { ac_try='test -s conftest.$ac_objext'
29075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29076 (eval $ac_try) 2>&5
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); }; }; then
29080 ac_cv_type_ssize_t=yes
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.$ac_ext >&5
29085 ac_cv_type_ssize_t=no
29087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29089 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29090 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29091 if test $ac_cv_type_ssize_t = yes; then
29093 cat >>confdefs.h <<_ACEOF
29094 #define HAVE_SSIZE_T 1
29104 ac_cpp='$CXXCPP $CPPFLAGS'
29105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29109 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29110 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29111 if test "${wx_cv_size_t_is_uint+set}" = set; then
29112 echo $ECHO_N "(cached) $ECHO_C" >&6
29115 cat >conftest.$ac_ext <<_ACEOF
29118 cat confdefs.h >>conftest.$ac_ext
29119 cat >>conftest.$ac_ext <<_ACEOF
29120 /* end confdefs.h. */
29121 #include <stddef.h>
29128 struct Foo { void foo(size_t); void foo(unsigned int); };
29136 rm -f conftest.$ac_objext
29137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29138 (eval $ac_compile) 2>conftest.er1
29140 grep -v '^ *+' conftest.er1 >conftest.err
29142 cat conftest.err >&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); } &&
29145 { ac_try='test -z "$ac_cxx_werror_flag"
29146 || test ! -s conftest.err'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; } &&
29152 { ac_try='test -s conftest.$ac_objext'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 wx_cv_size_t_is_uint=no
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29163 wx_cv_size_t_is_uint=yes
29166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29170 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29171 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29173 if test "$wx_cv_size_t_is_uint" = "yes"; then
29174 cat >>confdefs.h <<\_ACEOF
29175 #define wxSIZE_T_IS_UINT 1
29179 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29180 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29181 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 cat >conftest.$ac_ext <<_ACEOF
29187 cat confdefs.h >>conftest.$ac_ext
29188 cat >>conftest.$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29190 #include <stddef.h>
29197 struct Foo { void foo(size_t); void foo(unsigned long); };
29205 rm -f conftest.$ac_objext
29206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29207 (eval $ac_compile) 2>conftest.er1
29209 grep -v '^ *+' conftest.er1 >conftest.err
29211 cat conftest.err >&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } &&
29214 { ac_try='test -z "$ac_cxx_werror_flag"
29215 || test ! -s conftest.err'
29216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29217 (eval $ac_try) 2>&5
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); }; } &&
29221 { ac_try='test -s conftest.$ac_objext'
29222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223 (eval $ac_try) 2>&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); }; }; then
29227 wx_cv_size_t_is_ulong=no
29229 echo "$as_me: failed program was:" >&5
29230 sed 's/^/| /' conftest.$ac_ext >&5
29232 wx_cv_size_t_is_ulong=yes
29235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29238 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29239 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29241 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29242 cat >>confdefs.h <<\_ACEOF
29243 #define wxSIZE_T_IS_ULONG 1
29250 ac_cpp='$CPP $CPPFLAGS'
29251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29257 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29258 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29259 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29260 echo $ECHO_N "(cached) $ECHO_C" >&6
29263 cat >conftest.$ac_ext <<_ACEOF
29266 cat confdefs.h >>conftest.$ac_ext
29267 cat >>conftest.$ac_ext <<_ACEOF
29268 /* end confdefs.h. */
29282 rm -f conftest.$ac_objext
29283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29284 (eval $ac_compile) 2>conftest.er1
29286 grep -v '^ *+' conftest.er1 >conftest.err
29288 cat conftest.err >&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); } &&
29291 { ac_try='test -z "$ac_c_werror_flag"
29292 || test ! -s conftest.err'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; } &&
29298 { ac_try='test -s conftest.$ac_objext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29305 wx_cv_struct_pw_gecos=yes
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29312 wx_cv_struct_pw_gecos=no
29316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29320 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29321 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29323 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29324 cat >>confdefs.h <<\_ACEOF
29325 #define HAVE_PW_GECOS 1
29331 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29332 cat >>confdefs.h <<\_ACEOF
29333 #define wxUSE_WCHAR_T 1
29340 for ac_func in wcslen
29342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29343 echo "$as_me:$LINENO: checking for $ac_func" >&5
29344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29345 if eval "test \"\${$as_ac_var+set}\" = set"; then
29346 echo $ECHO_N "(cached) $ECHO_C" >&6
29348 cat >conftest.$ac_ext <<_ACEOF
29351 cat confdefs.h >>conftest.$ac_ext
29352 cat >>conftest.$ac_ext <<_ACEOF
29353 /* end confdefs.h. */
29354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29356 #define $ac_func innocuous_$ac_func
29358 /* System header to define __stub macros and hopefully few prototypes,
29359 which can conflict with char $ac_func (); below.
29360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29361 <limits.h> exists even on freestanding compilers. */
29364 # include <limits.h>
29366 # include <assert.h>
29371 /* Override any gcc2 internal prototype to avoid an error. */
29376 /* We use char because int might match the return type of a gcc2
29377 builtin and then its argument prototype would still apply. */
29379 /* The GNU C library defines this for functions which it implements
29380 to always fail with ENOSYS. Some functions are actually named
29381 something starting with __ and the normal name is an alias. */
29382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29385 char (*f) () = $ac_func;
29394 return f != $ac_func;
29399 rm -f conftest.$ac_objext conftest$ac_exeext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29401 (eval $ac_link) 2>conftest.er1
29403 grep -v '^ *+' conftest.er1 >conftest.err
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } &&
29408 { ac_try='test -z "$ac_c_werror_flag"
29409 || test ! -s conftest.err'
29410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29411 (eval $ac_try) 2>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; } &&
29415 { ac_try='test -s conftest$ac_exeext'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; }; then
29421 eval "$as_ac_var=yes"
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.$ac_ext >&5
29426 eval "$as_ac_var=no"
29428 rm -f conftest.err conftest.$ac_objext \
29429 conftest$ac_exeext conftest.$ac_ext
29431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29433 if test `eval echo '${'$as_ac_var'}'` = yes; then
29434 cat >>confdefs.h <<_ACEOF
29435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29442 if test "$WCSLEN_FOUND" = 0; then
29443 if test "$TOOLKIT" = "MSW"; then
29444 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29445 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29446 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29449 ac_check_lib_save_LIBS=$LIBS
29450 LIBS="-lmsvcrt $LIBS"
29451 cat >conftest.$ac_ext <<_ACEOF
29454 cat confdefs.h >>conftest.$ac_ext
29455 cat >>conftest.$ac_ext <<_ACEOF
29456 /* end confdefs.h. */
29458 /* Override any gcc2 internal prototype to avoid an error. */
29462 /* We use char because int might match the return type of a gcc2
29463 builtin and then its argument prototype would still apply. */
29473 rm -f conftest.$ac_objext conftest$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475 (eval $ac_link) 2>conftest.er1
29477 grep -v '^ *+' conftest.er1 >conftest.err
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try='test -z "$ac_c_werror_flag"
29483 || test ! -s conftest.err'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; } &&
29489 { ac_try='test -s conftest$ac_exeext'
29490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491 (eval $ac_try) 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; }; then
29495 ac_cv_lib_msvcrt_wcslen=yes
29497 echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.$ac_ext >&5
29500 ac_cv_lib_msvcrt_wcslen=no
29502 rm -f conftest.err conftest.$ac_objext \
29503 conftest$ac_exeext conftest.$ac_ext
29504 LIBS=$ac_check_lib_save_LIBS
29506 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29507 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29508 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29513 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29514 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29515 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 ac_check_lib_save_LIBS=$LIBS
29520 cat >conftest.$ac_ext <<_ACEOF
29523 cat confdefs.h >>conftest.$ac_ext
29524 cat >>conftest.$ac_ext <<_ACEOF
29525 /* end confdefs.h. */
29527 /* Override any gcc2 internal prototype to avoid an error. */
29531 /* We use char because int might match the return type of a gcc2
29532 builtin and then its argument prototype would still apply. */
29542 rm -f conftest.$ac_objext conftest$ac_exeext
29543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29544 (eval $ac_link) 2>conftest.er1
29546 grep -v '^ *+' conftest.er1 >conftest.err
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } &&
29551 { ac_try='test -z "$ac_c_werror_flag"
29552 || test ! -s conftest.err'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; } &&
29558 { ac_try='test -s conftest$ac_exeext'
29559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29560 (eval $ac_try) 2>&5
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); }; }; then
29564 ac_cv_lib_w_wcslen=yes
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29569 ac_cv_lib_w_wcslen=no
29571 rm -f conftest.err conftest.$ac_objext \
29572 conftest$ac_exeext conftest.$ac_ext
29573 LIBS=$ac_check_lib_save_LIBS
29575 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29576 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29577 if test $ac_cv_lib_w_wcslen = yes; then
29587 if test "$WCSLEN_FOUND" = 1; then
29588 cat >>confdefs.h <<\_ACEOF
29589 #define HAVE_WCSLEN 1
29594 if test "$USE_HPUX" = 1; then
29595 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29599 for ac_func in wcsrtombs
29601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29602 echo "$as_me:$LINENO: checking for $ac_func" >&5
29603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29604 if eval "test \"\${$as_ac_var+set}\" = set"; then
29605 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 cat >conftest.$ac_ext <<_ACEOF
29610 cat confdefs.h >>conftest.$ac_ext
29611 cat >>conftest.$ac_ext <<_ACEOF
29612 /* end confdefs.h. */
29613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29615 #define $ac_func innocuous_$ac_func
29617 /* System header to define __stub macros and hopefully few prototypes,
29618 which can conflict with char $ac_func (); below.
29619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29620 <limits.h> exists even on freestanding compilers. */
29623 # include <limits.h>
29625 # include <assert.h>
29630 /* Override any gcc2 internal prototype to avoid an error. */
29635 /* We use char because int might match the return type of a gcc2
29636 builtin and then its argument prototype would still apply. */
29638 /* The GNU C library defines this for functions which it implements
29639 to always fail with ENOSYS. Some functions are actually named
29640 something starting with __ and the normal name is an alias. */
29641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29644 char (*f) () = $ac_func;
29653 return f != $ac_func;
29658 rm -f conftest.$ac_objext conftest$ac_exeext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29660 (eval $ac_link) 2>conftest.er1
29662 grep -v '^ *+' conftest.er1 >conftest.err
29664 cat conftest.err >&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try='test -z "$ac_c_werror_flag"
29668 || test ! -s conftest.err'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; } &&
29674 { ac_try='test -s conftest$ac_exeext'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; }; then
29680 eval "$as_ac_var=yes"
29682 echo "$as_me: failed program was:" >&5
29683 sed 's/^/| /' conftest.$ac_ext >&5
29685 eval "$as_ac_var=no"
29687 rm -f conftest.err conftest.$ac_objext \
29688 conftest$ac_exeext conftest.$ac_ext
29690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29692 if test `eval echo '${'$as_ac_var'}'` = yes; then
29693 cat >>confdefs.h <<_ACEOF
29694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29701 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29702 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29708 ac_cpp='$CXXCPP $CPPFLAGS'
29709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29715 for ac_func in vsnprintf
29717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29718 echo "$as_me:$LINENO: checking for $ac_func" >&5
29719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29720 if eval "test \"\${$as_ac_var+set}\" = set"; then
29721 echo $ECHO_N "(cached) $ECHO_C" >&6
29723 cat >conftest.$ac_ext <<_ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29731 #define $ac_func innocuous_$ac_func
29733 /* System header to define __stub macros and hopefully few prototypes,
29734 which can conflict with char $ac_func (); below.
29735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29736 <limits.h> exists even on freestanding compilers. */
29739 # include <limits.h>
29741 # include <assert.h>
29746 /* Override any gcc2 internal prototype to avoid an error. */
29751 /* We use char because int might match the return type of a gcc2
29752 builtin and then its argument prototype would still apply. */
29754 /* The GNU C library defines this for functions which it implements
29755 to always fail with ENOSYS. Some functions are actually named
29756 something starting with __ and the normal name is an alias. */
29757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29760 char (*f) () = $ac_func;
29769 return f != $ac_func;
29774 rm -f conftest.$ac_objext conftest$ac_exeext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29776 (eval $ac_link) 2>conftest.er1
29778 grep -v '^ *+' conftest.er1 >conftest.err
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try='test -z "$ac_cxx_werror_flag"
29784 || test ! -s conftest.err'
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); }; } &&
29790 { ac_try='test -s conftest$ac_exeext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29796 eval "$as_ac_var=yes"
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 eval "$as_ac_var=no"
29803 rm -f conftest.err conftest.$ac_objext \
29804 conftest$ac_exeext conftest.$ac_ext
29806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29808 if test `eval echo '${'$as_ac_var'}'` = yes; then
29809 cat >>confdefs.h <<_ACEOF
29810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29817 if test "$ac_cv_func_vsnprintf" = "yes"; then
29818 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29819 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29820 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29824 cat >conftest.$ac_ext <<_ACEOF
29827 cat confdefs.h >>conftest.$ac_ext
29828 cat >>conftest.$ac_ext <<_ACEOF
29829 /* end confdefs.h. */
29832 #include <stdarg.h>
29840 vsnprintf(buf, 10u, "%s", ap);
29846 rm -f conftest.$ac_objext
29847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29848 (eval $ac_compile) 2>conftest.er1
29850 grep -v '^ *+' conftest.er1 >conftest.err
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } &&
29855 { ac_try='test -z "$ac_cxx_werror_flag"
29856 || test ! -s conftest.err'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; } &&
29862 { ac_try='test -s conftest.$ac_objext'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; }; then
29868 wx_cv_func_vsnprintf_decl=yes
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29874 cat >conftest.$ac_ext <<_ACEOF
29877 cat confdefs.h >>conftest.$ac_ext
29878 cat >>conftest.$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29882 #include <stdarg.h>
29883 using namespace std;
29891 vsnprintf(buf, 10u, "%s", ap);
29897 rm -f conftest.$ac_objext
29898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29899 (eval $ac_compile) 2>conftest.er1
29901 grep -v '^ *+' conftest.er1 >conftest.err
29903 cat conftest.err >&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); } &&
29906 { ac_try='test -z "$ac_cxx_werror_flag"
29907 || test ! -s conftest.err'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; } &&
29913 { ac_try='test -s conftest.$ac_objext'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 wx_cv_func_vsnprintf_decl=yes
29921 echo "$as_me: failed program was:" >&5
29922 sed 's/^/| /' conftest.$ac_ext >&5
29924 wx_cv_func_vsnprintf_decl=no
29927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29935 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29936 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29938 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29939 cat >>confdefs.h <<\_ACEOF
29940 #define HAVE_VSNPRINTF_DECL 1
29946 if test "$wxUSE_UNICODE" = yes; then
29953 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29956 echo "$as_me:$LINENO: checking for $ac_func" >&5
29957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29958 if eval "test \"\${$as_ac_var+set}\" = set"; then
29959 echo $ECHO_N "(cached) $ECHO_C" >&6
29961 cat >conftest.$ac_ext <<_ACEOF
29964 cat confdefs.h >>conftest.$ac_ext
29965 cat >>conftest.$ac_ext <<_ACEOF
29966 /* end confdefs.h. */
29967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29969 #define $ac_func innocuous_$ac_func
29971 /* System header to define __stub macros and hopefully few prototypes,
29972 which can conflict with char $ac_func (); below.
29973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29974 <limits.h> exists even on freestanding compilers. */
29977 # include <limits.h>
29979 # include <assert.h>
29984 /* Override any gcc2 internal prototype to avoid an error. */
29989 /* We use char because int might match the return type of a gcc2
29990 builtin and then its argument prototype would still apply. */
29992 /* The GNU C library defines this for functions which it implements
29993 to always fail with ENOSYS. Some functions are actually named
29994 something starting with __ and the normal name is an alias. */
29995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29998 char (*f) () = $ac_func;
30007 return f != $ac_func;
30012 rm -f conftest.$ac_objext conftest$ac_exeext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30014 (eval $ac_link) 2>conftest.er1
30016 grep -v '^ *+' conftest.er1 >conftest.err
30018 cat conftest.err >&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try='test -z "$ac_cxx_werror_flag"
30022 || test ! -s conftest.err'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; } &&
30028 { ac_try='test -s conftest$ac_exeext'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; }; then
30034 eval "$as_ac_var=yes"
30036 echo "$as_me: failed program was:" >&5
30037 sed 's/^/| /' conftest.$ac_ext >&5
30039 eval "$as_ac_var=no"
30041 rm -f conftest.err conftest.$ac_objext \
30042 conftest$ac_exeext conftest.$ac_ext
30044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30046 if test `eval echo '${'$as_ac_var'}'` = yes; then
30047 cat >>confdefs.h <<_ACEOF
30048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30055 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30056 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30057 cat >conftest.$ac_ext <<_ACEOF
30060 cat confdefs.h >>conftest.$ac_ext
30061 cat >>conftest.$ac_ext <<_ACEOF
30062 /* end confdefs.h. */
30072 rm -f conftest.$ac_objext
30073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30074 (eval $ac_compile) 2>conftest.er1
30076 grep -v '^ *+' conftest.er1 >conftest.err
30078 cat conftest.err >&5
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); } &&
30081 { ac_try='test -z "$ac_cxx_werror_flag"
30082 || test ! -s conftest.err'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; } &&
30088 { ac_try='test -s conftest.$ac_objext'
30089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30090 (eval $ac_try) 2>&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); }; }; then
30094 echo "$as_me:$LINENO: result: yes" >&5
30095 echo "${ECHO_T}yes" >&6
30096 cat >>confdefs.h <<\_ACEOF
30097 #define HAVE__VSNWPRINTF 1
30101 echo "$as_me: failed program was:" >&5
30102 sed 's/^/| /' conftest.$ac_ext >&5
30104 echo "$as_me:$LINENO: result: no" >&5
30105 echo "${ECHO_T}no" >&6
30107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30111 ac_cpp='$CPP $CPPFLAGS'
30112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30119 if test "$TOOLKIT" != "MSW"; then
30125 ac_cpp='$CXXCPP $CPPFLAGS'
30126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30133 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30134 if test "${with_libiconv_prefix+set}" = set; then
30135 withval="$with_libiconv_prefix"
30137 for dir in `echo "$withval" | tr : ' '`; do
30138 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30139 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30144 echo "$as_me:$LINENO: checking for iconv" >&5
30145 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30146 if test "${am_cv_func_iconv+set}" = set; then
30147 echo $ECHO_N "(cached) $ECHO_C" >&6
30150 am_cv_func_iconv="no, consider installing GNU libiconv"
30152 cat >conftest.$ac_ext <<_ACEOF
30155 cat confdefs.h >>conftest.$ac_ext
30156 cat >>conftest.$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30158 #include <stdlib.h>
30163 iconv_t cd = iconv_open("","");
30164 iconv(cd,NULL,NULL,NULL,NULL);
30170 rm -f conftest.$ac_objext conftest$ac_exeext
30171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30172 (eval $ac_link) 2>conftest.er1
30174 grep -v '^ *+' conftest.er1 >conftest.err
30176 cat conftest.err >&5
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); } &&
30179 { ac_try='test -z "$ac_cxx_werror_flag"
30180 || test ! -s conftest.err'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; } &&
30186 { ac_try='test -s conftest$ac_exeext'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; }; then
30192 am_cv_func_iconv=yes
30194 echo "$as_me: failed program was:" >&5
30195 sed 's/^/| /' conftest.$ac_ext >&5
30198 rm -f conftest.err conftest.$ac_objext \
30199 conftest$ac_exeext conftest.$ac_ext
30200 if test "$am_cv_func_iconv" != yes; then
30201 am_save_LIBS="$LIBS"
30202 LIBS="$LIBS -liconv"
30203 cat >conftest.$ac_ext <<_ACEOF
30206 cat confdefs.h >>conftest.$ac_ext
30207 cat >>conftest.$ac_ext <<_ACEOF
30208 /* end confdefs.h. */
30209 #include <stdlib.h>
30214 iconv_t cd = iconv_open("","");
30215 iconv(cd,NULL,NULL,NULL,NULL);
30221 rm -f conftest.$ac_objext conftest$ac_exeext
30222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30223 (eval $ac_link) 2>conftest.er1
30225 grep -v '^ *+' conftest.er1 >conftest.err
30227 cat conftest.err >&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); } &&
30230 { ac_try='test -z "$ac_cxx_werror_flag"
30231 || test ! -s conftest.err'
30232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30233 (eval $ac_try) 2>&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); }; } &&
30237 { ac_try='test -s conftest$ac_exeext'
30238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30239 (eval $ac_try) 2>&5
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); }; }; then
30243 am_cv_lib_iconv=yes
30244 am_cv_func_iconv=yes
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30250 rm -f conftest.err conftest.$ac_objext \
30251 conftest$ac_exeext conftest.$ac_ext
30252 LIBS="$am_save_LIBS"
30256 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30257 echo "${ECHO_T}$am_cv_func_iconv" >&6
30258 if test "$am_cv_func_iconv" = yes; then
30260 cat >>confdefs.h <<\_ACEOF
30261 #define HAVE_ICONV 1
30264 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30265 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30266 if test "${wx_cv_func_iconv_const+set}" = set; then
30267 echo $ECHO_N "(cached) $ECHO_C" >&6
30269 cat >conftest.$ac_ext <<_ACEOF
30272 cat confdefs.h >>conftest.$ac_ext
30273 cat >>conftest.$ac_ext <<_ACEOF
30274 /* end confdefs.h. */
30276 #include <stdlib.h>
30282 #if defined(__STDC__) || defined(__cplusplus)
30283 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30296 rm -f conftest.$ac_objext
30297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30298 (eval $ac_compile) 2>conftest.er1
30300 grep -v '^ *+' conftest.er1 >conftest.err
30302 cat conftest.err >&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); } &&
30305 { ac_try='test -z "$ac_cxx_werror_flag"
30306 || test ! -s conftest.err'
30307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308 (eval $ac_try) 2>&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); }; } &&
30312 { ac_try='test -s conftest.$ac_objext'
30313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30314 (eval $ac_try) 2>&5
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); }; }; then
30318 wx_cv_func_iconv_const="no"
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30323 wx_cv_func_iconv_const="yes"
30326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30329 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30330 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30333 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30334 iconv_const="const"
30338 cat >>confdefs.h <<_ACEOF
30339 #define ICONV_CONST $iconv_const
30344 if test "$am_cv_lib_iconv" = yes; then
30349 LIBS="$LIBICONV $LIBS"
30351 ac_cpp='$CPP $CPPFLAGS'
30352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30359 for ac_func in sigaction
30361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30362 echo "$as_me:$LINENO: checking for $ac_func" >&5
30363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30364 if eval "test \"\${$as_ac_var+set}\" = set"; then
30365 echo $ECHO_N "(cached) $ECHO_C" >&6
30367 cat >conftest.$ac_ext <<_ACEOF
30370 cat confdefs.h >>conftest.$ac_ext
30371 cat >>conftest.$ac_ext <<_ACEOF
30372 /* end confdefs.h. */
30373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30375 #define $ac_func innocuous_$ac_func
30377 /* System header to define __stub macros and hopefully few prototypes,
30378 which can conflict with char $ac_func (); below.
30379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30380 <limits.h> exists even on freestanding compilers. */
30383 # include <limits.h>
30385 # include <assert.h>
30390 /* Override any gcc2 internal prototype to avoid an error. */
30395 /* We use char because int might match the return type of a gcc2
30396 builtin and then its argument prototype would still apply. */
30398 /* The GNU C library defines this for functions which it implements
30399 to always fail with ENOSYS. Some functions are actually named
30400 something starting with __ and the normal name is an alias. */
30401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30404 char (*f) () = $ac_func;
30413 return f != $ac_func;
30418 rm -f conftest.$ac_objext conftest$ac_exeext
30419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30420 (eval $ac_link) 2>conftest.er1
30422 grep -v '^ *+' conftest.er1 >conftest.err
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } &&
30427 { ac_try='test -z "$ac_c_werror_flag"
30428 || test ! -s conftest.err'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; } &&
30434 { ac_try='test -s conftest$ac_exeext'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; }; then
30440 eval "$as_ac_var=yes"
30442 echo "$as_me: failed program was:" >&5
30443 sed 's/^/| /' conftest.$ac_ext >&5
30445 eval "$as_ac_var=no"
30447 rm -f conftest.err conftest.$ac_objext \
30448 conftest$ac_exeext conftest.$ac_ext
30450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30452 if test `eval echo '${'$as_ac_var'}'` = yes; then
30453 cat >>confdefs.h <<_ACEOF
30454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30461 if test "$ac_cv_func_sigaction" = "no"; then
30462 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30463 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30464 wxUSE_ON_FATAL_EXCEPTION=no
30467 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30471 ac_cpp='$CXXCPP $CPPFLAGS'
30472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30477 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30478 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30479 if test "${wx_cv_type_sa_handler+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 cat >conftest.$ac_ext <<_ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 #include <signal.h>
30494 extern void testSigHandler(int);
30496 struct sigaction sa;
30497 sa.sa_handler = testSigHandler;
30503 rm -f conftest.$ac_objext
30504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30505 (eval $ac_compile) 2>conftest.er1
30507 grep -v '^ *+' conftest.er1 >conftest.err
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } &&
30512 { ac_try='test -z "$ac_cxx_werror_flag"
30513 || test ! -s conftest.err'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; } &&
30519 { ac_try='test -s conftest.$ac_objext'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; }; then
30526 wx_cv_type_sa_handler=int
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30533 wx_cv_type_sa_handler=void
30536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30539 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30540 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30543 ac_cpp='$CPP $CPPFLAGS'
30544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30549 cat >>confdefs.h <<_ACEOF
30550 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30556 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30560 ac_cpp='$CXXCPP $CPPFLAGS'
30561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30566 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30567 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30568 if test "${wx_cv_func_backtrace+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 cat >conftest.$ac_ext <<_ACEOF
30575 cat confdefs.h >>conftest.$ac_ext
30576 cat >>conftest.$ac_ext <<_ACEOF
30577 /* end confdefs.h. */
30578 #include <execinfo.h>
30586 backtrace(trace, 1);
30587 messages = backtrace_symbols(trace, 1);
30593 rm -f conftest.$ac_objext
30594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30595 (eval $ac_compile) 2>conftest.er1
30597 grep -v '^ *+' conftest.er1 >conftest.err
30599 cat conftest.err >&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); } &&
30602 { ac_try='test -z "$ac_cxx_werror_flag"
30603 || test ! -s conftest.err'
30604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30605 (eval $ac_try) 2>&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; } &&
30609 { ac_try='test -s conftest.$ac_objext'
30610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30611 (eval $ac_try) 2>&5
30613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30614 (exit $ac_status); }; }; then
30615 wx_cv_func_backtrace=yes
30617 echo "$as_me: failed program was:" >&5
30618 sed 's/^/| /' conftest.$ac_ext >&5
30620 wx_cv_func_backtrace=no
30623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30627 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30628 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30631 if test "$wx_cv_func_backtrace" = "no"; then
30632 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30633 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30634 wxUSE_STACKWALKER=no
30636 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30637 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30638 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30642 cat >conftest.$ac_ext <<_ACEOF
30645 cat confdefs.h >>conftest.$ac_ext
30646 cat >>conftest.$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 #include <cxxabi.h>
30654 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30660 rm -f conftest.$ac_objext
30661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30662 (eval $ac_compile) 2>conftest.er1
30664 grep -v '^ *+' conftest.er1 >conftest.err
30666 cat conftest.err >&5
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); } &&
30669 { ac_try='test -z "$ac_cxx_werror_flag"
30670 || test ! -s conftest.err'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; } &&
30676 { ac_try='test -s conftest.$ac_objext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 wx_cv_func_cxa_demangle=yes
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30687 wx_cv_func_cxa_demangle=no
30690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30694 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30695 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30697 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30698 cat >>confdefs.h <<\_ACEOF
30699 #define HAVE_CXA_DEMANGLE 1
30706 ac_cpp='$CPP $CPPFLAGS'
30707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30715 for ac_func in mkstemp mktemp
30717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30718 echo "$as_me:$LINENO: checking for $ac_func" >&5
30719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30720 if eval "test \"\${$as_ac_var+set}\" = set"; then
30721 echo $ECHO_N "(cached) $ECHO_C" >&6
30723 cat >conftest.$ac_ext <<_ACEOF
30726 cat confdefs.h >>conftest.$ac_ext
30727 cat >>conftest.$ac_ext <<_ACEOF
30728 /* end confdefs.h. */
30729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30731 #define $ac_func innocuous_$ac_func
30733 /* System header to define __stub macros and hopefully few prototypes,
30734 which can conflict with char $ac_func (); below.
30735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30736 <limits.h> exists even on freestanding compilers. */
30739 # include <limits.h>
30741 # include <assert.h>
30746 /* Override any gcc2 internal prototype to avoid an error. */
30751 /* We use char because int might match the return type of a gcc2
30752 builtin and then its argument prototype would still apply. */
30754 /* The GNU C library defines this for functions which it implements
30755 to always fail with ENOSYS. Some functions are actually named
30756 something starting with __ and the normal name is an alias. */
30757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30760 char (*f) () = $ac_func;
30769 return f != $ac_func;
30774 rm -f conftest.$ac_objext conftest$ac_exeext
30775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30776 (eval $ac_link) 2>conftest.er1
30778 grep -v '^ *+' conftest.er1 >conftest.err
30780 cat conftest.err >&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } &&
30783 { ac_try='test -z "$ac_c_werror_flag"
30784 || test ! -s conftest.err'
30785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30786 (eval $ac_try) 2>&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); }; } &&
30790 { ac_try='test -s conftest$ac_exeext'
30791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30792 (eval $ac_try) 2>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; }; then
30796 eval "$as_ac_var=yes"
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30801 eval "$as_ac_var=no"
30803 rm -f conftest.err conftest.$ac_objext \
30804 conftest$ac_exeext conftest.$ac_ext
30806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30808 if test `eval echo '${'$as_ac_var'}'` = yes; then
30809 cat >>confdefs.h <<_ACEOF
30810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30817 echo "$as_me:$LINENO: checking for statfs" >&5
30818 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30819 if test "${wx_cv_func_statfs+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30822 cat >conftest.$ac_ext <<_ACEOF
30825 cat confdefs.h >>conftest.$ac_ext
30826 cat >>conftest.$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30829 #if defined(__BSD__)
30830 #include <sys/param.h>
30831 #include <sys/mount.h>
30833 #include <sys/vfs.h>
30851 rm -f conftest.$ac_objext
30852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30853 (eval $ac_compile) 2>conftest.er1
30855 grep -v '^ *+' conftest.er1 >conftest.err
30857 cat conftest.err >&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); } &&
30860 { ac_try='test -z "$ac_c_werror_flag"
30861 || test ! -s conftest.err'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; } &&
30867 { ac_try='test -s conftest.$ac_objext'
30868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30869 (eval $ac_try) 2>&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; }; then
30874 wx_cv_func_statfs=yes
30877 echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.$ac_ext >&5
30881 wx_cv_func_statfs=no
30885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30888 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30889 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30891 if test "$wx_cv_func_statfs" = "yes"; then
30892 wx_cv_type_statvfs_t="struct statfs"
30893 cat >>confdefs.h <<\_ACEOF
30894 #define HAVE_STATFS 1
30898 echo "$as_me:$LINENO: checking for statvfs" >&5
30899 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30900 if test "${wx_cv_func_statvfs+set}" = set; then
30901 echo $ECHO_N "(cached) $ECHO_C" >&6
30903 cat >conftest.$ac_ext <<_ACEOF
30906 cat confdefs.h >>conftest.$ac_ext
30907 cat >>conftest.$ac_ext <<_ACEOF
30908 /* end confdefs.h. */
30910 #include <stddef.h>
30911 #include <sys/statvfs.h>
30917 statvfs("/", NULL);
30923 rm -f conftest.$ac_objext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30925 (eval $ac_compile) 2>conftest.er1
30927 grep -v '^ *+' conftest.er1 >conftest.err
30929 cat conftest.err >&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try='test -z "$ac_c_werror_flag"
30933 || test ! -s conftest.err'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; } &&
30939 { ac_try='test -s conftest.$ac_objext'
30940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30941 (eval $ac_try) 2>&5
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); }; }; then
30945 wx_cv_func_statvfs=yes
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30950 wx_cv_func_statvfs=no
30953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30956 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30957 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30959 if test "$wx_cv_func_statvfs" = "yes"; then
30963 ac_cpp='$CXXCPP $CPPFLAGS'
30964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30969 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30970 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30971 if test "${wx_cv_type_statvfs_t+set}" = set; then
30972 echo $ECHO_N "(cached) $ECHO_C" >&6
30974 cat >conftest.$ac_ext <<_ACEOF
30977 cat confdefs.h >>conftest.$ac_ext
30978 cat >>conftest.$ac_ext <<_ACEOF
30979 /* end confdefs.h. */
30981 #include <sys/statvfs.h>
30998 rm -f conftest.$ac_objext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31000 (eval $ac_compile) 2>conftest.er1
31002 grep -v '^ *+' conftest.er1 >conftest.err
31004 cat conftest.err >&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try='test -z "$ac_cxx_werror_flag"
31008 || test ! -s conftest.err'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; } &&
31014 { ac_try='test -s conftest.$ac_objext'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; }; then
31020 wx_cv_type_statvfs_t=statvfs_t
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.$ac_ext >&5
31026 cat >conftest.$ac_ext <<_ACEOF
31029 cat confdefs.h >>conftest.$ac_ext
31030 cat >>conftest.$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31033 #include <sys/statvfs.h>
31050 rm -f conftest.$ac_objext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31052 (eval $ac_compile) 2>conftest.er1
31054 grep -v '^ *+' conftest.er1 >conftest.err
31056 cat conftest.err >&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); } &&
31059 { ac_try='test -z "$ac_cxx_werror_flag"
31060 || test ! -s conftest.err'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; } &&
31066 { ac_try='test -s conftest.$ac_objext'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; }; then
31072 wx_cv_type_statvfs_t="struct statvfs"
31074 echo "$as_me: failed program was:" >&5
31075 sed 's/^/| /' conftest.$ac_ext >&5
31077 wx_cv_type_statvfs_t="unknown"
31080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31087 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31088 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31091 ac_cpp='$CPP $CPPFLAGS'
31092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31097 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31098 cat >>confdefs.h <<\_ACEOF
31099 #define HAVE_STATVFS 1
31104 wx_cv_type_statvfs_t="unknown"
31108 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31109 cat >>confdefs.h <<_ACEOF
31110 #define WX_STATFS_T $wx_cv_type_statvfs_t
31114 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31115 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31118 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31121 for ac_func in fcntl flock
31123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31124 echo "$as_me:$LINENO: checking for $ac_func" >&5
31125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31126 if eval "test \"\${$as_ac_var+set}\" = set"; then
31127 echo $ECHO_N "(cached) $ECHO_C" >&6
31129 cat >conftest.$ac_ext <<_ACEOF
31132 cat confdefs.h >>conftest.$ac_ext
31133 cat >>conftest.$ac_ext <<_ACEOF
31134 /* end confdefs.h. */
31135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31137 #define $ac_func innocuous_$ac_func
31139 /* System header to define __stub macros and hopefully few prototypes,
31140 which can conflict with char $ac_func (); below.
31141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31142 <limits.h> exists even on freestanding compilers. */
31145 # include <limits.h>
31147 # include <assert.h>
31152 /* Override any gcc2 internal prototype to avoid an error. */
31157 /* We use char because int might match the return type of a gcc2
31158 builtin and then its argument prototype would still apply. */
31160 /* The GNU C library defines this for functions which it implements
31161 to always fail with ENOSYS. Some functions are actually named
31162 something starting with __ and the normal name is an alias. */
31163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31166 char (*f) () = $ac_func;
31175 return f != $ac_func;
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31182 (eval $ac_link) 2>conftest.er1
31184 grep -v '^ *+' conftest.er1 >conftest.err
31186 cat conftest.err >&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } &&
31189 { ac_try='test -z "$ac_c_werror_flag"
31190 || test ! -s conftest.err'
31191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31192 (eval $ac_try) 2>&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); }; } &&
31196 { ac_try='test -s conftest$ac_exeext'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; }; then
31202 eval "$as_ac_var=yes"
31204 echo "$as_me: failed program was:" >&5
31205 sed 's/^/| /' conftest.$ac_ext >&5
31207 eval "$as_ac_var=no"
31209 rm -f conftest.err conftest.$ac_objext \
31210 conftest$ac_exeext conftest.$ac_ext
31212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31214 if test `eval echo '${'$as_ac_var'}'` = yes; then
31215 cat >>confdefs.h <<_ACEOF
31216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31223 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31224 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31225 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31226 wxUSE_SNGLINST_CHECKER=no
31231 for ac_func in timegm
31233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31234 echo "$as_me:$LINENO: checking for $ac_func" >&5
31235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31236 if eval "test \"\${$as_ac_var+set}\" = set"; then
31237 echo $ECHO_N "(cached) $ECHO_C" >&6
31239 cat >conftest.$ac_ext <<_ACEOF
31242 cat confdefs.h >>conftest.$ac_ext
31243 cat >>conftest.$ac_ext <<_ACEOF
31244 /* end confdefs.h. */
31245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31247 #define $ac_func innocuous_$ac_func
31249 /* System header to define __stub macros and hopefully few prototypes,
31250 which can conflict with char $ac_func (); below.
31251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31252 <limits.h> exists even on freestanding compilers. */
31255 # include <limits.h>
31257 # include <assert.h>
31262 /* Override any gcc2 internal prototype to avoid an error. */
31267 /* We use char because int might match the return type of a gcc2
31268 builtin and then its argument prototype would still apply. */
31270 /* The GNU C library defines this for functions which it implements
31271 to always fail with ENOSYS. Some functions are actually named
31272 something starting with __ and the normal name is an alias. */
31273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31276 char (*f) () = $ac_func;
31285 return f != $ac_func;
31290 rm -f conftest.$ac_objext conftest$ac_exeext
31291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31292 (eval $ac_link) 2>conftest.er1
31294 grep -v '^ *+' conftest.er1 >conftest.err
31296 cat conftest.err >&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try='test -z "$ac_c_werror_flag"
31300 || test ! -s conftest.err'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; } &&
31306 { ac_try='test -s conftest$ac_exeext'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; }; then
31312 eval "$as_ac_var=yes"
31314 echo "$as_me: failed program was:" >&5
31315 sed 's/^/| /' conftest.$ac_ext >&5
31317 eval "$as_ac_var=no"
31319 rm -f conftest.err conftest.$ac_objext \
31320 conftest$ac_exeext conftest.$ac_ext
31322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31324 if test `eval echo '${'$as_ac_var'}'` = yes; then
31325 cat >>confdefs.h <<_ACEOF
31326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31335 for ac_func in putenv setenv
31337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31338 echo "$as_me:$LINENO: checking for $ac_func" >&5
31339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31340 if eval "test \"\${$as_ac_var+set}\" = set"; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 cat >conftest.$ac_ext <<_ACEOF
31346 cat confdefs.h >>conftest.$ac_ext
31347 cat >>conftest.$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31351 #define $ac_func innocuous_$ac_func
31353 /* System header to define __stub macros and hopefully few prototypes,
31354 which can conflict with char $ac_func (); below.
31355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31356 <limits.h> exists even on freestanding compilers. */
31359 # include <limits.h>
31361 # include <assert.h>
31366 /* Override any gcc2 internal prototype to avoid an error. */
31371 /* We use char because int might match the return type of a gcc2
31372 builtin and then its argument prototype would still apply. */
31374 /* The GNU C library defines this for functions which it implements
31375 to always fail with ENOSYS. Some functions are actually named
31376 something starting with __ and the normal name is an alias. */
31377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31380 char (*f) () = $ac_func;
31389 return f != $ac_func;
31394 rm -f conftest.$ac_objext conftest$ac_exeext
31395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31396 (eval $ac_link) 2>conftest.er1
31398 grep -v '^ *+' conftest.er1 >conftest.err
31400 cat conftest.err >&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); } &&
31403 { ac_try='test -z "$ac_c_werror_flag"
31404 || test ! -s conftest.err'
31405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406 (eval $ac_try) 2>&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; } &&
31410 { ac_try='test -s conftest$ac_exeext'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; }; then
31416 eval "$as_ac_var=yes"
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.$ac_ext >&5
31421 eval "$as_ac_var=no"
31423 rm -f conftest.err conftest.$ac_objext \
31424 conftest$ac_exeext conftest.$ac_ext
31426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31428 if test `eval echo '${'$as_ac_var'}'` = yes; then
31429 cat >>confdefs.h <<_ACEOF
31430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31437 HAVE_SOME_SLEEP_FUNC=0
31438 if test "$USE_BEOS" = 1; then
31439 cat >>confdefs.h <<\_ACEOF
31440 #define HAVE_SLEEP 1
31443 HAVE_SOME_SLEEP_FUNC=1
31446 if test "$USE_DARWIN" = 1; then
31447 cat >>confdefs.h <<\_ACEOF
31448 #define HAVE_USLEEP 1
31451 HAVE_SOME_SLEEP_FUNC=1
31454 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31457 for ac_func in nanosleep
31459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31460 echo "$as_me:$LINENO: checking for $ac_func" >&5
31461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31462 if eval "test \"\${$as_ac_var+set}\" = set"; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 cat >conftest.$ac_ext <<_ACEOF
31468 cat confdefs.h >>conftest.$ac_ext
31469 cat >>conftest.$ac_ext <<_ACEOF
31470 /* end confdefs.h. */
31471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31473 #define $ac_func innocuous_$ac_func
31475 /* System header to define __stub macros and hopefully few prototypes,
31476 which can conflict with char $ac_func (); below.
31477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31478 <limits.h> exists even on freestanding compilers. */
31481 # include <limits.h>
31483 # include <assert.h>
31488 /* Override any gcc2 internal prototype to avoid an error. */
31493 /* We use char because int might match the return type of a gcc2
31494 builtin and then its argument prototype would still apply. */
31496 /* The GNU C library defines this for functions which it implements
31497 to always fail with ENOSYS. Some functions are actually named
31498 something starting with __ and the normal name is an alias. */
31499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31502 char (*f) () = $ac_func;
31511 return f != $ac_func;
31516 rm -f conftest.$ac_objext conftest$ac_exeext
31517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31518 (eval $ac_link) 2>conftest.er1
31520 grep -v '^ *+' conftest.er1 >conftest.err
31522 cat conftest.err >&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } &&
31525 { ac_try='test -z "$ac_c_werror_flag"
31526 || test ! -s conftest.err'
31527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 (eval $ac_try) 2>&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; } &&
31532 { ac_try='test -s conftest$ac_exeext'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; }; then
31538 eval "$as_ac_var=yes"
31540 echo "$as_me: failed program was:" >&5
31541 sed 's/^/| /' conftest.$ac_ext >&5
31543 eval "$as_ac_var=no"
31545 rm -f conftest.err conftest.$ac_objext \
31546 conftest$ac_exeext conftest.$ac_ext
31548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31550 if test `eval echo '${'$as_ac_var'}'` = yes; then
31551 cat >>confdefs.h <<_ACEOF
31552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31554 cat >>confdefs.h <<\_ACEOF
31555 #define HAVE_NANOSLEEP 1
31560 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31561 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31562 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31563 echo $ECHO_N "(cached) $ECHO_C" >&6
31565 ac_check_lib_save_LIBS=$LIBS
31566 LIBS="-lposix4 $LIBS"
31567 cat >conftest.$ac_ext <<_ACEOF
31570 cat confdefs.h >>conftest.$ac_ext
31571 cat >>conftest.$ac_ext <<_ACEOF
31572 /* end confdefs.h. */
31574 /* Override any gcc2 internal prototype to avoid an error. */
31578 /* We use char because int might match the return type of a gcc2
31579 builtin and then its argument prototype would still apply. */
31589 rm -f conftest.$ac_objext conftest$ac_exeext
31590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31591 (eval $ac_link) 2>conftest.er1
31593 grep -v '^ *+' conftest.er1 >conftest.err
31595 cat conftest.err >&5
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); } &&
31598 { ac_try='test -z "$ac_c_werror_flag"
31599 || test ! -s conftest.err'
31600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31601 (eval $ac_try) 2>&5
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); }; } &&
31605 { ac_try='test -s conftest$ac_exeext'
31606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31607 (eval $ac_try) 2>&5
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); }; }; then
31611 ac_cv_lib_posix4_nanosleep=yes
31613 echo "$as_me: failed program was:" >&5
31614 sed 's/^/| /' conftest.$ac_ext >&5
31616 ac_cv_lib_posix4_nanosleep=no
31618 rm -f conftest.err conftest.$ac_objext \
31619 conftest$ac_exeext conftest.$ac_ext
31620 LIBS=$ac_check_lib_save_LIBS
31622 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31623 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31624 if test $ac_cv_lib_posix4_nanosleep = yes; then
31626 cat >>confdefs.h <<\_ACEOF
31627 #define HAVE_NANOSLEEP 1
31630 POSIX4_LINK=" -lposix4"
31635 for ac_func in usleep
31637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31638 echo "$as_me:$LINENO: checking for $ac_func" >&5
31639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31640 if eval "test \"\${$as_ac_var+set}\" = set"; then
31641 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 cat >conftest.$ac_ext <<_ACEOF
31646 cat confdefs.h >>conftest.$ac_ext
31647 cat >>conftest.$ac_ext <<_ACEOF
31648 /* end confdefs.h. */
31649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31651 #define $ac_func innocuous_$ac_func
31653 /* System header to define __stub macros and hopefully few prototypes,
31654 which can conflict with char $ac_func (); below.
31655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31656 <limits.h> exists even on freestanding compilers. */
31659 # include <limits.h>
31661 # include <assert.h>
31666 /* Override any gcc2 internal prototype to avoid an error. */
31671 /* We use char because int might match the return type of a gcc2
31672 builtin and then its argument prototype would still apply. */
31674 /* The GNU C library defines this for functions which it implements
31675 to always fail with ENOSYS. Some functions are actually named
31676 something starting with __ and the normal name is an alias. */
31677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31680 char (*f) () = $ac_func;
31689 return f != $ac_func;
31694 rm -f conftest.$ac_objext conftest$ac_exeext
31695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31696 (eval $ac_link) 2>conftest.er1
31698 grep -v '^ *+' conftest.er1 >conftest.err
31700 cat conftest.err >&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } &&
31703 { ac_try='test -z "$ac_c_werror_flag"
31704 || test ! -s conftest.err'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; } &&
31710 { ac_try='test -s conftest$ac_exeext'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; }; then
31716 eval "$as_ac_var=yes"
31718 echo "$as_me: failed program was:" >&5
31719 sed 's/^/| /' conftest.$ac_ext >&5
31721 eval "$as_ac_var=no"
31723 rm -f conftest.err conftest.$ac_objext \
31724 conftest$ac_exeext conftest.$ac_ext
31726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31728 if test `eval echo '${'$as_ac_var'}'` = yes; then
31729 cat >>confdefs.h <<_ACEOF
31730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31732 cat >>confdefs.h <<\_ACEOF
31733 #define HAVE_USLEEP 1
31737 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31738 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31756 for ac_func in uname gethostname
31758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31759 echo "$as_me:$LINENO: checking for $ac_func" >&5
31760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31761 if eval "test \"\${$as_ac_var+set}\" = set"; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31764 cat >conftest.$ac_ext <<_ACEOF
31767 cat confdefs.h >>conftest.$ac_ext
31768 cat >>conftest.$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31772 #define $ac_func innocuous_$ac_func
31774 /* System header to define __stub macros and hopefully few prototypes,
31775 which can conflict with char $ac_func (); below.
31776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31777 <limits.h> exists even on freestanding compilers. */
31780 # include <limits.h>
31782 # include <assert.h>
31787 /* Override any gcc2 internal prototype to avoid an error. */
31792 /* We use char because int might match the return type of a gcc2
31793 builtin and then its argument prototype would still apply. */
31795 /* The GNU C library defines this for functions which it implements
31796 to always fail with ENOSYS. Some functions are actually named
31797 something starting with __ and the normal name is an alias. */
31798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31801 char (*f) () = $ac_func;
31810 return f != $ac_func;
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31817 (eval $ac_link) 2>conftest.er1
31819 grep -v '^ *+' conftest.er1 >conftest.err
31821 cat conftest.err >&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); } &&
31824 { ac_try='test -z "$ac_c_werror_flag"
31825 || test ! -s conftest.err'
31826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31827 (eval $ac_try) 2>&5
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); }; } &&
31831 { ac_try='test -s conftest$ac_exeext'
31832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31833 (eval $ac_try) 2>&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; }; then
31837 eval "$as_ac_var=yes"
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31842 eval "$as_ac_var=no"
31844 rm -f conftest.err conftest.$ac_objext \
31845 conftest$ac_exeext conftest.$ac_ext
31847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31849 if test `eval echo '${'$as_ac_var'}'` = yes; then
31850 cat >>confdefs.h <<_ACEOF
31851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31861 ac_cpp='$CXXCPP $CPPFLAGS'
31862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31868 for ac_func in strtok_r
31870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31871 echo "$as_me:$LINENO: checking for $ac_func" >&5
31872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31873 if eval "test \"\${$as_ac_var+set}\" = set"; then
31874 echo $ECHO_N "(cached) $ECHO_C" >&6
31876 cat >conftest.$ac_ext <<_ACEOF
31879 cat confdefs.h >>conftest.$ac_ext
31880 cat >>conftest.$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31884 #define $ac_func innocuous_$ac_func
31886 /* System header to define __stub macros and hopefully few prototypes,
31887 which can conflict with char $ac_func (); below.
31888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31889 <limits.h> exists even on freestanding compilers. */
31892 # include <limits.h>
31894 # include <assert.h>
31899 /* Override any gcc2 internal prototype to avoid an error. */
31904 /* We use char because int might match the return type of a gcc2
31905 builtin and then its argument prototype would still apply. */
31907 /* The GNU C library defines this for functions which it implements
31908 to always fail with ENOSYS. Some functions are actually named
31909 something starting with __ and the normal name is an alias. */
31910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31913 char (*f) () = $ac_func;
31922 return f != $ac_func;
31927 rm -f conftest.$ac_objext conftest$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>conftest.er1
31931 grep -v '^ *+' conftest.er1 >conftest.err
31933 cat conftest.err >&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } &&
31936 { ac_try='test -z "$ac_cxx_werror_flag"
31937 || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 eval "$as_ac_var=yes"
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31954 eval "$as_ac_var=no"
31956 rm -f conftest.err conftest.$ac_objext \
31957 conftest$ac_exeext conftest.$ac_ext
31959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31961 if test `eval echo '${'$as_ac_var'}'` = yes; then
31962 cat >>confdefs.h <<_ACEOF
31963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31971 ac_cpp='$CPP $CPPFLAGS'
31972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31979 for ac_func in inet_addr
31981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31982 echo "$as_me:$LINENO: checking for $ac_func" >&5
31983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31984 if eval "test \"\${$as_ac_var+set}\" = set"; then
31985 echo $ECHO_N "(cached) $ECHO_C" >&6
31987 cat >conftest.$ac_ext <<_ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31995 #define $ac_func innocuous_$ac_func
31997 /* System header to define __stub macros and hopefully few prototypes,
31998 which can conflict with char $ac_func (); below.
31999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32000 <limits.h> exists even on freestanding compilers. */
32003 # include <limits.h>
32005 # include <assert.h>
32010 /* Override any gcc2 internal prototype to avoid an error. */
32015 /* We use char because int might match the return type of a gcc2
32016 builtin and then its argument prototype would still apply. */
32018 /* The GNU C library defines this for functions which it implements
32019 to always fail with ENOSYS. Some functions are actually named
32020 something starting with __ and the normal name is an alias. */
32021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32024 char (*f) () = $ac_func;
32033 return f != $ac_func;
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040 (eval $ac_link) 2>conftest.er1
32042 grep -v '^ *+' conftest.er1 >conftest.err
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } &&
32047 { ac_try='test -z "$ac_c_werror_flag"
32048 || test ! -s conftest.err'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } &&
32054 { ac_try='test -s conftest$ac_exeext'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; }; then
32060 eval "$as_ac_var=yes"
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32065 eval "$as_ac_var=no"
32067 rm -f conftest.err conftest.$ac_objext \
32068 conftest$ac_exeext conftest.$ac_ext
32070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32072 if test `eval echo '${'$as_ac_var'}'` = yes; then
32073 cat >>confdefs.h <<_ACEOF
32074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32076 cat >>confdefs.h <<\_ACEOF
32077 #define HAVE_INET_ADDR 1
32082 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32083 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32084 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32085 echo $ECHO_N "(cached) $ECHO_C" >&6
32087 ac_check_lib_save_LIBS=$LIBS
32089 cat >conftest.$ac_ext <<_ACEOF
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h. */
32096 /* Override any gcc2 internal prototype to avoid an error. */
32100 /* We use char because int might match the return type of a gcc2
32101 builtin and then its argument prototype would still apply. */
32111 rm -f conftest.$ac_objext conftest$ac_exeext
32112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32113 (eval $ac_link) 2>conftest.er1
32115 grep -v '^ *+' conftest.er1 >conftest.err
32117 cat conftest.err >&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } &&
32120 { ac_try='test -z "$ac_c_werror_flag"
32121 || test ! -s conftest.err'
32122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123 (eval $ac_try) 2>&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); }; } &&
32127 { ac_try='test -s conftest$ac_exeext'
32128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32129 (eval $ac_try) 2>&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); }; }; then
32133 ac_cv_lib_nsl_inet_addr=yes
32135 echo "$as_me: failed program was:" >&5
32136 sed 's/^/| /' conftest.$ac_ext >&5
32138 ac_cv_lib_nsl_inet_addr=no
32140 rm -f conftest.err conftest.$ac_objext \
32141 conftest$ac_exeext conftest.$ac_ext
32142 LIBS=$ac_check_lib_save_LIBS
32144 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32145 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32146 if test $ac_cv_lib_nsl_inet_addr = yes; then
32150 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32151 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32152 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32155 ac_check_lib_save_LIBS=$LIBS
32156 LIBS="-lresolv $LIBS"
32157 cat >conftest.$ac_ext <<_ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32164 /* Override any gcc2 internal prototype to avoid an error. */
32168 /* We use char because int might match the return type of a gcc2
32169 builtin and then its argument prototype would still apply. */
32179 rm -f conftest.$ac_objext conftest$ac_exeext
32180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32181 (eval $ac_link) 2>conftest.er1
32183 grep -v '^ *+' conftest.er1 >conftest.err
32185 cat conftest.err >&5
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); } &&
32188 { ac_try='test -z "$ac_c_werror_flag"
32189 || test ! -s conftest.err'
32190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32191 (eval $ac_try) 2>&5
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); }; } &&
32195 { ac_try='test -s conftest$ac_exeext'
32196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197 (eval $ac_try) 2>&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; }; then
32201 ac_cv_lib_resolv_inet_addr=yes
32203 echo "$as_me: failed program was:" >&5
32204 sed 's/^/| /' conftest.$ac_ext >&5
32206 ac_cv_lib_resolv_inet_addr=no
32208 rm -f conftest.err conftest.$ac_objext \
32209 conftest$ac_exeext conftest.$ac_ext
32210 LIBS=$ac_check_lib_save_LIBS
32212 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32213 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32214 if test $ac_cv_lib_resolv_inet_addr = yes; then
32218 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32219 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32220 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32221 echo $ECHO_N "(cached) $ECHO_C" >&6
32223 ac_check_lib_save_LIBS=$LIBS
32224 LIBS="-lsocket $LIBS"
32225 cat >conftest.$ac_ext <<_ACEOF
32228 cat confdefs.h >>conftest.$ac_ext
32229 cat >>conftest.$ac_ext <<_ACEOF
32230 /* end confdefs.h. */
32232 /* Override any gcc2 internal prototype to avoid an error. */
32236 /* We use char because int might match the return type of a gcc2
32237 builtin and then its argument prototype would still apply. */
32247 rm -f conftest.$ac_objext conftest$ac_exeext
32248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32249 (eval $ac_link) 2>conftest.er1
32251 grep -v '^ *+' conftest.er1 >conftest.err
32253 cat conftest.err >&5
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); } &&
32256 { ac_try='test -z "$ac_c_werror_flag"
32257 || test ! -s conftest.err'
32258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32259 (eval $ac_try) 2>&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; } &&
32263 { ac_try='test -s conftest$ac_exeext'
32264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32265 (eval $ac_try) 2>&5
32267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268 (exit $ac_status); }; }; then
32269 ac_cv_lib_socket_inet_addr=yes
32271 echo "$as_me: failed program was:" >&5
32272 sed 's/^/| /' conftest.$ac_ext >&5
32274 ac_cv_lib_socket_inet_addr=no
32276 rm -f conftest.err conftest.$ac_objext \
32277 conftest$ac_exeext conftest.$ac_ext
32278 LIBS=$ac_check_lib_save_LIBS
32280 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32281 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32282 if test $ac_cv_lib_socket_inet_addr = yes; then
32302 for ac_func in inet_aton
32304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32305 echo "$as_me:$LINENO: checking for $ac_func" >&5
32306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32307 if eval "test \"\${$as_ac_var+set}\" = set"; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32310 cat >conftest.$ac_ext <<_ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32318 #define $ac_func innocuous_$ac_func
32320 /* System header to define __stub macros and hopefully few prototypes,
32321 which can conflict with char $ac_func (); below.
32322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32323 <limits.h> exists even on freestanding compilers. */
32326 # include <limits.h>
32328 # include <assert.h>
32333 /* Override any gcc2 internal prototype to avoid an error. */
32338 /* We use char because int might match the return type of a gcc2
32339 builtin and then its argument prototype would still apply. */
32341 /* The GNU C library defines this for functions which it implements
32342 to always fail with ENOSYS. Some functions are actually named
32343 something starting with __ and the normal name is an alias. */
32344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32347 char (*f) () = $ac_func;
32356 return f != $ac_func;
32361 rm -f conftest.$ac_objext conftest$ac_exeext
32362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32363 (eval $ac_link) 2>conftest.er1
32365 grep -v '^ *+' conftest.er1 >conftest.err
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } &&
32370 { ac_try='test -z "$ac_c_werror_flag"
32371 || test ! -s conftest.err'
32372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32373 (eval $ac_try) 2>&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); }; } &&
32377 { ac_try='test -s conftest$ac_exeext'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; }; then
32383 eval "$as_ac_var=yes"
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32388 eval "$as_ac_var=no"
32390 rm -f conftest.err conftest.$ac_objext \
32391 conftest$ac_exeext conftest.$ac_ext
32393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32395 if test `eval echo '${'$as_ac_var'}'` = yes; then
32396 cat >>confdefs.h <<_ACEOF
32397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32399 cat >>confdefs.h <<\_ACEOF
32400 #define HAVE_INET_ATON 1
32405 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32406 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32407 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32408 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32409 echo $ECHO_N "(cached) $ECHO_C" >&6
32411 ac_check_lib_save_LIBS=$LIBS
32412 LIBS="-l$INET_LINK $LIBS"
32413 cat >conftest.$ac_ext <<_ACEOF
32416 cat confdefs.h >>conftest.$ac_ext
32417 cat >>conftest.$ac_ext <<_ACEOF
32418 /* end confdefs.h. */
32420 /* Override any gcc2 internal prototype to avoid an error. */
32424 /* We use char because int might match the return type of a gcc2
32425 builtin and then its argument prototype would still apply. */
32435 rm -f conftest.$ac_objext conftest$ac_exeext
32436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32437 (eval $ac_link) 2>conftest.er1
32439 grep -v '^ *+' conftest.er1 >conftest.err
32441 cat conftest.err >&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); } &&
32444 { ac_try='test -z "$ac_c_werror_flag"
32445 || test ! -s conftest.err'
32446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32447 (eval $ac_try) 2>&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); }; } &&
32451 { ac_try='test -s conftest$ac_exeext'
32452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32453 (eval $ac_try) 2>&5
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); }; }; then
32457 eval "$as_ac_Lib=yes"
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.$ac_ext >&5
32462 eval "$as_ac_Lib=no"
32464 rm -f conftest.err conftest.$ac_objext \
32465 conftest$ac_exeext conftest.$ac_ext
32466 LIBS=$ac_check_lib_save_LIBS
32468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32469 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32470 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32471 cat >>confdefs.h <<\_ACEOF
32472 #define HAVE_INET_ATON 1
32482 if test "x$INET_LINK" != "x"; then
32483 cat >>confdefs.h <<\_ACEOF
32484 #define HAVE_INET_ADDR 1
32487 INET_LINK=" -l$INET_LINK"
32495 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32496 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32497 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32498 echo $ECHO_N "(cached) $ECHO_C" >&6
32500 ac_check_lib_save_LIBS=$LIBS
32502 cat >conftest.$ac_ext <<_ACEOF
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32509 /* Override any gcc2 internal prototype to avoid an error. */
32513 /* We use char because int might match the return type of a gcc2
32514 builtin and then its argument prototype would still apply. */
32524 rm -f conftest.$ac_objext conftest$ac_exeext
32525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32526 (eval $ac_link) 2>conftest.er1
32528 grep -v '^ *+' conftest.er1 >conftest.err
32530 cat conftest.err >&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } &&
32533 { ac_try='test -z "$ac_c_werror_flag"
32534 || test ! -s conftest.err'
32535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32536 (eval $ac_try) 2>&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); }; } &&
32540 { ac_try='test -s conftest$ac_exeext'
32541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32542 (eval $ac_try) 2>&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); }; }; then
32546 ac_cv_lib_esd_esd_close=yes
32548 echo "$as_me: failed program was:" >&5
32549 sed 's/^/| /' conftest.$ac_ext >&5
32551 ac_cv_lib_esd_esd_close=no
32553 rm -f conftest.err conftest.$ac_objext \
32554 conftest$ac_exeext conftest.$ac_ext
32555 LIBS=$ac_check_lib_save_LIBS
32557 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32558 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32559 if test $ac_cv_lib_esd_esd_close = yes; then
32562 for ac_header in esd.h
32564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32566 echo "$as_me:$LINENO: checking for $ac_header" >&5
32567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32574 # Is the header compilable?
32575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32577 cat >conftest.$ac_ext <<_ACEOF
32580 cat confdefs.h >>conftest.$ac_ext
32581 cat >>conftest.$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32583 $ac_includes_default
32584 #include <$ac_header>
32586 rm -f conftest.$ac_objext
32587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32588 (eval $ac_compile) 2>conftest.er1
32590 grep -v '^ *+' conftest.er1 >conftest.err
32592 cat conftest.err >&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } &&
32595 { ac_try='test -z "$ac_c_werror_flag"
32596 || test ! -s conftest.err'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; } &&
32602 { ac_try='test -s conftest.$ac_objext'
32603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32604 (eval $ac_try) 2>&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); }; }; then
32608 ac_header_compiler=yes
32610 echo "$as_me: failed program was:" >&5
32611 sed 's/^/| /' conftest.$ac_ext >&5
32613 ac_header_compiler=no
32615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32617 echo "${ECHO_T}$ac_header_compiler" >&6
32619 # Is the header present?
32620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32622 cat >conftest.$ac_ext <<_ACEOF
32625 cat confdefs.h >>conftest.$ac_ext
32626 cat >>conftest.$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32628 #include <$ac_header>
32630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32631 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32633 grep -v '^ *+' conftest.er1 >conftest.err
32635 cat conftest.err >&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); } >/dev/null; then
32638 if test -s conftest.err; then
32639 ac_cpp_err=$ac_c_preproc_warn_flag
32640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32647 if test -z "$ac_cpp_err"; then
32648 ac_header_preproc=yes
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.$ac_ext >&5
32653 ac_header_preproc=no
32655 rm -f conftest.err conftest.$ac_ext
32656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32657 echo "${ECHO_T}$ac_header_preproc" >&6
32659 # So? What about this header?
32660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32666 ac_header_preproc=yes
32669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32683 ## ----------------------------------------- ##
32684 ## Report this to wx-dev@lists.wxwidgets.org ##
32685 ## ----------------------------------------- ##
32688 sed "s/^/$as_me: WARNING: /" >&2
32691 echo "$as_me:$LINENO: checking for $ac_header" >&5
32692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 eval "$as_ac_Header=\$ac_header_preproc"
32698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32703 cat >>confdefs.h <<_ACEOF
32704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32707 EXTRALIBS_ESD="-lesd"
32718 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32719 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32720 cat >conftest.$ac_ext <<_ACEOF
32723 cat confdefs.h >>conftest.$ac_ext
32724 cat >>conftest.$ac_ext <<_ACEOF
32725 /* end confdefs.h. */
32727 #include <linux/cdrom.h>
32730 #include <sys/cdio.h>
32736 struct cdrom_tocentry entry, old_entry;
32741 rm -f conftest.$ac_objext
32742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32743 (eval $ac_compile) 2>conftest.er1
32745 grep -v '^ *+' conftest.er1 >conftest.err
32747 cat conftest.err >&5
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); } &&
32750 { ac_try='test -z "$ac_c_werror_flag"
32751 || test ! -s conftest.err'
32752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32753 (eval $ac_try) 2>&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); }; } &&
32757 { ac_try='test -s conftest.$ac_objext'
32758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32759 (eval $ac_try) 2>&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); }; }; then
32763 echo "$as_me:$LINENO: result: yes" >&5
32764 echo "${ECHO_T}yes" >&6
32765 cat >>confdefs.h <<\_ACEOF
32766 #define HAVE_KNOWN_CDROM_INTERFACE 1
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32773 echo "$as_me:$LINENO: result: no" >&5
32774 echo "${ECHO_T}no" >&6
32776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32779 cat >confcache <<\_ACEOF
32780 # This file is a shell script that caches the results of configure
32781 # tests run on this system so they can be shared between configure
32782 # scripts and configure runs, see configure's option --config-cache.
32783 # It is not useful on other systems. If it contains results you don't
32784 # want to keep, you may remove or edit it.
32786 # config.status only pays attention to the cache file if you give it
32787 # the --recheck option to rerun configure.
32789 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32790 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32791 # following values.
32795 # The following way of writing the cache mishandles newlines in values,
32796 # but we know of no workaround that is simple, portable, and efficient.
32797 # So, don't put newlines in cache variables' values.
32798 # Ultrix sh set writes to stderr and can't be redirected directly,
32799 # and sets the high bit in the cache file unless we assign to the vars.
32802 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32804 # `set' does not quote correctly, so add quotes (double-quote
32805 # substitution turns \\\\ into \\, and sed turns \\ into \).
32808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32811 # `set' quotes correctly as required by POSIX, so do not add quotes.
32813 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32822 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32824 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32825 if test -w $cache_file; then
32826 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32827 cat confcache >$cache_file
32829 echo "not updating unwritable cache $cache_file"
32836 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32842 if test "$wxUSE_THREADS" = "yes" ; then
32843 if test "$USE_BEOS" = 1; then
32844 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32845 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32850 if test "$wxUSE_THREADS" = "yes" ; then
32853 THREAD_OPTS="-pthread"
32855 *-*-solaris2* | *-*-sunos4* )
32856 if test "x$GCC" = "xyes"; then
32857 THREAD_OPTS="-pthreads $THREAD_OPTS"
32859 THREAD_OPTS="-mt $THREAD_OPTS"
32863 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32865 *-*-darwin* | *-*-cygwin* )
32869 THREAD_OPTS="pthreads"
32872 if test "x$GCC" != "xyes"; then
32878 if test "x$GCC" = "xyes"; then
32884 if test "x$GCC" != "xyes"; then
32885 THREAD_OPTS="-Ethread"
32890 THREAD_OPTS="$THREAD_OPTS pthread none"
32893 for flag in $THREAD_OPTS; do
32896 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32897 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32901 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32902 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32903 THREADS_CFLAGS="$flag"
32907 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32908 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32909 THREADS_LINK="-l$flag"
32914 save_CFLAGS="$CFLAGS"
32915 LIBS="$THREADS_LINK $LIBS"
32916 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32918 cat >conftest.$ac_ext <<_ACEOF
32921 cat confdefs.h >>conftest.$ac_ext
32922 cat >>conftest.$ac_ext <<_ACEOF
32923 /* end confdefs.h. */
32924 #include <pthread.h>
32928 pthread_create(0,0,0,0);
32933 rm -f conftest.$ac_objext conftest$ac_exeext
32934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32935 (eval $ac_link) 2>conftest.er1
32937 grep -v '^ *+' conftest.er1 >conftest.err
32939 cat conftest.err >&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); } &&
32942 { ac_try='test -z "$ac_c_werror_flag"
32943 || test ! -s conftest.err'
32944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32945 (eval $ac_try) 2>&5
32947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948 (exit $ac_status); }; } &&
32949 { ac_try='test -s conftest$ac_exeext'
32950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32951 (eval $ac_try) 2>&5
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); }; }; then
32957 echo "$as_me: failed program was:" >&5
32958 sed 's/^/| /' conftest.$ac_ext >&5
32961 rm -f conftest.err conftest.$ac_objext \
32962 conftest$ac_exeext conftest.$ac_ext
32965 CFLAGS="$save_CFLAGS"
32967 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32968 echo "${ECHO_T}$THREADS_OK" >&6
32969 if test "x$THREADS_OK" = "xyes"; then
32977 if test "x$THREADS_OK" != "xyes"; then
32979 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32980 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32982 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32983 LIBS="$THREADS_LINK $LIBS"
32985 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32986 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32990 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32991 flag="-D_THREAD_SAFE"
32994 flag="-D_THREAD_SAFE"
32997 flag="-D_REENTRANT"
32998 if test "x$GCC" != "xyes"; then
32999 flag="$flag -D_RWSTD_MULTI_THREAD"
33002 *solaris* | alpha*-osf*)
33003 flag="-D_REENTRANT"
33006 echo "$as_me:$LINENO: result: ${flag}" >&5
33007 echo "${ECHO_T}${flag}" >&6
33008 if test "x$flag" != xno; then
33009 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
33012 if test "x$THREADS_CFLAGS" != "x"; then
33013 CFLAGS="$CFLAGS $THREADS_CFLAGS"
33014 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
33019 if test "$wxUSE_THREADS" = "yes" ; then
33021 for ac_func in thr_setconcurrency
33023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33024 echo "$as_me:$LINENO: checking for $ac_func" >&5
33025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33026 if eval "test \"\${$as_ac_var+set}\" = set"; then
33027 echo $ECHO_N "(cached) $ECHO_C" >&6
33029 cat >conftest.$ac_ext <<_ACEOF
33032 cat confdefs.h >>conftest.$ac_ext
33033 cat >>conftest.$ac_ext <<_ACEOF
33034 /* end confdefs.h. */
33035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33037 #define $ac_func innocuous_$ac_func
33039 /* System header to define __stub macros and hopefully few prototypes,
33040 which can conflict with char $ac_func (); below.
33041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33042 <limits.h> exists even on freestanding compilers. */
33045 # include <limits.h>
33047 # include <assert.h>
33052 /* Override any gcc2 internal prototype to avoid an error. */
33057 /* We use char because int might match the return type of a gcc2
33058 builtin and then its argument prototype would still apply. */
33060 /* The GNU C library defines this for functions which it implements
33061 to always fail with ENOSYS. Some functions are actually named
33062 something starting with __ and the normal name is an alias. */
33063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33066 char (*f) () = $ac_func;
33075 return f != $ac_func;
33080 rm -f conftest.$ac_objext conftest$ac_exeext
33081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33082 (eval $ac_link) 2>conftest.er1
33084 grep -v '^ *+' conftest.er1 >conftest.err
33086 cat conftest.err >&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } &&
33089 { ac_try='test -z "$ac_c_werror_flag"
33090 || test ! -s conftest.err'
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); }; } &&
33096 { ac_try='test -s conftest$ac_exeext'
33097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098 (eval $ac_try) 2>&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; }; then
33102 eval "$as_ac_var=yes"
33104 echo "$as_me: failed program was:" >&5
33105 sed 's/^/| /' conftest.$ac_ext >&5
33107 eval "$as_ac_var=no"
33109 rm -f conftest.err conftest.$ac_objext \
33110 conftest$ac_exeext conftest.$ac_ext
33112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33114 if test `eval echo '${'$as_ac_var'}'` = yes; then
33115 cat >>confdefs.h <<_ACEOF
33116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33124 for ac_header in sched.h
33126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33128 echo "$as_me:$LINENO: checking for $ac_header" >&5
33129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33136 # Is the header compilable?
33137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33139 cat >conftest.$ac_ext <<_ACEOF
33142 cat confdefs.h >>conftest.$ac_ext
33143 cat >>conftest.$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145 $ac_includes_default
33146 #include <$ac_header>
33148 rm -f conftest.$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>conftest.er1
33152 grep -v '^ *+' conftest.er1 >conftest.err
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } &&
33157 { ac_try='test -z "$ac_c_werror_flag"
33158 || test ! -s conftest.err'
33159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33160 (eval $ac_try) 2>&5
33162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163 (exit $ac_status); }; } &&
33164 { ac_try='test -s conftest.$ac_objext'
33165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166 (eval $ac_try) 2>&5
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); }; }; then
33170 ac_header_compiler=yes
33172 echo "$as_me: failed program was:" >&5
33173 sed 's/^/| /' conftest.$ac_ext >&5
33175 ac_header_compiler=no
33177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33179 echo "${ECHO_T}$ac_header_compiler" >&6
33181 # Is the header present?
33182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33184 cat >conftest.$ac_ext <<_ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190 #include <$ac_header>
33192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33195 grep -v '^ *+' conftest.er1 >conftest.err
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } >/dev/null; then
33200 if test -s conftest.err; then
33201 ac_cpp_err=$ac_c_preproc_warn_flag
33202 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33209 if test -z "$ac_cpp_err"; then
33210 ac_header_preproc=yes
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.$ac_ext >&5
33215 ac_header_preproc=no
33217 rm -f conftest.err conftest.$ac_ext
33218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33219 echo "${ECHO_T}$ac_header_preproc" >&6
33221 # So? What about this header?
33222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33228 ac_header_preproc=yes
33231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33245 ## ----------------------------------------- ##
33246 ## Report this to wx-dev@lists.wxwidgets.org ##
33247 ## ----------------------------------------- ##
33250 sed "s/^/$as_me: WARNING: /" >&2
33253 echo "$as_me:$LINENO: checking for $ac_header" >&5
33254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33256 echo $ECHO_N "(cached) $ECHO_C" >&6
33258 eval "$as_ac_Header=\$ac_header_preproc"
33260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33265 cat >>confdefs.h <<_ACEOF
33266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33273 if test "$ac_cv_header_sched_h" = "yes"; then
33274 echo "$as_me:$LINENO: checking for sched_yield" >&5
33275 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33276 if test "${ac_cv_func_sched_yield+set}" = set; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33279 cat >conftest.$ac_ext <<_ACEOF
33282 cat confdefs.h >>conftest.$ac_ext
33283 cat >>conftest.$ac_ext <<_ACEOF
33284 /* end confdefs.h. */
33285 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33287 #define sched_yield innocuous_sched_yield
33289 /* System header to define __stub macros and hopefully few prototypes,
33290 which can conflict with char sched_yield (); below.
33291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33292 <limits.h> exists even on freestanding compilers. */
33295 # include <limits.h>
33297 # include <assert.h>
33302 /* Override any gcc2 internal prototype to avoid an error. */
33307 /* We use char because int might match the return type of a gcc2
33308 builtin and then its argument prototype would still apply. */
33309 char sched_yield ();
33310 /* The GNU C library defines this for functions which it implements
33311 to always fail with ENOSYS. Some functions are actually named
33312 something starting with __ and the normal name is an alias. */
33313 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33316 char (*f) () = sched_yield;
33325 return f != sched_yield;
33330 rm -f conftest.$ac_objext conftest$ac_exeext
33331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33332 (eval $ac_link) 2>conftest.er1
33334 grep -v '^ *+' conftest.er1 >conftest.err
33336 cat conftest.err >&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); } &&
33339 { ac_try='test -z "$ac_c_werror_flag"
33340 || test ! -s conftest.err'
33341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33342 (eval $ac_try) 2>&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); }; } &&
33346 { ac_try='test -s conftest$ac_exeext'
33347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33348 (eval $ac_try) 2>&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); }; }; then
33352 ac_cv_func_sched_yield=yes
33354 echo "$as_me: failed program was:" >&5
33355 sed 's/^/| /' conftest.$ac_ext >&5
33357 ac_cv_func_sched_yield=no
33359 rm -f conftest.err conftest.$ac_objext \
33360 conftest$ac_exeext conftest.$ac_ext
33362 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33363 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33364 if test $ac_cv_func_sched_yield = yes; then
33365 cat >>confdefs.h <<\_ACEOF
33366 #define HAVE_SCHED_YIELD 1
33371 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33372 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33373 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33374 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 ac_check_lib_save_LIBS=$LIBS
33377 LIBS="-lposix4 $LIBS"
33378 cat >conftest.$ac_ext <<_ACEOF
33381 cat confdefs.h >>conftest.$ac_ext
33382 cat >>conftest.$ac_ext <<_ACEOF
33383 /* end confdefs.h. */
33385 /* Override any gcc2 internal prototype to avoid an error. */
33389 /* We use char because int might match the return type of a gcc2
33390 builtin and then its argument prototype would still apply. */
33391 char sched_yield ();
33400 rm -f conftest.$ac_objext conftest$ac_exeext
33401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33402 (eval $ac_link) 2>conftest.er1
33404 grep -v '^ *+' conftest.er1 >conftest.err
33406 cat conftest.err >&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } &&
33409 { ac_try='test -z "$ac_c_werror_flag"
33410 || test ! -s conftest.err'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; } &&
33416 { ac_try='test -s conftest$ac_exeext'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; }; then
33422 ac_cv_lib_posix4_sched_yield=yes
33424 echo "$as_me: failed program was:" >&5
33425 sed 's/^/| /' conftest.$ac_ext >&5
33427 ac_cv_lib_posix4_sched_yield=no
33429 rm -f conftest.err conftest.$ac_objext \
33430 conftest$ac_exeext conftest.$ac_ext
33431 LIBS=$ac_check_lib_save_LIBS
33433 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33434 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33435 if test $ac_cv_lib_posix4_sched_yield = yes; then
33436 cat >>confdefs.h <<\_ACEOF
33437 #define HAVE_SCHED_YIELD 1
33439 POSIX4_LINK=" -lposix4"
33441 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33442 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33453 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33454 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33455 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33458 cat >conftest.$ac_ext <<_ACEOF
33461 cat confdefs.h >>conftest.$ac_ext
33462 cat >>conftest.$ac_ext <<_ACEOF
33463 /* end confdefs.h. */
33464 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33466 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33468 /* System header to define __stub macros and hopefully few prototypes,
33469 which can conflict with char pthread_attr_getschedpolicy (); below.
33470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33471 <limits.h> exists even on freestanding compilers. */
33474 # include <limits.h>
33476 # include <assert.h>
33479 #undef pthread_attr_getschedpolicy
33481 /* Override any gcc2 internal prototype to avoid an error. */
33486 /* We use char because int might match the return type of a gcc2
33487 builtin and then its argument prototype would still apply. */
33488 char pthread_attr_getschedpolicy ();
33489 /* The GNU C library defines this for functions which it implements
33490 to always fail with ENOSYS. Some functions are actually named
33491 something starting with __ and the normal name is an alias. */
33492 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33495 char (*f) () = pthread_attr_getschedpolicy;
33504 return f != pthread_attr_getschedpolicy;
33509 rm -f conftest.$ac_objext conftest$ac_exeext
33510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33511 (eval $ac_link) 2>conftest.er1
33513 grep -v '^ *+' conftest.er1 >conftest.err
33515 cat conftest.err >&5
33516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33517 (exit $ac_status); } &&
33518 { ac_try='test -z "$ac_c_werror_flag"
33519 || test ! -s conftest.err'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; } &&
33525 { ac_try='test -s conftest$ac_exeext'
33526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33527 (eval $ac_try) 2>&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); }; }; then
33531 ac_cv_func_pthread_attr_getschedpolicy=yes
33533 echo "$as_me: failed program was:" >&5
33534 sed 's/^/| /' conftest.$ac_ext >&5
33536 ac_cv_func_pthread_attr_getschedpolicy=no
33538 rm -f conftest.err conftest.$ac_objext \
33539 conftest$ac_exeext conftest.$ac_ext
33541 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33542 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33543 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33544 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33545 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33546 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 cat >conftest.$ac_ext <<_ACEOF
33552 cat confdefs.h >>conftest.$ac_ext
33553 cat >>conftest.$ac_ext <<_ACEOF
33554 /* end confdefs.h. */
33555 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33557 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33559 /* System header to define __stub macros and hopefully few prototypes,
33560 which can conflict with char pthread_attr_setschedparam (); below.
33561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33562 <limits.h> exists even on freestanding compilers. */
33565 # include <limits.h>
33567 # include <assert.h>
33570 #undef pthread_attr_setschedparam
33572 /* Override any gcc2 internal prototype to avoid an error. */
33577 /* We use char because int might match the return type of a gcc2
33578 builtin and then its argument prototype would still apply. */
33579 char pthread_attr_setschedparam ();
33580 /* The GNU C library defines this for functions which it implements
33581 to always fail with ENOSYS. Some functions are actually named
33582 something starting with __ and the normal name is an alias. */
33583 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33586 char (*f) () = pthread_attr_setschedparam;
33595 return f != pthread_attr_setschedparam;
33600 rm -f conftest.$ac_objext conftest$ac_exeext
33601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33602 (eval $ac_link) 2>conftest.er1
33604 grep -v '^ *+' conftest.er1 >conftest.err
33606 cat conftest.err >&5
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); } &&
33609 { ac_try='test -z "$ac_c_werror_flag"
33610 || test ! -s conftest.err'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; } &&
33616 { ac_try='test -s conftest$ac_exeext'
33617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33618 (eval $ac_try) 2>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); }; }; then
33622 ac_cv_func_pthread_attr_setschedparam=yes
33624 echo "$as_me: failed program was:" >&5
33625 sed 's/^/| /' conftest.$ac_ext >&5
33627 ac_cv_func_pthread_attr_setschedparam=no
33629 rm -f conftest.err conftest.$ac_objext \
33630 conftest$ac_exeext conftest.$ac_ext
33632 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33633 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33634 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33635 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33636 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33637 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33638 echo $ECHO_N "(cached) $ECHO_C" >&6
33640 cat >conftest.$ac_ext <<_ACEOF
33643 cat confdefs.h >>conftest.$ac_ext
33644 cat >>conftest.$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33648 #define sched_get_priority_max innocuous_sched_get_priority_max
33650 /* System header to define __stub macros and hopefully few prototypes,
33651 which can conflict with char sched_get_priority_max (); below.
33652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33653 <limits.h> exists even on freestanding compilers. */
33656 # include <limits.h>
33658 # include <assert.h>
33661 #undef sched_get_priority_max
33663 /* Override any gcc2 internal prototype to avoid an error. */
33668 /* We use char because int might match the return type of a gcc2
33669 builtin and then its argument prototype would still apply. */
33670 char sched_get_priority_max ();
33671 /* The GNU C library defines this for functions which it implements
33672 to always fail with ENOSYS. Some functions are actually named
33673 something starting with __ and the normal name is an alias. */
33674 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33677 char (*f) () = sched_get_priority_max;
33686 return f != sched_get_priority_max;
33691 rm -f conftest.$ac_objext conftest$ac_exeext
33692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33693 (eval $ac_link) 2>conftest.er1
33695 grep -v '^ *+' conftest.er1 >conftest.err
33697 cat conftest.err >&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try='test -z "$ac_c_werror_flag"
33701 || test ! -s conftest.err'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; } &&
33707 { ac_try='test -s conftest$ac_exeext'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; }; then
33713 ac_cv_func_sched_get_priority_max=yes
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33718 ac_cv_func_sched_get_priority_max=no
33720 rm -f conftest.err conftest.$ac_objext \
33721 conftest$ac_exeext conftest.$ac_ext
33723 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33724 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33725 if test $ac_cv_func_sched_get_priority_max = yes; then
33728 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33729 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33730 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33733 ac_check_lib_save_LIBS=$LIBS
33734 LIBS="-lposix4 $LIBS"
33735 cat >conftest.$ac_ext <<_ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33742 /* Override any gcc2 internal prototype to avoid an error. */
33746 /* We use char because int might match the return type of a gcc2
33747 builtin and then its argument prototype would still apply. */
33748 char sched_get_priority_max ();
33752 sched_get_priority_max ();
33757 rm -f conftest.$ac_objext conftest$ac_exeext
33758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33759 (eval $ac_link) 2>conftest.er1
33761 grep -v '^ *+' conftest.er1 >conftest.err
33763 cat conftest.err >&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } &&
33766 { ac_try='test -z "$ac_c_werror_flag"
33767 || test ! -s conftest.err'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; } &&
33773 { ac_try='test -s conftest$ac_exeext'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; }; then
33779 ac_cv_lib_posix4_sched_get_priority_max=yes
33781 echo "$as_me: failed program was:" >&5
33782 sed 's/^/| /' conftest.$ac_ext >&5
33784 ac_cv_lib_posix4_sched_get_priority_max=no
33786 rm -f conftest.err conftest.$ac_objext \
33787 conftest$ac_exeext conftest.$ac_ext
33788 LIBS=$ac_check_lib_save_LIBS
33790 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33791 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33792 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33795 POSIX4_LINK=" -lposix4"
33809 if test "$HAVE_PRIOR_FUNCS" = 1; then
33810 cat >>confdefs.h <<\_ACEOF
33811 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33815 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33816 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33819 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33820 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33821 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33822 echo $ECHO_N "(cached) $ECHO_C" >&6
33824 cat >conftest.$ac_ext <<_ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33832 #define pthread_cancel innocuous_pthread_cancel
33834 /* System header to define __stub macros and hopefully few prototypes,
33835 which can conflict with char pthread_cancel (); below.
33836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33837 <limits.h> exists even on freestanding compilers. */
33840 # include <limits.h>
33842 # include <assert.h>
33845 #undef pthread_cancel
33847 /* Override any gcc2 internal prototype to avoid an error. */
33852 /* We use char because int might match the return type of a gcc2
33853 builtin and then its argument prototype would still apply. */
33854 char pthread_cancel ();
33855 /* The GNU C library defines this for functions which it implements
33856 to always fail with ENOSYS. Some functions are actually named
33857 something starting with __ and the normal name is an alias. */
33858 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33861 char (*f) () = pthread_cancel;
33870 return f != pthread_cancel;
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33877 (eval $ac_link) 2>conftest.er1
33879 grep -v '^ *+' conftest.er1 >conftest.err
33881 cat conftest.err >&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); } &&
33884 { ac_try='test -z "$ac_c_werror_flag"
33885 || test ! -s conftest.err'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; } &&
33891 { ac_try='test -s conftest$ac_exeext'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; }; then
33897 ac_cv_func_pthread_cancel=yes
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33902 ac_cv_func_pthread_cancel=no
33904 rm -f conftest.err conftest.$ac_objext \
33905 conftest$ac_exeext conftest.$ac_ext
33907 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33908 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33909 if test $ac_cv_func_pthread_cancel = yes; then
33910 cat >>confdefs.h <<\_ACEOF
33911 #define HAVE_PTHREAD_CANCEL 1
33915 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33916 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33922 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33923 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33924 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33925 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 cat >conftest.$ac_ext <<_ACEOF
33931 cat confdefs.h >>conftest.$ac_ext
33932 cat >>conftest.$ac_ext <<_ACEOF
33933 /* end confdefs.h. */
33934 #include <pthread.h>
33939 pthread_mutexattr_t attr;
33940 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33946 rm -f conftest.$ac_objext
33947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33948 (eval $ac_compile) 2>conftest.er1
33950 grep -v '^ *+' conftest.er1 >conftest.err
33952 cat conftest.err >&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); } &&
33955 { ac_try='test -z "$ac_c_werror_flag"
33956 || test ! -s conftest.err'
33957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33958 (eval $ac_try) 2>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); }; } &&
33962 { ac_try='test -s conftest.$ac_objext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33969 wx_cv_type_pthread_mutexattr_t=yes
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.$ac_ext >&5
33976 wx_cv_type_pthread_mutexattr_t=no
33980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33983 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33984 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33986 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33987 cat >>confdefs.h <<\_ACEOF
33988 #define HAVE_PTHREAD_MUTEXATTR_T 1
33992 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33993 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33994 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 cat >conftest.$ac_ext <<_ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 #include <pthread.h>
34009 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34015 rm -f conftest.$ac_objext
34016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34017 (eval $ac_compile) 2>conftest.er1
34019 grep -v '^ *+' conftest.er1 >conftest.err
34021 cat conftest.err >&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); } &&
34024 { ac_try='test -z "$ac_c_werror_flag"
34025 || test ! -s conftest.err'
34026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34027 (eval $ac_try) 2>&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; } &&
34031 { ac_try='test -s conftest.$ac_objext'
34032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34033 (eval $ac_try) 2>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; }; then
34038 wx_cv_type_pthread_rec_mutex_init=yes
34041 echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.$ac_ext >&5
34045 wx_cv_type_pthread_rec_mutex_init=no
34049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34052 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34053 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34054 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34055 cat >>confdefs.h <<\_ACEOF
34056 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34060 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34061 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34067 if test "$wxUSE_THREADS" = "yes" ; then
34070 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34071 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34072 if test "${wx_cv_cflags_mthread+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34076 CFLAGS_OLD="$CFLAGS"
34077 CFLAGS="$CFLAGS -mthreads"
34078 cat >conftest.$ac_ext <<_ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34093 rm -f conftest.$ac_objext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34095 (eval $ac_compile) 2>conftest.er1
34097 grep -v '^ *+' conftest.er1 >conftest.err
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } &&
34102 { ac_try='test -z "$ac_c_werror_flag"
34103 || test ! -s conftest.err'
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); }; } &&
34109 { ac_try='test -s conftest.$ac_objext'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; }; then
34115 wx_cv_cflags_mthread=yes
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34120 wx_cv_cflags_mthread=no
34123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34127 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34128 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34130 if test "$wx_cv_cflags_mthread" = "yes"; then
34131 CXXFLAGS="$CXXFLAGS -mthreads"
34132 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34133 LDFLAGS="$LDFLAGS -mthreads"
34135 CFLAGS="$CFLAGS_OLD"
34139 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34140 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34141 LDFLAGS="$LDFLAGS -Zmt"
34147 if test "$wxUSE_THREADS" = "yes"; then
34148 cat >>confdefs.h <<\_ACEOF
34149 #define wxUSE_THREADS 1
34153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
34155 if test "$ac_cv_func_strtok_r" = "yes"; then
34156 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34157 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34158 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34159 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
34160 echo "$as_me:$LINENO: result: yes" >&5
34161 echo "${ECHO_T}yes" >&6
34163 echo "$as_me:$LINENO: result: no" >&5
34164 echo "${ECHO_T}no" >&6
34169 if test "$WXGTK20" = 1 ; then
34170 cat >>confdefs.h <<_ACEOF
34171 #define __WXGTK20__ $WXGTK20
34177 if test "$WXGTK12" = 1 ; then
34178 cat >>confdefs.h <<_ACEOF
34179 #define __WXGTK12__ $WXGTK12
34184 if test "$WXGTK127" = 1 ; then
34185 cat >>confdefs.h <<_ACEOF
34186 #define __WXGTK127__ $WXGTK127
34191 if test "$WXGPE" = 1 ; then
34192 cat >>confdefs.h <<_ACEOF
34193 #define __WXGPE__ $WXGPE
34200 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34205 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34206 wxUSE_DEBUG_INFO=yes
34210 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34211 cat >>confdefs.h <<\_ACEOF
34215 WXDEBUG_DEFINE="-D__WXDEBUG__"
34217 if test "$wxUSE_GTK" = 1 ; then
34218 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
34222 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34223 cat >>confdefs.h <<\_ACEOF
34224 #define wxUSE_MEMORY_TRACING 1
34227 cat >>confdefs.h <<\_ACEOF
34228 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34231 cat >>confdefs.h <<\_ACEOF
34232 #define wxUSE_DEBUG_NEW_ALWAYS 1
34235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
34238 if test "$wxUSE_DMALLOC" = "yes" ; then
34239 DMALLOC_LIBS="-ldmalloc"
34243 if test "$wxUSE_PROFILE" = "yes" ; then
34248 CODE_GEN_FLAGS_CXX=
34249 if test "$GCC" = "yes" ; then
34250 if test "$wxUSE_NO_RTTI" = "yes" ; then
34251 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
34253 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34254 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34256 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34257 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
34262 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
34265 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
34271 if test "$wxUSE_OPTIMISE" = "no" ; then
34272 if test "$GCC" = yes ; then
34276 if test "$GCC" = yes ; then
34280 i586-*-*|i686-*-* )
34281 OPTIMISE="${OPTIMISE} "
34290 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define WXWIN_COMPATIBILITY_2_2 1
34296 WXWIN_COMPATIBILITY_2_4="yes"
34299 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34300 cat >>confdefs.h <<\_ACEOF
34301 #define WXWIN_COMPATIBILITY_2_4 1
34307 if test "$wxUSE_GUI" = "yes"; then
34308 cat >>confdefs.h <<\_ACEOF
34309 #define wxUSE_GUI 1
34316 if test "$wxUSE_UNIX" = "yes"; then
34317 cat >>confdefs.h <<\_ACEOF
34318 #define wxUSE_UNIX 1
34324 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34328 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34329 if test "$USE_DARWIN" = 1; then
34333 for ac_func in dlopen
34335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34336 echo "$as_me:$LINENO: checking for $ac_func" >&5
34337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34338 if eval "test \"\${$as_ac_var+set}\" = set"; then
34339 echo $ECHO_N "(cached) $ECHO_C" >&6
34341 cat >conftest.$ac_ext <<_ACEOF
34344 cat confdefs.h >>conftest.$ac_ext
34345 cat >>conftest.$ac_ext <<_ACEOF
34346 /* end confdefs.h. */
34347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34349 #define $ac_func innocuous_$ac_func
34351 /* System header to define __stub macros and hopefully few prototypes,
34352 which can conflict with char $ac_func (); below.
34353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34354 <limits.h> exists even on freestanding compilers. */
34357 # include <limits.h>
34359 # include <assert.h>
34364 /* Override any gcc2 internal prototype to avoid an error. */
34369 /* We use char because int might match the return type of a gcc2
34370 builtin and then its argument prototype would still apply. */
34372 /* The GNU C library defines this for functions which it implements
34373 to always fail with ENOSYS. Some functions are actually named
34374 something starting with __ and the normal name is an alias. */
34375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34378 char (*f) () = $ac_func;
34387 return f != $ac_func;
34392 rm -f conftest.$ac_objext conftest$ac_exeext
34393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34394 (eval $ac_link) 2>conftest.er1
34396 grep -v '^ *+' conftest.er1 >conftest.err
34398 cat conftest.err >&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); } &&
34401 { ac_try='test -z "$ac_c_werror_flag"
34402 || test ! -s conftest.err'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; } &&
34408 { ac_try='test -s conftest$ac_exeext'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; }; then
34414 eval "$as_ac_var=yes"
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34419 eval "$as_ac_var=no"
34421 rm -f conftest.err conftest.$ac_objext \
34422 conftest$ac_exeext conftest.$ac_ext
34424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34426 if test `eval echo '${'$as_ac_var'}'` = yes; then
34427 cat >>confdefs.h <<_ACEOF
34428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34431 cat >>confdefs.h <<\_ACEOF
34432 #define HAVE_DLOPEN 1
34439 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34440 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34441 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34442 echo $ECHO_N "(cached) $ECHO_C" >&6
34444 ac_check_lib_save_LIBS=$LIBS
34446 cat >conftest.$ac_ext <<_ACEOF
34449 cat confdefs.h >>conftest.$ac_ext
34450 cat >>conftest.$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34453 /* Override any gcc2 internal prototype to avoid an error. */
34457 /* We use char because int might match the return type of a gcc2
34458 builtin and then its argument prototype would still apply. */
34468 rm -f conftest.$ac_objext conftest$ac_exeext
34469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34470 (eval $ac_link) 2>conftest.er1
34472 grep -v '^ *+' conftest.er1 >conftest.err
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } &&
34477 { ac_try='test -z "$ac_c_werror_flag"
34478 || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try='test -s conftest$ac_exeext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 ac_cv_lib_dl_dlopen=yes
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.$ac_ext >&5
34495 ac_cv_lib_dl_dlopen=no
34497 rm -f conftest.err conftest.$ac_objext \
34498 conftest$ac_exeext conftest.$ac_ext
34499 LIBS=$ac_check_lib_save_LIBS
34501 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34502 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34503 if test $ac_cv_lib_dl_dlopen = yes; then
34505 cat >>confdefs.h <<\_ACEOF
34506 #define HAVE_DLOPEN 1
34510 DL_LINK=" -ldl$DL_LINK"
34515 for ac_func in shl_load
34517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34518 echo "$as_me:$LINENO: checking for $ac_func" >&5
34519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34520 if eval "test \"\${$as_ac_var+set}\" = set"; then
34521 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 cat >conftest.$ac_ext <<_ACEOF
34526 cat confdefs.h >>conftest.$ac_ext
34527 cat >>conftest.$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34531 #define $ac_func innocuous_$ac_func
34533 /* System header to define __stub macros and hopefully few prototypes,
34534 which can conflict with char $ac_func (); below.
34535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34536 <limits.h> exists even on freestanding compilers. */
34539 # include <limits.h>
34541 # include <assert.h>
34546 /* Override any gcc2 internal prototype to avoid an error. */
34551 /* We use char because int might match the return type of a gcc2
34552 builtin and then its argument prototype would still apply. */
34554 /* The GNU C library defines this for functions which it implements
34555 to always fail with ENOSYS. Some functions are actually named
34556 something starting with __ and the normal name is an alias. */
34557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34560 char (*f) () = $ac_func;
34569 return f != $ac_func;
34574 rm -f conftest.$ac_objext conftest$ac_exeext
34575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34576 (eval $ac_link) 2>conftest.er1
34578 grep -v '^ *+' conftest.er1 >conftest.err
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } &&
34583 { ac_try='test -z "$ac_c_werror_flag"
34584 || test ! -s conftest.err'
34585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34586 (eval $ac_try) 2>&5
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); }; } &&
34590 { ac_try='test -s conftest$ac_exeext'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; }; then
34596 eval "$as_ac_var=yes"
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34601 eval "$as_ac_var=no"
34603 rm -f conftest.err conftest.$ac_objext \
34604 conftest$ac_exeext conftest.$ac_ext
34606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34608 if test `eval echo '${'$as_ac_var'}'` = yes; then
34609 cat >>confdefs.h <<_ACEOF
34610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34613 cat >>confdefs.h <<\_ACEOF
34614 #define HAVE_SHL_LOAD 1
34621 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34622 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34623 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 ac_check_lib_save_LIBS=$LIBS
34627 LIBS="-lshl_load $LIBS"
34628 cat >conftest.$ac_ext <<_ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34635 /* Override any gcc2 internal prototype to avoid an error. */
34639 /* We use char because int might match the return type of a gcc2
34640 builtin and then its argument prototype would still apply. */
34650 rm -f conftest.$ac_objext conftest$ac_exeext
34651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34652 (eval $ac_link) 2>conftest.er1
34654 grep -v '^ *+' conftest.er1 >conftest.err
34656 cat conftest.err >&5
34657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34658 (exit $ac_status); } &&
34659 { ac_try='test -z "$ac_c_werror_flag"
34660 || test ! -s conftest.err'
34661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34662 (eval $ac_try) 2>&5
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); }; } &&
34666 { ac_try='test -s conftest$ac_exeext'
34667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34668 (eval $ac_try) 2>&5
34670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34671 (exit $ac_status); }; }; then
34672 ac_cv_lib_shl_load_dld=yes
34674 echo "$as_me: failed program was:" >&5
34675 sed 's/^/| /' conftest.$ac_ext >&5
34677 ac_cv_lib_shl_load_dld=no
34679 rm -f conftest.err conftest.$ac_objext \
34680 conftest$ac_exeext conftest.$ac_ext
34681 LIBS=$ac_check_lib_save_LIBS
34683 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34684 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34685 if test $ac_cv_lib_shl_load_dld = yes; then
34688 DL_LINK=" -ldld$DL_LINK"
34704 if test "$HAVE_DL_FUNCS" = 1; then
34706 for ac_func in dlerror
34708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34709 echo "$as_me:$LINENO: checking for $ac_func" >&5
34710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34711 if eval "test \"\${$as_ac_var+set}\" = set"; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 cat >conftest.$ac_ext <<_ACEOF
34717 cat confdefs.h >>conftest.$ac_ext
34718 cat >>conftest.$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34722 #define $ac_func innocuous_$ac_func
34724 /* System header to define __stub macros and hopefully few prototypes,
34725 which can conflict with char $ac_func (); below.
34726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34727 <limits.h> exists even on freestanding compilers. */
34730 # include <limits.h>
34732 # include <assert.h>
34737 /* Override any gcc2 internal prototype to avoid an error. */
34742 /* We use char because int might match the return type of a gcc2
34743 builtin and then its argument prototype would still apply. */
34745 /* The GNU C library defines this for functions which it implements
34746 to always fail with ENOSYS. Some functions are actually named
34747 something starting with __ and the normal name is an alias. */
34748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34751 char (*f) () = $ac_func;
34760 return f != $ac_func;
34765 rm -f conftest.$ac_objext conftest$ac_exeext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34767 (eval $ac_link) 2>conftest.er1
34769 grep -v '^ *+' conftest.er1 >conftest.err
34771 cat conftest.err >&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try='test -z "$ac_c_werror_flag"
34775 || test ! -s conftest.err'
34776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777 (eval $ac_try) 2>&5
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; } &&
34781 { ac_try='test -s conftest$ac_exeext'
34782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34783 (eval $ac_try) 2>&5
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); }; }; then
34787 eval "$as_ac_var=yes"
34789 echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.$ac_ext >&5
34792 eval "$as_ac_var=no"
34794 rm -f conftest.err conftest.$ac_objext \
34795 conftest$ac_exeext conftest.$ac_ext
34797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34799 if test `eval echo '${'$as_ac_var'}'` = yes; then
34800 cat >>confdefs.h <<_ACEOF
34801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34803 cat >>confdefs.h <<\_ACEOF
34804 #define HAVE_DLERROR 1
34809 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34810 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34811 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 ac_check_lib_save_LIBS=$LIBS
34816 cat >conftest.$ac_ext <<_ACEOF
34819 cat confdefs.h >>conftest.$ac_ext
34820 cat >>conftest.$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34823 /* Override any gcc2 internal prototype to avoid an error. */
34827 /* We use char because int might match the return type of a gcc2
34828 builtin and then its argument prototype would still apply. */
34838 rm -f conftest.$ac_objext conftest$ac_exeext
34839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34840 (eval $ac_link) 2>conftest.er1
34842 grep -v '^ *+' conftest.er1 >conftest.err
34844 cat conftest.err >&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); } &&
34847 { ac_try='test -z "$ac_c_werror_flag"
34848 || test ! -s conftest.err'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; } &&
34854 { ac_try='test -s conftest$ac_exeext'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; }; then
34860 ac_cv_lib_dl_dlerror=yes
34862 echo "$as_me: failed program was:" >&5
34863 sed 's/^/| /' conftest.$ac_ext >&5
34865 ac_cv_lib_dl_dlerror=no
34867 rm -f conftest.err conftest.$ac_objext \
34868 conftest$ac_exeext conftest.$ac_ext
34869 LIBS=$ac_check_lib_save_LIBS
34871 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34872 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34873 if test $ac_cv_lib_dl_dlerror = yes; then
34874 cat >>confdefs.h <<\_ACEOF
34875 #define HAVE_DLERROR 1
34888 if test "$HAVE_DL_FUNCS" = 0; then
34889 if test "$HAVE_SHL_FUNCS" = 0; then
34890 if test "$USE_UNIX" = 1; then
34891 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34892 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34893 wxUSE_DYNAMIC_LOADER=no
34894 wxUSE_DYNLIB_CLASS=no
34896 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34897 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34904 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34905 cat >>confdefs.h <<\_ACEOF
34906 #define wxUSE_DYNAMIC_LOADER 1
34910 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34911 cat >>confdefs.h <<\_ACEOF
34912 #define wxUSE_DYNLIB_CLASS 1
34919 if test "$wxUSE_PLUGINS" = "yes" ; then
34920 if test "$wxUSE_SHARED" = "no" ; then
34921 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34922 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34925 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34926 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34927 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34930 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34931 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34932 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34935 if test "$wxUSE_PLUGINS" = "yes" ; then
34936 cat >>confdefs.h <<\_ACEOF
34937 #define wxUSE_PLUGINS 1
34944 if test "$wxUSE_STL" = "yes"; then
34945 cat >>confdefs.h <<\_ACEOF
34946 #define wxUSE_STL 1
34951 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34952 cat >>confdefs.h <<\_ACEOF
34953 #define wxUSE_APPLE_IEEE 1
34958 if test "$wxUSE_TIMER" = "yes"; then
34959 cat >>confdefs.h <<\_ACEOF
34960 #define wxUSE_TIMER 1
34966 if test "$wxUSE_SOUND" = "yes"; then
34967 if test "$USE_UNIX" = "1" ; then
34969 for ac_header in sys/soundcard.h
34971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34973 echo "$as_me:$LINENO: checking for $ac_header" >&5
34974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34981 # Is the header compilable?
34982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34984 cat >conftest.$ac_ext <<_ACEOF
34987 cat confdefs.h >>conftest.$ac_ext
34988 cat >>conftest.$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34990 $ac_includes_default
34991 #include <$ac_header>
34993 rm -f conftest.$ac_objext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34995 (eval $ac_compile) 2>conftest.er1
34997 grep -v '^ *+' conftest.er1 >conftest.err
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } &&
35002 { ac_try='test -z "$ac_c_werror_flag"
35003 || test ! -s conftest.err'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; } &&
35009 { ac_try='test -s conftest.$ac_objext'
35010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35011 (eval $ac_try) 2>&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); }; }; then
35015 ac_header_compiler=yes
35017 echo "$as_me: failed program was:" >&5
35018 sed 's/^/| /' conftest.$ac_ext >&5
35020 ac_header_compiler=no
35022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35023 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35024 echo "${ECHO_T}$ac_header_compiler" >&6
35026 # Is the header present?
35027 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35029 cat >conftest.$ac_ext <<_ACEOF
35032 cat confdefs.h >>conftest.$ac_ext
35033 cat >>conftest.$ac_ext <<_ACEOF
35034 /* end confdefs.h. */
35035 #include <$ac_header>
35037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35040 grep -v '^ *+' conftest.er1 >conftest.err
35042 cat conftest.err >&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); } >/dev/null; then
35045 if test -s conftest.err; then
35046 ac_cpp_err=$ac_c_preproc_warn_flag
35047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35054 if test -z "$ac_cpp_err"; then
35055 ac_header_preproc=yes
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.$ac_ext >&5
35060 ac_header_preproc=no
35062 rm -f conftest.err conftest.$ac_ext
35063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35064 echo "${ECHO_T}$ac_header_preproc" >&6
35066 # So? What about this header?
35067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35069 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35070 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35072 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35073 ac_header_preproc=yes
35076 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35077 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35078 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35079 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35080 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35081 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35082 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35083 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35086 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35087 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35090 ## ----------------------------------------- ##
35091 ## Report this to wx-dev@lists.wxwidgets.org ##
35092 ## ----------------------------------------- ##
35095 sed "s/^/$as_me: WARNING: /" >&2
35098 echo "$as_me:$LINENO: checking for $ac_header" >&5
35099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35101 echo $ECHO_N "(cached) $ECHO_C" >&6
35103 eval "$as_ac_Header=\$ac_header_preproc"
35105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35110 cat >>confdefs.h <<_ACEOF
35111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35119 if test "$wxUSE_LIBSDL" != "no"; then
35121 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35122 if test "${with_sdl_prefix+set}" = set; then
35123 withval="$with_sdl_prefix"
35124 sdl_prefix="$withval"
35129 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35130 if test "${with_sdl_exec_prefix+set}" = set; then
35131 withval="$with_sdl_exec_prefix"
35132 sdl_exec_prefix="$withval"
35136 # Check whether --enable-sdltest or --disable-sdltest was given.
35137 if test "${enable_sdltest+set}" = set; then
35138 enableval="$enable_sdltest"
35144 if test x$sdl_exec_prefix != x ; then
35145 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35146 if test x${SDL_CONFIG+set} != xset ; then
35147 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35150 if test x$sdl_prefix != x ; then
35151 sdl_args="$sdl_args --prefix=$sdl_prefix"
35152 if test x${SDL_CONFIG+set} != xset ; then
35153 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35158 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
35159 # Extract the first word of "sdl-config", so it can be a program name with args.
35160 set dummy sdl-config; ac_word=$2
35161 echo "$as_me:$LINENO: checking for $ac_word" >&5
35162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35163 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35164 echo $ECHO_N "(cached) $ECHO_C" >&6
35166 case $SDL_CONFIG in
35168 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
35171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35172 for as_dir in $PATH
35175 test -z "$as_dir" && as_dir=.
35176 for ac_exec_ext in '' $ac_executable_extensions; do
35177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35178 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35185 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
35189 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
35191 if test -n "$SDL_CONFIG"; then
35192 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35193 echo "${ECHO_T}$SDL_CONFIG" >&6
35195 echo "$as_me:$LINENO: result: no" >&5
35196 echo "${ECHO_T}no" >&6
35199 min_sdl_version=1.2.0
35200 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35201 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35203 if test "$SDL_CONFIG" = "no" ; then
35206 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
35207 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
35209 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
35210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35211 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
35212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35213 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
35214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35215 if test "x$enable_sdltest" = "xyes" ; then
35216 ac_save_CFLAGS="$CFLAGS"
35217 ac_save_CXXFLAGS="$CXXFLAGS"
35218 ac_save_LIBS="$LIBS"
35219 CFLAGS="$CFLAGS $SDL_CFLAGS"
35220 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35221 LIBS="$LIBS $SDL_LIBS"
35223 if test "$cross_compiling" = yes; then
35224 echo $ac_n "cross compiling; assumed OK... $ac_c"
35226 cat >conftest.$ac_ext <<_ACEOF
35229 cat confdefs.h >>conftest.$ac_ext
35230 cat >>conftest.$ac_ext <<_ACEOF
35231 /* end confdefs.h. */
35234 #include <stdlib.h>
35235 #include <string.h>
35239 my_strdup (char *str)
35245 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35246 strcpy (new_str, str);
35254 int main (int argc, char *argv[])
35256 int major, minor, micro;
35259 /* This hangs on some systems (?)
35260 system ("touch conf.sdltest");
35262 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35264 /* HP/UX 9 (%@#!) writes to sscanf strings */
35265 tmp_version = my_strdup("$min_sdl_version");
35266 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35267 printf("%s, bad version string\n", "$min_sdl_version");
35271 if (($sdl_major_version > major) ||
35272 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35273 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35279 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35280 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35281 printf("*** best to upgrade to the required version.\n");
35282 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35283 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35284 printf("*** config.cache before re-running configure\n");
35291 rm -f conftest$ac_exeext
35292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35293 (eval $ac_link) 2>&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35298 (eval $ac_try) 2>&5
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); }; }; then
35304 echo "$as_me: program exited with status $ac_status" >&5
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35308 ( exit $ac_status )
35311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35313 CFLAGS="$ac_save_CFLAGS"
35314 CXXFLAGS="$ac_save_CXXFLAGS"
35315 LIBS="$ac_save_LIBS"
35318 if test "x$no_sdl" = x ; then
35319 echo "$as_me:$LINENO: result: yes" >&5
35320 echo "${ECHO_T}yes" >&6
35322 EXTRALIBS_SDL="$SDL_LIBS"
35323 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35324 cat >>confdefs.h <<\_ACEOF
35325 #define wxUSE_LIBSDL 1
35330 echo "$as_me:$LINENO: result: no" >&5
35331 echo "${ECHO_T}no" >&6
35332 if test "$SDL_CONFIG" = "no" ; then
35333 echo "*** The sdl-config script installed by SDL could not be found"
35334 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35335 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35336 echo "*** full path to sdl-config."
35338 if test -f conf.sdltest ; then
35341 echo "*** Could not run SDL test program, checking why..."
35342 CFLAGS="$CFLAGS $SDL_CFLAGS"
35343 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35344 LIBS="$LIBS $SDL_LIBS"
35345 cat >conftest.$ac_ext <<_ACEOF
35348 cat confdefs.h >>conftest.$ac_ext
35349 cat >>conftest.$ac_ext <<_ACEOF
35350 /* end confdefs.h. */
35355 int main(int argc, char *argv[])
35358 #define main K_and_R_C_main
35368 rm -f conftest.$ac_objext conftest$ac_exeext
35369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35370 (eval $ac_link) 2>conftest.er1
35372 grep -v '^ *+' conftest.er1 >conftest.err
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } &&
35377 { ac_try='test -z "$ac_c_werror_flag"
35378 || test ! -s conftest.err'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; } &&
35384 { ac_try='test -s conftest$ac_exeext'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; }; then
35390 echo "*** The test program compiled, but did not run. This usually means"
35391 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35392 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35393 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35394 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35395 echo "*** is required on your system"
35397 echo "*** If you have an old version installed, it is best to remove it, although"
35398 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35400 echo "$as_me: failed program was:" >&5
35401 sed 's/^/| /' conftest.$ac_ext >&5
35403 echo "*** The test program failed to compile or link. See the file config.log for the"
35404 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35405 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35406 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35408 rm -f conftest.err conftest.$ac_objext \
35409 conftest$ac_exeext conftest.$ac_ext
35410 CFLAGS="$ac_save_CFLAGS"
35411 CXXFLAGS="$ac_save_CXXFLAGS"
35412 LIBS="$ac_save_LIBS"
35423 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35429 cat >>confdefs.h <<\_ACEOF
35430 #define wxUSE_SOUND 1
35433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
35436 if test "$WXGTK20" = 1; then
35437 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35438 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35443 if test -z "$PKG_CONFIG"; then
35444 # Extract the first word of "pkg-config", so it can be a program name with args.
35445 set dummy pkg-config; ac_word=$2
35446 echo "$as_me:$LINENO: checking for $ac_word" >&5
35447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35451 case $PKG_CONFIG in
35453 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35457 for as_dir in $PATH
35460 test -z "$as_dir" && as_dir=.
35461 for ac_exec_ext in '' $ac_executable_extensions; do
35462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35463 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35470 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
35474 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35476 if test -n "$PKG_CONFIG"; then
35477 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35478 echo "${ECHO_T}$PKG_CONFIG" >&6
35480 echo "$as_me:$LINENO: result: no" >&5
35481 echo "${ECHO_T}no" >&6
35486 if test "$PKG_CONFIG" = "no" ; then
35487 echo "*** The pkg-config script could not be found. Make sure it is"
35488 echo "*** in your path, or set the PKG_CONFIG environment variable"
35489 echo "*** to the full path to pkg-config."
35490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35492 PKG_CONFIG_MIN_VERSION=0.9.0
35493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35494 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35495 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35497 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35498 echo "$as_me:$LINENO: result: yes" >&5
35499 echo "${ECHO_T}yes" >&6
35502 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35503 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35504 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35505 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35506 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35508 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35509 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35510 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35511 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35512 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35514 LIBGNOMEPRINTUI_CFLAGS=""
35515 LIBGNOMEPRINTUI_LIBS=""
35516 ## If we have a custom action on failure, don't print errors, but
35517 ## do set a variable so people can do so.
35518 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35525 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35526 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35530 if test $succeeded = yes; then
35532 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35533 cat >>confdefs.h <<\_ACEOF
35534 #define wxUSE_LIBGNOMEPRINT 1
35540 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35541 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35542 wxUSE_LIBGNOMEPRINT="no"
35552 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35553 cat >>confdefs.h <<\_ACEOF
35554 #define wxUSE_CMDLINE_PARSER 1
35559 if test "$wxUSE_STOPWATCH" = "yes"; then
35560 cat >>confdefs.h <<\_ACEOF
35561 #define wxUSE_STOPWATCH 1
35566 if test "$wxUSE_DATETIME" = "yes"; then
35567 cat >>confdefs.h <<\_ACEOF
35568 #define wxUSE_DATETIME 1
35573 if test "$wxUSE_FILE" = "yes"; then
35574 cat >>confdefs.h <<\_ACEOF
35575 #define wxUSE_FILE 1
35580 if test "$wxUSE_FFILE" = "yes"; then
35581 cat >>confdefs.h <<\_ACEOF
35582 #define wxUSE_FFILE 1
35587 if test "$wxUSE_FILESYSTEM" = "yes"; then
35588 cat >>confdefs.h <<\_ACEOF
35589 #define wxUSE_FILESYSTEM 1
35594 if test "$wxUSE_FS_ZIP" = "yes"; then
35595 cat >>confdefs.h <<\_ACEOF
35596 #define wxUSE_FS_ZIP 1
35601 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
35602 cat >>confdefs.h <<\_ACEOF
35603 #define wxUSE_ARCHIVE_STREAMS 1
35608 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
35610 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
35611 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
35612 elif test "$wxUSE_ZLIB" = "no"; then
35613 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
35614 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
35616 cat >>confdefs.h <<\_ACEOF
35617 #define wxUSE_ZIPSTREAM 1
35623 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35624 cat >>confdefs.h <<\_ACEOF
35625 #define wxUSE_ON_FATAL_EXCEPTION 1
35630 if test "$wxUSE_STACKWALKER" = "yes"; then
35631 cat >>confdefs.h <<\_ACEOF
35632 #define wxUSE_STACKWALKER 1
35637 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35638 cat >>confdefs.h <<\_ACEOF
35639 #define wxUSE_SNGLINST_CHECKER 1
35644 if test "$wxUSE_BUSYINFO" = "yes"; then
35645 cat >>confdefs.h <<\_ACEOF
35646 #define wxUSE_BUSYINFO 1
35651 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35652 cat >>confdefs.h <<\_ACEOF
35653 #define wxUSE_STD_IOSTREAM 1
35658 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35659 cat >>confdefs.h <<\_ACEOF
35660 #define wxUSE_TEXTBUFFER 1
35665 if test "$wxUSE_TEXTFILE" = "yes"; then
35666 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35667 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35668 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35670 cat >>confdefs.h <<\_ACEOF
35671 #define wxUSE_TEXTFILE 1
35677 if test "$wxUSE_CONFIG" = "yes" ; then
35678 if test "$wxUSE_TEXTFILE" != "yes"; then
35679 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35680 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35682 cat >>confdefs.h <<\_ACEOF
35683 #define wxUSE_CONFIG 1
35686 cat >>confdefs.h <<\_ACEOF
35687 #define wxUSE_CONFIG_NATIVE 1
35690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35694 if test "$wxUSE_INTL" = "yes" ; then
35695 if test "$wxUSE_FILE" != "yes"; then
35696 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35697 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35699 cat >>confdefs.h <<\_ACEOF
35700 #define wxUSE_INTL 1
35703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35704 GUIDIST="$GUIDIST INTL_DIST"
35708 if test "$wxUSE_LOG" = "yes"; then
35709 cat >>confdefs.h <<\_ACEOF
35710 #define wxUSE_LOG 1
35714 if test "$wxUSE_LOGGUI" = "yes"; then
35715 cat >>confdefs.h <<\_ACEOF
35716 #define wxUSE_LOGGUI 1
35721 if test "$wxUSE_LOGWINDOW" = "yes"; then
35722 cat >>confdefs.h <<\_ACEOF
35723 #define wxUSE_LOGWINDOW 1
35728 if test "$wxUSE_LOGDIALOG" = "yes"; then
35729 cat >>confdefs.h <<\_ACEOF
35730 #define wxUSE_LOG_DIALOG 1
35736 if test "$wxUSE_LONGLONG" = "yes"; then
35737 cat >>confdefs.h <<\_ACEOF
35738 #define wxUSE_LONGLONG 1
35743 if test "$wxUSE_GEOMETRY" = "yes"; then
35744 cat >>confdefs.h <<\_ACEOF
35745 #define wxUSE_GEOMETRY 1
35750 if test "$wxUSE_STREAMS" = "yes" ; then
35751 cat >>confdefs.h <<\_ACEOF
35752 #define wxUSE_STREAMS 1
35758 if test "$wxUSE_DATETIME" = "yes"; then
35760 for ac_func in strptime
35762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35763 echo "$as_me:$LINENO: checking for $ac_func" >&5
35764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35765 if eval "test \"\${$as_ac_var+set}\" = set"; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35768 cat >conftest.$ac_ext <<_ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35776 #define $ac_func innocuous_$ac_func
35778 /* System header to define __stub macros and hopefully few prototypes,
35779 which can conflict with char $ac_func (); below.
35780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35781 <limits.h> exists even on freestanding compilers. */
35784 # include <limits.h>
35786 # include <assert.h>
35791 /* Override any gcc2 internal prototype to avoid an error. */
35796 /* We use char because int might match the return type of a gcc2
35797 builtin and then its argument prototype would still apply. */
35799 /* The GNU C library defines this for functions which it implements
35800 to always fail with ENOSYS. Some functions are actually named
35801 something starting with __ and the normal name is an alias. */
35802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35805 char (*f) () = $ac_func;
35814 return f != $ac_func;
35819 rm -f conftest.$ac_objext conftest$ac_exeext
35820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35821 (eval $ac_link) 2>conftest.er1
35823 grep -v '^ *+' conftest.er1 >conftest.err
35825 cat conftest.err >&5
35826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827 (exit $ac_status); } &&
35828 { ac_try='test -z "$ac_c_werror_flag"
35829 || test ! -s conftest.err'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; } &&
35835 { ac_try='test -s conftest$ac_exeext'
35836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35837 (eval $ac_try) 2>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); }; }; then
35841 eval "$as_ac_var=yes"
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.$ac_ext >&5
35846 eval "$as_ac_var=no"
35848 rm -f conftest.err conftest.$ac_objext \
35849 conftest$ac_exeext conftest.$ac_ext
35851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35853 if test `eval echo '${'$as_ac_var'}'` = yes; then
35854 cat >>confdefs.h <<_ACEOF
35855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35862 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35863 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35864 if test "${wx_cv_var_timezone+set}" = set; then
35865 echo $ECHO_N "(cached) $ECHO_C" >&6
35868 cat >conftest.$ac_ext <<_ACEOF
35871 cat confdefs.h >>conftest.$ac_ext
35872 cat >>conftest.$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35888 rm -f conftest.$ac_objext
35889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35890 (eval $ac_compile) 2>conftest.er1
35892 grep -v '^ *+' conftest.er1 >conftest.err
35894 cat conftest.err >&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); } &&
35897 { ac_try='test -z "$ac_c_werror_flag"
35898 || test ! -s conftest.err'
35899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35900 (eval $ac_try) 2>&5
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); }; } &&
35904 { ac_try='test -s conftest.$ac_objext'
35905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35906 (eval $ac_try) 2>&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); }; }; then
35911 wx_cv_var_timezone=timezone
35914 echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.$ac_ext >&5
35918 cat >conftest.$ac_ext <<_ACEOF
35921 cat confdefs.h >>conftest.$ac_ext
35922 cat >>conftest.$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35938 rm -f conftest.$ac_objext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35940 (eval $ac_compile) 2>conftest.er1
35942 grep -v '^ *+' conftest.er1 >conftest.err
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try='test -z "$ac_c_werror_flag"
35948 || test ! -s conftest.err'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; } &&
35954 { ac_try='test -s conftest.$ac_objext'
35955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35956 (eval $ac_try) 2>&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); }; }; then
35961 wx_cv_var_timezone=_timezone
35964 echo "$as_me: failed program was:" >&5
35965 sed 's/^/| /' conftest.$ac_ext >&5
35968 cat >conftest.$ac_ext <<_ACEOF
35971 cat confdefs.h >>conftest.$ac_ext
35972 cat >>conftest.$ac_ext <<_ACEOF
35973 /* end confdefs.h. */
35988 rm -f conftest.$ac_objext
35989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35990 (eval $ac_compile) 2>conftest.er1
35992 grep -v '^ *+' conftest.er1 >conftest.err
35994 cat conftest.err >&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); } &&
35997 { ac_try='test -z "$ac_c_werror_flag"
35998 || test ! -s conftest.err'
35999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36000 (eval $ac_try) 2>&5
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); }; } &&
36004 { ac_try='test -s conftest.$ac_objext'
36005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36006 (eval $ac_try) 2>&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); }; }; then
36011 wx_cv_var_timezone=__timezone
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36018 if test "$USE_DOS" = 0 ; then
36019 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36020 echo "$as_me: WARNING: no timezone variable" >&2;}
36025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36037 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36038 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36040 if test "x$wx_cv_var_timezone" != x ; then
36041 cat >>confdefs.h <<_ACEOF
36042 #define WX_TIMEZONE $wx_cv_var_timezone
36048 for ac_func in localtime
36050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36051 echo "$as_me:$LINENO: checking for $ac_func" >&5
36052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36053 if eval "test \"\${$as_ac_var+set}\" = set"; then
36054 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 cat >conftest.$ac_ext <<_ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36064 #define $ac_func innocuous_$ac_func
36066 /* System header to define __stub macros and hopefully few prototypes,
36067 which can conflict with char $ac_func (); below.
36068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36069 <limits.h> exists even on freestanding compilers. */
36072 # include <limits.h>
36074 # include <assert.h>
36079 /* Override any gcc2 internal prototype to avoid an error. */
36084 /* We use char because int might match the return type of a gcc2
36085 builtin and then its argument prototype would still apply. */
36087 /* The GNU C library defines this for functions which it implements
36088 to always fail with ENOSYS. Some functions are actually named
36089 something starting with __ and the normal name is an alias. */
36090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36093 char (*f) () = $ac_func;
36102 return f != $ac_func;
36107 rm -f conftest.$ac_objext conftest$ac_exeext
36108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36109 (eval $ac_link) 2>conftest.er1
36111 grep -v '^ *+' conftest.er1 >conftest.err
36113 cat conftest.err >&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); } &&
36116 { ac_try='test -z "$ac_c_werror_flag"
36117 || test ! -s conftest.err'
36118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36119 (eval $ac_try) 2>&5
36121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36122 (exit $ac_status); }; } &&
36123 { ac_try='test -s conftest$ac_exeext'
36124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36125 (eval $ac_try) 2>&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); }; }; then
36129 eval "$as_ac_var=yes"
36131 echo "$as_me: failed program was:" >&5
36132 sed 's/^/| /' conftest.$ac_ext >&5
36134 eval "$as_ac_var=no"
36136 rm -f conftest.err conftest.$ac_objext \
36137 conftest$ac_exeext conftest.$ac_ext
36139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36141 if test `eval echo '${'$as_ac_var'}'` = yes; then
36142 cat >>confdefs.h <<_ACEOF
36143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36150 if test "$ac_cv_func_localtime" = "yes"; then
36151 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36152 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36153 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36157 cat >conftest.$ac_ext <<_ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36177 rm -f conftest.$ac_objext
36178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36179 (eval $ac_compile) 2>conftest.er1
36181 grep -v '^ *+' conftest.er1 >conftest.err
36183 cat conftest.err >&5
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); } &&
36186 { ac_try='test -z "$ac_c_werror_flag"
36187 || test ! -s conftest.err'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; } &&
36193 { ac_try='test -s conftest.$ac_objext'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; }; then
36200 wx_cv_struct_tm_has_gmtoff=yes
36203 echo "$as_me: failed program was:" >&5
36204 sed 's/^/| /' conftest.$ac_ext >&5
36206 wx_cv_struct_tm_has_gmtoff=no
36209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36212 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36213 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36216 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36217 cat >>confdefs.h <<\_ACEOF
36218 #define WX_GMTOFF_IN_TM 1
36225 for ac_func in gettimeofday ftime
36227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36228 echo "$as_me:$LINENO: checking for $ac_func" >&5
36229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36230 if eval "test \"\${$as_ac_var+set}\" = set"; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 cat >conftest.$ac_ext <<_ACEOF
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36241 #define $ac_func innocuous_$ac_func
36243 /* System header to define __stub macros and hopefully few prototypes,
36244 which can conflict with char $ac_func (); below.
36245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36246 <limits.h> exists even on freestanding compilers. */
36249 # include <limits.h>
36251 # include <assert.h>
36256 /* Override any gcc2 internal prototype to avoid an error. */
36261 /* We use char because int might match the return type of a gcc2
36262 builtin and then its argument prototype would still apply. */
36264 /* The GNU C library defines this for functions which it implements
36265 to always fail with ENOSYS. Some functions are actually named
36266 something starting with __ and the normal name is an alias. */
36267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36270 char (*f) () = $ac_func;
36279 return f != $ac_func;
36284 rm -f conftest.$ac_objext conftest$ac_exeext
36285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36286 (eval $ac_link) 2>conftest.er1
36288 grep -v '^ *+' conftest.er1 >conftest.err
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } &&
36293 { ac_try='test -z "$ac_c_werror_flag"
36294 || test ! -s conftest.err'
36295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36296 (eval $ac_try) 2>&5
36298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36299 (exit $ac_status); }; } &&
36300 { ac_try='test -s conftest$ac_exeext'
36301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36302 (eval $ac_try) 2>&5
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); }; }; then
36306 eval "$as_ac_var=yes"
36308 echo "$as_me: failed program was:" >&5
36309 sed 's/^/| /' conftest.$ac_ext >&5
36311 eval "$as_ac_var=no"
36313 rm -f conftest.err conftest.$ac_objext \
36314 conftest$ac_exeext conftest.$ac_ext
36316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36318 if test `eval echo '${'$as_ac_var'}'` = yes; then
36319 cat >>confdefs.h <<_ACEOF
36320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36327 if test "$ac_cv_func_gettimeofday" = "yes"; then
36328 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36329 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36330 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36331 echo $ECHO_N "(cached) $ECHO_C" >&6
36337 ac_cpp='$CXXCPP $CPPFLAGS'
36338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343 cat >conftest.$ac_ext <<_ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36350 #include <sys/time.h>
36351 #include <unistd.h>
36358 gettimeofday(&tv, NULL);
36364 rm -f conftest.$ac_objext
36365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36366 (eval $ac_compile) 2>conftest.er1
36368 grep -v '^ *+' conftest.er1 >conftest.err
36370 cat conftest.err >&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); } &&
36373 { ac_try='test -z "$ac_cxx_werror_flag"
36374 || test ! -s conftest.err'
36375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36376 (eval $ac_try) 2>&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); }; } &&
36380 { ac_try='test -s conftest.$ac_objext'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; }; then
36386 wx_cv_func_gettimeofday_has_2_args=yes
36388 echo "$as_me: failed program was:" >&5
36389 sed 's/^/| /' conftest.$ac_ext >&5
36391 cat >conftest.$ac_ext <<_ACEOF
36394 cat confdefs.h >>conftest.$ac_ext
36395 cat >>conftest.$ac_ext <<_ACEOF
36396 /* end confdefs.h. */
36398 #include <sys/time.h>
36399 #include <unistd.h>
36412 rm -f conftest.$ac_objext
36413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36414 (eval $ac_compile) 2>conftest.er1
36416 grep -v '^ *+' conftest.er1 >conftest.err
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } &&
36421 { ac_try='test -z "$ac_cxx_werror_flag"
36422 || test ! -s conftest.err'
36423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36424 (eval $ac_try) 2>&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); }; } &&
36428 { ac_try='test -s conftest.$ac_objext'
36429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36430 (eval $ac_try) 2>&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); }; }; then
36434 wx_cv_func_gettimeofday_has_2_args=no
36436 echo "$as_me: failed program was:" >&5
36437 sed 's/^/| /' conftest.$ac_ext >&5
36440 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36441 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36442 wx_cv_func_gettimeofday_has_2_args=unknown
36446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36451 ac_cpp='$CPP $CPPFLAGS'
36452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36458 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36459 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36461 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36462 cat >>confdefs.h <<\_ACEOF
36463 #define WX_GETTIMEOFDAY_NO_TZ 1
36469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
36473 if test "$wxUSE_SOCKETS" = "yes"; then
36474 if test "$wxUSE_MGL" = "1"; then
36475 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36476 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36481 if test "$wxUSE_SOCKETS" = "yes"; then
36482 if test "$TOOLKIT" != "MSW"; then
36483 echo "$as_me:$LINENO: checking for socket" >&5
36484 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36485 if test "${ac_cv_func_socket+set}" = set; then
36486 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 cat >conftest.$ac_ext <<_ACEOF
36491 cat confdefs.h >>conftest.$ac_ext
36492 cat >>conftest.$ac_ext <<_ACEOF
36493 /* end confdefs.h. */
36494 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36496 #define socket innocuous_socket
36498 /* System header to define __stub macros and hopefully few prototypes,
36499 which can conflict with char socket (); below.
36500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36501 <limits.h> exists even on freestanding compilers. */
36504 # include <limits.h>
36506 # include <assert.h>
36511 /* Override any gcc2 internal prototype to avoid an error. */
36516 /* We use char because int might match the return type of a gcc2
36517 builtin and then its argument prototype would still apply. */
36519 /* The GNU C library defines this for functions which it implements
36520 to always fail with ENOSYS. Some functions are actually named
36521 something starting with __ and the normal name is an alias. */
36522 #if defined (__stub_socket) || defined (__stub___socket)
36525 char (*f) () = socket;
36534 return f != socket;
36539 rm -f conftest.$ac_objext conftest$ac_exeext
36540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36541 (eval $ac_link) 2>conftest.er1
36543 grep -v '^ *+' conftest.er1 >conftest.err
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } &&
36548 { ac_try='test -z "$ac_c_werror_flag"
36549 || test ! -s conftest.err'
36550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36551 (eval $ac_try) 2>&5
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); }; } &&
36555 { ac_try='test -s conftest$ac_exeext'
36556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36557 (eval $ac_try) 2>&5
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; }; then
36561 ac_cv_func_socket=yes
36563 echo "$as_me: failed program was:" >&5
36564 sed 's/^/| /' conftest.$ac_ext >&5
36566 ac_cv_func_socket=no
36568 rm -f conftest.err conftest.$ac_objext \
36569 conftest$ac_exeext conftest.$ac_ext
36571 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36572 echo "${ECHO_T}$ac_cv_func_socket" >&6
36573 if test $ac_cv_func_socket = yes; then
36577 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36578 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36579 if test "${ac_cv_lib_socket_socket+set}" = set; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36582 ac_check_lib_save_LIBS=$LIBS
36583 LIBS="-lsocket $LIBS"
36584 cat >conftest.$ac_ext <<_ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36591 /* Override any gcc2 internal prototype to avoid an error. */
36595 /* We use char because int might match the return type of a gcc2
36596 builtin and then its argument prototype would still apply. */
36606 rm -f conftest.$ac_objext conftest$ac_exeext
36607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36608 (eval $ac_link) 2>conftest.er1
36610 grep -v '^ *+' conftest.er1 >conftest.err
36612 cat conftest.err >&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } &&
36615 { ac_try='test -z "$ac_c_werror_flag"
36616 || test ! -s conftest.err'
36617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36618 (eval $ac_try) 2>&5
36620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36621 (exit $ac_status); }; } &&
36622 { ac_try='test -s conftest$ac_exeext'
36623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36624 (eval $ac_try) 2>&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); }; }; then
36628 ac_cv_lib_socket_socket=yes
36630 echo "$as_me: failed program was:" >&5
36631 sed 's/^/| /' conftest.$ac_ext >&5
36633 ac_cv_lib_socket_socket=no
36635 rm -f conftest.err conftest.$ac_objext \
36636 conftest$ac_exeext conftest.$ac_ext
36637 LIBS=$ac_check_lib_save_LIBS
36639 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36640 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36641 if test $ac_cv_lib_socket_socket = yes; then
36642 if test "$INET_LINK" != " -lsocket"; then
36643 INET_LINK="$INET_LINK -lsocket"
36647 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36648 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36661 if test "$wxUSE_SOCKETS" = "yes" ; then
36662 if test "$TOOLKIT" != "MSW"; then
36664 ac_cpp='$CXXCPP $CPPFLAGS'
36665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36669 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36670 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36671 if test "${wx_cv_type_getsockname3+set}" = set; then
36672 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 cat >conftest.$ac_ext <<_ACEOF
36678 cat confdefs.h >>conftest.$ac_ext
36679 cat >>conftest.$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36682 #include <sys/types.h>
36683 #include <sys/socket.h>
36690 getsockname(0, 0, &len);
36696 rm -f conftest.$ac_objext
36697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36698 (eval $ac_compile) 2>conftest.er1
36700 grep -v '^ *+' conftest.er1 >conftest.err
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } &&
36705 { ac_try='test -z "$ac_cxx_werror_flag"
36706 || test ! -s conftest.err'
36707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36708 (eval $ac_try) 2>&5
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); }; } &&
36712 { ac_try='test -s conftest.$ac_objext'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; }; then
36718 wx_cv_type_getsockname3=socklen_t
36720 echo "$as_me: failed program was:" >&5
36721 sed 's/^/| /' conftest.$ac_ext >&5
36724 CFLAGS_OLD="$CFLAGS"
36725 if test "$GCC" = yes ; then
36726 CFLAGS="$CFLAGS -Werror"
36729 cat >conftest.$ac_ext <<_ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36736 #include <sys/types.h>
36737 #include <sys/socket.h>
36744 getsockname(0, 0, &len);
36750 rm -f conftest.$ac_objext
36751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36752 (eval $ac_compile) 2>conftest.er1
36754 grep -v '^ *+' conftest.er1 >conftest.err
36756 cat conftest.err >&5
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); } &&
36759 { ac_try='test -z "$ac_cxx_werror_flag"
36760 || test ! -s conftest.err'
36761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36762 (eval $ac_try) 2>&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); }; } &&
36766 { ac_try='test -s conftest.$ac_objext'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; }; then
36772 wx_cv_type_getsockname3=size_t
36774 echo "$as_me: failed program was:" >&5
36775 sed 's/^/| /' conftest.$ac_ext >&5
36777 cat >conftest.$ac_ext <<_ACEOF
36780 cat confdefs.h >>conftest.$ac_ext
36781 cat >>conftest.$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36784 #include <sys/types.h>
36785 #include <sys/socket.h>
36792 getsockname(0, 0, &len);
36798 rm -f conftest.$ac_objext
36799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36800 (eval $ac_compile) 2>conftest.er1
36802 grep -v '^ *+' conftest.er1 >conftest.err
36804 cat conftest.err >&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); } &&
36807 { ac_try='test -z "$ac_cxx_werror_flag"
36808 || test ! -s conftest.err'
36809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36810 (eval $ac_try) 2>&5
36812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36813 (exit $ac_status); }; } &&
36814 { ac_try='test -s conftest.$ac_objext'
36815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36816 (eval $ac_try) 2>&5
36818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36819 (exit $ac_status); }; }; then
36820 wx_cv_type_getsockname3=int
36822 echo "$as_me: failed program was:" >&5
36823 sed 's/^/| /' conftest.$ac_ext >&5
36825 wx_cv_type_getsockname3=unknown
36828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36833 CFLAGS="$CFLAGS_OLD"
36837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36840 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36841 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36843 if test "$wx_cv_type_getsockname3" = "unknown"; then
36845 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36846 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36848 cat >>confdefs.h <<_ACEOF
36849 #define SOCKLEN_T $wx_cv_type_getsockname3
36853 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36854 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36855 if test "${wx_cv_type_getsockopt5+set}" = set; then
36856 echo $ECHO_N "(cached) $ECHO_C" >&6
36859 cat >conftest.$ac_ext <<_ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36866 #include <sys/types.h>
36867 #include <sys/socket.h>
36874 getsockopt(0, 0, 0, 0, &len);
36880 rm -f conftest.$ac_objext
36881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36882 (eval $ac_compile) 2>conftest.er1
36884 grep -v '^ *+' conftest.er1 >conftest.err
36886 cat conftest.err >&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); } &&
36889 { ac_try='test -z "$ac_cxx_werror_flag"
36890 || test ! -s conftest.err'
36891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36892 (eval $ac_try) 2>&5
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); }; } &&
36896 { ac_try='test -s conftest.$ac_objext'
36897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36898 (eval $ac_try) 2>&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); }; }; then
36902 wx_cv_type_getsockopt5=socklen_t
36904 echo "$as_me: failed program was:" >&5
36905 sed 's/^/| /' conftest.$ac_ext >&5
36908 CFLAGS_OLD="$CFLAGS"
36909 if test "$GCC" = yes ; then
36910 CFLAGS="$CFLAGS -Werror"
36913 cat >conftest.$ac_ext <<_ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36920 #include <sys/types.h>
36921 #include <sys/socket.h>
36928 getsockopt(0, 0, 0, 0, &len);
36934 rm -f conftest.$ac_objext
36935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36936 (eval $ac_compile) 2>conftest.er1
36938 grep -v '^ *+' conftest.er1 >conftest.err
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } &&
36943 { ac_try='test -z "$ac_cxx_werror_flag"
36944 || test ! -s conftest.err'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; } &&
36950 { ac_try='test -s conftest.$ac_objext'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; }; then
36956 wx_cv_type_getsockopt5=size_t
36958 echo "$as_me: failed program was:" >&5
36959 sed 's/^/| /' conftest.$ac_ext >&5
36961 cat >conftest.$ac_ext <<_ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36968 #include <sys/types.h>
36969 #include <sys/socket.h>
36976 getsockopt(0, 0, 0, 0, &len);
36982 rm -f conftest.$ac_objext
36983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36984 (eval $ac_compile) 2>conftest.er1
36986 grep -v '^ *+' conftest.er1 >conftest.err
36988 cat conftest.err >&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); } &&
36991 { ac_try='test -z "$ac_cxx_werror_flag"
36992 || test ! -s conftest.err'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; } &&
36998 { ac_try='test -s conftest.$ac_objext'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 wx_cv_type_getsockopt5=int
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37009 wx_cv_type_getsockopt5=unknown
37012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37017 CFLAGS="$CFLAGS_OLD"
37021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37024 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37025 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37027 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37029 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37030 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37032 cat >>confdefs.h <<_ACEOF
37033 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37038 ac_cpp='$CPP $CPPFLAGS'
37039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37046 if test "$wxUSE_SOCKETS" = "yes" ; then
37047 cat >>confdefs.h <<\_ACEOF
37048 #define wxUSE_SOCKETS 1
37051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37054 if test "$wxUSE_PROTOCOL" = "yes"; then
37055 if test "$wxUSE_SOCKETS" != "yes"; then
37056 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37057 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37062 if test "$wxUSE_PROTOCOL" = "yes"; then
37063 cat >>confdefs.h <<\_ACEOF
37064 #define wxUSE_PROTOCOL 1
37068 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37069 cat >>confdefs.h <<\_ACEOF
37070 #define wxUSE_PROTOCOL_HTTP 1
37074 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37075 cat >>confdefs.h <<\_ACEOF
37076 #define wxUSE_PROTOCOL_FTP 1
37080 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37081 cat >>confdefs.h <<\_ACEOF
37082 #define wxUSE_PROTOCOL_FILE 1
37087 if test "$wxUSE_FS_INET" = "yes"; then
37088 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37089 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37094 if test "$wxUSE_URL" = "yes"; then
37095 if test "$wxUSE_PROTOCOL" != "yes"; then
37096 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37097 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37100 if test "$wxUSE_URL" = "yes"; then
37101 cat >>confdefs.h <<\_ACEOF
37102 #define wxUSE_URL 1
37108 if test "$wxUSE_FS_INET" = "yes"; then
37109 cat >>confdefs.h <<\_ACEOF
37110 #define wxUSE_FS_INET 1
37116 if test "$wxUSE_GUI" = "yes"; then
37117 if test "$wxUSE_JOYSTICK" = "yes"; then
37119 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37121 for ac_header in linux/joystick.h
37123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37125 echo "$as_me:$LINENO: checking for $ac_header" >&5
37126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37133 # Is the header compilable?
37134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37136 cat >conftest.$ac_ext <<_ACEOF
37139 cat confdefs.h >>conftest.$ac_ext
37140 cat >>conftest.$ac_ext <<_ACEOF
37141 /* end confdefs.h. */
37142 $ac_includes_default
37143 #include <$ac_header>
37145 rm -f conftest.$ac_objext
37146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37147 (eval $ac_compile) 2>conftest.er1
37149 grep -v '^ *+' conftest.er1 >conftest.err
37151 cat conftest.err >&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try='test -z "$ac_c_werror_flag"
37155 || test ! -s conftest.err'
37156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37157 (eval $ac_try) 2>&5
37159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37160 (exit $ac_status); }; } &&
37161 { ac_try='test -s conftest.$ac_objext'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; }; then
37167 ac_header_compiler=yes
37169 echo "$as_me: failed program was:" >&5
37170 sed 's/^/| /' conftest.$ac_ext >&5
37172 ac_header_compiler=no
37174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37176 echo "${ECHO_T}$ac_header_compiler" >&6
37178 # Is the header present?
37179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37181 cat >conftest.$ac_ext <<_ACEOF
37184 cat confdefs.h >>conftest.$ac_ext
37185 cat >>conftest.$ac_ext <<_ACEOF
37186 /* end confdefs.h. */
37187 #include <$ac_header>
37189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37192 grep -v '^ *+' conftest.er1 >conftest.err
37194 cat conftest.err >&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } >/dev/null; then
37197 if test -s conftest.err; then
37198 ac_cpp_err=$ac_c_preproc_warn_flag
37199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37206 if test -z "$ac_cpp_err"; then
37207 ac_header_preproc=yes
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37212 ac_header_preproc=no
37214 rm -f conftest.err conftest.$ac_ext
37215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37216 echo "${ECHO_T}$ac_header_preproc" >&6
37218 # So? What about this header?
37219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37225 ac_header_preproc=yes
37228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37242 ## ----------------------------------------- ##
37243 ## Report this to wx-dev@lists.wxwidgets.org ##
37244 ## ----------------------------------------- ##
37247 sed "s/^/$as_me: WARNING: /" >&2
37250 echo "$as_me:$LINENO: checking for $ac_header" >&5
37251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 eval "$as_ac_Header=\$ac_header_preproc"
37257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37262 cat >>confdefs.h <<_ACEOF
37263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37270 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37272 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37273 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37276 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
37278 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37279 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37284 if test "$wxUSE_JOYSTICK" = "yes"; then
37285 cat >>confdefs.h <<\_ACEOF
37286 #define wxUSE_JOYSTICK 1
37289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
37296 if test "$wxUSE_FONTMAP" = "yes" ; then
37297 cat >>confdefs.h <<\_ACEOF
37298 #define wxUSE_FONTMAP 1
37303 if test "$wxUSE_UNICODE" = "yes" ; then
37304 cat >>confdefs.h <<\_ACEOF
37305 #define wxUSE_UNICODE 1
37309 if test "$USE_WIN32" != 1; then
37310 wxUSE_UNICODE_MSLU=no
37313 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37314 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37315 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37316 if test "${ac_cv_lib_unicows_main+set}" = set; then
37317 echo $ECHO_N "(cached) $ECHO_C" >&6
37319 ac_check_lib_save_LIBS=$LIBS
37320 LIBS="-lunicows $LIBS"
37321 cat >conftest.$ac_ext <<_ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37337 rm -f conftest.$ac_objext conftest$ac_exeext
37338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37339 (eval $ac_link) 2>conftest.er1
37341 grep -v '^ *+' conftest.er1 >conftest.err
37343 cat conftest.err >&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } &&
37346 { ac_try='test -z "$ac_c_werror_flag"
37347 || test ! -s conftest.err'
37348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37349 (eval $ac_try) 2>&5
37351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37352 (exit $ac_status); }; } &&
37353 { ac_try='test -s conftest$ac_exeext'
37354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37355 (eval $ac_try) 2>&5
37357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37358 (exit $ac_status); }; }; then
37359 ac_cv_lib_unicows_main=yes
37361 echo "$as_me: failed program was:" >&5
37362 sed 's/^/| /' conftest.$ac_ext >&5
37364 ac_cv_lib_unicows_main=no
37366 rm -f conftest.err conftest.$ac_objext \
37367 conftest$ac_exeext conftest.$ac_ext
37368 LIBS=$ac_check_lib_save_LIBS
37370 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37371 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37372 if test $ac_cv_lib_unicows_main = yes; then
37374 cat >>confdefs.h <<\_ACEOF
37375 #define wxUSE_UNICODE_MSLU 1
37381 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37382 Applications will only run on Windows NT/2000/XP!" >&5
37383 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37384 Applications will only run on Windows NT/2000/XP!" >&2;}
37385 wxUSE_UNICODE_MSLU=no
37392 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37393 cat >>confdefs.h <<\_ACEOF
37394 #define wxUSE_EXPERIMENTAL_PRINTF 1
37400 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37401 cat >>confdefs.h <<\_ACEOF
37402 #define wxUSE_POSTSCRIPT 1
37407 cat >>confdefs.h <<\_ACEOF
37408 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37412 cat >>confdefs.h <<\_ACEOF
37413 #define wxUSE_NORMALIZED_PS_FONTS 1
37418 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37419 cat >>confdefs.h <<\_ACEOF
37420 #define wxUSE_CONSTRAINTS 1
37423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
37426 if test "$wxUSE_MDI" = "yes"; then
37427 cat >>confdefs.h <<\_ACEOF
37428 #define wxUSE_MDI 1
37432 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37433 cat >>confdefs.h <<\_ACEOF
37434 #define wxUSE_MDI_ARCHITECTURE 1
37437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
37441 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37442 cat >>confdefs.h <<\_ACEOF
37443 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
37447 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
37452 if test "$wxUSE_HELP" = "yes"; then
37453 cat >>confdefs.h <<\_ACEOF
37454 #define wxUSE_HELP 1
37457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
37459 if test "$wxUSE_MSW" = 1; then
37460 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37461 cat >>confdefs.h <<\_ACEOF
37462 #define wxUSE_MS_HTML_HELP 1
37468 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37469 if test "$wxUSE_HTML" = "yes"; then
37470 cat >>confdefs.h <<\_ACEOF
37471 #define wxUSE_WXHTML_HELP 1
37475 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37476 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37477 wxUSE_WXHTML_HELP=no
37482 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37483 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37484 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37485 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37487 cat >>confdefs.h <<\_ACEOF
37488 #define wxUSE_PRINTING_ARCHITECTURE 1
37492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
37495 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37496 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37497 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37498 { (exit 1); exit 1; }; }
37502 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
37503 -o "$wxUSE_CLIPBOARD" = "yes" \
37504 -o "$wxUSE_OLE" = "yes" \
37505 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
37507 for ac_header in ole2.h
37509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37511 echo "$as_me:$LINENO: checking for $ac_header" >&5
37512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37519 # Is the header compilable?
37520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37522 cat >conftest.$ac_ext <<_ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h. */
37528 $ac_includes_default
37529 #include <$ac_header>
37531 rm -f conftest.$ac_objext
37532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37533 (eval $ac_compile) 2>conftest.er1
37535 grep -v '^ *+' conftest.er1 >conftest.err
37537 cat conftest.err >&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); } &&
37540 { ac_try='test -z "$ac_c_werror_flag"
37541 || test ! -s conftest.err'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try='test -s conftest.$ac_objext'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; }; then
37553 ac_header_compiler=yes
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37558 ac_header_compiler=no
37560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37562 echo "${ECHO_T}$ac_header_compiler" >&6
37564 # Is the header present?
37565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37567 cat >conftest.$ac_ext <<_ACEOF
37570 cat confdefs.h >>conftest.$ac_ext
37571 cat >>conftest.$ac_ext <<_ACEOF
37572 /* end confdefs.h. */
37573 #include <$ac_header>
37575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37578 grep -v '^ *+' conftest.er1 >conftest.err
37580 cat conftest.err >&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } >/dev/null; then
37583 if test -s conftest.err; then
37584 ac_cpp_err=$ac_c_preproc_warn_flag
37585 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37592 if test -z "$ac_cpp_err"; then
37593 ac_header_preproc=yes
37595 echo "$as_me: failed program was:" >&5
37596 sed 's/^/| /' conftest.$ac_ext >&5
37598 ac_header_preproc=no
37600 rm -f conftest.err conftest.$ac_ext
37601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37602 echo "${ECHO_T}$ac_header_preproc" >&6
37604 # So? What about this header?
37605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37611 ac_header_preproc=yes
37614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37628 ## ----------------------------------------- ##
37629 ## Report this to wx-dev@lists.wxwidgets.org ##
37630 ## ----------------------------------------- ##
37633 sed "s/^/$as_me: WARNING: /" >&2
37636 echo "$as_me:$LINENO: checking for $ac_header" >&5
37637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37639 echo $ECHO_N "(cached) $ECHO_C" >&6
37641 eval "$as_ac_Header=\$ac_header_preproc"
37643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37648 cat >>confdefs.h <<_ACEOF
37649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37657 if test "$ac_cv_header_ole2_h" = "yes" ; then
37658 if test "$GCC" = yes ; then
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37668 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37669 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37670 cat >conftest.$ac_ext <<_ACEOF
37673 cat confdefs.h >>conftest.$ac_ext
37674 cat >>conftest.$ac_ext <<_ACEOF
37675 /* end confdefs.h. */
37676 #include <windows.h>
37686 rm -f conftest.$ac_objext
37687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37688 (eval $ac_compile) 2>conftest.er1
37690 grep -v '^ *+' conftest.er1 >conftest.err
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } &&
37695 { ac_try='test -z "$ac_cxx_werror_flag"
37696 || test ! -s conftest.err'
37697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698 (eval $ac_try) 2>&5
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); }; } &&
37702 { ac_try='test -s conftest.$ac_objext'
37703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704 (eval $ac_try) 2>&5
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); }; }; then
37708 echo "$as_me:$LINENO: result: no" >&5
37709 echo "${ECHO_T}no" >&6
37711 echo "$as_me: failed program was:" >&5
37712 sed 's/^/| /' conftest.$ac_ext >&5
37714 echo "$as_me:$LINENO: result: yes" >&5
37715 echo "${ECHO_T}yes" >&6
37716 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37720 ac_cpp='$CPP $CPPFLAGS'
37721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37725 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37726 if test "$wxUSE_OLE" = "yes" ; then
37727 cat >>confdefs.h <<\_ACEOF
37728 #define wxUSE_OLE 1
37734 if test "$wxUSE_DATAOBJ" = "yes" ; then
37735 cat >>confdefs.h <<\_ACEOF
37736 #define wxUSE_DATAOBJ 1
37741 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37742 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37745 wxUSE_DRAG_AND_DROP=no
37750 if test "$wxUSE_METAFILE" = "yes"; then
37751 cat >>confdefs.h <<\_ACEOF
37752 #define wxUSE_METAFILE 1
37756 cat >>confdefs.h <<\_ACEOF
37757 #define wxUSE_ENH_METAFILE 1
37763 if test "$wxUSE_IPC" = "yes"; then
37764 if test "$wxUSE_SOCKETS" != "yes"; then
37765 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37766 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37769 cat >>confdefs.h <<\_ACEOF
37770 #define wxUSE_IPC 1
37775 if test "$wxUSE_CLIPBOARD" = "yes"; then
37776 if test "$wxUSE_MGL" = 1; then
37777 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37778 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37782 if test "$wxUSE_CLIPBOARD" = "yes"; then
37783 cat >>confdefs.h <<\_ACEOF
37784 #define wxUSE_CLIPBOARD 1
37788 cat >>confdefs.h <<\_ACEOF
37789 #define wxUSE_DATAOBJ 1
37795 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37796 if test "$wxUSE_GTK" = 1; then
37797 if test "$WXGTK12" != 1; then
37798 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37799 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37800 wxUSE_DRAG_AND_DROP=no
37804 if test "$wxUSE_MOTIF" = 1; then
37805 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37806 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37807 wxUSE_DRAG_AND_DROP=no
37810 if test "$wxUSE_X11" = 1; then
37811 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37812 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37813 wxUSE_DRAG_AND_DROP=no
37816 if test "$wxUSE_MGL" = 1; then
37817 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37818 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37819 wxUSE_DRAG_AND_DROP=no
37822 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37823 cat >>confdefs.h <<\_ACEOF
37824 #define wxUSE_DRAG_AND_DROP 1
37831 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37835 if test "$wxUSE_SPLINES" = "yes" ; then
37836 cat >>confdefs.h <<\_ACEOF
37837 #define wxUSE_SPLINES 1
37844 if test "$wxUSE_CONTROLS" = "yes"; then
37848 if test "$wxUSE_ACCEL" = "yes"; then
37849 cat >>confdefs.h <<\_ACEOF
37850 #define wxUSE_ACCEL 1
37856 if test "$wxUSE_BUTTON" = "yes"; then
37857 cat >>confdefs.h <<\_ACEOF
37858 #define wxUSE_BUTTON 1
37864 if test "$wxUSE_BMPBUTTON" = "yes"; then
37865 cat >>confdefs.h <<\_ACEOF
37866 #define wxUSE_BMPBUTTON 1
37872 if test "$wxUSE_CALCTRL" = "yes"; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define wxUSE_CALENDARCTRL 1
37878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37881 if test "$wxUSE_CARET" = "yes"; then
37882 cat >>confdefs.h <<\_ACEOF
37883 #define wxUSE_CARET 1
37887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37890 if test "$wxUSE_COMBOBOX" = "yes"; then
37891 cat >>confdefs.h <<\_ACEOF
37892 #define wxUSE_COMBOBOX 1
37898 if test "$wxUSE_CHOICE" = "yes"; then
37899 cat >>confdefs.h <<\_ACEOF
37900 #define wxUSE_CHOICE 1
37906 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37907 cat >>confdefs.h <<\_ACEOF
37908 #define wxUSE_CHOICEBOOK 1
37914 if test "$wxUSE_CHECKBOX" = "yes"; then
37915 cat >>confdefs.h <<\_ACEOF
37916 #define wxUSE_CHECKBOX 1
37922 if test "$wxUSE_CHECKLST" = "yes"; then
37923 cat >>confdefs.h <<\_ACEOF
37924 #define wxUSE_CHECKLISTBOX 1
37928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37931 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37932 cat >>confdefs.h <<\_ACEOF
37933 #define wxUSE_DATEPICKCTRL 1
37939 if test "$wxUSE_DISPLAY" = "yes"; then
37940 cat >>confdefs.h <<\_ACEOF
37941 #define wxUSE_DISPLAY 1
37944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37947 if test "$wxUSE_GAUGE" = "yes"; then
37948 cat >>confdefs.h <<\_ACEOF
37949 #define wxUSE_GAUGE 1
37955 if test "$wxUSE_GRID" = "yes"; then
37956 cat >>confdefs.h <<\_ACEOF
37957 #define wxUSE_GRID 1
37961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37964 if test "$wxUSE_IMAGLIST" = "yes"; then
37965 cat >>confdefs.h <<\_ACEOF
37966 #define wxUSE_IMAGLIST 1
37971 if test "$wxUSE_LISTBOOK" = "yes"; then
37972 cat >>confdefs.h <<\_ACEOF
37973 #define wxUSE_LISTBOOK 1
37979 if test "$wxUSE_LISTBOX" = "yes"; then
37980 cat >>confdefs.h <<\_ACEOF
37981 #define wxUSE_LISTBOX 1
37987 if test "$wxUSE_LISTCTRL" = "yes"; then
37988 if test "$wxUSE_IMAGLIST" = "yes"; then
37989 cat >>confdefs.h <<\_ACEOF
37990 #define wxUSE_LISTCTRL 1
37994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37996 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37997 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38001 if test "$wxUSE_NOTEBOOK" = "yes"; then
38002 cat >>confdefs.h <<\_ACEOF
38003 #define wxUSE_NOTEBOOK 1
38007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
38011 if test "$wxUSE_RADIOBOX" = "yes"; then
38012 cat >>confdefs.h <<\_ACEOF
38013 #define wxUSE_RADIOBOX 1
38019 if test "$wxUSE_RADIOBTN" = "yes"; then
38020 cat >>confdefs.h <<\_ACEOF
38021 #define wxUSE_RADIOBTN 1
38027 if test "$wxUSE_SASH" = "yes"; then
38028 cat >>confdefs.h <<\_ACEOF
38029 #define wxUSE_SASH 1
38032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
38035 if test "$wxUSE_SCROLLBAR" = "yes"; then
38036 cat >>confdefs.h <<\_ACEOF
38037 #define wxUSE_SCROLLBAR 1
38041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
38044 if test "$wxUSE_SLIDER" = "yes"; then
38045 cat >>confdefs.h <<\_ACEOF
38046 #define wxUSE_SLIDER 1
38052 if test "$wxUSE_SPINBTN" = "yes"; then
38053 cat >>confdefs.h <<\_ACEOF
38054 #define wxUSE_SPINBTN 1
38060 if test "$wxUSE_SPINCTRL" = "yes"; then
38061 cat >>confdefs.h <<\_ACEOF
38062 #define wxUSE_SPINCTRL 1
38068 if test "$wxUSE_SPLITTER" = "yes"; then
38069 cat >>confdefs.h <<\_ACEOF
38070 #define wxUSE_SPLITTER 1
38073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
38076 if test "$wxUSE_STATBMP" = "yes"; then
38077 cat >>confdefs.h <<\_ACEOF
38078 #define wxUSE_STATBMP 1
38084 if test "$wxUSE_STATBOX" = "yes"; then
38085 cat >>confdefs.h <<\_ACEOF
38086 #define wxUSE_STATBOX 1
38092 if test "$wxUSE_STATTEXT" = "yes"; then
38093 cat >>confdefs.h <<\_ACEOF
38094 #define wxUSE_STATTEXT 1
38100 if test "$wxUSE_STATLINE" = "yes"; then
38101 cat >>confdefs.h <<\_ACEOF
38102 #define wxUSE_STATLINE 1
38108 if test "$wxUSE_STATUSBAR" = "yes"; then
38109 cat >>confdefs.h <<\_ACEOF
38110 #define wxUSE_NATIVE_STATUSBAR 1
38113 cat >>confdefs.h <<\_ACEOF
38114 #define wxUSE_STATUSBAR 1
38119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
38122 if test "$wxUSE_TABDIALOG" = "yes"; then
38123 cat >>confdefs.h <<\_ACEOF
38124 #define wxUSE_TAB_DIALOG 1
38129 if test "$wxUSE_TEXTCTRL" = "yes"; then
38130 cat >>confdefs.h <<\_ACEOF
38131 #define wxUSE_TEXTCTRL 1
38135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
38138 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38139 if test "$wxUSE_COCOA" = 1 ; then
38140 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38141 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38144 if test "$wxUSE_PM" = 1; then
38145 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38146 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38150 if test "$wxUSE_UNIVERSAL" = "yes"; then
38151 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38152 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38156 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38157 cat >>confdefs.h <<\_ACEOF
38158 #define wxUSE_TOGGLEBTN 1
38165 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38166 cat >>confdefs.h <<\_ACEOF
38167 #define wxUSE_TOOLBAR_SIMPLE 1
38170 wxUSE_TOOLBAR="yes"
38174 if test "$wxUSE_TOOLBAR" = "yes"; then
38175 cat >>confdefs.h <<\_ACEOF
38176 #define wxUSE_TOOLBAR 1
38181 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38182 wxUSE_TOOLBAR_NATIVE="yes"
38185 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38186 cat >>confdefs.h <<\_ACEOF
38187 #define wxUSE_TOOLBAR_NATIVE 1
38193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
38196 if test "$wxUSE_TOOLTIPS" = "yes"; then
38197 if test "$wxUSE_MOTIF" = 1; then
38198 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38199 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38201 if test "$wxUSE_UNIVERSAL" = "yes"; then
38202 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38203 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38205 cat >>confdefs.h <<\_ACEOF
38206 #define wxUSE_TOOLTIPS 1
38213 if test "$wxUSE_TREECTRL" = "yes"; then
38214 if test "$wxUSE_IMAGLIST" = "yes"; then
38215 cat >>confdefs.h <<\_ACEOF
38216 #define wxUSE_TREECTRL 1
38220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
38222 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38223 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38227 if test "$wxUSE_POPUPWIN" = "yes"; then
38228 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38229 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38230 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38232 if test "$wxUSE_PM" = 1; then
38233 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38234 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38236 cat >>confdefs.h <<\_ACEOF
38237 #define wxUSE_POPUPWIN 1
38246 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38247 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38248 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38249 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38251 cat >>confdefs.h <<\_ACEOF
38252 #define wxUSE_DIALUP_MANAGER 1
38255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
38259 if test "$wxUSE_TIPWINDOW" = "yes"; then
38260 if test "$wxUSE_PM" = 1; then
38261 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38262 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38264 cat >>confdefs.h <<\_ACEOF
38265 #define wxUSE_TIPWINDOW 1
38271 if test "$USES_CONTROLS" = 1; then
38272 cat >>confdefs.h <<\_ACEOF
38273 #define wxUSE_CONTROLS 1
38279 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38280 cat >>confdefs.h <<\_ACEOF
38281 #define wxUSE_ACCESSIBILITY 1
38284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
38287 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38288 cat >>confdefs.h <<\_ACEOF
38289 #define wxUSE_DRAGIMAGE 1
38292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
38295 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38296 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38297 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38298 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38300 cat >>confdefs.h <<\_ACEOF
38301 #define wxUSE_EXCEPTIONS 1
38304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
38309 if test "$wxUSE_HTML" = "yes"; then
38310 cat >>confdefs.h <<\_ACEOF
38311 #define wxUSE_HTML 1
38315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38316 if test "$wxUSE_MAC" = 1; then
38317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
38320 if test "$wxUSE_WEBKIT" = "yes"; then
38321 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38322 old_CPPFLAGS="$CPPFLAGS"
38323 CPPFLAGS="$CPPFLAGS -x objective-c++"
38324 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38325 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38326 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38327 echo $ECHO_N "(cached) $ECHO_C" >&6
38329 cat >conftest.$ac_ext <<_ACEOF
38332 cat confdefs.h >>conftest.$ac_ext
38333 cat >>conftest.$ac_ext <<_ACEOF
38334 /* end confdefs.h. */
38335 #include <Carbon/Carbon.h>
38337 #include <WebKit/HIWebView.h>
38339 rm -f conftest.$ac_objext
38340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38341 (eval $ac_compile) 2>conftest.er1
38343 grep -v '^ *+' conftest.er1 >conftest.err
38345 cat conftest.err >&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); } &&
38348 { ac_try='test -z "$ac_c_werror_flag"
38349 || test ! -s conftest.err'
38350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38351 (eval $ac_try) 2>&5
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); }; } &&
38355 { ac_try='test -s conftest.$ac_objext'
38356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38357 (eval $ac_try) 2>&5
38359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38360 (exit $ac_status); }; }; then
38361 ac_cv_header_WebKit_HIWebView_h=yes
38363 echo "$as_me: failed program was:" >&5
38364 sed 's/^/| /' conftest.$ac_ext >&5
38366 ac_cv_header_WebKit_HIWebView_h=no
38368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38370 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38371 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38372 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38374 cat >>confdefs.h <<\_ACEOF
38375 #define wxUSE_WEBKIT 1
38378 WEBKIT_LINK="-framework WebKit"
38382 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38383 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38389 CPPFLAGS="$old_CPPFLAGS"
38390 elif test "$wxUSE_COCOA" = 1; then
38391 cat >>confdefs.h <<\_ACEOF
38392 #define wxUSE_WEBKIT 1
38401 if test "$wxUSE_XRC" = "yes"; then
38402 if test "$wxUSE_XML" != "yes"; then
38403 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38404 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38407 cat >>confdefs.h <<\_ACEOF
38408 #define wxUSE_XRC 1
38412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
38416 if test "$wxUSE_MENUS" = "yes"; then
38417 cat >>confdefs.h <<\_ACEOF
38418 #define wxUSE_MENUS 1
38421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
38424 if test "$wxUSE_METAFILE" = "yes"; then
38425 cat >>confdefs.h <<\_ACEOF
38426 #define wxUSE_METAFILE 1
38431 if test "$wxUSE_MIMETYPE" = "yes"; then
38432 cat >>confdefs.h <<\_ACEOF
38433 #define wxUSE_MIMETYPE 1
38438 if test "$wxUSE_MINIFRAME" = "yes"; then
38439 cat >>confdefs.h <<\_ACEOF
38440 #define wxUSE_MINIFRAME 1
38443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
38446 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38447 cat >>confdefs.h <<\_ACEOF
38448 #define wxUSE_SYSTEM_OPTIONS 1
38451 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38452 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
38458 if test "$wxUSE_VALIDATORS" = "yes"; then
38459 cat >>confdefs.h <<\_ACEOF
38460 #define wxUSE_VALIDATORS 1
38463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
38466 if test "$wxUSE_PALETTE" = "yes" ; then
38467 cat >>confdefs.h <<\_ACEOF
38468 #define wxUSE_PALETTE 1
38473 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38474 LIBS=" -lunicows $LIBS"
38478 if test "$wxUSE_IMAGE" = "yes" ; then
38479 cat >>confdefs.h <<\_ACEOF
38480 #define wxUSE_IMAGE 1
38484 if test "$wxUSE_GIF" = "yes" ; then
38485 cat >>confdefs.h <<\_ACEOF
38486 #define wxUSE_GIF 1
38491 if test "$wxUSE_PCX" = "yes" ; then
38492 cat >>confdefs.h <<\_ACEOF
38493 #define wxUSE_PCX 1
38498 if test "$wxUSE_IFF" = "yes" ; then
38499 cat >>confdefs.h <<\_ACEOF
38500 #define wxUSE_IFF 1
38505 if test "$wxUSE_PNM" = "yes" ; then
38506 cat >>confdefs.h <<\_ACEOF
38507 #define wxUSE_PNM 1
38512 if test "$wxUSE_XPM" = "yes" ; then
38513 cat >>confdefs.h <<\_ACEOF
38514 #define wxUSE_XPM 1
38519 if test "$wxUSE_ICO_CUR" = "yes" ; then
38520 cat >>confdefs.h <<\_ACEOF
38521 #define wxUSE_ICO_CUR 1
38528 if test "$wxUSE_CHOICEDLG" = "yes"; then
38529 cat >>confdefs.h <<\_ACEOF
38530 #define wxUSE_CHOICEDLG 1
38535 if test "$wxUSE_COLOURDLG" = "yes"; then
38536 cat >>confdefs.h <<\_ACEOF
38537 #define wxUSE_COLOURDLG 1
38542 if test "$wxUSE_FILEDLG" = "yes"; then
38543 cat >>confdefs.h <<\_ACEOF
38544 #define wxUSE_FILEDLG 1
38549 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38550 cat >>confdefs.h <<\_ACEOF
38551 #define wxUSE_FINDREPLDLG 1
38556 if test "$wxUSE_FONTDLG" = "yes"; then
38557 cat >>confdefs.h <<\_ACEOF
38558 #define wxUSE_FONTDLG 1
38563 if test "$wxUSE_DIRDLG" = "yes"; then
38564 if test "$wxUSE_TREECTRL" != "yes"; then
38565 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38566 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38568 cat >>confdefs.h <<\_ACEOF
38569 #define wxUSE_DIRDLG 1
38575 if test "$wxUSE_MSGDLG" = "yes"; then
38576 cat >>confdefs.h <<\_ACEOF
38577 #define wxUSE_MSGDLG 1
38582 if test "$wxUSE_NUMBERDLG" = "yes"; then
38583 cat >>confdefs.h <<\_ACEOF
38584 #define wxUSE_NUMBERDLG 1
38589 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38590 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38591 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38592 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38594 cat >>confdefs.h <<\_ACEOF
38595 #define wxUSE_PROGRESSDLG 1
38601 if test "$wxUSE_SPLASH" = "yes"; then
38602 cat >>confdefs.h <<\_ACEOF
38603 #define wxUSE_SPLASH 1
38606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
38609 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38610 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38611 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38612 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38614 cat >>confdefs.h <<\_ACEOF
38615 #define wxUSE_STARTUP_TIPS 1
38621 if test "$wxUSE_TEXTDLG" = "yes"; then
38622 cat >>confdefs.h <<\_ACEOF
38623 #define wxUSE_TEXTDLG 1
38628 if test "$wxUSE_WIZARDDLG" = "yes"; then
38629 cat >>confdefs.h <<\_ACEOF
38630 #define wxUSE_WIZARDDLG 1
38633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
38637 if test "$wxUSE_MEDIACTRL" = "yes"; then
38638 if test "$wxUSE_MSW" = 1; then
38639 wxUSE_DIRECTSHOW="yes"
38641 for ac_header in dshow.h
38643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38644 echo "$as_me:$LINENO: checking for $ac_header" >&5
38645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38647 echo $ECHO_N "(cached) $ECHO_C" >&6
38649 cat >conftest.$ac_ext <<_ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h. */
38655 #include <windows.h>
38657 #include <$ac_header>
38659 rm -f conftest.$ac_objext
38660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38661 (eval $ac_compile) 2>conftest.er1
38663 grep -v '^ *+' conftest.er1 >conftest.err
38665 cat conftest.err >&5
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); } &&
38668 { ac_try='test -z "$ac_c_werror_flag"
38669 || test ! -s conftest.err'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; } &&
38675 { ac_try='test -s conftest.$ac_objext'
38676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38677 (eval $ac_try) 2>&5
38679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38680 (exit $ac_status); }; }; then
38681 eval "$as_ac_Header=yes"
38683 echo "$as_me: failed program was:" >&5
38684 sed 's/^/| /' conftest.$ac_ext >&5
38686 eval "$as_ac_Header=no"
38688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38693 cat >>confdefs.h <<_ACEOF
38694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38699 wxUSE_DIRECTSHOW="no"
38700 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
38701 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
38708 if test "$wxUSE_DIRECTSHOW" = "yes"; then
38709 cat >>confdefs.h <<\_ACEOF
38710 #define wxUSE_DIRECTSHOW 1
38713 LIBS="$LIBS -lstrmiids"
38717 if test "$wxUSE_GTK" = 1; then
38718 wxUSE_GSTREAMER="yes"
38723 if test -z "$PKG_CONFIG"; then
38724 # Extract the first word of "pkg-config", so it can be a program name with args.
38725 set dummy pkg-config; ac_word=$2
38726 echo "$as_me:$LINENO: checking for $ac_word" >&5
38727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38728 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38729 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 case $PKG_CONFIG in
38733 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
38736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38737 for as_dir in $PATH
38740 test -z "$as_dir" && as_dir=.
38741 for ac_exec_ext in '' $ac_executable_extensions; do
38742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38743 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38750 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
38754 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
38756 if test -n "$PKG_CONFIG"; then
38757 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38758 echo "${ECHO_T}$PKG_CONFIG" >&6
38760 echo "$as_me:$LINENO: result: no" >&5
38761 echo "${ECHO_T}no" >&6
38766 if test "$PKG_CONFIG" = "no" ; then
38767 echo "*** The pkg-config script could not be found. Make sure it is"
38768 echo "*** in your path, or set the PKG_CONFIG environment variable"
38769 echo "*** to the full path to pkg-config."
38770 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38772 PKG_CONFIG_MIN_VERSION=0.9.0
38773 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38774 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
38775 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
38777 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
38778 echo "$as_me:$LINENO: result: yes" >&5
38779 echo "${ECHO_T}yes" >&6
38782 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
38783 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
38784 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
38785 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
38786 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
38788 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
38789 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
38790 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
38791 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
38792 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
38794 GSTREAMER_CFLAGS=""
38796 ## If we have a custom action on failure, don't print errors, but
38797 ## do set a variable so people can do so.
38798 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
38805 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38806 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38810 if test $succeeded = yes; then
38812 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
38813 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
38817 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
38818 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
38819 wxUSE_GSTREAMER="no"
38827 if test "x$GST_INSPECT" == "x"; then
38828 # Extract the first word of "gst-inspect", so it can be a program name with args.
38829 set dummy gst-inspect; ac_word=$2
38830 echo "$as_me:$LINENO: checking for $ac_word" >&5
38831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38832 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
38833 echo $ECHO_N "(cached) $ECHO_C" >&6
38835 if test -n "$GST_INSPECT"; then
38836 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
38838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38839 for as_dir in $PATH
38842 test -z "$as_dir" && as_dir=.
38843 for ac_exec_ext in '' $ac_executable_extensions; do
38844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38845 ac_cv_prog_GST_INSPECT="gst-inspect"
38846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38854 GST_INSPECT=$ac_cv_prog_GST_INSPECT
38855 if test -n "$GST_INSPECT"; then
38856 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
38857 echo "${ECHO_T}$GST_INSPECT" >&6
38859 echo "$as_me:$LINENO: result: no" >&5
38860 echo "${ECHO_T}no" >&6
38865 if test "x$GST_INSPECT" != "x"; then
38866 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
38867 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
38868 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
38869 echo "$as_me:$LINENO: result: found." >&5
38870 echo "${ECHO_T}found." >&6
38873 echo "$as_me:$LINENO: result: not found." >&5
38874 echo "${ECHO_T}not found." >&6
38876 wxUSE_GSTREAMER="no"
38877 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
38878 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
38884 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
38885 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
38886 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
38887 echo $ECHO_N "(cached) $ECHO_C" >&6
38889 cat >conftest.$ac_ext <<_ACEOF
38892 cat confdefs.h >>conftest.$ac_ext
38893 cat >>conftest.$ac_ext <<_ACEOF
38894 /* end confdefs.h. */
38895 #include <gst/gst.h>
38897 #include <gst/xoverlay/xoverlay.h>
38899 rm -f conftest.$ac_objext
38900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38901 (eval $ac_compile) 2>conftest.er1
38903 grep -v '^ *+' conftest.er1 >conftest.err
38905 cat conftest.err >&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); } &&
38908 { ac_try='test -z "$ac_c_werror_flag"
38909 || test ! -s conftest.err'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; } &&
38915 { ac_try='test -s conftest.$ac_objext'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; }; then
38921 ac_cv_header_gst_xoverlay_xoverlay_h=yes
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.$ac_ext >&5
38926 ac_cv_header_gst_xoverlay_xoverlay_h=no
38928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38930 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
38931 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
38932 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
38936 wxUSE_GSTREAMER="no"
38937 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
38938 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
38944 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
38945 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
38948 for ac_dir in $SEARCH_LIB /usr/lib;
38950 for ac_extension in a so sl dylib; do
38951 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
38952 ac_find_libraries=$ac_dir
38959 if test "$ac_find_libraries" = "" ; then
38960 echo "$as_me:$LINENO: result: no" >&5
38961 echo "${ECHO_T}no" >&6
38962 wxUSE_GSTREAMER="no"
38964 echo "$as_me:$LINENO: result: yes" >&5
38965 echo "${ECHO_T}yes" >&6
38968 if test "$wxUSE_GSTREAMER" = "yes"; then
38969 cat >>confdefs.h <<\_ACEOF
38970 #define wxUSE_GSTREAMER 1
38973 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
38974 echo "${ECHO_T}GStreamer detection successful" >&6
38977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
38978 cat >>confdefs.h <<\_ACEOF
38979 #define wxUSE_MEDIACTRL 1
38985 if test "$cross_compiling" = "yes"; then
38988 OSINFO=`uname -s -r -m`
38989 OSINFO="\"$OSINFO\""
38992 cat >>confdefs.h <<_ACEOF
38993 #define WXWIN_OS_DESCRIPTION $OSINFO
38998 if test "x$prefix" != "xNONE"; then
39001 wxPREFIX=$ac_default_prefix
39004 cat >>confdefs.h <<_ACEOF
39005 #define wxINSTALL_PREFIX "$wxPREFIX"
39011 CORE_BASE_LIBS="net base"
39012 CORE_GUI_LIBS="adv core"
39014 if test "$wxUSE_XML" = "yes" ; then
39015 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
39017 if test "$wxUSE_ODBC" != "no" ; then
39018 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
39019 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
39021 if test "$wxUSE_HTML" = "yes" ; then
39022 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
39024 if test "$wxUSE_XRC" = "yes" ; then
39025 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
39028 if test "$wxUSE_GUI" != "yes"; then
39039 if test "$wxUSE_MAC" = 1 ; then
39040 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39041 if test "$USE_DARWIN" = 1; then
39042 LDFLAGS="$LDFLAGS -framework QuickTime"
39044 LDFLAGS="$LDFLAGS -lQuickTimeLib"
39047 if test "$USE_DARWIN" = 1; then
39048 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39050 LDFLAGS="$LDFLAGS -lCarbonLib"
39053 if test "$wxUSE_COCOA" = 1 ; then
39054 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
39055 if test "$wxUSE_MEDIACTRL" = "yes"; then
39056 LDFLAGS="$LDFLAGS -framework QuickTime"
39061 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39069 echo "$as_me:$LINENO: checking for $ac_func" >&5
39070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39071 if eval "test \"\${$as_ac_var+set}\" = set"; then
39072 echo $ECHO_N "(cached) $ECHO_C" >&6
39074 cat >conftest.$ac_ext <<_ACEOF
39077 cat confdefs.h >>conftest.$ac_ext
39078 cat >>conftest.$ac_ext <<_ACEOF
39079 /* end confdefs.h. */
39080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39082 #define $ac_func innocuous_$ac_func
39084 /* System header to define __stub macros and hopefully few prototypes,
39085 which can conflict with char $ac_func (); below.
39086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39087 <limits.h> exists even on freestanding compilers. */
39090 # include <limits.h>
39092 # include <assert.h>
39097 /* Override any gcc2 internal prototype to avoid an error. */
39102 /* We use char because int might match the return type of a gcc2
39103 builtin and then its argument prototype would still apply. */
39105 /* The GNU C library defines this for functions which it implements
39106 to always fail with ENOSYS. Some functions are actually named
39107 something starting with __ and the normal name is an alias. */
39108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39111 char (*f) () = $ac_func;
39120 return f != $ac_func;
39125 rm -f conftest.$ac_objext conftest$ac_exeext
39126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39127 (eval $ac_link) 2>conftest.er1
39129 grep -v '^ *+' conftest.er1 >conftest.err
39131 cat conftest.err >&5
39132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39133 (exit $ac_status); } &&
39134 { ac_try='test -z "$ac_c_werror_flag"
39135 || test ! -s conftest.err'
39136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39137 (eval $ac_try) 2>&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); }; } &&
39141 { ac_try='test -s conftest$ac_exeext'
39142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39143 (eval $ac_try) 2>&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); }; }; then
39147 eval "$as_ac_var=yes"
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39152 eval "$as_ac_var=no"
39154 rm -f conftest.err conftest.$ac_objext \
39155 conftest$ac_exeext conftest.$ac_ext
39157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39159 if test `eval echo '${'$as_ac_var'}'` = yes; then
39160 cat >>confdefs.h <<_ACEOF
39161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39168 for ac_func in floor
39170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39171 echo "$as_me:$LINENO: checking for $ac_func" >&5
39172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39173 if eval "test \"\${$as_ac_var+set}\" = set"; then
39174 echo $ECHO_N "(cached) $ECHO_C" >&6
39176 cat >conftest.$ac_ext <<_ACEOF
39179 cat confdefs.h >>conftest.$ac_ext
39180 cat >>conftest.$ac_ext <<_ACEOF
39181 /* end confdefs.h. */
39182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39184 #define $ac_func innocuous_$ac_func
39186 /* System header to define __stub macros and hopefully few prototypes,
39187 which can conflict with char $ac_func (); below.
39188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39189 <limits.h> exists even on freestanding compilers. */
39192 # include <limits.h>
39194 # include <assert.h>
39199 /* Override any gcc2 internal prototype to avoid an error. */
39204 /* We use char because int might match the return type of a gcc2
39205 builtin and then its argument prototype would still apply. */
39207 /* The GNU C library defines this for functions which it implements
39208 to always fail with ENOSYS. Some functions are actually named
39209 something starting with __ and the normal name is an alias. */
39210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39213 char (*f) () = $ac_func;
39222 return f != $ac_func;
39227 rm -f conftest.$ac_objext conftest$ac_exeext
39228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39229 (eval $ac_link) 2>conftest.er1
39231 grep -v '^ *+' conftest.er1 >conftest.err
39233 cat conftest.err >&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } &&
39236 { ac_try='test -z "$ac_c_werror_flag"
39237 || test ! -s conftest.err'
39238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39239 (eval $ac_try) 2>&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); }; } &&
39243 { ac_try='test -s conftest$ac_exeext'
39244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39245 (eval $ac_try) 2>&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); }; }; then
39249 eval "$as_ac_var=yes"
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.$ac_ext >&5
39254 eval "$as_ac_var=no"
39256 rm -f conftest.err conftest.$ac_objext \
39257 conftest$ac_exeext conftest.$ac_ext
39259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39261 if test `eval echo '${'$as_ac_var'}'` = yes; then
39262 cat >>confdefs.h <<_ACEOF
39263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39269 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
39270 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
39271 if test "$have_cos" = 1 -a "$have_floor" = 1; then
39272 echo "$as_me:$LINENO: result: yes" >&5
39273 echo "${ECHO_T}yes" >&6
39275 echo "$as_me:$LINENO: result: no" >&5
39276 echo "${ECHO_T}no" >&6
39278 # use different functions to avoid configure caching
39284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39285 echo "$as_me:$LINENO: checking for $ac_func" >&5
39286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39287 if eval "test \"\${$as_ac_var+set}\" = set"; then
39288 echo $ECHO_N "(cached) $ECHO_C" >&6
39290 cat >conftest.$ac_ext <<_ACEOF
39293 cat confdefs.h >>conftest.$ac_ext
39294 cat >>conftest.$ac_ext <<_ACEOF
39295 /* end confdefs.h. */
39296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39298 #define $ac_func innocuous_$ac_func
39300 /* System header to define __stub macros and hopefully few prototypes,
39301 which can conflict with char $ac_func (); below.
39302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39303 <limits.h> exists even on freestanding compilers. */
39306 # include <limits.h>
39308 # include <assert.h>
39313 /* Override any gcc2 internal prototype to avoid an error. */
39318 /* We use char because int might match the return type of a gcc2
39319 builtin and then its argument prototype would still apply. */
39321 /* The GNU C library defines this for functions which it implements
39322 to always fail with ENOSYS. Some functions are actually named
39323 something starting with __ and the normal name is an alias. */
39324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39327 char (*f) () = $ac_func;
39336 return f != $ac_func;
39341 rm -f conftest.$ac_objext conftest$ac_exeext
39342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39343 (eval $ac_link) 2>conftest.er1
39345 grep -v '^ *+' conftest.er1 >conftest.err
39347 cat conftest.err >&5
39348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39349 (exit $ac_status); } &&
39350 { ac_try='test -z "$ac_c_werror_flag"
39351 || test ! -s conftest.err'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; } &&
39357 { ac_try='test -s conftest$ac_exeext'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; }; then
39363 eval "$as_ac_var=yes"
39365 echo "$as_me: failed program was:" >&5
39366 sed 's/^/| /' conftest.$ac_ext >&5
39368 eval "$as_ac_var=no"
39370 rm -f conftest.err conftest.$ac_objext \
39371 conftest$ac_exeext conftest.$ac_ext
39373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39375 if test `eval echo '${'$as_ac_var'}'` = yes; then
39376 cat >>confdefs.h <<_ACEOF
39377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39384 for ac_func in ceil
39386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39387 echo "$as_me:$LINENO: checking for $ac_func" >&5
39388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39389 if eval "test \"\${$as_ac_var+set}\" = set"; then
39390 echo $ECHO_N "(cached) $ECHO_C" >&6
39392 cat >conftest.$ac_ext <<_ACEOF
39395 cat confdefs.h >>conftest.$ac_ext
39396 cat >>conftest.$ac_ext <<_ACEOF
39397 /* end confdefs.h. */
39398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39400 #define $ac_func innocuous_$ac_func
39402 /* System header to define __stub macros and hopefully few prototypes,
39403 which can conflict with char $ac_func (); below.
39404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39405 <limits.h> exists even on freestanding compilers. */
39408 # include <limits.h>
39410 # include <assert.h>
39415 /* Override any gcc2 internal prototype to avoid an error. */
39420 /* We use char because int might match the return type of a gcc2
39421 builtin and then its argument prototype would still apply. */
39423 /* The GNU C library defines this for functions which it implements
39424 to always fail with ENOSYS. Some functions are actually named
39425 something starting with __ and the normal name is an alias. */
39426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39429 char (*f) () = $ac_func;
39438 return f != $ac_func;
39443 rm -f conftest.$ac_objext conftest$ac_exeext
39444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39445 (eval $ac_link) 2>conftest.er1
39447 grep -v '^ *+' conftest.er1 >conftest.err
39449 cat conftest.err >&5
39450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39451 (exit $ac_status); } &&
39452 { ac_try='test -z "$ac_c_werror_flag"
39453 || test ! -s conftest.err'
39454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39455 (eval $ac_try) 2>&5
39457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458 (exit $ac_status); }; } &&
39459 { ac_try='test -s conftest$ac_exeext'
39460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39461 (eval $ac_try) 2>&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); }; }; then
39465 eval "$as_ac_var=yes"
39467 echo "$as_me: failed program was:" >&5
39468 sed 's/^/| /' conftest.$ac_ext >&5
39470 eval "$as_ac_var=no"
39472 rm -f conftest.err conftest.$ac_objext \
39473 conftest$ac_exeext conftest.$ac_ext
39475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39477 if test `eval echo '${'$as_ac_var'}'` = yes; then
39478 cat >>confdefs.h <<_ACEOF
39479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39485 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
39486 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
39487 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
39488 echo "$as_me:$LINENO: result: yes" >&5
39489 echo "${ECHO_T}yes" >&6
39491 echo "$as_me:$LINENO: result: no" >&5
39492 echo "${ECHO_T}no" >&6
39493 # not sure we should warn the user, crash, etc.
39497 if test "$wxUSE_GUI" = "yes"; then
39500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
39501 drawing dynamic erase event exec font image \
39502 minimal propsize rotate shaped widgets render"
39504 if test "$wxUSE_MONOLITHIC" != "yes"; then
39505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
39508 SAMPLES_SUBDIRS="console"
39512 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
39513 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
39515 if test "$GXX" = yes ; then
39517 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
39520 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
39522 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
39523 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
39524 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
39526 if test "x$MWCC" = "xyes"; then
39528 CC="$CC -cwd source -I-"
39529 CXX="$CXX -cwd source -I-"
39534 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
39535 EXTRALIBS_XML="$EXPAT_LINK"
39536 EXTRALIBS_HTML="$MSPACK_LINK"
39537 EXTRALIBS_ODBC="$ODBC_LINK"
39538 if test "$wxUSE_GUI" = "yes"; then
39539 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
39541 if test "$wxUSE_OPENGL" = "yes"; then
39542 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
39545 LDFLAGS="$LDFLAGS $PROFILE"
39547 if test "$wxUSE_GTK" = 1; then
39550 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
39553 WXCONFIG_EXTRALIBS="$LIBS"
39555 if test "$wxUSE_REGEX" = "builtin" ; then
39556 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
39558 if test "$wxUSE_EXPAT" = "builtin" ; then
39559 wxconfig_3rdparty="$wxconfig_3rdparty expat"
39561 if test "$wxUSE_ODBC" = "builtin" ; then
39562 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39564 if test "$wxUSE_LIBTIFF" = "builtin" ; then
39565 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
39567 if test "$wxUSE_LIBJPEG" = "builtin" ; then
39568 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
39570 if test "$wxUSE_LIBPNG" = "builtin" ; then
39571 wxconfig_3rdparty="$wxconfig_3rdparty png"
39573 if test "$wxUSE_ZLIB" = "builtin" ; then
39574 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
39576 if test "$wxUSE_ODBC" = "builtin" ; then
39577 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39580 for i in $wxconfig_3rdparty ; do
39581 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
39585 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
39599 if test $wxUSE_MONOLITHIC = "yes" ; then
39605 if test $wxUSE_PLUGINS = "yes" ; then
39611 if test $wxUSE_ODBC != "no" ; then
39617 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
39645 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
39656 TOOLKIT_USER="GTK+"
39657 if test "$WXGTK20" = 1; then
39658 TOOLKIT_USER="$TOOLKIT_USER 2"
39663 TOOLKIT_USER=$TOOLKIT_LOWERCASE
39670 if test "x$BAKEFILE_HOST" = "x"; then
39671 BAKEFILE_HOST="${host}"
39674 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
39676 if test -n "$ac_tool_prefix"; then
39677 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
39678 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
39679 echo "$as_me:$LINENO: checking for $ac_word" >&5
39680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39681 if test "${ac_cv_prog_RANLIB+set}" = set; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 if test -n "$RANLIB"; then
39685 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
39687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39688 for as_dir in $PATH
39691 test -z "$as_dir" && as_dir=.
39692 for ac_exec_ext in '' $ac_executable_extensions; do
39693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39694 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
39695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39703 RANLIB=$ac_cv_prog_RANLIB
39704 if test -n "$RANLIB"; then
39705 echo "$as_me:$LINENO: result: $RANLIB" >&5
39706 echo "${ECHO_T}$RANLIB" >&6
39708 echo "$as_me:$LINENO: result: no" >&5
39709 echo "${ECHO_T}no" >&6
39713 if test -z "$ac_cv_prog_RANLIB"; then
39714 ac_ct_RANLIB=$RANLIB
39715 # Extract the first word of "ranlib", so it can be a program name with args.
39716 set dummy ranlib; ac_word=$2
39717 echo "$as_me:$LINENO: checking for $ac_word" >&5
39718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39719 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
39720 echo $ECHO_N "(cached) $ECHO_C" >&6
39722 if test -n "$ac_ct_RANLIB"; then
39723 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
39725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39726 for as_dir in $PATH
39729 test -z "$as_dir" && as_dir=.
39730 for ac_exec_ext in '' $ac_executable_extensions; do
39731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39732 ac_cv_prog_ac_ct_RANLIB="ranlib"
39733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39739 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
39742 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
39743 if test -n "$ac_ct_RANLIB"; then
39744 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39745 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39747 echo "$as_me:$LINENO: result: no" >&5
39748 echo "${ECHO_T}no" >&6
39751 RANLIB=$ac_ct_RANLIB
39753 RANLIB="$ac_cv_prog_RANLIB"
39756 # Find a good install program. We prefer a C program (faster),
39757 # so one script is as good as another. But avoid the broken or
39758 # incompatible versions:
39759 # SysV /etc/install, /usr/sbin/install
39760 # SunOS /usr/etc/install
39761 # IRIX /sbin/install
39763 # AmigaOS /C/install, which installs bootblocks on floppy discs
39764 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39765 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39766 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39767 # OS/2's system install, which has a completely different semantic
39768 # ./install, which can be erroneously created by make from ./install.sh.
39769 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39770 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39771 if test -z "$INSTALL"; then
39772 if test "${ac_cv_path_install+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39776 for as_dir in $PATH
39779 test -z "$as_dir" && as_dir=.
39780 # Account for people who put trailing slashes in PATH elements.
39782 ./ | .// | /cC/* | \
39783 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
39784 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
39787 # OSF1 and SCO ODT 3.0 have their own names for install.
39788 # Don't use installbsd from OSF since it installs stuff as root
39790 for ac_prog in ginstall scoinst install; do
39791 for ac_exec_ext in '' $ac_executable_extensions; do
39792 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39793 if test $ac_prog = install &&
39794 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39795 # AIX install. It has an incompatible calling convention.
39797 elif test $ac_prog = install &&
39798 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39799 # program-specific install script used by HP pwplus--don't use.
39802 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
39814 if test "${ac_cv_path_install+set}" = set; then
39815 INSTALL=$ac_cv_path_install
39817 # As a last resort, use the slow shell script. We don't cache a
39818 # path for INSTALL within a source directory, because that will
39819 # break other packages using the cache if that directory is
39820 # removed, or if the path is relative.
39821 INSTALL=$ac_install_sh
39824 echo "$as_me:$LINENO: result: $INSTALL" >&5
39825 echo "${ECHO_T}$INSTALL" >&6
39827 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39828 # It thinks the first close brace ends the variable substitution.
39829 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
39831 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
39833 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
39835 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39836 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39838 if test "$LN_S" = "ln -s"; then
39839 echo "$as_me:$LINENO: result: yes" >&5
39840 echo "${ECHO_T}yes" >&6
39842 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39843 echo "${ECHO_T}no, using $LN_S" >&6
39847 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39848 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39849 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39850 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39851 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 cat >conftest.make <<\_ACEOF
39855 @echo 'ac_maketemp="$(MAKE)"'
39857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39858 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39859 if test -n "$ac_maketemp"; then
39860 eval ac_cv_prog_make_${ac_make}_set=yes
39862 eval ac_cv_prog_make_${ac_make}_set=no
39864 rm -f conftest.make
39866 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39867 echo "$as_me:$LINENO: result: yes" >&5
39868 echo "${ECHO_T}yes" >&6
39871 echo "$as_me:$LINENO: result: no" >&5
39872 echo "${ECHO_T}no" >&6
39873 SET_MAKE="MAKE=${MAKE-make}"
39878 if test -n "$ac_tool_prefix"; then
39879 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39880 set dummy ${ac_tool_prefix}ar; ac_word=$2
39881 echo "$as_me:$LINENO: checking for $ac_word" >&5
39882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39883 if test "${ac_cv_prog_AR+set}" = set; then
39884 echo $ECHO_N "(cached) $ECHO_C" >&6
39886 if test -n "$AR"; then
39887 ac_cv_prog_AR="$AR" # Let the user override the test.
39889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39890 for as_dir in $PATH
39893 test -z "$as_dir" && as_dir=.
39894 for ac_exec_ext in '' $ac_executable_extensions; do
39895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39896 ac_cv_prog_AR="${ac_tool_prefix}ar"
39897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39906 if test -n "$AR"; then
39907 echo "$as_me:$LINENO: result: $AR" >&5
39908 echo "${ECHO_T}$AR" >&6
39910 echo "$as_me:$LINENO: result: no" >&5
39911 echo "${ECHO_T}no" >&6
39915 if test -z "$ac_cv_prog_AR"; then
39917 # Extract the first word of "ar", so it can be a program name with args.
39918 set dummy ar; ac_word=$2
39919 echo "$as_me:$LINENO: checking for $ac_word" >&5
39920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39921 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 if test -n "$ac_ct_AR"; then
39925 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
39927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39928 for as_dir in $PATH
39931 test -z "$as_dir" && as_dir=.
39932 for ac_exec_ext in '' $ac_executable_extensions; do
39933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39934 ac_cv_prog_ac_ct_AR="ar"
39935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39941 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
39944 ac_ct_AR=$ac_cv_prog_ac_ct_AR
39945 if test -n "$ac_ct_AR"; then
39946 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39947 echo "${ECHO_T}$ac_ct_AR" >&6
39949 echo "$as_me:$LINENO: result: no" >&5
39950 echo "${ECHO_T}no" >&6
39955 AR="$ac_cv_prog_AR"
39958 if test -n "$ac_tool_prefix"; then
39959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39960 set dummy ${ac_tool_prefix}strip; ac_word=$2
39961 echo "$as_me:$LINENO: checking for $ac_word" >&5
39962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39963 if test "${ac_cv_prog_STRIP+set}" = set; then
39964 echo $ECHO_N "(cached) $ECHO_C" >&6
39966 if test -n "$STRIP"; then
39967 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
39969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39970 for as_dir in $PATH
39973 test -z "$as_dir" && as_dir=.
39974 for ac_exec_ext in '' $ac_executable_extensions; do
39975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39976 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
39977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39985 STRIP=$ac_cv_prog_STRIP
39986 if test -n "$STRIP"; then
39987 echo "$as_me:$LINENO: result: $STRIP" >&5
39988 echo "${ECHO_T}$STRIP" >&6
39990 echo "$as_me:$LINENO: result: no" >&5
39991 echo "${ECHO_T}no" >&6
39995 if test -z "$ac_cv_prog_STRIP"; then
39997 # Extract the first word of "strip", so it can be a program name with args.
39998 set dummy strip; ac_word=$2
39999 echo "$as_me:$LINENO: checking for $ac_word" >&5
40000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40001 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40004 if test -n "$ac_ct_STRIP"; then
40005 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
40007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40008 for as_dir in $PATH
40011 test -z "$as_dir" && as_dir=.
40012 for ac_exec_ext in '' $ac_executable_extensions; do
40013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40014 ac_cv_prog_ac_ct_STRIP="strip"
40015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40021 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
40024 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
40025 if test -n "$ac_ct_STRIP"; then
40026 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40027 echo "${ECHO_T}$ac_ct_STRIP" >&6
40029 echo "$as_me:$LINENO: result: no" >&5
40030 echo "${ECHO_T}no" >&6
40035 STRIP="$ac_cv_prog_STRIP"
40038 if test -n "$ac_tool_prefix"; then
40039 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40040 set dummy ${ac_tool_prefix}nm; ac_word=$2
40041 echo "$as_me:$LINENO: checking for $ac_word" >&5
40042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40043 if test "${ac_cv_prog_NM+set}" = set; then
40044 echo $ECHO_N "(cached) $ECHO_C" >&6
40046 if test -n "$NM"; then
40047 ac_cv_prog_NM="$NM" # Let the user override the test.
40049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40050 for as_dir in $PATH
40053 test -z "$as_dir" && as_dir=.
40054 for ac_exec_ext in '' $ac_executable_extensions; do
40055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40056 ac_cv_prog_NM="${ac_tool_prefix}nm"
40057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40066 if test -n "$NM"; then
40067 echo "$as_me:$LINENO: result: $NM" >&5
40068 echo "${ECHO_T}$NM" >&6
40070 echo "$as_me:$LINENO: result: no" >&5
40071 echo "${ECHO_T}no" >&6
40075 if test -z "$ac_cv_prog_NM"; then
40077 # Extract the first word of "nm", so it can be a program name with args.
40078 set dummy nm; ac_word=$2
40079 echo "$as_me:$LINENO: checking for $ac_word" >&5
40080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40081 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40082 echo $ECHO_N "(cached) $ECHO_C" >&6
40084 if test -n "$ac_ct_NM"; then
40085 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
40087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40088 for as_dir in $PATH
40091 test -z "$as_dir" && as_dir=.
40092 for ac_exec_ext in '' $ac_executable_extensions; do
40093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40094 ac_cv_prog_ac_ct_NM="nm"
40095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40101 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
40104 ac_ct_NM=$ac_cv_prog_ac_ct_NM
40105 if test -n "$ac_ct_NM"; then
40106 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40107 echo "${ECHO_T}$ac_ct_NM" >&6
40109 echo "$as_me:$LINENO: result: no" >&5
40110 echo "${ECHO_T}no" >&6
40115 NM="$ac_cv_prog_NM"
40119 case ${BAKEFILE_HOST} in
40121 INSTALL_DIR="mkdir -p"
40123 *) INSTALL_DIR="$INSTALL -d"
40129 case ${BAKEFILE_HOST} in
40130 *-*-cygwin* | *-*-mingw32* )
40131 LDFLAGS_GUI="-mwindows"
40137 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40138 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40139 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40140 echo $ECHO_N "(cached) $ECHO_C" >&6
40143 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
40144 egrep -s GNU > /dev/null); then
40145 bakefile_cv_prog_makeisgnu="yes"
40147 bakefile_cv_prog_makeisgnu="no"
40151 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
40152 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
40154 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
40171 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
40172 case "${BAKEFILE_HOST}" in
40173 *-*-cygwin* | *-*-mingw32* )
40179 *-pc-os2_emx | *-pc-os2-emx )
40182 powerpc-*-darwin* )
40189 powerpc-apple-macos* )
40198 case "$BAKEFILE_FORCE_PLATFORM" in
40219 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
40220 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
40221 { (exit 1); exit 1; }; }
40236 # Check whether --enable-omf or --disable-omf was given.
40237 if test "${enable_omf+set}" = set; then
40238 enableval="$enable_omf"
40239 bk_os2_use_omf="$enableval"
40242 case "${BAKEFILE_HOST}" in
40244 CFLAGS="$CFLAGS -fno-common"
40245 CXXFLAGS="$CXXFLAGS -fno-common"
40248 *-pc-os2_emx | *-pc-os2-emx )
40249 if test "x$bk_os2_use_omf" = "xyes" ; then
40252 LDFLAGS="-Zomf $LDFLAGS"
40253 CFLAGS="-Zomf $CFLAGS"
40254 CXXFLAGS="-Zomf $CXXFLAGS"
40262 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
40268 SO_SUFFIX_MODULE="so"
40273 DLLPREFIX_MODULE=""
40276 case "${BAKEFILE_HOST}" in
40279 SO_SUFFIX_MODULE="sl"
40283 SO_SUFFIX_MODULE="a"
40285 *-*-cygwin* | *-*-mingw32* )
40287 SO_SUFFIX_MODULE="dll"
40288 DLLIMP_SUFFIX="dll.a"
40296 *-pc-os2_emx | *-pc-os2-emx )
40298 SO_SUFFIX_MODULE="dll"
40299 DLLIMP_SUFFIX=$OS2_LIBEXT
40303 LIBEXT=".$OS2_LIBEXT"
40305 powerpc-*-darwin* )
40307 SO_SUFFIX_MODULE="bundle"
40311 if test "x$DLLIMP_SUFFIX" = "x" ; then
40312 DLLIMP_SUFFIX="$SO_SUFFIX"
40326 if test "x$GCC" = "xyes"; then
40330 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
40331 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
40333 case "${BAKEFILE_HOST}" in
40335 if test "x$GCC" != "xyes"; then
40336 LDFLAGS="$LDFLAGS -L/usr/lib"
40338 SHARED_LD_CC="${CC} -b -o"
40339 SHARED_LD_CXX="${CXX} -b -o"
40345 if test "x$GCC" != "xyes"; then
40346 echo "$as_me:$LINENO: checking for Intel compiler" >&5
40347 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
40348 if test "${bakefile_cv_prog_icc+set}" = set; then
40349 echo $ECHO_N "(cached) $ECHO_C" >&6
40352 cat >conftest.$ac_ext <<_ACEOF
40355 cat confdefs.h >>conftest.$ac_ext
40356 cat >>conftest.$ac_ext <<_ACEOF
40357 /* end confdefs.h. */
40363 #ifndef __INTEL_COMPILER
40371 rm -f conftest.$ac_objext
40372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40373 (eval $ac_compile) 2>conftest.er1
40375 grep -v '^ *+' conftest.er1 >conftest.err
40377 cat conftest.err >&5
40378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40379 (exit $ac_status); } &&
40380 { ac_try='test -z "$ac_c_werror_flag"
40381 || test ! -s conftest.err'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; } &&
40387 { ac_try='test -s conftest.$ac_objext'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; }; then
40393 bakefile_cv_prog_icc=yes
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.$ac_ext >&5
40398 bakefile_cv_prog_icc=no
40401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40404 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
40405 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
40406 if test "$bakefile_cv_prog_icc" = "yes"; then
40413 if test "x$GCC" != xyes ; then
40414 SHARED_LD_CC="${CC} -G -o"
40415 SHARED_LD_CXX="${CXX} -G -o"
40422 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
40423 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
40424 if test "${wx_cv_gcc31+set}" = set; then
40425 echo $ECHO_N "(cached) $ECHO_C" >&6
40428 cat >conftest.$ac_ext <<_ACEOF
40431 cat confdefs.h >>conftest.$ac_ext
40432 cat >>conftest.$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40439 #if (__GNUC__ < 3) || \
40440 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
40448 rm -f conftest.$ac_objext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40450 (eval $ac_compile) 2>conftest.er1
40452 grep -v '^ *+' conftest.er1 >conftest.err
40454 cat conftest.err >&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } &&
40457 { ac_try='test -z "$ac_c_werror_flag"
40458 || test ! -s conftest.err'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; } &&
40464 { ac_try='test -s conftest.$ac_objext'
40465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40466 (eval $ac_try) 2>&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); }; }; then
40474 echo "$as_me: failed program was:" >&5
40475 sed 's/^/| /' conftest.$ac_ext >&5
40482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40485 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
40486 echo "${ECHO_T}$wx_cv_gcc31" >&6
40487 if test "$wx_cv_gcc31" = "no"; then
40490 cat <<EOF >shared-ld-sh
40492 #-----------------------------------------------------------------------------
40493 #-- Name: distrib/mac/shared-ld-sh
40494 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
40495 #-- Author: Gilles Depeyrot
40496 #-- Copyright: (c) 2002 Gilles Depeyrot
40497 #-- Licence: any use permitted
40498 #-----------------------------------------------------------------------------
40503 linking_flag="-dynamiclib"
40505 while test ${D}# -gt 0; do
40512 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
40513 # collect these options and values
40514 args="${D}{args} ${D}1 ${D}2"
40518 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
40519 # collect these options
40520 args="${D}{args} ${D}1"
40523 -dynamiclib|-bundle)
40524 linking_flag="${D}1"
40528 echo "shared-ld: unhandled option '${D}1'"
40532 *.o | *.a | *.dylib)
40533 # collect object files
40534 objects="${D}{objects} ${D}1"
40538 echo "shared-ld: unhandled argument '${D}1'"
40547 # Link one module containing all the others
40549 if test ${D}{verbose} = 1; then
40550 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
40552 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
40554 if test ${D}{status} != 0; then
40559 # Link the shared library from the single module created
40561 if test ${D}{verbose} = 1; then
40562 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
40564 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
40566 if test ${D}{status} != 0; then
40571 # Remove intermediate module
40573 rm -f master.${D}${D}.o
40578 chmod +x shared-ld-sh
40580 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
40581 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
40582 SHARED_LD_CXX="$SHARED_LD_CC"
40583 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
40585 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
40586 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
40587 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
40588 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
40591 PIC_FLAG="-dynamic -fPIC"
40595 if test "x$GCC" != "xyes"; then
40596 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
40597 set dummy makeC++SharedLib; ac_word=$2
40598 echo "$as_me:$LINENO: checking for $ac_word" >&5
40599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40600 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40603 if test -n "$AIX_CXX_LD"; then
40604 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
40606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40607 for as_dir in $PATH
40610 test -z "$as_dir" && as_dir=.
40611 for ac_exec_ext in '' $ac_executable_extensions; do
40612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40613 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
40614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40620 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
40623 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
40624 if test -n "$AIX_CXX_LD"; then
40625 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
40626 echo "${ECHO_T}$AIX_CXX_LD" >&6
40628 echo "$as_me:$LINENO: result: no" >&5
40629 echo "${ECHO_T}no" >&6
40632 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
40633 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
40638 SHARED_LD_CC="${LD} -nostart -o"
40639 SHARED_LD_CXX="${LD} -nostart -o"
40643 if test "x$GCC" != "xyes"; then
40648 *-*-cygwin* | *-*-mingw32* )
40650 SHARED_LD_CC="\$(CC) -shared -o"
40651 SHARED_LD_CXX="\$(CXX) -shared -o"
40654 *-pc-os2_emx | *-pc-os2-emx )
40655 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40656 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40660 cat <<EOF >dllar.sh
40663 # dllar - a tool to build both a .dll and an .a file
40664 # from a set of object (.o) files for EMX/OS2.
40666 # Written by Andrew Zabolotny, bit@freya.etu.ru
40667 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
40669 # This script will accept a set of files on the command line.
40670 # All the public symbols from the .o files will be exported into
40671 # a .DEF file, then linker will be run (through gcc) against them to
40672 # build a shared library consisting of all given .o files. All libraries
40673 # (.a) will be first decompressed into component .o files then act as
40674 # described above. You can optionally give a description (-d "description")
40675 # which will be put into .DLL. To see the list of accepted options (as well
40676 # as command-line format) simply run this program without options. The .DLL
40677 # is built to be imported by name (there is no guarantee that new versions
40678 # of the library you build will have same ordinals for same symbols).
40680 # dllar is free software; you can redistribute it and/or modify
40681 # it under the terms of the GNU General Public License as published by
40682 # the Free Software Foundation; either version 2, or (at your option)
40683 # any later version.
40685 # dllar is distributed in the hope that it will be useful,
40686 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40687 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40688 # GNU General Public License for more details.
40690 # You should have received a copy of the GNU General Public License
40691 # along with dllar; see the file COPYING. If not, write to the Free
40692 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
40695 # To successfuly run this program you will need:
40696 # - Current drive should have LFN support (HPFS, ext2, network, etc)
40697 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
40699 # (used to build the .dll)
40701 # (used to create .def file from .o files)
40703 # (used to create .a file from .def file)
40704 # - GNU text utilites (cat, sort, uniq)
40705 # used to process emxexp output
40706 # - GNU file utilities (mv, rm)
40708 # - lxlite (optional, see flag below)
40709 # (used for general .dll cleanup)
40716 # basnam, variant of basename, which does _not_ remove the path, _iff_
40717 # second argument (suffix to remove) is given
40721 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
40724 echo ${D}1 | sed 's/'${D}2'${D}//'
40727 echo "error in basnam ${D}*"
40733 # Cleanup temporary files and output
40736 for i in ${D}inputFiles ; do
40739 rm -rf \`basnam ${D}i !\`
40746 # Kill result in case of failure as there is just to many stupid make/nmake
40747 # things out there which doesn't do this.
40748 if [ ${D}# -eq 0 ]; then
40749 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40753 # Print usage and exit script with rc=1.
40755 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40756 echo ' [-name-mangler-script script.sh]'
40757 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40758 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40759 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40760 echo ' [*.o] [*.a]'
40761 echo '*> "output_file" should have no extension.'
40762 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40763 echo ' The import library name is derived from this and is set to "name".a,'
40764 echo ' unless overridden by -import'
40765 echo '*> "importlib_name" should have no extension.'
40766 echo ' If it has the .o, or .a extension, it is automatically removed.'
40767 echo ' This name is used as the import library name and may be longer and'
40768 echo ' more descriptive than the DLL name which has to follow the old '
40769 echo ' 8.3 convention of FAT.'
40770 echo '*> "script.sh may be given to override the output_file name by a'
40771 echo ' different name. It is mainly useful if the regular make process'
40772 echo ' of some package does not take into account OS/2 restriction of'
40773 echo ' DLL name lengths. It takes the importlib name as input and is'
40774 echo ' supposed to procude a shorter name as output. The script should'
40775 echo ' expect to get importlib_name without extension and should produce'
40776 echo ' a (max.) 8 letter name without extension.'
40777 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40778 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40779 echo ' These flags will be put at the start of GCC command line.'
40780 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40781 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40782 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40783 echo ' If the last character of a symbol is "*", all symbols beginning'
40784 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40785 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40786 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40787 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40788 echo ' C runtime DLLs.'
40789 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40790 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40791 echo ' unchanged to GCC at the end of command line.'
40792 echo '*> If you create a DLL from a library and you do not specify -o,'
40793 echo ' the basename for DLL and import library will be set to library name,'
40794 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40795 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40796 echo ' library will be renamed into gcc_s.a.'
40799 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40800 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40805 # Execute a command.
40806 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40807 # @Uses Whatever CleanUp() uses.
40813 if [ ${D}rcCmd -ne 0 ]; then
40814 echo "command failed, exit code="${D}rcCmd
40829 CFLAGS="-s -Zcrtdll"
40831 EXPORT_BY_ORDINALS=0
40836 case ${D}curDirS in
40840 curDirS=${D}{curDirS}"/"
40843 # Parse commandline
40846 while [ ${D}1 ]; do
40849 EXPORT_BY_ORDINALS=1;
40859 -name-mangler-script)
40880 exclude_symbols=${D}{exclude_symbols}${D}1" "
40884 library_flags=${D}{library_flags}${D}1" "
40903 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40906 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40907 if [ ${D}omfLinking -eq 1 ]; then
40908 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40910 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40915 if [ ${D}libsToLink -ne 0 ]; then
40916 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40918 for file in ${D}1 ; do
40919 if [ -f ${D}file ]; then
40920 inputFiles="${D}{inputFiles} ${D}file"
40924 if [ ${D}found -eq 0 ]; then
40925 echo "ERROR: No file(s) found: "${D}1
40932 done # iterate cmdline words
40935 if [ -z "${D}inputFiles" ]; then
40936 echo "dllar: no input files"
40940 # Now extract all .o files from .a files
40942 for file in ${D}inputFiles ; do
40953 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40958 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40960 if [ ${D}? -ne 0 ]; then
40961 echo "Failed to create subdirectory ./${D}dirname"
40965 # Append '!' to indicate archive
40966 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40967 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40970 for subfile in ${D}dirname/*.o* ; do
40971 if [ -f ${D}subfile ]; then
40973 if [ -s ${D}subfile ]; then
40974 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40975 newInputFiles="${D}newInputFiles ${D}subfile"
40979 if [ ${D}found -eq 0 ]; then
40980 echo "WARNING: there are no files in archive \\'${D}file\\'"
40984 newInputFiles="${D}{newInputFiles} ${D}file"
40988 inputFiles="${D}newInputFiles"
40990 # Output filename(s).
40992 if [ -z ${D}outFile ]; then
40994 set outFile ${D}inputFiles; outFile=${D}2
40997 # If it is an archive, remove the '!' and the '_%' suffixes
40998 case ${D}outFile in
41000 outFile=\`basnam ${D}outFile _%!\`
41005 case ${D}outFile in
41007 outFile=\`basnam ${D}outFile .dll\`
41010 outFile=\`basnam ${D}outFile .DLL\`
41013 outFile=\`basnam ${D}outFile .o\`
41016 outFile=\`basnam ${D}outFile .obj\`
41019 outFile=\`basnam ${D}outFile .a\`
41022 outFile=\`basnam ${D}outFile .lib\`
41027 case ${D}outimpFile in
41029 outimpFile=\`basnam ${D}outimpFile .a\`
41032 outimpFile=\`basnam ${D}outimpFile .lib\`
41037 if [ -z ${D}outimpFile ]; then
41038 outimpFile=${D}outFile
41040 defFile="${D}{outFile}.def"
41041 arcFile="${D}{outimpFile}.a"
41042 arcFile2="${D}{outimpFile}.lib"
41044 #create ${D}dllFile as something matching 8.3 restrictions,
41045 if [ -z ${D}renameScript ] ; then
41046 dllFile="${D}outFile"
41048 dllFile=\`${D}renameScript ${D}outimpFile\`
41051 if [ ${D}do_backup -ne 0 ] ; then
41052 if [ -f ${D}arcFile ] ; then
41053 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41055 if [ -f ${D}arcFile2 ] ; then
41056 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41060 # Extract public symbols from all the object files.
41061 tmpdefFile=${D}{defFile}_%
41062 rm -f ${D}tmpdefFile
41063 for file in ${D}inputFiles ; do
41068 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41073 # Create the def file.
41075 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41076 dllFile="${D}{dllFile}.dll"
41077 if [ ! -z ${D}description ]; then
41078 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41080 echo "EXPORTS" >> ${D}defFile
41082 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41083 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41085 # Checks if the export is ok or not.
41086 for word in ${D}exclude_symbols; do
41087 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41088 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41092 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41093 sed "=" < ${D}tmpdefFile | \\
41097 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41099 ' > ${D}{tmpdefFile}%
41100 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41102 rm -f ${D}{tmpdefFile}%
41104 cat ${D}tmpdefFile >> ${D}defFile
41105 rm -f ${D}tmpdefFile
41107 # Do linking, create implib, and apply lxlite.
41109 for file in ${D}inputFiles ; do
41114 gccCmdl="${D}gccCmdl ${D}file"
41118 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41119 touch "${D}{outFile}.dll"
41121 doCommand "emximp -o ${D}arcFile ${D}defFile"
41122 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41124 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41127 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41129 doCommand "emxomf -s -l ${D}arcFile"
41139 powerpc-apple-macos* | \
41140 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41148 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41149 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41150 { (exit 1); exit 1; }; }
41153 if test "x$PIC_FLAG" != "x" ; then
41154 PIC_FLAG="$PIC_FLAG -DPIC"
41157 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
41158 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
41160 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
41161 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
41178 case "${BAKEFILE_HOST}" in
41179 *-*-linux* | *-*-freebsd* )
41180 SONAME_FLAG="-Wl,-soname,"
41208 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
41209 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
41212 if test "x$GCC" = "xyes"; then
41215 case "${BAKEFILE_HOST}" in
41216 powerpc-*-darwin* )
41217 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
41220 DEPSFLAG_GCC="-MMD"
41223 echo "$as_me:$LINENO: result: gcc" >&5
41224 echo "${ECHO_T}gcc" >&6
41225 elif test "x$MWCC" = "xyes"; then
41228 DEPSFLAG_MWCC="-MM"
41229 echo "$as_me:$LINENO: result: mwcc" >&5
41230 echo "${ECHO_T}mwcc" >&6
41232 echo "$as_me:$LINENO: result: none" >&5
41233 echo "${ECHO_T}none" >&6
41236 if test $DEPS_TRACKING = 1 ; then
41242 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41243 # script. It is used to track C/C++ files dependencies in portable way.
41245 # Permission is given to use this file in any way.
41247 DEPSMODE=${DEPSMODE}
41249 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
41250 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
41252 mkdir -p ${D}DEPSDIR
41254 if test ${D}DEPSMODE = gcc ; then
41255 ${D}* ${D}{DEPSFLAG_GCC}
41257 if test ${D}{status} != 0 ; then
41260 # move created file to the location we want it in:
41261 while test ${D}# -gt 0; do
41275 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
41276 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
41277 if test -f ${D}depfile ; then
41278 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41281 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
41282 if test -f ${D}depfile ; then
41283 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41288 elif test ${D}DEPSMODE = mwcc ; then
41291 if test ${D}{status} != 0 ; then
41294 # Run mwcc again with -MM and redirect into the dep file we want
41295 # NOTE: We can't use shift here because we need ${D}* to be valid
41297 for arg in ${D}* ; do
41298 if test "${D}prevarg" = "-o"; then
41311 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
41328 case ${BAKEFILE_HOST} in
41329 *-*-cygwin* | *-*-mingw32* )
41330 if test "$build" != "$host" ; then
41331 RESCOMP=$host_alias-windres
41333 # Extract the first word of "windres", so it can be a program name with args.
41334 set dummy windres; ac_word=$2
41335 echo "$as_me:$LINENO: checking for $ac_word" >&5
41336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41337 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41338 echo $ECHO_N "(cached) $ECHO_C" >&6
41340 if test -n "$RESCOMP"; then
41341 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
41343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41344 for as_dir in $PATH
41347 test -z "$as_dir" && as_dir=.
41348 for ac_exec_ext in '' $ac_executable_extensions; do
41349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41350 ac_cv_prog_RESCOMP="windres"
41351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41357 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
41360 RESCOMP=$ac_cv_prog_RESCOMP
41361 if test -n "$RESCOMP"; then
41362 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41363 echo "${ECHO_T}$RESCOMP" >&6
41365 echo "$as_me:$LINENO: result: no" >&5
41366 echo "${ECHO_T}no" >&6
41372 *-*-darwin* | powerpc-apple-macos* )
41373 # Extract the first word of "Rez", so it can be a program name with args.
41374 set dummy Rez; ac_word=$2
41375 echo "$as_me:$LINENO: checking for $ac_word" >&5
41376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41377 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41378 echo $ECHO_N "(cached) $ECHO_C" >&6
41380 if test -n "$RESCOMP"; then
41381 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
41383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41384 for as_dir in $PATH
41387 test -z "$as_dir" && as_dir=.
41388 for ac_exec_ext in '' $ac_executable_extensions; do
41389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41390 ac_cv_prog_RESCOMP="Rez"
41391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41397 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
41400 RESCOMP=$ac_cv_prog_RESCOMP
41401 if test -n "$RESCOMP"; then
41402 echo "$as_me:$LINENO: result: $RESCOMP" >&5
41403 echo "${ECHO_T}$RESCOMP" >&6
41405 echo "$as_me:$LINENO: result: no" >&5
41406 echo "${ECHO_T}no" >&6
41409 # Extract the first word of "SetFile", so it can be a program name with args.
41410 set dummy SetFile; ac_word=$2
41411 echo "$as_me:$LINENO: checking for $ac_word" >&5
41412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41413 if test "${ac_cv_prog_SETFILE+set}" = set; then
41414 echo $ECHO_N "(cached) $ECHO_C" >&6
41416 if test -n "$SETFILE"; then
41417 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
41419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41420 for as_dir in $PATH
41423 test -z "$as_dir" && as_dir=.
41424 for ac_exec_ext in '' $ac_executable_extensions; do
41425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41426 ac_cv_prog_SETFILE="SetFile"
41427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41433 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
41436 SETFILE=$ac_cv_prog_SETFILE
41437 if test -n "$SETFILE"; then
41438 echo "$as_me:$LINENO: result: $SETFILE" >&5
41439 echo "${ECHO_T}$SETFILE" >&6
41441 echo "$as_me:$LINENO: result: no" >&5
41442 echo "${ECHO_T}no" >&6
41452 BAKEFILE_BAKEFILE_M4_VERSION="0.1.7"
41455 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.7"
41459 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
41460 if test "${enable_precomp_headers+set}" = set; then
41461 enableval="$enable_precomp_headers"
41462 bk_use_pch="$enableval"
41467 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
41468 if test "x$GCC" = "xyes"; then
41469 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
41470 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
41471 cat >conftest.$ac_ext <<_ACEOF
41474 cat confdefs.h >>conftest.$ac_ext
41475 cat >>conftest.$ac_ext <<_ACEOF
41476 /* end confdefs.h. */
41482 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
41483 #error "no pch support"
41486 #error "no pch support"
41488 #if (__GNUC__ == 3) && \
41489 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
41490 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
41491 #error "no pch support"
41498 rm -f conftest.$ac_objext
41499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41500 (eval $ac_compile) 2>conftest.er1
41502 grep -v '^ *+' conftest.er1 >conftest.err
41504 cat conftest.err >&5
41505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506 (exit $ac_status); } &&
41507 { ac_try='test -z "$ac_c_werror_flag"
41508 || test ! -s conftest.err'
41509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41510 (eval $ac_try) 2>&5
41512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513 (exit $ac_status); }; } &&
41514 { ac_try='test -s conftest.$ac_objext'
41515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41516 (eval $ac_try) 2>&5
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); }; }; then
41521 echo "$as_me:$LINENO: result: yes" >&5
41522 echo "${ECHO_T}yes" >&6
41526 echo "$as_me: failed program was:" >&5
41527 sed 's/^/| /' conftest.$ac_ext >&5
41530 echo "$as_me:$LINENO: result: no" >&5
41531 echo "${ECHO_T}no" >&6
41534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41535 if test $GCC_PCH = 1 ; then
41538 cat <<EOF >bk-make-pch
41541 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41542 # script. It is used to generated precompiled headers.
41544 # Permission is given to use this file in any way.
41553 while test ${D}{#} -gt 0; do
41556 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
41557 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
41558 headerfile="${D}{incdir}/${D}{header}"
41562 compiler="${D}{compiler} ${D}{1}"
41566 if test "x${D}{headerfile}" = "x" ; then
41567 echo "error: can't find header ${D}{header} in include paths" >2
41569 if test -f ${D}{outfile} ; then
41570 rm -f ${D}{outfile}
41572 mkdir -p \`dirname ${D}{outfile}\`
41574 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
41576 # can do this because gcc is >= 3.4:
41577 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
41582 chmod +x bk-make-pch
41589 COND_BUILD_DEBUG="#"
41590 if test "x$BUILD" = "xdebug" ; then
41591 COND_BUILD_DEBUG=""
41594 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
41595 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41596 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
41599 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
41600 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41601 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
41604 COND_BUILD_DEBUG_UNICODE_0="#"
41605 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41606 COND_BUILD_DEBUG_UNICODE_0=""
41609 COND_BUILD_DEBUG_UNICODE_1="#"
41610 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41611 COND_BUILD_DEBUG_UNICODE_1=""
41614 COND_BUILD_RELEASE="#"
41615 if test "x$BUILD" = "xrelease" ; then
41616 COND_BUILD_RELEASE=""
41619 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
41620 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41621 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
41624 COND_BUILD_RELEASE_UNICODE_0="#"
41625 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41626 COND_BUILD_RELEASE_UNICODE_0=""
41629 COND_BUILD_RELEASE_UNICODE_1="#"
41630 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41631 COND_BUILD_RELEASE_UNICODE_1=""
41634 COND_DEBUG_FLAG_1="#"
41635 if test "x$DEBUG_FLAG" = "x1" ; then
41636 COND_DEBUG_FLAG_1=""
41639 COND_DEBUG_INFO_0="#"
41640 if test "x$DEBUG_INFO" = "x0" ; then
41641 COND_DEBUG_INFO_0=""
41644 COND_DEBUG_INFO_1="#"
41645 if test "x$DEBUG_INFO" = "x1" ; then
41646 COND_DEBUG_INFO_1=""
41649 COND_DEPS_TRACKING_0="#"
41650 if test "x$DEPS_TRACKING" = "x0" ; then
41651 COND_DEPS_TRACKING_0=""
41654 COND_DEPS_TRACKING_1="#"
41655 if test "x$DEPS_TRACKING" = "x1" ; then
41656 COND_DEPS_TRACKING_1=""
41660 if test "x$GCC_PCH" = "x1" ; then
41664 COND_MONOLITHIC_0="#"
41665 if test "x$MONOLITHIC" = "x0" ; then
41666 COND_MONOLITHIC_0=""
41669 COND_MONOLITHIC_0_SHARED_0="#"
41670 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41671 COND_MONOLITHIC_0_SHARED_0=""
41674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
41675 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41676 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
41679 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
41680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41681 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
41684 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
41685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41686 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
41689 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41691 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41694 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
41695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41696 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
41699 COND_MONOLITHIC_0_SHARED_1="#"
41700 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41701 COND_MONOLITHIC_0_SHARED_1=""
41704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41706 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41709 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
41710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
41714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41719 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41721 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41724 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
41725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41726 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
41729 COND_MONOLITHIC_0_USE_ODBC_1="#"
41730 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41731 COND_MONOLITHIC_0_USE_ODBC_1=""
41734 COND_MONOLITHIC_1="#"
41735 if test "x$MONOLITHIC" = "x1" ; then
41736 COND_MONOLITHIC_1=""
41739 COND_MONOLITHIC_1_SHARED_0="#"
41740 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41741 COND_MONOLITHIC_1_SHARED_0=""
41744 COND_MONOLITHIC_1_SHARED_1="#"
41745 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41746 COND_MONOLITHIC_1_SHARED_1=""
41749 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41750 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41751 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41754 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41755 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41756 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41759 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41760 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41761 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41764 COND_PLATFORM_MACOSX_1="#"
41765 if test "x$PLATFORM_MACOSX" = "x1" ; then
41766 COND_PLATFORM_MACOSX_1=""
41769 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
41770 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41771 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
41774 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41775 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41776 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41779 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41780 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41781 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41784 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41785 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41786 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41789 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
41790 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41791 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
41794 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41795 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41796 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41799 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
41800 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41801 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
41804 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
41805 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41806 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
41809 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41810 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41811 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41814 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41815 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41816 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41819 COND_PLATFORM_MACOS_1="#"
41820 if test "x$PLATFORM_MACOS" = "x1" ; then
41821 COND_PLATFORM_MACOS_1=""
41824 COND_PLATFORM_MAC_1="#"
41825 if test "x$PLATFORM_MAC" = "x1" ; then
41826 COND_PLATFORM_MAC_1=""
41829 COND_PLATFORM_OS2_1="#"
41830 if test "x$PLATFORM_OS2" = "x1" ; then
41831 COND_PLATFORM_OS2_1=""
41834 COND_PLATFORM_UNIX_0="#"
41835 if test "x$PLATFORM_UNIX" = "x0" ; then
41836 COND_PLATFORM_UNIX_0=""
41839 COND_PLATFORM_UNIX_1="#"
41840 if test "x$PLATFORM_UNIX" = "x1" ; then
41841 COND_PLATFORM_UNIX_1=""
41844 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41845 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41846 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41849 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41850 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41851 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41854 COND_PLATFORM_WIN32_0="#"
41855 if test "x$PLATFORM_WIN32" = "x0" ; then
41856 COND_PLATFORM_WIN32_0=""
41859 COND_PLATFORM_WIN32_1="#"
41860 if test "x$PLATFORM_WIN32" = "x1" ; then
41861 COND_PLATFORM_WIN32_1=""
41865 if test "x$SHARED" = "x0" ; then
41869 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
41870 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41871 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
41874 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
41875 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41876 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
41879 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
41880 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41881 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
41884 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41885 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41886 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41890 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41895 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41899 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41900 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41901 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41904 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41905 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41906 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41909 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41910 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41911 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41914 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41915 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41916 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41919 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41920 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41921 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41925 if test "x$SHARED" = "x1" ; then
41929 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41930 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41931 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41935 if test "x$TOOLKIT" = "x" ; then
41939 COND_TOOLKIT_COCOA="#"
41940 if test "x$TOOLKIT" = "xCOCOA" ; then
41941 COND_TOOLKIT_COCOA=""
41944 COND_TOOLKIT_COCOA_USE_GUI_1="#"
41945 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41946 COND_TOOLKIT_COCOA_USE_GUI_1=""
41949 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41950 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41951 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41954 COND_TOOLKIT_GTK="#"
41955 if test "x$TOOLKIT" = "xGTK" ; then
41956 COND_TOOLKIT_GTK=""
41959 COND_TOOLKIT_GTK_USE_GUI_1="#"
41960 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41961 COND_TOOLKIT_GTK_USE_GUI_1=""
41964 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41965 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41966 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41969 COND_TOOLKIT_MAC="#"
41970 if test "x$TOOLKIT" = "xMAC" ; then
41971 COND_TOOLKIT_MAC=""
41974 COND_TOOLKIT_MAC_USE_GUI_1="#"
41975 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41976 COND_TOOLKIT_MAC_USE_GUI_1=""
41979 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41980 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41981 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41984 COND_TOOLKIT_MGL="#"
41985 if test "x$TOOLKIT" = "xMGL" ; then
41986 COND_TOOLKIT_MGL=""
41989 COND_TOOLKIT_MGL_USE_GUI_1="#"
41990 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41991 COND_TOOLKIT_MGL_USE_GUI_1=""
41994 COND_TOOLKIT_MOTIF="#"
41995 if test "x$TOOLKIT" = "xMOTIF" ; then
41996 COND_TOOLKIT_MOTIF=""
41999 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
42000 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42001 COND_TOOLKIT_MOTIF_USE_GUI_1=""
42004 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
42005 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42006 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
42009 COND_TOOLKIT_MSW="#"
42010 if test "x$TOOLKIT" = "xMSW" ; then
42011 COND_TOOLKIT_MSW=""
42014 COND_TOOLKIT_MSW_USE_GUI_1="#"
42015 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42016 COND_TOOLKIT_MSW_USE_GUI_1=""
42019 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
42020 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42021 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
42024 COND_TOOLKIT_PM="#"
42025 if test "x$TOOLKIT" = "xPM" ; then
42029 COND_TOOLKIT_PM_USE_GUI_1="#"
42030 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42031 COND_TOOLKIT_PM_USE_GUI_1=""
42034 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
42035 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42036 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
42039 COND_TOOLKIT_WINCE="#"
42040 if test "x$TOOLKIT" = "xWINCE" ; then
42041 COND_TOOLKIT_WINCE=""
42044 COND_TOOLKIT_WINCE_USE_GUI_1="#"
42045 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42046 COND_TOOLKIT_WINCE_USE_GUI_1=""
42049 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
42050 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42051 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
42054 COND_TOOLKIT_X11="#"
42055 if test "x$TOOLKIT" = "xX11" ; then
42056 COND_TOOLKIT_X11=""
42059 COND_TOOLKIT_X11_USE_GUI_1="#"
42060 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42061 COND_TOOLKIT_X11_USE_GUI_1=""
42065 if test "x$UNICODE" = "x1" ; then
42069 COND_USE_EXCEPTIONS_0="#"
42070 if test "x$USE_EXCEPTIONS" = "x0" ; then
42071 COND_USE_EXCEPTIONS_0=""
42074 COND_USE_EXCEPTIONS_1="#"
42075 if test "x$USE_EXCEPTIONS" = "x1" ; then
42076 COND_USE_EXCEPTIONS_1=""
42080 if test "x$USE_GUI" = "x0" ; then
42085 if test "x$USE_GUI" = "x1" ; then
42089 COND_USE_GUI_1_WXUNIV_0="#"
42090 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42091 COND_USE_GUI_1_WXUNIV_0=""
42094 COND_USE_GUI_1_WXUNIV_1="#"
42095 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42096 COND_USE_GUI_1_WXUNIV_1=""
42099 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42100 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42101 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42104 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42105 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42106 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42109 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42110 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42111 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42114 COND_USE_ODBC_1="#"
42115 if test "x$USE_ODBC" = "x1" ; then
42119 COND_USE_OPENGL_1="#"
42120 if test "x$USE_OPENGL" = "x1" ; then
42121 COND_USE_OPENGL_1=""
42124 COND_USE_PLUGINS_0="#"
42125 if test "x$USE_PLUGINS" = "x0" ; then
42126 COND_USE_PLUGINS_0=""
42129 COND_USE_SOSYMLINKS_1="#"
42130 if test "x$USE_SOSYMLINKS" = "x1" ; then
42131 COND_USE_SOSYMLINKS_1=""
42134 COND_USE_SOVERLINUX_1="#"
42135 if test "x$USE_SOVERLINUX" = "x1" ; then
42136 COND_USE_SOVERLINUX_1=""
42139 COND_USE_SOVERSION_0="#"
42140 if test "x$USE_SOVERSION" = "x0" ; then
42141 COND_USE_SOVERSION_0=""
42144 COND_USE_SOVERSOLARIS_1="#"
42145 if test "x$USE_SOVERSOLARIS" = "x1" ; then
42146 COND_USE_SOVERSOLARIS_1=""
42150 if test "x$USE_XRC" = "x1" ; then
42154 COND_WITH_PLUGIN_SDL_1="#"
42155 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
42156 COND_WITH_PLUGIN_SDL_1=""
42160 if test "x$WXUNIV" = "x0" ; then
42165 if test "x$WXUNIV" = "x1" ; then
42169 COND_WXUSE_EXPAT_BUILTIN="#"
42170 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
42171 COND_WXUSE_EXPAT_BUILTIN=""
42174 COND_WXUSE_LIBJPEG_BUILTIN="#"
42175 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42176 COND_WXUSE_LIBJPEG_BUILTIN=""
42179 COND_WXUSE_LIBPNG_BUILTIN="#"
42180 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42181 COND_WXUSE_LIBPNG_BUILTIN=""
42184 COND_WXUSE_LIBTIFF_BUILTIN="#"
42185 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42186 COND_WXUSE_LIBTIFF_BUILTIN=""
42189 COND_WXUSE_ODBC_BUILTIN="#"
42190 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
42191 COND_WXUSE_ODBC_BUILTIN=""
42194 COND_WXUSE_REGEX_BUILTIN="#"
42195 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
42196 COND_WXUSE_REGEX_BUILTIN=""
42199 COND_WXUSE_ZLIB_BUILTIN="#"
42200 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
42201 COND_WXUSE_ZLIB_BUILTIN=""
42206 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
42207 { { 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
42208 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;}
42209 { (exit 1); exit 1; }; }
42213 if test "$wxUSE_SHARED" = "yes"; then
42215 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
42216 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
42219 *-pc-os2_emx | *-pc-os2-emx )
42220 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42221 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42222 cp -p ${srcdir}/src/os2/dllnames.sh .
42223 cp -p ${srcdir}/src/os2/dllar.sh .
42228 EXE_LINKER="$CXX -o"
42232 GCC_PRAGMA_FLAGS=""
42234 if test $GCC_PCH = 1 ; then
42235 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42236 PCH_FLAGS="-DWX_PRECOMP"
42239 powerpc-*-darwin* )
42240 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42243 if test "$wxUSE_STL" = "yes" -o \
42244 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42245 "$wxUSE_NO_RTTI" != "yes"; then
42246 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42247 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42248 cat >conftest.$ac_ext <<_ACEOF
42251 cat confdefs.h >>conftest.$ac_ext
42252 cat >>conftest.$ac_ext <<_ACEOF
42253 /* end confdefs.h. */
42258 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42259 #error "Not GCC 3.2 or greater"
42266 rm -f conftest.$ac_objext
42267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42268 (eval $ac_compile) 2>conftest.er1
42270 grep -v '^ *+' conftest.er1 >conftest.err
42272 cat conftest.err >&5
42273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42274 (exit $ac_status); } &&
42275 { ac_try='test -z "$ac_c_werror_flag"
42276 || test ! -s conftest.err'
42277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42278 (eval $ac_try) 2>&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; } &&
42282 { ac_try='test -s conftest.$ac_objext'
42283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42284 (eval $ac_try) 2>&5
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; }; then
42288 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42289 echo "$as_me:$LINENO: result: yes" >&5
42290 echo "${ECHO_T}yes" >&6
42292 echo "$as_me: failed program was:" >&5
42293 sed 's/^/| /' conftest.$ac_ext >&5
42295 echo "$as_me:$LINENO: result: no" >&5
42296 echo "${ECHO_T}no" >&6
42298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42301 *-pc-os2_emx | *-pc-os2-emx )
42302 if test "$wxUSE_STL" = "yes"; then
42303 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
42304 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42305 cat >conftest.$ac_ext <<_ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42315 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42316 #error "Not GCC 3.2 or greater"
42323 rm -f conftest.$ac_objext
42324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42325 (eval $ac_compile) 2>conftest.er1
42327 grep -v '^ *+' conftest.er1 >conftest.err
42329 cat conftest.err >&5
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); } &&
42332 { ac_try='test -z "$ac_c_werror_flag"
42333 || test ! -s conftest.err'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; } &&
42339 { ac_try='test -s conftest.$ac_objext'
42340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42341 (eval $ac_try) 2>&5
42343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42344 (exit $ac_status); }; }; then
42345 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
42346 echo "$as_me:$LINENO: result: yes" >&5
42347 echo "${ECHO_T}yes" >&6
42349 echo "$as_me: failed program was:" >&5
42350 sed 's/^/| /' conftest.$ac_ext >&5
42352 echo "$as_me:$LINENO: result: no" >&5
42353 echo "${ECHO_T}no" >&6
42355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42360 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
42363 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
42427 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42428 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42429 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
42430 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42431 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 cat >conftest.make <<\_ACEOF
42435 @echo 'ac_maketemp="$(MAKE)"'
42437 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42438 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42439 if test -n "$ac_maketemp"; then
42440 eval ac_cv_prog_make_${ac_make}_set=yes
42442 eval ac_cv_prog_make_${ac_make}_set=no
42444 rm -f conftest.make
42446 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42447 echo "$as_me:$LINENO: result: yes" >&5
42448 echo "${ECHO_T}yes" >&6
42451 echo "$as_me:$LINENO: result: no" >&5
42452 echo "${ECHO_T}no" >&6
42453 SET_MAKE="MAKE=${MAKE-make}"
42458 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
42461 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
42464 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
42467 ac_config_files="$ac_config_files version-script Makefile"
42470 ac_config_commands="$ac_config_commands wx-config
42476 if test "$wxUSE_GUI" = "yes"; then
42477 SUBDIRS="samples demos utils contrib"
42478 else SUBDIRS="samples utils"
42483 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42484 if test "${with_cppunit_prefix+set}" = set; then
42485 withval="$with_cppunit_prefix"
42486 cppunit_config_prefix="$withval"
42488 cppunit_config_prefix=""
42491 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42492 if test "${with_cppunit_exec_prefix+set}" = set; then
42493 withval="$with_cppunit_exec_prefix"
42494 cppunit_config_exec_prefix="$withval"
42496 cppunit_config_exec_prefix=""
42499 if test x$cppunit_config_exec_prefix != x ; then
42500 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42501 if test x${CPPUNIT_CONFIG+set} != xset ; then
42502 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
42505 if test x$cppunit_config_prefix != x ; then
42506 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
42507 if test x${CPPUNIT_CONFIG+set} != xset ; then
42508 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
42512 # Extract the first word of "cppunit-config", so it can be a program name with args.
42513 set dummy cppunit-config; ac_word=$2
42514 echo "$as_me:$LINENO: checking for $ac_word" >&5
42515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42516 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42517 echo $ECHO_N "(cached) $ECHO_C" >&6
42519 case $CPPUNIT_CONFIG in
42521 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42525 for as_dir in $PATH
42528 test -z "$as_dir" && as_dir=.
42529 for ac_exec_ext in '' $ac_executable_extensions; do
42530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42531 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42538 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
42542 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
42544 if test -n "$CPPUNIT_CONFIG"; then
42545 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42546 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42548 echo "$as_me:$LINENO: result: no" >&5
42549 echo "${ECHO_T}no" >&6
42552 cppunit_version_min=1.8.0
42554 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42555 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42557 if test "$CPPUNIT_CONFIG" = "no" ; then
42560 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
42561 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
42562 cppunit_version=`$CPPUNIT_CONFIG --version`
42564 cppunit_major_version=`echo $cppunit_version | \
42565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42566 cppunit_minor_version=`echo $cppunit_version | \
42567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42568 cppunit_micro_version=`echo $cppunit_version | \
42569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42571 cppunit_major_min=`echo $cppunit_version_min | \
42572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42573 cppunit_minor_min=`echo $cppunit_version_min | \
42574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42575 cppunit_micro_min=`echo $cppunit_version_min | \
42576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42578 cppunit_version_proper=`expr \
42579 $cppunit_major_version \> $cppunit_major_min \| \
42580 $cppunit_major_version \= $cppunit_major_min \& \
42581 $cppunit_minor_version \> $cppunit_minor_min \| \
42582 $cppunit_major_version \= $cppunit_major_min \& \
42583 $cppunit_minor_version \= $cppunit_minor_min \& \
42584 $cppunit_micro_version \>= $cppunit_micro_min `
42586 if test "$cppunit_version_proper" = "1" ; then
42587 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42588 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42590 echo "$as_me:$LINENO: result: no" >&5
42591 echo "${ECHO_T}no" >&6
42596 if test "x$no_cppunit" = x ; then
42597 SUBDIRS="$SUBDIRS tests"
42608 for subdir in `echo $SUBDIRS`; do
42609 if test -d ${srcdir}/${subdir} ; then
42610 if test "$wxUSE_GUI" = "yes"; then
42611 if test ${subdir} = "samples"; then
42612 makefiles="samples/Makefile.in $makefiles"
42613 for sample in `echo $SAMPLES_SUBDIRS`; do
42614 if test -d $srcdir/samples/$sample; then
42615 makefiles="samples/$sample/Makefile.in $makefiles"
42618 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42620 else if test ${subdir} = "samples"; then
42621 makefiles="samples/Makefile.in samples/console/Makefile.in"
42622 elif test ${subdir} = "utils"; then
42624 for util in HelpGen tex2rtf ; do
42625 if test -d $srcdir/utils/$util ; then
42626 makefiles="utils/$util/Makefile.in \
42627 utils/$util/src/Makefile.in \
42631 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42635 for mkin in $makefiles ; do
42636 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42637 ac_config_files="$ac_config_files $mk"
42644 cat >confcache <<\_ACEOF
42645 # This file is a shell script that caches the results of configure
42646 # tests run on this system so they can be shared between configure
42647 # scripts and configure runs, see configure's option --config-cache.
42648 # It is not useful on other systems. If it contains results you don't
42649 # want to keep, you may remove or edit it.
42651 # config.status only pays attention to the cache file if you give it
42652 # the --recheck option to rerun configure.
42654 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42656 # following values.
42660 # The following way of writing the cache mishandles newlines in values,
42661 # but we know of no workaround that is simple, portable, and efficient.
42662 # So, don't put newlines in cache variables' values.
42663 # Ultrix sh set writes to stderr and can't be redirected directly,
42664 # and sets the high bit in the cache file unless we assign to the vars.
42667 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42669 # `set' does not quote correctly, so add quotes (double-quote
42670 # substitution turns \\\\ into \\, and sed turns \\ into \).
42673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42676 # `set' quotes correctly as required by POSIX, so do not add quotes.
42678 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42685 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42687 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42689 if diff $cache_file confcache >/dev/null 2>&1; then :; else
42690 if test -w $cache_file; then
42691 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42692 cat confcache >$cache_file
42694 echo "not updating unwritable cache $cache_file"
42699 test "x$prefix" = xNONE && prefix=$ac_default_prefix
42700 # Let make expand exec_prefix.
42701 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42703 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42704 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42705 # trailing colons and then remove the whole line if VPATH becomes empty
42706 # (actually we leave an empty line to preserve line numbers).
42707 if test "x$srcdir" = x.; then
42708 ac_vpsub='/^[ ]*VPATH[ ]*=/{
42709 s/:*\$(srcdir):*/:/;
42710 s/:*\${srcdir}:*/:/;
42712 s/^\([^=]*=[ ]*\):*/\1/;
42718 DEFS=-DHAVE_CONFIG_H
42722 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42723 # 1. Remove the extension, and $U if already installed.
42724 ac_i=`echo "$ac_i" |
42725 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42727 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
42728 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
42730 LIBOBJS=$ac_libobjs
42732 LTLIBOBJS=$ac_ltlibobjs
42736 : ${CONFIG_STATUS=./config.status}
42737 ac_clean_files_save=$ac_clean_files
42738 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
42739 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42740 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42741 cat >$CONFIG_STATUS <<_ACEOF
42743 # Generated by $as_me.
42744 # Run this file to recreate the current configuration.
42745 # Compiler output produced by configure, useful for debugging
42746 # configure, is in config.log if it exists.
42749 ac_cs_recheck=false
42751 SHELL=\${CONFIG_SHELL-$SHELL}
42754 cat >>$CONFIG_STATUS <<\_ACEOF
42755 ## --------------------- ##
42756 ## M4sh Initialization. ##
42757 ## --------------------- ##
42759 # Be Bourne compatible
42760 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42763 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42764 # is contrary to our usage. Disable this feature.
42765 alias -g '${1+"$@"}'='"$@"'
42766 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42769 DUALCASE=1; export DUALCASE # for MKS sh
42771 # Support unset when possible.
42772 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42779 # Work around bugs in pre-3.0 UWIN ksh.
42780 $as_unset ENV MAIL MAILPATH
42787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42789 LC_TELEPHONE LC_TIME
42791 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42792 eval $as_var=C; export $as_var
42798 # Required to use basename.
42799 if expr a : '\(a\)' >/dev/null 2>&1; then
42805 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42806 as_basename=basename
42812 # Name of the executable.
42813 as_me=`$as_basename "$0" ||
42814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42815 X"$0" : 'X\(//\)$' \| \
42816 X"$0" : 'X\(/\)$' \| \
42817 . : '\(.\)' 2>/dev/null ||
42819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42820 /^X\/\(\/\/\)$/{ s//\1/; q; }
42821 /^X\/\(\/\).*/{ s//\1/; q; }
42825 # PATH needs CR, and LINENO needs CR and PATH.
42826 # Avoid depending upon Character Ranges.
42827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42830 as_cr_digits='0123456789'
42831 as_cr_alnum=$as_cr_Letters$as_cr_digits
42833 # The user is always right.
42834 if test "${PATH_SEPARATOR+set}" != set; then
42835 echo "#! /bin/sh" >conf$$.sh
42836 echo "exit 0" >>conf$$.sh
42838 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42847 as_lineno_1=$LINENO
42848 as_lineno_2=$LINENO
42849 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42850 test "x$as_lineno_1" != "x$as_lineno_2" &&
42851 test "x$as_lineno_3" = "x$as_lineno_2" || {
42852 # Find who we are. Look in the path if we contain no path at all
42855 *[\\/]* ) as_myself=$0 ;;
42856 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42857 for as_dir in $PATH
42860 test -z "$as_dir" && as_dir=.
42861 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42866 # We did not find ourselves, most probably we were run as `sh COMMAND'
42867 # in which case we are not to be found in the path.
42868 if test "x$as_myself" = x; then
42871 if test ! -f "$as_myself"; then
42872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42874 { (exit 1); exit 1; }; }
42876 case $CONFIG_SHELL in
42878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42879 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42882 test -z "$as_dir" && as_dir=.
42883 for as_base in sh bash ksh sh5; do
42886 if ("$as_dir/$as_base" -c '
42887 as_lineno_1=$LINENO
42888 as_lineno_2=$LINENO
42889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42890 test "x$as_lineno_1" != "x$as_lineno_2" &&
42891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42892 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42893 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42894 CONFIG_SHELL=$as_dir/$as_base
42895 export CONFIG_SHELL
42896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42905 # uniformly replaced by the line number. The first 'sed' inserts a
42906 # line-number line before each line; the second 'sed' does the real
42907 # work. The second script uses 'N' to pair each line-number line
42908 # with the numbered line, and appends trailing '-' during
42909 # substitution so that $LINENO is not a special case at line end.
42910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42912 sed '=' <$as_myself |
42917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42920 s,^['$as_cr_digits']*\n,,
42921 ' >$as_me.lineno &&
42922 chmod +x $as_me.lineno ||
42923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42925 { (exit 1); exit 1; }; }
42927 # Don't try to exec as it changes $[0], causing all sort of problems
42928 # (the dirname of $[0] is not the place where we might find the
42929 # original and so on. Autoconf is especially sensible to this).
42931 # Exit status is that of the last command.
42936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42937 *c*,-n*) ECHO_N= ECHO_C='
42939 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42940 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42943 if expr a : '\(a\)' >/dev/null 2>&1; then
42949 rm -f conf$$ conf$$.exe conf$$.file
42951 if ln -s conf$$.file conf$$ 2>/dev/null; then
42952 # We could just check for DJGPP; but this test a) works b) is more generic
42953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42954 if test -f conf$$.exe; then
42955 # Don't use ln at all; we don't have any links
42960 elif ln conf$$.file conf$$ 2>/dev/null; then
42965 rm -f conf$$ conf$$.exe conf$$.file
42967 if mkdir -p . 2>/dev/null; then
42970 test -d ./-p && rmdir ./-p
42974 as_executable_p="test -f"
42976 # Sed expression to map a string onto a valid CPP name.
42977 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42979 # Sed expression to map a string onto a valid variable name.
42980 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42984 # We need space, tab and new line, in precisely that order.
42994 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42995 # report actual input values of CONFIG_FILES etc. instead of their
42996 # values after options handling. Logging --version etc. is OK.
43000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43001 ## Running $as_me. ##
43006 This file was extended by wxWidgets $as_me 2.5.4, which was
43007 generated by GNU Autoconf 2.59. Invocation command line was
43009 CONFIG_FILES = $CONFIG_FILES
43010 CONFIG_HEADERS = $CONFIG_HEADERS
43011 CONFIG_LINKS = $CONFIG_LINKS
43012 CONFIG_COMMANDS = $CONFIG_COMMANDS
43016 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43020 # Files that config.status was made for.
43021 if test -n "$ac_config_files"; then
43022 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43025 if test -n "$ac_config_headers"; then
43026 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43029 if test -n "$ac_config_links"; then
43030 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43033 if test -n "$ac_config_commands"; then
43034 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43037 cat >>$CONFIG_STATUS <<\_ACEOF
43040 \`$as_me' instantiates files from templates according to the
43041 current configuration.
43043 Usage: $0 [OPTIONS] [FILE]...
43045 -h, --help print this help, then exit
43046 -V, --version print version number, then exit
43047 -q, --quiet do not print progress messages
43048 -d, --debug don't remove temporary files
43049 --recheck update $as_me by reconfiguring in the same conditions
43050 --file=FILE[:TEMPLATE]
43051 instantiate the configuration file FILE
43052 --header=FILE[:TEMPLATE]
43053 instantiate the configuration header FILE
43055 Configuration files:
43058 Configuration headers:
43061 Configuration commands:
43064 Report bugs to <bug-autoconf@gnu.org>."
43067 cat >>$CONFIG_STATUS <<_ACEOF
43069 wxWidgets config.status 2.5.4
43070 configured by $0, generated by GNU Autoconf 2.59,
43071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43073 Copyright (C) 2003 Free Software Foundation, Inc.
43074 This config.status script is free software; the Free Software Foundation
43075 gives unlimited permission to copy, distribute and modify it."
43080 cat >>$CONFIG_STATUS <<\_ACEOF
43081 # If no file are specified by the user, then we need to provide default
43082 # value. By we need to know if files were specified by the user.
43088 ac_option=`expr "x$1" : 'x\([^=]*\)='`
43089 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
43097 *) # This is not an option, so the user has probably given explicit
43100 ac_need_defaults=false;;
43104 # Handling of the options.
43106 cat >>$CONFIG_STATUS <<\_ACEOF
43107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43109 --version | --vers* | -V )
43110 echo "$ac_cs_version"; exit 0 ;;
43112 # Conflict between --help and --header
43113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43114 Try \`$0 --help' for more information." >&5
43115 echo "$as_me: error: ambiguous option: $1
43116 Try \`$0 --help' for more information." >&2;}
43117 { (exit 1); exit 1; }; };;
43118 --help | --hel | -h )
43119 echo "$ac_cs_usage"; exit 0 ;;
43120 --debug | --d* | -d )
43122 --file | --fil | --fi | --f )
43124 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
43125 ac_need_defaults=false;;
43126 --header | --heade | --head | --hea )
43128 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
43129 ac_need_defaults=false;;
43130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
43134 # This is an error.
43135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
43136 Try \`$0 --help' for more information." >&5
43137 echo "$as_me: error: unrecognized option: $1
43138 Try \`$0 --help' for more information." >&2;}
43139 { (exit 1); exit 1; }; } ;;
43141 *) ac_config_targets="$ac_config_targets $1" ;;
43147 ac_configure_extra_args=
43149 if $ac_cs_silent; then
43151 ac_configure_extra_args="$ac_configure_extra_args --silent"
43155 cat >>$CONFIG_STATUS <<_ACEOF
43156 if \$ac_cs_recheck; then
43157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43163 cat >>$CONFIG_STATUS <<_ACEOF
43165 # INIT-COMMANDS section.
43168 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43169 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43170 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43178 cat >>$CONFIG_STATUS <<\_ACEOF
43179 for ac_config_target in $ac_config_targets
43181 case "$ac_config_target" in
43182 # Handling of arguments.
43183 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
43184 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
43185 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
43186 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
43187 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
43188 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
43189 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
43190 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43191 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43192 { (exit 1); exit 1; }; };;
43196 # If the user did not use the arguments to specify the items to instantiate,
43197 # then the envvar interface is used. Set only those that are not.
43198 # We use the long form for the default assignment because of an extremely
43199 # bizarre bug on SunOS 4.1.3.
43200 if $ac_need_defaults; then
43201 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
43202 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
43203 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
43206 # Have a temporary directory for convenience. Make it in the build tree
43207 # simply because there is no reason to put it here, and in addition,
43208 # creating and moving files from /tmp can sometimes cause problems.
43209 # Create a temporary directory, and hook for its removal unless debugging.
43212 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43213 trap '{ (exit 1); exit 1; }' 1 2 13 15
43216 # Create a (secure) tmp directory for tmp files.
43219 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43220 test -n "$tmp" && test -d "$tmp"
43223 tmp=./confstat$$-$RANDOM
43224 (umask 077 && mkdir $tmp)
43227 echo "$me: cannot create a temporary directory in ." >&2
43228 { (exit 1); exit 1; }
43233 cat >>$CONFIG_STATUS <<_ACEOF
43236 # CONFIG_FILES section.
43239 # No need to generate the scripts if there are no CONFIG_FILES.
43240 # This happens for instance when ./config.status config.h
43241 if test -n "\$CONFIG_FILES"; then
43242 # Protect against being on the right side of a sed subst in config.status.
43243 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43244 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43245 s,@SHELL@,$SHELL,;t t
43246 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43247 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43248 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43249 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43250 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43251 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43252 s,@exec_prefix@,$exec_prefix,;t t
43253 s,@prefix@,$prefix,;t t
43254 s,@program_transform_name@,$program_transform_name,;t t
43255 s,@bindir@,$bindir,;t t
43256 s,@sbindir@,$sbindir,;t t
43257 s,@libexecdir@,$libexecdir,;t t
43258 s,@datadir@,$datadir,;t t
43259 s,@sysconfdir@,$sysconfdir,;t t
43260 s,@sharedstatedir@,$sharedstatedir,;t t
43261 s,@localstatedir@,$localstatedir,;t t
43262 s,@libdir@,$libdir,;t t
43263 s,@includedir@,$includedir,;t t
43264 s,@oldincludedir@,$oldincludedir,;t t
43265 s,@infodir@,$infodir,;t t
43266 s,@mandir@,$mandir,;t t
43267 s,@build_alias@,$build_alias,;t t
43268 s,@host_alias@,$host_alias,;t t
43269 s,@target_alias@,$target_alias,;t t
43270 s,@DEFS@,$DEFS,;t t
43271 s,@ECHO_C@,$ECHO_C,;t t
43272 s,@ECHO_N@,$ECHO_N,;t t
43273 s,@ECHO_T@,$ECHO_T,;t t
43274 s,@LIBS@,$LIBS,;t t
43275 s,@build@,$build,;t t
43276 s,@build_cpu@,$build_cpu,;t t
43277 s,@build_vendor@,$build_vendor,;t t
43278 s,@build_os@,$build_os,;t t
43279 s,@host@,$host,;t t
43280 s,@host_cpu@,$host_cpu,;t t
43281 s,@host_vendor@,$host_vendor,;t t
43282 s,@host_os@,$host_os,;t t
43283 s,@target@,$target,;t t
43284 s,@target_cpu@,$target_cpu,;t t
43285 s,@target_vendor@,$target_vendor,;t t
43286 s,@target_os@,$target_os,;t t
43288 s,@CFLAGS@,$CFLAGS,;t t
43289 s,@LDFLAGS@,$LDFLAGS,;t t
43290 s,@CPPFLAGS@,$CPPFLAGS,;t t
43291 s,@ac_ct_CC@,$ac_ct_CC,;t t
43292 s,@EXEEXT@,$EXEEXT,;t t
43293 s,@OBJEXT@,$OBJEXT,;t t
43295 s,@EGREP@,$EGREP,;t t
43297 s,@CXXFLAGS@,$CXXFLAGS,;t t
43298 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43299 s,@RANLIB@,$RANLIB,;t t
43300 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43302 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43303 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43304 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43305 s,@STRIP@,$STRIP,;t t
43306 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43307 s,@LN_S@,$LN_S,;t t
43308 s,@CXXCPP@,$CXXCPP,;t t
43309 s,@subdirs@,$subdirs,;t t
43310 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43311 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43312 s,@GTK_LIBS@,$GTK_LIBS,;t t
43313 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43314 s,@X_CFLAGS@,$X_CFLAGS,;t t
43315 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43316 s,@X_LIBS@,$X_LIBS,;t t
43317 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43318 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43319 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43320 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43321 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43322 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43323 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43324 s,@RESCOMP@,$RESCOMP,;t t
43325 s,@DEREZ@,$DEREZ,;t t
43326 s,@SETFILE@,$SETFILE,;t t
43327 s,@LIBICONV@,$LIBICONV,;t t
43328 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43329 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43330 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43331 s,@SDL_LIBS@,$SDL_LIBS,;t t
43332 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
43333 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
43334 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
43335 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
43336 s,@GST_INSPECT@,$GST_INSPECT,;t t
43337 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
43338 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
43339 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
43340 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
43341 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
43342 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
43343 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
43344 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
43345 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
43346 s,@VENDOR@,$VENDOR,;t t
43347 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
43348 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
43349 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
43350 s,@WXUNIV@,$WXUNIV,;t t
43351 s,@MONOLITHIC@,$MONOLITHIC,;t t
43352 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
43353 s,@EXTRALIBS@,$EXTRALIBS,;t t
43354 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
43355 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
43356 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
43357 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
43358 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
43359 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
43360 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
43361 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
43362 s,@UNICODE@,$UNICODE,;t t
43363 s,@BUILD@,$BUILD,;t t
43364 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
43365 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
43366 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
43367 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
43368 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
43369 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
43370 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
43371 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
43372 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
43373 s,@SET_MAKE@,$SET_MAKE,;t t
43374 s,@MAKE_SET@,$MAKE_SET,;t t
43375 s,@ac_ct_AR@,$ac_ct_AR,;t t
43376 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
43378 s,@ac_ct_NM@,$ac_ct_NM,;t t
43379 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
43380 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
43381 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
43382 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
43383 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
43384 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
43385 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
43386 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
43387 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
43388 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
43389 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
43390 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
43391 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
43392 s,@LIBPREFIX@,$LIBPREFIX,;t t
43393 s,@LIBEXT@,$LIBEXT,;t t
43394 s,@DLLPREFIX@,$DLLPREFIX,;t t
43395 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
43396 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
43397 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
43398 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
43399 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
43400 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
43401 s,@PIC_FLAG@,$PIC_FLAG,;t t
43402 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
43403 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
43404 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
43405 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
43406 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
43407 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
43408 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
43409 s,@GCC_PCH@,$GCC_PCH,;t t
43410 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
43411 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
43412 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
43413 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
43414 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
43415 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
43416 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
43417 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
43418 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
43419 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
43420 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
43421 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
43422 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
43423 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
43424 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
43425 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
43426 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
43427 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
43428 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
43429 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
43430 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
43431 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
43432 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43433 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43434 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
43435 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
43436 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43437 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
43438 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43439 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43440 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43441 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43442 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43443 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43444 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43445 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43446 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
43447 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43448 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43449 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43450 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
43451 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43452 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
43453 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
43454 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43455 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43456 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
43457 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43458 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43459 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43460 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43461 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43462 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43463 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43464 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43465 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43466 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
43467 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
43468 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
43469 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43470 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43471 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43472 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43473 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43474 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43475 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43476 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43477 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43478 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43479 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
43480 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43481 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
43482 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43483 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43484 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43485 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43486 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43487 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43488 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43489 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43490 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43491 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43492 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43493 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43494 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43495 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43496 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43497 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43498 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43499 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43500 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43501 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43502 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43503 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43504 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43505 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43506 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43507 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43508 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43509 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43510 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43511 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43512 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43513 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43514 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43515 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43516 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43517 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43518 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43519 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43520 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43521 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43522 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43523 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43524 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
43525 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43526 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43527 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43528 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43529 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43530 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43531 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43532 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43533 s,@SHARED@,$SHARED,;t t
43534 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43535 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43536 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43537 s,@USE_GUI@,$USE_GUI,;t t
43538 s,@AFMINSTALL@,$AFMINSTALL,;t t
43539 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43540 s,@TOOLKIT@,$TOOLKIT,;t t
43541 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43542 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43543 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43544 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43545 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43546 s,@cross_compiling@,$cross_compiling,;t t
43547 s,@WIDGET_SET@,$WIDGET_SET,;t t
43548 s,@WX_RELEASE@,$WX_RELEASE,;t t
43549 s,@WX_VERSION@,$WX_VERSION,;t t
43550 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43551 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43552 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43553 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43554 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43555 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43556 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43557 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43558 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43559 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43560 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43561 s,@EXE_LINKER@,$EXE_LINKER,;t t
43562 s,@GUIDIST@,$GUIDIST,;t t
43563 s,@DISTDIR@,$DISTDIR,;t t
43564 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43565 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43566 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43567 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43568 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43569 s,@RESFLAGS@,$RESFLAGS,;t t
43570 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43571 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43572 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43573 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43574 s,@MACRESCOMP@,$MACRESCOMP,;t t
43575 s,@MACSETFILE@,$MACSETFILE,;t t
43576 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43578 s,@DLLTOOL@,$DLLTOOL,;t t
43579 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43580 s,@LIBOBJS@,$LIBOBJS,;t t
43581 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43586 cat >>$CONFIG_STATUS <<\_ACEOF
43587 # Split the substitutions into bite-sized pieces for seds with
43588 # small command number limits, like on Digital OSF/1 and HP-UX.
43589 ac_max_sed_lines=48
43590 ac_sed_frag=1 # Number of current file.
43591 ac_beg=1 # First line for current file.
43592 ac_end=$ac_max_sed_lines # Line after last line for current file.
43595 while $ac_more_lines; do
43596 if test $ac_beg -gt 1; then
43597 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43599 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43601 if test ! -s $tmp/subs.frag; then
43602 ac_more_lines=false
43604 # The purpose of the label and of the branching condition is to
43605 # speed up the sed processing (if there are no `@' at all, there
43606 # is no need to browse any of the substitutions).
43607 # These are the two extra sed commands mentioned above.
43609 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43610 if test -z "$ac_sed_cmds"; then
43611 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43613 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43615 ac_sed_frag=`expr $ac_sed_frag + 1`
43617 ac_end=`expr $ac_end + $ac_max_sed_lines`
43620 if test -z "$ac_sed_cmds"; then
43623 fi # test -n "$CONFIG_FILES"
43626 cat >>$CONFIG_STATUS <<\_ACEOF
43627 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43628 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43630 - | *:- | *:-:* ) # input from stdin
43632 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43633 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43634 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43635 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43636 * ) ac_file_in=$ac_file.in ;;
43639 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43640 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43642 X"$ac_file" : 'X\(//\)[^/]' \| \
43643 X"$ac_file" : 'X\(//\)$' \| \
43644 X"$ac_file" : 'X\(/\)' \| \
43645 . : '\(.\)' 2>/dev/null ||
43647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43649 /^X\(\/\/\)$/{ s//\1/; q; }
43650 /^X\(\/\).*/{ s//\1/; q; }
43652 { if $as_mkdir_p; then
43657 while test ! -d "$as_dir"; do
43658 as_dirs="$as_dir $as_dirs"
43659 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43661 X"$as_dir" : 'X\(//\)[^/]' \| \
43662 X"$as_dir" : 'X\(//\)$' \| \
43663 X"$as_dir" : 'X\(/\)' \| \
43664 . : '\(.\)' 2>/dev/null ||
43666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43668 /^X\(\/\/\)$/{ s//\1/; q; }
43669 /^X\(\/\).*/{ s//\1/; q; }
43672 test ! -n "$as_dirs" || mkdir $as_dirs
43673 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43674 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43675 { (exit 1); exit 1; }; }; }
43679 if test "$ac_dir" != .; then
43680 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43681 # A "../" for each directory in $ac_dir_suffix.
43682 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43684 ac_dir_suffix= ac_top_builddir=
43688 .) # No --srcdir option. We are building in place.
43690 if test -z "$ac_top_builddir"; then
43693 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43695 [\\/]* | ?:[\\/]* ) # Absolute path.
43696 ac_srcdir=$srcdir$ac_dir_suffix;
43697 ac_top_srcdir=$srcdir ;;
43698 *) # Relative path.
43699 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43700 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43703 # Do not use `cd foo && pwd` to compute absolute paths, because
43704 # the directories may not exist.
43706 .) ac_abs_builddir="$ac_dir";;
43709 .) ac_abs_builddir=`pwd`;;
43710 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43711 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43714 case $ac_abs_builddir in
43715 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43717 case ${ac_top_builddir}. in
43718 .) ac_abs_top_builddir=$ac_abs_builddir;;
43719 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43720 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43723 case $ac_abs_builddir in
43724 .) ac_abs_srcdir=$ac_srcdir;;
43727 .) ac_abs_srcdir=$ac_abs_builddir;;
43728 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43729 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43732 case $ac_abs_builddir in
43733 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43735 case $ac_top_srcdir in
43736 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43737 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43738 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43744 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43745 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43748 if test x"$ac_file" != x-; then
43749 { echo "$as_me:$LINENO: creating $ac_file" >&5
43750 echo "$as_me: creating $ac_file" >&6;}
43753 # Let's still pretend it is `configure' which instantiates (i.e., don't
43754 # use $as_me), people would be surprised to read:
43755 # /* config.h. Generated by config.status. */
43756 if test x"$ac_file" = x-; then
43759 configure_input="$ac_file. "
43761 configure_input=$configure_input"Generated from `echo $ac_file_in |
43762 sed 's,.*/,,'` by configure."
43764 # First look for the input files in the build tree, otherwise in the
43766 ac_file_inputs=`IFS=:
43767 for f in $ac_file_in; do
43769 -) echo $tmp/stdin ;;
43771 # Absolute (can't be DOS-style, as IFS=:)
43772 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43773 echo "$as_me: error: cannot find input file: $f" >&2;}
43774 { (exit 1); exit 1; }; }
43777 if test -f "$f"; then
43780 elif test -f "$srcdir/$f"; then
43785 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43786 echo "$as_me: error: cannot find input file: $f" >&2;}
43787 { (exit 1); exit 1; }; }
43790 done` || { (exit 1); exit 1; }
43792 cat >>$CONFIG_STATUS <<_ACEOF
43796 cat >>$CONFIG_STATUS <<\_ACEOF
43798 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43799 s,@configure_input@,$configure_input,;t t
43800 s,@srcdir@,$ac_srcdir,;t t
43801 s,@abs_srcdir@,$ac_abs_srcdir,;t t
43802 s,@top_srcdir@,$ac_top_srcdir,;t t
43803 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43804 s,@builddir@,$ac_builddir,;t t
43805 s,@abs_builddir@,$ac_abs_builddir,;t t
43806 s,@top_builddir@,$ac_top_builddir,;t t
43807 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43808 s,@INSTALL@,$ac_INSTALL,;t t
43809 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43811 if test x"$ac_file" != x-; then
43812 mv $tmp/out $ac_file
43818 # Run the commands associated with the file.
43820 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43821 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43825 cat >>$CONFIG_STATUS <<\_ACEOF
43828 # CONFIG_HEADER section.
43831 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43832 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43834 # ac_d sets the value in "#define NAME VALUE" lines.
43835 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43836 ac_dB='[ ].*$,\1#\2'
43839 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43840 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43841 ac_uB='$,\1#\2define\3'
43845 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43846 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43848 - | *:- | *:-:* ) # input from stdin
43850 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43851 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43852 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43853 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43854 * ) ac_file_in=$ac_file.in ;;
43857 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43858 echo "$as_me: creating $ac_file" >&6;}
43860 # First look for the input files in the build tree, otherwise in the
43862 ac_file_inputs=`IFS=:
43863 for f in $ac_file_in; do
43865 -) echo $tmp/stdin ;;
43867 # Absolute (can't be DOS-style, as IFS=:)
43868 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43869 echo "$as_me: error: cannot find input file: $f" >&2;}
43870 { (exit 1); exit 1; }; }
43871 # Do quote $f, to prevent DOS paths from being IFS'd.
43874 if test -f "$f"; then
43877 elif test -f "$srcdir/$f"; then
43882 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43883 echo "$as_me: error: cannot find input file: $f" >&2;}
43884 { (exit 1); exit 1; }; }
43887 done` || { (exit 1); exit 1; }
43888 # Remove the trailing spaces.
43889 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43893 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43894 # `conftest.undefs', that substitutes the proper values into
43895 # config.h.in to produce config.h. The first handles `#define'
43896 # templates, and the second `#undef' templates.
43897 # And first: Protect against being on the right side of a sed subst in
43898 # config.status. Protect against being in an unquoted here document
43899 # in config.status.
43900 rm -f conftest.defines conftest.undefs
43901 # Using a here document instead of a string reduces the quoting nightmare.
43902 # Putting comments in sed scripts is not portable.
43904 # `end' is used to avoid that the second main sed command (meant for
43905 # 0-ary CPP macros) applies to n-ary macro definitions.
43906 # See the Autoconf documentation for `clear'.
43907 cat >confdef2sed.sed <<\_ACEOF
43912 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43914 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43917 # If some macros were called several times there might be several times
43918 # the same #defines, which is useless. Nevertheless, we may not want to
43919 # sort them, since we want the *last* AC-DEFINE to be honored.
43920 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43921 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43922 rm -f confdef2sed.sed
43924 # This sed command replaces #undef with comments. This is necessary, for
43925 # example, in the case of _POSIX_SOURCE, which is predefined and required
43926 # on some systems where configure will not decide to define it.
43927 cat >>conftest.undefs <<\_ACEOF
43928 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43931 # Break up conftest.defines because some shells have a limit on the size
43932 # of here documents, and old seds have small limits too (100 cmds).
43933 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43934 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43935 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43936 echo ' :' >>$CONFIG_STATUS
43937 rm -f conftest.tail
43938 while grep . conftest.defines >/dev/null
43940 # Write a limited-size here document to $tmp/defines.sed.
43941 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43942 # Speed up: don't consider the non `#define' lines.
43943 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43944 # Work around the forget-to-reset-the-flag bug.
43945 echo 't clr' >>$CONFIG_STATUS
43946 echo ': clr' >>$CONFIG_STATUS
43947 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43949 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43951 mv $tmp/out $tmp/in
43953 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43954 rm -f conftest.defines
43955 mv conftest.tail conftest.defines
43957 rm -f conftest.defines
43958 echo ' fi # grep' >>$CONFIG_STATUS
43959 echo >>$CONFIG_STATUS
43961 # Break up conftest.undefs because some shells have a limit on the size
43962 # of here documents, and old seds have small limits too (100 cmds).
43963 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43964 rm -f conftest.tail
43965 while grep . conftest.undefs >/dev/null
43967 # Write a limited-size here document to $tmp/undefs.sed.
43968 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43969 # Speed up: don't consider the non `#undef'
43970 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43971 # Work around the forget-to-reset-the-flag bug.
43972 echo 't clr' >>$CONFIG_STATUS
43973 echo ': clr' >>$CONFIG_STATUS
43974 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43976 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43978 mv $tmp/out $tmp/in
43980 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43981 rm -f conftest.undefs
43982 mv conftest.tail conftest.undefs
43984 rm -f conftest.undefs
43986 cat >>$CONFIG_STATUS <<\_ACEOF
43987 # Let's still pretend it is `configure' which instantiates (i.e., don't
43988 # use $as_me), people would be surprised to read:
43989 # /* config.h. Generated by config.status. */
43990 if test x"$ac_file" = x-; then
43991 echo "/* Generated by configure. */" >$tmp/config.h
43993 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43995 cat $tmp/in >>$tmp/config.h
43997 if test x"$ac_file" != x-; then
43998 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43999 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44000 echo "$as_me: $ac_file is unchanged" >&6;}
44002 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44003 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44004 X"$ac_file" : 'X\(//\)[^/]' \| \
44005 X"$ac_file" : 'X\(//\)$' \| \
44006 X"$ac_file" : 'X\(/\)' \| \
44007 . : '\(.\)' 2>/dev/null ||
44009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44011 /^X\(\/\/\)$/{ s//\1/; q; }
44012 /^X\(\/\).*/{ s//\1/; q; }
44014 { if $as_mkdir_p; then
44019 while test ! -d "$as_dir"; do
44020 as_dirs="$as_dir $as_dirs"
44021 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44022 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44023 X"$as_dir" : 'X\(//\)[^/]' \| \
44024 X"$as_dir" : 'X\(//\)$' \| \
44025 X"$as_dir" : 'X\(/\)' \| \
44026 . : '\(.\)' 2>/dev/null ||
44028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44029 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44030 /^X\(\/\/\)$/{ s//\1/; q; }
44031 /^X\(\/\).*/{ s//\1/; q; }
44034 test ! -n "$as_dirs" || mkdir $as_dirs
44035 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44036 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44037 { (exit 1); exit 1; }; }; }
44040 mv $tmp/config.h $ac_file
44044 rm -f $tmp/config.h
44048 cat >>$CONFIG_STATUS <<\_ACEOF
44051 # CONFIG_COMMANDS section.
44053 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44054 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44055 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44056 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44057 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44058 X"$ac_dest" : 'X\(//\)[^/]' \| \
44059 X"$ac_dest" : 'X\(//\)$' \| \
44060 X"$ac_dest" : 'X\(/\)' \| \
44061 . : '\(.\)' 2>/dev/null ||
44063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44064 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44065 /^X\(\/\/\)$/{ s//\1/; q; }
44066 /^X\(\/\).*/{ s//\1/; q; }
44068 { if $as_mkdir_p; then
44073 while test ! -d "$as_dir"; do
44074 as_dirs="$as_dir $as_dirs"
44075 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44076 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44077 X"$as_dir" : 'X\(//\)[^/]' \| \
44078 X"$as_dir" : 'X\(//\)$' \| \
44079 X"$as_dir" : 'X\(/\)' \| \
44080 . : '\(.\)' 2>/dev/null ||
44082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44084 /^X\(\/\/\)$/{ s//\1/; q; }
44085 /^X\(\/\).*/{ s//\1/; q; }
44088 test ! -n "$as_dirs" || mkdir $as_dirs
44089 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44090 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44091 { (exit 1); exit 1; }; }; }
44095 if test "$ac_dir" != .; then
44096 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44097 # A "../" for each directory in $ac_dir_suffix.
44098 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44100 ac_dir_suffix= ac_top_builddir=
44104 .) # No --srcdir option. We are building in place.
44106 if test -z "$ac_top_builddir"; then
44109 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44111 [\\/]* | ?:[\\/]* ) # Absolute path.
44112 ac_srcdir=$srcdir$ac_dir_suffix;
44113 ac_top_srcdir=$srcdir ;;
44114 *) # Relative path.
44115 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44116 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44119 # Do not use `cd foo && pwd` to compute absolute paths, because
44120 # the directories may not exist.
44122 .) ac_abs_builddir="$ac_dir";;
44125 .) ac_abs_builddir=`pwd`;;
44126 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44127 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44130 case $ac_abs_builddir in
44131 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44133 case ${ac_top_builddir}. in
44134 .) ac_abs_top_builddir=$ac_abs_builddir;;
44135 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44136 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44139 case $ac_abs_builddir in
44140 .) ac_abs_srcdir=$ac_srcdir;;
44143 .) ac_abs_srcdir=$ac_abs_builddir;;
44144 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44145 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44148 case $ac_abs_builddir in
44149 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44151 case $ac_top_srcdir in
44152 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44153 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44154 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44159 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
44160 echo "$as_me: executing $ac_dest commands" >&6;}
44162 wx-config ) rm -f wx-config
44163 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
44169 cat >>$CONFIG_STATUS <<\_ACEOF
44171 { (exit 0); exit 0; }
44173 chmod +x $CONFIG_STATUS
44174 ac_clean_files=$ac_clean_files_save
44177 # configure is writing to config.log, and then calls config.status.
44178 # config.status does its own redirection, appending to config.log.
44179 # Unfortunately, on DOS this fails, as config.log is still kept open
44180 # by configure, so config.status won't be able to write to it; its
44181 # output is simply discarded. So we exec the FD to /dev/null,
44182 # effectively closing config.log, so it can be properly (re)opened and
44183 # appended to by config.status. When coming back to configure, we
44184 # need to make the FD available again.
44185 if test "$no_create" != yes; then
44187 ac_config_status_args=
44188 test "$silent" = yes &&
44189 ac_config_status_args="$ac_config_status_args --quiet"
44191 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
44193 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44194 # would make configure fail if this is the last instruction.
44195 $ac_cs_success || { (exit 1); exit 1; }
44199 # CONFIG_SUBDIRS section.
44201 if test "$no_recursion" != yes; then
44203 # Remove --cache-file and --srcdir arguments so they do not pile up.
44204 ac_sub_configure_args=
44206 for ac_arg in $ac_configure_args; do
44207 if test -n "$ac_prev"; then
44212 -cache-file | --cache-file | --cache-fil | --cache-fi \
44213 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
44214 ac_prev=cache_file ;;
44215 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
44216 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
44219 --config-cache | -C)
44221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
44223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
44225 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
44227 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
44229 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
44233 # Always prepend --prefix to ensure using the same prefix
44234 # in subdir configurations.
44235 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
44238 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
44240 # Do not complain, so a configure script can configure whichever
44241 # parts of a large source tree are present.
44242 test -d $srcdir/$ac_dir || continue
44244 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44245 echo "$as_me: configuring in $ac_dir" >&6;}
44246 { if $as_mkdir_p; then
44251 while test ! -d "$as_dir"; do
44252 as_dirs="$as_dir $as_dirs"
44253 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44255 X"$as_dir" : 'X\(//\)[^/]' \| \
44256 X"$as_dir" : 'X\(//\)$' \| \
44257 X"$as_dir" : 'X\(/\)' \| \
44258 . : '\(.\)' 2>/dev/null ||
44260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44262 /^X\(\/\/\)$/{ s//\1/; q; }
44263 /^X\(\/\).*/{ s//\1/; q; }
44266 test ! -n "$as_dirs" || mkdir $as_dirs
44267 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44268 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44269 { (exit 1); exit 1; }; }; }
44273 if test "$ac_dir" != .; then
44274 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44275 # A "../" for each directory in $ac_dir_suffix.
44276 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44278 ac_dir_suffix= ac_top_builddir=
44282 .) # No --srcdir option. We are building in place.
44284 if test -z "$ac_top_builddir"; then
44287 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44289 [\\/]* | ?:[\\/]* ) # Absolute path.
44290 ac_srcdir=$srcdir$ac_dir_suffix;
44291 ac_top_srcdir=$srcdir ;;
44292 *) # Relative path.
44293 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44294 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44297 # Do not use `cd foo && pwd` to compute absolute paths, because
44298 # the directories may not exist.
44300 .) ac_abs_builddir="$ac_dir";;
44303 .) ac_abs_builddir=`pwd`;;
44304 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44305 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44308 case $ac_abs_builddir in
44309 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44311 case ${ac_top_builddir}. in
44312 .) ac_abs_top_builddir=$ac_abs_builddir;;
44313 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44314 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44317 case $ac_abs_builddir in
44318 .) ac_abs_srcdir=$ac_srcdir;;
44321 .) ac_abs_srcdir=$ac_abs_builddir;;
44322 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44323 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44326 case $ac_abs_builddir in
44327 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44329 case $ac_top_srcdir in
44330 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44331 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44332 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44339 # Check for guested configure; otherwise get Cygnus style configure.
44340 if test -f $ac_srcdir/configure.gnu; then
44341 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
44342 elif test -f $ac_srcdir/configure; then
44343 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
44344 elif test -f $ac_srcdir/configure.in; then
44345 ac_sub_configure=$ac_configure
44347 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
44348 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
44352 # The recursion is here.
44353 if test -n "$ac_sub_configure"; then
44354 # Make the cache file name correct relative to the subdirectory.
44355 case $cache_file in
44356 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
44357 *) # Relative path.
44358 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
44361 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
44362 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
44363 # The eval makes quoting arguments work.
44364 eval $ac_sub_configure $ac_sub_configure_args \
44365 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
44366 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
44367 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
44368 { (exit 1); exit 1; }; }
44377 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
44379 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
44380 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
44382 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
44383 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
44384 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
44386 echo " What level of wxWidgets compatibility should be enabled?"
44387 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
44388 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
44390 echo " Which libraries should wxWidgets use?"
44391 echo " jpeg ${wxUSE_LIBJPEG-none}"
44392 echo " png ${wxUSE_LIBPNG-none}"
44393 echo " regex ${wxUSE_REGEX}"
44394 echo " tiff ${wxUSE_LIBTIFF-none}"
44395 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
44396 echo " xpm ${wxUSE_LIBXPM-none}"
44398 echo " zlib ${wxUSE_ZLIB}"
44399 echo " odbc ${wxUSE_ODBC}"
44400 echo " expat ${wxUSE_EXPAT}"
44401 echo " libmspack ${wxUSE_LIBMSPACK}"
44402 echo " sdl ${wxUSE_LIBSDL}"
44403 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"