2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWidgets 2.5.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/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 -n "`(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
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='wxWidgets'
271 PACKAGE_TARNAME='wxwidgets'
272 PACKAGE_VERSION='2.5.2'
273 PACKAGE_STRING='wxWidgets 2.5.2'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all="$ac_subdirs_all src/expat"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name=s,x,x,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
390 cache_file=config.cache ;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
664 eval ac_val=$`echo $ac_var`
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val=$`echo $ac_var`
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705 test "$silent" = yes && exec 6>/dev/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWidgets 2.5.2 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWidgets 2.5.2:";;
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --enable-monolithic build wxWidgets as single library
871 --enable-plugins build parts of wxWidgets as loadable components
872 --enable-universal use wxWidgets GUI controls instead of native ones
873 --enable-nanox use NanoX
874 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
875 --enable-gpe use GNOME PDA Environment features if possible
876 --enable-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL for containers
880 --enable-omf use OMF object format
881 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWidgets 2.2 compatibility
892 --disable-compat24 disable wxWidgets 2.4 compatibility
893 --enable-rpath=DIR output the rpath flag from wx-config
894 --enable-intl use internationalization system
895 --enable-config use wxConfig (and derived) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP (requires wxProtocol
898 --enable-http use wxHTTP (requires wxProtocol
899 --enable-fileproto use wxFileProto class (requires wxProtocol
900 --enable-sockets use socket/network classes
901 --enable-ole use OLE classes (Win32 only)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication (wxSocket etc.)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
906 --enable-cmdline use wxCmdLineParser class
907 --enable-datetime use wxDateTime class
908 --enable-dialupman use dialup network classes
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-exceptions build exception-safe library
912 --enable-ffile use wxFFile class
913 --enable-file use wxFile class
914 --enable-filesystem use virtual file systems classes
915 --enable-fontmap use font encodings conversion classes
916 --enable-fs_inet use virtual HTTP/FTP filesystems
917 --enable-fs_zip use virtual ZIP filesystems
918 --enable-geometry use geometry class
919 --enable-log use logging system
920 --enable-longlong use wxLongLong class
921 --enable-mimetype use wxMimeTypesManager
922 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
923 --enable-snglinst use wxSingleInstanceChecker class
924 --enable-streams use wxStream etc classes
925 --enable-std_iostreams use standard C++ stream classes
926 --enable-stopwatch use wxStopWatch class
927 --enable-sysoptions use wxSystemOptions
928 --enable-textbuf use wxTextBuffer class
929 --enable-textfile use wxTextFile class
930 --enable-timer use wxTimer class
931 --enable-unicode compile wxString with Unicode support
932 --enable-sound use wxSound class
933 --enable-wxprintfv use wxWidgets implementation of vprintf()
934 --enable-zipstream use wxZipInputStream
935 --enable-url use wxURL class
936 --enable-protocol use wxProtocol class
937 --enable-protocol-http HTTP support in wxProtocol
938 --enable-protocol-ftp FTP support in wxProtocol
939 --enable-protocol-file FILE support in wxProtocol
940 --enable-threads use threads
941 --enable-docview use document view architecture
942 --enable-help use help subsystem
943 --enable-mshtmlhelp use MS HTML Help (win32)
944 --enable-html use wxHTML sub-library
945 --enable-htmlhelp use wxHTML-based help
946 --enable-constraints use layout-constraints system
947 --enable-printarch use printing architecture
948 --enable-mdi use multiple document interface architecture
949 --enable-mdidoc use docview architecture with MDI
950 --enable-loggui use standard GUI logger
951 --enable-logwin use wxLogWindow
952 --enable-logdialog use wxLogDialog
953 --enable-postscript use wxPostscriptDC device context (default for gtk+)
954 --enable-prologio not available; see contrib
955 --enable-resources not available; see contrib
956 --enable-clipboard use wxClipboard class
957 --enable-dnd use Drag'n'Drop classes
958 --enable-metafile use win32 metafiles
959 --enable-controls use all usual controls
960 --enable-accel use accelerators
961 --enable-button use wxButton class
962 --enable-bmpbutton use wxBitmapButton class
963 --enable-calendar use wxCalendarCtrl class
964 --enable-caret use wxCaret class
965 --enable-checkbox use wxCheckBox class
966 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
967 --enable-choice use wxChoice class
968 --enable-combobox use wxComboBox class
969 --enable-display use wxDisplay class
970 --enable-gauge use wxGauge class
971 --enable-grid use wxGrid class
972 --enable-imaglist use wxImageList class
973 --enable-listbook use wxListbook class
974 --enable-listbox use wxListBox class
975 --enable-listctrl use wxListCtrl class
976 --enable-notebook use wxNotebook class
977 --enable-radiobox use wxRadioBox class
978 --enable-radiobtn use wxRadioButton class
979 --enable-sash use wxSashWindow class
980 --enable-scrollbar use wxScrollBar class and scrollable windows
981 --enable-slider use wxSlider class
982 --enable-spinbtn use wxSpinButton class
983 --enable-spinctrl use wxSpinCtrl class
984 --enable-splitter use wxSplitterWindow class
985 --enable-statbmp use wxStaticBitmap class
986 --enable-statbox use wxStaticBox class
987 --enable-statline use wxStaticLine class
988 --enable-stattext use wxStaticText class
989 --enable-statusbar use wxStatusBar class
990 --enable-tabdialog use wxTabControl class
991 --enable-textctrl use wxTextCtrl class
992 --enable-togglebtn use wxToggleButton class
993 --enable-toolbar use wxToolBar class
994 --enable-tbarnative use native wxToolBar class
995 --enable-tbarsmpl use wxToolBarSimple class
996 --enable-treectrl use wxTreeCtrl class
997 --enable-tipwindow use wxTipWindow class
998 --enable-popupwin use wxPopUpWindow class
999 --enable-commondlg use all common dialogs
1000 --enable-choicedlg use wxChoiceDialog
1001 --enable-coldlg use wxColourDialog
1002 --enable-filedlg use wxFileDialog
1003 --enable-finddlg use wxFindReplaceDialog
1004 --enable-fontdlg use wxFontDialog
1005 --enable-dirdlg use wxDirDialog
1006 --enable-msgdlg use wxMessageDialog
1007 --enable-numberdlg use wxNumberEntryDialog
1008 --enable-splash use wxSplashScreen
1009 --enable-textdlg use wxTextDialog
1010 --enable-tipdlg use startup tips
1011 --enable-progressdlg use wxProgressDialog
1012 --enable-wizarddlg use wxWizard
1013 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1014 --enable-miniframe use wxMiniFrame class
1015 --enable-tooltips use wxToolTip class
1016 --enable-splines use spline drawing code
1017 --enable-validators use wxValidator and derived classes
1018 --enable-busyinfo use wxBusyInfo
1019 --enable-joystick use wxJoystick (Linux only)
1020 --enable-metafiles use wxMetaFile (Windows only)
1021 --enable-dragimage use wxDragImage
1022 --enable-accessibility enable accessibility support
1023 --enable-palette use wxPalette class
1024 --enable-image use wxImage class
1025 --enable-gif use gif images (GIF file format)
1026 --enable-pcx use pcx images (PCX file format)
1027 --enable-iff use iff images (IFF file format)
1028 --enable-pnm use pnm images (PNM file format)
1029 --enable-xpm use xpm images (XPM file format)
1030 --enable-icocur use Windows ICO and CUR formats
1031 --enable-official_build official build of wxWidgets (win32 DLL only)
1032 --enable-vendor=VENDOR vendor name (win32 DLL only)
1033 --disable-largefile omit support for large files
1034 --disable-gtktest do not try to compile and run a test GTK+ program
1035 --disable-gtktest Do not try to compile and run a test GTK program
1036 --disable-sdltest Do not try to compile and run a test SDL program
1037 --enable-omf use OMF object format (OS/2)
1038 --disable-precomp-headers don't use precompiled headers even if compiler can
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1044 --with-motif use Motif/Lesstif
1045 --with-mac use Mac OS X
1046 --with-cocoa use Cocoa
1047 --with-wine use Wine
1048 --with-msw use MS-Windows
1049 --with-pm use OS/2 Presentation Manager
1050 --with-mgl use SciTech MGL
1051 --with-microwin use MicroWindows
1053 --with-libpng use libpng (PNG image format)
1054 --with-libjpeg use libjpeg (JPEG file format)
1055 --with-libtiff use libtiff (TIFF file format)
1056 --with-libxpm use libxpm (XPM file format)
1057 --with-libmspack use libmspack (CHM help files loading)
1058 --with-sdl use SDL for audio on Unix
1059 --with-opengl use OpenGL (or Mesa)
1060 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1061 --with-regex enable support for wxRegEx class
1062 --with-zlib use zlib for LZW compression
1063 --with-odbc use the IODBC and wxODBC classes
1064 --with-expat enable XML support using expat parser
1065 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1066 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1067 --with-x use the X Window System
1068 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1069 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1070 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1072 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1074 Some influential environment variables:
1075 CC C compiler command
1076 CFLAGS C compiler flags
1077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1078 nonstandard directory <lib dir>
1079 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1080 headers in a nonstandard directory <include dir>
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1084 CXXCPP C++ preprocessor
1086 Use these variables to override the choices made by `configure' or to help
1087 it to find libraries and programs with nonstandard names/locations.
1089 Report bugs to <wx-dev@lists.wxwidgets.org>.
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1096 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1097 test -d $ac_dir || continue
1100 if test "$ac_dir" != .; then
1101 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105 ac_dir_suffix= ac_top_builddir=
1109 .) # No --srcdir option. We are building in place.
1111 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1116 [\\/]* | ?:[\\/]* ) # Absolute path.
1117 ac_srcdir=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir=$srcdir ;;
1120 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1123 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1125 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1126 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1127 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1128 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1131 # Check for guested configure; otherwise get Cygnus style configure.
1132 if test -f $ac_srcdir/configure.gnu; then
1134 $SHELL $ac_srcdir/configure.gnu --help=recursive
1135 elif test -f $ac_srcdir/configure; then
1137 $SHELL $ac_srcdir/configure --help=recursive
1138 elif test -f $ac_srcdir/configure.ac ||
1139 test -f $ac_srcdir/configure.in; then
1141 $ac_configure --help
1143 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1149 test -n "$ac_init_help" && exit 0
1150 if $ac_init_version; then
1152 wxWidgets configure 2.5.2
1153 generated by GNU Autoconf 2.57
1155 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1156 Free Software Foundation, Inc.
1157 This configure script is free software; the Free Software Foundation
1158 gives unlimited permission to copy, distribute and modify it.
1164 This file contains any messages produced by compilers while
1165 running configure, to aid debugging if configure makes a mistake.
1167 It was created by wxWidgets $as_me 2.5.2, which was
1168 generated by GNU Autoconf 2.57. Invocation command line was
1179 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1180 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1181 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1182 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1183 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1185 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1186 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1188 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1189 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1190 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1191 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1192 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1193 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1194 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1202 test -z "$as_dir" && as_dir=.
1203 echo "PATH: $as_dir"
1218 # Keep a trace of the command line.
1219 # Strip out --no-create and --no-recursion so they do not pile up.
1220 # Strip out --silent because we don't want to record it for future runs.
1221 # Also quote any args containing shell meta-characters.
1222 # Make two passes to allow for proper duplicate-argument suppression.
1227 ac_must_keep_next=false
1233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1235 | -silent | --silent | --silen | --sile | --sil)
1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1241 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1243 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1244 if test $ac_must_keep_next = true; then
1245 ac_must_keep_next=false # Got value, back to normal.
1248 *=* | --config-cache | -C | -disable-* | --disable-* \
1249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1251 | -with-* | --with-* | -without-* | --without-* | --x)
1252 case "$ac_configure_args0 " in
1253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1256 -* ) ac_must_keep_next=true ;;
1259 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1260 # Get rid of the leading space.
1266 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1267 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1269 # When interrupted or exit'd, cleanup temporary files, and complete
1270 # config.log. We remove comments because anyway the quotes in there
1271 # would cause problems or look ugly.
1272 # WARNING: Be sure not to use single quotes in there, as some shells,
1273 # such as our DU 5.0 friend, will then `close' the trap.
1274 trap 'exit_status=$?
1275 # Save into config.log some information that might help in debugging.
1280 ## ---------------- ##
1281 ## Cache variables. ##
1282 ## ---------------- ##
1285 # The following way of writing the cache mishandles newlines in values,
1288 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1291 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1296 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1303 ## ----------------- ##
1304 ## Output variables. ##
1305 ## ----------------- ##
1308 for ac_var in $ac_subst_vars
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1315 if test -n "$ac_subst_files"; then
1322 for ac_var in $ac_subst_files
1324 eval ac_val=$`echo $ac_var`
1325 echo "$ac_var='"'"'$ac_val'"'"'"
1330 if test -s confdefs.h; then
1337 sed "/^$/d" confdefs.h | sort
1340 test "$ac_signal" != 0 &&
1341 echo "$as_me: caught signal $ac_signal"
1342 echo "$as_me: exit $exit_status"
1344 rm -f core core.* *.core &&
1345 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1348 for ac_signal in 1 2 13 15; do
1349 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1354 rm -rf conftest* confdefs.h
1355 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1358 # Predefined preprocessor variables.
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_NAME "$PACKAGE_NAME"
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1375 cat >>confdefs.h <<_ACEOF
1376 #define PACKAGE_STRING "$PACKAGE_STRING"
1380 cat >>confdefs.h <<_ACEOF
1381 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1385 # Let the site file select an alternate cache file if it wants to.
1386 # Prefer explicitly selected file to automatically selected ones.
1387 if test -z "$CONFIG_SITE"; then
1388 if test "x$prefix" != xNONE; then
1389 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1391 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1394 for ac_site_file in $CONFIG_SITE; do
1395 if test -r "$ac_site_file"; then
1396 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1397 echo "$as_me: loading site script $ac_site_file" >&6;}
1398 sed 's/^/| /' "$ac_site_file" >&5
1403 if test -r "$cache_file"; then
1404 # Some versions of bash will fail to source /dev/null (special
1405 # files actually), so we avoid doing that.
1406 if test -f "$cache_file"; then
1407 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1408 echo "$as_me: loading cache $cache_file" >&6;}
1410 [\\/]* | ?:[\\/]* ) . $cache_file;;
1411 *) . ./$cache_file;;
1415 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1416 echo "$as_me: creating cache $cache_file" >&6;}
1420 # Check that the precious variables saved in the cache have kept the same
1422 ac_cache_corrupted=false
1423 for ac_var in `(set) 2>&1 |
1424 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1425 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1426 eval ac_new_set=\$ac_env_${ac_var}_set
1427 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1428 eval ac_new_val="\$ac_env_${ac_var}_value"
1429 case $ac_old_set,$ac_new_set in
1431 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1432 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1433 ac_cache_corrupted=: ;;
1435 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1436 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1437 ac_cache_corrupted=: ;;
1440 if test "x$ac_old_val" != "x$ac_new_val"; then
1441 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1442 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1443 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1444 echo "$as_me: former value: $ac_old_val" >&2;}
1445 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1446 echo "$as_me: current value: $ac_new_val" >&2;}
1447 ac_cache_corrupted=:
1450 # Pass precious variables to config.status.
1451 if test "$ac_new_set" = set; then
1453 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1454 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1455 *) ac_arg=$ac_var=$ac_new_val ;;
1457 case " $ac_configure_args " in
1458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1459 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1463 if $ac_cache_corrupted; then
1464 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1465 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1466 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1467 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1468 { (exit 1); exit 1; }; }
1472 ac_cpp='$CPP $CPPFLAGS'
1473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1507 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1508 if test -f $ac_dir/install-sh; then
1510 ac_install_sh="$ac_aux_dir/install-sh -c"
1512 elif test -f $ac_dir/install.sh; then
1514 ac_install_sh="$ac_aux_dir/install.sh -c"
1516 elif test -f $ac_dir/shtool; then
1518 ac_install_sh="$ac_aux_dir/shtool install -c"
1522 if test -z "$ac_aux_dir"; then
1523 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1524 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1525 { (exit 1); exit 1; }; }
1527 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1528 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1529 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1531 # Make sure we can run config.sub.
1532 $ac_config_sub sun4 >/dev/null 2>&1 ||
1533 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1534 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1535 { (exit 1); exit 1; }; }
1537 echo "$as_me:$LINENO: checking build system type" >&5
1538 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1539 if test "${ac_cv_build+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 ac_cv_build_alias=$build_alias
1543 test -z "$ac_cv_build_alias" &&
1544 ac_cv_build_alias=`$ac_config_guess`
1545 test -z "$ac_cv_build_alias" &&
1546 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1547 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1548 { (exit 1); exit 1; }; }
1549 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1550 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1551 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1552 { (exit 1); exit 1; }; }
1555 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1556 echo "${ECHO_T}$ac_cv_build" >&6
1558 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1559 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1560 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1563 echo "$as_me:$LINENO: checking host system type" >&5
1564 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1565 if test "${ac_cv_host+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 ac_cv_host_alias=$host_alias
1569 test -z "$ac_cv_host_alias" &&
1570 ac_cv_host_alias=$ac_cv_build_alias
1571 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1572 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1573 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1574 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1578 echo "${ECHO_T}$ac_cv_host" >&6
1580 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1581 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1582 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1585 echo "$as_me:$LINENO: checking target system type" >&5
1586 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1587 if test "${ac_cv_target+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 ac_cv_target_alias=$target_alias
1591 test "x$ac_cv_target_alias" = "x" &&
1592 ac_cv_target_alias=$ac_cv_host_alias
1593 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1594 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1595 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1596 { (exit 1); exit 1; }; }
1599 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1600 echo "${ECHO_T}$ac_cv_target" >&6
1601 target=$ac_cv_target
1602 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1603 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1604 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1607 # The aliases save the names the user supplied, while $host etc.
1608 # will get canonicalized.
1609 test -n "$target_alias" &&
1610 test "$program_prefix$program_suffix$program_transform_name" = \
1612 program_prefix=${target_alias}-
1616 WX_MAJOR_VERSION_NUMBER=2
1617 WX_MINOR_VERSION_NUMBER=5
1620 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1621 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1623 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1639 USE_BSD= USE_DARWIN= USE_FREEBSD=
1645 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1651 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1653 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1655 DEFAULT_wxUSE_COCOA=0
1659 DEFAULT_wxUSE_MICROWIN=0
1660 DEFAULT_wxUSE_MOTIF=0
1665 DEFAULT_DEFAULT_wxUSE_COCOA=0
1666 DEFAULT_DEFAULT_wxUSE_GTK=0
1667 DEFAULT_DEFAULT_wxUSE_MAC=0
1668 DEFAULT_DEFAULT_wxUSE_MGL=0
1669 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1670 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1671 DEFAULT_DEFAULT_wxUSE_MSW=0
1672 DEFAULT_DEFAULT_wxUSE_PM=0
1673 DEFAULT_DEFAULT_wxUSE_X11=0
1678 SAMPLES_RPATH_POSTLINK=
1683 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1684 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1686 cat >>confdefs.h <<\_ACEOF
1693 cat >>confdefs.h <<\_ACEOF
1698 if test "x$TMP" = "xalpha"; then
1700 cat >>confdefs.h <<\_ACEOF
1705 DEFAULT_DEFAULT_wxUSE_GTK=1
1707 *-*-gnu* | *-*-k*bsd*-gnu )
1710 if test "x$TMP" = "xalpha"; then
1712 cat >>confdefs.h <<\_ACEOF
1717 DEFAULT_DEFAULT_wxUSE_GTK=1
1719 *-*-irix5* | *-*-irix6* )
1722 cat >>confdefs.h <<\_ACEOF
1726 cat >>confdefs.h <<\_ACEOF
1730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1736 cat >>confdefs.h <<\_ACEOF
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __SOLARIS__ 1
1744 cat >>confdefs.h <<\_ACEOF
1748 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1749 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1755 cat >>confdefs.h <<\_ACEOF
1759 cat >>confdefs.h <<\_ACEOF
1763 cat >>confdefs.h <<\_ACEOF
1767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1772 cat >>confdefs.h <<\_ACEOF
1773 #define __FREEBSD__ 1
1776 cat >>confdefs.h <<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_GTK=1
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __OPENBSD__ 1
1789 cat >>confdefs.h <<\_ACEOF
1793 DEFAULT_DEFAULT_wxUSE_GTK=1
1798 cat >>confdefs.h <<\_ACEOF
1799 #define __NETBSD__ 1
1802 cat >>confdefs.h <<\_ACEOF
1806 DEFAULT_DEFAULT_wxUSE_GTK=1
1811 cat >>confdefs.h <<\_ACEOF
1815 cat >>confdefs.h <<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1825 cat >>confdefs.h <<\_ACEOF
1829 cat >>confdefs.h <<\_ACEOF
1833 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1838 cat >>confdefs.h <<\_ACEOF
1842 cat >>confdefs.h <<\_ACEOF
1846 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1853 cat >>confdefs.h <<\_ACEOF
1857 cat >>confdefs.h <<\_ACEOF
1861 cat >>confdefs.h <<\_ACEOF
1865 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __UNIXWARE__ 1
1878 *-*-cygwin* | *-*-mingw32* )
1882 DEFAULT_DEFAULT_wxUSE_MSW=1
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MGL=1
1894 LIBS="$LIBS -lstdc++"
1897 *-pc-os2_emx | *-pc-os2-emx )
1898 cat >>confdefs.h <<\_ACEOF
1903 cat >>confdefs.h <<\_ACEOF
1908 DEFAULT_DEFAULT_wxUSE_PM=1
1910 LDFLAGS="$LDFLAGS -Zcrtdll"
1911 ac_executable_extensions=".exe"
1912 export ac_executable_extensions
1916 for ac_dir in $PATH; do
1918 if test -z "$ac_TEMP_PATH"; then
1919 ac_TEMP_PATH="$ac_dir"
1921 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1924 export PATH="$ac_TEMP_PATH"
1932 cat >>confdefs.h <<\_ACEOF
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __DARWIN__ 1
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __POWERPC__ 1
1944 cat >>confdefs.h <<\_ACEOF
1945 #define TARGET_CARBON 1
1948 DEFAULT_DEFAULT_wxUSE_MAC=1
1953 cat >>confdefs.h <<\_ACEOF
1960 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1961 echo "$as_me: error: unknown system type ${host}." >&2;}
1962 { (exit 1); exit 1; }; }
1968 wx_arg_cache_file="configarg.cache"
1969 echo "loading argument cache $wx_arg_cache_file"
1970 rm -f ${wx_arg_cache_file}.tmp
1971 touch ${wx_arg_cache_file}.tmp
1972 touch ${wx_arg_cache_file}
1976 if test $DEBUG_CONFIGURE = 1; then
1977 DEFAULT_wxUSE_UNIVERSAL=no
1978 DEFAULT_wxUSE_STL=no
1980 DEFAULT_wxUSE_NANOX=no
1982 DEFAULT_wxUSE_THREADS=yes
1984 DEFAULT_wxUSE_SHARED=yes
1985 DEFAULT_wxUSE_OPTIMISE=no
1986 DEFAULT_wxUSE_PROFILE=no
1987 DEFAULT_wxUSE_NO_DEPS=no
1988 DEFAULT_wxUSE_NO_RTTI=no
1989 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1990 DEFAULT_wxUSE_PERMISSIVE=no
1991 DEFAULT_wxUSE_DEBUG_FLAG=yes
1992 DEFAULT_wxUSE_DEBUG_INFO=yes
1993 DEFAULT_wxUSE_DEBUG_GDB=yes
1994 DEFAULT_wxUSE_MEM_TRACING=no
1995 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1996 DEFAULT_wxUSE_DMALLOC=no
1997 DEFAULT_wxUSE_APPLE_IEEE=no
1999 DEFAULT_wxUSE_EXCEPTIONS=no
2000 DEFAULT_wxUSE_LOG=yes
2001 DEFAULT_wxUSE_LOGWINDOW=no
2002 DEFAULT_wxUSE_LOGGUI=no
2003 DEFAULT_wxUSE_LOGDIALOG=no
2005 DEFAULT_wxUSE_GUI=yes
2006 DEFAULT_wxUSE_CONTROLS=no
2008 DEFAULT_wxUSE_REGEX=no
2009 DEFAULT_wxUSE_XML=no
2010 DEFAULT_wxUSE_EXPAT=no
2011 DEFAULT_wxUSE_ZLIB=no
2012 DEFAULT_wxUSE_LIBPNG=no
2013 DEFAULT_wxUSE_LIBJPEG=no
2014 DEFAULT_wxUSE_LIBTIFF=no
2015 DEFAULT_wxUSE_LIBXPM=no
2016 DEFAULT_wxUSE_LIBMSPACK=no
2017 DEFAULT_wxUSE_LIBSDL=no
2018 DEFAULT_wxUSE_ODBC=no
2019 DEFAULT_wxUSE_OPENGL=no
2021 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2022 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2023 DEFAULT_wxUSE_STD_IOSTREAM=no
2024 DEFAULT_wxUSE_CMDLINE_PARSER=no
2025 DEFAULT_wxUSE_DATETIME=no
2026 DEFAULT_wxUSE_TIMER=no
2027 DEFAULT_wxUSE_STOPWATCH=no
2028 DEFAULT_wxUSE_FILE=no
2029 DEFAULT_wxUSE_FFILE=no
2030 DEFAULT_wxUSE_TEXTBUFFER=no
2031 DEFAULT_wxUSE_TEXTFILE=no
2032 DEFAULT_wxUSE_SOUND=no
2033 DEFAULT_wxUSE_INTL=no
2034 DEFAULT_wxUSE_CONFIG=no
2035 DEFAULT_wxUSE_FONTMAP=no
2036 DEFAULT_wxUSE_STREAMS=no
2037 DEFAULT_wxUSE_SOCKETS=no
2038 DEFAULT_wxUSE_OLE=no
2039 DEFAULT_wxUSE_DATAOBJ=no
2040 DEFAULT_wxUSE_DIALUP_MANAGER=no
2041 DEFAULT_wxUSE_JOYSTICK=no
2042 DEFAULT_wxUSE_DYNLIB_CLASS=no
2043 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2044 DEFAULT_wxUSE_LONGLONG=no
2045 DEFAULT_wxUSE_GEOMETRY=no
2047 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2048 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2049 DEFAULT_wxUSE_POSTSCRIPT=no
2051 DEFAULT_wxUSE_CLIPBOARD=no
2052 DEFAULT_wxUSE_TOOLTIPS=no
2053 DEFAULT_wxUSE_DRAG_AND_DROP=no
2054 DEFAULT_wxUSE_DRAGIMAGE=no
2055 DEFAULT_wxUSE_SPLINES=no
2057 DEFAULT_wxUSE_MDI=no
2058 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2059 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2060 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2062 DEFAULT_wxUSE_RESOURCES=no
2063 DEFAULT_wxUSE_CONSTRAINTS=no
2064 DEFAULT_wxUSE_IPC=no
2065 DEFAULT_wxUSE_HELP=no
2066 DEFAULT_wxUSE_MS_HTML_HELP=no
2067 DEFAULT_wxUSE_WXHTML_HELP=no
2068 DEFAULT_wxUSE_TREELAYOUT=no
2069 DEFAULT_wxUSE_METAFILE=no
2070 DEFAULT_wxUSE_MIMETYPE=no
2071 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2072 DEFAULT_wxUSE_PROTOCOL=no
2073 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2074 DEFAULT_wxUSE_PROTOCOL_FTP=no
2075 DEFAULT_wxUSE_PROTOCOL_FILE=no
2076 DEFAULT_wxUSE_URL=no
2078 DEFAULT_wxUSE_COMMONDLGS=no
2079 DEFAULT_wxUSE_CHOICEDLG=no
2080 DEFAULT_wxUSE_COLOURDLG=no
2081 DEFAULT_wxUSE_DIRDLG=no
2082 DEFAULT_wxUSE_FILEDLG=no
2083 DEFAULT_wxUSE_FINDREPLDLG=no
2084 DEFAULT_wxUSE_FONTDLG=no
2085 DEFAULT_wxUSE_MSGDLG=no
2086 DEFAULT_wxUSE_NUMBERDLG=no
2087 DEFAULT_wxUSE_TEXTDLG=no
2088 DEFAULT_wxUSE_SPLASH=no
2089 DEFAULT_wxUSE_STARTUP_TIPS=no
2090 DEFAULT_wxUSE_PROGRESSDLG=no
2091 DEFAULT_wxUSE_WIZARDDLG=no
2093 DEFAULT_wxUSE_MENUS=no
2094 DEFAULT_wxUSE_MINIFRAME=no
2095 DEFAULT_wxUSE_HTML=no
2096 DEFAULT_wxUSE_FILESYSTEM=no
2097 DEFAULT_wxUSE_FS_INET=no
2098 DEFAULT_wxUSE_FS_ZIP=no
2099 DEFAULT_wxUSE_BUSYINFO=no
2100 DEFAULT_wxUSE_ZIPSTREAM=no
2101 DEFAULT_wxUSE_VALIDATORS=no
2103 DEFAULT_wxUSE_ACCEL=no
2104 DEFAULT_wxUSE_BUTTON=no
2105 DEFAULT_wxUSE_BMPBUTTON=no
2106 DEFAULT_wxUSE_CALCTRL=no
2107 DEFAULT_wxUSE_CARET=no
2108 DEFAULT_wxUSE_CHECKBOX=no
2109 DEFAULT_wxUSE_CHECKLST=no
2110 DEFAULT_wxUSE_CHOICE=no
2111 DEFAULT_wxUSE_COMBOBOX=no
2112 DEFAULT_wxUSE_DISPLAY=no
2113 DEFAULT_wxUSE_GAUGE=no
2114 DEFAULT_wxUSE_GRID=no
2115 DEFAULT_wxUSE_IMAGLIST=no
2116 DEFAULT_wxUSE_LISTBOOK=no
2117 DEFAULT_wxUSE_LISTBOX=no
2118 DEFAULT_wxUSE_LISTCTRL=no
2119 DEFAULT_wxUSE_NOTEBOOK=no
2120 DEFAULT_wxUSE_RADIOBOX=no
2121 DEFAULT_wxUSE_RADIOBTN=no
2122 DEFAULT_wxUSE_SASH=no
2123 DEFAULT_wxUSE_SCROLLBAR=no
2124 DEFAULT_wxUSE_SLIDER=no
2125 DEFAULT_wxUSE_SPINBTN=no
2126 DEFAULT_wxUSE_SPINCTRL=no
2127 DEFAULT_wxUSE_SPLITTER=no
2128 DEFAULT_wxUSE_STATBMP=no
2129 DEFAULT_wxUSE_STATBOX=no
2130 DEFAULT_wxUSE_STATLINE=no
2131 DEFAULT_wxUSE_STATTEXT=no
2132 DEFAULT_wxUSE_STATUSBAR=yes
2133 DEFAULT_wxUSE_TABDIALOG=no
2134 DEFAULT_wxUSE_TEXTCTRL=no
2135 DEFAULT_wxUSE_TOGGLEBTN=no
2136 DEFAULT_wxUSE_TOOLBAR=no
2137 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2138 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2139 DEFAULT_wxUSE_TREECTRL=no
2140 DEFAULT_wxUSE_POPUPWIN=no
2141 DEFAULT_wxUSE_TIPWINDOW=no
2143 DEFAULT_wxUSE_UNICODE=no
2144 DEFAULT_wxUSE_UNICODE_MSLU=no
2145 DEFAULT_wxUSE_WCSRTOMBS=no
2147 DEFAULT_wxUSE_PALETTE=no
2148 DEFAULT_wxUSE_IMAGE=no
2149 DEFAULT_wxUSE_GIF=no
2150 DEFAULT_wxUSE_PCX=no
2151 DEFAULT_wxUSE_PNM=no
2152 DEFAULT_wxUSE_IFF=no
2153 DEFAULT_wxUSE_XPM=no
2154 DEFAULT_wxUSE_ICO_CUR=no
2155 DEFAULT_wxUSE_ACCESSIBILITY=no
2157 DEFAULT_wxUSE_MONOLITHIC=no
2158 DEFAULT_wxUSE_PLUGINS=no
2159 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2161 DEFAULT_wxUSE_UNIVERSAL=no
2162 DEFAULT_wxUSE_STL=no
2164 DEFAULT_wxUSE_NANOX=no
2166 DEFAULT_wxUSE_THREADS=yes
2168 DEFAULT_wxUSE_SHARED=yes
2169 DEFAULT_wxUSE_OPTIMISE=yes
2170 DEFAULT_wxUSE_PROFILE=no
2171 DEFAULT_wxUSE_NO_DEPS=no
2172 DEFAULT_wxUSE_NO_RTTI=no
2173 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2174 DEFAULT_wxUSE_PERMISSIVE=no
2175 DEFAULT_wxUSE_DEBUG_FLAG=no
2176 DEFAULT_wxUSE_DEBUG_INFO=no
2177 DEFAULT_wxUSE_DEBUG_GDB=no
2178 DEFAULT_wxUSE_MEM_TRACING=no
2179 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2180 DEFAULT_wxUSE_DMALLOC=no
2181 DEFAULT_wxUSE_APPLE_IEEE=yes
2183 DEFAULT_wxUSE_EXCEPTIONS=yes
2184 DEFAULT_wxUSE_LOG=yes
2185 DEFAULT_wxUSE_LOGWINDOW=yes
2186 DEFAULT_wxUSE_LOGGUI=yes
2187 DEFAULT_wxUSE_LOGDIALOG=yes
2189 DEFAULT_wxUSE_GUI=yes
2191 DEFAULT_wxUSE_REGEX=yes
2192 DEFAULT_wxUSE_XML=yes
2193 DEFAULT_wxUSE_EXPAT=yes
2194 DEFAULT_wxUSE_ZLIB=yes
2195 DEFAULT_wxUSE_LIBPNG=yes
2196 DEFAULT_wxUSE_LIBJPEG=yes
2197 DEFAULT_wxUSE_LIBTIFF=yes
2198 DEFAULT_wxUSE_LIBXPM=yes
2199 DEFAULT_wxUSE_LIBMSPACK=yes
2200 DEFAULT_wxUSE_LIBSDL=no
2201 DEFAULT_wxUSE_ODBC=no
2202 DEFAULT_wxUSE_OPENGL=no
2204 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2205 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2206 DEFAULT_wxUSE_STD_IOSTREAM=no
2207 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2208 DEFAULT_wxUSE_DATETIME=yes
2209 DEFAULT_wxUSE_TIMER=yes
2210 DEFAULT_wxUSE_STOPWATCH=yes
2211 DEFAULT_wxUSE_FILE=yes
2212 DEFAULT_wxUSE_FFILE=yes
2213 DEFAULT_wxUSE_TEXTBUFFER=yes
2214 DEFAULT_wxUSE_TEXTFILE=yes
2215 DEFAULT_wxUSE_SOUND=yes
2216 DEFAULT_wxUSE_INTL=yes
2217 DEFAULT_wxUSE_CONFIG=yes
2218 DEFAULT_wxUSE_FONTMAP=yes
2219 DEFAULT_wxUSE_STREAMS=yes
2220 DEFAULT_wxUSE_SOCKETS=yes
2221 DEFAULT_wxUSE_OLE=yes
2222 DEFAULT_wxUSE_DATAOBJ=yes
2223 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2224 DEFAULT_wxUSE_JOYSTICK=yes
2225 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2226 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2227 DEFAULT_wxUSE_LONGLONG=yes
2228 DEFAULT_wxUSE_GEOMETRY=yes
2230 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2231 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2232 DEFAULT_wxUSE_POSTSCRIPT=yes
2234 DEFAULT_wxUSE_CLIPBOARD=yes
2235 DEFAULT_wxUSE_TOOLTIPS=yes
2236 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2237 DEFAULT_wxUSE_DRAGIMAGE=yes
2238 DEFAULT_wxUSE_SPLINES=yes
2240 DEFAULT_wxUSE_MDI=yes
2241 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2242 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2243 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2245 DEFAULT_wxUSE_RESOURCES=no
2246 DEFAULT_wxUSE_CONSTRAINTS=yes
2247 DEFAULT_wxUSE_IPC=yes
2248 DEFAULT_wxUSE_HELP=yes
2249 DEFAULT_wxUSE_MS_HTML_HELP=yes
2250 DEFAULT_wxUSE_WXHTML_HELP=yes
2251 DEFAULT_wxUSE_TREELAYOUT=yes
2252 DEFAULT_wxUSE_METAFILE=yes
2253 DEFAULT_wxUSE_MIMETYPE=yes
2254 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2255 DEFAULT_wxUSE_PROTOCOL=yes
2256 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2257 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2258 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2259 DEFAULT_wxUSE_URL=yes
2261 DEFAULT_wxUSE_COMMONDLGS=yes
2262 DEFAULT_wxUSE_CHOICEDLG=yes
2263 DEFAULT_wxUSE_COLOURDLG=yes
2264 DEFAULT_wxUSE_DIRDLG=yes
2265 DEFAULT_wxUSE_FILEDLG=yes
2266 DEFAULT_wxUSE_FINDREPLDLG=yes
2267 DEFAULT_wxUSE_FONTDLG=yes
2268 DEFAULT_wxUSE_MSGDLG=yes
2269 DEFAULT_wxUSE_NUMBERDLG=yes
2270 DEFAULT_wxUSE_TEXTDLG=yes
2271 DEFAULT_wxUSE_SPLASH=yes
2272 DEFAULT_wxUSE_STARTUP_TIPS=yes
2273 DEFAULT_wxUSE_PROGRESSDLG=yes
2274 DEFAULT_wxUSE_WIZARDDLG=yes
2276 DEFAULT_wxUSE_MENUS=yes
2277 DEFAULT_wxUSE_MINIFRAME=yes
2278 DEFAULT_wxUSE_HTML=yes
2279 DEFAULT_wxUSE_FILESYSTEM=yes
2280 DEFAULT_wxUSE_FS_INET=yes
2281 DEFAULT_wxUSE_FS_ZIP=yes
2282 DEFAULT_wxUSE_BUSYINFO=yes
2283 DEFAULT_wxUSE_ZIPSTREAM=yes
2284 DEFAULT_wxUSE_VALIDATORS=yes
2286 DEFAULT_wxUSE_ACCEL=yes
2287 DEFAULT_wxUSE_BUTTON=yes
2288 DEFAULT_wxUSE_BMPBUTTON=yes
2289 DEFAULT_wxUSE_CALCTRL=yes
2290 DEFAULT_wxUSE_CARET=yes
2291 DEFAULT_wxUSE_CHECKBOX=yes
2292 DEFAULT_wxUSE_CHECKLST=yes
2293 DEFAULT_wxUSE_CHOICE=yes
2294 DEFAULT_wxUSE_COMBOBOX=yes
2295 DEFAULT_wxUSE_DISPLAY=yes
2296 DEFAULT_wxUSE_GAUGE=yes
2297 DEFAULT_wxUSE_GRID=yes
2298 DEFAULT_wxUSE_IMAGLIST=yes
2299 DEFAULT_wxUSE_LISTBOOK=yes
2300 DEFAULT_wxUSE_LISTBOX=yes
2301 DEFAULT_wxUSE_LISTCTRL=yes
2302 DEFAULT_wxUSE_NOTEBOOK=yes
2303 DEFAULT_wxUSE_RADIOBOX=yes
2304 DEFAULT_wxUSE_RADIOBTN=yes
2305 DEFAULT_wxUSE_SASH=yes
2306 DEFAULT_wxUSE_SCROLLBAR=yes
2307 DEFAULT_wxUSE_SLIDER=yes
2308 DEFAULT_wxUSE_SPINBTN=yes
2309 DEFAULT_wxUSE_SPINCTRL=yes
2310 DEFAULT_wxUSE_SPLITTER=yes
2311 DEFAULT_wxUSE_STATBMP=yes
2312 DEFAULT_wxUSE_STATBOX=yes
2313 DEFAULT_wxUSE_STATLINE=yes
2314 DEFAULT_wxUSE_STATTEXT=yes
2315 DEFAULT_wxUSE_STATUSBAR=yes
2316 DEFAULT_wxUSE_TABDIALOG=no
2317 DEFAULT_wxUSE_TEXTCTRL=yes
2318 DEFAULT_wxUSE_TOGGLEBTN=yes
2319 DEFAULT_wxUSE_TOOLBAR=yes
2320 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2321 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2322 DEFAULT_wxUSE_TREECTRL=yes
2323 DEFAULT_wxUSE_POPUPWIN=yes
2324 DEFAULT_wxUSE_TIPWINDOW=yes
2326 DEFAULT_wxUSE_UNICODE=no
2327 DEFAULT_wxUSE_UNICODE_MSLU=yes
2328 DEFAULT_wxUSE_WCSRTOMBS=no
2330 DEFAULT_wxUSE_PALETTE=yes
2331 DEFAULT_wxUSE_IMAGE=yes
2332 DEFAULT_wxUSE_GIF=yes
2333 DEFAULT_wxUSE_PCX=yes
2334 DEFAULT_wxUSE_IFF=no
2335 DEFAULT_wxUSE_PNM=yes
2336 DEFAULT_wxUSE_XPM=yes
2337 DEFAULT_wxUSE_ICO_CUR=yes
2338 DEFAULT_wxUSE_ACCESSIBILITY=no
2340 DEFAULT_wxUSE_MONOLITHIC=no
2341 DEFAULT_wxUSE_PLUGINS=no
2342 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2347 for toolkit in `echo $ALL_TOOLKITS`; do
2348 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2349 if test "x$LINE" != "x" ; then
2350 has_toolkit_in_cache=1
2351 eval "DEFAULT_$LINE"
2352 eval "CACHE_$toolkit=1"
2359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2360 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2362 # Check whether --enable-gui or --disable-gui was given.
2363 if test "${enable_gui+set}" = set; then
2364 enableval="$enable_gui"
2366 if test "$enableval" = yes; then
2367 ac_cv_use_gui='wxUSE_GUI=yes'
2369 ac_cv_use_gui='wxUSE_GUI=no'
2374 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2375 if test "x$LINE" != x ; then
2376 eval "DEFAULT_$LINE"
2381 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2385 eval "$ac_cv_use_gui"
2386 if test "$no_cache" != 1; then
2387 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2390 if test "$wxUSE_GUI" = yes; then
2391 echo "$as_me:$LINENO: result: yes" >&5
2392 echo "${ECHO_T}yes" >&6
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2403 # Check whether --enable-monolithic or --disable-monolithic was given.
2404 if test "${enable_monolithic+set}" = set; then
2405 enableval="$enable_monolithic"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2410 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2415 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x ; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2426 eval "$ac_cv_use_monolithic"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2431 if test "$wxUSE_MONOLITHIC" = yes; then
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2442 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2444 # Check whether --enable-plugins or --disable-plugins was given.
2445 if test "${enable_plugins+set}" = set; then
2446 enableval="$enable_plugins"
2448 if test "$enableval" = yes; then
2449 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2451 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2456 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2457 if test "x$LINE" != x ; then
2458 eval "DEFAULT_$LINE"
2463 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2467 eval "$ac_cv_use_plugins"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_PLUGINS" = yes; then
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2476 echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6
2481 if test "$wxUSE_GUI" = "yes"; then
2485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2486 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2488 # Check whether --enable-universal or --disable-universal was given.
2489 if test "${enable_universal+set}" = set; then
2490 enableval="$enable_universal"
2492 if test "$enableval" = yes; then
2493 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2495 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2500 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2501 if test "x$LINE" != x ; then
2502 eval "DEFAULT_$LINE"
2507 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2511 eval "$ac_cv_use_universal"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_UNIVERSAL" = yes; then
2517 echo "$as_me:$LINENO: result: yes" >&5
2518 echo "${ECHO_T}yes" >&6
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2525 # Check whether --with-gtk or --without-gtk was given.
2526 if test "${with_gtk+set}" = set; then
2528 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2531 # Check whether --with-motif or --without-motif was given.
2532 if test "${with_motif+set}" = set; then
2533 withval="$with_motif"
2534 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2537 # Check whether --with-mac or --without-mac was given.
2538 if test "${with_mac+set}" = set; then
2540 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2543 # Check whether --with-cocoa or --without-cocoa was given.
2544 if test "${with_cocoa+set}" = set; then
2545 withval="$with_cocoa"
2546 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2549 # Check whether --with-wine or --without-wine was given.
2550 if test "${with_wine+set}" = set; then
2551 withval="$with_wine"
2552 wxUSE_WINE="$withval" CACHE_WINE=1
2555 # Check whether --with-msw or --without-msw was given.
2556 if test "${with_msw+set}" = set; then
2558 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2561 # Check whether --with-pm or --without-pm was given.
2562 if test "${with_pm+set}" = set; then
2564 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2567 # Check whether --with-mgl or --without-mgl was given.
2568 if test "${with_mgl+set}" = set; then
2570 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2573 # Check whether --with-microwin or --without-microwin was given.
2574 if test "${with_microwin+set}" = set; then
2575 withval="$with_microwin"
2576 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2579 # Check whether --with-x11 or --without-x11 was given.
2580 if test "${with_x11+set}" = set; then
2582 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2587 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2589 # Check whether --enable-nanox or --disable-nanox was given.
2590 if test "${enable_nanox+set}" = set; then
2591 enableval="$enable_nanox"
2593 if test "$enableval" = yes; then
2594 ac_cv_use_nanox='wxUSE_NANOX=yes'
2596 ac_cv_use_nanox='wxUSE_NANOX=no'
2601 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2602 if test "x$LINE" != x ; then
2603 eval "DEFAULT_$LINE"
2608 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2612 eval "$ac_cv_use_nanox"
2613 if test "$no_cache" != 1; then
2614 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2617 if test "$wxUSE_NANOX" = yes; then
2618 echo "$as_me:$LINENO: result: yes" >&5
2619 echo "${ECHO_T}yes" >&6
2621 echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6
2628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2629 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2631 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2632 if test "${enable_gtk2+set}" = set; then
2633 enableval="$enable_gtk2"
2635 if test "$enableval" = yes; then
2636 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2638 ac_cv_use_gtk2='wxUSE_GTK2=no'
2643 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x ; then
2645 eval "DEFAULT_$LINE"
2650 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2654 eval "$ac_cv_use_gtk2"
2655 if test "$no_cache" != 1; then
2656 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2659 if test "$wxUSE_GTK2" = yes; then
2660 echo "$as_me:$LINENO: result: yes" >&5
2661 echo "${ECHO_T}yes" >&6
2663 echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2670 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2672 # Check whether --enable-gpe or --disable-gpe was given.
2673 if test "${enable_gpe+set}" = set; then
2674 enableval="$enable_gpe"
2676 if test "$enableval" = yes; then
2677 ac_cv_use_gpe='wxUSE_GPE=yes'
2679 ac_cv_use_gpe='wxUSE_GPE=no'
2684 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x ; then
2686 eval "DEFAULT_$LINE"
2691 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2695 eval "$ac_cv_use_gpe"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_GPE" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2710 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2711 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2714 # Check whether --with-libpng or --without-libpng was given.
2715 if test "${with_libpng+set}" = set; then
2716 withval="$with_libpng"
2718 if test "$withval" = yes; then
2719 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2720 elif test "$withval" = no; then
2721 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2722 elif test "$withval" = sys; then
2723 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2724 elif test "$withval" = builtin; then
2725 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2727 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2728 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2729 { (exit 1); exit 1; }; }
2734 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x ; then
2736 eval "DEFAULT_$LINE"
2741 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2745 eval "$ac_cv_use_libpng"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2750 if test "$wxUSE_LIBPNG" = yes; then
2751 echo "$as_me:$LINENO: result: yes" >&5
2752 echo "${ECHO_T}yes" >&6
2753 elif test "$wxUSE_LIBPNG" = no; then
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2756 elif test "$wxUSE_LIBPNG" = sys; then
2757 echo "$as_me:$LINENO: result: system version" >&5
2758 echo "${ECHO_T}system version" >&6
2759 elif test "$wxUSE_LIBPNG" = builtin; then
2760 echo "$as_me:$LINENO: result: builtin version" >&5
2761 echo "${ECHO_T}builtin version" >&6
2763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2764 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2765 { (exit 1); exit 1; }; }
2769 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2770 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2773 # Check whether --with-libjpeg or --without-libjpeg was given.
2774 if test "${with_libjpeg+set}" = set; then
2775 withval="$with_libjpeg"
2777 if test "$withval" = yes; then
2778 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2779 elif test "$withval" = no; then
2780 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2781 elif test "$withval" = sys; then
2782 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2783 elif test "$withval" = builtin; then
2784 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2787 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2788 { (exit 1); exit 1; }; }
2793 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x ; then
2795 eval "DEFAULT_$LINE"
2800 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2804 eval "$ac_cv_use_libjpeg"
2805 if test "$no_cache" != 1; then
2806 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2809 if test "$wxUSE_LIBJPEG" = yes; then
2810 echo "$as_me:$LINENO: result: yes" >&5
2811 echo "${ECHO_T}yes" >&6
2812 elif test "$wxUSE_LIBJPEG" = no; then
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2815 elif test "$wxUSE_LIBJPEG" = sys; then
2816 echo "$as_me:$LINENO: result: system version" >&5
2817 echo "${ECHO_T}system version" >&6
2818 elif test "$wxUSE_LIBJPEG" = builtin; then
2819 echo "$as_me:$LINENO: result: builtin version" >&5
2820 echo "${ECHO_T}builtin version" >&6
2822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2823 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2824 { (exit 1); exit 1; }; }
2828 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2829 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2832 # Check whether --with-libtiff or --without-libtiff was given.
2833 if test "${with_libtiff+set}" = set; then
2834 withval="$with_libtiff"
2836 if test "$withval" = yes; then
2837 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2838 elif test "$withval" = no; then
2839 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2840 elif test "$withval" = sys; then
2841 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2842 elif test "$withval" = builtin; then
2843 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2845 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2846 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2847 { (exit 1); exit 1; }; }
2852 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2853 if test "x$LINE" != x ; then
2854 eval "DEFAULT_$LINE"
2859 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2863 eval "$ac_cv_use_libtiff"
2864 if test "$no_cache" != 1; then
2865 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2868 if test "$wxUSE_LIBTIFF" = yes; then
2869 echo "$as_me:$LINENO: result: yes" >&5
2870 echo "${ECHO_T}yes" >&6
2871 elif test "$wxUSE_LIBTIFF" = no; then
2872 echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6
2874 elif test "$wxUSE_LIBTIFF" = sys; then
2875 echo "$as_me:$LINENO: result: system version" >&5
2876 echo "${ECHO_T}system version" >&6
2877 elif test "$wxUSE_LIBTIFF" = builtin; then
2878 echo "$as_me:$LINENO: result: builtin version" >&5
2879 echo "${ECHO_T}builtin version" >&6
2881 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2882 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2883 { (exit 1); exit 1; }; }
2887 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2888 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2891 # Check whether --with-libxpm or --without-libxpm was given.
2892 if test "${with_libxpm+set}" = set; then
2893 withval="$with_libxpm"
2895 if test "$withval" = yes; then
2896 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2897 elif test "$withval" = no; then
2898 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2899 elif test "$withval" = sys; then
2900 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2901 elif test "$withval" = builtin; then
2902 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2904 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2905 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2906 { (exit 1); exit 1; }; }
2911 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x ; then
2913 eval "DEFAULT_$LINE"
2918 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2922 eval "$ac_cv_use_libxpm"
2923 if test "$no_cache" != 1; then
2924 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2927 if test "$wxUSE_LIBXPM" = yes; then
2928 echo "$as_me:$LINENO: result: yes" >&5
2929 echo "${ECHO_T}yes" >&6
2930 elif test "$wxUSE_LIBXPM" = no; then
2931 echo "$as_me:$LINENO: result: no" >&5
2932 echo "${ECHO_T}no" >&6
2933 elif test "$wxUSE_LIBXPM" = sys; then
2934 echo "$as_me:$LINENO: result: system version" >&5
2935 echo "${ECHO_T}system version" >&6
2936 elif test "$wxUSE_LIBXPM" = builtin; then
2937 echo "$as_me:$LINENO: result: builtin version" >&5
2938 echo "${ECHO_T}builtin version" >&6
2940 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2941 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2942 { (exit 1); exit 1; }; }
2946 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2947 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2950 # Check whether --with-libmspack or --without-libmspack was given.
2951 if test "${with_libmspack+set}" = set; then
2952 withval="$with_libmspack"
2954 if test "$withval" = yes; then
2955 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2957 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2962 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x ; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2973 eval "$ac_cv_use_libmspack"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_LIBMSPACK" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2987 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2988 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2991 # Check whether --with-sdl or --without-sdl was given.
2992 if test "${with_sdl+set}" = set; then
2995 if test "$withval" = yes; then
2996 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
2998 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3003 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3014 eval "$ac_cv_use_sdl"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3019 if test "$wxUSE_LIBSDL" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3028 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3029 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3032 # Check whether --with-opengl or --without-opengl was given.
3033 if test "${with_opengl+set}" = set; then
3034 withval="$with_opengl"
3036 if test "$withval" = yes; then
3037 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3039 ac_cv_use_opengl='wxUSE_OPENGL=no'
3044 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x ; then
3046 eval "DEFAULT_$LINE"
3051 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3055 eval "$ac_cv_use_opengl"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3060 if test "$wxUSE_OPENGL" = yes; then
3061 echo "$as_me:$LINENO: result: yes" >&5
3062 echo "${ECHO_T}yes" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3072 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3073 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3076 # Check whether --with-dmalloc or --without-dmalloc was given.
3077 if test "${with_dmalloc+set}" = set; then
3078 withval="$with_dmalloc"
3080 if test "$withval" = yes; then
3081 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3083 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3088 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3089 if test "x$LINE" != x ; then
3090 eval "DEFAULT_$LINE"
3095 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3099 eval "$ac_cv_use_dmalloc"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3104 if test "$wxUSE_DMALLOC" = yes; then
3105 echo "$as_me:$LINENO: result: yes" >&5
3106 echo "${ECHO_T}yes" >&6
3108 echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6
3113 echo "$as_me:$LINENO: checking for --with-regex" >&5
3114 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3117 # Check whether --with-regex or --without-regex was given.
3118 if test "${with_regex+set}" = set; then
3119 withval="$with_regex"
3121 if test "$withval" = yes; then
3122 ac_cv_use_regex='wxUSE_REGEX=yes'
3123 elif test "$withval" = no; then
3124 ac_cv_use_regex='wxUSE_REGEX=no'
3125 elif test "$withval" = sys; then
3126 ac_cv_use_regex='wxUSE_REGEX=sys'
3127 elif test "$withval" = builtin; then
3128 ac_cv_use_regex='wxUSE_REGEX=builtin'
3130 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3131 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3132 { (exit 1); exit 1; }; }
3137 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x ; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3148 eval "$ac_cv_use_regex"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_REGEX" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3156 elif test "$wxUSE_REGEX" = no; then
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3159 elif test "$wxUSE_REGEX" = sys; then
3160 echo "$as_me:$LINENO: result: system version" >&5
3161 echo "${ECHO_T}system version" >&6
3162 elif test "$wxUSE_REGEX" = builtin; then
3163 echo "$as_me:$LINENO: result: builtin version" >&5
3164 echo "${ECHO_T}builtin version" >&6
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3172 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3173 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3176 # Check whether --with-zlib or --without-zlib was given.
3177 if test "${with_zlib+set}" = set; then
3178 withval="$with_zlib"
3180 if test "$withval" = yes; then
3181 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3182 elif test "$withval" = no; then
3183 ac_cv_use_zlib='wxUSE_ZLIB=no'
3184 elif test "$withval" = sys; then
3185 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3186 elif test "$withval" = builtin; then
3187 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3189 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3190 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3191 { (exit 1); exit 1; }; }
3196 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3207 eval "$ac_cv_use_zlib"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_ZLIB" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3215 elif test "$wxUSE_ZLIB" = no; then
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3218 elif test "$wxUSE_ZLIB" = sys; then
3219 echo "$as_me:$LINENO: result: system version" >&5
3220 echo "${ECHO_T}system version" >&6
3221 elif test "$wxUSE_ZLIB" = builtin; then
3222 echo "$as_me:$LINENO: result: builtin version" >&5
3223 echo "${ECHO_T}builtin version" >&6
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3231 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3232 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3235 # Check whether --with-odbc or --without-odbc was given.
3236 if test "${with_odbc+set}" = set; then
3237 withval="$with_odbc"
3239 if test "$withval" = yes; then
3240 ac_cv_use_odbc='wxUSE_ODBC=yes'
3241 elif test "$withval" = no; then
3242 ac_cv_use_odbc='wxUSE_ODBC=no'
3243 elif test "$withval" = sys; then
3244 ac_cv_use_odbc='wxUSE_ODBC=sys'
3245 elif test "$withval" = builtin; then
3246 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3248 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3249 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3250 { (exit 1); exit 1; }; }
3255 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x ; then
3257 eval "DEFAULT_$LINE"
3262 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3266 eval "$ac_cv_use_odbc"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3271 if test "$wxUSE_ODBC" = yes; then
3272 echo "$as_me:$LINENO: result: yes" >&5
3273 echo "${ECHO_T}yes" >&6
3274 elif test "$wxUSE_ODBC" = no; then
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3277 elif test "$wxUSE_ODBC" = sys; then
3278 echo "$as_me:$LINENO: result: system version" >&5
3279 echo "${ECHO_T}system version" >&6
3280 elif test "$wxUSE_ODBC" = builtin; then
3281 echo "$as_me:$LINENO: result: builtin version" >&5
3282 echo "${ECHO_T}builtin version" >&6
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3290 echo "$as_me:$LINENO: checking for --with-expat" >&5
3291 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3294 # Check whether --with-expat or --without-expat was given.
3295 if test "${with_expat+set}" = set; then
3296 withval="$with_expat"
3298 if test "$withval" = yes; then
3299 ac_cv_use_expat='wxUSE_EXPAT=yes'
3300 elif test "$withval" = no; then
3301 ac_cv_use_expat='wxUSE_EXPAT=no'
3302 elif test "$withval" = sys; then
3303 ac_cv_use_expat='wxUSE_EXPAT=sys'
3304 elif test "$withval" = builtin; then
3305 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3307 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3308 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3309 { (exit 1); exit 1; }; }
3314 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3315 if test "x$LINE" != x ; then
3316 eval "DEFAULT_$LINE"
3321 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3325 eval "$ac_cv_use_expat"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3330 if test "$wxUSE_EXPAT" = yes; then
3331 echo "$as_me:$LINENO: result: yes" >&5
3332 echo "${ECHO_T}yes" >&6
3333 elif test "$wxUSE_EXPAT" = no; then
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3336 elif test "$wxUSE_EXPAT" = sys; then
3337 echo "$as_me:$LINENO: result: system version" >&5
3338 echo "${ECHO_T}system version" >&6
3339 elif test "$wxUSE_EXPAT" = builtin; then
3340 echo "$as_me:$LINENO: result: builtin version" >&5
3341 echo "${ECHO_T}builtin version" >&6
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3353 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3355 # Check whether --enable-shared or --disable-shared was given.
3356 if test "${enable_shared+set}" = set; then
3357 enableval="$enable_shared"
3359 if test "$enableval" = yes; then
3360 ac_cv_use_shared='wxUSE_SHARED=yes'
3362 ac_cv_use_shared='wxUSE_SHARED=no'
3367 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x ; then
3369 eval "DEFAULT_$LINE"
3374 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3378 eval "$ac_cv_use_shared"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_SHARED" = yes; then
3384 echo "$as_me:$LINENO: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3396 # Check whether --enable-optimise or --disable-optimise was given.
3397 if test "${enable_optimise+set}" = set; then
3398 enableval="$enable_optimise"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3403 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3408 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3419 eval "$ac_cv_use_optimise"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_OPTIMISE" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3437 # Check whether --enable-debug or --disable-debug was given.
3438 if test "${enable_debug+set}" = set; then
3439 enableval="$enable_debug"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug='wxUSE_DEBUG=yes'
3444 ac_cv_use_debug='wxUSE_DEBUG=no'
3449 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3460 eval "$ac_cv_use_debug"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_DEBUG" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3478 # Check whether --enable-stl or --disable-stl was given.
3479 if test "${enable_stl+set}" = set; then
3480 enableval="$enable_stl"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_stl='wxUSE_STL=yes'
3485 ac_cv_use_stl='wxUSE_STL=no'
3490 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3501 eval "$ac_cv_use_stl"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_STL" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3514 if test "$USE_OS2" = "1"; then
3517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3520 # Check whether --enable-omf or --disable-omf was given.
3521 if test "${enable_omf+set}" = set; then
3522 enableval="$enable_omf"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_omf='wxUSE_OMF=yes'
3527 ac_cv_use_omf='wxUSE_OMF=no'
3532 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3543 eval "$ac_cv_use_omf"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_OMF" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3558 if test "$wxUSE_DEBUG" = "yes"; then
3559 DEFAULT_wxUSE_DEBUG_FLAG=yes
3560 DEFAULT_wxUSE_DEBUG_INFO=yes
3562 elif test "$wxUSE_DEBUG" = "no"; then
3563 DEFAULT_wxUSE_DEBUG_FLAG=no
3564 DEFAULT_wxUSE_DEBUG_INFO=no
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3573 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3574 if test "${enable_debug_flag+set}" = set; then
3575 enableval="$enable_debug_flag"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3580 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3585 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3596 eval "$ac_cv_use_debug_flag"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_DEBUG_FLAG" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3614 # Check whether --enable-debug_info or --disable-debug_info was given.
3615 if test "${enable_debug_info+set}" = set; then
3616 enableval="$enable_debug_info"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3621 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3626 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3637 eval "$ac_cv_use_debug_info"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_DEBUG_INFO" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3653 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3655 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3656 if test "${enable_debug_gdb+set}" = set; then
3657 enableval="$enable_debug_gdb"
3659 if test "$enableval" = yes; then
3660 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3662 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3667 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x ; then
3669 eval "DEFAULT_$LINE"
3674 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3678 eval "$ac_cv_use_debug_gdb"
3679 if test "$no_cache" != 1; then
3680 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3683 if test "$wxUSE_DEBUG_GDB" = yes; then
3684 echo "$as_me:$LINENO: result: yes" >&5
3685 echo "${ECHO_T}yes" >&6
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3694 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3696 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3697 if test "${enable_debug_cntxt+set}" = set; then
3698 enableval="$enable_debug_cntxt"
3700 if test "$enableval" = yes; then
3701 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3703 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3708 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3715 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3719 eval "$ac_cv_use_debug_cntxt"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3735 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3737 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3738 if test "${enable_mem_tracing+set}" = set; then
3739 enableval="$enable_mem_tracing"
3741 if test "$enableval" = yes; then
3742 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3744 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3749 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3756 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3760 eval "$ac_cv_use_mem_tracing"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3765 if test "$wxUSE_MEM_TRACING" = yes; then
3766 echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6
3769 echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6
3775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3776 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3778 # Check whether --enable-profile or --disable-profile was given.
3779 if test "${enable_profile+set}" = set; then
3780 enableval="$enable_profile"
3782 if test "$enableval" = yes; then
3783 ac_cv_use_profile='wxUSE_PROFILE=yes'
3785 ac_cv_use_profile='wxUSE_PROFILE=no'
3790 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3791 if test "x$LINE" != x ; then
3792 eval "DEFAULT_$LINE"
3797 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3801 eval "$ac_cv_use_profile"
3802 if test "$no_cache" != 1; then
3803 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3806 if test "$wxUSE_PROFILE" = yes; then
3807 echo "$as_me:$LINENO: result: yes" >&5
3808 echo "${ECHO_T}yes" >&6
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3817 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3819 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3820 if test "${enable_no_rtti+set}" = set; then
3821 enableval="$enable_no_rtti"
3823 if test "$enableval" = yes; then
3824 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3826 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3831 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x ; then
3833 eval "DEFAULT_$LINE"
3838 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3842 eval "$ac_cv_use_no_rtti"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_NO_RTTI" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6
3851 echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3858 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3860 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3861 if test "${enable_no_exceptions+set}" = set; then
3862 enableval="$enable_no_exceptions"
3864 if test "$enableval" = yes; then
3865 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3867 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3872 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x ; then
3874 eval "DEFAULT_$LINE"
3879 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3883 eval "$ac_cv_use_no_exceptions"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3888 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3899 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3901 # Check whether --enable-permissive or --disable-permissive was given.
3902 if test "${enable_permissive+set}" = set; then
3903 enableval="$enable_permissive"
3905 if test "$enableval" = yes; then
3906 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3908 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3913 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x ; then
3915 eval "DEFAULT_$LINE"
3920 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3924 eval "$ac_cv_use_permissive"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_PERMISSIVE" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931 echo "${ECHO_T}yes" >&6
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3942 # Check whether --enable-no_deps or --disable-no_deps was given.
3943 if test "${enable_no_deps+set}" = set; then
3944 enableval="$enable_no_deps"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3949 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3954 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x ; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3965 eval "$ac_cv_use_no_deps"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_NO_DEPS" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3982 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3984 # Check whether --enable-compat22 or --disable-compat22 was given.
3985 if test "${enable_compat22+set}" = set; then
3986 enableval="$enable_compat22"
3988 if test "$enableval" = yes; then
3989 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3991 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3996 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x ; then
3998 eval "DEFAULT_$LINE"
4003 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4007 eval "$ac_cv_use_compat22"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4012 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4013 echo "$as_me:$LINENO: result: yes" >&5
4014 echo "${ECHO_T}yes" >&6
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4021 enablestring=disable
4022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4023 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4025 # Check whether --enable-compat24 or --disable-compat24 was given.
4026 if test "${enable_compat24+set}" = set; then
4027 enableval="$enable_compat24"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4032 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4037 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x ; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4048 eval "$ac_cv_use_compat24"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4053 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4054 echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4062 # Check whether --enable-rpath or --disable-rpath was given.
4063 if test "${enable_rpath+set}" = set; then
4064 enableval="$enable_rpath"
4065 wxRPATH_DIR="$enableval"
4068 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4069 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4077 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4079 # Check whether --enable-intl or --disable-intl was given.
4080 if test "${enable_intl+set}" = set; then
4081 enableval="$enable_intl"
4083 if test "$enableval" = yes; then
4084 ac_cv_use_intl='wxUSE_INTL=yes'
4086 ac_cv_use_intl='wxUSE_INTL=no'
4091 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4092 if test "x$LINE" != x ; then
4093 eval "DEFAULT_$LINE"
4098 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4102 eval "$ac_cv_use_intl"
4103 if test "$no_cache" != 1; then
4104 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4107 if test "$wxUSE_INTL" = yes; then
4108 echo "$as_me:$LINENO: result: yes" >&5
4109 echo "${ECHO_T}yes" >&6
4111 echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4118 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4120 # Check whether --enable-config or --disable-config was given.
4121 if test "${enable_config+set}" = set; then
4122 enableval="$enable_config"
4124 if test "$enableval" = yes; then
4125 ac_cv_use_config='wxUSE_CONFIG=yes'
4127 ac_cv_use_config='wxUSE_CONFIG=no'
4132 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x ; then
4134 eval "DEFAULT_$LINE"
4139 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4143 eval "$ac_cv_use_config"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4148 if test "$wxUSE_CONFIG" = yes; then
4149 echo "$as_me:$LINENO: result: yes" >&5
4150 echo "${ECHO_T}yes" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4160 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4162 # Check whether --enable-protocols or --disable-protocols was given.
4163 if test "${enable_protocols+set}" = set; then
4164 enableval="$enable_protocols"
4166 if test "$enableval" = yes; then
4167 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4169 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4174 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x ; then
4176 eval "DEFAULT_$LINE"
4181 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4185 eval "$ac_cv_use_protocols"
4186 if test "$no_cache" != 1; then
4187 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4190 if test "$wxUSE_PROTOCOL" = yes; then
4191 echo "$as_me:$LINENO: result: yes" >&5
4192 echo "${ECHO_T}yes" >&6
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4201 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4203 # Check whether --enable-ftp or --disable-ftp was given.
4204 if test "${enable_ftp+set}" = set; then
4205 enableval="$enable_ftp"
4207 if test "$enableval" = yes; then
4208 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4210 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4215 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x ; then
4217 eval "DEFAULT_$LINE"
4222 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4226 eval "$ac_cv_use_ftp"
4227 if test "$no_cache" != 1; then
4228 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4231 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4232 echo "$as_me:$LINENO: result: yes" >&5
4233 echo "${ECHO_T}yes" >&6
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4244 # Check whether --enable-http or --disable-http was given.
4245 if test "${enable_http+set}" = set; then
4246 enableval="$enable_http"
4248 if test "$enableval" = yes; then
4249 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4251 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4256 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x ; then
4258 eval "DEFAULT_$LINE"
4263 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4267 eval "$ac_cv_use_http"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4285 # Check whether --enable-fileproto or --disable-fileproto was given.
4286 if test "${enable_fileproto+set}" = set; then
4287 enableval="$enable_fileproto"
4289 if test "$enableval" = yes; then
4290 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4292 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4297 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x ; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4308 eval "$ac_cv_use_fileproto"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4326 # Check whether --enable-sockets or --disable-sockets was given.
4327 if test "${enable_sockets+set}" = set; then
4328 enableval="$enable_sockets"
4330 if test "$enableval" = yes; then
4331 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4333 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4338 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x ; then
4340 eval "DEFAULT_$LINE"
4345 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4349 eval "$ac_cv_use_sockets"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4354 if test "$wxUSE_SOCKETS" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4367 # Check whether --enable-ole or --disable-ole was given.
4368 if test "${enable_ole+set}" = set; then
4369 enableval="$enable_ole"
4371 if test "$enableval" = yes; then
4372 ac_cv_use_ole='wxUSE_OLE=yes'
4374 ac_cv_use_ole='wxUSE_OLE=no'
4379 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x ; then
4381 eval "DEFAULT_$LINE"
4386 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4390 eval "$ac_cv_use_ole"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4395 if test "$wxUSE_OLE" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4408 # Check whether --enable-dataobj or --disable-dataobj was given.
4409 if test "${enable_dataobj+set}" = set; then
4410 enableval="$enable_dataobj"
4412 if test "$enableval" = yes; then
4413 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4415 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4420 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x ; then
4422 eval "DEFAULT_$LINE"
4427 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4431 eval "$ac_cv_use_dataobj"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_DATAOBJ" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4450 # Check whether --enable-ipc or --disable-ipc was given.
4451 if test "${enable_ipc+set}" = set; then
4452 enableval="$enable_ipc"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_ipc='wxUSE_IPC=yes'
4457 ac_cv_use_ipc='wxUSE_IPC=no'
4462 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4473 eval "$ac_cv_use_ipc"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_IPC" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4492 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4493 if test "${enable_apple_ieee+set}" = set; then
4494 enableval="$enable_apple_ieee"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4499 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4504 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4515 eval "$ac_cv_use_apple_ieee"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_APPLE_IEEE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4533 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4534 if test "${enable_catch_segvs+set}" = set; then
4535 enableval="$enable_catch_segvs"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4540 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4545 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4556 eval "$ac_cv_use_catch_segvs"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4574 # Check whether --enable-cmdline or --disable-cmdline was given.
4575 if test "${enable_cmdline+set}" = set; then
4576 enableval="$enable_cmdline"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4581 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4586 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4597 eval "$ac_cv_use_cmdline"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4615 # Check whether --enable-datetime or --disable-datetime was given.
4616 if test "${enable_datetime+set}" = set; then
4617 enableval="$enable_datetime"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4622 ac_cv_use_datetime='wxUSE_DATETIME=no'
4627 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4638 eval "$ac_cv_use_datetime"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_DATETIME" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4656 # Check whether --enable-dialupman or --disable-dialupman was given.
4657 if test "${enable_dialupman+set}" = set; then
4658 enableval="$enable_dialupman"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4663 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4668 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4679 eval "$ac_cv_use_dialupman"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4697 # Check whether --enable-dynlib or --disable-dynlib was given.
4698 if test "${enable_dynlib+set}" = set; then
4699 enableval="$enable_dynlib"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4704 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4709 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4720 eval "$ac_cv_use_dynlib"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4738 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4739 if test "${enable_dynamicloader+set}" = set; then
4740 enableval="$enable_dynamicloader"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4745 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4750 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4761 eval "$ac_cv_use_dynamicloader"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4779 # Check whether --enable-exceptions or --disable-exceptions was given.
4780 if test "${enable_exceptions+set}" = set; then
4781 enableval="$enable_exceptions"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4786 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4791 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x ; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4802 eval "$ac_cv_use_exceptions"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_EXCEPTIONS" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4820 # Check whether --enable-ffile or --disable-ffile was given.
4821 if test "${enable_ffile+set}" = set; then
4822 enableval="$enable_ffile"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_ffile='wxUSE_FFILE=yes'
4827 ac_cv_use_ffile='wxUSE_FFILE=no'
4832 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4843 eval "$ac_cv_use_ffile"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_FFILE" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4861 # Check whether --enable-file or --disable-file was given.
4862 if test "${enable_file+set}" = set; then
4863 enableval="$enable_file"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_file='wxUSE_FILE=yes'
4868 ac_cv_use_file='wxUSE_FILE=no'
4873 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x ; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4884 eval "$ac_cv_use_file"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4889 if test "$wxUSE_FILE" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4902 # Check whether --enable-filesystem or --disable-filesystem was given.
4903 if test "${enable_filesystem+set}" = set; then
4904 enableval="$enable_filesystem"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4909 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4914 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x ; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4925 eval "$ac_cv_use_filesystem"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_FILESYSTEM" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4943 # Check whether --enable-fontmap or --disable-fontmap was given.
4944 if test "${enable_fontmap+set}" = set; then
4945 enableval="$enable_fontmap"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4950 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4955 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x ; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4966 eval "$ac_cv_use_fontmap"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_FONTMAP" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4984 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4985 if test "${enable_fs_inet+set}" = set; then
4986 enableval="$enable_fs_inet"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4991 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4996 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x ; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5007 eval "$ac_cv_use_fs_inet"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_FS_INET" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5025 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5026 if test "${enable_fs_zip+set}" = set; then
5027 enableval="$enable_fs_zip"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5032 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5037 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5048 eval "$ac_cv_use_fs_zip"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_FS_ZIP" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5066 # Check whether --enable-geometry or --disable-geometry was given.
5067 if test "${enable_geometry+set}" = set; then
5068 enableval="$enable_geometry"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5073 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5078 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x ; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5089 eval "$ac_cv_use_geometry"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_GEOMETRY" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5107 # Check whether --enable-log or --disable-log was given.
5108 if test "${enable_log+set}" = set; then
5109 enableval="$enable_log"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_log='wxUSE_LOG=yes'
5114 ac_cv_use_log='wxUSE_LOG=no'
5119 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x ; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5130 eval "$ac_cv_use_log"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_LOG" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5148 # Check whether --enable-longlong or --disable-longlong was given.
5149 if test "${enable_longlong+set}" = set; then
5150 enableval="$enable_longlong"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5155 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5160 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x ; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5171 eval "$ac_cv_use_longlong"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_LONGLONG" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5189 # Check whether --enable-mimetype or --disable-mimetype was given.
5190 if test "${enable_mimetype+set}" = set; then
5191 enableval="$enable_mimetype"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5196 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5201 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x ; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5212 eval "$ac_cv_use_mimetype"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5217 if test "$wxUSE_MIMETYPE" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5230 # Check whether --enable-mslu or --disable-mslu was given.
5231 if test "${enable_mslu+set}" = set; then
5232 enableval="$enable_mslu"
5234 if test "$enableval" = yes; then
5235 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5237 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5242 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5249 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5253 eval "$ac_cv_use_mslu"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_UNICODE_MSLU" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5271 # Check whether --enable-snglinst or --disable-snglinst was given.
5272 if test "${enable_snglinst+set}" = set; then
5273 enableval="$enable_snglinst"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5278 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5283 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x ; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5294 eval "$ac_cv_use_snglinst"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5299 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5312 # Check whether --enable-streams or --disable-streams was given.
5313 if test "${enable_streams+set}" = set; then
5314 enableval="$enable_streams"
5316 if test "$enableval" = yes; then
5317 ac_cv_use_streams='wxUSE_STREAMS=yes'
5319 ac_cv_use_streams='wxUSE_STREAMS=no'
5324 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x ; then
5326 eval "DEFAULT_$LINE"
5331 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5335 eval "$ac_cv_use_streams"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_STREAMS" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5353 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5354 if test "${enable_std_iostreams+set}" = set; then
5355 enableval="$enable_std_iostreams"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5360 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5365 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x ; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5376 eval "$ac_cv_use_std_iostreams"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_STD_IOSTREAM" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5394 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5395 if test "${enable_stopwatch+set}" = set; then
5396 enableval="$enable_stopwatch"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5401 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5406 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x ; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5417 eval "$ac_cv_use_stopwatch"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5422 if test "$wxUSE_STOPWATCH" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5435 # Check whether --enable-system_options or --disable-system_options was given.
5436 if test "${enable_system_options+set}" = set; then
5437 enableval="$enable_system_options"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5442 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5447 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x ; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5458 eval "$ac_cv_use_system_options"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5476 # Check whether --enable-textbuf or --disable-textbuf was given.
5477 if test "${enable_textbuf+set}" = set; then
5478 enableval="$enable_textbuf"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5483 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5488 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x ; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5499 eval "$ac_cv_use_textbuf"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_TEXTBUFFER" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5517 # Check whether --enable-textfile or --disable-textfile was given.
5518 if test "${enable_textfile+set}" = set; then
5519 enableval="$enable_textfile"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5524 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5529 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x ; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5540 eval "$ac_cv_use_textfile"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_TEXTFILE" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5558 # Check whether --enable-timer or --disable-timer was given.
5559 if test "${enable_timer+set}" = set; then
5560 enableval="$enable_timer"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_timer='wxUSE_TIMER=yes'
5565 ac_cv_use_timer='wxUSE_TIMER=no'
5570 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x ; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5581 eval "$ac_cv_use_timer"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_TIMER" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5599 # Check whether --enable-unicode or --disable-unicode was given.
5600 if test "${enable_unicode+set}" = set; then
5601 enableval="$enable_unicode"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5606 ac_cv_use_unicode='wxUSE_UNICODE=no'
5611 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5622 eval "$ac_cv_use_unicode"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_UNICODE" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5640 # Check whether --enable-sound or --disable-sound was given.
5641 if test "${enable_sound+set}" = set; then
5642 enableval="$enable_sound"
5644 if test "$enableval" = yes; then
5645 ac_cv_use_sound='wxUSE_SOUND=yes'
5647 ac_cv_use_sound='wxUSE_SOUND=no'
5652 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x ; then
5654 eval "DEFAULT_$LINE"
5659 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5663 eval "$ac_cv_use_sound"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5668 if test "$wxUSE_SOUND" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5681 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5682 if test "${enable_wxprintfv+set}" = set; then
5683 enableval="$enable_wxprintfv"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5688 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5693 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5704 eval "$ac_cv_use_wxprintfv"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5722 # Check whether --enable-zipstream or --disable-zipstream was given.
5723 if test "${enable_zipstream+set}" = set; then
5724 enableval="$enable_zipstream"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5729 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5734 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x ; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5745 eval "$ac_cv_use_zipstream"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_ZIPSTREAM" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5764 # Check whether --enable-url or --disable-url was given.
5765 if test "${enable_url+set}" = set; then
5766 enableval="$enable_url"
5768 if test "$enableval" = yes; then
5769 ac_cv_use_url='wxUSE_URL=yes'
5771 ac_cv_use_url='wxUSE_URL=no'
5776 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x ; then
5778 eval "DEFAULT_$LINE"
5783 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5787 eval "$ac_cv_use_url"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_URL" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5805 # Check whether --enable-protocol or --disable-protocol was given.
5806 if test "${enable_protocol+set}" = set; then
5807 enableval="$enable_protocol"
5809 if test "$enableval" = yes; then
5810 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5812 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5817 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5824 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5828 eval "$ac_cv_use_protocol"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5833 if test "$wxUSE_PROTOCOL" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5846 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5847 if test "${enable_protocol_http+set}" = set; then
5848 enableval="$enable_protocol_http"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5853 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5858 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5869 eval "$ac_cv_use_protocol_http"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5887 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5888 if test "${enable_protocol_ftp+set}" = set; then
5889 enableval="$enable_protocol_ftp"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5894 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5899 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5910 eval "$ac_cv_use_protocol_ftp"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5928 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5929 if test "${enable_protocol_file+set}" = set; then
5930 enableval="$enable_protocol_file"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5935 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5940 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5951 eval "$ac_cv_use_protocol_file"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5972 # Check whether --enable-threads or --disable-threads was given.
5973 if test "${enable_threads+set}" = set; then
5974 enableval="$enable_threads"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_threads='wxUSE_THREADS=yes'
5979 ac_cv_use_threads='wxUSE_THREADS=no'
5984 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5995 eval "$ac_cv_use_threads"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_THREADS" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002 echo "${ECHO_T}yes" >&6
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6009 if test "$wxUSE_GUI" = "yes"; then
6014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6017 # Check whether --enable-docview or --disable-docview was given.
6018 if test "${enable_docview+set}" = set; then
6019 enableval="$enable_docview"
6021 if test "$enableval" = yes; then
6022 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6024 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6029 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x ; then
6031 eval "DEFAULT_$LINE"
6036 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6040 eval "$ac_cv_use_docview"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6046 echo "$as_me:$LINENO: result: yes" >&5
6047 echo "${ECHO_T}yes" >&6
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6058 # Check whether --enable-help or --disable-help was given.
6059 if test "${enable_help+set}" = set; then
6060 enableval="$enable_help"
6062 if test "$enableval" = yes; then
6063 ac_cv_use_help='wxUSE_HELP=yes'
6065 ac_cv_use_help='wxUSE_HELP=no'
6070 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x ; then
6072 eval "DEFAULT_$LINE"
6077 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6081 eval "$ac_cv_use_help"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6086 if test "$wxUSE_HELP" = yes; then
6087 echo "$as_me:$LINENO: result: yes" >&5
6088 echo "${ECHO_T}yes" >&6
6090 echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6099 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6100 if test "${enable_mshtmlhelp+set}" = set; then
6101 enableval="$enable_mshtmlhelp"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6106 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6111 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x ; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6122 eval "$ac_cv_use_mshtmlhelp"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_MS_HTML_HELP" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6140 # Check whether --enable-html or --disable-html was given.
6141 if test "${enable_html+set}" = set; then
6142 enableval="$enable_html"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_html='wxUSE_HTML=yes'
6147 ac_cv_use_html='wxUSE_HTML=no'
6152 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x ; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6163 eval "$ac_cv_use_html"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_HTML" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6181 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6182 if test "${enable_htmlhelp+set}" = set; then
6183 enableval="$enable_htmlhelp"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6188 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6193 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x ; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6204 eval "$ac_cv_use_htmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_WXHTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6222 # Check whether --enable-constraints or --disable-constraints was given.
6223 if test "${enable_constraints+set}" = set; then
6224 enableval="$enable_constraints"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6229 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6234 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6245 eval "$ac_cv_use_constraints"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_CONSTRAINTS" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6263 # Check whether --enable-printarch or --disable-printarch was given.
6264 if test "${enable_printarch+set}" = set; then
6265 enableval="$enable_printarch"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6270 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6275 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6286 eval "$ac_cv_use_printarch"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6304 # Check whether --enable-mdi or --disable-mdi was given.
6305 if test "${enable_mdi+set}" = set; then
6306 enableval="$enable_mdi"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_mdi='wxUSE_MDI=yes'
6311 ac_cv_use_mdi='wxUSE_MDI=no'
6316 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x ; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6327 eval "$ac_cv_use_mdi"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_MDI" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6345 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6346 if test "${enable_mdidoc+set}" = set; then
6347 enableval="$enable_mdidoc"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6352 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6357 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x ; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6368 eval "$ac_cv_use_mdidoc"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6386 # Check whether --enable-loggui or --disable-loggui was given.
6387 if test "${enable_loggui+set}" = set; then
6388 enableval="$enable_loggui"
6390 if test "$enableval" = yes; then
6391 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6393 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6398 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x ; then
6400 eval "DEFAULT_$LINE"
6405 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6409 eval "$ac_cv_use_loggui"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6414 if test "$wxUSE_LOGGUI" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6427 # Check whether --enable-logwin or --disable-logwin was given.
6428 if test "${enable_logwin+set}" = set; then
6429 enableval="$enable_logwin"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6434 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6439 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x ; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6450 eval "$ac_cv_use_logwin"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6455 if test "$wxUSE_LOGWINDOW" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6468 # Check whether --enable-logdialog or --disable-logdialog was given.
6469 if test "${enable_logdialog+set}" = set; then
6470 enableval="$enable_logdialog"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6475 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6480 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x ; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6491 eval "$ac_cv_use_logdialog"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6496 if test "$wxUSE_LOGDIALOG" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6510 # Check whether --enable-postscript or --disable-postscript was given.
6511 if test "${enable_postscript+set}" = set; then
6512 enableval="$enable_postscript"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6517 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6522 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x ; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6533 eval "$ac_cv_use_postscript"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_POSTSCRIPT" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6554 # Check whether --enable-prologio or --disable-prologio was given.
6555 if test "${enable_prologio+set}" = set; then
6556 enableval="$enable_prologio"
6558 if test "$enableval" = yes; then
6559 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6561 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6566 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6567 if test "x$LINE" != x ; then
6568 eval "DEFAULT_$LINE"
6573 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6577 eval "$ac_cv_use_prologio"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6582 if test "$wxUSE_PROLOGIO" = yes; then
6583 echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6
6586 echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6595 # Check whether --enable-resources or --disable-resources was given.
6596 if test "${enable_resources+set}" = set; then
6597 enableval="$enable_resources"
6599 if test "$enableval" = yes; then
6600 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6602 ac_cv_use_resources='wxUSE_RESOURCES=no'
6607 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6614 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6618 eval "$ac_cv_use_resources"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_RESOURCES" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6638 # Check whether --enable-clipboard or --disable-clipboard was given.
6639 if test "${enable_clipboard+set}" = set; then
6640 enableval="$enable_clipboard"
6642 if test "$enableval" = yes; then
6643 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6645 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6650 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6657 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6661 eval "$ac_cv_use_clipboard"
6662 if test "$no_cache" != 1; then
6663 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6666 if test "$wxUSE_CLIPBOARD" = yes; then
6667 echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6
6670 echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6679 # Check whether --enable-dnd or --disable-dnd was given.
6680 if test "${enable_dnd+set}" = set; then
6681 enableval="$enable_dnd"
6683 if test "$enableval" = yes; then
6684 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6686 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6691 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6702 eval "$ac_cv_use_dnd"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6720 # Check whether --enable-metafile or --disable-metafile was given.
6721 if test "${enable_metafile+set}" = set; then
6722 enableval="$enable_metafile"
6724 if test "$enableval" = yes; then
6725 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6727 ac_cv_use_metafile='wxUSE_METAFILE=no'
6732 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6739 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6743 eval "$ac_cv_use_metafile"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6748 if test "$wxUSE_METAFILE" = yes; then
6749 echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6
6752 echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6764 # Check whether --enable-controls or --disable-controls was given.
6765 if test "${enable_controls+set}" = set; then
6766 enableval="$enable_controls"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6771 ac_cv_use_controls='wxUSE_CONTROLS=no'
6776 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6787 eval "$ac_cv_use_controls"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6792 if test "$wxUSE_CONTROLS" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6801 if test "$wxUSE_CONTROLS" = "yes"; then
6802 DEFAULT_wxUSE_ACCEL=yes
6803 DEFAULT_wxUSE_BMPBUTTON=yes
6804 DEFAULT_wxUSE_BUTTON=yes
6805 DEFAULT_wxUSE_CALCTRL=no
6806 DEFAULT_wxUSE_CARET=yes
6807 DEFAULT_wxUSE_COMBOBOX=yes
6808 DEFAULT_wxUSE_CHECKBOX=yes
6809 DEFAULT_wxUSE_CHECKLISTBOX=yes
6810 DEFAULT_wxUSE_CHOICE=yes
6811 DEFAULT_wxUSE_GAUGE=yes
6812 DEFAULT_wxUSE_GRID=yes
6813 DEFAULT_wxUSE_IMAGLIST=yes
6814 DEFAULT_wxUSE_LISTBOOK=yes
6815 DEFAULT_wxUSE_LISTBOX=yes
6816 DEFAULT_wxUSE_LISTCTRL=yes
6817 DEFAULT_wxUSE_NOTEBOOK=yes
6818 DEFAULT_wxUSE_RADIOBOX=yes
6819 DEFAULT_wxUSE_RADIOBTN=yes
6820 DEFAULT_wxUSE_SASH=yes
6821 DEFAULT_wxUSE_SCROLLBAR=yes
6822 DEFAULT_wxUSE_SLIDER=yes
6823 DEFAULT_wxUSE_SPINBTN=yes
6824 DEFAULT_wxUSE_SPINCTRL=yes
6825 DEFAULT_wxUSE_SPLITTER=yes
6826 DEFAULT_wxUSE_STATBMP=yes
6827 DEFAULT_wxUSE_STATBOX=yes
6828 DEFAULT_wxUSE_STATLINE=yes
6829 DEFAULT_wxUSE_STATUSBAR=yes
6830 DEFAULT_wxUSE_TAB_DIALOG=yes
6831 DEFAULT_wxUSE_TOGGLEBTN=yes
6832 DEFAULT_wxUSE_TOOLBAR=yes
6833 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6834 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6835 DEFAULT_wxUSE_TOOLTIPS=yes
6836 DEFAULT_wxUSE_TREECTRL=yes
6837 DEFAULT_wxUSE_POPUPWIN=yes
6838 DEFAULT_wxUSE_TIPWINDOW=yes
6839 elif test "$wxUSE_CONTROLS" = "no"; then
6840 DEFAULT_wxUSE_ACCEL=no
6841 DEFAULT_wxUSE_BMPBUTTON=no
6842 DEFAULT_wxUSE_BUTTON=no
6843 DEFAULT_wxUSE_CALCTRL=no
6844 DEFAULT_wxUSE_CARET=no
6845 DEFAULT_wxUSE_COMBOBOX=no
6846 DEFAULT_wxUSE_CHECKBOX=no
6847 DEFAULT_wxUSE_CHECKLISTBOX=no
6848 DEFAULT_wxUSE_CHOICE=no
6849 DEFAULT_wxUSE_GAUGE=no
6850 DEFAULT_wxUSE_GRID=no
6851 DEFAULT_wxUSE_IMAGLIST=no
6852 DEFAULT_wxUSE_LISTBOOK=no
6853 DEFAULT_wxUSE_LISTBOX=no
6854 DEFAULT_wxUSE_LISTCTRL=no
6855 DEFAULT_wxUSE_NOTEBOOK=no
6856 DEFAULT_wxUSE_RADIOBOX=no
6857 DEFAULT_wxUSE_RADIOBTN=no
6858 DEFAULT_wxUSE_SASH=no
6859 DEFAULT_wxUSE_SCROLLBAR=no
6860 DEFAULT_wxUSE_SLIDER=no
6861 DEFAULT_wxUSE_SPINBTN=no
6862 DEFAULT_wxUSE_SPINCTRL=no
6863 DEFAULT_wxUSE_SPLITTER=no
6864 DEFAULT_wxUSE_STATBMP=no
6865 DEFAULT_wxUSE_STATBOX=no
6866 DEFAULT_wxUSE_STATLINE=no
6867 DEFAULT_wxUSE_STATUSBAR=no
6868 DEFAULT_wxUSE_TAB_DIALOG=no
6869 DEFAULT_wxUSE_TOGGLEBTN=no
6870 DEFAULT_wxUSE_TOOLBAR=no
6871 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6872 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6873 DEFAULT_wxUSE_TOOLTIPS=no
6874 DEFAULT_wxUSE_TREECTRL=no
6875 DEFAULT_wxUSE_POPUPWIN=no
6876 DEFAULT_wxUSE_TIPWINDOW=no
6879 ## FIXME: This is a blatant hack
6880 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6881 wxUSE_PRINTING_ARCHITECTURE=no
6882 wxUSE_DRAG_AND_DROP=no
6883 # Generic notebook requires tab dialog
6884 DEFAULT_wxUSE_TABDIALOG=yes
6885 DEFAULT_wxUSE_SCROLLBAR=no
6886 DEFAULT_wxUSE_TOOLTIPS=no
6887 DEFAULT_wxUSE_DRAGIMAGE=no
6892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6895 # Check whether --enable-accel or --disable-accel was given.
6896 if test "${enable_accel+set}" = set; then
6897 enableval="$enable_accel"
6899 if test "$enableval" = yes; then
6900 ac_cv_use_accel='wxUSE_ACCEL=yes'
6902 ac_cv_use_accel='wxUSE_ACCEL=no'
6907 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x ; then
6909 eval "DEFAULT_$LINE"
6914 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6918 eval "$ac_cv_use_accel"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6923 if test "$wxUSE_ACCEL" = yes; then
6924 echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6927 echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6936 # Check whether --enable-button or --disable-button was given.
6937 if test "${enable_button+set}" = set; then
6938 enableval="$enable_button"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_button='wxUSE_BUTTON=yes'
6943 ac_cv_use_button='wxUSE_BUTTON=no'
6948 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6959 eval "$ac_cv_use_button"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6964 if test "$wxUSE_BUTTON" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6977 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6978 if test "${enable_bmpbutton+set}" = set; then
6979 enableval="$enable_bmpbutton"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6984 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6989 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7000 eval "$ac_cv_use_bmpbutton"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_BMPBUTTON" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7018 # Check whether --enable-calendar or --disable-calendar was given.
7019 if test "${enable_calendar+set}" = set; then
7020 enableval="$enable_calendar"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7025 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7030 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7041 eval "$ac_cv_use_calendar"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_CALCTRL" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7059 # Check whether --enable-caret or --disable-caret was given.
7060 if test "${enable_caret+set}" = set; then
7061 enableval="$enable_caret"
7063 if test "$enableval" = yes; then
7064 ac_cv_use_caret='wxUSE_CARET=yes'
7066 ac_cv_use_caret='wxUSE_CARET=no'
7071 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7078 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7082 eval "$ac_cv_use_caret"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_CARET" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7100 # Check whether --enable-checkbox or --disable-checkbox was given.
7101 if test "${enable_checkbox+set}" = set; then
7102 enableval="$enable_checkbox"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7107 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7112 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7123 eval "$ac_cv_use_checkbox"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7128 if test "$wxUSE_CHECKBOX" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7141 # Check whether --enable-checklst or --disable-checklst was given.
7142 if test "${enable_checklst+set}" = set; then
7143 enableval="$enable_checklst"
7145 if test "$enableval" = yes; then
7146 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7148 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7153 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7160 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7164 eval "$ac_cv_use_checklst"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_CHECKLST" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7182 # Check whether --enable-choice or --disable-choice was given.
7183 if test "${enable_choice+set}" = set; then
7184 enableval="$enable_choice"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_choice='wxUSE_CHOICE=yes'
7189 ac_cv_use_choice='wxUSE_CHOICE=no'
7194 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7205 eval "$ac_cv_use_choice"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_CHOICE" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7223 # Check whether --enable-combobox or --disable-combobox was given.
7224 if test "${enable_combobox+set}" = set; then
7225 enableval="$enable_combobox"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7230 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7235 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7246 eval "$ac_cv_use_combobox"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_COMBOBOX" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7264 # Check whether --enable-display or --disable-display was given.
7265 if test "${enable_display+set}" = set; then
7266 enableval="$enable_display"
7268 if test "$enableval" = yes; then
7269 ac_cv_use_display='wxUSE_DISPLAY=yes'
7271 ac_cv_use_display='wxUSE_DISPLAY=no'
7276 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7283 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7287 eval "$ac_cv_use_display"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_DISPLAY" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7305 # Check whether --enable-gauge or --disable-gauge was given.
7306 if test "${enable_gauge+set}" = set; then
7307 enableval="$enable_gauge"
7309 if test "$enableval" = yes; then
7310 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7312 ac_cv_use_gauge='wxUSE_GAUGE=no'
7317 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7324 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7328 eval "$ac_cv_use_gauge"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_GAUGE" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7346 # Check whether --enable-grid or --disable-grid was given.
7347 if test "${enable_grid+set}" = set; then
7348 enableval="$enable_grid"
7350 if test "$enableval" = yes; then
7351 ac_cv_use_grid='wxUSE_GRID=yes'
7353 ac_cv_use_grid='wxUSE_GRID=no'
7358 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7365 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7369 eval "$ac_cv_use_grid"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_GRID" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7387 # Check whether --enable-imaglist or --disable-imaglist was given.
7388 if test "${enable_imaglist+set}" = set; then
7389 enableval="$enable_imaglist"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7394 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7399 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7410 eval "$ac_cv_use_imaglist"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_IMAGLIST" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7428 # Check whether --enable-listbook or --disable-listbook was given.
7429 if test "${enable_listbook+set}" = set; then
7430 enableval="$enable_listbook"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7435 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7440 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7451 eval "$ac_cv_use_listbook"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_LISTBOOK" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7469 # Check whether --enable-listbox or --disable-listbox was given.
7470 if test "${enable_listbox+set}" = set; then
7471 enableval="$enable_listbox"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7476 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7481 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7492 eval "$ac_cv_use_listbox"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_LISTBOX" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7510 # Check whether --enable-listctrl or --disable-listctrl was given.
7511 if test "${enable_listctrl+set}" = set; then
7512 enableval="$enable_listctrl"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7517 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7522 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7533 eval "$ac_cv_use_listctrl"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_LISTCTRL" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7551 # Check whether --enable-notebook or --disable-notebook was given.
7552 if test "${enable_notebook+set}" = set; then
7553 enableval="$enable_notebook"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7558 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7563 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7574 eval "$ac_cv_use_notebook"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_NOTEBOOK" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7592 # Check whether --enable-radiobox or --disable-radiobox was given.
7593 if test "${enable_radiobox+set}" = set; then
7594 enableval="$enable_radiobox"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7599 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7604 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7615 eval "$ac_cv_use_radiobox"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_RADIOBOX" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7633 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7634 if test "${enable_radiobtn+set}" = set; then
7635 enableval="$enable_radiobtn"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7640 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7645 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7656 eval "$ac_cv_use_radiobtn"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_RADIOBTN" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7674 # Check whether --enable-sash or --disable-sash was given.
7675 if test "${enable_sash+set}" = set; then
7676 enableval="$enable_sash"
7678 if test "$enableval" = yes; then
7679 ac_cv_use_sash='wxUSE_SASH=yes'
7681 ac_cv_use_sash='wxUSE_SASH=no'
7686 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x ; then
7688 eval "DEFAULT_$LINE"
7693 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7697 eval "$ac_cv_use_sash"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7702 if test "$wxUSE_SASH" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7715 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7716 if test "${enable_scrollbar+set}" = set; then
7717 enableval="$enable_scrollbar"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7722 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7727 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7738 eval "$ac_cv_use_scrollbar"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7743 if test "$wxUSE_SCROLLBAR" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7756 # Check whether --enable-slider or --disable-slider was given.
7757 if test "${enable_slider+set}" = set; then
7758 enableval="$enable_slider"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_slider='wxUSE_SLIDER=yes'
7763 ac_cv_use_slider='wxUSE_SLIDER=no'
7768 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7779 eval "$ac_cv_use_slider"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7784 if test "$wxUSE_SLIDER" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7797 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7798 if test "${enable_spinbtn+set}" = set; then
7799 enableval="$enable_spinbtn"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7804 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7809 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7820 eval "$ac_cv_use_spinbtn"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_SPINBTN" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7838 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7839 if test "${enable_spinctrl+set}" = set; then
7840 enableval="$enable_spinctrl"
7842 if test "$enableval" = yes; then
7843 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7845 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7850 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x ; then
7852 eval "DEFAULT_$LINE"
7857 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7861 eval "$ac_cv_use_spinctrl"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7866 if test "$wxUSE_SPINCTRL" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7879 # Check whether --enable-splitter or --disable-splitter was given.
7880 if test "${enable_splitter+set}" = set; then
7881 enableval="$enable_splitter"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7886 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7891 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x ; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7902 eval "$ac_cv_use_splitter"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7907 if test "$wxUSE_SPLITTER" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7920 # Check whether --enable-statbmp or --disable-statbmp was given.
7921 if test "${enable_statbmp+set}" = set; then
7922 enableval="$enable_statbmp"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7927 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7932 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7943 eval "$ac_cv_use_statbmp"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7948 if test "$wxUSE_STATBMP" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7961 # Check whether --enable-statbox or --disable-statbox was given.
7962 if test "${enable_statbox+set}" = set; then
7963 enableval="$enable_statbox"
7965 if test "$enableval" = yes; then
7966 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7968 ac_cv_use_statbox='wxUSE_STATBOX=no'
7973 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x ; then
7975 eval "DEFAULT_$LINE"
7980 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7984 eval "$ac_cv_use_statbox"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7989 if test "$wxUSE_STATBOX" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8002 # Check whether --enable-statline or --disable-statline was given.
8003 if test "${enable_statline+set}" = set; then
8004 enableval="$enable_statline"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_statline='wxUSE_STATLINE=yes'
8009 ac_cv_use_statline='wxUSE_STATLINE=no'
8014 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x ; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8025 eval "$ac_cv_use_statline"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8030 if test "$wxUSE_STATLINE" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8043 # Check whether --enable-stattext or --disable-stattext was given.
8044 if test "${enable_stattext+set}" = set; then
8045 enableval="$enable_stattext"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8050 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8055 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8066 eval "$ac_cv_use_stattext"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8071 if test "$wxUSE_STATTEXT" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8084 # Check whether --enable-statusbar or --disable-statusbar was given.
8085 if test "${enable_statusbar+set}" = set; then
8086 enableval="$enable_statusbar"
8088 if test "$enableval" = yes; then
8089 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8091 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8096 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8103 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8107 eval "$ac_cv_use_statusbar"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_STATUSBAR" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8125 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8126 if test "${enable_tabdialog+set}" = set; then
8127 enableval="$enable_tabdialog"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8132 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8137 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x ; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8148 eval "$ac_cv_use_tabdialog"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8153 if test "$wxUSE_TABDIALOG" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8166 # Check whether --enable-textctrl or --disable-textctrl was given.
8167 if test "${enable_textctrl+set}" = set; then
8168 enableval="$enable_textctrl"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8173 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8178 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x ; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8189 eval "$ac_cv_use_textctrl"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_TEXTCTRL" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8207 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8208 if test "${enable_togglebtn+set}" = set; then
8209 enableval="$enable_togglebtn"
8211 if test "$enableval" = yes; then
8212 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8214 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8219 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8226 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8230 eval "$ac_cv_use_togglebtn"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_TOGGLEBTN" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8248 # Check whether --enable-toolbar or --disable-toolbar was given.
8249 if test "${enable_toolbar+set}" = set; then
8250 enableval="$enable_toolbar"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8255 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8260 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x ; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8271 eval "$ac_cv_use_toolbar"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8276 if test "$wxUSE_TOOLBAR" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8289 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8290 if test "${enable_tbarnative+set}" = set; then
8291 enableval="$enable_tbarnative"
8293 if test "$enableval" = yes; then
8294 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8296 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8301 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x ; then
8303 eval "DEFAULT_$LINE"
8308 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8312 eval "$ac_cv_use_tbarnative"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8330 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8331 if test "${enable_tbarsmpl+set}" = set; then
8332 enableval="$enable_tbarsmpl"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8337 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8342 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x ; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8353 eval "$ac_cv_use_tbarsmpl"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8358 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8371 # Check whether --enable-treectrl or --disable-treectrl was given.
8372 if test "${enable_treectrl+set}" = set; then
8373 enableval="$enable_treectrl"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8378 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8383 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x ; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8394 eval "$ac_cv_use_treectrl"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_TREECTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8412 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8413 if test "${enable_tipwindow+set}" = set; then
8414 enableval="$enable_tipwindow"
8416 if test "$enableval" = yes; then
8417 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8419 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8424 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8431 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8435 eval "$ac_cv_use_tipwindow"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_TIPWINDOW" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8453 # Check whether --enable-popupwin or --disable-popupwin was given.
8454 if test "${enable_popupwin+set}" = set; then
8455 enableval="$enable_popupwin"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8460 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8465 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8476 eval "$ac_cv_use_popupwin"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_POPUPWIN" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8496 # Check whether --enable-commondlg or --disable-commondlg was given.
8497 if test "${enable_commondlg+set}" = set; then
8498 enableval="$enable_commondlg"
8500 if test "$enableval" = yes; then
8501 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8503 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8508 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8519 eval "$ac_cv_use_commondlg"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8524 if test "$wxUSE_COMMONDLGS" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8537 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8538 if test "${enable_choicedlg+set}" = set; then
8539 enableval="$enable_choicedlg"
8541 if test "$enableval" = yes; then
8542 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8544 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8549 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8560 eval "$ac_cv_use_choicedlg"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8565 if test "$wxUSE_CHOICEDLG" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8578 # Check whether --enable-coldlg or --disable-coldlg was given.
8579 if test "${enable_coldlg+set}" = set; then
8580 enableval="$enable_coldlg"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8585 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8590 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8601 eval "$ac_cv_use_coldlg"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8606 if test "$wxUSE_COLOURDLG" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8619 # Check whether --enable-filedlg or --disable-filedlg was given.
8620 if test "${enable_filedlg+set}" = set; then
8621 enableval="$enable_filedlg"
8623 if test "$enableval" = yes; then
8624 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8626 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8631 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8638 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8642 eval "$ac_cv_use_filedlg"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_FILEDLG" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8660 # Check whether --enable-finddlg or --disable-finddlg was given.
8661 if test "${enable_finddlg+set}" = set; then
8662 enableval="$enable_finddlg"
8664 if test "$enableval" = yes; then
8665 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8667 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8672 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8679 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8683 eval "$ac_cv_use_finddlg"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8688 if test "$wxUSE_FINDREPLDLG" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8701 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8702 if test "${enable_fontdlg+set}" = set; then
8703 enableval="$enable_fontdlg"
8705 if test "$enableval" = yes; then
8706 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8708 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8713 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8720 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8724 eval "$ac_cv_use_fontdlg"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8729 if test "$wxUSE_FONTDLG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8742 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8743 if test "${enable_dirdlg+set}" = set; then
8744 enableval="$enable_dirdlg"
8746 if test "$enableval" = yes; then
8747 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8749 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8754 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8761 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8765 eval "$ac_cv_use_dirdlg"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8770 if test "$wxUSE_DIRDLG" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8783 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8784 if test "${enable_msgdlg+set}" = set; then
8785 enableval="$enable_msgdlg"
8787 if test "$enableval" = yes; then
8788 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8790 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8795 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8802 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8806 eval "$ac_cv_use_msgdlg"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8811 if test "$wxUSE_MSGDLG" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8824 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8825 if test "${enable_numberdlg+set}" = set; then
8826 enableval="$enable_numberdlg"
8828 if test "$enableval" = yes; then
8829 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8831 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8836 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8843 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8847 eval "$ac_cv_use_numberdlg"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8852 if test "$wxUSE_NUMBERDLG" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8865 # Check whether --enable-splash or --disable-splash was given.
8866 if test "${enable_splash+set}" = set; then
8867 enableval="$enable_splash"
8869 if test "$enableval" = yes; then
8870 ac_cv_use_splash='wxUSE_SPLASH=yes'
8872 ac_cv_use_splash='wxUSE_SPLASH=no'
8877 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8884 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8888 eval "$ac_cv_use_splash"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8893 if test "$wxUSE_SPLASH" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8906 # Check whether --enable-textdlg or --disable-textdlg was given.
8907 if test "${enable_textdlg+set}" = set; then
8908 enableval="$enable_textdlg"
8910 if test "$enableval" = yes; then
8911 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8913 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8918 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8925 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8929 eval "$ac_cv_use_textdlg"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8934 if test "$wxUSE_TEXTDLG" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8947 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8948 if test "${enable_tipdlg+set}" = set; then
8949 enableval="$enable_tipdlg"
8951 if test "$enableval" = yes; then
8952 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8954 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8959 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8966 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8970 eval "$ac_cv_use_tipdlg"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8975 if test "$wxUSE_STARTUP_TIPS" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8988 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8989 if test "${enable_progressdlg+set}" = set; then
8990 enableval="$enable_progressdlg"
8992 if test "$enableval" = yes; then
8993 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8995 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9000 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9007 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9011 eval "$ac_cv_use_progressdlg"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9016 if test "$wxUSE_PROGRESSDLG" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9029 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9030 if test "${enable_wizarddlg+set}" = set; then
9031 enableval="$enable_wizarddlg"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9036 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9041 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9052 eval "$ac_cv_use_wizarddlg"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_WIZARDDLG" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9072 # Check whether --enable-menus or --disable-menus was given.
9073 if test "${enable_menus+set}" = set; then
9074 enableval="$enable_menus"
9076 if test "$enableval" = yes; then
9077 ac_cv_use_menus='wxUSE_MENUS=yes'
9079 ac_cv_use_menus='wxUSE_MENUS=no'
9084 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9085 if test "x$LINE" != x ; then
9086 eval "DEFAULT_$LINE"
9091 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9095 eval "$ac_cv_use_menus"
9096 if test "$no_cache" != 1; then
9097 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9100 if test "$wxUSE_MENUS" = yes; then
9101 echo "$as_me:$LINENO: result: yes" >&5
9102 echo "${ECHO_T}yes" >&6
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9113 # Check whether --enable-miniframe or --disable-miniframe was given.
9114 if test "${enable_miniframe+set}" = set; then
9115 enableval="$enable_miniframe"
9117 if test "$enableval" = yes; then
9118 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9120 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9125 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x ; then
9127 eval "DEFAULT_$LINE"
9132 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9136 eval "$ac_cv_use_miniframe"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9141 if test "$wxUSE_MINIFRAME" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9154 # Check whether --enable-tooltips or --disable-tooltips was given.
9155 if test "${enable_tooltips+set}" = set; then
9156 enableval="$enable_tooltips"
9158 if test "$enableval" = yes; then
9159 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9161 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9166 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9173 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9177 eval "$ac_cv_use_tooltips"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9182 if test "$wxUSE_TOOLTIPS" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9195 # Check whether --enable-splines or --disable-splines was given.
9196 if test "${enable_splines+set}" = set; then
9197 enableval="$enable_splines"
9199 if test "$enableval" = yes; then
9200 ac_cv_use_splines='wxUSE_SPLINES=yes'
9202 ac_cv_use_splines='wxUSE_SPLINES=no'
9207 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x ; then
9209 eval "DEFAULT_$LINE"
9214 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9218 eval "$ac_cv_use_splines"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9223 if test "$wxUSE_SPLINES" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9236 # Check whether --enable-validators or --disable-validators was given.
9237 if test "${enable_validators+set}" = set; then
9238 enableval="$enable_validators"
9240 if test "$enableval" = yes; then
9241 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9243 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9248 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x ; then
9250 eval "DEFAULT_$LINE"
9255 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9259 eval "$ac_cv_use_validators"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9264 if test "$wxUSE_VALIDATORS" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9277 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9278 if test "${enable_busyinfo+set}" = set; then
9279 enableval="$enable_busyinfo"
9281 if test "$enableval" = yes; then
9282 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9284 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9289 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9296 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9300 eval "$ac_cv_use_busyinfo"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9305 if test "$wxUSE_BUSYINFO" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9318 # Check whether --enable-joystick or --disable-joystick was given.
9319 if test "${enable_joystick+set}" = set; then
9320 enableval="$enable_joystick"
9322 if test "$enableval" = yes; then
9323 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9325 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9330 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9337 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9341 eval "$ac_cv_use_joystick"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9346 if test "$wxUSE_JOYSTICK" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9359 # Check whether --enable-metafile or --disable-metafile was given.
9360 if test "${enable_metafile+set}" = set; then
9361 enableval="$enable_metafile"
9363 if test "$enableval" = yes; then
9364 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9366 ac_cv_use_metafile='wxUSE_METAFILE=no'
9371 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9378 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9382 eval "$ac_cv_use_metafile"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9387 if test "$wxUSE_METAFILE" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9400 # Check whether --enable-dragimage or --disable-dragimage was given.
9401 if test "${enable_dragimage+set}" = set; then
9402 enableval="$enable_dragimage"
9404 if test "$enableval" = yes; then
9405 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9407 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9412 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9419 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9423 eval "$ac_cv_use_dragimage"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9428 if test "$wxUSE_DRAGIMAGE" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9441 # Check whether --enable-accessibility or --disable-accessibility was given.
9442 if test "${enable_accessibility+set}" = set; then
9443 enableval="$enable_accessibility"
9445 if test "$enableval" = yes; then
9446 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9448 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9453 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9460 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9464 eval "$ac_cv_use_accessibility"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9469 if test "$wxUSE_ACCESSIBILITY" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9484 # Check whether --enable-palette or --disable-palette was given.
9485 if test "${enable_palette+set}" = set; then
9486 enableval="$enable_palette"
9488 if test "$enableval" = yes; then
9489 ac_cv_use_palette='wxUSE_PALETTE=yes'
9491 ac_cv_use_palette='wxUSE_PALETTE=no'
9496 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9497 if test "x$LINE" != x ; then
9498 eval "DEFAULT_$LINE"
9503 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9507 eval "$ac_cv_use_palette"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9512 if test "$wxUSE_PALETTE" = yes; then
9513 echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6
9516 echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6
9522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9525 # Check whether --enable-image or --disable-image was given.
9526 if test "${enable_image+set}" = set; then
9527 enableval="$enable_image"
9529 if test "$enableval" = yes; then
9530 ac_cv_use_image='wxUSE_IMAGE=yes'
9532 ac_cv_use_image='wxUSE_IMAGE=no'
9537 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9538 if test "x$LINE" != x ; then
9539 eval "DEFAULT_$LINE"
9544 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9548 eval "$ac_cv_use_image"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9553 if test "$wxUSE_IMAGE" = yes; then
9554 echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6
9557 echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6
9563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9566 # Check whether --enable-gif or --disable-gif was given.
9567 if test "${enable_gif+set}" = set; then
9568 enableval="$enable_gif"
9570 if test "$enableval" = yes; then
9571 ac_cv_use_gif='wxUSE_GIF=yes'
9573 ac_cv_use_gif='wxUSE_GIF=no'
9578 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9579 if test "x$LINE" != x ; then
9580 eval "DEFAULT_$LINE"
9585 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9589 eval "$ac_cv_use_gif"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9594 if test "$wxUSE_GIF" = yes; then
9595 echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6
9598 echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9607 # Check whether --enable-pcx or --disable-pcx was given.
9608 if test "${enable_pcx+set}" = set; then
9609 enableval="$enable_pcx"
9611 if test "$enableval" = yes; then
9612 ac_cv_use_pcx='wxUSE_PCX=yes'
9614 ac_cv_use_pcx='wxUSE_PCX=no'
9619 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9626 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9630 eval "$ac_cv_use_pcx"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9635 if test "$wxUSE_PCX" = yes; then
9636 echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9639 echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9648 # Check whether --enable-iff or --disable-iff was given.
9649 if test "${enable_iff+set}" = set; then
9650 enableval="$enable_iff"
9652 if test "$enableval" = yes; then
9653 ac_cv_use_iff='wxUSE_IFF=yes'
9655 ac_cv_use_iff='wxUSE_IFF=no'
9660 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x ; then
9662 eval "DEFAULT_$LINE"
9667 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9671 eval "$ac_cv_use_iff"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9676 if test "$wxUSE_IFF" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9689 # Check whether --enable-pnm or --disable-pnm was given.
9690 if test "${enable_pnm+set}" = set; then
9691 enableval="$enable_pnm"
9693 if test "$enableval" = yes; then
9694 ac_cv_use_pnm='wxUSE_PNM=yes'
9696 ac_cv_use_pnm='wxUSE_PNM=no'
9701 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9708 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9712 eval "$ac_cv_use_pnm"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9717 if test "$wxUSE_PNM" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9730 # Check whether --enable-xpm or --disable-xpm was given.
9731 if test "${enable_xpm+set}" = set; then
9732 enableval="$enable_xpm"
9734 if test "$enableval" = yes; then
9735 ac_cv_use_xpm='wxUSE_XPM=yes'
9737 ac_cv_use_xpm='wxUSE_XPM=no'
9742 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9749 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9753 eval "$ac_cv_use_xpm"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9758 if test "$wxUSE_XPM" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9771 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9772 if test "${enable_ico_cur+set}" = set; then
9773 enableval="$enable_ico_cur"
9775 if test "$enableval" = yes; then
9776 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9778 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9783 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9790 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9794 eval "$ac_cv_use_ico_cur"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9799 if test "$wxUSE_ICO_CUR" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9816 # Check whether --enable-official_build or --disable-official_build was given.
9817 if test "${enable_official_build+set}" = set; then
9818 enableval="$enable_official_build"
9820 if test "$enableval" = yes; then
9821 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9823 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9828 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9829 if test "x$LINE" != x ; then
9830 eval "DEFAULT_$LINE"
9835 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9839 eval "$ac_cv_use_official_build"
9840 if test "$no_cache" != 1; then
9841 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9844 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9845 echo "$as_me:$LINENO: result: yes" >&5
9846 echo "${ECHO_T}yes" >&6
9848 echo "$as_me:$LINENO: result: no" >&5
9849 echo "${ECHO_T}no" >&6
9852 # Check whether --enable-vendor or --disable-vendor was given.
9853 if test "${enable_vendor+set}" = set; then
9854 enableval="$enable_vendor"
9857 if test "x$VENDOR" = "x"; then
9862 *-pc-os2_emx | *-pc-os2-emx )
9872 echo "saving argument cache $wx_arg_cache_file"
9873 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9877 echo "$as_me:$LINENO: checking for toolkit" >&5
9878 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9880 # In Wine, we need to default to MSW, not GTK or MOTIF
9881 if test "$wxUSE_WINE" = "yes"; then
9882 DEFAULT_DEFAULT_wxUSE_GTK=0
9883 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9884 DEFAULT_DEFAULT_wxUSE_MSW=1
9888 if test "$wxUSE_GUI" = "yes"; then
9890 if test "$USE_BEOS" = 1; then
9891 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9892 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9893 { (exit 1); exit 1; }; }
9896 if test "$TOOLKIT_GIVEN" = 1; then
9897 for toolkit in `echo $ALL_TOOLKITS`; do
9899 eval "value=\$${var}"
9900 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9903 for toolkit in `echo $ALL_TOOLKITS`; do
9904 if test "$has_toolkit_in_cache" != 1; then
9905 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9907 var=DEFAULT_wxUSE_$toolkit
9909 eval "wxUSE_$toolkit=\$${var}"
9913 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9914 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9915 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9918 *-pc-os2_emx | *-pc-os2-emx )
9919 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9922 case "$NUM_TOOLKITS" in
9926 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9927 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9928 { (exit 1); exit 1; }; }
9931 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9932 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9933 { (exit 1); exit 1; }; }
9936 for toolkit in `echo $ALL_TOOLKITS`; do
9938 eval "value=\$${var}"
9939 if test "x$value" != x; then
9940 cache_var=CACHE_$toolkit
9941 eval "cache=\$${cache_var}"
9942 if test "$cache" = 1; then
9943 echo "$var=$value" >> ${wx_arg_cache_file}
9945 if test "$value" = 1; then
9946 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9947 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9948 echo "${ECHO_T}$toolkit_echo" >&6
9953 if test "x$host_alias" != "x"; then
9954 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9955 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9957 echo "$as_me:$LINENO: result: base only" >&5
9958 echo "${ECHO_T}base only" >&6
9966 if test "$wxUSE_MSW" = 1 ; then
9977 if test "$wxUSE_WINE" = "yes"; then
9982 LDFLAGS_GUI="-mwindows"
9985 if test "$wants_win32" = 1 ; then
9988 cat >>confdefs.h <<\_ACEOF
9992 cat >>confdefs.h <<\_ACEOF
9996 cat >>confdefs.h <<\_ACEOF
9997 #define __WINDOWS__ 1
10000 cat >>confdefs.h <<\_ACEOF
10001 #define __GNUWIN32__ 1
10004 cat >>confdefs.h <<\_ACEOF
10008 cat >>confdefs.h <<\_ACEOF
10009 #define WINVER 0x0400
10013 if test "$doesnt_want_win32" = 1 ; then
10018 if test "$USE_UNIX" = 1 ; then
10020 cat >>confdefs.h <<\_ACEOF
10027 cat >confcache <<\_ACEOF
10028 # This file is a shell script that caches the results of configure
10029 # tests run on this system so they can be shared between configure
10030 # scripts and configure runs, see configure's option --config-cache.
10031 # It is not useful on other systems. If it contains results you don't
10032 # want to keep, you may remove or edit it.
10034 # config.status only pays attention to the cache file if you give it
10035 # the --recheck option to rerun configure.
10037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10039 # following values.
10043 # The following way of writing the cache mishandles newlines in values,
10044 # but we know of no workaround that is simple, portable, and efficient.
10045 # So, don't put newlines in cache variables' values.
10046 # Ultrix sh set writes to stderr and can't be redirected directly,
10047 # and sets the high bit in the cache file unless we assign to the vars.
10050 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10052 # `set' does not quote correctly, so add quotes (double-quote
10053 # substitution turns \\\\ into \\, and sed turns \\ into \).
10056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10059 # `set' quotes correctly as required by POSIX, so do not add quotes.
10061 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10070 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10072 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10073 if test -w $cache_file; then
10074 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10075 cat confcache >$cache_file
10077 echo "not updating unwritable cache $cache_file"
10082 if test "$build" != "$host" ; then
10083 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10085 CXX=$host_alias-c++
10087 RANLIB=$host_alias-ranlib
10088 DLLTOOL=$host_alias-dlltool
10089 RESCOMP=$host_alias-windres
10092 STRIP=$host_alias-strip
10094 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10095 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10096 { (exit 1); exit 1; }; }
10102 ac_cpp='$CPP $CPPFLAGS'
10103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10106 if test -n "$ac_tool_prefix"; then
10107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10108 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10109 echo "$as_me:$LINENO: checking for $ac_word" >&5
10110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10111 if test "${ac_cv_prog_CC+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 if test -n "$CC"; then
10115 ac_cv_prog_CC="$CC" # Let the user override the test.
10117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10118 for as_dir in $PATH
10121 test -z "$as_dir" && as_dir=.
10122 for ac_exec_ext in '' $ac_executable_extensions; do
10123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10124 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10134 if test -n "$CC"; then
10135 echo "$as_me:$LINENO: result: $CC" >&5
10136 echo "${ECHO_T}$CC" >&6
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10143 if test -z "$ac_cv_prog_CC"; then
10145 # Extract the first word of "gcc", so it can be a program name with args.
10146 set dummy gcc; ac_word=$2
10147 echo "$as_me:$LINENO: checking for $ac_word" >&5
10148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 if test -n "$ac_ct_CC"; then
10153 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10156 for as_dir in $PATH
10159 test -z "$as_dir" && as_dir=.
10160 for ac_exec_ext in '' $ac_executable_extensions; do
10161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10162 ac_cv_prog_ac_ct_CC="gcc"
10163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10172 if test -n "$ac_ct_CC"; then
10173 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10174 echo "${ECHO_T}$ac_ct_CC" >&6
10176 echo "$as_me:$LINENO: result: no" >&5
10177 echo "${ECHO_T}no" >&6
10182 CC="$ac_cv_prog_CC"
10185 if test -z "$CC"; then
10186 if test -n "$ac_tool_prefix"; then
10187 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10188 set dummy ${ac_tool_prefix}cc; ac_word=$2
10189 echo "$as_me:$LINENO: checking for $ac_word" >&5
10190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10191 if test "${ac_cv_prog_CC+set}" = set; then
10192 echo $ECHO_N "(cached) $ECHO_C" >&6
10194 if test -n "$CC"; then
10195 ac_cv_prog_CC="$CC" # Let the user override the test.
10197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10198 for as_dir in $PATH
10201 test -z "$as_dir" && as_dir=.
10202 for ac_exec_ext in '' $ac_executable_extensions; do
10203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10204 ac_cv_prog_CC="${ac_tool_prefix}cc"
10205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 if test -n "$CC"; then
10215 echo "$as_me:$LINENO: result: $CC" >&5
10216 echo "${ECHO_T}$CC" >&6
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10223 if test -z "$ac_cv_prog_CC"; then
10225 # Extract the first word of "cc", so it can be a program name with args.
10226 set dummy cc; ac_word=$2
10227 echo "$as_me:$LINENO: checking for $ac_word" >&5
10228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10230 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 if test -n "$ac_ct_CC"; then
10233 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10236 for as_dir in $PATH
10239 test -z "$as_dir" && as_dir=.
10240 for ac_exec_ext in '' $ac_executable_extensions; do
10241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10242 ac_cv_prog_ac_ct_CC="cc"
10243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10251 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10252 if test -n "$ac_ct_CC"; then
10253 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10254 echo "${ECHO_T}$ac_ct_CC" >&6
10256 echo "$as_me:$LINENO: result: no" >&5
10257 echo "${ECHO_T}no" >&6
10262 CC="$ac_cv_prog_CC"
10266 if test -z "$CC"; then
10267 # Extract the first word of "cc", so it can be a program name with args.
10268 set dummy cc; ac_word=$2
10269 echo "$as_me:$LINENO: checking for $ac_word" >&5
10270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10271 if test "${ac_cv_prog_CC+set}" = set; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 if test -n "$CC"; then
10275 ac_cv_prog_CC="$CC" # Let the user override the test.
10277 ac_prog_rejected=no
10278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10279 for as_dir in $PATH
10282 test -z "$as_dir" && as_dir=.
10283 for ac_exec_ext in '' $ac_executable_extensions; do
10284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10286 ac_prog_rejected=yes
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 if test $ac_prog_rejected = yes; then
10297 # We found a bogon in the path, so make sure we never use it.
10298 set dummy $ac_cv_prog_CC
10300 if test $# != 0; then
10301 # We chose a different compiler from the bogus one.
10302 # However, it has the same basename, so the bogon will be chosen
10303 # first if we set CC to just the basename; use the full file name.
10305 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10311 if test -n "$CC"; then
10312 echo "$as_me:$LINENO: result: $CC" >&5
10313 echo "${ECHO_T}$CC" >&6
10315 echo "$as_me:$LINENO: result: no" >&5
10316 echo "${ECHO_T}no" >&6
10320 if test -z "$CC"; then
10321 if test -n "$ac_tool_prefix"; then
10324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10326 echo "$as_me:$LINENO: checking for $ac_word" >&5
10327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10328 if test "${ac_cv_prog_CC+set}" = set; then
10329 echo $ECHO_N "(cached) $ECHO_C" >&6
10331 if test -n "$CC"; then
10332 ac_cv_prog_CC="$CC" # Let the user override the test.
10334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10335 for as_dir in $PATH
10338 test -z "$as_dir" && as_dir=.
10339 for ac_exec_ext in '' $ac_executable_extensions; do
10340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10341 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10351 if test -n "$CC"; then
10352 echo "$as_me:$LINENO: result: $CC" >&5
10353 echo "${ECHO_T}$CC" >&6
10355 echo "$as_me:$LINENO: result: no" >&5
10356 echo "${ECHO_T}no" >&6
10359 test -n "$CC" && break
10362 if test -z "$CC"; then
10366 # Extract the first word of "$ac_prog", so it can be a program name with args.
10367 set dummy $ac_prog; ac_word=$2
10368 echo "$as_me:$LINENO: checking for $ac_word" >&5
10369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 if test -n "$ac_ct_CC"; then
10374 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10383 ac_cv_prog_ac_ct_CC="$ac_prog"
10384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10392 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10393 if test -n "$ac_ct_CC"; then
10394 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10395 echo "${ECHO_T}$ac_ct_CC" >&6
10397 echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6
10401 test -n "$ac_ct_CC" && break
10410 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10411 See \`config.log' for more details." >&5
10412 echo "$as_me: error: no acceptable C compiler found in \$PATH
10413 See \`config.log' for more details." >&2;}
10414 { (exit 1); exit 1; }; }
10416 # Provide some information about the compiler.
10417 echo "$as_me:$LINENO:" \
10418 "checking for C compiler version" >&5
10419 ac_compiler=`set X $ac_compile; echo $2`
10420 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10421 (eval $ac_compiler --version </dev/null >&5) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }
10425 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10426 (eval $ac_compiler -v </dev/null >&5) 2>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }
10430 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10431 (eval $ac_compiler -V </dev/null >&5) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }
10436 cat >conftest.$ac_ext <<_ACEOF
10437 #line $LINENO "configure"
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10452 ac_clean_files_save=$ac_clean_files
10453 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10454 # Try to create an executable without -o first, disregard a.out.
10455 # It will help us diagnose broken compilers, and finding out an intuition
10457 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10458 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10459 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10460 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10461 (eval $ac_link_default) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }; then
10465 # Find the output, starting from the most likely. This scheme is
10466 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10469 # Be careful to initialize this variable, since it used to be cached.
10470 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10472 # b.out is created by i960 compilers.
10473 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10475 test -f "$ac_file" || continue
10477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10480 # This is the source file.
10483 # We found the default executable, but exeext='' is most
10487 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10488 # FIXME: I believe we export ac_cv_exeext for Libtool,
10489 # but it would be cool to find out if it's true. Does anybody
10490 # maintain Libtool? --akim.
10491 export ac_cv_exeext
10498 echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.$ac_ext >&5
10501 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10502 See \`config.log' for more details." >&5
10503 echo "$as_me: error: C compiler cannot create executables
10504 See \`config.log' for more details." >&2;}
10505 { (exit 77); exit 77; }; }
10508 ac_exeext=$ac_cv_exeext
10509 echo "$as_me:$LINENO: result: $ac_file" >&5
10510 echo "${ECHO_T}$ac_file" >&6
10512 # Check the compiler produces executables we can run. If not, either
10513 # the compiler is broken, or we cross compile.
10514 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10515 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10516 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10517 # If not cross compiling, check that we can run a simple program.
10518 if test "$cross_compiling" != yes; then
10519 if { ac_try='./$ac_file'
10520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521 (eval $ac_try) 2>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; }; then
10527 if test "$cross_compiling" = maybe; then
10528 cross_compiling=yes
10530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10531 If you meant to cross compile, use \`--host'.
10532 See \`config.log' for more details." >&5
10533 echo "$as_me: error: cannot run C compiled programs.
10534 If you meant to cross compile, use \`--host'.
10535 See \`config.log' for more details." >&2;}
10536 { (exit 1); exit 1; }; }
10540 echo "$as_me:$LINENO: result: yes" >&5
10541 echo "${ECHO_T}yes" >&6
10543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10544 ac_clean_files=$ac_clean_files_save
10545 # Check the compiler produces executables we can run. If not, either
10546 # the compiler is broken, or we cross compile.
10547 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10549 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10550 echo "${ECHO_T}$cross_compiling" >&6
10552 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10555 (eval $ac_link) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; then
10559 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10560 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10561 # work properly (i.e., refer to `conftest.exe'), while it won't with
10563 for ac_file in conftest.exe conftest conftest.*; do
10564 test -f "$ac_file" || continue
10566 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10567 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10568 export ac_cv_exeext
10574 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10575 See \`config.log' for more details." >&5
10576 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10577 See \`config.log' for more details." >&2;}
10578 { (exit 1); exit 1; }; }
10581 rm -f conftest$ac_cv_exeext
10582 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10583 echo "${ECHO_T}$ac_cv_exeext" >&6
10585 rm -f conftest.$ac_ext
10586 EXEEXT=$ac_cv_exeext
10588 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10589 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10590 if test "${ac_cv_objext+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 cat >conftest.$ac_ext <<_ACEOF
10594 #line $LINENO "configure"
10597 cat confdefs.h >>conftest.$ac_ext
10598 cat >>conftest.$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10609 rm -f conftest.o conftest.obj
10610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10611 (eval $ac_compile) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; then
10615 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10618 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10623 echo "$as_me: failed program was:" >&5
10624 sed 's/^/| /' conftest.$ac_ext >&5
10626 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10627 See \`config.log' for more details." >&5
10628 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10629 See \`config.log' for more details." >&2;}
10630 { (exit 1); exit 1; }; }
10633 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10635 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10636 echo "${ECHO_T}$ac_cv_objext" >&6
10637 OBJEXT=$ac_cv_objext
10639 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10640 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10641 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 cat >conftest.$ac_ext <<_ACEOF
10645 #line $LINENO "configure"
10648 cat confdefs.h >>conftest.$ac_ext
10649 cat >>conftest.$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10663 rm -f conftest.$ac_objext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10665 (eval $ac_compile) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try='test -s conftest.$ac_objext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 ac_compiler_gnu=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.$ac_ext >&5
10682 rm -f conftest.$ac_objext conftest.$ac_ext
10683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10686 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10687 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10688 GCC=`test $ac_compiler_gnu = yes && echo yes`
10689 ac_test_CFLAGS=${CFLAGS+set}
10690 ac_save_CFLAGS=$CFLAGS
10692 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10693 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10694 if test "${ac_cv_prog_cc_g+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10697 cat >conftest.$ac_ext <<_ACEOF
10698 #line $LINENO "configure"
10701 cat confdefs.h >>conftest.$ac_ext
10702 cat >>conftest.$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10713 rm -f conftest.$ac_objext
10714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10715 (eval $ac_compile) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } &&
10719 { ac_try='test -s conftest.$ac_objext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 ac_cv_prog_cc_g=yes
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.$ac_ext >&5
10732 rm -f conftest.$ac_objext conftest.$ac_ext
10734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10735 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10736 if test "$ac_test_CFLAGS" = set; then
10737 CFLAGS=$ac_save_CFLAGS
10738 elif test $ac_cv_prog_cc_g = yes; then
10739 if test "$GCC" = yes; then
10745 if test "$GCC" = yes; then
10751 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10752 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10753 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 ac_cv_prog_cc_stdc=no
10758 cat >conftest.$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #include <stdarg.h>
10767 #include <sys/types.h>
10768 #include <sys/stat.h>
10769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10770 struct buf { int x; };
10771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10772 static char *e (p, i)
10778 static char *f (char * (*g) (char **, int), char **p, ...)
10783 s = g (p, va_arg (v,int));
10787 int test (int i, double x);
10788 struct s1 {int (*f) (int a);};
10789 struct s2 {int (*f) (double a);};
10790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10801 # Don't try gcc -ansi; that turns off useful extensions and
10802 # breaks some systems' header files.
10803 # AIX -qlanglvl=ansi
10804 # Ultrix and OSF/1 -std1
10805 # HP-UX 10.20 and later -Ae
10806 # HP-UX older versions -Aa -D_HPUX_SOURCE
10807 # SVR4 -Xc -D__EXTENSIONS__
10808 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10810 CC="$ac_save_CC $ac_arg"
10811 rm -f conftest.$ac_objext
10812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10813 (eval $ac_compile) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } &&
10817 { ac_try='test -s conftest.$ac_objext'
10818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; }; then
10823 ac_cv_prog_cc_stdc=$ac_arg
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.$ac_ext >&5
10830 rm -f conftest.$ac_objext
10832 rm -f conftest.$ac_ext conftest.$ac_objext
10837 case "x$ac_cv_prog_cc_stdc" in
10839 echo "$as_me:$LINENO: result: none needed" >&5
10840 echo "${ECHO_T}none needed" >&6 ;;
10842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10844 CC="$CC $ac_cv_prog_cc_stdc" ;;
10847 # Some people use a C++ compiler to compile C. Since we use `exit',
10848 # in C++ we need to declare it. In case someone uses the same compiler
10849 # for both compiling C and C++ we need to have the C++ compiler decide
10850 # the declaration of exit, since it's the most demanding environment.
10851 cat >conftest.$ac_ext <<_ACEOF
10852 #ifndef __cplusplus
10856 rm -f conftest.$ac_objext
10857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10858 (eval $ac_compile) 2>&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try='test -s conftest.$ac_objext'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 for ac_declaration in \
10870 '#include <stdlib.h>' \
10871 'extern "C" void std::exit (int) throw (); using std::exit;' \
10872 'extern "C" void std::exit (int); using std::exit;' \
10873 'extern "C" void exit (int) throw ();' \
10874 'extern "C" void exit (int);' \
10877 cat >conftest.$ac_ext <<_ACEOF
10878 #line $LINENO "configure"
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10884 #include <stdlib.h>
10894 rm -f conftest.$ac_objext
10895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10896 (eval $ac_compile) 2>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); } &&
10900 { ac_try='test -s conftest.$ac_objext'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10908 echo "$as_me: failed program was:" >&5
10909 sed 's/^/| /' conftest.$ac_ext >&5
10913 rm -f conftest.$ac_objext conftest.$ac_ext
10914 cat >conftest.$ac_ext <<_ACEOF
10915 #line $LINENO "configure"
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10930 rm -f conftest.$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } &&
10936 { ac_try='test -s conftest.$ac_objext'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; }; then
10944 echo "$as_me: failed program was:" >&5
10945 sed 's/^/| /' conftest.$ac_ext >&5
10948 rm -f conftest.$ac_objext conftest.$ac_ext
10951 if test -n "$ac_declaration"; then
10952 echo '#ifdef __cplusplus' >>confdefs.h
10953 echo $ac_declaration >>confdefs.h
10954 echo '#endif' >>confdefs.h
10958 echo "$as_me: failed program was:" >&5
10959 sed 's/^/| /' conftest.$ac_ext >&5
10962 rm -f conftest.$ac_objext conftest.$ac_ext
10964 ac_cpp='$CPP $CPPFLAGS'
10965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10972 ac_cpp='$CPP $CPPFLAGS'
10973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10976 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10977 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10978 # On Suns, sometimes $CPP names a directory.
10979 if test -n "$CPP" && test -d "$CPP"; then
10982 if test -z "$CPP"; then
10983 if test "${ac_cv_prog_CPP+set}" = set; then
10984 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 # Double quotes because CPP needs to be expanded
10987 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10989 ac_preproc_ok=false
10990 for ac_c_preproc_warn_flag in '' yes
10992 # Use a header file that comes with gcc, so configuring glibc
10993 # with a fresh cross-compiler works.
10994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10995 # <limits.h> exists even on freestanding compilers.
10996 # On the NeXT, cc -E runs the code through the compiler's parser,
10997 # not just through cpp. "Syntax error" is here to catch this case.
10998 cat >conftest.$ac_ext <<_ACEOF
10999 #line $LINENO "configure"
11002 cat confdefs.h >>conftest.$ac_ext
11003 cat >>conftest.$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11006 # include <limits.h>
11008 # include <assert.h>
11012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11015 grep -v '^ *+' conftest.er1 >conftest.err
11017 cat conftest.err >&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } >/dev/null; then
11020 if test -s conftest.err; then
11021 ac_cpp_err=$ac_c_preproc_warn_flag
11028 if test -z "$ac_cpp_err"; then
11031 echo "$as_me: failed program was:" >&5
11032 sed 's/^/| /' conftest.$ac_ext >&5
11034 # Broken: fails on valid input.
11037 rm -f conftest.err conftest.$ac_ext
11039 # OK, works on sane cases. Now check whether non-existent headers
11040 # can be detected and how.
11041 cat >conftest.$ac_ext <<_ACEOF
11042 #line $LINENO "configure"
11045 cat confdefs.h >>conftest.$ac_ext
11046 cat >>conftest.$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11048 #include <ac_nonexistent.h>
11050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11053 grep -v '^ *+' conftest.er1 >conftest.err
11055 cat conftest.err >&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } >/dev/null; then
11058 if test -s conftest.err; then
11059 ac_cpp_err=$ac_c_preproc_warn_flag
11066 if test -z "$ac_cpp_err"; then
11067 # Broken: success on invalid input.
11070 echo "$as_me: failed program was:" >&5
11071 sed 's/^/| /' conftest.$ac_ext >&5
11073 # Passes both tests.
11077 rm -f conftest.err conftest.$ac_ext
11080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11081 rm -f conftest.err conftest.$ac_ext
11082 if $ac_preproc_ok; then
11087 ac_cv_prog_CPP=$CPP
11090 CPP=$ac_cv_prog_CPP
11092 ac_cv_prog_CPP=$CPP
11094 echo "$as_me:$LINENO: result: $CPP" >&5
11095 echo "${ECHO_T}$CPP" >&6
11096 ac_preproc_ok=false
11097 for ac_c_preproc_warn_flag in '' yes
11099 # Use a header file that comes with gcc, so configuring glibc
11100 # with a fresh cross-compiler works.
11101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11102 # <limits.h> exists even on freestanding compilers.
11103 # On the NeXT, cc -E runs the code through the compiler's parser,
11104 # not just through cpp. "Syntax error" is here to catch this case.
11105 cat >conftest.$ac_ext <<_ACEOF
11106 #line $LINENO "configure"
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11113 # include <limits.h>
11115 # include <assert.h>
11119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11122 grep -v '^ *+' conftest.er1 >conftest.err
11124 cat conftest.err >&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } >/dev/null; then
11127 if test -s conftest.err; then
11128 ac_cpp_err=$ac_c_preproc_warn_flag
11135 if test -z "$ac_cpp_err"; then
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.$ac_ext >&5
11141 # Broken: fails on valid input.
11144 rm -f conftest.err conftest.$ac_ext
11146 # OK, works on sane cases. Now check whether non-existent headers
11147 # can be detected and how.
11148 cat >conftest.$ac_ext <<_ACEOF
11149 #line $LINENO "configure"
11152 cat confdefs.h >>conftest.$ac_ext
11153 cat >>conftest.$ac_ext <<_ACEOF
11154 /* end confdefs.h. */
11155 #include <ac_nonexistent.h>
11157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11160 grep -v '^ *+' conftest.er1 >conftest.err
11162 cat conftest.err >&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } >/dev/null; then
11165 if test -s conftest.err; then
11166 ac_cpp_err=$ac_c_preproc_warn_flag
11173 if test -z "$ac_cpp_err"; then
11174 # Broken: success on invalid input.
11177 echo "$as_me: failed program was:" >&5
11178 sed 's/^/| /' conftest.$ac_ext >&5
11180 # Passes both tests.
11184 rm -f conftest.err conftest.$ac_ext
11187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11188 rm -f conftest.err conftest.$ac_ext
11189 if $ac_preproc_ok; then
11192 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11193 See \`config.log' for more details." >&5
11194 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11195 See \`config.log' for more details." >&2;}
11196 { (exit 1); exit 1; }; }
11200 ac_cpp='$CPP $CPPFLAGS'
11201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11206 echo "$as_me:$LINENO: checking for egrep" >&5
11207 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11208 if test "${ac_cv_prog_egrep+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11211 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11212 then ac_cv_prog_egrep='grep -E'
11213 else ac_cv_prog_egrep='egrep'
11216 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11217 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11218 EGREP=$ac_cv_prog_egrep
11221 if test $ac_cv_c_compiler_gnu = yes; then
11222 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11223 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11224 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11227 ac_pattern="Autoconf.*'x'"
11228 cat >conftest.$ac_ext <<_ACEOF
11229 #line $LINENO "configure"
11232 cat confdefs.h >>conftest.$ac_ext
11233 cat >>conftest.$ac_ext <<_ACEOF
11234 /* end confdefs.h. */
11238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11239 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11240 ac_cv_prog_gcc_traditional=yes
11242 ac_cv_prog_gcc_traditional=no
11247 if test $ac_cv_prog_gcc_traditional = no; then
11248 cat >conftest.$ac_ext <<_ACEOF
11249 #line $LINENO "configure"
11252 cat confdefs.h >>conftest.$ac_ext
11253 cat >>conftest.$ac_ext <<_ACEOF
11254 /* end confdefs.h. */
11255 #include <termio.h>
11258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11259 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11260 ac_cv_prog_gcc_traditional=yes
11266 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11267 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11268 if test $ac_cv_prog_gcc_traditional = yes; then
11269 CC="$CC -traditional"
11277 ac_cpp='$CXXCPP $CPPFLAGS'
11278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11283 CXXFLAGS=${CXXFLAGS:=}
11285 ac_cpp='$CXXCPP $CPPFLAGS'
11286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11289 if test -n "$ac_tool_prefix"; then
11290 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11292 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11293 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11294 echo "$as_me:$LINENO: checking for $ac_word" >&5
11295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11296 if test "${ac_cv_prog_CXX+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 if test -n "$CXX"; then
11300 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11303 for as_dir in $PATH
11306 test -z "$as_dir" && as_dir=.
11307 for ac_exec_ext in '' $ac_executable_extensions; do
11308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11309 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11318 CXX=$ac_cv_prog_CXX
11319 if test -n "$CXX"; then
11320 echo "$as_me:$LINENO: result: $CXX" >&5
11321 echo "${ECHO_T}$CXX" >&6
11323 echo "$as_me:$LINENO: result: no" >&5
11324 echo "${ECHO_T}no" >&6
11327 test -n "$CXX" && break
11330 if test -z "$CXX"; then
11332 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11334 # Extract the first word of "$ac_prog", so it can be a program name with args.
11335 set dummy $ac_prog; ac_word=$2
11336 echo "$as_me:$LINENO: checking for $ac_word" >&5
11337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11338 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11339 echo $ECHO_N "(cached) $ECHO_C" >&6
11341 if test -n "$ac_ct_CXX"; then
11342 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11345 for as_dir in $PATH
11348 test -z "$as_dir" && as_dir=.
11349 for ac_exec_ext in '' $ac_executable_extensions; do
11350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11351 ac_cv_prog_ac_ct_CXX="$ac_prog"
11352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11360 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11361 if test -n "$ac_ct_CXX"; then
11362 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11363 echo "${ECHO_T}$ac_ct_CXX" >&6
11365 echo "$as_me:$LINENO: result: no" >&5
11366 echo "${ECHO_T}no" >&6
11369 test -n "$ac_ct_CXX" && break
11371 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11377 # Provide some information about the compiler.
11378 echo "$as_me:$LINENO:" \
11379 "checking for C++ compiler version" >&5
11380 ac_compiler=`set X $ac_compile; echo $2`
11381 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11382 (eval $ac_compiler --version </dev/null >&5) 2>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }
11386 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11387 (eval $ac_compiler -v </dev/null >&5) 2>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }
11391 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11392 (eval $ac_compiler -V </dev/null >&5) 2>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }
11397 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11398 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11399 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11402 cat >conftest.$ac_ext <<_ACEOF
11403 #line $LINENO "configure"
11406 cat confdefs.h >>conftest.$ac_ext
11407 cat >>conftest.$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11421 rm -f conftest.$ac_objext
11422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11423 (eval $ac_compile) 2>&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); } &&
11427 { ac_try='test -s conftest.$ac_objext'
11428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11429 (eval $ac_try) 2>&5
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); }; }; then
11433 ac_compiler_gnu=yes
11435 echo "$as_me: failed program was:" >&5
11436 sed 's/^/| /' conftest.$ac_ext >&5
11440 rm -f conftest.$ac_objext conftest.$ac_ext
11441 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11444 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11445 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11446 GXX=`test $ac_compiler_gnu = yes && echo yes`
11447 ac_test_CXXFLAGS=${CXXFLAGS+set}
11448 ac_save_CXXFLAGS=$CXXFLAGS
11450 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11451 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11452 if test "${ac_cv_prog_cxx_g+set}" = set; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 cat >conftest.$ac_ext <<_ACEOF
11456 #line $LINENO "configure"
11459 cat confdefs.h >>conftest.$ac_ext
11460 cat >>conftest.$ac_ext <<_ACEOF
11461 /* end confdefs.h. */
11471 rm -f conftest.$ac_objext
11472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11473 (eval $ac_compile) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); } &&
11477 { ac_try='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_cv_prog_cxx_g=yes
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.$ac_ext >&5
11488 ac_cv_prog_cxx_g=no
11490 rm -f conftest.$ac_objext conftest.$ac_ext
11492 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11493 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11494 if test "$ac_test_CXXFLAGS" = set; then
11495 CXXFLAGS=$ac_save_CXXFLAGS
11496 elif test $ac_cv_prog_cxx_g = yes; then
11497 if test "$GXX" = yes; then
11503 if test "$GXX" = yes; then
11509 for ac_declaration in \
11511 '#include <stdlib.h>' \
11512 'extern "C" void std::exit (int) throw (); using std::exit;' \
11513 'extern "C" void std::exit (int); using std::exit;' \
11514 'extern "C" void exit (int) throw ();' \
11515 'extern "C" void exit (int);' \
11518 cat >conftest.$ac_ext <<_ACEOF
11519 #line $LINENO "configure"
11522 cat confdefs.h >>conftest.$ac_ext
11523 cat >>conftest.$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11525 #include <stdlib.h>
11535 rm -f conftest.$ac_objext
11536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11537 (eval $ac_compile) 2>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try='test -s conftest.$ac_objext'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; }; then
11549 echo "$as_me: failed program was:" >&5
11550 sed 's/^/| /' conftest.$ac_ext >&5
11554 rm -f conftest.$ac_objext conftest.$ac_ext
11555 cat >conftest.$ac_ext <<_ACEOF
11556 #line $LINENO "configure"
11559 cat confdefs.h >>conftest.$ac_ext
11560 cat >>conftest.$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11571 rm -f conftest.$ac_objext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11573 (eval $ac_compile) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); } &&
11577 { ac_try='test -s conftest.$ac_objext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.$ac_ext >&5
11589 rm -f conftest.$ac_objext conftest.$ac_ext
11592 if test -n "$ac_declaration"; then
11593 echo '#ifdef __cplusplus' >>confdefs.h
11594 echo $ac_declaration >>confdefs.h
11595 echo '#endif' >>confdefs.h
11599 ac_cpp='$CXXCPP $CPPFLAGS'
11600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11606 ac_cpp='$CPP $CPPFLAGS'
11607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11612 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11613 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11614 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11615 if test "$GCC" = "yes" ; then
11616 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11617 sed -n '1,/End of search list\./p' | \
11618 grep '^ */usr/local/include$' 2>&1 /dev/null \
11619 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11621 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11622 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11624 if test -n "$ac_tool_prefix"; then
11625 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11626 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11627 echo "$as_me:$LINENO: checking for $ac_word" >&5
11628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11629 if test "${ac_cv_prog_RANLIB+set}" = set; then
11630 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 if test -n "$RANLIB"; then
11633 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636 for as_dir in $PATH
11639 test -z "$as_dir" && as_dir=.
11640 for ac_exec_ext in '' $ac_executable_extensions; do
11641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11642 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11651 RANLIB=$ac_cv_prog_RANLIB
11652 if test -n "$RANLIB"; then
11653 echo "$as_me:$LINENO: result: $RANLIB" >&5
11654 echo "${ECHO_T}$RANLIB" >&6
11656 echo "$as_me:$LINENO: result: no" >&5
11657 echo "${ECHO_T}no" >&6
11661 if test -z "$ac_cv_prog_RANLIB"; then
11662 ac_ct_RANLIB=$RANLIB
11663 # Extract the first word of "ranlib", so it can be a program name with args.
11664 set dummy ranlib; ac_word=$2
11665 echo "$as_me:$LINENO: checking for $ac_word" >&5
11666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11667 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 if test -n "$ac_ct_RANLIB"; then
11671 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674 for as_dir in $PATH
11677 test -z "$as_dir" && as_dir=.
11678 for ac_exec_ext in '' $ac_executable_extensions; do
11679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680 ac_cv_prog_ac_ct_RANLIB="ranlib"
11681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11687 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11690 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11691 if test -n "$ac_ct_RANLIB"; then
11692 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11693 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11695 echo "$as_me:$LINENO: result: no" >&5
11696 echo "${ECHO_T}no" >&6
11699 RANLIB=$ac_ct_RANLIB
11701 RANLIB="$ac_cv_prog_RANLIB"
11705 # Extract the first word of "ar", so it can be a program name with args.
11706 set dummy ar; ac_word=$2
11707 echo "$as_me:$LINENO: checking for $ac_word" >&5
11708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11709 if test "${ac_cv_prog_AR+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 if test -n "$AR"; then
11713 ac_cv_prog_AR="$AR" # Let the user override the test.
11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11716 for as_dir in $PATH
11719 test -z "$as_dir" && as_dir=.
11720 for ac_exec_ext in '' $ac_executable_extensions; do
11721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11732 if test -n "$AR"; then
11733 echo "$as_me:$LINENO: result: $AR" >&5
11734 echo "${ECHO_T}$AR" >&6
11736 echo "$as_me:$LINENO: result: no" >&5
11737 echo "${ECHO_T}no" >&6
11740 if test "x$AR" = "x" ; then
11741 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11742 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11743 { (exit 1); exit 1; }; }
11746 # Find a good install program. We prefer a C program (faster),
11747 # so one script is as good as another. But avoid the broken or
11748 # incompatible versions:
11749 # SysV /etc/install, /usr/sbin/install
11750 # SunOS /usr/etc/install
11751 # IRIX /sbin/install
11753 # AmigaOS /C/install, which installs bootblocks on floppy discs
11754 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11755 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11756 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11757 # ./install, which can be erroneously created by make from ./install.sh.
11758 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11759 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11760 if test -z "$INSTALL"; then
11761 if test "${ac_cv_path_install+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765 for as_dir in $PATH
11768 test -z "$as_dir" && as_dir=.
11769 # Account for people who put trailing slashes in PATH elements.
11771 ./ | .// | /cC/* | \
11772 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11775 # OSF1 and SCO ODT 3.0 have their own names for install.
11776 # Don't use installbsd from OSF since it installs stuff as root
11778 for ac_prog in ginstall scoinst install; do
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11781 if test $ac_prog = install &&
11782 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11783 # AIX install. It has an incompatible calling convention.
11785 elif test $ac_prog = install &&
11786 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11787 # program-specific install script used by HP pwplus--don't use.
11790 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11802 if test "${ac_cv_path_install+set}" = set; then
11803 INSTALL=$ac_cv_path_install
11805 # As a last resort, use the slow shell script. We don't cache a
11806 # path for INSTALL within a source directory, because that will
11807 # break other packages using the cache if that directory is
11808 # removed, or if the path is relative.
11809 INSTALL=$ac_install_sh
11812 echo "$as_me:$LINENO: result: $INSTALL" >&5
11813 echo "${ECHO_T}$INSTALL" >&6
11815 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11816 # It thinks the first close brace ends the variable substitution.
11817 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11819 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11821 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11827 ?:* ) # Drive letter, considered as absolute.
11830 INSTALL=`pwd`/${INSTALL} ;;
11835 INSTALL_DIR="mkdir"
11838 *) INSTALL_DIR="$INSTALL -d"
11845 powerpc-*-darwin* )
11846 INSTALL_PROGRAM="cp -fp"
11847 INSTALL_DATA="cp -fp"
11853 # Extract the first word of "strip", so it can be a program name with args.
11854 set dummy strip; ac_word=$2
11855 echo "$as_me:$LINENO: checking for $ac_word" >&5
11856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11857 if test "${ac_cv_prog_STRIP+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 if test -n "$STRIP"; then
11861 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11864 for as_dir in $PATH
11867 test -z "$as_dir" && as_dir=.
11868 for ac_exec_ext in '' $ac_executable_extensions; do
11869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11870 ac_cv_prog_STRIP="strip"
11871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11877 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11880 STRIP=$ac_cv_prog_STRIP
11881 if test -n "$STRIP"; then
11882 echo "$as_me:$LINENO: result: $STRIP" >&5
11883 echo "${ECHO_T}$STRIP" >&6
11885 echo "$as_me:$LINENO: result: no" >&5
11886 echo "${ECHO_T}no" >&6
11890 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11891 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11892 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11893 echo $ECHO_N "(cached) $ECHO_C" >&6
11896 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11897 egrep -s GNU > /dev/null); then
11898 wx_cv_prog_makeisgnu="yes"
11900 wx_cv_prog_makeisgnu="no"
11904 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11905 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11907 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11915 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11916 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11917 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11918 if test "${wx_cv_prog_makevpath+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 cat - << EOF > confMake
11928 if test ! -d sub ; then
11931 echo dummy > sub/file
11932 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11934 rm -f sub/file check final_file confMake
11936 if test "$RESULT" = 0; then
11937 wx_cv_prog_makevpath="yes"
11939 wx_cv_prog_makevpath="no"
11943 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11944 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11946 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11947 { { echo "$as_me:$LINENO: error:
11948 You need a make-utility that is able to use the variable
11950 If your version of make does not support VPATH correctly,
11951 please install GNU-make (possibly as gmake), and start
11952 configure with the following command:
11953 export MAKE=gmake; ./configure for sh-type shells
11954 setenv MAKE gmake; ./configure for csh-type shells
11955 Also please do remember to use gmake in this case every time
11956 you are trying to compile.
11958 echo "$as_me: error:
11959 You need a make-utility that is able to use the variable
11961 If your version of make does not support VPATH correctly,
11962 please install GNU-make (possibly as gmake), and start
11963 configure with the following command:
11964 export MAKE=gmake; ./configure for sh-type shells
11965 setenv MAKE gmake; ./configure for csh-type shells
11966 Also please do remember to use gmake in this case every time
11967 you are trying to compile.
11969 { (exit 1); exit 1; }; }
11971 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11972 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11974 if test "$LN_S" = "ln -s"; then
11975 echo "$as_me:$LINENO: result: yes" >&5
11976 echo "${ECHO_T}yes" >&6
11978 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11979 echo "${ECHO_T}no, using $LN_S" >&6
11985 *-pc-os2_emx | *-pc-os2-emx )
11986 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11987 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11988 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11989 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 ac_check_lib_save_LIBS=$LIBS
11993 LIBS="-lcExt $LIBS"
11994 cat >conftest.$ac_ext <<_ACEOF
11995 #line $LINENO "configure"
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12002 /* Override any gcc2 internal prototype to avoid an error. */
12006 /* We use char because int might match the return type of a gcc2
12007 builtin and then its argument prototype would still apply. */
12017 rm -f conftest.$ac_objext conftest$ac_exeext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12019 (eval $ac_link) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } &&
12023 { ac_try='test -s conftest$ac_exeext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_lib_cExt_drand48=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12034 ac_cv_lib_cExt_drand48=no
12036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12040 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12041 if test $ac_cv_lib_cExt_drand48 = yes; then
12042 LIBS="$LIBS -lcExt"
12046 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12048 echo "$as_me:$LINENO: checking for gcc version" >&5
12049 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12050 if test "${wx_cv_gccversion+set}" = set; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 cat >conftest.$ac_ext <<_ACEOF
12055 #line $LINENO "configure"
12058 cat confdefs.h >>conftest.$ac_ext
12059 cat >>conftest.$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12074 rm -f conftest.$ac_objext
12075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12076 (eval $ac_compile) 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try='test -s conftest.$ac_objext'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; }; then
12087 cat >conftest.$ac_ext <<_ACEOF
12088 #line $LINENO "configure"
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12099 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12100 #error intermediate gcc
12107 rm -f conftest.$ac_objext
12108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12109 (eval $ac_compile) 2>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } &&
12113 { ac_try='test -s conftest.$ac_objext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12120 wx_cv_gccversion=Innotek
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12131 rm -f conftest.$ac_objext conftest.$ac_ext
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12142 rm -f conftest.$ac_objext conftest.$ac_ext
12145 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12146 echo "${ECHO_T}$wx_cv_gccversion" >&6
12147 if test "$wx_cv_gccversion" = "2"; then
12148 LIBS="$LIBS -lstdcpp"
12149 LDFLAGS="$LDFLAGS -Zsysv-signals"
12151 if test "$wx_cv_gccversion" = "3"; then
12152 LIBS="$LIBS -lstdcxx"
12153 LDFLAGS="$LDFLAGS -Zsysv-signals"
12155 LIBS="$LIBS -lstdc++"
12158 if test "$wxUSE_OMF" = "yes"; then
12159 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12167 ac_cpp='$CXXCPP $CPPFLAGS'
12168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12174 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12175 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12176 if test "${ac_cv_string_strcasecmp+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 cat >conftest.$ac_ext <<_ACEOF
12181 #line $LINENO "configure"
12184 cat confdefs.h >>conftest.$ac_ext
12185 cat >>conftest.$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12188 #include <string.h>
12194 strcasecmp("foo", "bar");
12200 rm -f conftest.$ac_objext conftest$ac_exeext
12201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12202 (eval $ac_link) 2>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); } &&
12206 { ac_try='test -s conftest$ac_exeext'
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 ac_cv_string_strcasecmp=yes
12214 echo "$as_me: failed program was:" >&5
12215 sed 's/^/| /' conftest.$ac_ext >&5
12217 ac_cv_string_strcasecmp=no
12220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12223 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12224 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12226 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12227 cat >>confdefs.h <<\_ACEOF
12228 #define HAVE_STRCASECMP_IN_STRING_H 1
12232 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12233 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12234 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 cat >conftest.$ac_ext <<_ACEOF
12239 #line $LINENO "configure"
12242 cat confdefs.h >>conftest.$ac_ext
12243 cat >>conftest.$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12246 #include <strings.h>
12252 strcasecmp("foo", "bar");
12258 rm -f conftest.$ac_objext conftest$ac_exeext
12259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12260 (eval $ac_link) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try='test -s conftest$ac_exeext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_strings_strcasecmp=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12275 ac_cv_strings_strcasecmp=no
12278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12281 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12282 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12284 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12285 cat >>confdefs.h <<\_ACEOF
12286 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12290 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12291 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12292 { (exit 1); exit 1; }; }
12297 ac_cpp='$CPP $CPPFLAGS'
12298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12306 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12307 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12308 if test "${ac_cv_header_stdc+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 cat >conftest.$ac_ext <<_ACEOF
12312 #line $LINENO "configure"
12315 cat confdefs.h >>conftest.$ac_ext
12316 cat >>conftest.$ac_ext <<_ACEOF
12317 /* end confdefs.h. */
12318 #include <stdlib.h>
12319 #include <stdarg.h>
12320 #include <string.h>
12331 rm -f conftest.$ac_objext
12332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12333 (eval $ac_compile) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try='test -s conftest.$ac_objext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_cv_header_stdc=yes
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.$ac_ext >&5
12348 ac_cv_header_stdc=no
12350 rm -f conftest.$ac_objext conftest.$ac_ext
12352 if test $ac_cv_header_stdc = yes; then
12353 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12354 cat >conftest.$ac_ext <<_ACEOF
12355 #line $LINENO "configure"
12358 cat confdefs.h >>conftest.$ac_ext
12359 cat >>conftest.$ac_ext <<_ACEOF
12360 /* end confdefs.h. */
12361 #include <string.h>
12364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12365 $EGREP "memchr" >/dev/null 2>&1; then
12368 ac_cv_header_stdc=no
12374 if test $ac_cv_header_stdc = yes; then
12375 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12376 cat >conftest.$ac_ext <<_ACEOF
12377 #line $LINENO "configure"
12380 cat confdefs.h >>conftest.$ac_ext
12381 cat >>conftest.$ac_ext <<_ACEOF
12382 /* end confdefs.h. */
12383 #include <stdlib.h>
12386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12387 $EGREP "free" >/dev/null 2>&1; then
12390 ac_cv_header_stdc=no
12396 if test $ac_cv_header_stdc = yes; then
12397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12398 if test "$cross_compiling" = yes; then
12401 cat >conftest.$ac_ext <<_ACEOF
12402 #line $LINENO "configure"
12405 cat confdefs.h >>conftest.$ac_ext
12406 cat >>conftest.$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12409 #if ((' ' & 0x0FF) == 0x020)
12410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12413 # define ISLOWER(c) \
12414 (('a' <= (c) && (c) <= 'i') \
12415 || ('j' <= (c) && (c) <= 'r') \
12416 || ('s' <= (c) && (c) <= 'z'))
12417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12425 for (i = 0; i < 256; i++)
12426 if (XOR (islower (i), ISLOWER (i))
12427 || toupper (i) != TOUPPER (i))
12432 rm -f conftest$ac_exeext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12434 (eval $ac_link) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; }; then
12445 echo "$as_me: program exited with status $ac_status" >&5
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12449 ( exit $ac_status )
12450 ac_cv_header_stdc=no
12452 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12456 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12457 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12458 if test $ac_cv_header_stdc = yes; then
12460 cat >>confdefs.h <<\_ACEOF
12461 #define STDC_HEADERS 1
12466 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12476 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12477 inttypes.h stdint.h unistd.h
12479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12480 echo "$as_me:$LINENO: checking for $ac_header" >&5
12481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 cat >conftest.$ac_ext <<_ACEOF
12486 #line $LINENO "configure"
12489 cat confdefs.h >>conftest.$ac_ext
12490 cat >>conftest.$ac_ext <<_ACEOF
12491 /* end confdefs.h. */
12492 $ac_includes_default
12494 #include <$ac_header>
12496 rm -f conftest.$ac_objext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12498 (eval $ac_compile) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -s conftest.$ac_objext'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; }; then
12508 eval "$as_ac_Header=yes"
12510 echo "$as_me: failed program was:" >&5
12511 sed 's/^/| /' conftest.$ac_ext >&5
12513 eval "$as_ac_Header=no"
12515 rm -f conftest.$ac_objext conftest.$ac_ext
12517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12520 cat >>confdefs.h <<_ACEOF
12521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12530 for ac_header in stdlib.h
12532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12534 echo "$as_me:$LINENO: checking for $ac_header" >&5
12535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12537 echo $ECHO_N "(cached) $ECHO_C" >&6
12539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12542 # Is the header compilable?
12543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12545 cat >conftest.$ac_ext <<_ACEOF
12546 #line $LINENO "configure"
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552 $ac_includes_default
12553 #include <$ac_header>
12555 rm -f conftest.$ac_objext
12556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12557 (eval $ac_compile) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } &&
12561 { ac_try='test -s conftest.$ac_objext'
12562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12563 (eval $ac_try) 2>&5
12565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); }; }; then
12567 ac_header_compiler=yes
12569 echo "$as_me: failed program was:" >&5
12570 sed 's/^/| /' conftest.$ac_ext >&5
12572 ac_header_compiler=no
12574 rm -f conftest.$ac_objext conftest.$ac_ext
12575 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12576 echo "${ECHO_T}$ac_header_compiler" >&6
12578 # Is the header present?
12579 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12581 cat >conftest.$ac_ext <<_ACEOF
12582 #line $LINENO "configure"
12585 cat confdefs.h >>conftest.$ac_ext
12586 cat >>conftest.$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12588 #include <$ac_header>
12590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12593 grep -v '^ *+' conftest.er1 >conftest.err
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } >/dev/null; then
12598 if test -s conftest.err; then
12599 ac_cpp_err=$ac_c_preproc_warn_flag
12606 if test -z "$ac_cpp_err"; then
12607 ac_header_preproc=yes
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12612 ac_header_preproc=no
12614 rm -f conftest.err conftest.$ac_ext
12615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12616 echo "${ECHO_T}$ac_header_preproc" >&6
12618 # So? What about this header?
12619 case $ac_header_compiler:$ac_header_preproc in
12621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12627 ## ------------------------------------ ##
12628 ## Report this to bug-autoconf@gnu.org. ##
12629 ## ------------------------------------ ##
12632 sed "s/^/$as_me: WARNING: /" >&2
12635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12643 ## ------------------------------------ ##
12644 ## Report this to bug-autoconf@gnu.org. ##
12645 ## ------------------------------------ ##
12648 sed "s/^/$as_me: WARNING: /" >&2
12651 echo "$as_me:$LINENO: checking for $ac_header" >&5
12652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12654 echo $ECHO_N "(cached) $ECHO_C" >&6
12656 eval "$as_ac_Header=$ac_header_preproc"
12658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12663 cat >>confdefs.h <<_ACEOF
12664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12672 for ac_header in malloc.h
12674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12676 echo "$as_me:$LINENO: checking for $ac_header" >&5
12677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12679 echo $ECHO_N "(cached) $ECHO_C" >&6
12681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12684 # Is the header compilable?
12685 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12687 cat >conftest.$ac_ext <<_ACEOF
12688 #line $LINENO "configure"
12691 cat confdefs.h >>conftest.$ac_ext
12692 cat >>conftest.$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12694 $ac_includes_default
12695 #include <$ac_header>
12697 rm -f conftest.$ac_objext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12699 (eval $ac_compile) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } &&
12703 { ac_try='test -s conftest.$ac_objext'
12704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12705 (eval $ac_try) 2>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); }; }; then
12709 ac_header_compiler=yes
12711 echo "$as_me: failed program was:" >&5
12712 sed 's/^/| /' conftest.$ac_ext >&5
12714 ac_header_compiler=no
12716 rm -f conftest.$ac_objext conftest.$ac_ext
12717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12718 echo "${ECHO_T}$ac_header_compiler" >&6
12720 # Is the header present?
12721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12723 cat >conftest.$ac_ext <<_ACEOF
12724 #line $LINENO "configure"
12727 cat confdefs.h >>conftest.$ac_ext
12728 cat >>conftest.$ac_ext <<_ACEOF
12729 /* end confdefs.h. */
12730 #include <$ac_header>
12732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12735 grep -v '^ *+' conftest.er1 >conftest.err
12737 cat conftest.err >&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } >/dev/null; then
12740 if test -s conftest.err; then
12741 ac_cpp_err=$ac_c_preproc_warn_flag
12748 if test -z "$ac_cpp_err"; then
12749 ac_header_preproc=yes
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12754 ac_header_preproc=no
12756 rm -f conftest.err conftest.$ac_ext
12757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12758 echo "${ECHO_T}$ac_header_preproc" >&6
12760 # So? What about this header?
12761 case $ac_header_compiler:$ac_header_preproc in
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12769 ## ------------------------------------ ##
12770 ## Report this to bug-autoconf@gnu.org. ##
12771 ## ------------------------------------ ##
12774 sed "s/^/$as_me: WARNING: /" >&2
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12785 ## ------------------------------------ ##
12786 ## Report this to bug-autoconf@gnu.org. ##
12787 ## ------------------------------------ ##
12790 sed "s/^/$as_me: WARNING: /" >&2
12793 echo "$as_me:$LINENO: checking for $ac_header" >&5
12794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 eval "$as_ac_Header=$ac_header_preproc"
12800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12805 cat >>confdefs.h <<_ACEOF
12806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12814 for ac_header in unistd.h
12816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12818 echo "$as_me:$LINENO: checking for $ac_header" >&5
12819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12826 # Is the header compilable?
12827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12829 cat >conftest.$ac_ext <<_ACEOF
12830 #line $LINENO "configure"
12833 cat confdefs.h >>conftest.$ac_ext
12834 cat >>conftest.$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836 $ac_includes_default
12837 #include <$ac_header>
12839 rm -f conftest.$ac_objext
12840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12841 (eval $ac_compile) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_header_compiler=yes
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12856 ac_header_compiler=no
12858 rm -f conftest.$ac_objext conftest.$ac_ext
12859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12860 echo "${ECHO_T}$ac_header_compiler" >&6
12862 # Is the header present?
12863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12865 cat >conftest.$ac_ext <<_ACEOF
12866 #line $LINENO "configure"
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 #include <$ac_header>
12874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12877 grep -v '^ *+' conftest.er1 >conftest.err
12879 cat conftest.err >&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } >/dev/null; then
12882 if test -s conftest.err; then
12883 ac_cpp_err=$ac_c_preproc_warn_flag
12890 if test -z "$ac_cpp_err"; then
12891 ac_header_preproc=yes
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12896 ac_header_preproc=no
12898 rm -f conftest.err conftest.$ac_ext
12899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12900 echo "${ECHO_T}$ac_header_preproc" >&6
12902 # So? What about this header?
12903 case $ac_header_compiler:$ac_header_preproc in
12905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12911 ## ------------------------------------ ##
12912 ## Report this to bug-autoconf@gnu.org. ##
12913 ## ------------------------------------ ##
12916 sed "s/^/$as_me: WARNING: /" >&2
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12927 ## ------------------------------------ ##
12928 ## Report this to bug-autoconf@gnu.org. ##
12929 ## ------------------------------------ ##
12932 sed "s/^/$as_me: WARNING: /" >&2
12935 echo "$as_me:$LINENO: checking for $ac_header" >&5
12936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 eval "$as_ac_Header=$ac_header_preproc"
12942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h <<_ACEOF
12948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12956 for ac_header in wchar.h
12958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12960 echo "$as_me:$LINENO: checking for $ac_header" >&5
12961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12968 # Is the header compilable?
12969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12971 cat >conftest.$ac_ext <<_ACEOF
12972 #line $LINENO "configure"
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 $ac_includes_default
12979 #include <$ac_header>
12981 rm -f conftest.$ac_objext
12982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12983 (eval $ac_compile) 2>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try='test -s conftest.$ac_objext'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; }; then
12993 ac_header_compiler=yes
12995 echo "$as_me: failed program was:" >&5
12996 sed 's/^/| /' conftest.$ac_ext >&5
12998 ac_header_compiler=no
13000 rm -f conftest.$ac_objext conftest.$ac_ext
13001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13002 echo "${ECHO_T}$ac_header_compiler" >&6
13004 # Is the header present?
13005 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13007 cat >conftest.$ac_ext <<_ACEOF
13008 #line $LINENO "configure"
13011 cat confdefs.h >>conftest.$ac_ext
13012 cat >>conftest.$ac_ext <<_ACEOF
13013 /* end confdefs.h. */
13014 #include <$ac_header>
13016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13019 grep -v '^ *+' conftest.er1 >conftest.err
13021 cat conftest.err >&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } >/dev/null; then
13024 if test -s conftest.err; then
13025 ac_cpp_err=$ac_c_preproc_warn_flag
13032 if test -z "$ac_cpp_err"; then
13033 ac_header_preproc=yes
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13038 ac_header_preproc=no
13040 rm -f conftest.err conftest.$ac_ext
13041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13042 echo "${ECHO_T}$ac_header_preproc" >&6
13044 # So? What about this header?
13045 case $ac_header_compiler:$ac_header_preproc in
13047 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13048 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13053 ## ------------------------------------ ##
13054 ## Report this to bug-autoconf@gnu.org. ##
13055 ## ------------------------------------ ##
13058 sed "s/^/$as_me: WARNING: /" >&2
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13069 ## ------------------------------------ ##
13070 ## Report this to bug-autoconf@gnu.org. ##
13071 ## ------------------------------------ ##
13074 sed "s/^/$as_me: WARNING: /" >&2
13077 echo "$as_me:$LINENO: checking for $ac_header" >&5
13078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 eval "$as_ac_Header=$ac_header_preproc"
13084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13089 cat >>confdefs.h <<_ACEOF
13090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13098 if test "$ac_cv_header_wchar_h" != "yes"; then
13100 for ac_header in wcstr.h
13102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13104 echo "$as_me:$LINENO: checking for $ac_header" >&5
13105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13112 # Is the header compilable?
13113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13115 cat >conftest.$ac_ext <<_ACEOF
13116 #line $LINENO "configure"
13119 cat confdefs.h >>conftest.$ac_ext
13120 cat >>conftest.$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122 $ac_includes_default
13123 #include <$ac_header>
13125 rm -f conftest.$ac_objext
13126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13127 (eval $ac_compile) 2>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try='test -s conftest.$ac_objext'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; }; then
13137 ac_header_compiler=yes
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.$ac_ext >&5
13142 ac_header_compiler=no
13144 rm -f conftest.$ac_objext conftest.$ac_ext
13145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13146 echo "${ECHO_T}$ac_header_compiler" >&6
13148 # Is the header present?
13149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13151 cat >conftest.$ac_ext <<_ACEOF
13152 #line $LINENO "configure"
13155 cat confdefs.h >>conftest.$ac_ext
13156 cat >>conftest.$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 #include <$ac_header>
13160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13163 grep -v '^ *+' conftest.er1 >conftest.err
13165 cat conftest.err >&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } >/dev/null; then
13168 if test -s conftest.err; then
13169 ac_cpp_err=$ac_c_preproc_warn_flag
13176 if test -z "$ac_cpp_err"; then
13177 ac_header_preproc=yes
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13182 ac_header_preproc=no
13184 rm -f conftest.err conftest.$ac_ext
13185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13186 echo "${ECHO_T}$ac_header_preproc" >&6
13188 # So? What about this header?
13189 case $ac_header_compiler:$ac_header_preproc in
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13197 ## ------------------------------------ ##
13198 ## Report this to bug-autoconf@gnu.org. ##
13199 ## ------------------------------------ ##
13202 sed "s/^/$as_me: WARNING: /" >&2
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13213 ## ------------------------------------ ##
13214 ## Report this to bug-autoconf@gnu.org. ##
13215 ## ------------------------------------ ##
13218 sed "s/^/$as_me: WARNING: /" >&2
13221 echo "$as_me:$LINENO: checking for $ac_header" >&5
13222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 eval "$as_ac_Header=$ac_header_preproc"
13228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13233 cat >>confdefs.h <<_ACEOF
13234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13244 for ac_header in fnmatch.h
13246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13248 echo "$as_me:$LINENO: checking for $ac_header" >&5
13249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13256 # Is the header compilable?
13257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13259 cat >conftest.$ac_ext <<_ACEOF
13260 #line $LINENO "configure"
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13266 $ac_includes_default
13267 #include <$ac_header>
13269 rm -f conftest.$ac_objext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 (eval $ac_compile) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try='test -s conftest.$ac_objext'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; }; then
13281 ac_header_compiler=yes
13283 echo "$as_me: failed program was:" >&5
13284 sed 's/^/| /' conftest.$ac_ext >&5
13286 ac_header_compiler=no
13288 rm -f conftest.$ac_objext conftest.$ac_ext
13289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13290 echo "${ECHO_T}$ac_header_compiler" >&6
13292 # Is the header present?
13293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13295 cat >conftest.$ac_ext <<_ACEOF
13296 #line $LINENO "configure"
13299 cat confdefs.h >>conftest.$ac_ext
13300 cat >>conftest.$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 #include <$ac_header>
13304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13307 grep -v '^ *+' conftest.er1 >conftest.err
13309 cat conftest.err >&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } >/dev/null; then
13312 if test -s conftest.err; then
13313 ac_cpp_err=$ac_c_preproc_warn_flag
13320 if test -z "$ac_cpp_err"; then
13321 ac_header_preproc=yes
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13326 ac_header_preproc=no
13328 rm -f conftest.err conftest.$ac_ext
13329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13330 echo "${ECHO_T}$ac_header_preproc" >&6
13332 # So? What about this header?
13333 case $ac_header_compiler:$ac_header_preproc in
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13341 ## ------------------------------------ ##
13342 ## Report this to bug-autoconf@gnu.org. ##
13343 ## ------------------------------------ ##
13346 sed "s/^/$as_me: WARNING: /" >&2
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13357 ## ------------------------------------ ##
13358 ## Report this to bug-autoconf@gnu.org. ##
13359 ## ------------------------------------ ##
13362 sed "s/^/$as_me: WARNING: /" >&2
13365 echo "$as_me:$LINENO: checking for $ac_header" >&5
13366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13368 echo $ECHO_N "(cached) $ECHO_C" >&6
13370 eval "$as_ac_Header=$ac_header_preproc"
13372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13377 cat >>confdefs.h <<_ACEOF
13378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13386 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13388 for ac_func in fnmatch
13390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13391 echo "$as_me:$LINENO: checking for $ac_func" >&5
13392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13393 if eval "test \"\${$as_ac_var+set}\" = set"; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13396 cat >conftest.$ac_ext <<_ACEOF
13397 #line $LINENO "configure"
13400 cat confdefs.h >>conftest.$ac_ext
13401 cat >>conftest.$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13403 /* System header to define __stub macros and hopefully few prototypes,
13404 which can conflict with char $ac_func (); below.
13405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13406 <limits.h> exists even on freestanding compilers. */
13408 # include <limits.h>
13410 # include <assert.h>
13412 /* Override any gcc2 internal prototype to avoid an error. */
13417 /* We use char because int might match the return type of a gcc2
13418 builtin and then its argument prototype would still apply. */
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13426 char (*f) () = $ac_func;
13435 return f != $ac_func;
13440 rm -f conftest.$ac_objext conftest$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try='test -s conftest$ac_exeext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 eval "$as_ac_var=yes"
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13457 eval "$as_ac_var=no"
13459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13463 if test `eval echo '${'$as_ac_var'}'` = yes; then
13464 cat >>confdefs.h <<_ACEOF
13465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13474 for ac_header in langinfo.h
13476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13478 echo "$as_me:$LINENO: checking for $ac_header" >&5
13479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13486 # Is the header compilable?
13487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13489 cat >conftest.$ac_ext <<_ACEOF
13490 #line $LINENO "configure"
13493 cat confdefs.h >>conftest.$ac_ext
13494 cat >>conftest.$ac_ext <<_ACEOF
13495 /* end confdefs.h. */
13496 $ac_includes_default
13497 #include <$ac_header>
13499 rm -f conftest.$ac_objext
13500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13501 (eval $ac_compile) 2>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } &&
13505 { ac_try='test -s conftest.$ac_objext'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13511 ac_header_compiler=yes
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.$ac_ext >&5
13516 ac_header_compiler=no
13518 rm -f conftest.$ac_objext conftest.$ac_ext
13519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13520 echo "${ECHO_T}$ac_header_compiler" >&6
13522 # Is the header present?
13523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13525 cat >conftest.$ac_ext <<_ACEOF
13526 #line $LINENO "configure"
13529 cat confdefs.h >>conftest.$ac_ext
13530 cat >>conftest.$ac_ext <<_ACEOF
13531 /* end confdefs.h. */
13532 #include <$ac_header>
13534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13535 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
13542 if test -s conftest.err; then
13543 ac_cpp_err=$ac_c_preproc_warn_flag
13550 if test -z "$ac_cpp_err"; then
13551 ac_header_preproc=yes
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13556 ac_header_preproc=no
13558 rm -f conftest.err conftest.$ac_ext
13559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13560 echo "${ECHO_T}$ac_header_preproc" >&6
13562 # So? What about this header?
13563 case $ac_header_compiler:$ac_header_preproc in
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13571 ## ------------------------------------ ##
13572 ## Report this to bug-autoconf@gnu.org. ##
13573 ## ------------------------------------ ##
13576 sed "s/^/$as_me: WARNING: /" >&2
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13587 ## ------------------------------------ ##
13588 ## Report this to bug-autoconf@gnu.org. ##
13589 ## ------------------------------------ ##
13592 sed "s/^/$as_me: WARNING: /" >&2
13595 echo "$as_me:$LINENO: checking for $ac_header" >&5
13596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 eval "$as_ac_Header=$ac_header_preproc"
13602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13607 cat >>confdefs.h <<_ACEOF
13608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13617 *-pc-os2_emx | *-pc-os2-emx )
13618 if test $ac_cv_header_langinfo_h = "yes"; then
13619 LIBS="$LIBS -lintl"
13624 if test "$wxUSE_GUI" = "yes"; then
13625 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13627 for ac_header in X11/Xlib.h
13629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13631 echo "$as_me:$LINENO: checking for $ac_header" >&5
13632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13639 # Is the header compilable?
13640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13642 cat >conftest.$ac_ext <<_ACEOF
13643 #line $LINENO "configure"
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 $ac_includes_default
13650 #include <$ac_header>
13652 rm -f conftest.$ac_objext
13653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13654 (eval $ac_compile) 2>&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); } &&
13658 { ac_try='test -s conftest.$ac_objext'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; }; then
13664 ac_header_compiler=yes
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.$ac_ext >&5
13669 ac_header_compiler=no
13671 rm -f conftest.$ac_objext conftest.$ac_ext
13672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13673 echo "${ECHO_T}$ac_header_compiler" >&6
13675 # Is the header present?
13676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13678 cat >conftest.$ac_ext <<_ACEOF
13679 #line $LINENO "configure"
13682 cat confdefs.h >>conftest.$ac_ext
13683 cat >>conftest.$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 #include <$ac_header>
13687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13690 grep -v '^ *+' conftest.er1 >conftest.err
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } >/dev/null; then
13695 if test -s conftest.err; then
13696 ac_cpp_err=$ac_c_preproc_warn_flag
13703 if test -z "$ac_cpp_err"; then
13704 ac_header_preproc=yes
13706 echo "$as_me: failed program was:" >&5
13707 sed 's/^/| /' conftest.$ac_ext >&5
13709 ac_header_preproc=no
13711 rm -f conftest.err conftest.$ac_ext
13712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13713 echo "${ECHO_T}$ac_header_preproc" >&6
13715 # So? What about this header?
13716 case $ac_header_compiler:$ac_header_preproc in
13718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13724 ## ------------------------------------ ##
13725 ## Report this to bug-autoconf@gnu.org. ##
13726 ## ------------------------------------ ##
13729 sed "s/^/$as_me: WARNING: /" >&2
13732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13740 ## ------------------------------------ ##
13741 ## Report this to bug-autoconf@gnu.org. ##
13742 ## ------------------------------------ ##
13745 sed "s/^/$as_me: WARNING: /" >&2
13748 echo "$as_me:$LINENO: checking for $ac_header" >&5
13749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 eval "$as_ac_Header=$ac_header_preproc"
13755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13760 cat >>confdefs.h <<_ACEOF
13761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13769 for ac_header in X11/XKBlib.h
13771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13772 echo "$as_me:$LINENO: checking for $ac_header" >&5
13773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 cat >conftest.$ac_ext <<_ACEOF
13778 #line $LINENO "configure"
13781 cat confdefs.h >>conftest.$ac_ext
13782 cat >>conftest.$ac_ext <<_ACEOF
13783 /* end confdefs.h. */
13785 #if HAVE_X11_XLIB_H
13786 #include <X11/Xlib.h>
13790 #include <$ac_header>
13792 rm -f conftest.$ac_objext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13794 (eval $ac_compile) 2>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try='test -s conftest.$ac_objext'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; }; then
13804 eval "$as_ac_Header=yes"
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.$ac_ext >&5
13809 eval "$as_ac_Header=no"
13811 rm -f conftest.$ac_objext conftest.$ac_ext
13813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13816 cat >>confdefs.h <<_ACEOF
13817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13828 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13829 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13830 if test "${ac_cv_c_const+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 cat >conftest.$ac_ext <<_ACEOF
13834 #line $LINENO "configure"
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13844 /* FIXME: Include the comments suggested by Paul. */
13845 #ifndef __cplusplus
13846 /* Ultrix mips cc rejects this. */
13847 typedef int charset[2];
13849 /* SunOS 4.1.1 cc rejects this. */
13850 char const *const *ccp;
13852 /* NEC SVR4.0.2 mips cc rejects this. */
13853 struct point {int x, y;};
13854 static struct point const zero = {0,0};
13855 /* AIX XL C 1.02.0.0 rejects this.
13856 It does not let you subtract one const X* pointer from another in
13857 an arm of an if-expression whose if-part is not a constant
13859 const char *g = "string";
13860 ccp = &g + (g ? g-g : 0);
13861 /* HPUX 7.0 cc rejects these. */
13864 ccp = (char const *const *) p;
13865 { /* SCO 3.2v4 cc rejects this. */
13867 char const *s = 0 ? (char *) 0 : (char const *) 0;
13871 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13872 int x[] = {25, 17};
13873 const int *foo = &x[0];
13876 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13877 typedef const int *iptr;
13881 { /* AIX XL C 1.02.0.0 rejects this saying
13882 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13883 struct s { int j; const int *ap[3]; };
13884 struct s *b; b->j = 5;
13886 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13887 const int foo = 10;
13895 rm -f conftest.$ac_objext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13897 (eval $ac_compile) 2>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try='test -s conftest.$ac_objext'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; }; then
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13914 rm -f conftest.$ac_objext conftest.$ac_ext
13916 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13917 echo "${ECHO_T}$ac_cv_c_const" >&6
13918 if test $ac_cv_c_const = no; then
13920 cat >>confdefs.h <<\_ACEOF
13926 echo "$as_me:$LINENO: checking for inline" >&5
13927 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13928 if test "${ac_cv_c_inline+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 for ac_kw in inline __inline__ __inline; do
13933 cat >conftest.$ac_ext <<_ACEOF
13934 #line $LINENO "configure"
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 #ifndef __cplusplus
13942 static $ac_kw foo_t static_foo () {return 0; }
13943 $ac_kw foo_t foo () {return 0; }
13947 rm -f conftest.$ac_objext
13948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13949 (eval $ac_compile) 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try='test -s conftest.$ac_objext'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; }; then
13959 ac_cv_c_inline=$ac_kw; break
13961 echo "$as_me: failed program was:" >&5
13962 sed 's/^/| /' conftest.$ac_ext >&5
13965 rm -f conftest.$ac_objext conftest.$ac_ext
13969 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13970 echo "${ECHO_T}$ac_cv_c_inline" >&6
13971 case $ac_cv_c_inline in
13974 cat >>confdefs.h <<\_ACEOF
13978 *) cat >>confdefs.h <<_ACEOF
13979 #define inline $ac_cv_c_inline
13985 echo "$as_me:$LINENO: checking for char" >&5
13986 echo $ECHO_N "checking for char... $ECHO_C" >&6
13987 if test "${ac_cv_type_char+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13990 cat >conftest.$ac_ext <<_ACEOF
13991 #line $LINENO "configure"
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13997 $ac_includes_default
14009 rm -f conftest.$ac_objext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14011 (eval $ac_compile) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } &&
14015 { ac_try='test -s conftest.$ac_objext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 ac_cv_type_char=yes
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14028 rm -f conftest.$ac_objext conftest.$ac_ext
14030 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14031 echo "${ECHO_T}$ac_cv_type_char" >&6
14033 echo "$as_me:$LINENO: checking size of char" >&5
14034 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14035 if test "${ac_cv_sizeof_char+set}" = set; then
14036 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 if test "$ac_cv_type_char" = yes; then
14039 # The cast to unsigned long works around a bug in the HP C Compiler
14040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14041 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14042 # This bug is HP SR number 8606223364.
14043 if test "$cross_compiling" = yes; then
14044 # Depending upon the size, compute the lo and hi bounds.
14045 cat >conftest.$ac_ext <<_ACEOF
14046 #line $LINENO "configure"
14049 cat confdefs.h >>conftest.$ac_ext
14050 cat >>conftest.$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14052 $ac_includes_default
14056 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14063 rm -f conftest.$ac_objext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try='test -s conftest.$ac_objext'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; }; then
14077 cat >conftest.$ac_ext <<_ACEOF
14078 #line $LINENO "configure"
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 $ac_includes_default
14088 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14095 rm -f conftest.$ac_objext
14096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14107 ac_hi=$ac_mid; break
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.$ac_ext >&5
14112 ac_lo=`expr $ac_mid + 1`
14113 if test $ac_lo -le $ac_mid; then
14117 ac_mid=`expr 2 '*' $ac_mid + 1`
14119 rm -f conftest.$ac_objext conftest.$ac_ext
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14125 cat >conftest.$ac_ext <<_ACEOF
14126 #line $LINENO "configure"
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 $ac_includes_default
14136 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14143 rm -f conftest.$ac_objext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14145 (eval $ac_compile) 2>&5
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); } &&
14149 { ac_try='test -s conftest.$ac_objext'
14150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151 (eval $ac_try) 2>&5
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); }; }; then
14157 cat >conftest.$ac_ext <<_ACEOF
14158 #line $LINENO "configure"
14161 cat confdefs.h >>conftest.$ac_ext
14162 cat >>conftest.$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 $ac_includes_default
14168 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14175 rm -f conftest.$ac_objext
14176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try='test -s conftest.$ac_objext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 ac_lo=$ac_mid; break
14189 echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.$ac_ext >&5
14192 ac_hi=`expr '(' $ac_mid ')' - 1`
14193 if test $ac_mid -le $ac_hi; then
14197 ac_mid=`expr 2 '*' $ac_mid`
14199 rm -f conftest.$ac_objext conftest.$ac_ext
14202 echo "$as_me: failed program was:" >&5
14203 sed 's/^/| /' conftest.$ac_ext >&5
14207 rm -f conftest.$ac_objext conftest.$ac_ext
14209 rm -f conftest.$ac_objext conftest.$ac_ext
14210 # Binary search between lo and hi bounds.
14211 while test "x$ac_lo" != "x$ac_hi"; do
14212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14213 cat >conftest.$ac_ext <<_ACEOF
14214 #line $LINENO "configure"
14217 cat confdefs.h >>conftest.$ac_ext
14218 cat >>conftest.$ac_ext <<_ACEOF
14219 /* end confdefs.h. */
14220 $ac_includes_default
14224 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14231 rm -f conftest.$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try='test -s conftest.$ac_objext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.$ac_ext >&5
14248 ac_lo=`expr '(' $ac_mid ')' + 1`
14250 rm -f conftest.$ac_objext conftest.$ac_ext
14253 ?*) ac_cv_sizeof_char=$ac_lo;;
14254 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14255 See \`config.log' for more details." >&5
14256 echo "$as_me: error: cannot compute sizeof (char), 77
14257 See \`config.log' for more details." >&2;}
14258 { (exit 1); exit 1; }; } ;;
14261 if test "$cross_compiling" = yes; then
14262 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14263 See \`config.log' for more details." >&5
14264 echo "$as_me: error: cannot run test program while cross compiling
14265 See \`config.log' for more details." >&2;}
14266 { (exit 1); exit 1; }; }
14268 cat >conftest.$ac_ext <<_ACEOF
14269 #line $LINENO "configure"
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275 $ac_includes_default
14276 long longval () { return (long) (sizeof (char)); }
14277 unsigned long ulongval () { return (long) (sizeof (char)); }
14279 #include <stdlib.h>
14284 FILE *f = fopen ("conftest.val", "w");
14287 if (((long) (sizeof (char))) < 0)
14289 long i = longval ();
14290 if (i != ((long) (sizeof (char))))
14292 fprintf (f, "%ld\n", i);
14296 unsigned long i = ulongval ();
14297 if (i != ((long) (sizeof (char))))
14299 fprintf (f, "%lu\n", i);
14301 exit (ferror (f) || fclose (f) != 0);
14307 rm -f conftest$ac_exeext
14308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14309 (eval $ac_link) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 ac_cv_sizeof_char=`cat conftest.val`
14320 echo "$as_me: program exited with status $ac_status" >&5
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14324 ( exit $ac_status )
14325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14326 See \`config.log' for more details." >&5
14327 echo "$as_me: error: cannot compute sizeof (char), 77
14328 See \`config.log' for more details." >&2;}
14329 { (exit 1); exit 1; }; }
14331 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14336 ac_cv_sizeof_char=0
14339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14340 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14341 cat >>confdefs.h <<_ACEOF
14342 #define SIZEOF_CHAR $ac_cv_sizeof_char
14346 echo "$as_me:$LINENO: checking for short" >&5
14347 echo $ECHO_N "checking for short... $ECHO_C" >&6
14348 if test "${ac_cv_type_short+set}" = set; then
14349 echo $ECHO_N "(cached) $ECHO_C" >&6
14351 cat >conftest.$ac_ext <<_ACEOF
14352 #line $LINENO "configure"
14355 cat confdefs.h >>conftest.$ac_ext
14356 cat >>conftest.$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14358 $ac_includes_default
14364 if (sizeof (short))
14370 rm -f conftest.$ac_objext
14371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14372 (eval $ac_compile) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); } &&
14376 { ac_try='test -s conftest.$ac_objext'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; }; then
14382 ac_cv_type_short=yes
14384 echo "$as_me: failed program was:" >&5
14385 sed 's/^/| /' conftest.$ac_ext >&5
14387 ac_cv_type_short=no
14389 rm -f conftest.$ac_objext conftest.$ac_ext
14391 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14392 echo "${ECHO_T}$ac_cv_type_short" >&6
14394 echo "$as_me:$LINENO: checking size of short" >&5
14395 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14396 if test "${ac_cv_sizeof_short+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14399 if test "$ac_cv_type_short" = yes; then
14400 # The cast to unsigned long works around a bug in the HP C Compiler
14401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14403 # This bug is HP SR number 8606223364.
14404 if test "$cross_compiling" = yes; then
14405 # Depending upon the size, compute the lo and hi bounds.
14406 cat >conftest.$ac_ext <<_ACEOF
14407 #line $LINENO "configure"
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14417 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14424 rm -f conftest.$ac_objext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14426 (eval $ac_compile) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try='test -s conftest.$ac_objext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14438 cat >conftest.$ac_ext <<_ACEOF
14439 #line $LINENO "configure"
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445 $ac_includes_default
14449 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14456 rm -f conftest.$ac_objext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 ac_hi=$ac_mid; break
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14473 ac_lo=`expr $ac_mid + 1`
14474 if test $ac_lo -le $ac_mid; then
14478 ac_mid=`expr 2 '*' $ac_mid + 1`
14480 rm -f conftest.$ac_objext conftest.$ac_ext
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.$ac_ext >&5
14486 cat >conftest.$ac_ext <<_ACEOF
14487 #line $LINENO "configure"
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493 $ac_includes_default
14497 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14504 rm -f conftest.$ac_objext
14505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14506 (eval $ac_compile) 2>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } &&
14510 { ac_try='test -s conftest.$ac_objext'
14511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14512 (eval $ac_try) 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14518 cat >conftest.$ac_ext <<_ACEOF
14519 #line $LINENO "configure"
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525 $ac_includes_default
14529 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14536 rm -f conftest.$ac_objext
14537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_lo=$ac_mid; break
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.$ac_ext >&5
14553 ac_hi=`expr '(' $ac_mid ')' - 1`
14554 if test $ac_mid -le $ac_hi; then
14558 ac_mid=`expr 2 '*' $ac_mid`
14560 rm -f conftest.$ac_objext conftest.$ac_ext
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14568 rm -f conftest.$ac_objext conftest.$ac_ext
14570 rm -f conftest.$ac_objext conftest.$ac_ext
14571 # Binary search between lo and hi bounds.
14572 while test "x$ac_lo" != "x$ac_hi"; do
14573 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14574 cat >conftest.$ac_ext <<_ACEOF
14575 #line $LINENO "configure"
14578 cat confdefs.h >>conftest.$ac_ext
14579 cat >>conftest.$ac_ext <<_ACEOF
14580 /* end confdefs.h. */
14581 $ac_includes_default
14585 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14592 rm -f conftest.$ac_objext
14593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14594 (eval $ac_compile) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14609 ac_lo=`expr '(' $ac_mid ')' + 1`
14611 rm -f conftest.$ac_objext conftest.$ac_ext
14614 ?*) ac_cv_sizeof_short=$ac_lo;;
14615 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14616 See \`config.log' for more details." >&5
14617 echo "$as_me: error: cannot compute sizeof (short), 77
14618 See \`config.log' for more details." >&2;}
14619 { (exit 1); exit 1; }; } ;;
14622 if test "$cross_compiling" = yes; then
14623 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14624 See \`config.log' for more details." >&5
14625 echo "$as_me: error: cannot run test program while cross compiling
14626 See \`config.log' for more details." >&2;}
14627 { (exit 1); exit 1; }; }
14629 cat >conftest.$ac_ext <<_ACEOF
14630 #line $LINENO "configure"
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14636 $ac_includes_default
14637 long longval () { return (long) (sizeof (short)); }
14638 unsigned long ulongval () { return (long) (sizeof (short)); }
14640 #include <stdlib.h>
14645 FILE *f = fopen ("conftest.val", "w");
14648 if (((long) (sizeof (short))) < 0)
14650 long i = longval ();
14651 if (i != ((long) (sizeof (short))))
14653 fprintf (f, "%ld\n", i);
14657 unsigned long i = ulongval ();
14658 if (i != ((long) (sizeof (short))))
14660 fprintf (f, "%lu\n", i);
14662 exit (ferror (f) || fclose (f) != 0);
14668 rm -f conftest$ac_exeext
14669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14670 (eval $ac_link) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 ac_cv_sizeof_short=`cat conftest.val`
14681 echo "$as_me: program exited with status $ac_status" >&5
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14685 ( exit $ac_status )
14686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14687 See \`config.log' for more details." >&5
14688 echo "$as_me: error: cannot compute sizeof (short), 77
14689 See \`config.log' for more details." >&2;}
14690 { (exit 1); exit 1; }; }
14692 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14697 ac_cv_sizeof_short=0
14700 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14701 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14702 cat >>confdefs.h <<_ACEOF
14703 #define SIZEOF_SHORT $ac_cv_sizeof_short
14707 echo "$as_me:$LINENO: checking for void *" >&5
14708 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14709 if test "${ac_cv_type_void_p+set}" = set; then
14710 echo $ECHO_N "(cached) $ECHO_C" >&6
14712 cat >conftest.$ac_ext <<_ACEOF
14713 #line $LINENO "configure"
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 $ac_includes_default
14725 if (sizeof (void *))
14731 rm -f conftest.$ac_objext
14732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14733 (eval $ac_compile) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_type_void_p=yes
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.$ac_ext >&5
14748 ac_cv_type_void_p=no
14750 rm -f conftest.$ac_objext conftest.$ac_ext
14752 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14753 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14755 echo "$as_me:$LINENO: checking size of void *" >&5
14756 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14757 if test "${ac_cv_sizeof_void_p+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 if test "$ac_cv_type_void_p" = yes; then
14761 # The cast to unsigned long works around a bug in the HP C Compiler
14762 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14763 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14764 # This bug is HP SR number 8606223364.
14765 if test "$cross_compiling" = yes; then
14766 # Depending upon the size, compute the lo and hi bounds.
14767 cat >conftest.$ac_ext <<_ACEOF
14768 #line $LINENO "configure"
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14778 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14785 rm -f conftest.$ac_objext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try='test -s conftest.$ac_objext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14799 cat >conftest.$ac_ext <<_ACEOF
14800 #line $LINENO "configure"
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806 $ac_includes_default
14810 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14817 rm -f conftest.$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_hi=$ac_mid; break
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14834 ac_lo=`expr $ac_mid + 1`
14835 if test $ac_lo -le $ac_mid; then
14839 ac_mid=`expr 2 '*' $ac_mid + 1`
14841 rm -f conftest.$ac_objext conftest.$ac_ext
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.$ac_ext >&5
14847 cat >conftest.$ac_ext <<_ACEOF
14848 #line $LINENO "configure"
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 $ac_includes_default
14858 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14865 rm -f conftest.$ac_objext
14866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14867 (eval $ac_compile) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); } &&
14871 { ac_try='test -s conftest.$ac_objext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14879 cat >conftest.$ac_ext <<_ACEOF
14880 #line $LINENO "configure"
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 $ac_includes_default
14890 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14897 rm -f conftest.$ac_objext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14899 (eval $ac_compile) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try='test -s conftest.$ac_objext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_lo=$ac_mid; break
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14914 ac_hi=`expr '(' $ac_mid ')' - 1`
14915 if test $ac_mid -le $ac_hi; then
14919 ac_mid=`expr 2 '*' $ac_mid`
14921 rm -f conftest.$ac_objext conftest.$ac_ext
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14929 rm -f conftest.$ac_objext conftest.$ac_ext
14931 rm -f conftest.$ac_objext conftest.$ac_ext
14932 # Binary search between lo and hi bounds.
14933 while test "x$ac_lo" != "x$ac_hi"; do
14934 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14935 cat >conftest.$ac_ext <<_ACEOF
14936 #line $LINENO "configure"
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942 $ac_includes_default
14946 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14953 rm -f conftest.$ac_objext
14954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14955 (eval $ac_compile) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try='test -s conftest.$ac_objext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.$ac_ext >&5
14970 ac_lo=`expr '(' $ac_mid ')' + 1`
14972 rm -f conftest.$ac_objext conftest.$ac_ext
14975 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14976 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14977 See \`config.log' for more details." >&5
14978 echo "$as_me: error: cannot compute sizeof (void *), 77
14979 See \`config.log' for more details." >&2;}
14980 { (exit 1); exit 1; }; } ;;
14983 if test "$cross_compiling" = yes; then
14984 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14985 See \`config.log' for more details." >&5
14986 echo "$as_me: error: cannot run test program while cross compiling
14987 See \`config.log' for more details." >&2;}
14988 { (exit 1); exit 1; }; }
14990 cat >conftest.$ac_ext <<_ACEOF
14991 #line $LINENO "configure"
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
14997 $ac_includes_default
14998 long longval () { return (long) (sizeof (void *)); }
14999 unsigned long ulongval () { return (long) (sizeof (void *)); }
15001 #include <stdlib.h>
15006 FILE *f = fopen ("conftest.val", "w");
15009 if (((long) (sizeof (void *))) < 0)
15011 long i = longval ();
15012 if (i != ((long) (sizeof (void *))))
15014 fprintf (f, "%ld\n", i);
15018 unsigned long i = ulongval ();
15019 if (i != ((long) (sizeof (void *))))
15021 fprintf (f, "%lu\n", i);
15023 exit (ferror (f) || fclose (f) != 0);
15029 rm -f conftest$ac_exeext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15031 (eval $ac_link) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15040 ac_cv_sizeof_void_p=`cat conftest.val`
15042 echo "$as_me: program exited with status $ac_status" >&5
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15046 ( exit $ac_status )
15047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15048 See \`config.log' for more details." >&5
15049 echo "$as_me: error: cannot compute sizeof (void *), 77
15050 See \`config.log' for more details." >&2;}
15051 { (exit 1); exit 1; }; }
15053 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15058 ac_cv_sizeof_void_p=0
15061 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15062 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15063 cat >>confdefs.h <<_ACEOF
15064 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15068 echo "$as_me:$LINENO: checking for int" >&5
15069 echo $ECHO_N "checking for int... $ECHO_C" >&6
15070 if test "${ac_cv_type_int+set}" = set; then
15071 echo $ECHO_N "(cached) $ECHO_C" >&6
15073 cat >conftest.$ac_ext <<_ACEOF
15074 #line $LINENO "configure"
15077 cat confdefs.h >>conftest.$ac_ext
15078 cat >>conftest.$ac_ext <<_ACEOF
15079 /* end confdefs.h. */
15080 $ac_includes_default
15092 rm -f conftest.$ac_objext
15093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15094 (eval $ac_compile) 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } &&
15098 { ac_try='test -s conftest.$ac_objext'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15111 rm -f conftest.$ac_objext conftest.$ac_ext
15113 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15114 echo "${ECHO_T}$ac_cv_type_int" >&6
15116 echo "$as_me:$LINENO: checking size of int" >&5
15117 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15118 if test "${ac_cv_sizeof_int+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15121 if test "$ac_cv_type_int" = yes; then
15122 # The cast to unsigned long works around a bug in the HP C Compiler
15123 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15124 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15125 # This bug is HP SR number 8606223364.
15126 if test "$cross_compiling" = yes; then
15127 # Depending upon the size, compute the lo and hi bounds.
15128 cat >conftest.$ac_ext <<_ACEOF
15129 #line $LINENO "configure"
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15139 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15146 rm -f conftest.$ac_objext
15147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15148 (eval $ac_compile) 2>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try='test -s conftest.$ac_objext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15160 cat >conftest.$ac_ext <<_ACEOF
15161 #line $LINENO "configure"
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 $ac_includes_default
15171 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15178 rm -f conftest.$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_hi=$ac_mid; break
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15195 ac_lo=`expr $ac_mid + 1`
15196 if test $ac_lo -le $ac_mid; then
15200 ac_mid=`expr 2 '*' $ac_mid + 1`
15202 rm -f conftest.$ac_objext conftest.$ac_ext
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.$ac_ext >&5
15208 cat >conftest.$ac_ext <<_ACEOF
15209 #line $LINENO "configure"
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 $ac_includes_default
15219 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15226 rm -f conftest.$ac_objext
15227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15228 (eval $ac_compile) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try='test -s conftest.$ac_objext'
15233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15234 (eval $ac_try) 2>&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); }; }; then
15240 cat >conftest.$ac_ext <<_ACEOF
15241 #line $LINENO "configure"
15244 cat confdefs.h >>conftest.$ac_ext
15245 cat >>conftest.$ac_ext <<_ACEOF
15246 /* end confdefs.h. */
15247 $ac_includes_default
15251 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15258 rm -f conftest.$ac_objext
15259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15260 (eval $ac_compile) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } &&
15264 { ac_try='test -s conftest.$ac_objext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 ac_lo=$ac_mid; break
15272 echo "$as_me: failed program was:" >&5
15273 sed 's/^/| /' conftest.$ac_ext >&5
15275 ac_hi=`expr '(' $ac_mid ')' - 1`
15276 if test $ac_mid -le $ac_hi; then
15280 ac_mid=`expr 2 '*' $ac_mid`
15282 rm -f conftest.$ac_objext conftest.$ac_ext
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15290 rm -f conftest.$ac_objext conftest.$ac_ext
15292 rm -f conftest.$ac_objext conftest.$ac_ext
15293 # Binary search between lo and hi bounds.
15294 while test "x$ac_lo" != "x$ac_hi"; do
15295 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15296 cat >conftest.$ac_ext <<_ACEOF
15297 #line $LINENO "configure"
15300 cat confdefs.h >>conftest.$ac_ext
15301 cat >>conftest.$ac_ext <<_ACEOF
15302 /* end confdefs.h. */
15303 $ac_includes_default
15307 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15314 rm -f conftest.$ac_objext
15315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15316 (eval $ac_compile) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try='test -s conftest.$ac_objext'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; }; then
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.$ac_ext >&5
15331 ac_lo=`expr '(' $ac_mid ')' + 1`
15333 rm -f conftest.$ac_objext conftest.$ac_ext
15336 ?*) ac_cv_sizeof_int=$ac_lo;;
15337 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15338 See \`config.log' for more details." >&5
15339 echo "$as_me: error: cannot compute sizeof (int), 77
15340 See \`config.log' for more details." >&2;}
15341 { (exit 1); exit 1; }; } ;;
15344 if test "$cross_compiling" = yes; then
15345 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15346 See \`config.log' for more details." >&5
15347 echo "$as_me: error: cannot run test program while cross compiling
15348 See \`config.log' for more details." >&2;}
15349 { (exit 1); exit 1; }; }
15351 cat >conftest.$ac_ext <<_ACEOF
15352 #line $LINENO "configure"
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358 $ac_includes_default
15359 long longval () { return (long) (sizeof (int)); }
15360 unsigned long ulongval () { return (long) (sizeof (int)); }
15362 #include <stdlib.h>
15367 FILE *f = fopen ("conftest.val", "w");
15370 if (((long) (sizeof (int))) < 0)
15372 long i = longval ();
15373 if (i != ((long) (sizeof (int))))
15375 fprintf (f, "%ld\n", i);
15379 unsigned long i = ulongval ();
15380 if (i != ((long) (sizeof (int))))
15382 fprintf (f, "%lu\n", i);
15384 exit (ferror (f) || fclose (f) != 0);
15390 rm -f conftest$ac_exeext
15391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15392 (eval $ac_link) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; }; then
15401 ac_cv_sizeof_int=`cat conftest.val`
15403 echo "$as_me: program exited with status $ac_status" >&5
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15407 ( exit $ac_status )
15408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15409 See \`config.log' for more details." >&5
15410 echo "$as_me: error: cannot compute sizeof (int), 77
15411 See \`config.log' for more details." >&2;}
15412 { (exit 1); exit 1; }; }
15414 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15422 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15423 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15424 cat >>confdefs.h <<_ACEOF
15425 #define SIZEOF_INT $ac_cv_sizeof_int
15429 echo "$as_me:$LINENO: checking for long" >&5
15430 echo $ECHO_N "checking for long... $ECHO_C" >&6
15431 if test "${ac_cv_type_long+set}" = set; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 cat >conftest.$ac_ext <<_ACEOF
15435 #line $LINENO "configure"
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15453 rm -f conftest.$ac_objext
15454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15455 (eval $ac_compile) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } &&
15459 { ac_try='test -s conftest.$ac_objext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15465 ac_cv_type_long=yes
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15472 rm -f conftest.$ac_objext conftest.$ac_ext
15474 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15475 echo "${ECHO_T}$ac_cv_type_long" >&6
15477 echo "$as_me:$LINENO: checking size of long" >&5
15478 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15479 if test "${ac_cv_sizeof_long+set}" = set; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15482 if test "$ac_cv_type_long" = yes; then
15483 # The cast to unsigned long works around a bug in the HP C Compiler
15484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15486 # This bug is HP SR number 8606223364.
15487 if test "$cross_compiling" = yes; then
15488 # Depending upon the size, compute the lo and hi bounds.
15489 cat >conftest.$ac_ext <<_ACEOF
15490 #line $LINENO "configure"
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 $ac_includes_default
15500 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15507 rm -f conftest.$ac_objext
15508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15509 (eval $ac_compile) 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } &&
15513 { ac_try='test -s conftest.$ac_objext'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; }; then
15521 cat >conftest.$ac_ext <<_ACEOF
15522 #line $LINENO "configure"
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15532 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15539 rm -f conftest.$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -s conftest.$ac_objext'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; }; then
15551 ac_hi=$ac_mid; break
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.$ac_ext >&5
15556 ac_lo=`expr $ac_mid + 1`
15557 if test $ac_lo -le $ac_mid; then
15561 ac_mid=`expr 2 '*' $ac_mid + 1`
15563 rm -f conftest.$ac_objext conftest.$ac_ext
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.$ac_ext >&5
15569 cat >conftest.$ac_ext <<_ACEOF
15570 #line $LINENO "configure"
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576 $ac_includes_default
15580 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); } &&
15593 { ac_try='test -s conftest.$ac_objext'
15594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15595 (eval $ac_try) 2>&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); }; }; then
15601 cat >conftest.$ac_ext <<_ACEOF
15602 #line $LINENO "configure"
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15612 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -s conftest.$ac_objext'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; }; then
15631 ac_lo=$ac_mid; break
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15636 ac_hi=`expr '(' $ac_mid ')' - 1`
15637 if test $ac_mid -le $ac_hi; then
15641 ac_mid=`expr 2 '*' $ac_mid`
15643 rm -f conftest.$ac_objext conftest.$ac_ext
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15651 rm -f conftest.$ac_objext conftest.$ac_ext
15653 rm -f conftest.$ac_objext conftest.$ac_ext
15654 # Binary search between lo and hi bounds.
15655 while test "x$ac_lo" != "x$ac_hi"; do
15656 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15657 cat >conftest.$ac_ext <<_ACEOF
15658 #line $LINENO "configure"
15661 cat confdefs.h >>conftest.$ac_ext
15662 cat >>conftest.$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15668 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15675 rm -f conftest.$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>&5
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); } &&
15681 { ac_try='test -s conftest.$ac_objext'
15682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683 (eval $ac_try) 2>&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); }; }; then
15689 echo "$as_me: failed program was:" >&5
15690 sed 's/^/| /' conftest.$ac_ext >&5
15692 ac_lo=`expr '(' $ac_mid ')' + 1`
15694 rm -f conftest.$ac_objext conftest.$ac_ext
15697 ?*) ac_cv_sizeof_long=$ac_lo;;
15698 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15699 See \`config.log' for more details." >&5
15700 echo "$as_me: error: cannot compute sizeof (long), 77
15701 See \`config.log' for more details." >&2;}
15702 { (exit 1); exit 1; }; } ;;
15705 if test "$cross_compiling" = yes; then
15706 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15707 See \`config.log' for more details." >&5
15708 echo "$as_me: error: cannot run test program while cross compiling
15709 See \`config.log' for more details." >&2;}
15710 { (exit 1); exit 1; }; }
15712 cat >conftest.$ac_ext <<_ACEOF
15713 #line $LINENO "configure"
15716 cat confdefs.h >>conftest.$ac_ext
15717 cat >>conftest.$ac_ext <<_ACEOF
15718 /* end confdefs.h. */
15719 $ac_includes_default
15720 long longval () { return (long) (sizeof (long)); }
15721 unsigned long ulongval () { return (long) (sizeof (long)); }
15723 #include <stdlib.h>
15728 FILE *f = fopen ("conftest.val", "w");
15731 if (((long) (sizeof (long))) < 0)
15733 long i = longval ();
15734 if (i != ((long) (sizeof (long))))
15736 fprintf (f, "%ld\n", i);
15740 unsigned long i = ulongval ();
15741 if (i != ((long) (sizeof (long))))
15743 fprintf (f, "%lu\n", i);
15745 exit (ferror (f) || fclose (f) != 0);
15751 rm -f conftest$ac_exeext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15753 (eval $ac_link) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15762 ac_cv_sizeof_long=`cat conftest.val`
15764 echo "$as_me: program exited with status $ac_status" >&5
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15768 ( exit $ac_status )
15769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15770 See \`config.log' for more details." >&5
15771 echo "$as_me: error: cannot compute sizeof (long), 77
15772 See \`config.log' for more details." >&2;}
15773 { (exit 1); exit 1; }; }
15775 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15780 ac_cv_sizeof_long=0
15783 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15784 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15785 cat >>confdefs.h <<_ACEOF
15786 #define SIZEOF_LONG $ac_cv_sizeof_long
15790 echo "$as_me:$LINENO: checking for size_t" >&5
15791 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15792 if test "${ac_cv_type_size_t+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15795 cat >conftest.$ac_ext <<_ACEOF
15796 #line $LINENO "configure"
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 $ac_includes_default
15808 if (sizeof (size_t))
15814 rm -f conftest.$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -s conftest.$ac_objext'
15821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15822 (eval $ac_try) 2>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; }; then
15826 ac_cv_type_size_t=yes
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15831 ac_cv_type_size_t=no
15833 rm -f conftest.$ac_objext conftest.$ac_ext
15835 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15836 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15838 echo "$as_me:$LINENO: checking size of size_t" >&5
15839 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
15840 if test "${ac_cv_sizeof_size_t+set}" = set; then
15841 echo $ECHO_N "(cached) $ECHO_C" >&6
15843 if test "$ac_cv_type_size_t" = yes; then
15844 # The cast to unsigned long works around a bug in the HP C Compiler
15845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15847 # This bug is HP SR number 8606223364.
15848 if test "$cross_compiling" = yes; then
15849 # Depending upon the size, compute the lo and hi bounds.
15850 cat >conftest.$ac_ext <<_ACEOF
15851 #line $LINENO "configure"
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15861 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
15868 rm -f conftest.$ac_objext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15870 (eval $ac_compile) 2>&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try='test -s conftest.$ac_objext'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; }; then
15882 cat >conftest.$ac_ext <<_ACEOF
15883 #line $LINENO "configure"
15886 cat confdefs.h >>conftest.$ac_ext
15887 cat >>conftest.$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15889 $ac_includes_default
15893 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15900 rm -f conftest.$ac_objext
15901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15902 (eval $ac_compile) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); } &&
15906 { ac_try='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 ac_hi=$ac_mid; break
15914 echo "$as_me: failed program was:" >&5
15915 sed 's/^/| /' conftest.$ac_ext >&5
15917 ac_lo=`expr $ac_mid + 1`
15918 if test $ac_lo -le $ac_mid; then
15922 ac_mid=`expr 2 '*' $ac_mid + 1`
15924 rm -f conftest.$ac_objext conftest.$ac_ext
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.$ac_ext >&5
15930 cat >conftest.$ac_ext <<_ACEOF
15931 #line $LINENO "configure"
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 $ac_includes_default
15941 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
15948 rm -f conftest.$ac_objext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15950 (eval $ac_compile) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15962 cat >conftest.$ac_ext <<_ACEOF
15963 #line $LINENO "configure"
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 $ac_includes_default
15973 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
15980 rm -f conftest.$ac_objext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982 (eval $ac_compile) 2>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -s conftest.$ac_objext'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_lo=$ac_mid; break
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 ac_hi=`expr '(' $ac_mid ')' - 1`
15998 if test $ac_mid -le $ac_hi; then
16002 ac_mid=`expr 2 '*' $ac_mid`
16004 rm -f conftest.$ac_objext conftest.$ac_ext
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16012 rm -f conftest.$ac_objext conftest.$ac_ext
16014 rm -f conftest.$ac_objext conftest.$ac_ext
16015 # Binary search between lo and hi bounds.
16016 while test "x$ac_lo" != "x$ac_hi"; do
16017 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16018 cat >conftest.$ac_ext <<_ACEOF
16019 #line $LINENO "configure"
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025 $ac_includes_default
16029 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16036 rm -f conftest.$ac_objext
16037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16038 (eval $ac_compile) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try='test -s conftest.$ac_objext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16053 ac_lo=`expr '(' $ac_mid ')' + 1`
16055 rm -f conftest.$ac_objext conftest.$ac_ext
16058 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16059 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16060 See \`config.log' for more details." >&5
16061 echo "$as_me: error: cannot compute sizeof (size_t), 77
16062 See \`config.log' for more details." >&2;}
16063 { (exit 1); exit 1; }; } ;;
16066 if test "$cross_compiling" = yes; then
16067 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16068 See \`config.log' for more details." >&5
16069 echo "$as_me: error: cannot run test program while cross compiling
16070 See \`config.log' for more details." >&2;}
16071 { (exit 1); exit 1; }; }
16073 cat >conftest.$ac_ext <<_ACEOF
16074 #line $LINENO "configure"
16077 cat confdefs.h >>conftest.$ac_ext
16078 cat >>conftest.$ac_ext <<_ACEOF
16079 /* end confdefs.h. */
16080 $ac_includes_default
16081 long longval () { return (long) (sizeof (size_t)); }
16082 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16084 #include <stdlib.h>
16089 FILE *f = fopen ("conftest.val", "w");
16092 if (((long) (sizeof (size_t))) < 0)
16094 long i = longval ();
16095 if (i != ((long) (sizeof (size_t))))
16097 fprintf (f, "%ld\n", i);
16101 unsigned long i = ulongval ();
16102 if (i != ((long) (sizeof (size_t))))
16104 fprintf (f, "%lu\n", i);
16106 exit (ferror (f) || fclose (f) != 0);
16112 rm -f conftest$ac_exeext
16113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16114 (eval $ac_link) 2>&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; }; then
16123 ac_cv_sizeof_size_t=`cat conftest.val`
16125 echo "$as_me: program exited with status $ac_status" >&5
16126 echo "$as_me: failed program was:" >&5
16127 sed 's/^/| /' conftest.$ac_ext >&5
16129 ( exit $ac_status )
16130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16131 See \`config.log' for more details." >&5
16132 echo "$as_me: error: cannot compute sizeof (size_t), 77
16133 See \`config.log' for more details." >&2;}
16134 { (exit 1); exit 1; }; }
16136 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16141 ac_cv_sizeof_size_t=0
16144 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16145 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16146 cat >>confdefs.h <<_ACEOF
16147 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16154 echo "$as_me:$LINENO: checking for long long" >&5
16155 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16156 if test "${ac_cv_type_long_long+set}" = set; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16159 cat >conftest.$ac_ext <<_ACEOF
16160 #line $LINENO "configure"
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16170 if ((long long *) 0)
16172 if (sizeof (long long))
16178 rm -f conftest.$ac_objext
16179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_cv_type_long_long=yes
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.$ac_ext >&5
16195 ac_cv_type_long_long=no
16197 rm -f conftest.$ac_objext conftest.$ac_ext
16199 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16200 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16202 echo "$as_me:$LINENO: checking size of long long" >&5
16203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16204 if test "${ac_cv_sizeof_long_long+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 if test "$ac_cv_type_long_long" = yes; then
16208 # The cast to unsigned long works around a bug in the HP C Compiler
16209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16211 # This bug is HP SR number 8606223364.
16212 if test "$cross_compiling" = yes; then
16213 # Depending upon the size, compute the lo and hi bounds.
16214 cat >conftest.$ac_ext <<_ACEOF
16215 #line $LINENO "configure"
16218 cat confdefs.h >>conftest.$ac_ext
16219 cat >>conftest.$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16225 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16232 rm -f conftest.$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try='test -s conftest.$ac_objext'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; }; then
16246 cat >conftest.$ac_ext <<_ACEOF
16247 #line $LINENO "configure"
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 $ac_includes_default
16257 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16264 rm -f conftest.$ac_objext
16265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16266 (eval $ac_compile) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
16270 { ac_try='test -s conftest.$ac_objext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 ac_hi=$ac_mid; break
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16281 ac_lo=`expr $ac_mid + 1`
16282 if test $ac_lo -le $ac_mid; then
16286 ac_mid=`expr 2 '*' $ac_mid + 1`
16288 rm -f conftest.$ac_objext conftest.$ac_ext
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.$ac_ext >&5
16294 cat >conftest.$ac_ext <<_ACEOF
16295 #line $LINENO "configure"
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16305 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16312 rm -f conftest.$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } &&
16318 { ac_try='test -s conftest.$ac_objext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16326 cat >conftest.$ac_ext <<_ACEOF
16327 #line $LINENO "configure"
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 $ac_includes_default
16337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16344 rm -f conftest.$ac_objext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16346 (eval $ac_compile) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_lo=$ac_mid; break
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16361 ac_hi=`expr '(' $ac_mid ')' - 1`
16362 if test $ac_mid -le $ac_hi; then
16366 ac_mid=`expr 2 '*' $ac_mid`
16368 rm -f conftest.$ac_objext conftest.$ac_ext
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16376 rm -f conftest.$ac_objext conftest.$ac_ext
16378 rm -f conftest.$ac_objext conftest.$ac_ext
16379 # Binary search between lo and hi bounds.
16380 while test "x$ac_lo" != "x$ac_hi"; do
16381 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16382 cat >conftest.$ac_ext <<_ACEOF
16383 #line $LINENO "configure"
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 $ac_includes_default
16393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16400 rm -f conftest.$ac_objext
16401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16402 (eval $ac_compile) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16417 ac_lo=`expr '(' $ac_mid ')' + 1`
16419 rm -f conftest.$ac_objext conftest.$ac_ext
16422 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16423 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16424 See \`config.log' for more details." >&5
16425 echo "$as_me: error: cannot compute sizeof (long long), 77
16426 See \`config.log' for more details." >&2;}
16427 { (exit 1); exit 1; }; } ;;
16430 if test "$cross_compiling" = yes; then
16431 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16432 See \`config.log' for more details." >&5
16433 echo "$as_me: error: cannot run test program while cross compiling
16434 See \`config.log' for more details." >&2;}
16435 { (exit 1); exit 1; }; }
16437 cat >conftest.$ac_ext <<_ACEOF
16438 #line $LINENO "configure"
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444 $ac_includes_default
16445 long longval () { return (long) (sizeof (long long)); }
16446 unsigned long ulongval () { return (long) (sizeof (long long)); }
16448 #include <stdlib.h>
16453 FILE *f = fopen ("conftest.val", "w");
16456 if (((long) (sizeof (long long))) < 0)
16458 long i = longval ();
16459 if (i != ((long) (sizeof (long long))))
16461 fprintf (f, "%ld\n", i);
16465 unsigned long i = ulongval ();
16466 if (i != ((long) (sizeof (long long))))
16468 fprintf (f, "%lu\n", i);
16470 exit (ferror (f) || fclose (f) != 0);
16476 rm -f conftest$ac_exeext
16477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16478 (eval $ac_link) 2>&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; }; then
16487 ac_cv_sizeof_long_long=`cat conftest.val`
16489 echo "$as_me: program exited with status $ac_status" >&5
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16493 ( exit $ac_status )
16494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16495 See \`config.log' for more details." >&5
16496 echo "$as_me: error: cannot compute sizeof (long long), 77
16497 See \`config.log' for more details." >&2;}
16498 { (exit 1); exit 1; }; }
16500 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16505 ac_cv_sizeof_long_long=0
16508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16509 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16510 cat >>confdefs.h <<_ACEOF
16511 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16517 echo "$as_me:$LINENO: checking for long long" >&5
16518 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16519 if test "${ac_cv_type_long_long+set}" = set; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16522 cat >conftest.$ac_ext <<_ACEOF
16523 #line $LINENO "configure"
16526 cat confdefs.h >>conftest.$ac_ext
16527 cat >>conftest.$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 $ac_includes_default
16533 if ((long long *) 0)
16535 if (sizeof (long long))
16541 rm -f conftest.$ac_objext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16543 (eval $ac_compile) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } &&
16547 { ac_try='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16553 ac_cv_type_long_long=yes
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16558 ac_cv_type_long_long=no
16560 rm -f conftest.$ac_objext conftest.$ac_ext
16562 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16563 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16565 echo "$as_me:$LINENO: checking size of long long" >&5
16566 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16567 if test "${ac_cv_sizeof_long_long+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 if test "$ac_cv_type_long_long" = yes; then
16571 # The cast to unsigned long works around a bug in the HP C Compiler
16572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16574 # This bug is HP SR number 8606223364.
16575 if test "$cross_compiling" = yes; then
16576 # Depending upon the size, compute the lo and hi bounds.
16577 cat >conftest.$ac_ext <<_ACEOF
16578 #line $LINENO "configure"
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $ac_includes_default
16588 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16595 rm -f conftest.$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try='test -s conftest.$ac_objext'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; }; then
16609 cat >conftest.$ac_ext <<_ACEOF
16610 #line $LINENO "configure"
16613 cat confdefs.h >>conftest.$ac_ext
16614 cat >>conftest.$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16616 $ac_includes_default
16620 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16627 rm -f conftest.$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } &&
16633 { ac_try='test -s conftest.$ac_objext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_hi=$ac_mid; break
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16644 ac_lo=`expr $ac_mid + 1`
16645 if test $ac_lo -le $ac_mid; then
16649 ac_mid=`expr 2 '*' $ac_mid + 1`
16651 rm -f conftest.$ac_objext conftest.$ac_ext
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.$ac_ext >&5
16657 cat >conftest.$ac_ext <<_ACEOF
16658 #line $LINENO "configure"
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 $ac_includes_default
16668 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16675 rm -f conftest.$ac_objext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677 (eval $ac_compile) 2>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -s conftest.$ac_objext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16689 cat >conftest.$ac_ext <<_ACEOF
16690 #line $LINENO "configure"
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 $ac_includes_default
16700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16707 rm -f conftest.$ac_objext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_lo=$ac_mid; break
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16724 ac_hi=`expr '(' $ac_mid ')' - 1`
16725 if test $ac_mid -le $ac_hi; then
16729 ac_mid=`expr 2 '*' $ac_mid`
16731 rm -f conftest.$ac_objext conftest.$ac_ext
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16739 rm -f conftest.$ac_objext conftest.$ac_ext
16741 rm -f conftest.$ac_objext conftest.$ac_ext
16742 # Binary search between lo and hi bounds.
16743 while test "x$ac_lo" != "x$ac_hi"; do
16744 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16745 cat >conftest.$ac_ext <<_ACEOF
16746 #line $LINENO "configure"
16749 cat confdefs.h >>conftest.$ac_ext
16750 cat >>conftest.$ac_ext <<_ACEOF
16751 /* end confdefs.h. */
16752 $ac_includes_default
16756 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16763 rm -f conftest.$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765 (eval $ac_compile) 2>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try='test -s conftest.$ac_objext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16780 ac_lo=`expr '(' $ac_mid ')' + 1`
16782 rm -f conftest.$ac_objext conftest.$ac_ext
16785 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16786 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16787 See \`config.log' for more details." >&5
16788 echo "$as_me: error: cannot compute sizeof (long long), 77
16789 See \`config.log' for more details." >&2;}
16790 { (exit 1); exit 1; }; } ;;
16793 if test "$cross_compiling" = yes; then
16794 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16795 See \`config.log' for more details." >&5
16796 echo "$as_me: error: cannot run test program while cross compiling
16797 See \`config.log' for more details." >&2;}
16798 { (exit 1); exit 1; }; }
16800 cat >conftest.$ac_ext <<_ACEOF
16801 #line $LINENO "configure"
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16808 long longval () { return (long) (sizeof (long long)); }
16809 unsigned long ulongval () { return (long) (sizeof (long long)); }
16811 #include <stdlib.h>
16816 FILE *f = fopen ("conftest.val", "w");
16819 if (((long) (sizeof (long long))) < 0)
16821 long i = longval ();
16822 if (i != ((long) (sizeof (long long))))
16824 fprintf (f, "%ld\n", i);
16828 unsigned long i = ulongval ();
16829 if (i != ((long) (sizeof (long long))))
16831 fprintf (f, "%lu\n", i);
16833 exit (ferror (f) || fclose (f) != 0);
16839 rm -f conftest$ac_exeext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16841 (eval $ac_link) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_cv_sizeof_long_long=`cat conftest.val`
16852 echo "$as_me: program exited with status $ac_status" >&5
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16856 ( exit $ac_status )
16857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16858 See \`config.log' for more details." >&5
16859 echo "$as_me: error: cannot compute sizeof (long long), 77
16860 See \`config.log' for more details." >&2;}
16861 { (exit 1); exit 1; }; }
16863 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16868 ac_cv_sizeof_long_long=0
16871 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16872 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16873 cat >>confdefs.h <<_ACEOF
16874 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16878 if test "$ac_cv_sizeof_long_long" != "0"; then
16879 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16883 echo "$as_me:$LINENO: checking for long long" >&5
16884 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16885 if test "${ac_cv_type_long_long+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 cat >conftest.$ac_ext <<_ACEOF
16889 #line $LINENO "configure"
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16899 if ((long long *) 0)
16901 if (sizeof (long long))
16907 rm -f conftest.$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try='test -s conftest.$ac_objext'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16919 ac_cv_type_long_long=yes
16921 echo "$as_me: failed program was:" >&5
16922 sed 's/^/| /' conftest.$ac_ext >&5
16924 ac_cv_type_long_long=no
16926 rm -f conftest.$ac_objext conftest.$ac_ext
16928 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16929 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16931 echo "$as_me:$LINENO: checking size of long long" >&5
16932 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16933 if test "${ac_cv_sizeof_long_long+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 if test "$ac_cv_type_long_long" = yes; then
16937 # The cast to unsigned long works around a bug in the HP C Compiler
16938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16940 # This bug is HP SR number 8606223364.
16941 if test "$cross_compiling" = yes; then
16942 # Depending upon the size, compute the lo and hi bounds.
16943 cat >conftest.$ac_ext <<_ACEOF
16944 #line $LINENO "configure"
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16954 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16961 rm -f conftest.$ac_objext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16963 (eval $ac_compile) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } &&
16967 { ac_try='test -s conftest.$ac_objext'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; }; then
16975 cat >conftest.$ac_ext <<_ACEOF
16976 #line $LINENO "configure"
16979 cat confdefs.h >>conftest.$ac_ext
16980 cat >>conftest.$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 $ac_includes_default
16986 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16993 rm -f conftest.$ac_objext
16994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16995 (eval $ac_compile) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } &&
16999 { ac_try='test -s conftest.$ac_objext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17005 ac_hi=$ac_mid; break
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17010 ac_lo=`expr $ac_mid + 1`
17011 if test $ac_lo -le $ac_mid; then
17015 ac_mid=`expr 2 '*' $ac_mid + 1`
17017 rm -f conftest.$ac_objext conftest.$ac_ext
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17023 cat >conftest.$ac_ext <<_ACEOF
17024 #line $LINENO "configure"
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17030 $ac_includes_default
17034 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17041 rm -f conftest.$ac_objext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17043 (eval $ac_compile) 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17055 cat >conftest.$ac_ext <<_ACEOF
17056 #line $LINENO "configure"
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 $ac_includes_default
17066 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17073 rm -f conftest.$ac_objext
17074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17075 (eval $ac_compile) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try='test -s conftest.$ac_objext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_lo=$ac_mid; break
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17090 ac_hi=`expr '(' $ac_mid ')' - 1`
17091 if test $ac_mid -le $ac_hi; then
17095 ac_mid=`expr 2 '*' $ac_mid`
17097 rm -f conftest.$ac_objext conftest.$ac_ext
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17105 rm -f conftest.$ac_objext conftest.$ac_ext
17107 rm -f conftest.$ac_objext conftest.$ac_ext
17108 # Binary search between lo and hi bounds.
17109 while test "x$ac_lo" != "x$ac_hi"; do
17110 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17111 cat >conftest.$ac_ext <<_ACEOF
17112 #line $LINENO "configure"
17115 cat confdefs.h >>conftest.$ac_ext
17116 cat >>conftest.$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 $ac_includes_default
17122 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17129 rm -f conftest.$ac_objext
17130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17131 (eval $ac_compile) 2>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } &&
17135 { ac_try='test -s conftest.$ac_objext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.$ac_ext >&5
17146 ac_lo=`expr '(' $ac_mid ')' + 1`
17148 rm -f conftest.$ac_objext conftest.$ac_ext
17151 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17152 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17153 See \`config.log' for more details." >&5
17154 echo "$as_me: error: cannot compute sizeof (long long), 77
17155 See \`config.log' for more details." >&2;}
17156 { (exit 1); exit 1; }; } ;;
17159 if test "$cross_compiling" = yes; then
17160 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17161 See \`config.log' for more details." >&5
17162 echo "$as_me: error: cannot run test program while cross compiling
17163 See \`config.log' for more details." >&2;}
17164 { (exit 1); exit 1; }; }
17166 cat >conftest.$ac_ext <<_ACEOF
17167 #line $LINENO "configure"
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17174 long longval () { return (long) (sizeof (long long)); }
17175 unsigned long ulongval () { return (long) (sizeof (long long)); }
17177 #include <stdlib.h>
17182 FILE *f = fopen ("conftest.val", "w");
17185 if (((long) (sizeof (long long))) < 0)
17187 long i = longval ();
17188 if (i != ((long) (sizeof (long long))))
17190 fprintf (f, "%ld\n", i);
17194 unsigned long i = ulongval ();
17195 if (i != ((long) (sizeof (long long))))
17197 fprintf (f, "%lu\n", i);
17199 exit (ferror (f) || fclose (f) != 0);
17205 rm -f conftest$ac_exeext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17207 (eval $ac_link) 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_cv_sizeof_long_long=`cat conftest.val`
17218 echo "$as_me: program exited with status $ac_status" >&5
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17222 ( exit $ac_status )
17223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17224 See \`config.log' for more details." >&5
17225 echo "$as_me: error: cannot compute sizeof (long long), 77
17226 See \`config.log' for more details." >&2;}
17227 { (exit 1); exit 1; }; }
17229 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17234 ac_cv_sizeof_long_long=0
17237 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17238 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17239 cat >>confdefs.h <<_ACEOF
17240 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17246 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17247 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17248 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17252 if test "$cross_compiling" = yes; then
17256 wx_cv_sizeof_wchar_t=0
17259 wx_cv_sizeof_wchar_t=4
17265 cat >conftest.$ac_ext <<_ACEOF
17266 #line $LINENO "configure"
17269 cat confdefs.h >>conftest.$ac_ext
17270 cat >>conftest.$ac_ext <<_ACEOF
17271 /* end confdefs.h. */
17273 /* DJGPP only has fake wchar_t: */
17275 # error "fake wchar_t"
17277 #ifdef HAVE_WCHAR_H
17279 # include <stddef.h>
17281 # include <wchar.h>
17283 #ifdef HAVE_STDLIB_H
17284 # include <stdlib.h>
17289 FILE *f=fopen("conftestval", "w");
17291 fprintf(f, "%i", sizeof(wchar_t));
17296 rm -f conftest$ac_exeext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17298 (eval $ac_link) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; }; then
17307 wx_cv_sizeof_wchar_t=`cat conftestval`
17309 echo "$as_me: program exited with status $ac_status" >&5
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 ( exit $ac_status )
17314 wx_cv_sizeof_wchar_t=0
17316 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17320 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17321 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17323 cat >>confdefs.h <<_ACEOF
17324 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17328 # Check whether --enable-largefile or --disable-largefile was given.
17329 if test "${enable_largefile+set}" = set; then
17330 enableval="$enable_largefile"
17333 if test "$enable_largefile" != no; then
17336 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17337 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17338 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17342 cat >conftest.$ac_ext <<_ACEOF
17343 #line $LINENO "configure"
17346 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17349 #define _FILE_OFFSET_BITS 64
17350 #include <sys/types.h>
17355 unsigned int field: sizeof(off_t) == 8;
17362 rm -f conftest.$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } &&
17368 { ac_try='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_cv_sys_file_offset_bits=64
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17379 ac_cv_sys_file_offset_bits=no
17381 rm -f conftest.$ac_objext conftest.$ac_ext
17385 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17386 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17388 if test "$ac_cv_sys_file_offset_bits" != no; then
17390 cat >>confdefs.h <<_ACEOF
17391 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17396 if test "x$wx_largefile" != "xyes"; then
17398 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17399 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17400 if test "${ac_cv_sys_large_files+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17404 cat >conftest.$ac_ext <<_ACEOF
17405 #line $LINENO "configure"
17408 cat confdefs.h >>conftest.$ac_ext
17409 cat >>conftest.$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17411 #define _LARGE_FILES 1
17412 #include <sys/types.h>
17417 unsigned int field: sizeof(off_t) == 8;
17424 rm -f conftest.$ac_objext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17426 (eval $ac_compile) 2>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } &&
17430 { ac_try='test -s conftest.$ac_objext'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; }; then
17436 ac_cv_sys_large_files=1
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17441 ac_cv_sys_large_files=no
17443 rm -f conftest.$ac_objext conftest.$ac_ext
17447 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17448 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17450 if test "$ac_cv_sys_large_files" != no; then
17452 cat >>confdefs.h <<_ACEOF
17453 #define _LARGE_FILES $ac_cv_sys_large_files
17460 echo "$as_me:$LINENO: checking if large file support is available" >&5
17461 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17462 if test "x$wx_largefile" = "xyes"; then
17463 cat >>confdefs.h <<\_ACEOF
17464 #define HAVE_LARGEFILE_SUPPORT 1
17468 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17469 echo "${ECHO_T}$wx_largefile" >&6
17473 if test "x$wx_largefile" = "xyes"; then
17474 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17475 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17477 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
17479 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17482 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17483 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17484 if test "${ac_cv_c_bigendian+set}" = set; then
17485 echo $ECHO_N "(cached) $ECHO_C" >&6
17487 ac_cv_c_bigendian=unknown
17488 # See if sys/param.h defines the BYTE_ORDER macro.
17489 cat >conftest.$ac_ext <<_ACEOF
17490 #line $LINENO "configure"
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 #include <sys/types.h>
17497 #include <sys/param.h>
17502 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17503 bogus endian macros
17509 rm -f conftest.$ac_objext
17510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17511 (eval $ac_compile) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } &&
17515 { ac_try='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 # It does; now see whether it defined to BIG_ENDIAN or not.
17522 cat >conftest.$ac_ext <<_ACEOF
17523 #line $LINENO "configure"
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17529 #include <sys/types.h>
17530 #include <sys/param.h>
17535 #if BYTE_ORDER != BIG_ENDIAN
17542 rm -f conftest.$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } &&
17548 { ac_try='test -s conftest.$ac_objext'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; }; then
17554 ac_cv_c_bigendian=yes
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17559 ac_cv_c_bigendian=no
17561 rm -f conftest.$ac_objext conftest.$ac_ext
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.$ac_ext >&5
17567 rm -f conftest.$ac_objext conftest.$ac_ext
17568 if test $ac_cv_c_bigendian = unknown; then
17569 if test "$cross_compiling" = yes; then
17570 ac_cv_c_bigendian=unknown
17572 cat >conftest.$ac_ext <<_ACEOF
17573 #line $LINENO "configure"
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17580 /* Are we little or big endian? From Harbison&Steele. */
17584 char c[sizeof (long)];
17587 exit (u.c[sizeof (long) - 1] == 1);
17590 rm -f conftest$ac_exeext
17591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17592 (eval $ac_link) 2>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 ac_cv_c_bigendian=no
17603 echo "$as_me: program exited with status $ac_status" >&5
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17607 ( exit $ac_status )
17608 ac_cv_c_bigendian=yes
17610 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17614 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17615 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17616 if test $ac_cv_c_bigendian = unknown; then
17617 { 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
17618 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;}
17620 if test $ac_cv_c_bigendian = yes; then
17621 cat >>confdefs.h <<\_ACEOF
17622 #define WORDS_BIGENDIAN 1
17629 ac_cpp='$CXXCPP $CPPFLAGS'
17630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17633 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17634 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17635 if test -z "$CXXCPP"; then
17636 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17637 echo $ECHO_N "(cached) $ECHO_C" >&6
17639 # Double quotes because CXXCPP needs to be expanded
17640 for CXXCPP in "$CXX -E" "/lib/cpp"
17642 ac_preproc_ok=false
17643 for ac_cxx_preproc_warn_flag in '' yes
17645 # Use a header file that comes with gcc, so configuring glibc
17646 # with a fresh cross-compiler works.
17647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17648 # <limits.h> exists even on freestanding compilers.
17649 # On the NeXT, cc -E runs the code through the compiler's parser,
17650 # not just through cpp. "Syntax error" is here to catch this case.
17651 cat >conftest.$ac_ext <<_ACEOF
17652 #line $LINENO "configure"
17655 cat confdefs.h >>conftest.$ac_ext
17656 cat >>conftest.$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17659 # include <limits.h>
17661 # include <assert.h>
17665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17668 grep -v '^ *+' conftest.er1 >conftest.err
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } >/dev/null; then
17673 if test -s conftest.err; then
17674 ac_cpp_err=$ac_cxx_preproc_warn_flag
17681 if test -z "$ac_cpp_err"; then
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.$ac_ext >&5
17687 # Broken: fails on valid input.
17690 rm -f conftest.err conftest.$ac_ext
17692 # OK, works on sane cases. Now check whether non-existent headers
17693 # can be detected and how.
17694 cat >conftest.$ac_ext <<_ACEOF
17695 #line $LINENO "configure"
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 #include <ac_nonexistent.h>
17703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17706 grep -v '^ *+' conftest.er1 >conftest.err
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } >/dev/null; then
17711 if test -s conftest.err; then
17712 ac_cpp_err=$ac_cxx_preproc_warn_flag
17719 if test -z "$ac_cpp_err"; then
17720 # Broken: success on invalid input.
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17726 # Passes both tests.
17730 rm -f conftest.err conftest.$ac_ext
17733 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17734 rm -f conftest.err conftest.$ac_ext
17735 if $ac_preproc_ok; then
17740 ac_cv_prog_CXXCPP=$CXXCPP
17743 CXXCPP=$ac_cv_prog_CXXCPP
17745 ac_cv_prog_CXXCPP=$CXXCPP
17747 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17748 echo "${ECHO_T}$CXXCPP" >&6
17749 ac_preproc_ok=false
17750 for ac_cxx_preproc_warn_flag in '' yes
17752 # Use a header file that comes with gcc, so configuring glibc
17753 # with a fresh cross-compiler works.
17754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17755 # <limits.h> exists even on freestanding compilers.
17756 # On the NeXT, cc -E runs the code through the compiler's parser,
17757 # not just through cpp. "Syntax error" is here to catch this case.
17758 cat >conftest.$ac_ext <<_ACEOF
17759 #line $LINENO "configure"
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17766 # include <limits.h>
17768 # include <assert.h>
17772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17775 grep -v '^ *+' conftest.er1 >conftest.err
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } >/dev/null; then
17780 if test -s conftest.err; then
17781 ac_cpp_err=$ac_cxx_preproc_warn_flag
17788 if test -z "$ac_cpp_err"; then
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17794 # Broken: fails on valid input.
17797 rm -f conftest.err conftest.$ac_ext
17799 # OK, works on sane cases. Now check whether non-existent headers
17800 # can be detected and how.
17801 cat >conftest.$ac_ext <<_ACEOF
17802 #line $LINENO "configure"
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 #include <ac_nonexistent.h>
17810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17813 grep -v '^ *+' conftest.er1 >conftest.err
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } >/dev/null; then
17818 if test -s conftest.err; then
17819 ac_cpp_err=$ac_cxx_preproc_warn_flag
17826 if test -z "$ac_cpp_err"; then
17827 # Broken: success on invalid input.
17830 echo "$as_me: failed program was:" >&5
17831 sed 's/^/| /' conftest.$ac_ext >&5
17833 # Passes both tests.
17837 rm -f conftest.err conftest.$ac_ext
17840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17841 rm -f conftest.err conftest.$ac_ext
17842 if $ac_preproc_ok; then
17845 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17846 See \`config.log' for more details." >&5
17847 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17848 See \`config.log' for more details." >&2;}
17849 { (exit 1); exit 1; }; }
17853 ac_cpp='$CXXCPP $CPPFLAGS'
17854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17863 ac_cpp='$CXXCPP $CPPFLAGS'
17864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17870 for ac_header in iostream
17872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17874 echo "$as_me:$LINENO: checking for $ac_header" >&5
17875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17877 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17882 # Is the header compilable?
17883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17885 cat >conftest.$ac_ext <<_ACEOF
17886 #line $LINENO "configure"
17889 cat confdefs.h >>conftest.$ac_ext
17890 cat >>conftest.$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17893 #include <$ac_header>
17895 rm -f conftest.$ac_objext
17896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17897 (eval $ac_compile) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -s conftest.$ac_objext'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; }; then
17907 ac_header_compiler=yes
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17912 ac_header_compiler=no
17914 rm -f conftest.$ac_objext conftest.$ac_ext
17915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17916 echo "${ECHO_T}$ac_header_compiler" >&6
17918 # Is the header present?
17919 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17921 cat >conftest.$ac_ext <<_ACEOF
17922 #line $LINENO "configure"
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 #include <$ac_header>
17930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17933 grep -v '^ *+' conftest.er1 >conftest.err
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } >/dev/null; then
17938 if test -s conftest.err; then
17939 ac_cpp_err=$ac_cxx_preproc_warn_flag
17946 if test -z "$ac_cpp_err"; then
17947 ac_header_preproc=yes
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17952 ac_header_preproc=no
17954 rm -f conftest.err conftest.$ac_ext
17955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17956 echo "${ECHO_T}$ac_header_preproc" >&6
17958 # So? What about this header?
17959 case $ac_header_compiler:$ac_header_preproc in
17961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17967 ## ------------------------------------ ##
17968 ## Report this to bug-autoconf@gnu.org. ##
17969 ## ------------------------------------ ##
17972 sed "s/^/$as_me: WARNING: /" >&2
17975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17983 ## ------------------------------------ ##
17984 ## Report this to bug-autoconf@gnu.org. ##
17985 ## ------------------------------------ ##
17988 sed "s/^/$as_me: WARNING: /" >&2
17991 echo "$as_me:$LINENO: checking for $ac_header" >&5
17992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17994 echo $ECHO_N "(cached) $ECHO_C" >&6
17996 eval "$as_ac_Header=$ac_header_preproc"
17998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18003 cat >>confdefs.h <<_ACEOF
18004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18012 if test "$ac_cv_header_iostream" = "yes" ; then
18015 cat >>confdefs.h <<\_ACEOF
18016 #define wxUSE_IOSTREAMH 1
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18030 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18031 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18032 if test "${wx_cv_cpp_bool+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 ac_cpp='$CXXCPP $CPPFLAGS'
18040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18045 cat >conftest.$ac_ext <<_ACEOF
18046 #line $LINENO "configure"
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18066 rm -f conftest.$ac_objext
18067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18068 (eval $ac_compile) 2>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -s conftest.$ac_objext'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; }; then
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18090 rm -f conftest.$ac_objext conftest.$ac_ext
18093 ac_cpp='$CPP $CPPFLAGS'
18094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18100 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18101 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18103 if test "$wx_cv_cpp_bool" = "yes"; then
18104 cat >>confdefs.h <<\_ACEOF
18105 #define HAVE_BOOL 1
18112 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18113 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18114 if test "${wx_cv_explicit+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18121 ac_cpp='$CXXCPP $CPPFLAGS'
18122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18127 cat >conftest.$ac_ext <<_ACEOF
18128 #line $LINENO "configure"
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18135 class Foo { public: explicit Foo(int) {} };
18147 rm -f conftest.$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } &&
18153 { ac_try='test -s conftest.$ac_objext'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; }; then
18160 cat >conftest.$ac_ext <<_ACEOF
18161 #line $LINENO "configure"
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18168 class Foo { public: explicit Foo(int) {} };
18169 static void TakeFoo(const Foo& foo) { }
18182 rm -f conftest.$ac_objext
18183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18184 (eval $ac_compile) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } &&
18188 { ac_try='test -s conftest.$ac_objext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18196 echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.$ac_ext >&5
18202 rm -f conftest.$ac_objext conftest.$ac_ext
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18211 rm -f conftest.$ac_objext conftest.$ac_ext
18214 ac_cpp='$CPP $CPPFLAGS'
18215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18221 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18222 echo "${ECHO_T}$wx_cv_explicit" >&6
18224 if test "$wx_cv_explicit" = "yes"; then
18225 cat >>confdefs.h <<\_ACEOF
18226 #define HAVE_EXPLICIT 1
18232 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18233 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18234 if test "${ac_cv_cxx_const_cast+set}" = set; then
18235 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 ac_cpp='$CXXCPP $CPPFLAGS'
18241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18245 cat >conftest.$ac_ext <<_ACEOF
18246 #line $LINENO "configure"
18249 cat confdefs.h >>conftest.$ac_ext
18250 cat >>conftest.$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18256 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18261 rm -f conftest.$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } &&
18267 { ac_try='test -s conftest.$ac_objext'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; }; then
18273 ac_cv_cxx_const_cast=yes
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.$ac_ext >&5
18278 ac_cv_cxx_const_cast=no
18280 rm -f conftest.$ac_objext conftest.$ac_ext
18282 ac_cpp='$CPP $CPPFLAGS'
18283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18289 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18290 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18291 if test "$ac_cv_cxx_const_cast" = yes; then
18293 cat >>confdefs.h <<\_ACEOF
18294 #define HAVE_CONST_CAST
18299 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
18300 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
18301 if test "${ac_cv_cxx_static_cast+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18307 ac_cpp='$CXXCPP $CPPFLAGS'
18308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18312 cat >conftest.$ac_ext <<_ACEOF
18313 #line $LINENO "configure"
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <typeinfo>
18320 class Base { public : Base () {} virtual void f () = 0; };
18321 class Derived : public Base { public : Derived () {} virtual void f () {} };
18322 int g (Derived&) { return 0; }
18327 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
18332 rm -f conftest.$ac_objext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18334 (eval $ac_compile) 2>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } &&
18338 { ac_try='test -s conftest.$ac_objext'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; }; then
18344 ac_cv_cxx_static_cast=yes
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18349 ac_cv_cxx_static_cast=no
18351 rm -f conftest.$ac_objext conftest.$ac_ext
18353 ac_cpp='$CPP $CPPFLAGS'
18354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18360 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
18361 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
18362 if test "$ac_cv_cxx_static_cast" = yes; then
18364 cat >>confdefs.h <<\_ACEOF
18365 #define HAVE_STATIC_CAST
18371 if test "$wxUSE_STL" = "yes"; then
18373 ac_cpp='$CXXCPP $CPPFLAGS'
18374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18379 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18380 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18381 cat >conftest.$ac_ext <<_ACEOF
18382 #line $LINENO "configure"
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18389 #include <functional>
18390 #include <algorithm>
18396 std::vector<int> moo;
18397 std::list<int> foo;
18398 std::vector<int>::iterator it =
18399 std::find_if(moo.begin(), moo.end(),
18400 std::bind2nd(std::less<int>(), 3));
18405 rm -f conftest.$ac_objext
18406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18407 (eval $ac_compile) 2>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try='test -s conftest.$ac_objext'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; }; then
18417 echo "$as_me:$LINENO: result: yes" >&5
18418 echo "${ECHO_T}yes" >&6
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18423 echo "$as_me:$LINENO: result: no" >&5
18424 echo "${ECHO_T}no" >&6
18425 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18426 echo "$as_me: error: Basic STL functionality missing" >&2;}
18427 { (exit 1); exit 1; }; }
18429 rm -f conftest.$ac_objext conftest.$ac_ext
18431 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18432 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18433 cat >conftest.$ac_ext <<_ACEOF
18434 #line $LINENO "configure"
18437 cat confdefs.h >>conftest.$ac_ext
18438 cat >>conftest.$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18449 rm -f conftest.$ac_objext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18451 (eval $ac_compile) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); } &&
18455 { ac_try='test -s conftest.$ac_objext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 echo "$as_me:$LINENO: result: yes" >&5
18462 echo "${ECHO_T}yes" >&6
18463 cat >>confdefs.h <<\_ACEOF
18464 #define HAVE_STD_WSTRING 1
18468 echo "$as_me: failed program was:" >&5
18469 sed 's/^/| /' conftest.$ac_ext >&5
18471 echo "$as_me:$LINENO: result: no" >&5
18472 echo "${ECHO_T}no" >&6
18474 rm -f conftest.$ac_objext conftest.$ac_ext
18476 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18477 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18478 cat >conftest.$ac_ext <<_ACEOF
18479 #line $LINENO "configure"
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18489 std::string foo, bar;
18491 foo.compare(1, 1, bar);
18492 foo.compare(1, 1, bar, 1, 1);
18494 foo.compare(1, 1, "");
18495 foo.compare(1, 1, "", 2);
18500 rm -f conftest.$ac_objext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18502 (eval $ac_compile) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); } &&
18506 { ac_try='test -s conftest.$ac_objext'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; }; then
18512 echo "$as_me:$LINENO: result: yes" >&5
18513 echo "${ECHO_T}yes" >&6
18514 cat >>confdefs.h <<\_ACEOF
18515 #define HAVE_STD_STRING_COMPARE 1
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.$ac_ext >&5
18522 echo "$as_me:$LINENO: result: no" >&5
18523 echo "${ECHO_T}no" >&6
18525 rm -f conftest.$ac_objext conftest.$ac_ext
18527 if test "${ac_cv_header_hash_map+set}" = set; then
18528 echo "$as_me:$LINENO: checking for hash_map" >&5
18529 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
18530 if test "${ac_cv_header_hash_map+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
18534 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
18536 # Is the header compilable?
18537 echo "$as_me:$LINENO: checking hash_map usability" >&5
18538 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
18539 cat >conftest.$ac_ext <<_ACEOF
18540 #line $LINENO "configure"
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18547 #include <hash_map>
18549 rm -f conftest.$ac_objext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18551 (eval $ac_compile) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try='test -s conftest.$ac_objext'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; }; then
18561 ac_header_compiler=yes
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.$ac_ext >&5
18566 ac_header_compiler=no
18568 rm -f conftest.$ac_objext conftest.$ac_ext
18569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18570 echo "${ECHO_T}$ac_header_compiler" >&6
18572 # Is the header present?
18573 echo "$as_me:$LINENO: checking hash_map presence" >&5
18574 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
18575 cat >conftest.$ac_ext <<_ACEOF
18576 #line $LINENO "configure"
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <hash_map>
18584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18587 grep -v '^ *+' conftest.er1 >conftest.err
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } >/dev/null; then
18592 if test -s conftest.err; then
18593 ac_cpp_err=$ac_cxx_preproc_warn_flag
18600 if test -z "$ac_cpp_err"; then
18601 ac_header_preproc=yes
18603 echo "$as_me: failed program was:" >&5
18604 sed 's/^/| /' conftest.$ac_ext >&5
18606 ac_header_preproc=no
18608 rm -f conftest.err conftest.$ac_ext
18609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18610 echo "${ECHO_T}$ac_header_preproc" >&6
18612 # So? What about this header?
18613 case $ac_header_compiler:$ac_header_preproc in
18615 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
18616 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
18617 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
18618 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
18621 ## ------------------------------------ ##
18622 ## Report this to bug-autoconf@gnu.org. ##
18623 ## ------------------------------------ ##
18626 sed "s/^/$as_me: WARNING: /" >&2
18629 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
18630 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
18631 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
18632 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
18633 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
18634 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
18637 ## ------------------------------------ ##
18638 ## Report this to bug-autoconf@gnu.org. ##
18639 ## ------------------------------------ ##
18642 sed "s/^/$as_me: WARNING: /" >&2
18645 echo "$as_me:$LINENO: checking for hash_map" >&5
18646 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
18647 if test "${ac_cv_header_hash_map+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 ac_cv_header_hash_map=$ac_header_preproc
18652 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
18653 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
18656 if test $ac_cv_header_hash_map = yes; then
18657 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
18658 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
18659 cat >conftest.$ac_ext <<_ACEOF
18660 #line $LINENO "configure"
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 #include <hash_map>
18667 #include <hash_set>
18671 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
18672 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
18677 rm -f conftest.$ac_objext
18678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18679 (eval $ac_compile) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 echo "$as_me:$LINENO: result: yes" >&5
18690 echo "${ECHO_T}yes" >&6
18691 cat >>confdefs.h <<\_ACEOF
18692 #define HAVE_HASH_MAP 1
18695 cat >>confdefs.h <<\_ACEOF
18696 #define HAVE_STD_HASH_MAP 1
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.$ac_ext >&5
18703 echo "$as_me:$LINENO: result: no" >&5
18704 echo "${ECHO_T}no" >&6
18706 rm -f conftest.$ac_objext conftest.$ac_ext
18712 if test "${ac_cv_header_ext_hash_map+set}" = set; then
18713 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
18714 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
18715 if test "${ac_cv_header_ext_hash_map+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18718 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
18719 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
18721 # Is the header compilable?
18722 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
18723 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
18724 cat >conftest.$ac_ext <<_ACEOF
18725 #line $LINENO "configure"
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18731 $ac_includes_default
18732 #include <ext/hash_map>
18734 rm -f conftest.$ac_objext
18735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18736 (eval $ac_compile) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } &&
18740 { ac_try='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_header_compiler=yes
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18751 ac_header_compiler=no
18753 rm -f conftest.$ac_objext conftest.$ac_ext
18754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18755 echo "${ECHO_T}$ac_header_compiler" >&6
18757 # Is the header present?
18758 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
18759 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
18760 cat >conftest.$ac_ext <<_ACEOF
18761 #line $LINENO "configure"
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 #include <ext/hash_map>
18769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18772 grep -v '^ *+' conftest.er1 >conftest.err
18774 cat conftest.err >&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); } >/dev/null; then
18777 if test -s conftest.err; then
18778 ac_cpp_err=$ac_cxx_preproc_warn_flag
18785 if test -z "$ac_cpp_err"; then
18786 ac_header_preproc=yes
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.$ac_ext >&5
18791 ac_header_preproc=no
18793 rm -f conftest.err conftest.$ac_ext
18794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18795 echo "${ECHO_T}$ac_header_preproc" >&6
18797 # So? What about this header?
18798 case $ac_header_compiler:$ac_header_preproc in
18800 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
18801 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
18802 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
18803 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
18806 ## ------------------------------------ ##
18807 ## Report this to bug-autoconf@gnu.org. ##
18808 ## ------------------------------------ ##
18811 sed "s/^/$as_me: WARNING: /" >&2
18814 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
18815 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
18816 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
18817 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
18818 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
18819 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
18822 ## ------------------------------------ ##
18823 ## Report this to bug-autoconf@gnu.org. ##
18824 ## ------------------------------------ ##
18827 sed "s/^/$as_me: WARNING: /" >&2
18830 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
18831 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
18832 if test "${ac_cv_header_ext_hash_map+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 ac_cv_header_ext_hash_map=$ac_header_preproc
18837 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
18838 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
18841 if test $ac_cv_header_ext_hash_map = yes; then
18842 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
18843 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
18844 cat >conftest.$ac_ext <<_ACEOF
18845 #line $LINENO "configure"
18848 cat confdefs.h >>conftest.$ac_ext
18849 cat >>conftest.$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 #include <ext/hash_map>
18852 #include <ext/hash_set>
18856 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
18857 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
18862 rm -f conftest.$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } &&
18868 { ac_try='test -s conftest.$ac_objext'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; }; then
18874 echo "$as_me:$LINENO: result: yes" >&5
18875 echo "${ECHO_T}yes" >&6
18876 cat >>confdefs.h <<\_ACEOF
18877 #define HAVE_EXT_HASH_MAP 1
18880 cat >>confdefs.h <<\_ACEOF
18881 #define HAVE_GNU_CXX_HASH_MAP 1
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18888 echo "$as_me:$LINENO: result: no" >&5
18889 echo "${ECHO_T}no" >&6
18891 rm -f conftest.$ac_objext conftest.$ac_ext
18898 ac_cpp='$CPP $CPPFLAGS'
18899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18907 /usr/local/include \
18909 /usr/Motif-2.1/include \
18910 /usr/Motif-1.2/include \
18911 /usr/include/Motif1.2 \
18912 /opt/xpm/include/X11 \
18913 /opt/GBxpm/include/ \
18914 /opt/GBxpm/X11/include/ \
18917 /usr/openwin/include \
18921 /usr/X11R6/include \
18922 /usr/X11R6.4/include \
18923 /usr/X11R5/include \
18924 /usr/X11R4/include \
18926 /usr/include/X11R6 \
18927 /usr/include/X11R5 \
18928 /usr/include/X11R4 \
18930 /usr/local/X11R6/include \
18931 /usr/local/X11R5/include \
18932 /usr/local/X11R4/include \
18934 /usr/local/include/X11R6 \
18935 /usr/local/include/X11R5 \
18936 /usr/local/include/X11R4 \
18940 /usr/local/X11/include \
18941 /usr/local/include/X11 \
18943 /usr/X386/include \
18944 /usr/x386/include \
18945 /usr/XFree86/include/X11 \
18947 X:/XFree86/include \
18948 X:/XFree86/include/X11 \
18951 /usr/local/include/gtk \
18952 /usr/include/glib \
18953 /usr/local/include/glib \
18956 /usr/local/include/qt \
18958 /usr/local/arm/3.3.2/include \
18960 /usr/include/windows \
18961 /usr/include/wine \
18962 /usr/local/include/wine \
18964 /usr/unsupported/include \
18965 /usr/athena/include \
18966 /usr/local/x11r5/include \
18967 /usr/lpp/Xamples/include \
18969 /usr/openwin/share/include"
18971 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18974 cat >confcache <<\_ACEOF
18975 # This file is a shell script that caches the results of configure
18976 # tests run on this system so they can be shared between configure
18977 # scripts and configure runs, see configure's option --config-cache.
18978 # It is not useful on other systems. If it contains results you don't
18979 # want to keep, you may remove or edit it.
18981 # config.status only pays attention to the cache file if you give it
18982 # the --recheck option to rerun configure.
18984 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18986 # following values.
18990 # The following way of writing the cache mishandles newlines in values,
18991 # but we know of no workaround that is simple, portable, and efficient.
18992 # So, don't put newlines in cache variables' values.
18993 # Ultrix sh set writes to stderr and can't be redirected directly,
18994 # and sets the high bit in the cache file unless we assign to the vars.
18997 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18999 # `set' does not quote correctly, so add quotes (double-quote
19000 # substitution turns \\\\ into \\, and sed turns \\ into \).
19003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19006 # `set' quotes correctly as required by POSIX, so do not add quotes.
19008 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19017 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19019 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19020 if test -w $cache_file; then
19021 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19022 cat confcache >$cache_file
19024 echo "not updating unwritable cache $cache_file"
19029 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19030 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19031 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19032 if test "${wx_cv_lib_glibc21+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 cat >conftest.$ac_ext <<_ACEOF
19037 #line $LINENO "configure"
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <features.h>
19048 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19049 #error not glibc2.1
19056 rm -f conftest.$ac_objext
19057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19058 (eval $ac_compile) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19069 wx_cv_lib_glibc21=yes
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19076 wx_cv_lib_glibc21=no
19080 rm -f conftest.$ac_objext conftest.$ac_ext
19083 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19084 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19085 if test "$wx_cv_lib_glibc21" = "yes"; then
19086 cat >>confdefs.h <<\_ACEOF
19087 #define wxHAVE_GLIBC2 1
19093 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19094 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19095 cat >>confdefs.h <<\_ACEOF
19096 #define _GNU_SOURCE 1
19104 if test "$wxUSE_REGEX" != "no"; then
19105 cat >>confdefs.h <<\_ACEOF
19106 #define wxUSE_REGEX 1
19110 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19111 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19112 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19113 wxUSE_REGEX=builtin
19116 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19117 if test "${ac_cv_header_regex_h+set}" = set; then
19118 echo "$as_me:$LINENO: checking for regex.h" >&5
19119 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19120 if test "${ac_cv_header_regex_h+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19123 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19124 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19126 # Is the header compilable?
19127 echo "$as_me:$LINENO: checking regex.h usability" >&5
19128 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19129 cat >conftest.$ac_ext <<_ACEOF
19130 #line $LINENO "configure"
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 $ac_includes_default
19139 rm -f conftest.$ac_objext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19141 (eval $ac_compile) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try='test -s conftest.$ac_objext'
19146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19147 (eval $ac_try) 2>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); }; }; then
19151 ac_header_compiler=yes
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19156 ac_header_compiler=no
19158 rm -f conftest.$ac_objext conftest.$ac_ext
19159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19160 echo "${ECHO_T}$ac_header_compiler" >&6
19162 # Is the header present?
19163 echo "$as_me:$LINENO: checking regex.h presence" >&5
19164 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19165 cat >conftest.$ac_ext <<_ACEOF
19166 #line $LINENO "configure"
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19177 grep -v '^ *+' conftest.er1 >conftest.err
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } >/dev/null; then
19182 if test -s conftest.err; then
19183 ac_cpp_err=$ac_c_preproc_warn_flag
19190 if test -z "$ac_cpp_err"; then
19191 ac_header_preproc=yes
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19196 ac_header_preproc=no
19198 rm -f conftest.err conftest.$ac_ext
19199 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19200 echo "${ECHO_T}$ac_header_preproc" >&6
19202 # So? What about this header?
19203 case $ac_header_compiler:$ac_header_preproc in
19205 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19206 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19207 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19208 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19211 ## ------------------------------------ ##
19212 ## Report this to bug-autoconf@gnu.org. ##
19213 ## ------------------------------------ ##
19216 sed "s/^/$as_me: WARNING: /" >&2
19219 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19220 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19221 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19222 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19223 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19224 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19227 ## ------------------------------------ ##
19228 ## Report this to bug-autoconf@gnu.org. ##
19229 ## ------------------------------------ ##
19232 sed "s/^/$as_me: WARNING: /" >&2
19235 echo "$as_me:$LINENO: checking for regex.h" >&5
19236 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19237 if test "${ac_cv_header_regex_h+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 ac_cv_header_regex_h=$ac_header_preproc
19242 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19243 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19246 if test $ac_cv_header_regex_h = yes; then
19248 for ac_func in regcomp
19250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19251 echo "$as_me:$LINENO: checking for $ac_func" >&5
19252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19253 if eval "test \"\${$as_ac_var+set}\" = set"; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 cat >conftest.$ac_ext <<_ACEOF
19257 #line $LINENO "configure"
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 /* System header to define __stub macros and hopefully few prototypes,
19264 which can conflict with char $ac_func (); below.
19265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19266 <limits.h> exists even on freestanding compilers. */
19268 # include <limits.h>
19270 # include <assert.h>
19272 /* Override any gcc2 internal prototype to avoid an error. */
19277 /* We use char because int might match the return type of a gcc2
19278 builtin and then its argument prototype would still apply. */
19280 /* The GNU C library defines this for functions which it implements
19281 to always fail with ENOSYS. Some functions are actually named
19282 something starting with __ and the normal name is an alias. */
19283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19286 char (*f) () = $ac_func;
19295 return f != $ac_func;
19300 rm -f conftest.$ac_objext conftest$ac_exeext
19301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19302 (eval $ac_link) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try='test -s conftest$ac_exeext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 eval "$as_ac_var=yes"
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19317 eval "$as_ac_var=no"
19319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19323 if test `eval echo '${'$as_ac_var'}'` = yes; then
19324 cat >>confdefs.h <<_ACEOF
19325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19335 if test "x$ac_cv_func_regcomp" != "xyes"; then
19336 if test "$wxUSE_REGEX" = "sys" ; then
19337 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19338 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19339 { (exit 1); exit 1; }; }
19341 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19342 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19343 wxUSE_REGEX=builtin
19347 cat >>confdefs.h <<\_ACEOF
19348 #define WX_NO_REGEX_ADVANCED 1
19357 if test "$wxUSE_ZLIB" != "no" ; then
19358 cat >>confdefs.h <<\_ACEOF
19359 #define wxUSE_ZLIB 1
19363 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19364 if test "$USE_DARWIN" = 1; then
19365 system_zlib_h_ok="yes"
19367 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19368 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19369 if test "${ac_cv_header_zlib_h+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 if test "$cross_compiling" = yes; then
19373 unset ac_cv_header_zlib_h
19376 cat >conftest.$ac_ext <<_ACEOF
19377 #line $LINENO "configure"
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19389 FILE *f=fopen("conftestval", "w");
19392 ZLIB_VERSION[0] == '1' &&
19393 (ZLIB_VERSION[2] > '1' ||
19394 (ZLIB_VERSION[2] == '1' &&
19395 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19400 rm -f conftest$ac_exeext
19401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19402 (eval $ac_link) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 ac_cv_header_zlib_h=`cat conftestval`
19413 echo "$as_me: program exited with status $ac_status" >&5
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 ( exit $ac_status )
19418 ac_cv_header_zlib_h=no
19420 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19424 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19425 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19426 if test "${ac_cv_header_zlib_h+set}" = set; then
19427 echo "$as_me:$LINENO: checking for zlib.h" >&5
19428 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19429 if test "${ac_cv_header_zlib_h+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19433 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19435 # Is the header compilable?
19436 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19437 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19438 cat >conftest.$ac_ext <<_ACEOF
19439 #line $LINENO "configure"
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19448 rm -f conftest.$ac_objext
19449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19450 (eval $ac_compile) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } &&
19454 { ac_try='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_header_compiler=yes
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19465 ac_header_compiler=no
19467 rm -f conftest.$ac_objext conftest.$ac_ext
19468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19469 echo "${ECHO_T}$ac_header_compiler" >&6
19471 # Is the header present?
19472 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19473 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19474 cat >conftest.$ac_ext <<_ACEOF
19475 #line $LINENO "configure"
19478 cat confdefs.h >>conftest.$ac_ext
19479 cat >>conftest.$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19486 grep -v '^ *+' conftest.er1 >conftest.err
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } >/dev/null; then
19491 if test -s conftest.err; then
19492 ac_cpp_err=$ac_c_preproc_warn_flag
19499 if test -z "$ac_cpp_err"; then
19500 ac_header_preproc=yes
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19505 ac_header_preproc=no
19507 rm -f conftest.err conftest.$ac_ext
19508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19509 echo "${ECHO_T}$ac_header_preproc" >&6
19511 # So? What about this header?
19512 case $ac_header_compiler:$ac_header_preproc in
19514 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19515 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19516 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19517 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19520 ## ------------------------------------ ##
19521 ## Report this to bug-autoconf@gnu.org. ##
19522 ## ------------------------------------ ##
19525 sed "s/^/$as_me: WARNING: /" >&2
19528 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19529 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19530 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19531 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19532 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19533 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19536 ## ------------------------------------ ##
19537 ## Report this to bug-autoconf@gnu.org. ##
19538 ## ------------------------------------ ##
19541 sed "s/^/$as_me: WARNING: /" >&2
19544 echo "$as_me:$LINENO: checking for zlib.h" >&5
19545 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19546 if test "${ac_cv_header_zlib_h+set}" = set; then
19547 echo $ECHO_N "(cached) $ECHO_C" >&6
19549 ac_cv_header_zlib_h=$ac_header_preproc
19551 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19552 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19558 system_zlib_h_ok=$ac_cv_header_zlib_h
19561 if test "$system_zlib_h_ok" = "yes"; then
19562 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19563 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19564 if test "${ac_cv_lib_z_deflate+set}" = set; then
19565 echo $ECHO_N "(cached) $ECHO_C" >&6
19567 ac_check_lib_save_LIBS=$LIBS
19569 cat >conftest.$ac_ext <<_ACEOF
19570 #line $LINENO "configure"
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19577 /* Override any gcc2 internal prototype to avoid an error. */
19581 /* We use char because int might match the return type of a gcc2
19582 builtin and then its argument prototype would still apply. */
19592 rm -f conftest.$ac_objext conftest$ac_exeext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19594 (eval $ac_link) 2>&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try='test -s conftest$ac_exeext'
19599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600 (eval $ac_try) 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; }; then
19604 ac_cv_lib_z_deflate=yes
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.$ac_ext >&5
19609 ac_cv_lib_z_deflate=no
19611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19612 LIBS=$ac_check_lib_save_LIBS
19614 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19615 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19616 if test $ac_cv_lib_z_deflate = yes; then
19622 if test "x$ZLIB_LINK" = "x" ; then
19623 if test "$wxUSE_ZLIB" = "sys" ; then
19624 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19625 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19626 { (exit 1); exit 1; }; }
19628 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19629 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19640 if test "$wxUSE_LIBPNG" != "no" ; then
19641 cat >>confdefs.h <<\_ACEOF
19642 #define wxUSE_LIBPNG 1
19646 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19647 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19648 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19652 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19653 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19654 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19655 wxUSE_LIBPNG=builtin
19658 if test "$wxUSE_MGL" != 1 ; then
19659 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19660 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19661 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19662 if test "${ac_cv_header_png_h+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 if test "$cross_compiling" = yes; then
19666 unset ac_cv_header_png_h
19669 cat >conftest.$ac_ext <<_ACEOF
19670 #line $LINENO "configure"
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19682 FILE *f=fopen("conftestval", "w");
19685 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19690 rm -f conftest$ac_exeext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19692 (eval $ac_link) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; }; then
19701 ac_cv_header_png_h=`cat conftestval`
19703 echo "$as_me: program exited with status $ac_status" >&5
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 ( exit $ac_status )
19708 ac_cv_header_png_h=no
19710 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19714 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19715 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19716 if test "${ac_cv_header_png_h+set}" = set; then
19717 echo "$as_me:$LINENO: checking for png.h" >&5
19718 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19719 if test "${ac_cv_header_png_h+set}" = set; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19723 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19725 # Is the header compilable?
19726 echo "$as_me:$LINENO: checking png.h usability" >&5
19727 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19728 cat >conftest.$ac_ext <<_ACEOF
19729 #line $LINENO "configure"
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19738 rm -f conftest.$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try='test -s conftest.$ac_objext'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; }; then
19750 ac_header_compiler=yes
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19755 ac_header_compiler=no
19757 rm -f conftest.$ac_objext conftest.$ac_ext
19758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19759 echo "${ECHO_T}$ac_header_compiler" >&6
19761 # Is the header present?
19762 echo "$as_me:$LINENO: checking png.h presence" >&5
19763 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19764 cat >conftest.$ac_ext <<_ACEOF
19765 #line $LINENO "configure"
19768 cat confdefs.h >>conftest.$ac_ext
19769 cat >>conftest.$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19774 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19776 grep -v '^ *+' conftest.er1 >conftest.err
19778 cat conftest.err >&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } >/dev/null; then
19781 if test -s conftest.err; then
19782 ac_cpp_err=$ac_c_preproc_warn_flag
19789 if test -z "$ac_cpp_err"; then
19790 ac_header_preproc=yes
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19795 ac_header_preproc=no
19797 rm -f conftest.err conftest.$ac_ext
19798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19799 echo "${ECHO_T}$ac_header_preproc" >&6
19801 # So? What about this header?
19802 case $ac_header_compiler:$ac_header_preproc in
19804 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19805 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19806 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19807 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19810 ## ------------------------------------ ##
19811 ## Report this to bug-autoconf@gnu.org. ##
19812 ## ------------------------------------ ##
19815 sed "s/^/$as_me: WARNING: /" >&2
19818 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19819 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19820 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19821 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19822 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19823 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19826 ## ------------------------------------ ##
19827 ## Report this to bug-autoconf@gnu.org. ##
19828 ## ------------------------------------ ##
19831 sed "s/^/$as_me: WARNING: /" >&2
19834 echo "$as_me:$LINENO: checking for png.h" >&5
19835 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19836 if test "${ac_cv_header_png_h+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19839 ac_cv_header_png_h=$ac_header_preproc
19841 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19842 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19848 if test "$ac_cv_header_png_h" = "yes"; then
19849 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19850 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19851 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 ac_check_lib_save_LIBS=$LIBS
19855 LIBS="-lpng -lz -lm $LIBS"
19856 cat >conftest.$ac_ext <<_ACEOF
19857 #line $LINENO "configure"
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19864 /* Override any gcc2 internal prototype to avoid an error. */
19868 /* We use char because int might match the return type of a gcc2
19869 builtin and then its argument prototype would still apply. */
19870 char png_check_sig ();
19879 rm -f conftest.$ac_objext conftest$ac_exeext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try='test -s conftest$ac_exeext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_cv_lib_png_png_check_sig=yes
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19896 ac_cv_lib_png_png_check_sig=no
19898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19899 LIBS=$ac_check_lib_save_LIBS
19901 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19902 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19903 if test $ac_cv_lib_png_png_check_sig = yes; then
19904 PNG_LINK=" -lpng -lz"
19909 if test "x$PNG_LINK" = "x" ; then
19910 if test "$wxUSE_LIBPNG" = "sys" ; then
19911 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19912 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19913 { (exit 1); exit 1; }; }
19915 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19916 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19917 wxUSE_LIBPNG=builtin
19925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
19930 if test "$wxUSE_LIBJPEG" != "no" ; then
19931 cat >>confdefs.h <<\_ACEOF
19932 #define wxUSE_LIBJPEG 1
19936 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19937 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19938 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19942 if test "$wxUSE_MGL" != 1 ; then
19943 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19944 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19945 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19946 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 cat >conftest.$ac_ext <<_ACEOF
19950 #line $LINENO "configure"
19953 cat confdefs.h >>conftest.$ac_ext
19954 cat >>conftest.$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19957 #undef HAVE_STDLIB_H
19959 #include <jpeglib.h>
19970 rm -f conftest.$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } &&
19976 { ac_try='test -s conftest.$ac_objext'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; }; then
19982 ac_cv_header_jpeglib_h=yes
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 ac_cv_header_jpeglib_h=no
19990 rm -f conftest.$ac_objext conftest.$ac_ext
19994 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19995 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19997 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19998 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19999 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20000 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 ac_check_lib_save_LIBS=$LIBS
20004 LIBS="-ljpeg $LIBS"
20005 cat >conftest.$ac_ext <<_ACEOF
20006 #line $LINENO "configure"
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20013 /* Override any gcc2 internal prototype to avoid an error. */
20017 /* We use char because int might match the return type of a gcc2
20018 builtin and then its argument prototype would still apply. */
20019 char jpeg_read_header ();
20023 jpeg_read_header ();
20028 rm -f conftest.$ac_objext conftest$ac_exeext
20029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20030 (eval $ac_link) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_lib_jpeg_jpeg_read_header=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 ac_cv_lib_jpeg_jpeg_read_header=no
20047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20048 LIBS=$ac_check_lib_save_LIBS
20050 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20051 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20052 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20053 JPEG_LINK=" -ljpeg"
20058 if test "x$JPEG_LINK" = "x" ; then
20059 if test "$wxUSE_LIBJPEG" = "sys" ; then
20060 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20061 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20062 { (exit 1); exit 1; }; }
20064 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20065 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20066 wxUSE_LIBJPEG=builtin
20077 TIFF_PREREQ_LINKS=-lm
20078 if test "$wxUSE_LIBTIFF" != "no" ; then
20079 cat >>confdefs.h <<\_ACEOF
20080 #define wxUSE_LIBTIFF 1
20084 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20085 if test "$wxUSE_LIBJPEG" = "sys"; then
20086 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20088 if test "$wxUSE_ZLIB" = "sys"; then
20089 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20091 if test "${ac_cv_header_tiffio_h+set}" = set; then
20092 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20093 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20094 if test "${ac_cv_header_tiffio_h+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20097 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20098 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20100 # Is the header compilable?
20101 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20102 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20103 cat >conftest.$ac_ext <<_ACEOF
20104 #line $LINENO "configure"
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 #include <tiffio.h>
20113 rm -f conftest.$ac_objext
20114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20115 (eval $ac_compile) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -s conftest.$ac_objext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_header_compiler=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 ac_header_compiler=no
20132 rm -f conftest.$ac_objext conftest.$ac_ext
20133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20134 echo "${ECHO_T}$ac_header_compiler" >&6
20136 # Is the header present?
20137 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20138 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20139 cat >conftest.$ac_ext <<_ACEOF
20140 #line $LINENO "configure"
20143 cat confdefs.h >>conftest.$ac_ext
20144 cat >>conftest.$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 #include <tiffio.h>
20148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20151 grep -v '^ *+' conftest.er1 >conftest.err
20153 cat conftest.err >&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } >/dev/null; then
20156 if test -s conftest.err; then
20157 ac_cpp_err=$ac_c_preproc_warn_flag
20164 if test -z "$ac_cpp_err"; then
20165 ac_header_preproc=yes
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20170 ac_header_preproc=no
20172 rm -f conftest.err conftest.$ac_ext
20173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20174 echo "${ECHO_T}$ac_header_preproc" >&6
20176 # So? What about this header?
20177 case $ac_header_compiler:$ac_header_preproc in
20179 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20180 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20181 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20182 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20185 ## ------------------------------------ ##
20186 ## Report this to bug-autoconf@gnu.org. ##
20187 ## ------------------------------------ ##
20190 sed "s/^/$as_me: WARNING: /" >&2
20193 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20194 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20195 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20196 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20197 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20198 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20201 ## ------------------------------------ ##
20202 ## Report this to bug-autoconf@gnu.org. ##
20203 ## ------------------------------------ ##
20206 sed "s/^/$as_me: WARNING: /" >&2
20209 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20210 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20211 if test "${ac_cv_header_tiffio_h+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 ac_cv_header_tiffio_h=$ac_header_preproc
20216 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20217 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20220 if test $ac_cv_header_tiffio_h = yes; then
20222 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20223 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20224 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 ac_check_lib_save_LIBS=$LIBS
20228 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20229 cat >conftest.$ac_ext <<_ACEOF
20230 #line $LINENO "configure"
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20237 /* Override any gcc2 internal prototype to avoid an error. */
20241 /* We use char because int might match the return type of a gcc2
20242 builtin and then its argument prototype would still apply. */
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20254 (eval $ac_link) 2>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } &&
20258 { ac_try='test -s conftest$ac_exeext'
20259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260 (eval $ac_try) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); }; }; then
20264 ac_cv_lib_tiff_TIFFError=yes
20266 echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.$ac_ext >&5
20269 ac_cv_lib_tiff_TIFFError=no
20271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20272 LIBS=$ac_check_lib_save_LIBS
20274 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20275 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20276 if test $ac_cv_lib_tiff_TIFFError = yes; then
20277 TIFF_LINK=" -ltiff"
20286 if test "x$TIFF_LINK" = "x" ; then
20287 if test "$wxUSE_LIBTIFF" = "sys" ; then
20288 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20289 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20290 { (exit 1); exit 1; }; }
20292 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20293 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20294 wxUSE_LIBTIFF=builtin
20303 if test "$wxUSE_EXPAT" != "no"; then
20305 cat >>confdefs.h <<\_ACEOF
20306 #define wxUSE_EXPAT 1
20309 cat >>confdefs.h <<\_ACEOF
20310 #define wxUSE_XML 1
20314 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20315 if test "${ac_cv_header_expat_h+set}" = set; then
20316 echo "$as_me:$LINENO: checking for expat.h" >&5
20317 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20318 if test "${ac_cv_header_expat_h+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20321 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20322 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20324 # Is the header compilable?
20325 echo "$as_me:$LINENO: checking expat.h usability" >&5
20326 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20327 cat >conftest.$ac_ext <<_ACEOF
20328 #line $LINENO "configure"
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20337 rm -f conftest.$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try='test -s conftest.$ac_objext'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; }; then
20349 ac_header_compiler=yes
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20354 ac_header_compiler=no
20356 rm -f conftest.$ac_objext conftest.$ac_ext
20357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20358 echo "${ECHO_T}$ac_header_compiler" >&6
20360 # Is the header present?
20361 echo "$as_me:$LINENO: checking expat.h presence" >&5
20362 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20363 cat >conftest.$ac_ext <<_ACEOF
20364 #line $LINENO "configure"
20367 cat confdefs.h >>conftest.$ac_ext
20368 cat >>conftest.$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20375 grep -v '^ *+' conftest.er1 >conftest.err
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } >/dev/null; then
20380 if test -s conftest.err; then
20381 ac_cpp_err=$ac_c_preproc_warn_flag
20388 if test -z "$ac_cpp_err"; then
20389 ac_header_preproc=yes
20391 echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20394 ac_header_preproc=no
20396 rm -f conftest.err conftest.$ac_ext
20397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20398 echo "${ECHO_T}$ac_header_preproc" >&6
20400 # So? What about this header?
20401 case $ac_header_compiler:$ac_header_preproc in
20403 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20404 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20405 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20406 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20409 ## ------------------------------------ ##
20410 ## Report this to bug-autoconf@gnu.org. ##
20411 ## ------------------------------------ ##
20414 sed "s/^/$as_me: WARNING: /" >&2
20417 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20418 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20419 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20420 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20421 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20422 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20425 ## ------------------------------------ ##
20426 ## Report this to bug-autoconf@gnu.org. ##
20427 ## ------------------------------------ ##
20430 sed "s/^/$as_me: WARNING: /" >&2
20433 echo "$as_me:$LINENO: checking for expat.h" >&5
20434 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20435 if test "${ac_cv_header_expat_h+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 ac_cv_header_expat_h=$ac_header_preproc
20440 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20441 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20444 if test $ac_cv_header_expat_h = yes; then
20449 if test "x$found_expat_h" = "x1"; then
20450 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20451 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20452 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20459 ac_cpp='$CXXCPP $CPPFLAGS'
20460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20464 cat >conftest.$ac_ext <<_ACEOF
20465 #line $LINENO "configure"
20468 cat confdefs.h >>conftest.$ac_ext
20469 cat >>conftest.$ac_ext <<_ACEOF
20470 /* end confdefs.h. */
20480 rm -f conftest.$ac_objext
20481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20482 (eval $ac_compile) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } &&
20486 { ac_try='test -s conftest.$ac_objext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 wx_cv_expat_is_not_broken=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20497 wx_cv_expat_is_not_broken=no
20500 rm -f conftest.$ac_objext conftest.$ac_ext
20502 ac_cpp='$CPP $CPPFLAGS'
20503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20510 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20511 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20512 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20513 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20514 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20515 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 ac_check_lib_save_LIBS=$LIBS
20519 LIBS="-lexpat $LIBS"
20520 cat >conftest.$ac_ext <<_ACEOF
20521 #line $LINENO "configure"
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20528 /* Override any gcc2 internal prototype to avoid an error. */
20532 /* We use char because int might match the return type of a gcc2
20533 builtin and then its argument prototype would still apply. */
20534 char XML_ParserCreate ();
20538 XML_ParserCreate ();
20543 rm -f conftest.$ac_objext conftest$ac_exeext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20545 (eval $ac_link) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try='test -s conftest$ac_exeext'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; }; then
20555 ac_cv_lib_expat_XML_ParserCreate=yes
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20560 ac_cv_lib_expat_XML_ParserCreate=no
20562 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20563 LIBS=$ac_check_lib_save_LIBS
20565 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20566 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20567 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20568 EXPAT_LINK=" -lexpat"
20573 if test "x$EXPAT_LINK" = "x" ; then
20574 if test "$wxUSE_EXPAT" = "sys" ; then
20575 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20576 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20577 { (exit 1); exit 1; }; }
20579 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20580 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20581 wxUSE_EXPAT=builtin
20587 if test "$wxUSE_EXPAT" = "builtin" ; then
20590 subdirs="$subdirs src/expat"
20597 if test "$wxUSE_LIBMSPACK" != "no"; then
20599 if test "${ac_cv_header_mspack_h+set}" = set; then
20600 echo "$as_me:$LINENO: checking for mspack.h" >&5
20601 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20602 if test "${ac_cv_header_mspack_h+set}" = set; then
20603 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20606 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20608 # Is the header compilable?
20609 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20610 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20611 cat >conftest.$ac_ext <<_ACEOF
20612 #line $LINENO "configure"
20615 cat confdefs.h >>conftest.$ac_ext
20616 cat >>conftest.$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 $ac_includes_default
20619 #include <mspack.h>
20621 rm -f conftest.$ac_objext
20622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20623 (eval $ac_compile) 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 ac_header_compiler=yes
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20638 ac_header_compiler=no
20640 rm -f conftest.$ac_objext conftest.$ac_ext
20641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20642 echo "${ECHO_T}$ac_header_compiler" >&6
20644 # Is the header present?
20645 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20646 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20647 cat >conftest.$ac_ext <<_ACEOF
20648 #line $LINENO "configure"
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 #include <mspack.h>
20656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20659 grep -v '^ *+' conftest.er1 >conftest.err
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } >/dev/null; then
20664 if test -s conftest.err; then
20665 ac_cpp_err=$ac_c_preproc_warn_flag
20672 if test -z "$ac_cpp_err"; then
20673 ac_header_preproc=yes
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.$ac_ext >&5
20678 ac_header_preproc=no
20680 rm -f conftest.err conftest.$ac_ext
20681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20682 echo "${ECHO_T}$ac_header_preproc" >&6
20684 # So? What about this header?
20685 case $ac_header_compiler:$ac_header_preproc in
20687 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20688 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20689 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20690 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20693 ## ------------------------------------ ##
20694 ## Report this to bug-autoconf@gnu.org. ##
20695 ## ------------------------------------ ##
20698 sed "s/^/$as_me: WARNING: /" >&2
20701 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20702 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20703 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20704 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20705 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20706 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20709 ## ------------------------------------ ##
20710 ## Report this to bug-autoconf@gnu.org. ##
20711 ## ------------------------------------ ##
20714 sed "s/^/$as_me: WARNING: /" >&2
20717 echo "$as_me:$LINENO: checking for mspack.h" >&5
20718 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20719 if test "${ac_cv_header_mspack_h+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 ac_cv_header_mspack_h=$ac_header_preproc
20724 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20725 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20728 if test $ac_cv_header_mspack_h = yes; then
20733 if test "x$found_mspack_h" = "x1"; then
20734 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20735 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20736 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 ac_check_lib_save_LIBS=$LIBS
20740 LIBS="-lmspack $LIBS"
20741 cat >conftest.$ac_ext <<_ACEOF
20742 #line $LINENO "configure"
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20749 /* Override any gcc2 internal prototype to avoid an error. */
20753 /* We use char because int might match the return type of a gcc2
20754 builtin and then its argument prototype would still apply. */
20755 char mspack_create_chm_decompressor ();
20759 mspack_create_chm_decompressor ();
20764 rm -f conftest.$ac_objext conftest$ac_exeext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20766 (eval $ac_link) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try='test -s conftest$ac_exeext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20781 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
20783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20784 LIBS=$ac_check_lib_save_LIBS
20786 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20787 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20788 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20789 MSPACK_LINK=" -lmspack"
20793 if test "x$MSPACK_LINK" = "x" ; then
20796 cat >>confdefs.h <<\_ACEOF
20797 #define wxUSE_LIBMSPACK 1
20812 if test "$USE_WIN32" = 1 ; then
20814 for ac_header in w32api.h
20816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20818 echo "$as_me:$LINENO: checking for $ac_header" >&5
20819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20821 echo $ECHO_N "(cached) $ECHO_C" >&6
20823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20826 # Is the header compilable?
20827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20829 cat >conftest.$ac_ext <<_ACEOF
20830 #line $LINENO "configure"
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h. */
20836 $ac_includes_default
20837 #include <$ac_header>
20839 rm -f conftest.$ac_objext
20840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20841 (eval $ac_compile) 2>&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try='test -s conftest.$ac_objext'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; }; then
20851 ac_header_compiler=yes
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20856 ac_header_compiler=no
20858 rm -f conftest.$ac_objext conftest.$ac_ext
20859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20860 echo "${ECHO_T}$ac_header_compiler" >&6
20862 # Is the header present?
20863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20865 cat >conftest.$ac_ext <<_ACEOF
20866 #line $LINENO "configure"
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 #include <$ac_header>
20874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20877 grep -v '^ *+' conftest.er1 >conftest.err
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } >/dev/null; then
20882 if test -s conftest.err; then
20883 ac_cpp_err=$ac_c_preproc_warn_flag
20890 if test -z "$ac_cpp_err"; then
20891 ac_header_preproc=yes
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20896 ac_header_preproc=no
20898 rm -f conftest.err conftest.$ac_ext
20899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20900 echo "${ECHO_T}$ac_header_preproc" >&6
20902 # So? What about this header?
20903 case $ac_header_compiler:$ac_header_preproc in
20905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20911 ## ------------------------------------ ##
20912 ## Report this to bug-autoconf@gnu.org. ##
20913 ## ------------------------------------ ##
20916 sed "s/^/$as_me: WARNING: /" >&2
20919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20927 ## ------------------------------------ ##
20928 ## Report this to bug-autoconf@gnu.org. ##
20929 ## ------------------------------------ ##
20932 sed "s/^/$as_me: WARNING: /" >&2
20935 echo "$as_me:$LINENO: checking for $ac_header" >&5
20936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20940 eval "$as_ac_Header=$ac_header_preproc"
20942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20947 cat >>confdefs.h <<_ACEOF
20948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20955 if test "${ac_cv_header_windows_h+set}" = set; then
20956 echo "$as_me:$LINENO: checking for windows.h" >&5
20957 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20958 if test "${ac_cv_header_windows_h+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20962 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20964 # Is the header compilable?
20965 echo "$as_me:$LINENO: checking windows.h usability" >&5
20966 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20967 cat >conftest.$ac_ext <<_ACEOF
20968 #line $LINENO "configure"
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974 $ac_includes_default
20975 #include <windows.h>
20977 rm -f conftest.$ac_objext
20978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20979 (eval $ac_compile) 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try='test -s conftest.$ac_objext'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; }; then
20989 ac_header_compiler=yes
20991 echo "$as_me: failed program was:" >&5
20992 sed 's/^/| /' conftest.$ac_ext >&5
20994 ac_header_compiler=no
20996 rm -f conftest.$ac_objext conftest.$ac_ext
20997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20998 echo "${ECHO_T}$ac_header_compiler" >&6
21000 # Is the header present?
21001 echo "$as_me:$LINENO: checking windows.h presence" >&5
21002 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21003 cat >conftest.$ac_ext <<_ACEOF
21004 #line $LINENO "configure"
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010 #include <windows.h>
21012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21015 grep -v '^ *+' conftest.er1 >conftest.err
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } >/dev/null; then
21020 if test -s conftest.err; then
21021 ac_cpp_err=$ac_c_preproc_warn_flag
21028 if test -z "$ac_cpp_err"; then
21029 ac_header_preproc=yes
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21034 ac_header_preproc=no
21036 rm -f conftest.err conftest.$ac_ext
21037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21038 echo "${ECHO_T}$ac_header_preproc" >&6
21040 # So? What about this header?
21041 case $ac_header_compiler:$ac_header_preproc in
21043 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21044 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21045 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21046 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21049 ## ------------------------------------ ##
21050 ## Report this to bug-autoconf@gnu.org. ##
21051 ## ------------------------------------ ##
21054 sed "s/^/$as_me: WARNING: /" >&2
21057 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21058 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21059 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21060 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21061 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21062 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21065 ## ------------------------------------ ##
21066 ## Report this to bug-autoconf@gnu.org. ##
21067 ## ------------------------------------ ##
21070 sed "s/^/$as_me: WARNING: /" >&2
21073 echo "$as_me:$LINENO: checking for windows.h" >&5
21074 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21075 if test "${ac_cv_header_windows_h+set}" = set; then
21076 echo $ECHO_N "(cached) $ECHO_C" >&6
21078 ac_cv_header_windows_h=$ac_header_preproc
21080 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21081 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21084 if test $ac_cv_header_windows_h = yes; then
21088 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21089 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21090 { (exit 1); exit 1; }; }
21096 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21098 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21099 LIBS="$LIBS -loleacc"
21104 LIBS="$LIBS -lkernel32 -luser32"
21105 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21108 if test "$wxUSE_ODBC" = "sys" ; then
21111 if test "$wxUSE_ODBC" = "yes" ; then
21112 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21113 cat >>confdefs.h <<\_ACEOF
21114 #define wxUSE_ODBC 1
21119 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21120 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21122 WIN32INSTALL=win32install
21125 if test "$wxUSE_GUI" = "yes"; then
21135 if test "$wxUSE_MSW" = 1 ; then
21141 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21145 if test "$wxUSE_GTK" = 1; then
21146 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21147 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21149 gtk_version_cached=1
21150 if test "${wx_cv_lib_gtk+set}" = set; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 gtk_version_cached=0
21155 echo "$as_me:$LINENO: result: " >&5
21156 echo "${ECHO_T}" >&6
21159 if test "$wxUSE_THREADS" = "yes"; then
21160 GTK_MODULES=gthread
21164 if test "x$wxUSE_GTK2" = "xyes"; then
21165 # Check whether --enable-gtktest or --disable-gtktest was given.
21166 if test "${enable_gtktest+set}" = set; then
21167 enableval="$enable_gtktest"
21173 pkg_config_args=gtk+-2.0
21174 for module in . $GTK_MODULES
21178 pkg_config_args="$pkg_config_args gthread-2.0"
21185 # Extract the first word of "pkg-config", so it can be a program name with args.
21186 set dummy pkg-config; ac_word=$2
21187 echo "$as_me:$LINENO: checking for $ac_word" >&5
21188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21189 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21190 echo $ECHO_N "(cached) $ECHO_C" >&6
21192 case $PKG_CONFIG in
21194 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21198 for as_dir in $PATH
21201 test -z "$as_dir" && as_dir=.
21202 for ac_exec_ext in '' $ac_executable_extensions; do
21203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21204 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21211 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21215 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21217 if test -n "$PKG_CONFIG"; then
21218 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21219 echo "${ECHO_T}$PKG_CONFIG" >&6
21221 echo "$as_me:$LINENO: result: no" >&5
21222 echo "${ECHO_T}no" >&6
21226 if test x$PKG_CONFIG != xno ; then
21227 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21230 echo "*** pkg-config too old; version 0.7 or better required."
21238 min_gtk_version=2.0.0
21239 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21240 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21242 if test x$PKG_CONFIG != xno ; then
21243 ## don't try to run the test against uninstalled libtool libs
21244 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21245 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21249 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21256 if test x"$no_gtk" = x ; then
21257 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21258 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21259 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21261 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21263 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21265 if test "x$enable_gtktest" = "xyes" ; then
21266 ac_save_CFLAGS="$CFLAGS"
21267 ac_save_LIBS="$LIBS"
21268 CFLAGS="$CFLAGS $GTK_CFLAGS"
21269 LIBS="$GTK_LIBS $LIBS"
21271 if test "$cross_compiling" = yes; then
21272 echo $ac_n "cross compiling; assumed OK... $ac_c"
21274 cat >conftest.$ac_ext <<_ACEOF
21275 #line $LINENO "configure"
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21282 #include <gtk/gtk.h>
21284 #include <stdlib.h>
21289 int major, minor, micro;
21292 system ("touch conf.gtktest");
21294 /* HP/UX 9 (%@#!) writes to sscanf strings */
21295 tmp_version = g_strdup("$min_gtk_version");
21296 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21297 printf("%s, bad version string\n", "$min_gtk_version");
21301 if ((gtk_major_version != $gtk_config_major_version) ||
21302 (gtk_minor_version != $gtk_config_minor_version) ||
21303 (gtk_micro_version != $gtk_config_micro_version))
21305 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21306 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21307 gtk_major_version, gtk_minor_version, gtk_micro_version);
21308 printf ("*** was found! If pkg-config was correct, then it is best\n");
21309 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21310 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21311 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21312 printf("*** required on your system.\n");
21313 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21314 printf("*** to point to the correct configuration files\n");
21316 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21317 (gtk_minor_version != GTK_MINOR_VERSION) ||
21318 (gtk_micro_version != GTK_MICRO_VERSION))
21320 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21321 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21322 printf("*** library (version %d.%d.%d)\n",
21323 gtk_major_version, gtk_minor_version, gtk_micro_version);
21327 if ((gtk_major_version > major) ||
21328 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21329 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21335 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21336 gtk_major_version, gtk_minor_version, gtk_micro_version);
21337 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21338 major, minor, micro);
21339 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21341 printf("*** If you have already installed a sufficiently new version, this error\n");
21342 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21343 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21344 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21345 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21346 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21347 printf("*** so that the correct libraries are found at run-time))\n");
21354 rm -f conftest$ac_exeext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21356 (eval $ac_link) 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21367 echo "$as_me: program exited with status $ac_status" >&5
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21371 ( exit $ac_status )
21374 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21376 CFLAGS="$ac_save_CFLAGS"
21377 LIBS="$ac_save_LIBS"
21380 if test "x$no_gtk" = x ; then
21381 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21382 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21385 echo "$as_me:$LINENO: result: no" >&5
21386 echo "${ECHO_T}no" >&6
21387 if test "$PKG_CONFIG" = "no" ; then
21388 echo "*** A new enough version of pkg-config was not found."
21389 echo "*** See http://pkgconfig.sourceforge.net"
21391 if test -f conf.gtktest ; then
21394 echo "*** Could not run GTK+ test program, checking why..."
21395 ac_save_CFLAGS="$CFLAGS"
21396 ac_save_LIBS="$LIBS"
21397 CFLAGS="$CFLAGS $GTK_CFLAGS"
21398 LIBS="$LIBS $GTK_LIBS"
21399 cat >conftest.$ac_ext <<_ACEOF
21400 #line $LINENO "configure"
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21407 #include <gtk/gtk.h>
21413 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21418 rm -f conftest.$ac_objext conftest$ac_exeext
21419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21420 (eval $ac_link) 2>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } &&
21424 { ac_try='test -s conftest$ac_exeext'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; }; then
21430 echo "*** The test program compiled, but did not run. This usually means"
21431 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21432 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21433 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21434 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21435 echo "*** is required on your system"
21437 echo "*** If you have an old version installed, it is best to remove it, although"
21438 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21443 echo "*** The test program failed to compile or link. See the file config.log for the"
21444 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21447 CFLAGS="$ac_save_CFLAGS"
21448 LIBS="$ac_save_LIBS"
21461 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21462 if test "${with_gtk_prefix+set}" = set; then
21463 withval="$with_gtk_prefix"
21464 gtk_config_prefix="$withval"
21466 gtk_config_prefix=""
21469 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21470 if test "${with_gtk_exec_prefix+set}" = set; then
21471 withval="$with_gtk_exec_prefix"
21472 gtk_config_exec_prefix="$withval"
21474 gtk_config_exec_prefix=""
21476 # Check whether --enable-gtktest or --disable-gtktest was given.
21477 if test "${enable_gtktest+set}" = set; then
21478 enableval="$enable_gtktest"
21484 for module in . $GTK_MODULES
21488 gtk_config_args="$gtk_config_args gthread"
21493 if test x$gtk_config_exec_prefix != x ; then
21494 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21495 if test x${GTK_CONFIG+set} != xset ; then
21496 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21499 if test x$gtk_config_prefix != x ; then
21500 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21501 if test x${GTK_CONFIG+set} != xset ; then
21502 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21506 # Extract the first word of "gtk-config", so it can be a program name with args.
21507 set dummy gtk-config; ac_word=$2
21508 echo "$as_me:$LINENO: checking for $ac_word" >&5
21509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21510 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 case $GTK_CONFIG in
21515 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21519 for as_dir in $PATH
21522 test -z "$as_dir" && as_dir=.
21523 for ac_exec_ext in '' $ac_executable_extensions; do
21524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21525 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21532 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21536 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21538 if test -n "$GTK_CONFIG"; then
21539 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21540 echo "${ECHO_T}$GTK_CONFIG" >&6
21542 echo "$as_me:$LINENO: result: no" >&5
21543 echo "${ECHO_T}no" >&6
21546 min_gtk_version=1.2.7
21547 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21548 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21550 if test "$GTK_CONFIG" = "no" ; then
21553 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21554 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21555 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21557 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21559 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21561 if test "x$enable_gtktest" = "xyes" ; then
21562 ac_save_CFLAGS="$CFLAGS"
21563 ac_save_LIBS="$LIBS"
21564 CFLAGS="$CFLAGS $GTK_CFLAGS"
21565 LIBS="$GTK_LIBS $LIBS"
21567 if test "$cross_compiling" = yes; then
21568 echo $ac_n "cross compiling; assumed OK... $ac_c"
21570 cat >conftest.$ac_ext <<_ACEOF
21571 #line $LINENO "configure"
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21578 #include <gtk/gtk.h>
21580 #include <stdlib.h>
21585 int major, minor, micro;
21588 system ("touch conf.gtktest");
21590 /* HP/UX 9 (%@#!) writes to sscanf strings */
21591 tmp_version = g_strdup("$min_gtk_version");
21592 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21593 printf("%s, bad version string\n", "$min_gtk_version");
21597 if ((gtk_major_version != $gtk_config_major_version) ||
21598 (gtk_minor_version != $gtk_config_minor_version) ||
21599 (gtk_micro_version != $gtk_config_micro_version))
21601 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21602 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21603 gtk_major_version, gtk_minor_version, gtk_micro_version);
21604 printf ("*** was found! If gtk-config was correct, then it is best\n");
21605 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21606 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21607 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21608 printf("*** required on your system.\n");
21609 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21610 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21611 printf("*** before re-running configure\n");
21613 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21614 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21615 (gtk_minor_version != GTK_MINOR_VERSION) ||
21616 (gtk_micro_version != GTK_MICRO_VERSION))
21618 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21619 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21620 printf("*** library (version %d.%d.%d)\n",
21621 gtk_major_version, gtk_minor_version, gtk_micro_version);
21623 #endif /* defined (GTK_MAJOR_VERSION) ... */
21626 if ((gtk_major_version > major) ||
21627 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21628 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21634 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21635 gtk_major_version, gtk_minor_version, gtk_micro_version);
21636 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21637 major, minor, micro);
21638 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21640 printf("*** If you have already installed a sufficiently new version, this error\n");
21641 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21642 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21643 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21644 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21645 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21646 printf("*** so that the correct libraries are found at run-time))\n");
21653 rm -f conftest$ac_exeext
21654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21655 (eval $ac_link) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21660 (eval $ac_try) 2>&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21666 echo "$as_me: program exited with status $ac_status" >&5
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21670 ( exit $ac_status )
21673 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21675 CFLAGS="$ac_save_CFLAGS"
21676 LIBS="$ac_save_LIBS"
21679 if test "x$no_gtk" = x ; then
21680 echo "$as_me:$LINENO: result: yes" >&5
21681 echo "${ECHO_T}yes" >&6
21682 wx_cv_lib_gtk=1.2.7
21684 echo "$as_me:$LINENO: result: no" >&5
21685 echo "${ECHO_T}no" >&6
21686 if test "$GTK_CONFIG" = "no" ; then
21687 echo "*** The gtk-config script installed by GTK could not be found"
21688 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21689 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21690 echo "*** full path to gtk-config."
21692 if test -f conf.gtktest ; then
21695 echo "*** Could not run GTK test program, checking why..."
21696 CFLAGS="$CFLAGS $GTK_CFLAGS"
21697 LIBS="$LIBS $GTK_LIBS"
21698 cat >conftest.$ac_ext <<_ACEOF
21699 #line $LINENO "configure"
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21706 #include <gtk/gtk.h>
21712 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21717 rm -f conftest.$ac_objext conftest$ac_exeext
21718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21719 (eval $ac_link) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } &&
21723 { ac_try='test -s conftest$ac_exeext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21729 echo "*** The test program compiled, but did not run. This usually means"
21730 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21731 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21732 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21733 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21734 echo "*** is required on your system"
21736 echo "*** If you have an old version installed, it is best to remove it, although"
21737 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21739 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21740 echo "*** came with the system with the command"
21742 echo "*** rpm --erase --nodeps gtk gtk-devel"
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21747 echo "*** The test program failed to compile or link. See the file config.log for the"
21748 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21749 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21750 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21753 CFLAGS="$ac_save_CFLAGS"
21754 LIBS="$ac_save_LIBS"
21766 if test -z "$wx_cv_lib_gtk"; then
21768 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21769 if test "${with_gtk_prefix+set}" = set; then
21770 withval="$with_gtk_prefix"
21771 gtk_config_prefix="$withval"
21773 gtk_config_prefix=""
21776 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21777 if test "${with_gtk_exec_prefix+set}" = set; then
21778 withval="$with_gtk_exec_prefix"
21779 gtk_config_exec_prefix="$withval"
21781 gtk_config_exec_prefix=""
21783 # Check whether --enable-gtktest or --disable-gtktest was given.
21784 if test "${enable_gtktest+set}" = set; then
21785 enableval="$enable_gtktest"
21791 for module in . $GTK_MODULES
21795 gtk_config_args="$gtk_config_args gthread"
21800 if test x$gtk_config_exec_prefix != x ; then
21801 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21802 if test x${GTK_CONFIG+set} != xset ; then
21803 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21806 if test x$gtk_config_prefix != x ; then
21807 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21808 if test x${GTK_CONFIG+set} != xset ; then
21809 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21813 # Extract the first word of "gtk-config", so it can be a program name with args.
21814 set dummy gtk-config; ac_word=$2
21815 echo "$as_me:$LINENO: checking for $ac_word" >&5
21816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21817 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21818 echo $ECHO_N "(cached) $ECHO_C" >&6
21820 case $GTK_CONFIG in
21822 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21826 for as_dir in $PATH
21829 test -z "$as_dir" && as_dir=.
21830 for ac_exec_ext in '' $ac_executable_extensions; do
21831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21832 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21839 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21843 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21845 if test -n "$GTK_CONFIG"; then
21846 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21847 echo "${ECHO_T}$GTK_CONFIG" >&6
21849 echo "$as_me:$LINENO: result: no" >&5
21850 echo "${ECHO_T}no" >&6
21853 min_gtk_version=1.2.3
21854 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21855 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21857 if test "$GTK_CONFIG" = "no" ; then
21860 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21861 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21862 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21864 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21866 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21868 if test "x$enable_gtktest" = "xyes" ; then
21869 ac_save_CFLAGS="$CFLAGS"
21870 ac_save_LIBS="$LIBS"
21871 CFLAGS="$CFLAGS $GTK_CFLAGS"
21872 LIBS="$GTK_LIBS $LIBS"
21874 if test "$cross_compiling" = yes; then
21875 echo $ac_n "cross compiling; assumed OK... $ac_c"
21877 cat >conftest.$ac_ext <<_ACEOF
21878 #line $LINENO "configure"
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21885 #include <gtk/gtk.h>
21887 #include <stdlib.h>
21892 int major, minor, micro;
21895 system ("touch conf.gtktest");
21897 /* HP/UX 9 (%@#!) writes to sscanf strings */
21898 tmp_version = g_strdup("$min_gtk_version");
21899 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21900 printf("%s, bad version string\n", "$min_gtk_version");
21904 if ((gtk_major_version != $gtk_config_major_version) ||
21905 (gtk_minor_version != $gtk_config_minor_version) ||
21906 (gtk_micro_version != $gtk_config_micro_version))
21908 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21909 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21910 gtk_major_version, gtk_minor_version, gtk_micro_version);
21911 printf ("*** was found! If gtk-config was correct, then it is best\n");
21912 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21913 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21914 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21915 printf("*** required on your system.\n");
21916 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21917 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21918 printf("*** before re-running configure\n");
21920 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21921 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21922 (gtk_minor_version != GTK_MINOR_VERSION) ||
21923 (gtk_micro_version != GTK_MICRO_VERSION))
21925 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21926 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21927 printf("*** library (version %d.%d.%d)\n",
21928 gtk_major_version, gtk_minor_version, gtk_micro_version);
21930 #endif /* defined (GTK_MAJOR_VERSION) ... */
21933 if ((gtk_major_version > major) ||
21934 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21935 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21941 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21942 gtk_major_version, gtk_minor_version, gtk_micro_version);
21943 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21944 major, minor, micro);
21945 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21947 printf("*** If you have already installed a sufficiently new version, this error\n");
21948 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21949 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21950 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21951 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21952 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21953 printf("*** so that the correct libraries are found at run-time))\n");
21960 rm -f conftest$ac_exeext
21961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21962 (eval $ac_link) 2>&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21973 echo "$as_me: program exited with status $ac_status" >&5
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21977 ( exit $ac_status )
21980 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21982 CFLAGS="$ac_save_CFLAGS"
21983 LIBS="$ac_save_LIBS"
21986 if test "x$no_gtk" = x ; then
21987 echo "$as_me:$LINENO: result: yes" >&5
21988 echo "${ECHO_T}yes" >&6
21989 wx_cv_lib_gtk=1.2.3
21991 echo "$as_me:$LINENO: result: no" >&5
21992 echo "${ECHO_T}no" >&6
21993 if test "$GTK_CONFIG" = "no" ; then
21994 echo "*** The gtk-config script installed by GTK could not be found"
21995 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21996 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21997 echo "*** full path to gtk-config."
21999 if test -f conf.gtktest ; then
22002 echo "*** Could not run GTK test program, checking why..."
22003 CFLAGS="$CFLAGS $GTK_CFLAGS"
22004 LIBS="$LIBS $GTK_LIBS"
22005 cat >conftest.$ac_ext <<_ACEOF
22006 #line $LINENO "configure"
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22013 #include <gtk/gtk.h>
22019 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22024 rm -f conftest.$ac_objext conftest$ac_exeext
22025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22026 (eval $ac_link) 2>&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try='test -s conftest$ac_exeext'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22036 echo "*** The test program compiled, but did not run. This usually means"
22037 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22038 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22039 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22040 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22041 echo "*** is required on your system"
22043 echo "*** If you have an old version installed, it is best to remove it, although"
22044 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22046 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22047 echo "*** came with the system with the command"
22049 echo "*** rpm --erase --nodeps gtk gtk-devel"
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22054 echo "*** The test program failed to compile or link. See the file config.log for the"
22055 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22056 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22057 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22060 CFLAGS="$ac_save_CFLAGS"
22061 LIBS="$ac_save_LIBS"
22075 if test -z "$wx_cv_lib_gtk"; then
22078 wx_cv_cflags_gtk=$GTK_CFLAGS
22079 wx_cv_libs_gtk=$GTK_LIBS
22086 if test "$gtk_version_cached" = 1; then
22087 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22088 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22091 case "$wx_cv_lib_gtk" in
22100 *) { { echo "$as_me:$LINENO: error:
22101 Please check that gtk-config is in path, the directory
22102 where GTK+ libraries are installed (returned by
22103 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22104 equivalent variable and GTK+ is version 1.2.3 or above.
22106 echo "$as_me: error:
22107 Please check that gtk-config is in path, the directory
22108 where GTK+ libraries are installed (returned by
22109 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22110 equivalent variable and GTK+ is version 1.2.3 or above.
22112 { (exit 1); exit 1; }; }
22116 if test "$WXGTK20" = 1; then
22117 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22121 if test -z "$PKG_CONFIG"; then
22122 # Extract the first word of "pkg-config", so it can be a program name with args.
22123 set dummy pkg-config; ac_word=$2
22124 echo "$as_me:$LINENO: checking for $ac_word" >&5
22125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22126 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22127 echo $ECHO_N "(cached) $ECHO_C" >&6
22129 case $PKG_CONFIG in
22131 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22135 for as_dir in $PATH
22138 test -z "$as_dir" && as_dir=.
22139 for ac_exec_ext in '' $ac_executable_extensions; do
22140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22141 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22148 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22152 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22154 if test -n "$PKG_CONFIG"; then
22155 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22156 echo "${ECHO_T}$PKG_CONFIG" >&6
22158 echo "$as_me:$LINENO: result: no" >&5
22159 echo "${ECHO_T}no" >&6
22164 if test "$PKG_CONFIG" = "no" ; then
22165 echo "*** The pkg-config script could not be found. Make sure it is"
22166 echo "*** in your path, or set the PKG_CONFIG environment variable"
22167 echo "*** to the full path to pkg-config."
22168 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22170 PKG_CONFIG_MIN_VERSION=0.9.0
22171 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22172 echo "$as_me:$LINENO: checking for pangoft2" >&5
22173 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22175 if $PKG_CONFIG --exists "pangoft2" ; then
22176 echo "$as_me:$LINENO: result: yes" >&5
22177 echo "${ECHO_T}yes" >&6
22180 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22181 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22182 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22183 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22184 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22186 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22187 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22188 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22189 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22190 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22194 ## If we have a custom action on failure, don't print errors, but
22195 ## do set a variable so people can do so.
22196 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22203 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22204 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22208 if test $succeeded = yes; then
22210 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22211 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22215 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22216 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22217 wxUSE_PRINTING_ARCHITECTURE="no"
22224 if test "$wxUSE_UNICODE" = "yes"; then
22225 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22226 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22231 if test "$USE_DARWIN" != 1; then
22233 for ac_func in poll
22235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22236 echo "$as_me:$LINENO: checking for $ac_func" >&5
22237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22238 if eval "test \"\${$as_ac_var+set}\" = set"; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 cat >conftest.$ac_ext <<_ACEOF
22242 #line $LINENO "configure"
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 /* System header to define __stub macros and hopefully few prototypes,
22249 which can conflict with char $ac_func (); below.
22250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22251 <limits.h> exists even on freestanding compilers. */
22253 # include <limits.h>
22255 # include <assert.h>
22257 /* Override any gcc2 internal prototype to avoid an error. */
22262 /* We use char because int might match the return type of a gcc2
22263 builtin and then its argument prototype would still apply. */
22265 /* The GNU C library defines this for functions which it implements
22266 to always fail with ENOSYS. Some functions are actually named
22267 something starting with __ and the normal name is an alias. */
22268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22271 char (*f) () = $ac_func;
22280 return f != $ac_func;
22285 rm -f conftest.$ac_objext conftest$ac_exeext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22287 (eval $ac_link) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } &&
22291 { ac_try='test -s conftest$ac_exeext'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; }; then
22297 eval "$as_ac_var=yes"
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.$ac_ext >&5
22302 eval "$as_ac_var=no"
22304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22308 if test `eval echo '${'$as_ac_var'}'` = yes; then
22309 cat >>confdefs.h <<_ACEOF
22310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22318 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22319 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22321 AFMINSTALL=afminstall
22325 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22326 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22327 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 ac_check_lib_save_LIBS=$LIBS
22332 cat >conftest.$ac_ext <<_ACEOF
22333 #line $LINENO "configure"
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22340 /* Override any gcc2 internal prototype to avoid an error. */
22344 /* We use char because int might match the return type of a gcc2
22345 builtin and then its argument prototype would still apply. */
22346 char gdk_im_open ();
22355 rm -f conftest.$ac_objext conftest$ac_exeext
22356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22357 (eval $ac_link) 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } &&
22361 { ac_try='test -s conftest$ac_exeext'
22362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22363 (eval $ac_try) 2>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); }; }; then
22367 ac_cv_lib_gdk_gdk_im_open=yes
22369 echo "$as_me: failed program was:" >&5
22370 sed 's/^/| /' conftest.$ac_ext >&5
22372 ac_cv_lib_gdk_gdk_im_open=no
22374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22375 LIBS=$ac_check_lib_save_LIBS
22377 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22378 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22379 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22380 cat >>confdefs.h <<\_ACEOF
22388 if test "$wxUSE_GPE" = "yes"; then
22389 echo "$as_me:$LINENO: checking for gpewidget library" >&5
22390 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
22393 for ac_dir in $SEARCH_LIB /usr/lib;
22395 for ac_extension in a so sl dylib; do
22396 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
22397 ac_find_libraries=$ac_dir
22403 if test "$ac_find_libraries" != "" ; then
22405 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22407 if test $result = 0; then
22410 ac_path_to_link=" -L$ac_find_libraries"
22413 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
22415 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22416 echo "${ECHO_T}found at $ac_find_libraries" >&6
22418 echo "$as_me:$LINENO: result: not found" >&5
22419 echo "${ECHO_T}not found" >&6
22425 if test "$wxUSE_MGL" = 1; then
22426 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22427 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22428 if test "x$MGL_ROOT" = x ; then
22429 echo "$as_me:$LINENO: result: not found" >&5
22430 echo "${ECHO_T}not found" >&6
22431 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22432 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22433 { (exit 1); exit 1; }; }
22435 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22436 echo "${ECHO_T}$MGL_ROOT" >&6
22439 echo "$as_me:$LINENO: checking for libmgl location" >&5
22440 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22443 if test "x$wxUSE_SHARED" = xyes ; then
22444 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22446 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22450 mgl_os_candidates="dos32/dj2"
22453 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22454 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22455 { (exit 1); exit 1; }; }
22461 for mgl_os_i in $mgl_os_candidates ; do
22462 if test "x$mgl_os" = x ; then
22463 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22464 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
22465 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
22470 if test "x$mgl_lib_type" = x ; then
22471 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
22472 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
22473 mgl_lib_type=release
22480 if test "x$mgl_os" = x ; then
22481 echo "$as_me:$LINENO: result: not found" >&5
22482 echo "${ECHO_T}not found" >&6
22483 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22484 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22485 { (exit 1); exit 1; }; }
22487 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22488 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22490 wxUSE_UNIVERSAL="yes"
22492 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
22493 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22495 AFMINSTALL=afminstall
22500 if test "$wxUSE_MICROWIN" = 1; then
22501 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22502 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22503 if test "x$MICROWINDOWS" = x ; then
22504 echo "$as_me:$LINENO: result: not found" >&5
22505 echo "${ECHO_T}not found" >&6
22506 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22507 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22508 { (exit 1); exit 1; }; }
22510 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22511 echo "${ECHO_T}$MICROWINDOWS" >&6
22514 if test -f $MICROWINDOWS/lib/libmwin.a; then
22515 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22516 echo "${ECHO_T}MicroWindows' libraries found." >&6
22518 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22519 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22520 { (exit 1); exit 1; }; }
22523 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
22524 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22526 wxUSE_UNIVERSAL="yes"
22528 AFMINSTALL=afminstall
22530 GUIDIST=MICROWIN_DIST
22532 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22535 if test "$wxUSE_X11" = 1; then
22536 echo "$as_me:$LINENO: checking for X" >&5
22537 echo $ECHO_N "checking for X... $ECHO_C" >&6
22540 # Check whether --with-x or --without-x was given.
22541 if test "${with_x+set}" = set; then
22545 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22546 if test "x$with_x" = xno; then
22547 # The user explicitly disabled X.
22550 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
22551 # Both variables are already set.
22554 if test "${ac_cv_have_x+set}" = set; then
22555 echo $ECHO_N "(cached) $ECHO_C" >&6
22557 # One or both of the vars are not set, and there is no cached value.
22558 ac_x_includes=no ac_x_libraries=no
22559 rm -fr conftest.dir
22560 if mkdir conftest.dir; then
22562 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22563 cat >Imakefile <<'_ACEOF'
22565 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22567 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
22568 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22569 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22570 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22571 for ac_extension in a so sl; do
22572 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
22573 test -f $ac_im_libdir/libX11.$ac_extension; then
22574 ac_im_usrlibdir=$ac_im_libdir; break
22577 # Screen out bogus values from the imake configuration. They are
22578 # bogus both because they are the default anyway, and because
22579 # using them would break gcc on systems where it needs fixed includes.
22580 case $ac_im_incroot in
22582 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22584 case $ac_im_usrlibdir in
22585 /usr/lib | /lib) ;;
22586 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22590 rm -fr conftest.dir
22593 # Standard set of common directories for X headers.
22594 # Check X11 before X11Rn because it is often a symlink to the current release.
22606 /usr/local/X11/include
22607 /usr/local/X11R6/include
22608 /usr/local/X11R5/include
22609 /usr/local/X11R4/include
22611 /usr/local/include/X11
22612 /usr/local/include/X11R6
22613 /usr/local/include/X11R5
22614 /usr/local/include/X11R4
22618 /usr/XFree86/include/X11
22622 /usr/unsupported/include
22623 /usr/athena/include
22624 /usr/local/x11r5/include
22625 /usr/lpp/Xamples/include
22627 /usr/openwin/include
22628 /usr/openwin/share/include'
22630 if test "$ac_x_includes" = no; then
22631 # Guess where to find include files, by looking for Intrinsic.h.
22632 # First, try using that file with no special directory specified.
22633 cat >conftest.$ac_ext <<_ACEOF
22634 #line $LINENO "configure"
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 #include <X11/Intrinsic.h>
22642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22645 grep -v '^ *+' conftest.er1 >conftest.err
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } >/dev/null; then
22650 if test -s conftest.err; then
22651 ac_cpp_err=$ac_c_preproc_warn_flag
22658 if test -z "$ac_cpp_err"; then
22659 # We can compile using X headers with no special include directory.
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22665 for ac_dir in $ac_x_header_dirs; do
22666 if test -r "$ac_dir/X11/Intrinsic.h"; then
22667 ac_x_includes=$ac_dir
22672 rm -f conftest.err conftest.$ac_ext
22673 fi # $ac_x_includes = no
22675 if test "$ac_x_libraries" = no; then
22676 # Check for the libraries.
22677 # See if we find them without any special options.
22678 # Don't add to $LIBS permanently.
22681 cat >conftest.$ac_ext <<_ACEOF
22682 #line $LINENO "configure"
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 #include <X11/Intrinsic.h>
22697 rm -f conftest.$ac_objext conftest$ac_exeext
22698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699 (eval $ac_link) 2>&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } &&
22703 { ac_try='test -s conftest$ac_exeext'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; }; then
22710 # We can link X programs with no special library path.
22713 echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.$ac_ext >&5
22717 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22719 # Don't even attempt the hair of trying to link an X program!
22720 for ac_extension in a so sl; do
22721 if test -r $ac_dir/libXt.$ac_extension; then
22722 ac_x_libraries=$ac_dir
22728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22729 fi # $ac_x_libraries = no
22731 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
22732 # Didn't find X anywhere. Cache the known absence of X.
22733 ac_cv_have_x="have_x=no"
22735 # Record where we found X for the cache.
22736 ac_cv_have_x="have_x=yes \
22737 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22742 eval "$ac_cv_have_x"
22745 if test "$have_x" != yes; then
22746 echo "$as_me:$LINENO: result: $have_x" >&5
22747 echo "${ECHO_T}$have_x" >&6
22750 # If each of the values was on the command line, it overrides each guess.
22751 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22752 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22753 # Update the cache value to reflect the command line values.
22754 ac_cv_have_x="have_x=yes \
22755 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22756 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22757 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22760 if test "$no_x" = yes; then
22761 # Not all programs may use this symbol, but it does not hurt to define it.
22763 cat >>confdefs.h <<\_ACEOF
22764 #define X_DISPLAY_MISSING 1
22767 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22769 if test -n "$x_includes"; then
22770 X_CFLAGS="$X_CFLAGS -I$x_includes"
22773 # It would also be nice to do this for all -L options, not just this one.
22774 if test -n "$x_libraries"; then
22775 X_LIBS="$X_LIBS -L$x_libraries"
22776 # For Solaris; some versions of Sun CC require a space after -R and
22777 # others require no space. Words are not sufficient . . . .
22778 case `(uname -sr) 2>/dev/null` in
22780 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22781 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22782 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22783 cat >conftest.$ac_ext <<_ACEOF
22784 #line $LINENO "configure"
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22799 rm -f conftest.$ac_objext conftest$ac_exeext
22800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22801 (eval $ac_link) 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); } &&
22805 { ac_try='test -s conftest$ac_exeext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.$ac_ext >&5
22818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22819 if test $ac_R_nospace = yes; then
22820 echo "$as_me:$LINENO: result: no" >&5
22821 echo "${ECHO_T}no" >&6
22822 X_LIBS="$X_LIBS -R$x_libraries"
22824 LIBS="$ac_xsave_LIBS -R $x_libraries"
22825 cat >conftest.$ac_ext <<_ACEOF
22826 #line $LINENO "configure"
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22841 rm -f conftest.$ac_objext conftest$ac_exeext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22843 (eval $ac_link) 2>&5
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); } &&
22847 { ac_try='test -s conftest$ac_exeext'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; }; then
22855 echo "$as_me: failed program was:" >&5
22856 sed 's/^/| /' conftest.$ac_ext >&5
22860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22861 if test $ac_R_space = yes; then
22862 echo "$as_me:$LINENO: result: yes" >&5
22863 echo "${ECHO_T}yes" >&6
22864 X_LIBS="$X_LIBS -R $x_libraries"
22866 echo "$as_me:$LINENO: result: neither works" >&5
22867 echo "${ECHO_T}neither works" >&6
22870 LIBS=$ac_xsave_LIBS
22874 # Check for system-dependent libraries X programs must link with.
22875 # Do this before checking for the system-independent R6 libraries
22876 # (-lICE), since we may need -lsocket or whatever for X linking.
22878 if test "$ISC" = yes; then
22879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22881 # Martyn Johnson says this is needed for Ultrix, if the X
22882 # libraries were built with DECnet support. And Karl Berry says
22883 # the Alpha needs dnet_stub (dnet does not exist).
22884 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22885 cat >conftest.$ac_ext <<_ACEOF
22886 #line $LINENO "configure"
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22893 /* Override any gcc2 internal prototype to avoid an error. */
22897 /* We use char because int might match the return type of a gcc2
22898 builtin and then its argument prototype would still apply. */
22899 char XOpenDisplay ();
22908 rm -f conftest.$ac_objext conftest$ac_exeext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22910 (eval $ac_link) 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -s conftest$ac_exeext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22925 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22926 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22927 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 ac_check_lib_save_LIBS=$LIBS
22931 LIBS="-ldnet $LIBS"
22932 cat >conftest.$ac_ext <<_ACEOF
22933 #line $LINENO "configure"
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22940 /* Override any gcc2 internal prototype to avoid an error. */
22944 /* We use char because int might match the return type of a gcc2
22945 builtin and then its argument prototype would still apply. */
22955 rm -f conftest.$ac_objext conftest$ac_exeext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22957 (eval $ac_link) 2>&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } &&
22961 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
22967 ac_cv_lib_dnet_dnet_ntoa=yes
22969 echo "$as_me: failed program was:" >&5
22970 sed 's/^/| /' conftest.$ac_ext >&5
22972 ac_cv_lib_dnet_dnet_ntoa=no
22974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22975 LIBS=$ac_check_lib_save_LIBS
22977 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22978 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22979 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22980 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22983 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22984 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22985 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22986 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22987 echo $ECHO_N "(cached) $ECHO_C" >&6
22989 ac_check_lib_save_LIBS=$LIBS
22990 LIBS="-ldnet_stub $LIBS"
22991 cat >conftest.$ac_ext <<_ACEOF
22992 #line $LINENO "configure"
22995 cat confdefs.h >>conftest.$ac_ext
22996 cat >>conftest.$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22999 /* Override any gcc2 internal prototype to avoid an error. */
23003 /* We use char because int might match the return type of a gcc2
23004 builtin and then its argument prototype would still apply. */
23014 rm -f conftest.$ac_objext conftest$ac_exeext
23015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23016 (eval $ac_link) 2>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } &&
23020 { ac_try='test -s conftest$ac_exeext'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23031 ac_cv_lib_dnet_stub_dnet_ntoa=no
23033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23034 LIBS=$ac_check_lib_save_LIBS
23036 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23037 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23038 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23039 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23045 LIBS="$ac_xsave_LIBS"
23047 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23048 # to get the SysV transport functions.
23049 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23051 # The nsl library prevents programs from opening the X display
23052 # on Irix 5.2, according to T.E. Dickey.
23053 # The functions gethostbyname, getservbyname, and inet_addr are
23054 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23055 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23056 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23057 if test "${ac_cv_func_gethostbyname+set}" = set; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 cat >conftest.$ac_ext <<_ACEOF
23061 #line $LINENO "configure"
23064 cat confdefs.h >>conftest.$ac_ext
23065 cat >>conftest.$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23067 /* System header to define __stub macros and hopefully few prototypes,
23068 which can conflict with char gethostbyname (); below.
23069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23070 <limits.h> exists even on freestanding compilers. */
23072 # include <limits.h>
23074 # include <assert.h>
23076 /* Override any gcc2 internal prototype to avoid an error. */
23081 /* We use char because int might match the return type of a gcc2
23082 builtin and then its argument prototype would still apply. */
23083 char gethostbyname ();
23084 /* The GNU C library defines this for functions which it implements
23085 to always fail with ENOSYS. Some functions are actually named
23086 something starting with __ and the normal name is an alias. */
23087 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23090 char (*f) () = gethostbyname;
23099 return f != gethostbyname;
23104 rm -f conftest.$ac_objext conftest$ac_exeext
23105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23106 (eval $ac_link) 2>&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } &&
23110 { ac_try='test -s conftest$ac_exeext'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; }; then
23116 ac_cv_func_gethostbyname=yes
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23121 ac_cv_func_gethostbyname=no
23123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23125 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23126 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23128 if test $ac_cv_func_gethostbyname = no; then
23129 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23130 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23131 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23132 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 ac_check_lib_save_LIBS=$LIBS
23136 cat >conftest.$ac_ext <<_ACEOF
23137 #line $LINENO "configure"
23140 cat confdefs.h >>conftest.$ac_ext
23141 cat >>conftest.$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23144 /* Override any gcc2 internal prototype to avoid an error. */
23148 /* We use char because int might match the return type of a gcc2
23149 builtin and then its argument prototype would still apply. */
23150 char gethostbyname ();
23159 rm -f conftest.$ac_objext conftest$ac_exeext
23160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23161 (eval $ac_link) 2>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } &&
23165 { ac_try='test -s conftest$ac_exeext'
23166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23167 (eval $ac_try) 2>&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); }; }; then
23171 ac_cv_lib_nsl_gethostbyname=yes
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.$ac_ext >&5
23176 ac_cv_lib_nsl_gethostbyname=no
23178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23179 LIBS=$ac_check_lib_save_LIBS
23181 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23182 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23183 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23184 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23187 if test $ac_cv_lib_nsl_gethostbyname = no; then
23188 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23189 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23190 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 ac_check_lib_save_LIBS=$LIBS
23195 cat >conftest.$ac_ext <<_ACEOF
23196 #line $LINENO "configure"
23199 cat confdefs.h >>conftest.$ac_ext
23200 cat >>conftest.$ac_ext <<_ACEOF
23201 /* end confdefs.h. */
23203 /* Override any gcc2 internal prototype to avoid an error. */
23207 /* We use char because int might match the return type of a gcc2
23208 builtin and then its argument prototype would still apply. */
23209 char gethostbyname ();
23218 rm -f conftest.$ac_objext conftest$ac_exeext
23219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23220 (eval $ac_link) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 ac_cv_lib_bsd_gethostbyname=yes
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23235 ac_cv_lib_bsd_gethostbyname=no
23237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23238 LIBS=$ac_check_lib_save_LIBS
23240 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23241 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23242 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23243 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23249 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23250 # socket/setsockopt and other routines are undefined under SCO ODT
23251 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23252 # on later versions), says Simon Leinen: it contains gethostby*
23253 # variants that don't use the name server (or something). -lsocket
23254 # must be given before -lnsl if both are needed. We assume that
23255 # if connect needs -lnsl, so does gethostbyname.
23256 echo "$as_me:$LINENO: checking for connect" >&5
23257 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23258 if test "${ac_cv_func_connect+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23261 cat >conftest.$ac_ext <<_ACEOF
23262 #line $LINENO "configure"
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 /* System header to define __stub macros and hopefully few prototypes,
23269 which can conflict with char connect (); below.
23270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23271 <limits.h> exists even on freestanding compilers. */
23273 # include <limits.h>
23275 # include <assert.h>
23277 /* Override any gcc2 internal prototype to avoid an error. */
23282 /* We use char because int might match the return type of a gcc2
23283 builtin and then its argument prototype would still apply. */
23285 /* The GNU C library defines this for functions which it implements
23286 to always fail with ENOSYS. Some functions are actually named
23287 something starting with __ and the normal name is an alias. */
23288 #if defined (__stub_connect) || defined (__stub___connect)
23291 char (*f) () = connect;
23300 return f != connect;
23305 rm -f conftest.$ac_objext conftest$ac_exeext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23307 (eval $ac_link) 2>&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } &&
23311 { ac_try='test -s conftest$ac_exeext'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; }; then
23317 ac_cv_func_connect=yes
23319 echo "$as_me: failed program was:" >&5
23320 sed 's/^/| /' conftest.$ac_ext >&5
23322 ac_cv_func_connect=no
23324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23326 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23327 echo "${ECHO_T}$ac_cv_func_connect" >&6
23329 if test $ac_cv_func_connect = no; then
23330 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23331 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23332 if test "${ac_cv_lib_socket_connect+set}" = set; then
23333 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 ac_check_lib_save_LIBS=$LIBS
23336 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23337 cat >conftest.$ac_ext <<_ACEOF
23338 #line $LINENO "configure"
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23345 /* Override any gcc2 internal prototype to avoid an error. */
23349 /* We use char because int might match the return type of a gcc2
23350 builtin and then its argument prototype would still apply. */
23360 rm -f conftest.$ac_objext conftest$ac_exeext
23361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23362 (eval $ac_link) 2>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); } &&
23366 { ac_try='test -s conftest$ac_exeext'
23367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368 (eval $ac_try) 2>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; }; then
23372 ac_cv_lib_socket_connect=yes
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23377 ac_cv_lib_socket_connect=no
23379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23380 LIBS=$ac_check_lib_save_LIBS
23382 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23383 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23384 if test $ac_cv_lib_socket_connect = yes; then
23385 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23390 # Guillermo Gomez says -lposix is necessary on A/UX.
23391 echo "$as_me:$LINENO: checking for remove" >&5
23392 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23393 if test "${ac_cv_func_remove+set}" = set; then
23394 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 cat >conftest.$ac_ext <<_ACEOF
23397 #line $LINENO "configure"
23400 cat confdefs.h >>conftest.$ac_ext
23401 cat >>conftest.$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23403 /* System header to define __stub macros and hopefully few prototypes,
23404 which can conflict with char remove (); below.
23405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23406 <limits.h> exists even on freestanding compilers. */
23408 # include <limits.h>
23410 # include <assert.h>
23412 /* Override any gcc2 internal prototype to avoid an error. */
23417 /* We use char because int might match the return type of a gcc2
23418 builtin and then its argument prototype would still apply. */
23420 /* The GNU C library defines this for functions which it implements
23421 to always fail with ENOSYS. Some functions are actually named
23422 something starting with __ and the normal name is an alias. */
23423 #if defined (__stub_remove) || defined (__stub___remove)
23426 char (*f) () = remove;
23435 return f != remove;
23440 rm -f conftest.$ac_objext conftest$ac_exeext
23441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23442 (eval $ac_link) 2>&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } &&
23446 { ac_try='test -s conftest$ac_exeext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 ac_cv_func_remove=yes
23454 echo "$as_me: failed program was:" >&5
23455 sed 's/^/| /' conftest.$ac_ext >&5
23457 ac_cv_func_remove=no
23459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23461 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23462 echo "${ECHO_T}$ac_cv_func_remove" >&6
23464 if test $ac_cv_func_remove = no; then
23465 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23466 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23467 if test "${ac_cv_lib_posix_remove+set}" = set; then
23468 echo $ECHO_N "(cached) $ECHO_C" >&6
23470 ac_check_lib_save_LIBS=$LIBS
23471 LIBS="-lposix $LIBS"
23472 cat >conftest.$ac_ext <<_ACEOF
23473 #line $LINENO "configure"
23476 cat confdefs.h >>conftest.$ac_ext
23477 cat >>conftest.$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23480 /* Override any gcc2 internal prototype to avoid an error. */
23484 /* We use char because int might match the return type of a gcc2
23485 builtin and then its argument prototype would still apply. */
23495 rm -f conftest.$ac_objext conftest$ac_exeext
23496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23497 (eval $ac_link) 2>&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); } &&
23501 { ac_try='test -s conftest$ac_exeext'
23502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503 (eval $ac_try) 2>&5
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); }; }; then
23507 ac_cv_lib_posix_remove=yes
23509 echo "$as_me: failed program was:" >&5
23510 sed 's/^/| /' conftest.$ac_ext >&5
23512 ac_cv_lib_posix_remove=no
23514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23515 LIBS=$ac_check_lib_save_LIBS
23517 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23518 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23519 if test $ac_cv_lib_posix_remove = yes; then
23520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23525 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23526 echo "$as_me:$LINENO: checking for shmat" >&5
23527 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23528 if test "${ac_cv_func_shmat+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 cat >conftest.$ac_ext <<_ACEOF
23532 #line $LINENO "configure"
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 /* System header to define __stub macros and hopefully few prototypes,
23539 which can conflict with char shmat (); below.
23540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23541 <limits.h> exists even on freestanding compilers. */
23543 # include <limits.h>
23545 # include <assert.h>
23547 /* Override any gcc2 internal prototype to avoid an error. */
23552 /* We use char because int might match the return type of a gcc2
23553 builtin and then its argument prototype would still apply. */
23555 /* The GNU C library defines this for functions which it implements
23556 to always fail with ENOSYS. Some functions are actually named
23557 something starting with __ and the normal name is an alias. */
23558 #if defined (__stub_shmat) || defined (__stub___shmat)
23561 char (*f) () = shmat;
23575 rm -f conftest.$ac_objext conftest$ac_exeext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23577 (eval $ac_link) 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } &&
23581 { ac_try='test -s conftest$ac_exeext'
23582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23583 (eval $ac_try) 2>&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); }; }; then
23587 ac_cv_func_shmat=yes
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.$ac_ext >&5
23592 ac_cv_func_shmat=no
23594 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23596 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23597 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23599 if test $ac_cv_func_shmat = no; then
23600 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23601 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23602 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23603 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 ac_check_lib_save_LIBS=$LIBS
23607 cat >conftest.$ac_ext <<_ACEOF
23608 #line $LINENO "configure"
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23615 /* Override any gcc2 internal prototype to avoid an error. */
23619 /* We use char because int might match the return type of a gcc2
23620 builtin and then its argument prototype would still apply. */
23630 rm -f conftest.$ac_objext conftest$ac_exeext
23631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23632 (eval $ac_link) 2>&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } &&
23636 { ac_try='test -s conftest$ac_exeext'
23637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23638 (eval $ac_try) 2>&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); }; }; then
23642 ac_cv_lib_ipc_shmat=yes
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23647 ac_cv_lib_ipc_shmat=no
23649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23650 LIBS=$ac_check_lib_save_LIBS
23652 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23653 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23654 if test $ac_cv_lib_ipc_shmat = yes; then
23655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23661 # Check for libraries that X11R6 Xt/Xaw programs need.
23662 ac_save_LDFLAGS=$LDFLAGS
23663 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23664 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23665 # check for ICE first), but we must link in the order -lSM -lICE or
23666 # we get undefined symbols. So assume we have SM if we have ICE.
23667 # These have to be linked with before -lX11, unlike the other
23668 # libraries we check for below, so use a different variable.
23669 # John Interrante, Karl Berry
23670 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23671 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23672 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23675 ac_check_lib_save_LIBS=$LIBS
23676 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23677 cat >conftest.$ac_ext <<_ACEOF
23678 #line $LINENO "configure"
23681 cat confdefs.h >>conftest.$ac_ext
23682 cat >>conftest.$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23685 /* Override any gcc2 internal prototype to avoid an error. */
23689 /* We use char because int might match the return type of a gcc2
23690 builtin and then its argument prototype would still apply. */
23691 char IceConnectionNumber ();
23695 IceConnectionNumber ();
23700 rm -f conftest.$ac_objext conftest$ac_exeext
23701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23702 (eval $ac_link) 2>&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } &&
23706 { ac_try='test -s conftest$ac_exeext'
23707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708 (eval $ac_try) 2>&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); }; }; then
23712 ac_cv_lib_ICE_IceConnectionNumber=yes
23714 echo "$as_me: failed program was:" >&5
23715 sed 's/^/| /' conftest.$ac_ext >&5
23717 ac_cv_lib_ICE_IceConnectionNumber=no
23719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23720 LIBS=$ac_check_lib_save_LIBS
23722 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23723 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23724 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23725 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23728 LDFLAGS=$ac_save_LDFLAGS
23733 if test "$no_x" = "yes"; then
23734 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23735 echo "$as_me: error: X11 not found" >&2;}
23736 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23739 GUI_TK_LIBRARY="$X_LIBS"
23740 TOOLKIT_INCLUDE="$X_CFLAGS"
23741 AFMINSTALL=afminstall
23742 COMPILED_X_PROGRAM=0
23744 if test "$wxUSE_NANOX" = "yes"; then
23745 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23746 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23747 if test "x$MICROWIN" = x ; then
23748 echo "$as_me:$LINENO: result: not found" >&5
23749 echo "${ECHO_T}not found" >&6
23750 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23751 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23752 { (exit 1); exit 1; }; }
23754 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23755 echo "${ECHO_T}$MICROWIN" >&6
23756 cat >>confdefs.h <<\_ACEOF
23757 #define wxUSE_NANOX 1
23763 if test "$wxUSE_UNICODE" = "yes"; then
23767 if test -z "$PKG_CONFIG"; then
23768 # Extract the first word of "pkg-config", so it can be a program name with args.
23769 set dummy pkg-config; ac_word=$2
23770 echo "$as_me:$LINENO: checking for $ac_word" >&5
23771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23772 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23773 echo $ECHO_N "(cached) $ECHO_C" >&6
23775 case $PKG_CONFIG in
23777 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23781 for as_dir in $PATH
23784 test -z "$as_dir" && as_dir=.
23785 for ac_exec_ext in '' $ac_executable_extensions; do
23786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23787 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23794 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23798 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23800 if test -n "$PKG_CONFIG"; then
23801 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23802 echo "${ECHO_T}$PKG_CONFIG" >&6
23804 echo "$as_me:$LINENO: result: no" >&5
23805 echo "${ECHO_T}no" >&6
23810 if test "$PKG_CONFIG" = "no" ; then
23811 echo "*** The pkg-config script could not be found. Make sure it is"
23812 echo "*** in your path, or set the PKG_CONFIG environment variable"
23813 echo "*** to the full path to pkg-config."
23814 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23816 PKG_CONFIG_MIN_VERSION=0.9.0
23817 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23818 echo "$as_me:$LINENO: checking for pangox" >&5
23819 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23821 if $PKG_CONFIG --exists "pangox" ; then
23822 echo "$as_me:$LINENO: result: yes" >&5
23823 echo "${ECHO_T}yes" >&6
23826 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23827 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23828 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
23829 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23830 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23832 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23833 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23834 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
23835 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23836 echo "${ECHO_T}$PANGOX_LIBS" >&6
23840 ## If we have a custom action on failure, don't print errors, but
23841 ## do set a variable so people can do so.
23842 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
23849 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23850 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23854 if test $succeeded = yes; then
23856 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
23857 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
23861 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
23862 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
23863 { (exit 1); exit 1; }; }
23871 if test -z "$PKG_CONFIG"; then
23872 # Extract the first word of "pkg-config", so it can be a program name with args.
23873 set dummy pkg-config; ac_word=$2
23874 echo "$as_me:$LINENO: checking for $ac_word" >&5
23875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23876 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23879 case $PKG_CONFIG in
23881 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23885 for as_dir in $PATH
23888 test -z "$as_dir" && as_dir=.
23889 for ac_exec_ext in '' $ac_executable_extensions; do
23890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23891 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23898 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23902 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23904 if test -n "$PKG_CONFIG"; then
23905 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23906 echo "${ECHO_T}$PKG_CONFIG" >&6
23908 echo "$as_me:$LINENO: result: no" >&5
23909 echo "${ECHO_T}no" >&6
23914 if test "$PKG_CONFIG" = "no" ; then
23915 echo "*** The pkg-config script could not be found. Make sure it is"
23916 echo "*** in your path, or set the PKG_CONFIG environment variable"
23917 echo "*** to the full path to pkg-config."
23918 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23920 PKG_CONFIG_MIN_VERSION=0.9.0
23921 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23922 echo "$as_me:$LINENO: checking for pangoft2" >&5
23923 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23925 if $PKG_CONFIG --exists "pangoft2" ; then
23926 echo "$as_me:$LINENO: result: yes" >&5
23927 echo "${ECHO_T}yes" >&6
23930 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23931 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23932 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23933 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23934 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23936 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23937 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23938 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23939 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23940 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23944 ## If we have a custom action on failure, don't print errors, but
23945 ## do set a variable so people can do so.
23946 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23953 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23954 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23958 if test $succeeded = yes; then
23960 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23965 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23966 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23967 wxUSE_PRINTING_ARCHITECTURE="no"
23975 if test -z "$PKG_CONFIG"; then
23976 # Extract the first word of "pkg-config", so it can be a program name with args.
23977 set dummy pkg-config; ac_word=$2
23978 echo "$as_me:$LINENO: checking for $ac_word" >&5
23979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23980 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23981 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 case $PKG_CONFIG in
23985 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23989 for as_dir in $PATH
23992 test -z "$as_dir" && as_dir=.
23993 for ac_exec_ext in '' $ac_executable_extensions; do
23994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23995 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24002 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24006 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24008 if test -n "$PKG_CONFIG"; then
24009 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24010 echo "${ECHO_T}$PKG_CONFIG" >&6
24012 echo "$as_me:$LINENO: result: no" >&5
24013 echo "${ECHO_T}no" >&6
24018 if test "$PKG_CONFIG" = "no" ; then
24019 echo "*** The pkg-config script could not be found. Make sure it is"
24020 echo "*** in your path, or set the PKG_CONFIG environment variable"
24021 echo "*** to the full path to pkg-config."
24022 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24024 PKG_CONFIG_MIN_VERSION=0.9.0
24025 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24026 echo "$as_me:$LINENO: checking for pangoxft" >&5
24027 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24029 if $PKG_CONFIG --exists "pangoxft" ; then
24030 echo "$as_me:$LINENO: result: yes" >&5
24031 echo "${ECHO_T}yes" >&6
24034 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24035 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24036 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24037 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24038 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24040 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24041 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24042 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24043 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24044 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24048 ## If we have a custom action on failure, don't print errors, but
24049 ## do set a variable so people can do so.
24050 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24057 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24058 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24062 if test $succeeded = yes; then
24064 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24069 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24070 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24077 wxUSE_UNIVERSAL="yes"
24079 if test "$wxUSE_NANOX" = "yes"; then
24080 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24081 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"
24082 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24084 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24087 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24092 if test "$wxUSE_MOTIF" = 1; then
24093 if test "$no_x" = yes; then
24094 # Not all programs may use this symbol, but it does not hurt to define it.
24096 cat >>confdefs.h <<\_ACEOF
24097 #define X_DISPLAY_MISSING 1
24100 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24102 if test -n "$x_includes"; then
24103 X_CFLAGS="$X_CFLAGS -I$x_includes"
24106 # It would also be nice to do this for all -L options, not just this one.
24107 if test -n "$x_libraries"; then
24108 X_LIBS="$X_LIBS -L$x_libraries"
24109 # For Solaris; some versions of Sun CC require a space after -R and
24110 # others require no space. Words are not sufficient . . . .
24111 case `(uname -sr) 2>/dev/null` in
24113 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24114 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24115 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24116 cat >conftest.$ac_ext <<_ACEOF
24117 #line $LINENO "configure"
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24132 rm -f conftest.$ac_objext conftest$ac_exeext
24133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24134 (eval $ac_link) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } &&
24138 { ac_try='test -s conftest$ac_exeext'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; }; then
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24152 if test $ac_R_nospace = yes; then
24153 echo "$as_me:$LINENO: result: no" >&5
24154 echo "${ECHO_T}no" >&6
24155 X_LIBS="$X_LIBS -R$x_libraries"
24157 LIBS="$ac_xsave_LIBS -R $x_libraries"
24158 cat >conftest.$ac_ext <<_ACEOF
24159 #line $LINENO "configure"
24162 cat confdefs.h >>conftest.$ac_ext
24163 cat >>conftest.$ac_ext <<_ACEOF
24164 /* end confdefs.h. */
24174 rm -f conftest.$ac_objext conftest$ac_exeext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24176 (eval $ac_link) 2>&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try='test -s conftest$ac_exeext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24188 echo "$as_me: failed program was:" >&5
24189 sed 's/^/| /' conftest.$ac_ext >&5
24193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24194 if test $ac_R_space = yes; then
24195 echo "$as_me:$LINENO: result: yes" >&5
24196 echo "${ECHO_T}yes" >&6
24197 X_LIBS="$X_LIBS -R $x_libraries"
24199 echo "$as_me:$LINENO: result: neither works" >&5
24200 echo "${ECHO_T}neither works" >&6
24203 LIBS=$ac_xsave_LIBS
24207 # Check for system-dependent libraries X programs must link with.
24208 # Do this before checking for the system-independent R6 libraries
24209 # (-lICE), since we may need -lsocket or whatever for X linking.
24211 if test "$ISC" = yes; then
24212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24214 # Martyn Johnson says this is needed for Ultrix, if the X
24215 # libraries were built with DECnet support. And Karl Berry says
24216 # the Alpha needs dnet_stub (dnet does not exist).
24217 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24218 cat >conftest.$ac_ext <<_ACEOF
24219 #line $LINENO "configure"
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24226 /* Override any gcc2 internal prototype to avoid an error. */
24230 /* We use char because int might match the return type of a gcc2
24231 builtin and then its argument prototype would still apply. */
24232 char XOpenDisplay ();
24241 rm -f conftest.$ac_objext conftest$ac_exeext
24242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24243 (eval $ac_link) 2>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } &&
24247 { ac_try='test -s conftest$ac_exeext'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; }; then
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24259 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24260 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24261 echo $ECHO_N "(cached) $ECHO_C" >&6
24263 ac_check_lib_save_LIBS=$LIBS
24264 LIBS="-ldnet $LIBS"
24265 cat >conftest.$ac_ext <<_ACEOF
24266 #line $LINENO "configure"
24269 cat confdefs.h >>conftest.$ac_ext
24270 cat >>conftest.$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24273 /* Override any gcc2 internal prototype to avoid an error. */
24277 /* We use char because int might match the return type of a gcc2
24278 builtin and then its argument prototype would still apply. */
24288 rm -f conftest.$ac_objext conftest$ac_exeext
24289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24290 (eval $ac_link) 2>&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } &&
24294 { ac_try='test -s conftest$ac_exeext'
24295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 (eval $ac_try) 2>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); }; }; then
24300 ac_cv_lib_dnet_dnet_ntoa=yes
24302 echo "$as_me: failed program was:" >&5
24303 sed 's/^/| /' conftest.$ac_ext >&5
24305 ac_cv_lib_dnet_dnet_ntoa=no
24307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24308 LIBS=$ac_check_lib_save_LIBS
24310 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24311 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24312 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24313 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24316 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24317 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24318 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24319 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24320 echo $ECHO_N "(cached) $ECHO_C" >&6
24322 ac_check_lib_save_LIBS=$LIBS
24323 LIBS="-ldnet_stub $LIBS"
24324 cat >conftest.$ac_ext <<_ACEOF
24325 #line $LINENO "configure"
24328 cat confdefs.h >>conftest.$ac_ext
24329 cat >>conftest.$ac_ext <<_ACEOF
24330 /* end confdefs.h. */
24332 /* Override any gcc2 internal prototype to avoid an error. */
24336 /* We use char because int might match the return type of a gcc2
24337 builtin and then its argument prototype would still apply. */
24347 rm -f conftest.$ac_objext conftest$ac_exeext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24349 (eval $ac_link) 2>&5
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } &&
24353 { ac_try='test -s conftest$ac_exeext'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; }; then
24359 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24364 ac_cv_lib_dnet_stub_dnet_ntoa=no
24366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24367 LIBS=$ac_check_lib_save_LIBS
24369 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24370 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24371 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24372 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24378 LIBS="$ac_xsave_LIBS"
24380 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24381 # to get the SysV transport functions.
24382 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24384 # The nsl library prevents programs from opening the X display
24385 # on Irix 5.2, according to T.E. Dickey.
24386 # The functions gethostbyname, getservbyname, and inet_addr are
24387 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24388 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24389 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24390 if test "${ac_cv_func_gethostbyname+set}" = set; then
24391 echo $ECHO_N "(cached) $ECHO_C" >&6
24393 cat >conftest.$ac_ext <<_ACEOF
24394 #line $LINENO "configure"
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400 /* System header to define __stub macros and hopefully few prototypes,
24401 which can conflict with char gethostbyname (); below.
24402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24403 <limits.h> exists even on freestanding compilers. */
24405 # include <limits.h>
24407 # include <assert.h>
24409 /* Override any gcc2 internal prototype to avoid an error. */
24414 /* We use char because int might match the return type of a gcc2
24415 builtin and then its argument prototype would still apply. */
24416 char gethostbyname ();
24417 /* The GNU C library defines this for functions which it implements
24418 to always fail with ENOSYS. Some functions are actually named
24419 something starting with __ and the normal name is an alias. */
24420 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24423 char (*f) () = gethostbyname;
24432 return f != gethostbyname;
24437 rm -f conftest.$ac_objext conftest$ac_exeext
24438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24439 (eval $ac_link) 2>&5
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); } &&
24443 { ac_try='test -s conftest$ac_exeext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 ac_cv_func_gethostbyname=yes
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24454 ac_cv_func_gethostbyname=no
24456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24458 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24459 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24461 if test $ac_cv_func_gethostbyname = no; then
24462 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24463 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24464 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 ac_check_lib_save_LIBS=$LIBS
24469 cat >conftest.$ac_ext <<_ACEOF
24470 #line $LINENO "configure"
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24477 /* Override any gcc2 internal prototype to avoid an error. */
24481 /* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24483 char gethostbyname ();
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } &&
24498 { ac_try='test -s conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 ac_cv_lib_nsl_gethostbyname=yes
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24509 ac_cv_lib_nsl_gethostbyname=no
24511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24512 LIBS=$ac_check_lib_save_LIBS
24514 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24515 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24516 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24520 if test $ac_cv_lib_nsl_gethostbyname = no; then
24521 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24522 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24523 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24526 ac_check_lib_save_LIBS=$LIBS
24528 cat >conftest.$ac_ext <<_ACEOF
24529 #line $LINENO "configure"
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24536 /* Override any gcc2 internal prototype to avoid an error. */
24540 /* We use char because int might match the return type of a gcc2
24541 builtin and then its argument prototype would still apply. */
24542 char gethostbyname ();
24551 rm -f conftest.$ac_objext conftest$ac_exeext
24552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24553 (eval $ac_link) 2>&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try='test -s conftest$ac_exeext'
24558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24559 (eval $ac_try) 2>&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); }; }; then
24563 ac_cv_lib_bsd_gethostbyname=yes
24565 echo "$as_me: failed program was:" >&5
24566 sed 's/^/| /' conftest.$ac_ext >&5
24568 ac_cv_lib_bsd_gethostbyname=no
24570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24571 LIBS=$ac_check_lib_save_LIBS
24573 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24574 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24575 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24582 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24583 # socket/setsockopt and other routines are undefined under SCO ODT
24584 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24585 # on later versions), says Simon Leinen: it contains gethostby*
24586 # variants that don't use the name server (or something). -lsocket
24587 # must be given before -lnsl if both are needed. We assume that
24588 # if connect needs -lnsl, so does gethostbyname.
24589 echo "$as_me:$LINENO: checking for connect" >&5
24590 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24591 if test "${ac_cv_func_connect+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 cat >conftest.$ac_ext <<_ACEOF
24595 #line $LINENO "configure"
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601 /* System header to define __stub macros and hopefully few prototypes,
24602 which can conflict with char connect (); below.
24603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24604 <limits.h> exists even on freestanding compilers. */
24606 # include <limits.h>
24608 # include <assert.h>
24610 /* Override any gcc2 internal prototype to avoid an error. */
24615 /* We use char because int might match the return type of a gcc2
24616 builtin and then its argument prototype would still apply. */
24618 /* The GNU C library defines this for functions which it implements
24619 to always fail with ENOSYS. Some functions are actually named
24620 something starting with __ and the normal name is an alias. */
24621 #if defined (__stub_connect) || defined (__stub___connect)
24624 char (*f) () = connect;
24633 return f != connect;
24638 rm -f conftest.$ac_objext conftest$ac_exeext
24639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24640 (eval $ac_link) 2>&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } &&
24644 { ac_try='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 ac_cv_func_connect=yes
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24655 ac_cv_func_connect=no
24657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24659 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24660 echo "${ECHO_T}$ac_cv_func_connect" >&6
24662 if test $ac_cv_func_connect = no; then
24663 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24664 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24665 if test "${ac_cv_lib_socket_connect+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 ac_check_lib_save_LIBS=$LIBS
24669 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24670 cat >conftest.$ac_ext <<_ACEOF
24671 #line $LINENO "configure"
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24678 /* Override any gcc2 internal prototype to avoid an error. */
24682 /* We use char because int might match the return type of a gcc2
24683 builtin and then its argument prototype would still apply. */
24693 rm -f conftest.$ac_objext conftest$ac_exeext
24694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24695 (eval $ac_link) 2>&5
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); } &&
24699 { ac_try='test -s conftest$ac_exeext'
24700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24701 (eval $ac_try) 2>&5
24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704 (exit $ac_status); }; }; then
24705 ac_cv_lib_socket_connect=yes
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24710 ac_cv_lib_socket_connect=no
24712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24713 LIBS=$ac_check_lib_save_LIBS
24715 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24716 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24717 if test $ac_cv_lib_socket_connect = yes; then
24718 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24723 # Guillermo Gomez says -lposix is necessary on A/UX.
24724 echo "$as_me:$LINENO: checking for remove" >&5
24725 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24726 if test "${ac_cv_func_remove+set}" = set; then
24727 echo $ECHO_N "(cached) $ECHO_C" >&6
24729 cat >conftest.$ac_ext <<_ACEOF
24730 #line $LINENO "configure"
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736 /* System header to define __stub macros and hopefully few prototypes,
24737 which can conflict with char remove (); below.
24738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24739 <limits.h> exists even on freestanding compilers. */
24741 # include <limits.h>
24743 # include <assert.h>
24745 /* Override any gcc2 internal prototype to avoid an error. */
24750 /* We use char because int might match the return type of a gcc2
24751 builtin and then its argument prototype would still apply. */
24753 /* The GNU C library defines this for functions which it implements
24754 to always fail with ENOSYS. Some functions are actually named
24755 something starting with __ and the normal name is an alias. */
24756 #if defined (__stub_remove) || defined (__stub___remove)
24759 char (*f) () = remove;
24768 return f != remove;
24773 rm -f conftest.$ac_objext conftest$ac_exeext
24774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24775 (eval $ac_link) 2>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try='test -s conftest$ac_exeext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785 ac_cv_func_remove=yes
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24790 ac_cv_func_remove=no
24792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24794 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24795 echo "${ECHO_T}$ac_cv_func_remove" >&6
24797 if test $ac_cv_func_remove = no; then
24798 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24799 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24800 if test "${ac_cv_lib_posix_remove+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 ac_check_lib_save_LIBS=$LIBS
24804 LIBS="-lposix $LIBS"
24805 cat >conftest.$ac_ext <<_ACEOF
24806 #line $LINENO "configure"
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24813 /* Override any gcc2 internal prototype to avoid an error. */
24817 /* We use char because int might match the return type of a gcc2
24818 builtin and then its argument prototype would still apply. */
24828 rm -f conftest.$ac_objext conftest$ac_exeext
24829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24830 (eval $ac_link) 2>&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } &&
24834 { ac_try='test -s conftest$ac_exeext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24840 ac_cv_lib_posix_remove=yes
24842 echo "$as_me: failed program was:" >&5
24843 sed 's/^/| /' conftest.$ac_ext >&5
24845 ac_cv_lib_posix_remove=no
24847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24848 LIBS=$ac_check_lib_save_LIBS
24850 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24851 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24852 if test $ac_cv_lib_posix_remove = yes; then
24853 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24858 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24859 echo "$as_me:$LINENO: checking for shmat" >&5
24860 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24861 if test "${ac_cv_func_shmat+set}" = set; then
24862 echo $ECHO_N "(cached) $ECHO_C" >&6
24864 cat >conftest.$ac_ext <<_ACEOF
24865 #line $LINENO "configure"
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871 /* System header to define __stub macros and hopefully few prototypes,
24872 which can conflict with char shmat (); below.
24873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24874 <limits.h> exists even on freestanding compilers. */
24876 # include <limits.h>
24878 # include <assert.h>
24880 /* Override any gcc2 internal prototype to avoid an error. */
24885 /* We use char because int might match the return type of a gcc2
24886 builtin and then its argument prototype would still apply. */
24888 /* The GNU C library defines this for functions which it implements
24889 to always fail with ENOSYS. Some functions are actually named
24890 something starting with __ and the normal name is an alias. */
24891 #if defined (__stub_shmat) || defined (__stub___shmat)
24894 char (*f) () = shmat;
24908 rm -f conftest.$ac_objext conftest$ac_exeext
24909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24910 (eval $ac_link) 2>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try='test -s conftest$ac_exeext'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; }; then
24920 ac_cv_func_shmat=yes
24922 echo "$as_me: failed program was:" >&5
24923 sed 's/^/| /' conftest.$ac_ext >&5
24925 ac_cv_func_shmat=no
24927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24929 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24930 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24932 if test $ac_cv_func_shmat = no; then
24933 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24934 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24935 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24938 ac_check_lib_save_LIBS=$LIBS
24940 cat >conftest.$ac_ext <<_ACEOF
24941 #line $LINENO "configure"
24944 cat confdefs.h >>conftest.$ac_ext
24945 cat >>conftest.$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24948 /* Override any gcc2 internal prototype to avoid an error. */
24952 /* We use char because int might match the return type of a gcc2
24953 builtin and then its argument prototype would still apply. */
24963 rm -f conftest.$ac_objext conftest$ac_exeext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24965 (eval $ac_link) 2>&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } &&
24969 { ac_try='test -s conftest$ac_exeext'
24970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971 (eval $ac_try) 2>&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; }; then
24975 ac_cv_lib_ipc_shmat=yes
24977 echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24980 ac_cv_lib_ipc_shmat=no
24982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24983 LIBS=$ac_check_lib_save_LIBS
24985 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24986 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24987 if test $ac_cv_lib_ipc_shmat = yes; then
24988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24994 # Check for libraries that X11R6 Xt/Xaw programs need.
24995 ac_save_LDFLAGS=$LDFLAGS
24996 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24997 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24998 # check for ICE first), but we must link in the order -lSM -lICE or
24999 # we get undefined symbols. So assume we have SM if we have ICE.
25000 # These have to be linked with before -lX11, unlike the other
25001 # libraries we check for below, so use a different variable.
25002 # John Interrante, Karl Berry
25003 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25004 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25005 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 ac_check_lib_save_LIBS=$LIBS
25009 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25010 cat >conftest.$ac_ext <<_ACEOF
25011 #line $LINENO "configure"
25014 cat confdefs.h >>conftest.$ac_ext
25015 cat >>conftest.$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25018 /* Override any gcc2 internal prototype to avoid an error. */
25022 /* We use char because int might match the return type of a gcc2
25023 builtin and then its argument prototype would still apply. */
25024 char IceConnectionNumber ();
25028 IceConnectionNumber ();
25033 rm -f conftest.$ac_objext conftest$ac_exeext
25034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25035 (eval $ac_link) 2>&5
25037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25038 (exit $ac_status); } &&
25039 { ac_try='test -s conftest$ac_exeext'
25040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25041 (eval $ac_try) 2>&5
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); }; }; then
25045 ac_cv_lib_ICE_IceConnectionNumber=yes
25047 echo "$as_me: failed program was:" >&5
25048 sed 's/^/| /' conftest.$ac_ext >&5
25050 ac_cv_lib_ICE_IceConnectionNumber=no
25052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25053 LIBS=$ac_check_lib_save_LIBS
25055 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25056 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25057 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25058 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25061 LDFLAGS=$ac_save_LDFLAGS
25066 if test "$no_x" = "yes"; then
25067 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25068 echo "$as_me: error: X11 not found" >&2;}
25069 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25072 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
25073 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25074 AFMINSTALL=afminstall
25075 COMPILED_X_PROGRAM=0
25077 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25078 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25081 for ac_dir in $SEARCH_INCLUDE /usr/include;
25083 if test -f "$ac_dir/Xm/Xm.h"; then
25084 ac_find_includes=$ac_dir
25089 if test "$ac_find_includes" != "" ; then
25090 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25091 echo "${ECHO_T}found in $ac_find_includes" >&6
25093 if test "x$ac_find_includes" = "x/usr/include"; then
25094 ac_path_to_include=""
25096 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25098 if test $result = 0; then
25099 ac_path_to_include=""
25101 ac_path_to_include=" -I$ac_find_includes"
25105 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25107 cat >conftest.$ac_ext <<_ACEOF
25108 #line $LINENO "configure"
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25122 version = xmUseVersion;
25128 rm -f conftest.$ac_objext
25129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25130 (eval $ac_compile) 2>&5
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); } &&
25134 { ac_try='test -s conftest.$ac_objext'
25135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25136 (eval $ac_try) 2>&5
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); }; }; then
25141 echo "$as_me:$LINENO: result: found in default search path" >&5
25142 echo "${ECHO_T}found in default search path" >&6
25143 COMPILED_X_PROGRAM=1
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25150 echo "$as_me:$LINENO: result: no" >&5
25151 echo "${ECHO_T}no" >&6
25152 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25153 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25154 { (exit 1); exit 1; }; }
25158 rm -f conftest.$ac_objext conftest.$ac_ext
25161 if test "$COMPILED_X_PROGRAM" = 0; then
25162 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25163 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25166 for ac_dir in $SEARCH_LIB /usr/lib;
25168 for ac_extension in a so sl dylib; do
25169 if test -f "$ac_dir/libXm.$ac_extension"; then
25170 ac_find_libraries=$ac_dir
25176 if test "$ac_find_libraries" != "" ; then
25177 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25178 echo "${ECHO_T}found at $ac_find_libraries" >&6
25181 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25183 if test $result = 0; then
25186 ac_path_to_link=" -L$ac_find_libraries"
25189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25191 save_CFLAGS=$CFLAGS
25192 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25194 cat >conftest.$ac_ext <<_ACEOF
25195 #line $LINENO "configure"
25198 cat confdefs.h >>conftest.$ac_ext
25199 cat >>conftest.$ac_ext <<_ACEOF
25200 /* end confdefs.h. */
25209 version = xmUseVersion;
25215 rm -f conftest.$ac_objext
25216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25217 (eval $ac_compile) 2>&5
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); } &&
25221 { ac_try='test -s conftest.$ac_objext'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25228 echo "$as_me:$LINENO: result: found in default search path" >&5
25229 echo "${ECHO_T}found in default search path" >&6
25230 COMPILED_X_PROGRAM=1
25233 echo "$as_me: failed program was:" >&5
25234 sed 's/^/| /' conftest.$ac_ext >&5
25237 echo "$as_me:$LINENO: result: no" >&5
25238 echo "${ECHO_T}no" >&6
25239 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25240 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25241 { (exit 1); exit 1; }; }
25245 rm -f conftest.$ac_objext conftest.$ac_ext
25247 CFLAGS=$save_CFLAGS
25251 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25252 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25256 for libp in "" " -lXp"; do
25257 if test "$libs_found" = "0"; then
25258 for libsm_ice in "" " -lSM -lICE"; do
25259 if test "$libs_found" = "0"; then
25261 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25262 save_CFLAGS=$CFLAGS
25263 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25265 cat >conftest.$ac_ext <<_ACEOF
25266 #line $LINENO "configure"
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25274 #include <Xm/List.h>
25280 XmString string = NULL;
25283 XmListAddItem(w, string, position);
25289 rm -f conftest.$ac_objext conftest$ac_exeext
25290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25291 (eval $ac_link) 2>&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -s conftest$ac_exeext'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; }; then
25303 libsm_ice_link="$libsm_ice"
25304 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25305 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.$ac_ext >&5
25315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25318 CFLAGS=$save_CFLAGS
25324 if test "$libs_found" = "0"; then
25325 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25326 echo "${ECHO_T}can't find the right libraries" >&6
25327 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25328 echo "$as_me: error: can't link a simple motif program" >&2;}
25329 { (exit 1); exit 1; }; }
25332 save_CFLAGS=$CFLAGS
25333 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25334 echo "$as_me:$LINENO: checking for Motif 2" >&5
25335 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25336 cat >conftest.$ac_ext <<_ACEOF
25337 #line $LINENO "configure"
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25350 #if XmVersion < 2000
25351 #error "Not Motif 2"
25358 rm -f conftest.$ac_objext
25359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25360 (eval $ac_compile) 2>&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } &&
25364 { ac_try='test -s conftest.$ac_objext'
25365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25366 (eval $ac_try) 2>&5
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); }; }; then
25371 cat >>confdefs.h <<\_ACEOF
25372 #define __WXMOTIF20__ 1
25375 echo "$as_me:$LINENO: result: found" >&5
25376 echo "${ECHO_T}found" >&6
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25383 cat >>confdefs.h <<\_ACEOF
25384 #define __WXMOTIF20__ 0
25387 echo "$as_me:$LINENO: result: not found" >&5
25388 echo "${ECHO_T}not found" >&6
25391 rm -f conftest.$ac_objext conftest.$ac_ext
25392 CFLAGS=$save_CFLAGS
25394 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25395 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25400 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25401 if test "$wxUSE_LIBXPM" = "sys"; then
25402 echo "$as_me:$LINENO: checking for Xpm library" >&5
25403 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25406 for ac_dir in $SEARCH_LIB /usr/lib;
25408 for ac_extension in a so sl dylib; do
25409 if test -f "$ac_dir/libXpm.$ac_extension"; then
25410 ac_find_libraries=$ac_dir
25416 if test "$ac_find_libraries" != "" ; then
25418 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25420 if test $result = 0; then
25423 ac_path_to_link=" -L$ac_find_libraries"
25426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25427 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25428 echo "${ECHO_T}found at $ac_find_libraries" >&6
25430 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25431 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25432 if test "${wx_cv_x11_xpm_h+set}" = set; then
25433 echo $ECHO_N "(cached) $ECHO_C" >&6
25436 save_CFLAGS=$CFLAGS
25437 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25439 cat >conftest.$ac_ext <<_ACEOF
25440 #line $LINENO "configure"
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25447 #include <X11/xpm.h>
25454 version = XpmLibraryVersion();
25460 rm -f conftest.$ac_objext
25461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25462 (eval $ac_compile) 2>&5
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); } &&
25466 { ac_try='test -s conftest.$ac_objext'
25467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25468 (eval $ac_try) 2>&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); }; }; then
25472 wx_cv_x11_xpm_h=yes
25474 echo "$as_me: failed program was:" >&5
25475 sed 's/^/| /' conftest.$ac_ext >&5
25480 rm -f conftest.$ac_objext conftest.$ac_ext
25482 CFLAGS=$save_CFLAGS
25486 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25487 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25489 if test $wx_cv_x11_xpm_h = "yes"; then
25490 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25491 cat >>confdefs.h <<\_ACEOF
25492 #define wxHAVE_LIB_XPM 1
25496 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25497 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25503 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25504 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25505 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 ac_check_lib_save_LIBS=$LIBS
25509 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25510 cat >conftest.$ac_ext <<_ACEOF
25511 #line $LINENO "configure"
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25518 /* Override any gcc2 internal prototype to avoid an error. */
25522 /* We use char because int might match the return type of a gcc2
25523 builtin and then its argument prototype would still apply. */
25524 char XShapeQueryExtension ();
25528 XShapeQueryExtension ();
25533 rm -f conftest.$ac_objext conftest$ac_exeext
25534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25535 (eval $ac_link) 2>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } &&
25539 { ac_try='test -s conftest$ac_exeext'
25540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25541 (eval $ac_try) 2>&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); }; }; then
25545 ac_cv_lib_Xext_XShapeQueryExtension=yes
25547 echo "$as_me: failed program was:" >&5
25548 sed 's/^/| /' conftest.$ac_ext >&5
25550 ac_cv_lib_Xext_XShapeQueryExtension=no
25552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25553 LIBS=$ac_check_lib_save_LIBS
25555 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25556 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25557 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25559 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
25565 if test "$wxHAVE_XEXT_LIB" = 1; then
25566 save_CFLAGS="$CFLAGS"
25567 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25569 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25570 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25571 cat >conftest.$ac_ext <<_ACEOF
25572 #line $LINENO "configure"
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25579 #include <X11/Xlib.h>
25580 #include <X11/extensions/shape.h>
25586 int dummy1, dummy2;
25587 XShapeQueryExtension((Display*)NULL,
25588 (int*)NULL, (int*)NULL);
25594 rm -f conftest.$ac_objext
25595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25596 (eval $ac_compile) 2>&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } &&
25600 { ac_try='test -s conftest.$ac_objext'
25601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25602 (eval $ac_try) 2>&5
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; }; then
25607 cat >>confdefs.h <<\_ACEOF
25608 #define HAVE_XSHAPE 1
25611 echo "$as_me:$LINENO: result: found" >&5
25612 echo "${ECHO_T}found" >&6
25615 echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.$ac_ext >&5
25619 echo "$as_me:$LINENO: result: not found" >&5
25620 echo "${ECHO_T}not found" >&6
25623 rm -f conftest.$ac_objext conftest.$ac_ext
25624 CFLAGS="$save_CFLAGS"
25629 if test "$wxUSE_MAC" = 1; then
25630 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
25631 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
25632 if test "$GCC" = yes; then
25633 echo "$as_me:$LINENO: result: gcc" >&5
25634 echo "${ECHO_T}gcc" >&6
25635 CPPFLAGS_PASCAL="-fpascal-strings"
25636 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
25637 echo "$as_me:$LINENO: result: xlc" >&5
25638 echo "${ECHO_T}xlc" >&6
25639 CPPFLAGS_PASCAL="-qmacpstr"
25641 echo "$as_me:$LINENO: result: none" >&5
25642 echo "${ECHO_T}none" >&6
25645 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
25647 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
25650 WXBASEPORT="_carbon"
25653 if test "$wxUSE_COCOA" = 1; then
25654 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
25659 if test "$wxUSE_PM" = 1; then
25662 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
25663 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
25664 if test "${wx_cv_spbcdata+set}" = set; then
25665 echo $ECHO_N "(cached) $ECHO_C" >&6
25668 cat >conftest.$ac_ext <<_ACEOF
25669 #line $LINENO "configure"
25672 cat confdefs.h >>conftest.$ac_ext
25673 cat >>conftest.$ac_ext <<_ACEOF
25674 /* end confdefs.h. */
25689 rm -f conftest.$ac_objext
25690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25691 (eval $ac_compile) 2>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try='test -s conftest.$ac_objext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25709 rm -f conftest.$ac_objext conftest.$ac_ext
25713 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
25714 echo "${ECHO_T}$wx_cv_spbcdata" >&6
25716 if test $wx_cv_spbcdata = "yes"; then
25717 cat >>confdefs.h <<\_ACEOF
25718 #define HAVE_SPBCDATA 1
25724 if test "$TOOLKIT" = "PM" ; then
25727 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
25730 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
25732 if test "$wxUSE_UNIVERSAL" = "yes"; then
25733 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
25735 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
25736 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
25738 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
25739 if test "$wxUSE_X11" = 1; then
25740 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
25742 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
25744 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
25747 ALL_OBJECTS="\$(GUIOBJS)"
25748 ALL_SOURCES="\$(ALL_SOURCES)"
25749 ALL_HEADERS="\$(ALL_HEADERS)"
25752 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
25754 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
25755 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
25758 if test "$wxUSE_HTML" = "yes"; then
25759 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
25762 if test "$wxUSE_LIBJPEG" = "builtin" ; then
25763 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
25765 if test "$wxUSE_LIBTIFF" = "builtin" ; then
25766 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
25768 if test "$wxUSE_LIBPNG" = "builtin" ; then
25769 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
25772 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
25773 DISTDIR="wx\$(TOOLKIT)"
25779 if test "$USE_WIN32" = 1 ; then
25780 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
25781 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
25785 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
25786 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
25789 ALL_SOURCES="\$(ALL_SOURCES)"
25790 ALL_HEADERS="\$(ALL_HEADERS)"
25792 PORT_FILES="\${top_srcdir}/src/files.lst"
25794 GUIDIST="BASE_DIST"
25804 if test "$TOOLKIT" != "MSW" ; then
25806 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
25808 if test "${ac_cv_header_sql_h+set}" = set; then
25809 echo "$as_me:$LINENO: checking for sql.h" >&5
25810 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25811 if test "${ac_cv_header_sql_h+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25815 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25817 # Is the header compilable?
25818 echo "$as_me:$LINENO: checking sql.h usability" >&5
25819 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25820 cat >conftest.$ac_ext <<_ACEOF
25821 #line $LINENO "configure"
25824 cat confdefs.h >>conftest.$ac_ext
25825 cat >>conftest.$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25827 $ac_includes_default
25830 rm -f conftest.$ac_objext
25831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25832 (eval $ac_compile) 2>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } &&
25836 { ac_try='test -s conftest.$ac_objext'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; }; then
25842 ac_header_compiler=yes
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25847 ac_header_compiler=no
25849 rm -f conftest.$ac_objext conftest.$ac_ext
25850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25851 echo "${ECHO_T}$ac_header_compiler" >&6
25853 # Is the header present?
25854 echo "$as_me:$LINENO: checking sql.h presence" >&5
25855 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25856 cat >conftest.$ac_ext <<_ACEOF
25857 #line $LINENO "configure"
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25868 grep -v '^ *+' conftest.er1 >conftest.err
25870 cat conftest.err >&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } >/dev/null; then
25873 if test -s conftest.err; then
25874 ac_cpp_err=$ac_c_preproc_warn_flag
25881 if test -z "$ac_cpp_err"; then
25882 ac_header_preproc=yes
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.$ac_ext >&5
25887 ac_header_preproc=no
25889 rm -f conftest.err conftest.$ac_ext
25890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25891 echo "${ECHO_T}$ac_header_preproc" >&6
25893 # So? What about this header?
25894 case $ac_header_compiler:$ac_header_preproc in
25896 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
25897 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25898 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25899 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25902 ## ------------------------------------ ##
25903 ## Report this to bug-autoconf@gnu.org. ##
25904 ## ------------------------------------ ##
25907 sed "s/^/$as_me: WARNING: /" >&2
25910 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
25911 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
25912 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
25913 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
25914 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25915 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25918 ## ------------------------------------ ##
25919 ## Report this to bug-autoconf@gnu.org. ##
25920 ## ------------------------------------ ##
25923 sed "s/^/$as_me: WARNING: /" >&2
25926 echo "$as_me:$LINENO: checking for sql.h" >&5
25927 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25928 if test "${ac_cv_header_sql_h+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25931 ac_cv_header_sql_h=$ac_header_preproc
25933 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25934 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25937 if test $ac_cv_header_sql_h = yes; then
25942 if test "x$found_sql_h" = "x1" ; then
25943 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
25944 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
25945 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25948 ac_check_lib_save_LIBS=$LIBS
25949 LIBS="-liodbc $LIBS"
25950 cat >conftest.$ac_ext <<_ACEOF
25951 #line $LINENO "configure"
25954 cat confdefs.h >>conftest.$ac_ext
25955 cat >>conftest.$ac_ext <<_ACEOF
25956 /* end confdefs.h. */
25958 /* Override any gcc2 internal prototype to avoid an error. */
25962 /* We use char because int might match the return type of a gcc2
25963 builtin and then its argument prototype would still apply. */
25964 char SQLAllocEnv ();
25973 rm -f conftest.$ac_objext conftest$ac_exeext
25974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25975 (eval $ac_link) 2>&5
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); } &&
25979 { ac_try='test -s conftest$ac_exeext'
25980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25981 (eval $ac_try) 2>&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); }; }; then
25985 ac_cv_lib_iodbc_SQLAllocEnv=yes
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.$ac_ext >&5
25990 ac_cv_lib_iodbc_SQLAllocEnv=no
25992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25993 LIBS=$ac_check_lib_save_LIBS
25995 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
25996 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
25997 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
25998 ODBC_LINK=" -liodbc"
26001 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26002 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26003 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26004 echo $ECHO_N "(cached) $ECHO_C" >&6
26006 ac_check_lib_save_LIBS=$LIBS
26007 LIBS="-lunixodbc $LIBS"
26008 cat >conftest.$ac_ext <<_ACEOF
26009 #line $LINENO "configure"
26012 cat confdefs.h >>conftest.$ac_ext
26013 cat >>conftest.$ac_ext <<_ACEOF
26014 /* end confdefs.h. */
26016 /* Override any gcc2 internal prototype to avoid an error. */
26020 /* We use char because int might match the return type of a gcc2
26021 builtin and then its argument prototype would still apply. */
26022 char SQLAllocEnv ();
26031 rm -f conftest.$ac_objext conftest$ac_exeext
26032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26033 (eval $ac_link) 2>&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } &&
26037 { ac_try='test -s conftest$ac_exeext'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; }; then
26043 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26045 echo "$as_me: failed program was:" >&5
26046 sed 's/^/| /' conftest.$ac_ext >&5
26048 ac_cv_lib_unixodbc_SQLAllocEnv=no
26050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26051 LIBS=$ac_check_lib_save_LIBS
26053 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26054 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26055 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26056 ODBC_LINK=" -lunixodbc"
26059 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26060 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26061 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 ac_check_lib_save_LIBS=$LIBS
26065 LIBS="-lodbc $LIBS"
26066 cat >conftest.$ac_ext <<_ACEOF
26067 #line $LINENO "configure"
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26074 /* Override any gcc2 internal prototype to avoid an error. */
26078 /* We use char because int might match the return type of a gcc2
26079 builtin and then its argument prototype would still apply. */
26080 char SQLAllocEnv ();
26089 rm -f conftest.$ac_objext conftest$ac_exeext
26090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26091 (eval $ac_link) 2>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } &&
26095 { ac_try='test -s conftest$ac_exeext'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; }; then
26101 ac_cv_lib_odbc_SQLAllocEnv=yes
26103 echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.$ac_ext >&5
26106 ac_cv_lib_odbc_SQLAllocEnv=no
26108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26109 LIBS=$ac_check_lib_save_LIBS
26111 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26112 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26113 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26114 ODBC_LINK=" -lodbc"
26124 if test "x$ODBC_LINK" = "x" ; then
26125 if test "$wxUSE_ODBC" = "sys" ; then
26126 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26127 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26128 { (exit 1); exit 1; }; }
26130 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26131 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26138 if test "$wxUSE_ODBC" != "no" ; then
26139 cat >>confdefs.h <<\_ACEOF
26140 #define wxUSE_ODBC 1
26143 if test "$wxUSE_ODBC" = "builtin" ; then
26144 cat >>confdefs.h <<\_ACEOF
26145 #define wxUSE_BUILTIN_IODBC 1
26149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26151 WXODBCFLAG="-D_IODBC_"
26155 if test "$wxUSE_REGEX" = "builtin" ; then
26156 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
26158 if test "$wxUSE_ZLIB" = "builtin" ; then
26159 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
26163 if test "$wxUSE_DISPLAY" = "yes"; then
26164 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
26165 echo "$as_me:$LINENO: checking for Xinerama" >&5
26166 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26169 for ac_dir in $SEARCH_LIB /usr/lib;
26171 for ac_extension in a so sl dylib; do
26172 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26173 ac_find_libraries=$ac_dir
26179 if test "$ac_find_libraries" != "" ; then
26181 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26183 if test $result = 0; then
26186 ac_path_to_link=" -L$ac_find_libraries"
26189 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26190 LDFLAGS="$LDFLAGS $ac_path_to_link"
26192 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26193 echo "$as_me:$LINENO: result: yes" >&5
26194 echo "${ECHO_T}yes" >&6
26196 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26197 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26200 for ac_dir in $SEARCH_LIB /usr/lib;
26202 for ac_extension in a so sl dylib; do
26203 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26204 ac_find_libraries=$ac_dir
26210 if test "$ac_find_libraries" != "" ; then
26211 echo "$as_me:$LINENO: result: yes" >&5
26212 echo "${ECHO_T}yes" >&6
26214 for ac_header in X11/extensions/xf86vmode.h
26216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26217 echo "$as_me:$LINENO: checking for $ac_header" >&5
26218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26220 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 cat >conftest.$ac_ext <<_ACEOF
26223 #line $LINENO "configure"
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26230 #if HAVE_X11_XLIB_H
26231 #include <X11/Xlib.h>
26235 #include <$ac_header>
26237 rm -f conftest.$ac_objext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26239 (eval $ac_compile) 2>&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } &&
26243 { ac_try='test -s conftest.$ac_objext'
26244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245 (eval $ac_try) 2>&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); }; }; then
26249 eval "$as_ac_Header=yes"
26251 echo "$as_me: failed program was:" >&5
26252 sed 's/^/| /' conftest.$ac_ext >&5
26254 eval "$as_ac_Header=no"
26256 rm -f conftest.$ac_objext conftest.$ac_ext
26258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26261 cat >>confdefs.h <<_ACEOF
26262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26272 echo "$as_me:$LINENO: result: no" >&5
26273 echo "${ECHO_T}no" >&6
26277 echo "$as_me:$LINENO: result: no" >&5
26278 echo "${ECHO_T}no" >&6
26279 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
26280 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26283 elif test "$wxUSE_MSW" = 1; then
26286 for ac_header in multimon.h ddraw.h
26288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26290 echo "$as_me:$LINENO: checking for $ac_header" >&5
26291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26298 # Is the header compilable?
26299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26301 cat >conftest.$ac_ext <<_ACEOF
26302 #line $LINENO "configure"
26305 cat confdefs.h >>conftest.$ac_ext
26306 cat >>conftest.$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26308 $ac_includes_default
26309 #include <$ac_header>
26311 rm -f conftest.$ac_objext
26312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26313 (eval $ac_compile) 2>&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } &&
26317 { ac_try='test -s conftest.$ac_objext'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; }; then
26323 ac_header_compiler=yes
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26328 ac_header_compiler=no
26330 rm -f conftest.$ac_objext conftest.$ac_ext
26331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26332 echo "${ECHO_T}$ac_header_compiler" >&6
26334 # Is the header present?
26335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26337 cat >conftest.$ac_ext <<_ACEOF
26338 #line $LINENO "configure"
26341 cat confdefs.h >>conftest.$ac_ext
26342 cat >>conftest.$ac_ext <<_ACEOF
26343 /* end confdefs.h. */
26344 #include <$ac_header>
26346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26349 grep -v '^ *+' conftest.er1 >conftest.err
26351 cat conftest.err >&5
26352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353 (exit $ac_status); } >/dev/null; then
26354 if test -s conftest.err; then
26355 ac_cpp_err=$ac_c_preproc_warn_flag
26362 if test -z "$ac_cpp_err"; then
26363 ac_header_preproc=yes
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.$ac_ext >&5
26368 ac_header_preproc=no
26370 rm -f conftest.err conftest.$ac_ext
26371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26372 echo "${ECHO_T}$ac_header_preproc" >&6
26374 # So? What about this header?
26375 case $ac_header_compiler:$ac_header_preproc in
26377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26383 ## ------------------------------------ ##
26384 ## Report this to bug-autoconf@gnu.org. ##
26385 ## ------------------------------------ ##
26388 sed "s/^/$as_me: WARNING: /" >&2
26391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26399 ## ------------------------------------ ##
26400 ## Report this to bug-autoconf@gnu.org. ##
26401 ## ------------------------------------ ##
26404 sed "s/^/$as_me: WARNING: /" >&2
26407 echo "$as_me:$LINENO: checking for $ac_header" >&5
26408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26412 eval "$as_ac_Header=$ac_header_preproc"
26414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26419 cat >>confdefs.h <<_ACEOF
26420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26426 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
26427 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
26438 if test "$wxUSE_OPENGL" = "yes"; then
26439 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26440 OPENGL_LIBS="-framework OpenGL -framework AGL"
26441 elif test "$wxUSE_MSW" = 1; then
26442 OPENGL_LIBS="-lopengl32 -lglu32"
26447 for ac_dir in $SEARCH_INCLUDE /usr/include;
26449 if test -f "$ac_dir/GL/gl.h"; then
26450 ac_find_includes=$ac_dir
26455 if test "$ac_find_includes" != "" ; then
26456 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26457 echo "${ECHO_T}found in $ac_find_includes" >&6
26459 if test "x$ac_find_includes" = "x/usr/include"; then
26460 ac_path_to_include=""
26462 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
26464 if test $result = 0; then
26465 ac_path_to_include=""
26467 ac_path_to_include=" -I$ac_find_includes"
26471 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
26474 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26475 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26476 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26477 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26483 # Is the header compilable?
26484 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26485 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26486 cat >conftest.$ac_ext <<_ACEOF
26487 #line $LINENO "configure"
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h. */
26493 $ac_includes_default
26496 rm -f conftest.$ac_objext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26498 (eval $ac_compile) 2>&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } &&
26502 { ac_try='test -s conftest.$ac_objext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 ac_header_compiler=yes
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.$ac_ext >&5
26513 ac_header_compiler=no
26515 rm -f conftest.$ac_objext conftest.$ac_ext
26516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26517 echo "${ECHO_T}$ac_header_compiler" >&6
26519 # Is the header present?
26520 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26521 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26522 cat >conftest.$ac_ext <<_ACEOF
26523 #line $LINENO "configure"
26526 cat confdefs.h >>conftest.$ac_ext
26527 cat >>conftest.$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26534 grep -v '^ *+' conftest.er1 >conftest.err
26536 cat conftest.err >&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); } >/dev/null; then
26539 if test -s conftest.err; then
26540 ac_cpp_err=$ac_c_preproc_warn_flag
26547 if test -z "$ac_cpp_err"; then
26548 ac_header_preproc=yes
26550 echo "$as_me: failed program was:" >&5
26551 sed 's/^/| /' conftest.$ac_ext >&5
26553 ac_header_preproc=no
26555 rm -f conftest.err conftest.$ac_ext
26556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26557 echo "${ECHO_T}$ac_header_preproc" >&6
26559 # So? What about this header?
26560 case $ac_header_compiler:$ac_header_preproc in
26562 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26563 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26564 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26565 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26568 ## ------------------------------------ ##
26569 ## Report this to bug-autoconf@gnu.org. ##
26570 ## ------------------------------------ ##
26573 sed "s/^/$as_me: WARNING: /" >&2
26576 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26577 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26578 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26579 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26580 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26581 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26584 ## ------------------------------------ ##
26585 ## Report this to bug-autoconf@gnu.org. ##
26586 ## ------------------------------------ ##
26589 sed "s/^/$as_me: WARNING: /" >&2
26592 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26593 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26594 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26595 echo $ECHO_N "(cached) $ECHO_C" >&6
26597 ac_cv_header_GL_gl_h=$ac_header_preproc
26599 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26600 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26603 if test $ac_cv_header_GL_gl_h = yes; then
26607 echo "$as_me:$LINENO: checking for -lGL" >&5
26608 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26611 for ac_dir in $SEARCH_LIB /usr/lib;
26613 for ac_extension in a so sl dylib; do
26614 if test -f "$ac_dir/libGL.$ac_extension"; then
26615 ac_find_libraries=$ac_dir
26621 if test "$ac_find_libraries" != "" ; then
26623 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26625 if test $result = 0; then
26628 ac_path_to_link=" -L$ac_find_libraries"
26631 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26632 LDFLAGS_GL="$ac_path_to_link"
26637 for ac_dir in $SEARCH_LIB /usr/lib;
26639 for ac_extension in a so sl dylib; do
26640 if test -f "$ac_dir/libGLU.$ac_extension"; then
26641 ac_find_libraries=$ac_dir
26647 if test "$ac_find_libraries" != "" ; then
26649 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26651 if test $result = 0; then
26654 ac_path_to_link=" -L$ac_find_libraries"
26657 if test "$ac_path_to_link" != " -L/usr/lib" -a \
26658 "$ac_path_to_link" != "$LDFLAGS_GL"; then
26659 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
26663 OPENGL_LIBS="-lGL -lGLU"
26664 echo "$as_me:$LINENO: result: yes" >&5
26665 echo "${ECHO_T}yes" >&6
26669 if test "$found_gl" != 1; then
26670 echo "$as_me:$LINENO: result: no" >&5
26671 echo "${ECHO_T}no" >&6
26672 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
26673 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
26676 for ac_dir in $SEARCH_LIB /usr/lib;
26678 for ac_extension in a so sl dylib; do
26679 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
26680 ac_find_libraries=$ac_dir
26686 if test "$ac_find_libraries" != "" ; then
26688 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26690 if test $result = 0; then
26693 ac_path_to_link=" -L$ac_find_libraries"
26696 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
26697 OPENGL_LIBS="-lMesaGL -lMesaGLU"
26698 echo "$as_me:$LINENO: result: yes" >&5
26699 echo "${ECHO_T}yes" >&6
26701 echo "$as_me:$LINENO: result: no" >&5
26702 echo "${ECHO_T}no" >&6
26710 if test "x$OPENGL_LIBS" = "x"; then
26711 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
26712 echo "$as_me: error: OpenGL libraries not available" >&2;}
26713 { (exit 1); exit 1; }; }
26717 if test "$wxUSE_OPENGL" = "yes"; then
26719 cat >>confdefs.h <<\_ACEOF
26720 #define wxUSE_OPENGL 1
26723 cat >>confdefs.h <<\_ACEOF
26724 #define wxUSE_GLCANVAS 1
26727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
26731 if test -z "$TOOLKIT_VPATH" ; then
26732 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
26735 if test -n "$TOOLKIT" ; then
26736 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
26740 lib_unicode_suffix=
26741 if test "$wxUSE_UNICODE" = "yes"; then
26742 lib_unicode_suffix=u
26748 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
26754 if test "$wxUSE_DEBUG_INFO" = "yes"; then
26758 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
26760 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
26761 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
26763 if test "$cross_compiling" = "yes"; then
26764 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
26765 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
26766 HOST_SUFFIX="-${host_alias}"
26769 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
26770 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
26771 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
26772 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26774 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26775 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26777 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26778 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26779 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26780 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26783 *-*-cygwin* | *-*-mingw32* )
26784 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
26785 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26790 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26791 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26793 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26794 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26795 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26796 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26798 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26799 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26800 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26805 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
26806 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
26808 WXCONFIG_LIBS="-l${WX_LIBRARY}"
26809 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
26811 if test "$wxUSE_OPENGL" = "yes"; then
26812 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26813 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26818 if test "$wxUSE_SHARED" = "yes"; then
26822 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26823 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26829 if test "$wxUSE_SHARED" = "yes"; then
26833 found_versioning=no
26836 if test $found_versioning = no ; then
26837 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26838 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26839 if test "${wx_cv_version_script+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 echo "VER_1 { *; };" >conftest.sym
26844 echo "int main() { return 0; }" >conftest.cpp
26847 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26848 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26850 (eval $ac_try) 2>&5
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); }; } ; then
26854 if test -s conftest.stderr ; then
26855 wx_cv_version_script=no
26857 wx_cv_version_script=yes
26860 wx_cv_version_script=no
26862 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26865 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26866 echo "${ECHO_T}$wx_cv_version_script" >&6
26867 if test $wx_cv_version_script = yes ; then
26868 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
26874 *-*-linux* | *-*-gnu* )
26875 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26879 if test "$GCC" = yes ; then
26880 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
26882 saveLdflags="$LDFLAGS"
26883 LDFLAGS="$saveLdflags -Wl,-rpath,/"
26884 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
26885 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
26886 cat >conftest.$ac_ext <<_ACEOF
26887 #line $LINENO "configure"
26890 cat confdefs.h >>conftest.$ac_ext
26891 cat >>conftest.$ac_ext <<_ACEOF
26892 /* end confdefs.h. */
26902 rm -f conftest.$ac_objext conftest$ac_exeext
26903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26904 (eval $ac_link) 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26915 echo "$as_me:$LINENO: result: yes" >&5
26916 echo "${ECHO_T}yes" >&6
26917 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.$ac_ext >&5
26924 echo "$as_me:$LINENO: result: no" >&5
26925 echo "${ECHO_T}no" >&6
26926 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
26927 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
26928 LDFLAGS="$saveLdflags -Wl,-R,/"
26929 cat >conftest.$ac_ext <<_ACEOF
26930 #line $LINENO "configure"
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26945 rm -f conftest.$ac_objext conftest$ac_exeext
26946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26947 (eval $ac_link) 2>&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } &&
26951 { ac_try='test -s conftest$ac_exeext'
26952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26953 (eval $ac_try) 2>&5
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); }; }; then
26958 echo "$as_me:$LINENO: result: yes" >&5
26959 echo "${ECHO_T}yes" >&6
26960 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26966 echo "$as_me:$LINENO: result: no" >&5
26967 echo "${ECHO_T}no" >&6
26970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26974 LDFLAGS="$saveLdflags"
26976 SHARED_LD="${CXX} -G -o"
26978 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
26982 powerpc-*-darwin* )
26983 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
26984 cat <<EOF >change-install-names
26986 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
26987 inst_cmd="install_name_tool "
26988 for i in \${libnames} ; do
26989 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
26993 chmod +x change-install-names
26996 *-*-cygwin* | *-*-mingw32* )
26997 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27002 if test "x$WX_TARGET_LIBRARY" = "x"; then
27003 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27004 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27007 WX_TARGET_LIBRARY_TYPE="so"
27008 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27011 if test "$wxUSE_SHARED" = "no"; then
27013 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27014 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27017 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27018 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27021 if test "$wxUSE_OPENGL" = "yes"; then
27022 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27023 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27025 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27028 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27029 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27031 WX_TARGET_LIBRARY_TYPE="a"
27032 INSTALL_LIBRARY='$(INSTALL_DATA)'
27039 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27040 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27041 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27042 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27044 # Extract the first word of "Rez", so it can be a program name with args.
27045 set dummy Rez; ac_word=$2
27046 echo "$as_me:$LINENO: checking for $ac_word" >&5
27047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27048 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27049 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 if test -n "$RESCOMP"; then
27052 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27055 for as_dir in $PATH
27058 test -z "$as_dir" && as_dir=.
27059 for ac_exec_ext in '' $ac_executable_extensions; do
27060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27061 ac_cv_prog_RESCOMP="Rez"
27062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27068 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27071 RESCOMP=$ac_cv_prog_RESCOMP
27072 if test -n "$RESCOMP"; then
27073 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27074 echo "${ECHO_T}$RESCOMP" >&6
27076 echo "$as_me:$LINENO: result: no" >&5
27077 echo "${ECHO_T}no" >&6
27080 # Extract the first word of "DeRez", so it can be a program name with args.
27081 set dummy DeRez; ac_word=$2
27082 echo "$as_me:$LINENO: checking for $ac_word" >&5
27083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27084 if test "${ac_cv_prog_DEREZ+set}" = set; then
27085 echo $ECHO_N "(cached) $ECHO_C" >&6
27087 if test -n "$DEREZ"; then
27088 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27091 for as_dir in $PATH
27094 test -z "$as_dir" && as_dir=.
27095 for ac_exec_ext in '' $ac_executable_extensions; do
27096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27097 ac_cv_prog_DEREZ="DeRez"
27098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27104 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27107 DEREZ=$ac_cv_prog_DEREZ
27108 if test -n "$DEREZ"; then
27109 echo "$as_me:$LINENO: result: $DEREZ" >&5
27110 echo "${ECHO_T}$DEREZ" >&6
27112 echo "$as_me:$LINENO: result: no" >&5
27113 echo "${ECHO_T}no" >&6
27116 # Extract the first word of "SetFile", so it can be a program name with args.
27117 set dummy SetFile; ac_word=$2
27118 echo "$as_me:$LINENO: checking for $ac_word" >&5
27119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27120 if test "${ac_cv_prog_SETFILE+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27123 if test -n "$SETFILE"; then
27124 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27127 for as_dir in $PATH
27130 test -z "$as_dir" && as_dir=.
27131 for ac_exec_ext in '' $ac_executable_extensions; do
27132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27133 ac_cv_prog_SETFILE="SetFile"
27134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27140 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27143 SETFILE=$ac_cv_prog_SETFILE
27144 if test -n "$SETFILE"; then
27145 echo "$as_me:$LINENO: result: $SETFILE" >&5
27146 echo "${ECHO_T}$SETFILE" >&6
27148 echo "$as_me:$LINENO: result: no" >&5
27149 echo "${ECHO_T}no" >&6
27153 MACSETFILE="\$(SETFILE)"
27155 if test "$wxUSE_MAC" = 1; then
27156 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27158 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27160 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27161 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27167 if test "$wxUSE_PM" = 1; then
27168 MACRESCOMP="emxbind -ep"
27176 echo "$as_me:$LINENO: checking for mode_t" >&5
27177 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27178 if test "${ac_cv_type_mode_t+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 cat >conftest.$ac_ext <<_ACEOF
27182 #line $LINENO "configure"
27185 cat confdefs.h >>conftest.$ac_ext
27186 cat >>conftest.$ac_ext <<_ACEOF
27187 /* end confdefs.h. */
27188 $ac_includes_default
27194 if (sizeof (mode_t))
27200 rm -f conftest.$ac_objext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27202 (eval $ac_compile) 2>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try='test -s conftest.$ac_objext'
27207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27208 (eval $ac_try) 2>&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); }; }; then
27212 ac_cv_type_mode_t=yes
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.$ac_ext >&5
27217 ac_cv_type_mode_t=no
27219 rm -f conftest.$ac_objext conftest.$ac_ext
27221 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27222 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27223 if test $ac_cv_type_mode_t = yes; then
27227 cat >>confdefs.h <<_ACEOF
27233 echo "$as_me:$LINENO: checking for off_t" >&5
27234 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27235 if test "${ac_cv_type_off_t+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27238 cat >conftest.$ac_ext <<_ACEOF
27239 #line $LINENO "configure"
27242 cat confdefs.h >>conftest.$ac_ext
27243 cat >>conftest.$ac_ext <<_ACEOF
27244 /* end confdefs.h. */
27245 $ac_includes_default
27251 if (sizeof (off_t))
27257 rm -f conftest.$ac_objext
27258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27259 (eval $ac_compile) 2>&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } &&
27263 { ac_try='test -s conftest.$ac_objext'
27264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27265 (eval $ac_try) 2>&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); }; }; then
27269 ac_cv_type_off_t=yes
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27274 ac_cv_type_off_t=no
27276 rm -f conftest.$ac_objext conftest.$ac_ext
27278 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27279 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27280 if test $ac_cv_type_off_t = yes; then
27284 cat >>confdefs.h <<_ACEOF
27290 echo "$as_me:$LINENO: checking for pid_t" >&5
27291 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27292 if test "${ac_cv_type_pid_t+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 cat >conftest.$ac_ext <<_ACEOF
27296 #line $LINENO "configure"
27299 cat confdefs.h >>conftest.$ac_ext
27300 cat >>conftest.$ac_ext <<_ACEOF
27301 /* end confdefs.h. */
27302 $ac_includes_default
27308 if (sizeof (pid_t))
27314 rm -f conftest.$ac_objext
27315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27316 (eval $ac_compile) 2>&5
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); } &&
27320 { ac_try='test -s conftest.$ac_objext'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; }; then
27326 ac_cv_type_pid_t=yes
27328 echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27331 ac_cv_type_pid_t=no
27333 rm -f conftest.$ac_objext conftest.$ac_ext
27335 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27336 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27337 if test $ac_cv_type_pid_t = yes; then
27341 cat >>confdefs.h <<_ACEOF
27347 echo "$as_me:$LINENO: checking for size_t" >&5
27348 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27349 if test "${ac_cv_type_size_t+set}" = set; then
27350 echo $ECHO_N "(cached) $ECHO_C" >&6
27352 cat >conftest.$ac_ext <<_ACEOF
27353 #line $LINENO "configure"
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359 $ac_includes_default
27365 if (sizeof (size_t))
27371 rm -f conftest.$ac_objext
27372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27373 (eval $ac_compile) 2>&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } &&
27377 { ac_try='test -s conftest.$ac_objext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 ac_cv_type_size_t=yes
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27388 ac_cv_type_size_t=no
27390 rm -f conftest.$ac_objext conftest.$ac_ext
27392 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27393 echo "${ECHO_T}$ac_cv_type_size_t" >&6
27394 if test $ac_cv_type_size_t = yes; then
27398 cat >>confdefs.h <<_ACEOF
27399 #define size_t unsigned
27404 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
27405 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
27406 if test "${ac_cv_type_uid_t+set}" = set; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 cat >conftest.$ac_ext <<_ACEOF
27410 #line $LINENO "configure"
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416 #include <sys/types.h>
27419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27420 $EGREP "uid_t" >/dev/null 2>&1; then
27421 ac_cv_type_uid_t=yes
27423 ac_cv_type_uid_t=no
27428 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
27429 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
27430 if test $ac_cv_type_uid_t = no; then
27432 cat >>confdefs.h <<\_ACEOF
27437 cat >>confdefs.h <<\_ACEOF
27447 ac_cpp='$CXXCPP $CPPFLAGS'
27448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27452 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27453 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27454 if test "${wx_cv_size_t_is_uint+set}" = set; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27458 cat >conftest.$ac_ext <<_ACEOF
27459 #line $LINENO "configure"
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465 #include <stddef.h>
27472 struct Foo { void foo(size_t); void foo(unsigned int); };
27480 rm -f conftest.$ac_objext
27481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27482 (eval $ac_compile) 2>&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } &&
27486 { ac_try='test -s conftest.$ac_objext'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; }; then
27492 wx_cv_size_t_is_uint=no
27494 echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.$ac_ext >&5
27497 wx_cv_size_t_is_uint=yes
27500 rm -f conftest.$ac_objext conftest.$ac_ext
27504 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27505 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27507 if test "$wx_cv_size_t_is_uint" = "yes"; then
27508 cat >>confdefs.h <<\_ACEOF
27509 #define wxSIZE_T_IS_UINT 1
27513 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27514 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27515 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27518 cat >conftest.$ac_ext <<_ACEOF
27519 #line $LINENO "configure"
27522 cat confdefs.h >>conftest.$ac_ext
27523 cat >>conftest.$ac_ext <<_ACEOF
27524 /* end confdefs.h. */
27525 #include <stddef.h>
27532 struct Foo { void foo(size_t); void foo(unsigned long); };
27540 rm -f conftest.$ac_objext
27541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27542 (eval $ac_compile) 2>&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } &&
27546 { ac_try='test -s conftest.$ac_objext'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 wx_cv_size_t_is_ulong=no
27554 echo "$as_me: failed program was:" >&5
27555 sed 's/^/| /' conftest.$ac_ext >&5
27557 wx_cv_size_t_is_ulong=yes
27560 rm -f conftest.$ac_objext conftest.$ac_ext
27563 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27564 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27566 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27567 cat >>confdefs.h <<\_ACEOF
27568 #define wxSIZE_T_IS_ULONG 1
27575 ac_cpp='$CPP $CPPFLAGS'
27576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27582 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
27583 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
27584 if test "${wx_cv_struct_pw_gecos+set}" = set; then
27585 echo $ECHO_N "(cached) $ECHO_C" >&6
27588 cat >conftest.$ac_ext <<_ACEOF
27589 #line $LINENO "configure"
27592 cat confdefs.h >>conftest.$ac_ext
27593 cat >>conftest.$ac_ext <<_ACEOF
27594 /* end confdefs.h. */
27608 rm -f conftest.$ac_objext
27609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27610 (eval $ac_compile) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); } &&
27614 { ac_try='test -s conftest.$ac_objext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27621 wx_cv_struct_pw_gecos=yes
27624 echo "$as_me: failed program was:" >&5
27625 sed 's/^/| /' conftest.$ac_ext >&5
27628 wx_cv_struct_pw_gecos=no
27632 rm -f conftest.$ac_objext conftest.$ac_ext
27636 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
27637 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
27639 if test "$wx_cv_struct_pw_gecos" = "yes"; then
27640 cat >>confdefs.h <<\_ACEOF
27641 #define HAVE_PW_GECOS 1
27647 if test "$wx_cv_sizeof_wchar_t" != "0"; then
27648 cat >>confdefs.h <<\_ACEOF
27649 #define wxUSE_WCHAR_T 1
27656 for ac_func in wcslen
27658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27659 echo "$as_me:$LINENO: checking for $ac_func" >&5
27660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27661 if eval "test \"\${$as_ac_var+set}\" = set"; then
27662 echo $ECHO_N "(cached) $ECHO_C" >&6
27664 cat >conftest.$ac_ext <<_ACEOF
27665 #line $LINENO "configure"
27668 cat confdefs.h >>conftest.$ac_ext
27669 cat >>conftest.$ac_ext <<_ACEOF
27670 /* end confdefs.h. */
27671 /* System header to define __stub macros and hopefully few prototypes,
27672 which can conflict with char $ac_func (); below.
27673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27674 <limits.h> exists even on freestanding compilers. */
27676 # include <limits.h>
27678 # include <assert.h>
27680 /* Override any gcc2 internal prototype to avoid an error. */
27685 /* We use char because int might match the return type of a gcc2
27686 builtin and then its argument prototype would still apply. */
27688 /* The GNU C library defines this for functions which it implements
27689 to always fail with ENOSYS. Some functions are actually named
27690 something starting with __ and the normal name is an alias. */
27691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27694 char (*f) () = $ac_func;
27703 return f != $ac_func;
27708 rm -f conftest.$ac_objext conftest$ac_exeext
27709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27710 (eval $ac_link) 2>&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } &&
27714 { ac_try='test -s conftest$ac_exeext'
27715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27716 (eval $ac_try) 2>&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); }; }; then
27720 eval "$as_ac_var=yes"
27722 echo "$as_me: failed program was:" >&5
27723 sed 's/^/| /' conftest.$ac_ext >&5
27725 eval "$as_ac_var=no"
27727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27731 if test `eval echo '${'$as_ac_var'}'` = yes; then
27732 cat >>confdefs.h <<_ACEOF
27733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27740 if test "$WCSLEN_FOUND" = 0; then
27741 if test "$TOOLKIT" = "MSW"; then
27742 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
27743 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
27744 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 ac_check_lib_save_LIBS=$LIBS
27748 LIBS="-lmsvcrt $LIBS"
27749 cat >conftest.$ac_ext <<_ACEOF
27750 #line $LINENO "configure"
27753 cat confdefs.h >>conftest.$ac_ext
27754 cat >>conftest.$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27757 /* Override any gcc2 internal prototype to avoid an error. */
27761 /* We use char because int might match the return type of a gcc2
27762 builtin and then its argument prototype would still apply. */
27772 rm -f conftest.$ac_objext conftest$ac_exeext
27773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27774 (eval $ac_link) 2>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } &&
27778 { ac_try='test -s conftest$ac_exeext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27784 ac_cv_lib_msvcrt_wcslen=yes
27786 echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27789 ac_cv_lib_msvcrt_wcslen=no
27791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27792 LIBS=$ac_check_lib_save_LIBS
27794 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
27795 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
27796 if test $ac_cv_lib_msvcrt_wcslen = yes; then
27801 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
27802 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
27803 if test "${ac_cv_lib_w_wcslen+set}" = set; then
27804 echo $ECHO_N "(cached) $ECHO_C" >&6
27806 ac_check_lib_save_LIBS=$LIBS
27808 cat >conftest.$ac_ext <<_ACEOF
27809 #line $LINENO "configure"
27812 cat confdefs.h >>conftest.$ac_ext
27813 cat >>conftest.$ac_ext <<_ACEOF
27814 /* end confdefs.h. */
27816 /* Override any gcc2 internal prototype to avoid an error. */
27820 /* We use char because int might match the return type of a gcc2
27821 builtin and then its argument prototype would still apply. */
27831 rm -f conftest.$ac_objext conftest$ac_exeext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27833 (eval $ac_link) 2>&5
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); } &&
27837 { ac_try='test -s conftest$ac_exeext'
27838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27839 (eval $ac_try) 2>&5
27841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27842 (exit $ac_status); }; }; then
27843 ac_cv_lib_w_wcslen=yes
27845 echo "$as_me: failed program was:" >&5
27846 sed 's/^/| /' conftest.$ac_ext >&5
27848 ac_cv_lib_w_wcslen=no
27850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27851 LIBS=$ac_check_lib_save_LIBS
27853 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
27854 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
27855 if test $ac_cv_lib_w_wcslen = yes; then
27865 if test "$WCSLEN_FOUND" = 1; then
27866 cat >>confdefs.h <<\_ACEOF
27867 #define HAVE_WCSLEN 1
27872 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
27873 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
27877 for ac_func in wcsrtombs
27879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27880 echo "$as_me:$LINENO: checking for $ac_func" >&5
27881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27882 if eval "test \"\${$as_ac_var+set}\" = set"; then
27883 echo $ECHO_N "(cached) $ECHO_C" >&6
27885 cat >conftest.$ac_ext <<_ACEOF
27886 #line $LINENO "configure"
27889 cat confdefs.h >>conftest.$ac_ext
27890 cat >>conftest.$ac_ext <<_ACEOF
27891 /* end confdefs.h. */
27892 /* System header to define __stub macros and hopefully few prototypes,
27893 which can conflict with char $ac_func (); below.
27894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27895 <limits.h> exists even on freestanding compilers. */
27897 # include <limits.h>
27899 # include <assert.h>
27901 /* Override any gcc2 internal prototype to avoid an error. */
27906 /* We use char because int might match the return type of a gcc2
27907 builtin and then its argument prototype would still apply. */
27909 /* The GNU C library defines this for functions which it implements
27910 to always fail with ENOSYS. Some functions are actually named
27911 something starting with __ and the normal name is an alias. */
27912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27915 char (*f) () = $ac_func;
27924 return f != $ac_func;
27929 rm -f conftest.$ac_objext conftest$ac_exeext
27930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27931 (eval $ac_link) 2>&5
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } &&
27935 { ac_try='test -s conftest$ac_exeext'
27936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27937 (eval $ac_try) 2>&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); }; }; then
27941 eval "$as_ac_var=yes"
27943 echo "$as_me: failed program was:" >&5
27944 sed 's/^/| /' conftest.$ac_ext >&5
27946 eval "$as_ac_var=no"
27948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27952 if test `eval echo '${'$as_ac_var'}'` = yes; then
27953 cat >>confdefs.h <<_ACEOF
27954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27961 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
27962 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
27968 ac_cpp='$CXXCPP $CPPFLAGS'
27969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27975 for ac_func in vsnprintf
27977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27978 echo "$as_me:$LINENO: checking for $ac_func" >&5
27979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27980 if eval "test \"\${$as_ac_var+set}\" = set"; then
27981 echo $ECHO_N "(cached) $ECHO_C" >&6
27983 cat >conftest.$ac_ext <<_ACEOF
27984 #line $LINENO "configure"
27987 cat confdefs.h >>conftest.$ac_ext
27988 cat >>conftest.$ac_ext <<_ACEOF
27989 /* end confdefs.h. */
27990 /* System header to define __stub macros and hopefully few prototypes,
27991 which can conflict with char $ac_func (); below.
27992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27993 <limits.h> exists even on freestanding compilers. */
27995 # include <limits.h>
27997 # include <assert.h>
27999 /* Override any gcc2 internal prototype to avoid an error. */
28004 /* We use char because int might match the return type of a gcc2
28005 builtin and then its argument prototype would still apply. */
28007 /* The GNU C library defines this for functions which it implements
28008 to always fail with ENOSYS. Some functions are actually named
28009 something starting with __ and the normal name is an alias. */
28010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28013 char (*f) () = $ac_func;
28022 return f != $ac_func;
28027 rm -f conftest.$ac_objext conftest$ac_exeext
28028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28029 (eval $ac_link) 2>&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try='test -s conftest$ac_exeext'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28039 eval "$as_ac_var=yes"
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28044 eval "$as_ac_var=no"
28046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28050 if test `eval echo '${'$as_ac_var'}'` = yes; then
28051 cat >>confdefs.h <<_ACEOF
28052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28059 if test "$ac_cv_func_vsnprintf" = "yes"; then
28060 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28061 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28062 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28066 cat >conftest.$ac_ext <<_ACEOF
28067 #line $LINENO "configure"
28070 cat confdefs.h >>conftest.$ac_ext
28071 cat >>conftest.$ac_ext <<_ACEOF
28072 /* end confdefs.h. */
28075 #include <stdarg.h>
28083 vsnprintf(buf, 10u, "%s", ap);
28089 rm -f conftest.$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } &&
28095 { ac_try='test -s conftest.$ac_objext'
28096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28097 (eval $ac_try) 2>&5
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); }; }; then
28101 wx_cv_func_vsnprintf_decl=yes
28103 echo "$as_me: failed program was:" >&5
28104 sed 's/^/| /' conftest.$ac_ext >&5
28106 wx_cv_func_vsnprintf_decl=no
28109 rm -f conftest.$ac_objext conftest.$ac_ext
28113 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28114 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28116 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28117 cat >>confdefs.h <<\_ACEOF
28118 #define HAVE_VSNPRINTF_DECL 1
28124 if test "$wxUSE_UNICODE" = yes; then
28128 for ac_func in fputwc wprintf vswprintf
28130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28131 echo "$as_me:$LINENO: checking for $ac_func" >&5
28132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28133 if eval "test \"\${$as_ac_var+set}\" = set"; then
28134 echo $ECHO_N "(cached) $ECHO_C" >&6
28136 cat >conftest.$ac_ext <<_ACEOF
28137 #line $LINENO "configure"
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28143 /* System header to define __stub macros and hopefully few prototypes,
28144 which can conflict with char $ac_func (); below.
28145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28146 <limits.h> exists even on freestanding compilers. */
28148 # include <limits.h>
28150 # include <assert.h>
28152 /* Override any gcc2 internal prototype to avoid an error. */
28157 /* We use char because int might match the return type of a gcc2
28158 builtin and then its argument prototype would still apply. */
28160 /* The GNU C library defines this for functions which it implements
28161 to always fail with ENOSYS. Some functions are actually named
28162 something starting with __ and the normal name is an alias. */
28163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28166 char (*f) () = $ac_func;
28175 return f != $ac_func;
28180 rm -f conftest.$ac_objext conftest$ac_exeext
28181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28182 (eval $ac_link) 2>&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } &&
28186 { ac_try='test -s conftest$ac_exeext'
28187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28188 (eval $ac_try) 2>&5
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); }; }; then
28192 eval "$as_ac_var=yes"
28194 echo "$as_me: failed program was:" >&5
28195 sed 's/^/| /' conftest.$ac_ext >&5
28197 eval "$as_ac_var=no"
28199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28203 if test `eval echo '${'$as_ac_var'}'` = yes; then
28204 cat >>confdefs.h <<_ACEOF
28205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28212 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28213 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28214 cat >conftest.$ac_ext <<_ACEOF
28215 #line $LINENO "configure"
28218 cat confdefs.h >>conftest.$ac_ext
28219 cat >>conftest.$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28230 rm -f conftest.$ac_objext
28231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28232 (eval $ac_compile) 2>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } &&
28236 { ac_try='test -s conftest.$ac_objext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 echo "$as_me:$LINENO: result: yes" >&5
28243 echo "${ECHO_T}yes" >&6
28244 cat >>confdefs.h <<\_ACEOF
28245 #define HAVE__VSNWPRINTF 1
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.$ac_ext >&5
28252 echo "$as_me:$LINENO: result: no" >&5
28253 echo "${ECHO_T}no" >&6
28255 rm -f conftest.$ac_objext conftest.$ac_ext;
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28267 if test "$TOOLKIT" != "MSW"; then
28273 ac_cpp='$CXXCPP $CPPFLAGS'
28274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28281 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28282 if test "${with_libiconv_prefix+set}" = set; then
28283 withval="$with_libiconv_prefix"
28285 for dir in `echo "$withval" | tr : ' '`; do
28286 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
28287 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
28292 echo "$as_me:$LINENO: checking for iconv" >&5
28293 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28294 if test "${am_cv_func_iconv+set}" = set; then
28295 echo $ECHO_N "(cached) $ECHO_C" >&6
28298 am_cv_func_iconv="no, consider installing GNU libiconv"
28300 cat >conftest.$ac_ext <<_ACEOF
28301 #line $LINENO "configure"
28304 cat confdefs.h >>conftest.$ac_ext
28305 cat >>conftest.$ac_ext <<_ACEOF
28306 /* end confdefs.h. */
28307 #include <stdlib.h>
28312 iconv_t cd = iconv_open("","");
28313 iconv(cd,NULL,NULL,NULL,NULL);
28319 rm -f conftest.$ac_objext conftest$ac_exeext
28320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28321 (eval $ac_link) 2>&5
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); } &&
28325 { ac_try='test -s conftest$ac_exeext'
28326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 (eval $ac_try) 2>&5
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); }; }; then
28331 am_cv_func_iconv=yes
28333 echo "$as_me: failed program was:" >&5
28334 sed 's/^/| /' conftest.$ac_ext >&5
28337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28338 if test "$am_cv_func_iconv" != yes; then
28339 am_save_LIBS="$LIBS"
28340 LIBS="$LIBS -liconv"
28341 cat >conftest.$ac_ext <<_ACEOF
28342 #line $LINENO "configure"
28345 cat confdefs.h >>conftest.$ac_ext
28346 cat >>conftest.$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28348 #include <stdlib.h>
28353 iconv_t cd = iconv_open("","");
28354 iconv(cd,NULL,NULL,NULL,NULL);
28360 rm -f conftest.$ac_objext conftest$ac_exeext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28362 (eval $ac_link) 2>&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); } &&
28366 { ac_try='test -s conftest$ac_exeext'
28367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28368 (eval $ac_try) 2>&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); }; }; then
28372 am_cv_lib_iconv=yes
28373 am_cv_func_iconv=yes
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28380 LIBS="$am_save_LIBS"
28384 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28385 echo "${ECHO_T}$am_cv_func_iconv" >&6
28386 if test "$am_cv_func_iconv" = yes; then
28388 cat >>confdefs.h <<\_ACEOF
28389 #define HAVE_ICONV 1
28392 echo "$as_me:$LINENO: checking if iconv needs const" >&5
28393 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
28394 if test "${wx_cv_func_iconv_const+set}" = set; then
28395 echo $ECHO_N "(cached) $ECHO_C" >&6
28397 cat >conftest.$ac_ext <<_ACEOF
28398 #line $LINENO "configure"
28401 cat confdefs.h >>conftest.$ac_ext
28402 cat >>conftest.$ac_ext <<_ACEOF
28403 /* end confdefs.h. */
28405 #include <stdlib.h>
28411 #if defined(__STDC__) || defined(__cplusplus)
28412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28425 rm -f conftest.$ac_objext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28427 (eval $ac_compile) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } &&
28431 { ac_try='test -s conftest.$ac_objext'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 wx_cv_func_iconv_const="no"
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.$ac_ext >&5
28442 wx_cv_func_iconv_const="yes"
28445 rm -f conftest.$ac_objext conftest.$ac_ext
28448 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
28449 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
28452 if test "x$wx_cv_func_iconv_const" = "xyes"; then
28453 iconv_const="const"
28457 cat >>confdefs.h <<_ACEOF
28458 #define ICONV_CONST $iconv_const
28463 if test "$am_cv_lib_iconv" = yes; then
28468 LIBS="$LIBICONV $LIBS"
28470 ac_cpp='$CPP $CPPFLAGS'
28471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28476 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
28478 for ac_func in sigaction
28480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28481 echo "$as_me:$LINENO: checking for $ac_func" >&5
28482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28483 if eval "test \"\${$as_ac_var+set}\" = set"; then
28484 echo $ECHO_N "(cached) $ECHO_C" >&6
28486 cat >conftest.$ac_ext <<_ACEOF
28487 #line $LINENO "configure"
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493 /* System header to define __stub macros and hopefully few prototypes,
28494 which can conflict with char $ac_func (); below.
28495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28496 <limits.h> exists even on freestanding compilers. */
28498 # include <limits.h>
28500 # include <assert.h>
28502 /* Override any gcc2 internal prototype to avoid an error. */
28507 /* We use char because int might match the return type of a gcc2
28508 builtin and then its argument prototype would still apply. */
28510 /* The GNU C library defines this for functions which it implements
28511 to always fail with ENOSYS. Some functions are actually named
28512 something starting with __ and the normal name is an alias. */
28513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28516 char (*f) () = $ac_func;
28525 return f != $ac_func;
28530 rm -f conftest.$ac_objext conftest$ac_exeext
28531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28532 (eval $ac_link) 2>&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } &&
28536 { ac_try='test -s conftest$ac_exeext'
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; }; then
28542 eval "$as_ac_var=yes"
28544 echo "$as_me: failed program was:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28547 eval "$as_ac_var=no"
28549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28553 if test `eval echo '${'$as_ac_var'}'` = yes; then
28554 cat >>confdefs.h <<_ACEOF
28555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28562 if test "$ac_cv_func_sigaction" = "no"; then
28563 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
28564 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
28565 wxUSE_ON_FATAL_EXCEPTION=no
28568 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28578 echo "$as_me:$LINENO: checking for sa_handler type" >&5
28579 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
28580 if test "${wx_cv_type_sa_handler+set}" = set; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28584 cat >conftest.$ac_ext <<_ACEOF
28585 #line $LINENO "configure"
28588 cat confdefs.h >>conftest.$ac_ext
28589 cat >>conftest.$ac_ext <<_ACEOF
28590 /* end confdefs.h. */
28591 #include <signal.h>
28596 extern void testSigHandler(int);
28598 struct sigaction sa;
28599 sa.sa_handler = testSigHandler;
28605 rm -f conftest.$ac_objext
28606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28607 (eval $ac_compile) 2>&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -s conftest.$ac_objext'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; }; then
28618 wx_cv_type_sa_handler=int
28621 echo "$as_me: failed program was:" >&5
28622 sed 's/^/| /' conftest.$ac_ext >&5
28625 wx_cv_type_sa_handler=void
28628 rm -f conftest.$ac_objext conftest.$ac_ext
28631 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
28632 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28641 cat >>confdefs.h <<_ACEOF
28642 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
28650 for ac_func in mkstemp mktemp
28652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28653 echo "$as_me:$LINENO: checking for $ac_func" >&5
28654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28655 if eval "test \"\${$as_ac_var+set}\" = set"; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28658 cat >conftest.$ac_ext <<_ACEOF
28659 #line $LINENO "configure"
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28665 /* System header to define __stub macros and hopefully few prototypes,
28666 which can conflict with char $ac_func (); below.
28667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28668 <limits.h> exists even on freestanding compilers. */
28670 # include <limits.h>
28672 # include <assert.h>
28674 /* Override any gcc2 internal prototype to avoid an error. */
28679 /* We use char because int might match the return type of a gcc2
28680 builtin and then its argument prototype would still apply. */
28682 /* The GNU C library defines this for functions which it implements
28683 to always fail with ENOSYS. Some functions are actually named
28684 something starting with __ and the normal name is an alias. */
28685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28688 char (*f) () = $ac_func;
28697 return f != $ac_func;
28702 rm -f conftest.$ac_objext conftest$ac_exeext
28703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28704 (eval $ac_link) 2>&5
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); } &&
28708 { ac_try='test -s conftest$ac_exeext'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; }; then
28714 eval "$as_ac_var=yes"
28716 echo "$as_me: failed program was:" >&5
28717 sed 's/^/| /' conftest.$ac_ext >&5
28719 eval "$as_ac_var=no"
28721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28725 if test `eval echo '${'$as_ac_var'}'` = yes; then
28726 cat >>confdefs.h <<_ACEOF
28727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28734 echo "$as_me:$LINENO: checking for statfs" >&5
28735 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
28736 if test "${wx_cv_func_statfs+set}" = set; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28739 cat >conftest.$ac_ext <<_ACEOF
28740 #line $LINENO "configure"
28743 cat confdefs.h >>conftest.$ac_ext
28744 cat >>conftest.$ac_ext <<_ACEOF
28745 /* end confdefs.h. */
28747 #if defined(__BSD__)
28748 #include <sys/param.h>
28749 #include <sys/mount.h>
28751 #include <sys/vfs.h>
28769 rm -f conftest.$ac_objext
28770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28771 (eval $ac_compile) 2>&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } &&
28775 { ac_try='test -s conftest.$ac_objext'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; }; then
28782 wx_cv_func_statfs=yes
28785 echo "$as_me: failed program was:" >&5
28786 sed 's/^/| /' conftest.$ac_ext >&5
28789 wx_cv_func_statfs=no
28793 rm -f conftest.$ac_objext conftest.$ac_ext
28796 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
28797 echo "${ECHO_T}$wx_cv_func_statfs" >&6
28799 if test "$wx_cv_func_statfs" = "yes"; then
28800 wx_cv_type_statvfs_t="struct statfs"
28801 cat >>confdefs.h <<\_ACEOF
28802 #define HAVE_STATFS 1
28806 echo "$as_me:$LINENO: checking for statvfs" >&5
28807 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
28808 if test "${wx_cv_func_statvfs+set}" = set; then
28809 echo $ECHO_N "(cached) $ECHO_C" >&6
28811 cat >conftest.$ac_ext <<_ACEOF
28812 #line $LINENO "configure"
28815 cat confdefs.h >>conftest.$ac_ext
28816 cat >>conftest.$ac_ext <<_ACEOF
28817 /* end confdefs.h. */
28819 #include <stddef.h>
28820 #include <sys/statvfs.h>
28826 statvfs("/", NULL);
28832 rm -f conftest.$ac_objext
28833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28834 (eval $ac_compile) 2>&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -s conftest.$ac_objext'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; }; then
28844 wx_cv_func_statvfs=yes
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.$ac_ext >&5
28849 wx_cv_func_statvfs=no
28852 rm -f conftest.$ac_objext conftest.$ac_ext
28855 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
28856 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
28858 if test "$wx_cv_func_statvfs" = "yes"; then
28862 ac_cpp='$CXXCPP $CPPFLAGS'
28863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28868 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
28869 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
28870 if test "${wx_cv_type_statvfs_t+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28873 cat >conftest.$ac_ext <<_ACEOF
28874 #line $LINENO "configure"
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28881 #include <sys/statvfs.h>
28898 rm -f conftest.$ac_objext
28899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28900 (eval $ac_compile) 2>&5
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); } &&
28904 { ac_try='test -s conftest.$ac_objext'
28905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906 (eval $ac_try) 2>&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); }; }; then
28910 wx_cv_type_statvfs_t=statvfs_t
28912 echo "$as_me: failed program was:" >&5
28913 sed 's/^/| /' conftest.$ac_ext >&5
28916 cat >conftest.$ac_ext <<_ACEOF
28917 #line $LINENO "configure"
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28924 #include <sys/statvfs.h>
28941 rm -f conftest.$ac_objext
28942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28943 (eval $ac_compile) 2>&5
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); } &&
28947 { ac_try='test -s conftest.$ac_objext'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; }; then
28953 wx_cv_type_statvfs_t="struct statvfs"
28955 echo "$as_me: failed program was:" >&5
28956 sed 's/^/| /' conftest.$ac_ext >&5
28958 wx_cv_type_statvfs_t="unknown"
28961 rm -f conftest.$ac_objext conftest.$ac_ext
28965 rm -f conftest.$ac_objext conftest.$ac_ext
28968 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
28969 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
28972 ac_cpp='$CPP $CPPFLAGS'
28973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28978 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28979 cat >>confdefs.h <<\_ACEOF
28980 #define HAVE_STATVFS 1
28985 wx_cv_type_statvfs_t="unknown"
28989 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28990 cat >>confdefs.h <<_ACEOF
28991 #define WX_STATFS_T $wx_cv_type_statvfs_t
28995 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
28996 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
28999 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29002 for ac_func in fcntl flock
29004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29005 echo "$as_me:$LINENO: checking for $ac_func" >&5
29006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29007 if eval "test \"\${$as_ac_var+set}\" = set"; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29010 cat >conftest.$ac_ext <<_ACEOF
29011 #line $LINENO "configure"
29014 cat confdefs.h >>conftest.$ac_ext
29015 cat >>conftest.$ac_ext <<_ACEOF
29016 /* end confdefs.h. */
29017 /* System header to define __stub macros and hopefully few prototypes,
29018 which can conflict with char $ac_func (); below.
29019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29020 <limits.h> exists even on freestanding compilers. */
29022 # include <limits.h>
29024 # include <assert.h>
29026 /* Override any gcc2 internal prototype to avoid an error. */
29031 /* We use char because int might match the return type of a gcc2
29032 builtin and then its argument prototype would still apply. */
29034 /* The GNU C library defines this for functions which it implements
29035 to always fail with ENOSYS. Some functions are actually named
29036 something starting with __ and the normal name is an alias. */
29037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29040 char (*f) () = $ac_func;
29049 return f != $ac_func;
29054 rm -f conftest.$ac_objext conftest$ac_exeext
29055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29056 (eval $ac_link) 2>&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); } &&
29060 { ac_try='test -s conftest$ac_exeext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 eval "$as_ac_var=yes"
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.$ac_ext >&5
29071 eval "$as_ac_var=no"
29073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29077 if test `eval echo '${'$as_ac_var'}'` = yes; then
29078 cat >>confdefs.h <<_ACEOF
29079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29086 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29087 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29088 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29089 wxUSE_SNGLINST_CHECKER=no
29094 for ac_func in timegm
29096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29097 echo "$as_me:$LINENO: checking for $ac_func" >&5
29098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29099 if eval "test \"\${$as_ac_var+set}\" = set"; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29102 cat >conftest.$ac_ext <<_ACEOF
29103 #line $LINENO "configure"
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109 /* System header to define __stub macros and hopefully few prototypes,
29110 which can conflict with char $ac_func (); below.
29111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29112 <limits.h> exists even on freestanding compilers. */
29114 # include <limits.h>
29116 # include <assert.h>
29118 /* Override any gcc2 internal prototype to avoid an error. */
29123 /* We use char because int might match the return type of a gcc2
29124 builtin and then its argument prototype would still apply. */
29126 /* The GNU C library defines this for functions which it implements
29127 to always fail with ENOSYS. Some functions are actually named
29128 something starting with __ and the normal name is an alias. */
29129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29132 char (*f) () = $ac_func;
29141 return f != $ac_func;
29146 rm -f conftest.$ac_objext conftest$ac_exeext
29147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29148 (eval $ac_link) 2>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); } &&
29152 { ac_try='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29163 eval "$as_ac_var=no"
29165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29169 if test `eval echo '${'$as_ac_var'}'` = yes; then
29170 cat >>confdefs.h <<_ACEOF
29171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29180 for ac_func in putenv setenv
29182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29183 echo "$as_me:$LINENO: checking for $ac_func" >&5
29184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29185 if eval "test \"\${$as_ac_var+set}\" = set"; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 cat >conftest.$ac_ext <<_ACEOF
29189 #line $LINENO "configure"
29192 cat confdefs.h >>conftest.$ac_ext
29193 cat >>conftest.$ac_ext <<_ACEOF
29194 /* end confdefs.h. */
29195 /* System header to define __stub macros and hopefully few prototypes,
29196 which can conflict with char $ac_func (); below.
29197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29198 <limits.h> exists even on freestanding compilers. */
29200 # include <limits.h>
29202 # include <assert.h>
29204 /* Override any gcc2 internal prototype to avoid an error. */
29209 /* We use char because int might match the return type of a gcc2
29210 builtin and then its argument prototype would still apply. */
29212 /* The GNU C library defines this for functions which it implements
29213 to always fail with ENOSYS. Some functions are actually named
29214 something starting with __ and the normal name is an alias. */
29215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29218 char (*f) () = $ac_func;
29227 return f != $ac_func;
29232 rm -f conftest.$ac_objext conftest$ac_exeext
29233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29234 (eval $ac_link) 2>&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } &&
29238 { ac_try='test -s conftest$ac_exeext'
29239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29240 (eval $ac_try) 2>&5
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); }; }; then
29244 eval "$as_ac_var=yes"
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29249 eval "$as_ac_var=no"
29251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29255 if test `eval echo '${'$as_ac_var'}'` = yes; then
29256 cat >>confdefs.h <<_ACEOF
29257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29264 HAVE_SOME_SLEEP_FUNC=0
29265 if test "$USE_BEOS" = 1; then
29266 cat >>confdefs.h <<\_ACEOF
29267 #define HAVE_SLEEP 1
29270 HAVE_SOME_SLEEP_FUNC=1
29273 if test "$USE_DARWIN" = 1; then
29274 cat >>confdefs.h <<\_ACEOF
29275 #define HAVE_USLEEP 1
29278 HAVE_SOME_SLEEP_FUNC=1
29281 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
29284 for ac_func in nanosleep
29286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29287 echo "$as_me:$LINENO: checking for $ac_func" >&5
29288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29289 if eval "test \"\${$as_ac_var+set}\" = set"; then
29290 echo $ECHO_N "(cached) $ECHO_C" >&6
29292 cat >conftest.$ac_ext <<_ACEOF
29293 #line $LINENO "configure"
29296 cat confdefs.h >>conftest.$ac_ext
29297 cat >>conftest.$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29299 /* System header to define __stub macros and hopefully few prototypes,
29300 which can conflict with char $ac_func (); below.
29301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29302 <limits.h> exists even on freestanding compilers. */
29304 # include <limits.h>
29306 # include <assert.h>
29308 /* Override any gcc2 internal prototype to avoid an error. */
29313 /* We use char because int might match the return type of a gcc2
29314 builtin and then its argument prototype would still apply. */
29316 /* The GNU C library defines this for functions which it implements
29317 to always fail with ENOSYS. Some functions are actually named
29318 something starting with __ and the normal name is an alias. */
29319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29322 char (*f) () = $ac_func;
29331 return f != $ac_func;
29336 rm -f conftest.$ac_objext conftest$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 eval "$as_ac_var=yes"
29350 echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.$ac_ext >&5
29353 eval "$as_ac_var=no"
29355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29359 if test `eval echo '${'$as_ac_var'}'` = yes; then
29360 cat >>confdefs.h <<_ACEOF
29361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29363 cat >>confdefs.h <<\_ACEOF
29364 #define HAVE_NANOSLEEP 1
29369 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
29370 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
29371 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
29372 echo $ECHO_N "(cached) $ECHO_C" >&6
29374 ac_check_lib_save_LIBS=$LIBS
29375 LIBS="-lposix4 $LIBS"
29376 cat >conftest.$ac_ext <<_ACEOF
29377 #line $LINENO "configure"
29380 cat confdefs.h >>conftest.$ac_ext
29381 cat >>conftest.$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29384 /* Override any gcc2 internal prototype to avoid an error. */
29388 /* We use char because int might match the return type of a gcc2
29389 builtin and then its argument prototype would still apply. */
29399 rm -f conftest.$ac_objext conftest$ac_exeext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29401 (eval $ac_link) 2>&5
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); } &&
29405 { ac_try='test -s conftest$ac_exeext'
29406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29407 (eval $ac_try) 2>&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); }; }; then
29411 ac_cv_lib_posix4_nanosleep=yes
29413 echo "$as_me: failed program was:" >&5
29414 sed 's/^/| /' conftest.$ac_ext >&5
29416 ac_cv_lib_posix4_nanosleep=no
29418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29419 LIBS=$ac_check_lib_save_LIBS
29421 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
29422 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
29423 if test $ac_cv_lib_posix4_nanosleep = yes; then
29425 cat >>confdefs.h <<\_ACEOF
29426 #define HAVE_NANOSLEEP 1
29429 POSIX4_LINK=" -lposix4"
29434 for ac_func in usleep
29436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29437 echo "$as_me:$LINENO: checking for $ac_func" >&5
29438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29439 if eval "test \"\${$as_ac_var+set}\" = set"; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 cat >conftest.$ac_ext <<_ACEOF
29443 #line $LINENO "configure"
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29449 /* System header to define __stub macros and hopefully few prototypes,
29450 which can conflict with char $ac_func (); below.
29451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29452 <limits.h> exists even on freestanding compilers. */
29454 # include <limits.h>
29456 # include <assert.h>
29458 /* Override any gcc2 internal prototype to avoid an error. */
29463 /* We use char because int might match the return type of a gcc2
29464 builtin and then its argument prototype would still apply. */
29466 /* The GNU C library defines this for functions which it implements
29467 to always fail with ENOSYS. Some functions are actually named
29468 something starting with __ and the normal name is an alias. */
29469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29472 char (*f) () = $ac_func;
29481 return f != $ac_func;
29486 rm -f conftest.$ac_objext conftest$ac_exeext
29487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29488 (eval $ac_link) 2>&5
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); } &&
29492 { ac_try='test -s conftest$ac_exeext'
29493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29494 (eval $ac_try) 2>&5
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; }; then
29498 eval "$as_ac_var=yes"
29500 echo "$as_me: failed program was:" >&5
29501 sed 's/^/| /' conftest.$ac_ext >&5
29503 eval "$as_ac_var=no"
29505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29509 if test `eval echo '${'$as_ac_var'}'` = yes; then
29510 cat >>confdefs.h <<_ACEOF
29511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29513 cat >>confdefs.h <<\_ACEOF
29514 #define HAVE_USLEEP 1
29518 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
29519 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
29537 for ac_func in uname gethostname
29539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29540 echo "$as_me:$LINENO: checking for $ac_func" >&5
29541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29542 if eval "test \"\${$as_ac_var+set}\" = set"; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29545 cat >conftest.$ac_ext <<_ACEOF
29546 #line $LINENO "configure"
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h. */
29552 /* System header to define __stub macros and hopefully few prototypes,
29553 which can conflict with char $ac_func (); below.
29554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29555 <limits.h> exists even on freestanding compilers. */
29557 # include <limits.h>
29559 # include <assert.h>
29561 /* Override any gcc2 internal prototype to avoid an error. */
29566 /* We use char because int might match the return type of a gcc2
29567 builtin and then its argument prototype would still apply. */
29569 /* The GNU C library defines this for functions which it implements
29570 to always fail with ENOSYS. Some functions are actually named
29571 something starting with __ and the normal name is an alias. */
29572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29575 char (*f) () = $ac_func;
29584 return f != $ac_func;
29589 rm -f conftest.$ac_objext conftest$ac_exeext
29590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29591 (eval $ac_link) 2>&5
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); } &&
29595 { ac_try='test -s conftest$ac_exeext'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; }; then
29601 eval "$as_ac_var=yes"
29603 echo "$as_me: failed program was:" >&5
29604 sed 's/^/| /' conftest.$ac_ext >&5
29606 eval "$as_ac_var=no"
29608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29612 if test `eval echo '${'$as_ac_var'}'` = yes; then
29613 cat >>confdefs.h <<_ACEOF
29614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29624 ac_cpp='$CXXCPP $CPPFLAGS'
29625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29631 for ac_func in strtok_r
29633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29634 echo "$as_me:$LINENO: checking for $ac_func" >&5
29635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29636 if eval "test \"\${$as_ac_var+set}\" = set"; then
29637 echo $ECHO_N "(cached) $ECHO_C" >&6
29639 cat >conftest.$ac_ext <<_ACEOF
29640 #line $LINENO "configure"
29643 cat confdefs.h >>conftest.$ac_ext
29644 cat >>conftest.$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29646 /* System header to define __stub macros and hopefully few prototypes,
29647 which can conflict with char $ac_func (); below.
29648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29649 <limits.h> exists even on freestanding compilers. */
29651 # include <limits.h>
29653 # include <assert.h>
29655 /* Override any gcc2 internal prototype to avoid an error. */
29660 /* We use char because int might match the return type of a gcc2
29661 builtin and then its argument prototype would still apply. */
29663 /* The GNU C library defines this for functions which it implements
29664 to always fail with ENOSYS. Some functions are actually named
29665 something starting with __ and the normal name is an alias. */
29666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29669 char (*f) () = $ac_func;
29678 return f != $ac_func;
29683 rm -f conftest.$ac_objext conftest$ac_exeext
29684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29685 (eval $ac_link) 2>&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } &&
29689 { ac_try='test -s conftest$ac_exeext'
29690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29691 (eval $ac_try) 2>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; }; then
29695 eval "$as_ac_var=yes"
29697 echo "$as_me: failed program was:" >&5
29698 sed 's/^/| /' conftest.$ac_ext >&5
29700 eval "$as_ac_var=no"
29702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29706 if test `eval echo '${'$as_ac_var'}'` = yes; then
29707 cat >>confdefs.h <<_ACEOF
29708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29716 ac_cpp='$CPP $CPPFLAGS'
29717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29724 for ac_func in inet_addr
29726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29727 echo "$as_me:$LINENO: checking for $ac_func" >&5
29728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29729 if eval "test \"\${$as_ac_var+set}\" = set"; then
29730 echo $ECHO_N "(cached) $ECHO_C" >&6
29732 cat >conftest.$ac_ext <<_ACEOF
29733 #line $LINENO "configure"
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739 /* System header to define __stub macros and hopefully few prototypes,
29740 which can conflict with char $ac_func (); below.
29741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29742 <limits.h> exists even on freestanding compilers. */
29744 # include <limits.h>
29746 # include <assert.h>
29748 /* Override any gcc2 internal prototype to avoid an error. */
29753 /* We use char because int might match the return type of a gcc2
29754 builtin and then its argument prototype would still apply. */
29756 /* The GNU C library defines this for functions which it implements
29757 to always fail with ENOSYS. Some functions are actually named
29758 something starting with __ and the normal name is an alias. */
29759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29762 char (*f) () = $ac_func;
29771 return f != $ac_func;
29776 rm -f conftest.$ac_objext conftest$ac_exeext
29777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29778 (eval $ac_link) 2>&5
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); } &&
29782 { ac_try='test -s conftest$ac_exeext'
29783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29784 (eval $ac_try) 2>&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); }; }; then
29788 eval "$as_ac_var=yes"
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29793 eval "$as_ac_var=no"
29795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29799 if test `eval echo '${'$as_ac_var'}'` = yes; then
29800 cat >>confdefs.h <<_ACEOF
29801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29803 cat >>confdefs.h <<\_ACEOF
29804 #define HAVE_INET_ADDR 1
29809 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
29810 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
29811 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
29812 echo $ECHO_N "(cached) $ECHO_C" >&6
29814 ac_check_lib_save_LIBS=$LIBS
29816 cat >conftest.$ac_ext <<_ACEOF
29817 #line $LINENO "configure"
29820 cat confdefs.h >>conftest.$ac_ext
29821 cat >>conftest.$ac_ext <<_ACEOF
29822 /* end confdefs.h. */
29824 /* Override any gcc2 internal prototype to avoid an error. */
29828 /* We use char because int might match the return type of a gcc2
29829 builtin and then its argument prototype would still apply. */
29839 rm -f conftest.$ac_objext conftest$ac_exeext
29840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29841 (eval $ac_link) 2>&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); } &&
29845 { ac_try='test -s conftest$ac_exeext'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; }; then
29851 ac_cv_lib_nsl_inet_addr=yes
29853 echo "$as_me: failed program was:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29856 ac_cv_lib_nsl_inet_addr=no
29858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29859 LIBS=$ac_check_lib_save_LIBS
29861 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
29862 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
29863 if test $ac_cv_lib_nsl_inet_addr = yes; then
29867 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
29868 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
29869 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29872 ac_check_lib_save_LIBS=$LIBS
29873 LIBS="-lresolv $LIBS"
29874 cat >conftest.$ac_ext <<_ACEOF
29875 #line $LINENO "configure"
29878 cat confdefs.h >>conftest.$ac_ext
29879 cat >>conftest.$ac_ext <<_ACEOF
29880 /* end confdefs.h. */
29882 /* Override any gcc2 internal prototype to avoid an error. */
29886 /* We use char because int might match the return type of a gcc2
29887 builtin and then its argument prototype would still apply. */
29897 rm -f conftest.$ac_objext conftest$ac_exeext
29898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29899 (eval $ac_link) 2>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try='test -s conftest$ac_exeext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29909 ac_cv_lib_resolv_inet_addr=yes
29911 echo "$as_me: failed program was:" >&5
29912 sed 's/^/| /' conftest.$ac_ext >&5
29914 ac_cv_lib_resolv_inet_addr=no
29916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29917 LIBS=$ac_check_lib_save_LIBS
29919 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
29920 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
29921 if test $ac_cv_lib_resolv_inet_addr = yes; then
29925 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
29926 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
29927 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29930 ac_check_lib_save_LIBS=$LIBS
29931 LIBS="-lsocket $LIBS"
29932 cat >conftest.$ac_ext <<_ACEOF
29933 #line $LINENO "configure"
29936 cat confdefs.h >>conftest.$ac_ext
29937 cat >>conftest.$ac_ext <<_ACEOF
29938 /* end confdefs.h. */
29940 /* Override any gcc2 internal prototype to avoid an error. */
29944 /* We use char because int might match the return type of a gcc2
29945 builtin and then its argument prototype would still apply. */
29955 rm -f conftest.$ac_objext conftest$ac_exeext
29956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29957 (eval $ac_link) 2>&5
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); } &&
29961 { ac_try='test -s conftest$ac_exeext'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; }; then
29967 ac_cv_lib_socket_inet_addr=yes
29969 echo "$as_me: failed program was:" >&5
29970 sed 's/^/| /' conftest.$ac_ext >&5
29972 ac_cv_lib_socket_inet_addr=no
29974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29975 LIBS=$ac_check_lib_save_LIBS
29977 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
29978 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
29979 if test $ac_cv_lib_socket_inet_addr = yes; then
29999 for ac_func in inet_aton
30001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30002 echo "$as_me:$LINENO: checking for $ac_func" >&5
30003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30004 if eval "test \"\${$as_ac_var+set}\" = set"; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 cat >conftest.$ac_ext <<_ACEOF
30008 #line $LINENO "configure"
30011 cat confdefs.h >>conftest.$ac_ext
30012 cat >>conftest.$ac_ext <<_ACEOF
30013 /* end confdefs.h. */
30014 /* System header to define __stub macros and hopefully few prototypes,
30015 which can conflict with char $ac_func (); below.
30016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30017 <limits.h> exists even on freestanding compilers. */
30019 # include <limits.h>
30021 # include <assert.h>
30023 /* Override any gcc2 internal prototype to avoid an error. */
30028 /* We use char because int might match the return type of a gcc2
30029 builtin and then its argument prototype would still apply. */
30031 /* The GNU C library defines this for functions which it implements
30032 to always fail with ENOSYS. Some functions are actually named
30033 something starting with __ and the normal name is an alias. */
30034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30037 char (*f) () = $ac_func;
30046 return f != $ac_func;
30051 rm -f conftest.$ac_objext conftest$ac_exeext
30052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30053 (eval $ac_link) 2>&5
30055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30056 (exit $ac_status); } &&
30057 { ac_try='test -s conftest$ac_exeext'
30058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30059 (eval $ac_try) 2>&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); }; }; then
30063 eval "$as_ac_var=yes"
30065 echo "$as_me: failed program was:" >&5
30066 sed 's/^/| /' conftest.$ac_ext >&5
30068 eval "$as_ac_var=no"
30070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30074 if test `eval echo '${'$as_ac_var'}'` = yes; then
30075 cat >>confdefs.h <<_ACEOF
30076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30078 cat >>confdefs.h <<\_ACEOF
30079 #define HAVE_INET_ATON 1
30084 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
30085 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
30086 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
30087 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 ac_check_lib_save_LIBS=$LIBS
30091 LIBS="-l$INET_LINK $LIBS"
30092 cat >conftest.$ac_ext <<_ACEOF
30093 #line $LINENO "configure"
30096 cat confdefs.h >>conftest.$ac_ext
30097 cat >>conftest.$ac_ext <<_ACEOF
30098 /* end confdefs.h. */
30100 /* Override any gcc2 internal prototype to avoid an error. */
30104 /* We use char because int might match the return type of a gcc2
30105 builtin and then its argument prototype would still apply. */
30115 rm -f conftest.$ac_objext conftest$ac_exeext
30116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30117 (eval $ac_link) 2>&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } &&
30121 { ac_try='test -s conftest$ac_exeext'
30122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30123 (eval $ac_try) 2>&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); }; }; then
30127 eval "$as_ac_Lib=yes"
30129 echo "$as_me: failed program was:" >&5
30130 sed 's/^/| /' conftest.$ac_ext >&5
30132 eval "$as_ac_Lib=no"
30134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30135 LIBS=$ac_check_lib_save_LIBS
30137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
30138 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
30139 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
30140 cat >>confdefs.h <<\_ACEOF
30141 #define HAVE_INET_ATON 1
30151 if test "x$INET_LINK" != "x"; then
30152 cat >>confdefs.h <<\_ACEOF
30153 #define HAVE_INET_ADDR 1
30156 INET_LINK=" -l$INET_LINK"
30164 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
30165 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
30166 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
30167 echo $ECHO_N "(cached) $ECHO_C" >&6
30169 ac_check_lib_save_LIBS=$LIBS
30171 cat >conftest.$ac_ext <<_ACEOF
30172 #line $LINENO "configure"
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h. */
30179 /* Override any gcc2 internal prototype to avoid an error. */
30183 /* We use char because int might match the return type of a gcc2
30184 builtin and then its argument prototype would still apply. */
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30196 (eval $ac_link) 2>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); } &&
30200 { ac_try='test -s conftest$ac_exeext'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; }; then
30206 ac_cv_lib_esd_esd_close=yes
30208 echo "$as_me: failed program was:" >&5
30209 sed 's/^/| /' conftest.$ac_ext >&5
30211 ac_cv_lib_esd_esd_close=no
30213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30214 LIBS=$ac_check_lib_save_LIBS
30216 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
30217 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
30218 if test $ac_cv_lib_esd_esd_close = yes; then
30221 for ac_header in esd.h
30223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30225 echo "$as_me:$LINENO: checking for $ac_header" >&5
30226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30228 echo $ECHO_N "(cached) $ECHO_C" >&6
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30233 # Is the header compilable?
30234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30236 cat >conftest.$ac_ext <<_ACEOF
30237 #line $LINENO "configure"
30240 cat confdefs.h >>conftest.$ac_ext
30241 cat >>conftest.$ac_ext <<_ACEOF
30242 /* end confdefs.h. */
30243 $ac_includes_default
30244 #include <$ac_header>
30246 rm -f conftest.$ac_objext
30247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30248 (eval $ac_compile) 2>&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } &&
30252 { ac_try='test -s conftest.$ac_objext'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; }; then
30258 ac_header_compiler=yes
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.$ac_ext >&5
30263 ac_header_compiler=no
30265 rm -f conftest.$ac_objext conftest.$ac_ext
30266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30267 echo "${ECHO_T}$ac_header_compiler" >&6
30269 # Is the header present?
30270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30272 cat >conftest.$ac_ext <<_ACEOF
30273 #line $LINENO "configure"
30276 cat confdefs.h >>conftest.$ac_ext
30277 cat >>conftest.$ac_ext <<_ACEOF
30278 /* end confdefs.h. */
30279 #include <$ac_header>
30281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30284 grep -v '^ *+' conftest.er1 >conftest.err
30286 cat conftest.err >&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } >/dev/null; then
30289 if test -s conftest.err; then
30290 ac_cpp_err=$ac_c_preproc_warn_flag
30297 if test -z "$ac_cpp_err"; then
30298 ac_header_preproc=yes
30300 echo "$as_me: failed program was:" >&5
30301 sed 's/^/| /' conftest.$ac_ext >&5
30303 ac_header_preproc=no
30305 rm -f conftest.err conftest.$ac_ext
30306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30307 echo "${ECHO_T}$ac_header_preproc" >&6
30309 # So? What about this header?
30310 case $ac_header_compiler:$ac_header_preproc in
30312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30318 ## ------------------------------------ ##
30319 ## Report this to bug-autoconf@gnu.org. ##
30320 ## ------------------------------------ ##
30323 sed "s/^/$as_me: WARNING: /" >&2
30326 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30328 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30334 ## ------------------------------------ ##
30335 ## Report this to bug-autoconf@gnu.org. ##
30336 ## ------------------------------------ ##
30339 sed "s/^/$as_me: WARNING: /" >&2
30342 echo "$as_me:$LINENO: checking for $ac_header" >&5
30343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 eval "$as_ac_Header=$ac_header_preproc"
30349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30354 cat >>confdefs.h <<_ACEOF
30355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30358 EXTRALIBS_ESD="-lesd"
30369 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
30370 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
30371 cat >conftest.$ac_ext <<_ACEOF
30372 #line $LINENO "configure"
30375 cat confdefs.h >>conftest.$ac_ext
30376 cat >>conftest.$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30379 #include <linux/cdrom.h>
30382 #include <sys/cdio.h>
30388 struct cdrom_tocentry entry, old_entry;
30393 rm -f conftest.$ac_objext
30394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30395 (eval $ac_compile) 2>&5
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); } &&
30399 { ac_try='test -s conftest.$ac_objext'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; }; then
30405 echo "$as_me:$LINENO: result: yes" >&5
30406 echo "${ECHO_T}yes" >&6
30407 cat >>confdefs.h <<\_ACEOF
30408 #define HAVE_KNOWN_CDROM_INTERFACE 1
30412 echo "$as_me: failed program was:" >&5
30413 sed 's/^/| /' conftest.$ac_ext >&5
30415 echo "$as_me:$LINENO: result: no" >&5
30416 echo "${ECHO_T}no" >&6
30418 rm -f conftest.$ac_objext conftest.$ac_ext
30421 cat >confcache <<\_ACEOF
30422 # This file is a shell script that caches the results of configure
30423 # tests run on this system so they can be shared between configure
30424 # scripts and configure runs, see configure's option --config-cache.
30425 # It is not useful on other systems. If it contains results you don't
30426 # want to keep, you may remove or edit it.
30428 # config.status only pays attention to the cache file if you give it
30429 # the --recheck option to rerun configure.
30431 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30432 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30433 # following values.
30437 # The following way of writing the cache mishandles newlines in values,
30438 # but we know of no workaround that is simple, portable, and efficient.
30439 # So, don't put newlines in cache variables' values.
30440 # Ultrix sh set writes to stderr and can't be redirected directly,
30441 # and sets the high bit in the cache file unless we assign to the vars.
30444 case `(ac_space=' '; set | grep ac_space) 2>&1` in
30446 # `set' does not quote correctly, so add quotes (double-quote
30447 # substitution turns \\\\ into \\, and sed turns \\ into \).
30450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30453 # `set' quotes correctly as required by POSIX, so do not add quotes.
30455 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
30462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30464 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30466 if diff $cache_file confcache >/dev/null 2>&1; then :; else
30467 if test -w $cache_file; then
30468 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
30469 cat confcache >$cache_file
30471 echo "not updating unwritable cache $cache_file"
30478 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
30484 if test "$wxUSE_THREADS" = "yes" ; then
30485 if test "$USE_BEOS" = 1; then
30486 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
30487 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
30492 if test "$wxUSE_THREADS" = "yes" ; then
30495 THREAD_OPTS="-pthread"
30497 *-*-solaris2* | *-*-sunos4* )
30498 if test "x$GCC" = "xyes"; then
30499 THREAD_OPTS="-pthreads $THREAD_OPTS"
30501 THREAD_OPTS="-mt $THREAD_OPTS"
30505 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
30507 *-*-darwin* | *-*-cygwin* )
30511 THREAD_OPTS="pthreads"
30514 if test "x$GCC" != "xyes"; then
30520 if test "x$GCC" = "xyes"; then
30526 if test "x$GCC" != "xyes"; then
30527 THREAD_OPTS="-Ethread"
30532 THREAD_OPTS="$THREAD_OPTS pthread none"
30535 for flag in $THREAD_OPTS; do
30538 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
30539 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
30543 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
30544 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
30545 THREADS_CFLAGS="$flag"
30549 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
30550 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
30551 THREADS_LINK="-l$flag"
30556 save_CFLAGS="$CFLAGS"
30557 LIBS="$THREADS_LINK $LIBS"
30558 CFLAGS="$THREADS_CFLAGS $CFLAGS"
30560 cat >conftest.$ac_ext <<_ACEOF
30561 #line $LINENO "configure"
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 #include <pthread.h>
30571 pthread_create(0,0,0,0);
30576 rm -f conftest.$ac_objext conftest$ac_exeext
30577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30578 (eval $ac_link) 2>&5
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); } &&
30582 { ac_try='test -s conftest$ac_exeext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.$ac_ext >&5
30594 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30597 CFLAGS="$save_CFLAGS"
30599 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
30600 echo "${ECHO_T}$THREADS_OK" >&6
30601 if test "x$THREADS_OK" = "xyes"; then
30609 if test "x$THREADS_OK" != "xyes"; then
30611 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
30612 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
30614 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
30615 LIBS="$THREADS_LINK $LIBS"
30617 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
30618 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
30622 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
30623 flag="-D_THREAD_SAFE"
30626 flag="-D_THREAD_SAFE"
30629 flag="-D_REENTRANT"
30630 if test "x$GCC" != "xyes"; then
30631 flag="$flag -D_RWSTD_MULTI_THREAD"
30636 *solaris* | alpha*-osf*)
30637 flag="-D_REENTRANT"
30640 echo "$as_me:$LINENO: result: ${flag}" >&5
30641 echo "${ECHO_T}${flag}" >&6
30642 if test "x$flag" != xno; then
30643 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
30646 if test "x$THREADS_CFLAGS" != "x"; then
30647 CFLAGS="$CFLAGS $THREADS_CFLAGS"
30648 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
30653 if test "$wxUSE_THREADS" = "yes" ; then
30655 for ac_func in thr_setconcurrency
30657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30658 echo "$as_me:$LINENO: checking for $ac_func" >&5
30659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30660 if eval "test \"\${$as_ac_var+set}\" = set"; then
30661 echo $ECHO_N "(cached) $ECHO_C" >&6
30663 cat >conftest.$ac_ext <<_ACEOF
30664 #line $LINENO "configure"
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30670 /* System header to define __stub macros and hopefully few prototypes,
30671 which can conflict with char $ac_func (); below.
30672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30673 <limits.h> exists even on freestanding compilers. */
30675 # include <limits.h>
30677 # include <assert.h>
30679 /* Override any gcc2 internal prototype to avoid an error. */
30684 /* We use char because int might match the return type of a gcc2
30685 builtin and then its argument prototype would still apply. */
30687 /* The GNU C library defines this for functions which it implements
30688 to always fail with ENOSYS. Some functions are actually named
30689 something starting with __ and the normal name is an alias. */
30690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30693 char (*f) () = $ac_func;
30702 return f != $ac_func;
30707 rm -f conftest.$ac_objext conftest$ac_exeext
30708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30709 (eval $ac_link) 2>&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try='test -s conftest$ac_exeext'
30714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30715 (eval $ac_try) 2>&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); }; }; then
30719 eval "$as_ac_var=yes"
30721 echo "$as_me: failed program was:" >&5
30722 sed 's/^/| /' conftest.$ac_ext >&5
30724 eval "$as_ac_var=no"
30726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30730 if test `eval echo '${'$as_ac_var'}'` = yes; then
30731 cat >>confdefs.h <<_ACEOF
30732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30740 for ac_header in sched.h
30742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30744 echo "$as_me:$LINENO: checking for $ac_header" >&5
30745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30747 echo $ECHO_N "(cached) $ECHO_C" >&6
30749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30752 # Is the header compilable?
30753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30755 cat >conftest.$ac_ext <<_ACEOF
30756 #line $LINENO "configure"
30759 cat confdefs.h >>conftest.$ac_ext
30760 cat >>conftest.$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30762 $ac_includes_default
30763 #include <$ac_header>
30765 rm -f conftest.$ac_objext
30766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30767 (eval $ac_compile) 2>&5
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); } &&
30771 { ac_try='test -s conftest.$ac_objext'
30772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773 (eval $ac_try) 2>&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; }; then
30777 ac_header_compiler=yes
30779 echo "$as_me: failed program was:" >&5
30780 sed 's/^/| /' conftest.$ac_ext >&5
30782 ac_header_compiler=no
30784 rm -f conftest.$ac_objext conftest.$ac_ext
30785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30786 echo "${ECHO_T}$ac_header_compiler" >&6
30788 # Is the header present?
30789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30791 cat >conftest.$ac_ext <<_ACEOF
30792 #line $LINENO "configure"
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30798 #include <$ac_header>
30800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30803 grep -v '^ *+' conftest.er1 >conftest.err
30805 cat conftest.err >&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } >/dev/null; then
30808 if test -s conftest.err; then
30809 ac_cpp_err=$ac_c_preproc_warn_flag
30816 if test -z "$ac_cpp_err"; then
30817 ac_header_preproc=yes
30819 echo "$as_me: failed program was:" >&5
30820 sed 's/^/| /' conftest.$ac_ext >&5
30822 ac_header_preproc=no
30824 rm -f conftest.err conftest.$ac_ext
30825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30826 echo "${ECHO_T}$ac_header_preproc" >&6
30828 # So? What about this header?
30829 case $ac_header_compiler:$ac_header_preproc in
30831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30837 ## ------------------------------------ ##
30838 ## Report this to bug-autoconf@gnu.org. ##
30839 ## ------------------------------------ ##
30842 sed "s/^/$as_me: WARNING: /" >&2
30845 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30846 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30847 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30848 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30853 ## ------------------------------------ ##
30854 ## Report this to bug-autoconf@gnu.org. ##
30855 ## ------------------------------------ ##
30858 sed "s/^/$as_me: WARNING: /" >&2
30861 echo "$as_me:$LINENO: checking for $ac_header" >&5
30862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30866 eval "$as_ac_Header=$ac_header_preproc"
30868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30873 cat >>confdefs.h <<_ACEOF
30874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30881 if test "$ac_cv_header_sched_h" = "yes"; then
30882 echo "$as_me:$LINENO: checking for sched_yield" >&5
30883 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
30884 if test "${ac_cv_func_sched_yield+set}" = set; then
30885 echo $ECHO_N "(cached) $ECHO_C" >&6
30887 cat >conftest.$ac_ext <<_ACEOF
30888 #line $LINENO "configure"
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30894 /* System header to define __stub macros and hopefully few prototypes,
30895 which can conflict with char sched_yield (); below.
30896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30897 <limits.h> exists even on freestanding compilers. */
30899 # include <limits.h>
30901 # include <assert.h>
30903 /* Override any gcc2 internal prototype to avoid an error. */
30908 /* We use char because int might match the return type of a gcc2
30909 builtin and then its argument prototype would still apply. */
30910 char sched_yield ();
30911 /* The GNU C library defines this for functions which it implements
30912 to always fail with ENOSYS. Some functions are actually named
30913 something starting with __ and the normal name is an alias. */
30914 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
30917 char (*f) () = sched_yield;
30926 return f != sched_yield;
30931 rm -f conftest.$ac_objext conftest$ac_exeext
30932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30933 (eval $ac_link) 2>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
30937 { ac_try='test -s conftest$ac_exeext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30943 ac_cv_func_sched_yield=yes
30945 echo "$as_me: failed program was:" >&5
30946 sed 's/^/| /' conftest.$ac_ext >&5
30948 ac_cv_func_sched_yield=no
30950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30952 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
30953 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
30954 if test $ac_cv_func_sched_yield = yes; then
30955 cat >>confdefs.h <<\_ACEOF
30956 #define HAVE_SCHED_YIELD 1
30961 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
30962 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
30963 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
30964 echo $ECHO_N "(cached) $ECHO_C" >&6
30966 ac_check_lib_save_LIBS=$LIBS
30967 LIBS="-lposix4 $LIBS"
30968 cat >conftest.$ac_ext <<_ACEOF
30969 #line $LINENO "configure"
30972 cat confdefs.h >>conftest.$ac_ext
30973 cat >>conftest.$ac_ext <<_ACEOF
30974 /* end confdefs.h. */
30976 /* Override any gcc2 internal prototype to avoid an error. */
30980 /* We use char because int might match the return type of a gcc2
30981 builtin and then its argument prototype would still apply. */
30982 char sched_yield ();
30991 rm -f conftest.$ac_objext conftest$ac_exeext
30992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30993 (eval $ac_link) 2>&5
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); } &&
30997 { ac_try='test -s conftest$ac_exeext'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; }; then
31003 ac_cv_lib_posix4_sched_yield=yes
31005 echo "$as_me: failed program was:" >&5
31006 sed 's/^/| /' conftest.$ac_ext >&5
31008 ac_cv_lib_posix4_sched_yield=no
31010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31011 LIBS=$ac_check_lib_save_LIBS
31013 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
31014 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
31015 if test $ac_cv_lib_posix4_sched_yield = yes; then
31016 cat >>confdefs.h <<\_ACEOF
31017 #define HAVE_SCHED_YIELD 1
31019 POSIX4_LINK=" -lposix4"
31021 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
31022 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31033 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
31034 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
31035 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31038 cat >conftest.$ac_ext <<_ACEOF
31039 #line $LINENO "configure"
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045 /* System header to define __stub macros and hopefully few prototypes,
31046 which can conflict with char pthread_attr_getschedpolicy (); below.
31047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31048 <limits.h> exists even on freestanding compilers. */
31050 # include <limits.h>
31052 # include <assert.h>
31054 /* Override any gcc2 internal prototype to avoid an error. */
31059 /* We use char because int might match the return type of a gcc2
31060 builtin and then its argument prototype would still apply. */
31061 char pthread_attr_getschedpolicy ();
31062 /* The GNU C library defines this for functions which it implements
31063 to always fail with ENOSYS. Some functions are actually named
31064 something starting with __ and the normal name is an alias. */
31065 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
31068 char (*f) () = pthread_attr_getschedpolicy;
31077 return f != pthread_attr_getschedpolicy;
31082 rm -f conftest.$ac_objext conftest$ac_exeext
31083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31084 (eval $ac_link) 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try='test -s conftest$ac_exeext'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; }; then
31094 ac_cv_func_pthread_attr_getschedpolicy=yes
31096 echo "$as_me: failed program was:" >&5
31097 sed 's/^/| /' conftest.$ac_ext >&5
31099 ac_cv_func_pthread_attr_getschedpolicy=no
31101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31103 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
31104 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
31105 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
31106 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
31107 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
31108 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31111 cat >conftest.$ac_ext <<_ACEOF
31112 #line $LINENO "configure"
31115 cat confdefs.h >>conftest.$ac_ext
31116 cat >>conftest.$ac_ext <<_ACEOF
31117 /* end confdefs.h. */
31118 /* System header to define __stub macros and hopefully few prototypes,
31119 which can conflict with char pthread_attr_setschedparam (); below.
31120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31121 <limits.h> exists even on freestanding compilers. */
31123 # include <limits.h>
31125 # include <assert.h>
31127 /* Override any gcc2 internal prototype to avoid an error. */
31132 /* We use char because int might match the return type of a gcc2
31133 builtin and then its argument prototype would still apply. */
31134 char pthread_attr_setschedparam ();
31135 /* The GNU C library defines this for functions which it implements
31136 to always fail with ENOSYS. Some functions are actually named
31137 something starting with __ and the normal name is an alias. */
31138 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
31141 char (*f) () = pthread_attr_setschedparam;
31150 return f != pthread_attr_setschedparam;
31155 rm -f conftest.$ac_objext conftest$ac_exeext
31156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31157 (eval $ac_link) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } &&
31161 { ac_try='test -s conftest$ac_exeext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 ac_cv_func_pthread_attr_setschedparam=yes
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.$ac_ext >&5
31172 ac_cv_func_pthread_attr_setschedparam=no
31174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31176 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
31177 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
31178 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
31179 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
31180 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
31181 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
31182 echo $ECHO_N "(cached) $ECHO_C" >&6
31184 cat >conftest.$ac_ext <<_ACEOF
31185 #line $LINENO "configure"
31188 cat confdefs.h >>conftest.$ac_ext
31189 cat >>conftest.$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31191 /* System header to define __stub macros and hopefully few prototypes,
31192 which can conflict with char sched_get_priority_max (); below.
31193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31194 <limits.h> exists even on freestanding compilers. */
31196 # include <limits.h>
31198 # include <assert.h>
31200 /* Override any gcc2 internal prototype to avoid an error. */
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31207 char sched_get_priority_max ();
31208 /* The GNU C library defines this for functions which it implements
31209 to always fail with ENOSYS. Some functions are actually named
31210 something starting with __ and the normal name is an alias. */
31211 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
31214 char (*f) () = sched_get_priority_max;
31223 return f != sched_get_priority_max;
31228 rm -f conftest.$ac_objext conftest$ac_exeext
31229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31230 (eval $ac_link) 2>&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); } &&
31234 { ac_try='test -s conftest$ac_exeext'
31235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31236 (eval $ac_try) 2>&5
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); }; }; then
31240 ac_cv_func_sched_get_priority_max=yes
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31245 ac_cv_func_sched_get_priority_max=no
31247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31249 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
31250 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
31251 if test $ac_cv_func_sched_get_priority_max = yes; then
31254 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
31255 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
31256 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31259 ac_check_lib_save_LIBS=$LIBS
31260 LIBS="-lposix4 $LIBS"
31261 cat >conftest.$ac_ext <<_ACEOF
31262 #line $LINENO "configure"
31265 cat confdefs.h >>conftest.$ac_ext
31266 cat >>conftest.$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31269 /* Override any gcc2 internal prototype to avoid an error. */
31273 /* We use char because int might match the return type of a gcc2
31274 builtin and then its argument prototype would still apply. */
31275 char sched_get_priority_max ();
31279 sched_get_priority_max ();
31284 rm -f conftest.$ac_objext conftest$ac_exeext
31285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31286 (eval $ac_link) 2>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } &&
31290 { ac_try='test -s conftest$ac_exeext'
31291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292 (eval $ac_try) 2>&5
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; }; then
31296 ac_cv_lib_posix4_sched_get_priority_max=yes
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.$ac_ext >&5
31301 ac_cv_lib_posix4_sched_get_priority_max=no
31303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31304 LIBS=$ac_check_lib_save_LIBS
31306 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31307 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
31308 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
31311 POSIX4_LINK=" -lposix4"
31325 if test "$HAVE_PRIOR_FUNCS" = 1; then
31326 cat >>confdefs.h <<\_ACEOF
31327 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
31331 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
31332 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31335 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
31336 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
31337 if test "${ac_cv_func_pthread_cancel+set}" = set; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31340 cat >conftest.$ac_ext <<_ACEOF
31341 #line $LINENO "configure"
31344 cat confdefs.h >>conftest.$ac_ext
31345 cat >>conftest.$ac_ext <<_ACEOF
31346 /* end confdefs.h. */
31347 /* System header to define __stub macros and hopefully few prototypes,
31348 which can conflict with char pthread_cancel (); below.
31349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31350 <limits.h> exists even on freestanding compilers. */
31352 # include <limits.h>
31354 # include <assert.h>
31356 /* Override any gcc2 internal prototype to avoid an error. */
31361 /* We use char because int might match the return type of a gcc2
31362 builtin and then its argument prototype would still apply. */
31363 char pthread_cancel ();
31364 /* The GNU C library defines this for functions which it implements
31365 to always fail with ENOSYS. Some functions are actually named
31366 something starting with __ and the normal name is an alias. */
31367 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
31370 char (*f) () = pthread_cancel;
31379 return f != pthread_cancel;
31384 rm -f conftest.$ac_objext conftest$ac_exeext
31385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31386 (eval $ac_link) 2>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); } &&
31390 { ac_try='test -s conftest$ac_exeext'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; }; then
31396 ac_cv_func_pthread_cancel=yes
31398 echo "$as_me: failed program was:" >&5
31399 sed 's/^/| /' conftest.$ac_ext >&5
31401 ac_cv_func_pthread_cancel=no
31403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31405 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
31406 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
31407 if test $ac_cv_func_pthread_cancel = yes; then
31408 cat >>confdefs.h <<\_ACEOF
31409 #define HAVE_PTHREAD_CANCEL 1
31413 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
31414 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31420 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
31421 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
31422 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
31423 echo $ECHO_N "(cached) $ECHO_C" >&6
31426 cat >conftest.$ac_ext <<_ACEOF
31427 #line $LINENO "configure"
31430 cat confdefs.h >>conftest.$ac_ext
31431 cat >>conftest.$ac_ext <<_ACEOF
31432 /* end confdefs.h. */
31433 #include <pthread.h>
31438 pthread_mutexattr_t attr;
31439 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31445 rm -f conftest.$ac_objext
31446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31447 (eval $ac_compile) 2>&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try='test -s conftest.$ac_objext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31458 wx_cv_type_pthread_mutexattr_t=yes
31461 echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.$ac_ext >&5
31465 wx_cv_type_pthread_mutexattr_t=no
31469 rm -f conftest.$ac_objext conftest.$ac_ext
31472 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
31473 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
31475 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
31476 cat >>confdefs.h <<\_ACEOF
31477 #define HAVE_PTHREAD_MUTEXATTR_T 1
31481 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
31482 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
31483 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
31484 echo $ECHO_N "(cached) $ECHO_C" >&6
31487 cat >conftest.$ac_ext <<_ACEOF
31488 #line $LINENO "configure"
31491 cat confdefs.h >>conftest.$ac_ext
31492 cat >>conftest.$ac_ext <<_ACEOF
31493 /* end confdefs.h. */
31494 #include <pthread.h>
31499 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
31505 rm -f conftest.$ac_objext
31506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31507 (eval $ac_compile) 2>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); } &&
31511 { ac_try='test -s conftest.$ac_objext'
31512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31513 (eval $ac_try) 2>&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; }; then
31518 wx_cv_type_pthread_rec_mutex_init=yes
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31525 wx_cv_type_pthread_rec_mutex_init=no
31529 rm -f conftest.$ac_objext conftest.$ac_ext
31532 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
31533 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
31534 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
31535 cat >>confdefs.h <<\_ACEOF
31536 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
31540 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
31541 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
31547 if test "$wxUSE_THREADS" = "yes" ; then
31550 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
31551 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
31552 if test "${wx_cv_cflags_mthread+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31556 CFLAGS_OLD="$CFLAGS"
31557 CFLAGS="$CFLAGS -mthreads"
31558 cat >conftest.$ac_ext <<_ACEOF
31559 #line $LINENO "configure"
31562 cat confdefs.h >>conftest.$ac_ext
31563 cat >>conftest.$ac_ext <<_ACEOF
31564 /* end confdefs.h. */
31574 rm -f conftest.$ac_objext
31575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31576 (eval $ac_compile) 2>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } &&
31580 { ac_try='test -s conftest.$ac_objext'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; }; then
31586 wx_cv_cflags_mthread=yes
31588 echo "$as_me: failed program was:" >&5
31589 sed 's/^/| /' conftest.$ac_ext >&5
31591 wx_cv_cflags_mthread=no
31594 rm -f conftest.$ac_objext conftest.$ac_ext
31598 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
31599 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
31601 if test "$wx_cv_cflags_mthread" = "yes"; then
31602 CXXFLAGS="$CXXFLAGS -mthreads"
31603 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
31604 LDFLAGS="$LDFLAGS -mthreads"
31606 CFLAGS="$CFLAGS_OLD"
31610 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
31611 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
31612 LDFLAGS="$LDFLAGS -Zmt"
31618 if test "$wxUSE_THREADS" = "yes"; then
31619 cat >>confdefs.h <<\_ACEOF
31620 #define wxUSE_THREADS 1
31624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
31626 if test "$ac_cv_func_strtok_r" = "yes"; then
31627 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
31628 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
31629 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
31630 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
31631 echo "$as_me:$LINENO: result: yes" >&5
31632 echo "${ECHO_T}yes" >&6
31634 echo "$as_me:$LINENO: result: no" >&5
31635 echo "${ECHO_T}no" >&6
31640 if test "$WXGTK20" = 1 ; then
31641 cat >>confdefs.h <<_ACEOF
31642 #define __WXGTK20__ $WXGTK20
31648 if test "$WXGTK12" = 1 ; then
31649 cat >>confdefs.h <<_ACEOF
31650 #define __WXGTK12__ $WXGTK12
31655 if test "$WXGTK127" = 1 ; then
31656 cat >>confdefs.h <<_ACEOF
31657 #define __WXGTK127__ $WXGTK127
31662 if test "$WXGPE" = 1 ; then
31663 cat >>confdefs.h <<_ACEOF
31664 #define __WXGPE__ $WXGPE
31671 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
31676 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
31677 wxUSE_DEBUG_INFO=yes
31681 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
31682 cat >>confdefs.h <<\_ACEOF
31686 WXDEBUG_DEFINE="-D__WXDEBUG__"
31688 if test "$wxUSE_GTK" = 1 ; then
31689 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
31693 if test "$wxUSE_MEM_TRACING" = "yes" ; then
31694 cat >>confdefs.h <<\_ACEOF
31695 #define wxUSE_MEMORY_TRACING 1
31698 cat >>confdefs.h <<\_ACEOF
31699 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
31702 cat >>confdefs.h <<\_ACEOF
31703 #define wxUSE_DEBUG_NEW_ALWAYS 1
31706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
31709 if test "$wxUSE_DMALLOC" = "yes" ; then
31710 DMALLOC_LIBS="-ldmalloc"
31714 if test "$wxUSE_PROFILE" = "yes" ; then
31719 CODE_GEN_FLAGS_CXX=
31720 if test "$GCC" = "yes" ; then
31721 if test "$wxUSE_NO_RTTI" = "yes" ; then
31722 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
31724 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
31725 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
31727 if test "$wxUSE_PERMISSIVE" = "yes" ; then
31728 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
31733 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
31736 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
31742 if test "$wxUSE_OPTIMISE" = "no" ; then
31743 if test "$GCC" = yes ; then
31747 if test "$GCC" = yes ; then
31751 i586-*-*|i686-*-* )
31752 OPTIMISE="${OPTIMISE} "
31761 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
31762 cat >>confdefs.h <<\_ACEOF
31763 #define WXWIN_COMPATIBILITY_2_2 1
31767 WXWIN_COMPATIBILITY_2_4="yes"
31770 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
31771 cat >>confdefs.h <<\_ACEOF
31772 #define WXWIN_COMPATIBILITY_2_4 1
31778 if test "$wxUSE_GUI" = "yes"; then
31779 cat >>confdefs.h <<\_ACEOF
31780 #define wxUSE_GUI 1
31785 cat >>confdefs.h <<\_ACEOF
31786 #define wxUSE_NOGUI 1
31792 if test "$wxUSE_UNIX" = "yes"; then
31793 cat >>confdefs.h <<\_ACEOF
31794 #define wxUSE_UNIX 1
31800 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31804 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31805 if test "$USE_DARWIN" = 1; then
31809 for ac_func in dlopen
31811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31812 echo "$as_me:$LINENO: checking for $ac_func" >&5
31813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31814 if eval "test \"\${$as_ac_var+set}\" = set"; then
31815 echo $ECHO_N "(cached) $ECHO_C" >&6
31817 cat >conftest.$ac_ext <<_ACEOF
31818 #line $LINENO "configure"
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31824 /* System header to define __stub macros and hopefully few prototypes,
31825 which can conflict with char $ac_func (); below.
31826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31827 <limits.h> exists even on freestanding compilers. */
31829 # include <limits.h>
31831 # include <assert.h>
31833 /* Override any gcc2 internal prototype to avoid an error. */
31838 /* We use char because int might match the return type of a gcc2
31839 builtin and then its argument prototype would still apply. */
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31847 char (*f) () = $ac_func;
31856 return f != $ac_func;
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31863 (eval $ac_link) 2>&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); } &&
31867 { ac_try='test -s conftest$ac_exeext'
31868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); }; }; then
31873 eval "$as_ac_var=yes"
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.$ac_ext >&5
31878 eval "$as_ac_var=no"
31880 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31884 if test `eval echo '${'$as_ac_var'}'` = yes; then
31885 cat >>confdefs.h <<_ACEOF
31886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31889 cat >>confdefs.h <<\_ACEOF
31890 #define HAVE_DLOPEN 1
31897 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31898 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31899 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31900 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 ac_check_lib_save_LIBS=$LIBS
31904 cat >conftest.$ac_ext <<_ACEOF
31905 #line $LINENO "configure"
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31912 /* Override any gcc2 internal prototype to avoid an error. */
31916 /* We use char because int might match the return type of a gcc2
31917 builtin and then its argument prototype would still apply. */
31927 rm -f conftest.$ac_objext conftest$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try='test -s conftest$ac_exeext'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; }; then
31939 ac_cv_lib_dl_dlopen=yes
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.$ac_ext >&5
31944 ac_cv_lib_dl_dlopen=no
31946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31947 LIBS=$ac_check_lib_save_LIBS
31949 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31950 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31951 if test $ac_cv_lib_dl_dlopen = yes; then
31953 cat >>confdefs.h <<\_ACEOF
31954 #define HAVE_DLOPEN 1
31958 DL_LINK=" -ldl$DL_LINK"
31963 for ac_func in shl_load
31965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31966 echo "$as_me:$LINENO: checking for $ac_func" >&5
31967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31968 if eval "test \"\${$as_ac_var+set}\" = set"; then
31969 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 cat >conftest.$ac_ext <<_ACEOF
31972 #line $LINENO "configure"
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978 /* System header to define __stub macros and hopefully few prototypes,
31979 which can conflict with char $ac_func (); below.
31980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31981 <limits.h> exists even on freestanding compilers. */
31983 # include <limits.h>
31985 # include <assert.h>
31987 /* Override any gcc2 internal prototype to avoid an error. */
31992 /* We use char because int might match the return type of a gcc2
31993 builtin and then its argument prototype would still apply. */
31995 /* The GNU C library defines this for functions which it implements
31996 to always fail with ENOSYS. Some functions are actually named
31997 something starting with __ and the normal name is an alias. */
31998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32001 char (*f) () = $ac_func;
32010 return f != $ac_func;
32015 rm -f conftest.$ac_objext conftest$ac_exeext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32017 (eval $ac_link) 2>&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } &&
32021 { ac_try='test -s conftest$ac_exeext'
32022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32023 (eval $ac_try) 2>&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); }; }; then
32027 eval "$as_ac_var=yes"
32029 echo "$as_me: failed program was:" >&5
32030 sed 's/^/| /' conftest.$ac_ext >&5
32032 eval "$as_ac_var=no"
32034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32038 if test `eval echo '${'$as_ac_var'}'` = yes; then
32039 cat >>confdefs.h <<_ACEOF
32040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32043 cat >>confdefs.h <<\_ACEOF
32044 #define HAVE_SHL_LOAD 1
32051 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32052 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32053 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 ac_check_lib_save_LIBS=$LIBS
32057 LIBS="-lshl_load $LIBS"
32058 cat >conftest.$ac_ext <<_ACEOF
32059 #line $LINENO "configure"
32062 cat confdefs.h >>conftest.$ac_ext
32063 cat >>conftest.$ac_ext <<_ACEOF
32064 /* end confdefs.h. */
32066 /* Override any gcc2 internal prototype to avoid an error. */
32070 /* We use char because int might match the return type of a gcc2
32071 builtin and then its argument prototype would still apply. */
32081 rm -f conftest.$ac_objext conftest$ac_exeext
32082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32083 (eval $ac_link) 2>&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); } &&
32087 { ac_try='test -s conftest$ac_exeext'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; }; then
32093 ac_cv_lib_shl_load_dld=yes
32095 echo "$as_me: failed program was:" >&5
32096 sed 's/^/| /' conftest.$ac_ext >&5
32098 ac_cv_lib_shl_load_dld=no
32100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32101 LIBS=$ac_check_lib_save_LIBS
32103 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32104 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32105 if test $ac_cv_lib_shl_load_dld = yes; then
32108 DL_LINK=" -ldld$DL_LINK"
32124 if test "$HAVE_DL_FUNCS" = 1; then
32126 for ac_func in dlerror
32128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32129 echo "$as_me:$LINENO: checking for $ac_func" >&5
32130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32131 if eval "test \"\${$as_ac_var+set}\" = set"; then
32132 echo $ECHO_N "(cached) $ECHO_C" >&6
32134 cat >conftest.$ac_ext <<_ACEOF
32135 #line $LINENO "configure"
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 /* System header to define __stub macros and hopefully few prototypes,
32142 which can conflict with char $ac_func (); below.
32143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32144 <limits.h> exists even on freestanding compilers. */
32146 # include <limits.h>
32148 # include <assert.h>
32150 /* Override any gcc2 internal prototype to avoid an error. */
32155 /* We use char because int might match the return type of a gcc2
32156 builtin and then its argument prototype would still apply. */
32158 /* The GNU C library defines this for functions which it implements
32159 to always fail with ENOSYS. Some functions are actually named
32160 something starting with __ and the normal name is an alias. */
32161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32164 char (*f) () = $ac_func;
32173 return f != $ac_func;
32178 rm -f conftest.$ac_objext conftest$ac_exeext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32180 (eval $ac_link) 2>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try='test -s conftest$ac_exeext'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; }; then
32190 eval "$as_ac_var=yes"
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32195 eval "$as_ac_var=no"
32197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32201 if test `eval echo '${'$as_ac_var'}'` = yes; then
32202 cat >>confdefs.h <<_ACEOF
32203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32205 cat >>confdefs.h <<\_ACEOF
32206 #define HAVE_DLERROR 1
32211 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32212 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32213 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32214 echo $ECHO_N "(cached) $ECHO_C" >&6
32216 ac_check_lib_save_LIBS=$LIBS
32218 cat >conftest.$ac_ext <<_ACEOF
32219 #line $LINENO "configure"
32222 cat confdefs.h >>conftest.$ac_ext
32223 cat >>conftest.$ac_ext <<_ACEOF
32224 /* end confdefs.h. */
32226 /* Override any gcc2 internal prototype to avoid an error. */
32230 /* We use char because int might match the return type of a gcc2
32231 builtin and then its argument prototype would still apply. */
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32243 (eval $ac_link) 2>&5
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); } &&
32247 { ac_try='test -s conftest$ac_exeext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32253 ac_cv_lib_dl_dlerror=yes
32255 echo "$as_me: failed program was:" >&5
32256 sed 's/^/| /' conftest.$ac_ext >&5
32258 ac_cv_lib_dl_dlerror=no
32260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32261 LIBS=$ac_check_lib_save_LIBS
32263 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32264 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32265 if test $ac_cv_lib_dl_dlerror = yes; then
32266 cat >>confdefs.h <<\_ACEOF
32267 #define HAVE_DLERROR 1
32280 if test "$HAVE_DL_FUNCS" = 0; then
32281 if test "$HAVE_SHL_FUNCS" = 0; then
32282 if test "$USE_UNIX" = 1; then
32283 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32284 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32285 wxUSE_DYNAMIC_LOADER=no
32286 wxUSE_DYNLIB_CLASS=no
32288 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32289 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32296 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32297 cat >>confdefs.h <<\_ACEOF
32298 #define wxUSE_DYNAMIC_LOADER 1
32302 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32303 cat >>confdefs.h <<\_ACEOF
32304 #define wxUSE_DYNLIB_CLASS 1
32311 if test "$wxUSE_PLUGINS" = "yes" ; then
32312 if test "$wxUSE_SHARED" = "no" ; then
32313 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
32314 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
32317 if test "$wxUSE_MONOLITHIC" = "yes" ; then
32318 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
32319 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
32322 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
32323 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
32324 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
32327 if test "$wxUSE_PLUGINS" = "yes" ; then
32328 cat >>confdefs.h <<\_ACEOF
32329 #define wxUSE_PLUGINS 1
32336 if test "$wxUSE_STL" = "yes"; then
32337 cat >>confdefs.h <<\_ACEOF
32338 #define wxUSE_STL 1
32343 if test "$wxUSE_APPLE_IEEE" = "yes"; then
32344 cat >>confdefs.h <<\_ACEOF
32345 #define wxUSE_APPLE_IEEE 1
32350 if test "$wxUSE_TIMER" = "yes"; then
32351 cat >>confdefs.h <<\_ACEOF
32352 #define wxUSE_TIMER 1
32358 if test "$wxUSE_SOUND" = "yes"; then
32359 if test "$USE_UNIX" = "1" ; then
32361 for ac_header in sys/soundcard.h
32363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32365 echo "$as_me:$LINENO: checking for $ac_header" >&5
32366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32373 # Is the header compilable?
32374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32376 cat >conftest.$ac_ext <<_ACEOF
32377 #line $LINENO "configure"
32380 cat confdefs.h >>conftest.$ac_ext
32381 cat >>conftest.$ac_ext <<_ACEOF
32382 /* end confdefs.h. */
32383 $ac_includes_default
32384 #include <$ac_header>
32386 rm -f conftest.$ac_objext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32388 (eval $ac_compile) 2>&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -s conftest.$ac_objext'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 ac_header_compiler=yes
32400 echo "$as_me: failed program was:" >&5
32401 sed 's/^/| /' conftest.$ac_ext >&5
32403 ac_header_compiler=no
32405 rm -f conftest.$ac_objext conftest.$ac_ext
32406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32407 echo "${ECHO_T}$ac_header_compiler" >&6
32409 # Is the header present?
32410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32412 cat >conftest.$ac_ext <<_ACEOF
32413 #line $LINENO "configure"
32416 cat confdefs.h >>conftest.$ac_ext
32417 cat >>conftest.$ac_ext <<_ACEOF
32418 /* end confdefs.h. */
32419 #include <$ac_header>
32421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32424 grep -v '^ *+' conftest.er1 >conftest.err
32426 cat conftest.err >&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); } >/dev/null; then
32429 if test -s conftest.err; then
32430 ac_cpp_err=$ac_c_preproc_warn_flag
32437 if test -z "$ac_cpp_err"; then
32438 ac_header_preproc=yes
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32443 ac_header_preproc=no
32445 rm -f conftest.err conftest.$ac_ext
32446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32447 echo "${ECHO_T}$ac_header_preproc" >&6
32449 # So? What about this header?
32450 case $ac_header_compiler:$ac_header_preproc in
32452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32458 ## ------------------------------------ ##
32459 ## Report this to bug-autoconf@gnu.org. ##
32460 ## ------------------------------------ ##
32463 sed "s/^/$as_me: WARNING: /" >&2
32466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32474 ## ------------------------------------ ##
32475 ## Report this to bug-autoconf@gnu.org. ##
32476 ## ------------------------------------ ##
32479 sed "s/^/$as_me: WARNING: /" >&2
32482 echo "$as_me:$LINENO: checking for $ac_header" >&5
32483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32485 echo $ECHO_N "(cached) $ECHO_C" >&6
32487 eval "$as_ac_Header=$ac_header_preproc"
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32494 cat >>confdefs.h <<_ACEOF
32495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32503 if test "$wxUSE_LIBSDL" != "no"; then
32505 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
32506 if test "${with_sdl_prefix+set}" = set; then
32507 withval="$with_sdl_prefix"
32508 sdl_prefix="$withval"
32513 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
32514 if test "${with_sdl_exec_prefix+set}" = set; then
32515 withval="$with_sdl_exec_prefix"
32516 sdl_exec_prefix="$withval"
32520 # Check whether --enable-sdltest or --disable-sdltest was given.
32521 if test "${enable_sdltest+set}" = set; then
32522 enableval="$enable_sdltest"
32528 if test x$sdl_exec_prefix != x ; then
32529 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
32530 if test x${SDL_CONFIG+set} != xset ; then
32531 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
32534 if test x$sdl_prefix != x ; then
32535 sdl_args="$sdl_args --prefix=$sdl_prefix"
32536 if test x${SDL_CONFIG+set} != xset ; then
32537 SDL_CONFIG=$sdl_prefix/bin/sdl-config
32542 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
32543 # Extract the first word of "sdl-config", so it can be a program name with args.
32544 set dummy sdl-config; ac_word=$2
32545 echo "$as_me:$LINENO: checking for $ac_word" >&5
32546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32547 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
32548 echo $ECHO_N "(cached) $ECHO_C" >&6
32550 case $SDL_CONFIG in
32552 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
32555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32556 for as_dir in $PATH
32559 test -z "$as_dir" && as_dir=.
32560 for ac_exec_ext in '' $ac_executable_extensions; do
32561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32562 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32569 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
32573 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
32575 if test -n "$SDL_CONFIG"; then
32576 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
32577 echo "${ECHO_T}$SDL_CONFIG" >&6
32579 echo "$as_me:$LINENO: result: no" >&5
32580 echo "${ECHO_T}no" >&6
32583 min_sdl_version=1.2.0
32584 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
32585 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
32587 if test "$SDL_CONFIG" = "no" ; then
32590 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
32591 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
32593 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
32594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32595 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
32596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32597 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
32598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32599 if test "x$enable_sdltest" = "xyes" ; then
32600 ac_save_CFLAGS="$CFLAGS"
32601 ac_save_LIBS="$LIBS"
32602 CFLAGS="$CFLAGS $SDL_CFLAGS"
32603 LIBS="$LIBS $SDL_LIBS"
32605 if test "$cross_compiling" = yes; then
32606 echo $ac_n "cross compiling; assumed OK... $ac_c"
32608 cat >conftest.$ac_ext <<_ACEOF
32609 #line $LINENO "configure"
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32617 #include <stdlib.h>
32618 #include <string.h>
32622 my_strdup (char *str)
32628 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
32629 strcpy (new_str, str);
32637 int main (int argc, char *argv[])
32639 int major, minor, micro;
32642 /* This hangs on some systems (?)
32643 system ("touch conf.sdltest");
32645 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
32647 /* HP/UX 9 (%@#!) writes to sscanf strings */
32648 tmp_version = my_strdup("$min_sdl_version");
32649 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
32650 printf("%s, bad version string\n", "$min_sdl_version");
32654 if (($sdl_major_version > major) ||
32655 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
32656 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
32662 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
32663 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
32664 printf("*** best to upgrade to the required version.\n");
32665 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
32666 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
32667 printf("*** config.cache before re-running configure\n");
32674 rm -f conftest$ac_exeext
32675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32676 (eval $ac_link) 2>&5
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32681 (eval $ac_try) 2>&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); }; }; then
32687 echo "$as_me: program exited with status $ac_status" >&5
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32691 ( exit $ac_status )
32694 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32696 CFLAGS="$ac_save_CFLAGS"
32697 LIBS="$ac_save_LIBS"
32700 if test "x$no_sdl" = x ; then
32701 echo "$as_me:$LINENO: result: yes" >&5
32702 echo "${ECHO_T}yes" >&6
32704 EXTRALIBS_SDL="$SDL_LIBS"
32705 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
32706 cat >>confdefs.h <<\_ACEOF
32707 #define wxUSE_LIBSDL 1
32712 echo "$as_me:$LINENO: result: no" >&5
32713 echo "${ECHO_T}no" >&6
32714 if test "$SDL_CONFIG" = "no" ; then
32715 echo "*** The sdl-config script installed by SDL could not be found"
32716 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
32717 echo "*** your path, or set the SDL_CONFIG environment variable to the"
32718 echo "*** full path to sdl-config."
32720 if test -f conf.sdltest ; then
32723 echo "*** Could not run SDL test program, checking why..."
32724 CFLAGS="$CFLAGS $SDL_CFLAGS"
32725 LIBS="$LIBS $SDL_LIBS"
32726 cat >conftest.$ac_ext <<_ACEOF
32727 #line $LINENO "configure"
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32737 int main(int argc, char *argv[])
32740 #define main K_and_R_C_main
32750 rm -f conftest.$ac_objext conftest$ac_exeext
32751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32752 (eval $ac_link) 2>&5
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); } &&
32756 { ac_try='test -s conftest$ac_exeext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32762 echo "*** The test program compiled, but did not run. This usually means"
32763 echo "*** that the run-time linker is not finding SDL or finding the wrong"
32764 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
32765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32767 echo "*** is required on your system"
32769 echo "*** If you have an old version installed, it is best to remove it, although"
32770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32772 echo "$as_me: failed program was:" >&5
32773 sed 's/^/| /' conftest.$ac_ext >&5
32775 echo "*** The test program failed to compile or link. See the file config.log for the"
32776 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
32777 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
32778 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
32780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32781 CFLAGS="$ac_save_CFLAGS"
32782 LIBS="$ac_save_LIBS"
32793 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
32799 cat >>confdefs.h <<\_ACEOF
32800 #define wxUSE_SOUND 1
32803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
32806 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32807 cat >>confdefs.h <<\_ACEOF
32808 #define wxUSE_CMDLINE_PARSER 1
32813 if test "$wxUSE_STOPWATCH" = "yes"; then
32814 cat >>confdefs.h <<\_ACEOF
32815 #define wxUSE_STOPWATCH 1
32820 if test "$wxUSE_DATETIME" = "yes"; then
32821 cat >>confdefs.h <<\_ACEOF
32822 #define wxUSE_DATETIME 1
32827 if test "$wxUSE_FILE" = "yes"; then
32828 cat >>confdefs.h <<\_ACEOF
32829 #define wxUSE_FILE 1
32834 if test "$wxUSE_FFILE" = "yes"; then
32835 cat >>confdefs.h <<\_ACEOF
32836 #define wxUSE_FFILE 1
32841 if test "$wxUSE_FILESYSTEM" = "yes"; then
32842 cat >>confdefs.h <<\_ACEOF
32843 #define wxUSE_FILESYSTEM 1
32848 if test "$wxUSE_FS_ZIP" = "yes"; then
32849 cat >>confdefs.h <<\_ACEOF
32850 #define wxUSE_FS_ZIP 1
32855 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32856 cat >>confdefs.h <<\_ACEOF
32857 #define wxUSE_ZIPSTREAM 1
32862 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32863 cat >>confdefs.h <<\_ACEOF
32864 #define wxUSE_ON_FATAL_EXCEPTION 1
32869 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32870 cat >>confdefs.h <<\_ACEOF
32871 #define wxUSE_SNGLINST_CHECKER 1
32876 if test "$wxUSE_BUSYINFO" = "yes"; then
32877 cat >>confdefs.h <<\_ACEOF
32878 #define wxUSE_BUSYINFO 1
32883 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32884 cat >>confdefs.h <<\_ACEOF
32885 #define wxUSE_STD_IOSTREAM 1
32890 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32891 cat >>confdefs.h <<\_ACEOF
32892 #define wxUSE_TEXTBUFFER 1
32897 if test "$wxUSE_TEXTFILE" = "yes"; then
32898 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32899 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32900 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32902 cat >>confdefs.h <<\_ACEOF
32903 #define wxUSE_TEXTFILE 1
32909 if test "$wxUSE_CONFIG" = "yes" ; then
32910 if test "$wxUSE_TEXTFILE" != "yes"; then
32911 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32912 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32914 cat >>confdefs.h <<\_ACEOF
32915 #define wxUSE_CONFIG 1
32918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
32922 if test "$wxUSE_INTL" = "yes" ; then
32923 if test "$wxUSE_FILE" != "yes"; then
32924 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32925 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32927 cat >>confdefs.h <<\_ACEOF
32928 #define wxUSE_INTL 1
32931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
32932 GUIDIST="$GUIDIST INTL_DIST"
32936 if test "$wxUSE_LOG" = "yes"; then
32937 cat >>confdefs.h <<\_ACEOF
32938 #define wxUSE_LOG 1
32942 if test "$wxUSE_LOGGUI" = "yes"; then
32943 cat >>confdefs.h <<\_ACEOF
32944 #define wxUSE_LOGGUI 1
32949 if test "$wxUSE_LOGWINDOW" = "yes"; then
32950 cat >>confdefs.h <<\_ACEOF
32951 #define wxUSE_LOGWINDOW 1
32956 if test "$wxUSE_LOGDIALOG" = "yes"; then
32957 cat >>confdefs.h <<\_ACEOF
32958 #define wxUSE_LOG_DIALOG 1
32964 if test "$wxUSE_LONGLONG" = "yes"; then
32965 cat >>confdefs.h <<\_ACEOF
32966 #define wxUSE_LONGLONG 1
32971 if test "$wxUSE_GEOMETRY" = "yes"; then
32972 cat >>confdefs.h <<\_ACEOF
32973 #define wxUSE_GEOMETRY 1
32978 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxUSE_DIALUP_MANAGER 1
32983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
32986 if test "$wxUSE_STREAMS" = "yes" ; then
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_STREAMS 1
32994 if test "$wxUSE_DATETIME" = "yes"; then
32996 for ac_func in strptime
32998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32999 echo "$as_me:$LINENO: checking for $ac_func" >&5
33000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33001 if eval "test \"\${$as_ac_var+set}\" = set"; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33004 cat >conftest.$ac_ext <<_ACEOF
33005 #line $LINENO "configure"
33008 cat confdefs.h >>conftest.$ac_ext
33009 cat >>conftest.$ac_ext <<_ACEOF
33010 /* end confdefs.h. */
33011 /* System header to define __stub macros and hopefully few prototypes,
33012 which can conflict with char $ac_func (); below.
33013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33014 <limits.h> exists even on freestanding compilers. */
33016 # include <limits.h>
33018 # include <assert.h>
33020 /* Override any gcc2 internal prototype to avoid an error. */
33025 /* We use char because int might match the return type of a gcc2
33026 builtin and then its argument prototype would still apply. */
33028 /* The GNU C library defines this for functions which it implements
33029 to always fail with ENOSYS. Some functions are actually named
33030 something starting with __ and the normal name is an alias. */
33031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33034 char (*f) () = $ac_func;
33043 return f != $ac_func;
33048 rm -f conftest.$ac_objext conftest$ac_exeext
33049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33050 (eval $ac_link) 2>&5
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); } &&
33054 { ac_try='test -s conftest$ac_exeext'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; }; then
33060 eval "$as_ac_var=yes"
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33065 eval "$as_ac_var=no"
33067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33071 if test `eval echo '${'$as_ac_var'}'` = yes; then
33072 cat >>confdefs.h <<_ACEOF
33073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33080 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
33081 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
33082 if test "${wx_cv_var_timezone+set}" = set; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33086 cat >conftest.$ac_ext <<_ACEOF
33087 #line $LINENO "configure"
33090 cat confdefs.h >>conftest.$ac_ext
33091 cat >>conftest.$ac_ext <<_ACEOF
33092 /* end confdefs.h. */
33107 rm -f conftest.$ac_objext
33108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33109 (eval $ac_compile) 2>&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); } &&
33113 { ac_try='test -s conftest.$ac_objext'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; }; then
33120 wx_cv_var_timezone=timezone
33123 echo "$as_me: failed program was:" >&5
33124 sed 's/^/| /' conftest.$ac_ext >&5
33127 cat >conftest.$ac_ext <<_ACEOF
33128 #line $LINENO "configure"
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33148 rm -f conftest.$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } &&
33154 { ac_try='test -s conftest.$ac_objext'
33155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33156 (eval $ac_try) 2>&5
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); }; }; then
33161 wx_cv_var_timezone=_timezone
33164 echo "$as_me: failed program was:" >&5
33165 sed 's/^/| /' conftest.$ac_ext >&5
33168 cat >conftest.$ac_ext <<_ACEOF
33169 #line $LINENO "configure"
33172 cat confdefs.h >>conftest.$ac_ext
33173 cat >>conftest.$ac_ext <<_ACEOF
33174 /* end confdefs.h. */
33189 rm -f conftest.$ac_objext
33190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33191 (eval $ac_compile) 2>&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); } &&
33195 { ac_try='test -s conftest.$ac_objext'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; }; then
33202 wx_cv_var_timezone=__timezone
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33209 if test "$USE_DOS" = 0 ; then
33210 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
33211 echo "$as_me: WARNING: no timezone variable" >&2;}
33216 rm -f conftest.$ac_objext conftest.$ac_ext
33220 rm -f conftest.$ac_objext conftest.$ac_ext
33224 rm -f conftest.$ac_objext conftest.$ac_ext
33228 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
33229 echo "${ECHO_T}$wx_cv_var_timezone" >&6
33231 if test "x$wx_cv_var_timezone" != x ; then
33232 cat >>confdefs.h <<_ACEOF
33233 #define WX_TIMEZONE $wx_cv_var_timezone
33239 for ac_func in localtime
33241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33242 echo "$as_me:$LINENO: checking for $ac_func" >&5
33243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33244 if eval "test \"\${$as_ac_var+set}\" = set"; then
33245 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 cat >conftest.$ac_ext <<_ACEOF
33248 #line $LINENO "configure"
33251 cat confdefs.h >>conftest.$ac_ext
33252 cat >>conftest.$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 /* System header to define __stub macros and hopefully few prototypes,
33255 which can conflict with char $ac_func (); below.
33256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33257 <limits.h> exists even on freestanding compilers. */
33259 # include <limits.h>
33261 # include <assert.h>
33263 /* Override any gcc2 internal prototype to avoid an error. */
33268 /* We use char because int might match the return type of a gcc2
33269 builtin and then its argument prototype would still apply. */
33271 /* The GNU C library defines this for functions which it implements
33272 to always fail with ENOSYS. Some functions are actually named
33273 something starting with __ and the normal name is an alias. */
33274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33277 char (*f) () = $ac_func;
33286 return f != $ac_func;
33291 rm -f conftest.$ac_objext conftest$ac_exeext
33292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33293 (eval $ac_link) 2>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } &&
33297 { ac_try='test -s conftest$ac_exeext'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; }; then
33303 eval "$as_ac_var=yes"
33305 echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.$ac_ext >&5
33308 eval "$as_ac_var=no"
33310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33314 if test `eval echo '${'$as_ac_var'}'` = yes; then
33315 cat >>confdefs.h <<_ACEOF
33316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33323 if test "$ac_cv_func_localtime" = "yes"; then
33324 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
33325 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
33326 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 cat >conftest.$ac_ext <<_ACEOF
33331 #line $LINENO "configure"
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33351 rm -f conftest.$ac_objext
33352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33353 (eval $ac_compile) 2>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try='test -s conftest.$ac_objext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33364 wx_cv_struct_tm_has_gmtoff=yes
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33370 wx_cv_struct_tm_has_gmtoff=no
33373 rm -f conftest.$ac_objext conftest.$ac_ext
33376 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
33377 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
33380 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
33381 cat >>confdefs.h <<\_ACEOF
33382 #define WX_GMTOFF_IN_TM 1
33389 for ac_func in gettimeofday ftime
33391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33392 echo "$as_me:$LINENO: checking for $ac_func" >&5
33393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33394 if eval "test \"\${$as_ac_var+set}\" = set"; then
33395 echo $ECHO_N "(cached) $ECHO_C" >&6
33397 cat >conftest.$ac_ext <<_ACEOF
33398 #line $LINENO "configure"
33401 cat confdefs.h >>conftest.$ac_ext
33402 cat >>conftest.$ac_ext <<_ACEOF
33403 /* end confdefs.h. */
33404 /* System header to define __stub macros and hopefully few prototypes,
33405 which can conflict with char $ac_func (); below.
33406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33407 <limits.h> exists even on freestanding compilers. */
33409 # include <limits.h>
33411 # include <assert.h>
33413 /* Override any gcc2 internal prototype to avoid an error. */
33418 /* We use char because int might match the return type of a gcc2
33419 builtin and then its argument prototype would still apply. */
33421 /* The GNU C library defines this for functions which it implements
33422 to always fail with ENOSYS. Some functions are actually named
33423 something starting with __ and the normal name is an alias. */
33424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33427 char (*f) () = $ac_func;
33436 return f != $ac_func;
33441 rm -f conftest.$ac_objext conftest$ac_exeext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33443 (eval $ac_link) 2>&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); } &&
33447 { ac_try='test -s conftest$ac_exeext'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }; then
33453 eval "$as_ac_var=yes"
33455 echo "$as_me: failed program was:" >&5
33456 sed 's/^/| /' conftest.$ac_ext >&5
33458 eval "$as_ac_var=no"
33460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33464 if test `eval echo '${'$as_ac_var'}'` = yes; then
33465 cat >>confdefs.h <<_ACEOF
33466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33473 if test "$ac_cv_func_gettimeofday" = "yes"; then
33474 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
33475 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
33476 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
33477 echo $ECHO_N "(cached) $ECHO_C" >&6
33483 ac_cpp='$CXXCPP $CPPFLAGS'
33484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33489 cat >conftest.$ac_ext <<_ACEOF
33490 #line $LINENO "configure"
33493 cat confdefs.h >>conftest.$ac_ext
33494 cat >>conftest.$ac_ext <<_ACEOF
33495 /* end confdefs.h. */
33497 #include <sys/time.h>
33498 #include <unistd.h>
33505 gettimeofday(&tv, NULL);
33511 rm -f conftest.$ac_objext
33512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33513 (eval $ac_compile) 2>&5
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); } &&
33517 { ac_try='test -s conftest.$ac_objext'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; }; then
33523 wx_cv_func_gettimeofday_has_2_args=yes
33525 echo "$as_me: failed program was:" >&5
33526 sed 's/^/| /' conftest.$ac_ext >&5
33528 cat >conftest.$ac_ext <<_ACEOF
33529 #line $LINENO "configure"
33532 cat confdefs.h >>conftest.$ac_ext
33533 cat >>conftest.$ac_ext <<_ACEOF
33534 /* end confdefs.h. */
33536 #include <sys/time.h>
33537 #include <unistd.h>
33550 rm -f conftest.$ac_objext
33551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33552 (eval $ac_compile) 2>&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } &&
33556 { ac_try='test -s conftest.$ac_objext'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; }; then
33562 wx_cv_func_gettimeofday_has_2_args=no
33564 echo "$as_me: failed program was:" >&5
33565 sed 's/^/| /' conftest.$ac_ext >&5
33568 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
33569 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
33570 wx_cv_func_gettimeofday_has_2_args=unknown
33574 rm -f conftest.$ac_objext conftest.$ac_ext
33577 rm -f conftest.$ac_objext conftest.$ac_ext
33579 ac_cpp='$CPP $CPPFLAGS'
33580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33586 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
33587 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
33589 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
33590 cat >>confdefs.h <<\_ACEOF
33591 #define WX_GETTIMEOFDAY_NO_TZ 1
33597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
33601 if test "$wxUSE_SOCKETS" = "yes"; then
33602 if test "$wxUSE_MGL" = "1"; then
33603 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
33604 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
33609 if test "$wxUSE_SOCKETS" = "yes"; then
33610 if test "$TOOLKIT" != "MSW"; then
33611 echo "$as_me:$LINENO: checking for socket" >&5
33612 echo $ECHO_N "checking for socket... $ECHO_C" >&6
33613 if test "${ac_cv_func_socket+set}" = set; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33616 cat >conftest.$ac_ext <<_ACEOF
33617 #line $LINENO "configure"
33620 cat confdefs.h >>conftest.$ac_ext
33621 cat >>conftest.$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33623 /* System header to define __stub macros and hopefully few prototypes,
33624 which can conflict with char socket (); below.
33625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33626 <limits.h> exists even on freestanding compilers. */
33628 # include <limits.h>
33630 # include <assert.h>
33632 /* Override any gcc2 internal prototype to avoid an error. */
33637 /* We use char because int might match the return type of a gcc2
33638 builtin and then its argument prototype would still apply. */
33640 /* The GNU C library defines this for functions which it implements
33641 to always fail with ENOSYS. Some functions are actually named
33642 something starting with __ and the normal name is an alias. */
33643 #if defined (__stub_socket) || defined (__stub___socket)
33646 char (*f) () = socket;
33655 return f != socket;
33660 rm -f conftest.$ac_objext conftest$ac_exeext
33661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33662 (eval $ac_link) 2>&5
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); } &&
33666 { ac_try='test -s conftest$ac_exeext'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; }; then
33672 ac_cv_func_socket=yes
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.$ac_ext >&5
33677 ac_cv_func_socket=no
33679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33681 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
33682 echo "${ECHO_T}$ac_cv_func_socket" >&6
33683 if test $ac_cv_func_socket = yes; then
33687 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
33688 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
33689 if test "${ac_cv_lib_socket_socket+set}" = set; then
33690 echo $ECHO_N "(cached) $ECHO_C" >&6
33692 ac_check_lib_save_LIBS=$LIBS
33693 LIBS="-lsocket $LIBS"
33694 cat >conftest.$ac_ext <<_ACEOF
33695 #line $LINENO "configure"
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33702 /* Override any gcc2 internal prototype to avoid an error. */
33706 /* We use char because int might match the return type of a gcc2
33707 builtin and then its argument prototype would still apply. */
33717 rm -f conftest.$ac_objext conftest$ac_exeext
33718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33719 (eval $ac_link) 2>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -s conftest$ac_exeext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 ac_cv_lib_socket_socket=yes
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.$ac_ext >&5
33734 ac_cv_lib_socket_socket=no
33736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33737 LIBS=$ac_check_lib_save_LIBS
33739 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
33740 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
33741 if test $ac_cv_lib_socket_socket = yes; then
33742 if test "$INET_LINK" != " -lsocket"; then
33743 INET_LINK="$INET_LINK -lsocket"
33747 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
33748 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33761 if test "$wxUSE_SOCKETS" = "yes" ; then
33762 if test "$TOOLKIT" != "MSW"; then
33763 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33764 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33765 if test "${wx_cv_type_getsockname3+set}" = set; then
33766 echo $ECHO_N "(cached) $ECHO_C" >&6
33769 cat >conftest.$ac_ext <<_ACEOF
33770 #line $LINENO "configure"
33773 cat confdefs.h >>conftest.$ac_ext
33774 cat >>conftest.$ac_ext <<_ACEOF
33775 /* end confdefs.h. */
33777 #include <sys/types.h>
33778 #include <sys/socket.h>
33785 getsockname(0, 0, &len);
33791 rm -f conftest.$ac_objext
33792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33793 (eval $ac_compile) 2>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } &&
33797 { ac_try='test -s conftest.$ac_objext'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }; then
33803 wx_cv_type_getsockname3=socklen_t
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33809 CFLAGS_OLD="$CFLAGS"
33810 if test "$GCC" = yes ; then
33811 CFLAGS="$CFLAGS -Werror"
33814 cat >conftest.$ac_ext <<_ACEOF
33815 #line $LINENO "configure"
33818 cat confdefs.h >>conftest.$ac_ext
33819 cat >>conftest.$ac_ext <<_ACEOF
33820 /* end confdefs.h. */
33822 #include <sys/types.h>
33823 #include <sys/socket.h>
33830 getsockname(0, 0, &len);
33836 rm -f conftest.$ac_objext
33837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33838 (eval $ac_compile) 2>&5
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } &&
33842 { ac_try='test -s conftest.$ac_objext'
33843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33844 (eval $ac_try) 2>&5
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); }; }; then
33848 wx_cv_type_getsockname3=size_t
33850 echo "$as_me: failed program was:" >&5
33851 sed 's/^/| /' conftest.$ac_ext >&5
33853 cat >conftest.$ac_ext <<_ACEOF
33854 #line $LINENO "configure"
33857 cat confdefs.h >>conftest.$ac_ext
33858 cat >>conftest.$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33861 #include <sys/types.h>
33862 #include <sys/socket.h>
33869 getsockname(0, 0, &len);
33875 rm -f conftest.$ac_objext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33877 (eval $ac_compile) 2>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); } &&
33881 { ac_try='test -s conftest.$ac_objext'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; }; then
33887 wx_cv_type_getsockname3=int
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33892 wx_cv_type_getsockname3=unknown
33895 rm -f conftest.$ac_objext conftest.$ac_ext
33898 rm -f conftest.$ac_objext conftest.$ac_ext
33900 CFLAGS="$CFLAGS_OLD"
33904 rm -f conftest.$ac_objext conftest.$ac_ext
33907 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
33908 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
33910 if test "$wx_cv_type_getsockname3" = "unknown"; then
33912 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
33913 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
33915 cat >>confdefs.h <<_ACEOF
33916 #define SOCKLEN_T $wx_cv_type_getsockname3
33923 if test "$wxUSE_SOCKETS" = "yes" ; then
33924 cat >>confdefs.h <<\_ACEOF
33925 #define wxUSE_SOCKETS 1
33928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
33931 if test "$wxUSE_PROTOCOL" = "yes"; then
33932 if test "$wxUSE_SOCKETS" != "yes"; then
33933 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
33934 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
33939 if test "$wxUSE_PROTOCOL" = "yes"; then
33940 cat >>confdefs.h <<\_ACEOF
33941 #define wxUSE_PROTOCOL 1
33945 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
33946 cat >>confdefs.h <<\_ACEOF
33947 #define wxUSE_PROTOCOL_HTTP 1
33951 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
33952 cat >>confdefs.h <<\_ACEOF
33953 #define wxUSE_PROTOCOL_FTP 1
33957 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
33958 cat >>confdefs.h <<\_ACEOF
33959 #define wxUSE_PROTOCOL_FILE 1
33964 if test "$wxUSE_FS_INET" = "yes"; then
33965 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
33966 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
33971 if test "$wxUSE_URL" = "yes"; then
33972 if test "$wxUSE_PROTOCOL" != "yes"; then
33973 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
33974 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
33977 if test "$wxUSE_URL" = "yes"; then
33978 cat >>confdefs.h <<\_ACEOF
33979 #define wxUSE_URL 1
33985 if test "$wxUSE_FS_INET" = "yes"; then
33986 cat >>confdefs.h <<\_ACEOF
33987 #define wxUSE_FS_INET 1
33993 if test "$wxUSE_GUI" = "yes"; then
33995 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
33996 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
33997 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
34001 if test "$TOOLKIT" != "MSW"; then
34002 if test "$wxUSE_JOYSTICK" = "yes"; then
34004 for ac_header in linux/joystick.h
34006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34008 echo "$as_me:$LINENO: checking for $ac_header" >&5
34009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34016 # Is the header compilable?
34017 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34018 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34019 cat >conftest.$ac_ext <<_ACEOF
34020 #line $LINENO "configure"
34023 cat confdefs.h >>conftest.$ac_ext
34024 cat >>conftest.$ac_ext <<_ACEOF
34025 /* end confdefs.h. */
34026 $ac_includes_default
34027 #include <$ac_header>
34029 rm -f conftest.$ac_objext
34030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34031 (eval $ac_compile) 2>&5
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); } &&
34035 { ac_try='test -s conftest.$ac_objext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 ac_header_compiler=yes
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34046 ac_header_compiler=no
34048 rm -f conftest.$ac_objext conftest.$ac_ext
34049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34050 echo "${ECHO_T}$ac_header_compiler" >&6
34052 # Is the header present?
34053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34055 cat >conftest.$ac_ext <<_ACEOF
34056 #line $LINENO "configure"
34059 cat confdefs.h >>conftest.$ac_ext
34060 cat >>conftest.$ac_ext <<_ACEOF
34061 /* end confdefs.h. */
34062 #include <$ac_header>
34064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34067 grep -v '^ *+' conftest.er1 >conftest.err
34069 cat conftest.err >&5
34070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34071 (exit $ac_status); } >/dev/null; then
34072 if test -s conftest.err; then
34073 ac_cpp_err=$ac_c_preproc_warn_flag
34080 if test -z "$ac_cpp_err"; then
34081 ac_header_preproc=yes
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34086 ac_header_preproc=no
34088 rm -f conftest.err conftest.$ac_ext
34089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34090 echo "${ECHO_T}$ac_header_preproc" >&6
34092 # So? What about this header?
34093 case $ac_header_compiler:$ac_header_preproc in
34095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34101 ## ------------------------------------ ##
34102 ## Report this to bug-autoconf@gnu.org. ##
34103 ## ------------------------------------ ##
34106 sed "s/^/$as_me: WARNING: /" >&2
34109 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34111 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34112 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34117 ## ------------------------------------ ##
34118 ## Report this to bug-autoconf@gnu.org. ##
34119 ## ------------------------------------ ##
34122 sed "s/^/$as_me: WARNING: /" >&2
34125 echo "$as_me:$LINENO: checking for $ac_header" >&5
34126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 eval "$as_ac_Header=$ac_header_preproc"
34132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34137 cat >>confdefs.h <<_ACEOF
34138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34145 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
34147 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
34148 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34153 if test "$wxUSE_JOYSTICK" = "yes"; then
34154 cat >>confdefs.h <<\_ACEOF
34155 #define wxUSE_JOYSTICK 1
34158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
34164 if test "$wxUSE_FONTMAP" = "yes" ; then
34165 cat >>confdefs.h <<\_ACEOF
34166 #define wxUSE_FONTMAP 1
34171 if test "$wxUSE_UNICODE" = "yes" ; then
34172 cat >>confdefs.h <<\_ACEOF
34173 #define wxUSE_UNICODE 1
34177 if test "$USE_WIN32" != 1; then
34178 wxUSE_UNICODE_MSLU=no
34181 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
34182 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
34183 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
34184 if test "${ac_cv_lib_unicows_main+set}" = set; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34187 ac_check_lib_save_LIBS=$LIBS
34188 LIBS="-lunicows $LIBS"
34189 cat >conftest.$ac_ext <<_ACEOF
34190 #line $LINENO "configure"
34193 cat confdefs.h >>conftest.$ac_ext
34194 cat >>conftest.$ac_ext <<_ACEOF
34195 /* end confdefs.h. */
34206 rm -f conftest.$ac_objext conftest$ac_exeext
34207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34208 (eval $ac_link) 2>&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); } &&
34212 { ac_try='test -s conftest$ac_exeext'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 ac_cv_lib_unicows_main=yes
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34223 ac_cv_lib_unicows_main=no
34225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34226 LIBS=$ac_check_lib_save_LIBS
34228 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
34229 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
34230 if test $ac_cv_lib_unicows_main = yes; then
34232 cat >>confdefs.h <<\_ACEOF
34233 #define wxUSE_UNICODE_MSLU 1
34239 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
34240 Applications will only run on Windows NT/2000/XP!" >&5
34241 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
34242 Applications will only run on Windows NT/2000/XP!" >&2;}
34243 wxUSE_UNICODE_MSLU=no
34250 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
34251 cat >>confdefs.h <<\_ACEOF
34252 #define wxUSE_EXPERIMENTAL_PRINTF 1
34258 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
34259 cat >>confdefs.h <<\_ACEOF
34260 #define wxUSE_POSTSCRIPT 1
34265 cat >>confdefs.h <<\_ACEOF
34266 #define wxUSE_AFM_FOR_POSTSCRIPT 1
34270 cat >>confdefs.h <<\_ACEOF
34271 #define wxUSE_NORMALIZED_PS_FONTS 1
34276 if test "$wxUSE_CONSTRAINTS" = "yes"; then
34277 cat >>confdefs.h <<\_ACEOF
34278 #define wxUSE_CONSTRAINTS 1
34281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
34284 if test "$wxUSE_MDI" = "yes"; then
34285 cat >>confdefs.h <<\_ACEOF
34286 #define wxUSE_MDI 1
34290 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define wxUSE_MDI_ARCHITECTURE 1
34295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
34299 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
34300 cat >>confdefs.h <<\_ACEOF
34301 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
34304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
34305 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
34306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
34310 if test "$wxUSE_HELP" = "yes"; then
34311 cat >>confdefs.h <<\_ACEOF
34312 #define wxUSE_HELP 1
34315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
34317 if test "$wxUSE_MSW" = 1; then
34318 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
34319 cat >>confdefs.h <<\_ACEOF
34320 #define wxUSE_MS_HTML_HELP 1
34326 if test "$wxUSE_WXHTML_HELP" = "yes"; then
34327 if test "$wxUSE_HTML" = "yes"; then
34328 cat >>confdefs.h <<\_ACEOF
34329 #define wxUSE_WXHTML_HELP 1
34333 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
34334 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
34335 wxUSE_WXHTML_HELP=no
34340 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34341 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34342 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
34343 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
34345 cat >>confdefs.h <<\_ACEOF
34346 #define wxUSE_PRINTING_ARCHITECTURE 1
34350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
34353 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
34354 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
34355 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
34356 { (exit 1); exit 1; }; }
34360 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
34361 -o "$wxUSE_CLIPBOARD" = "yes" \
34362 -o "$wxUSE_OLE" = "yes" \
34363 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
34365 for ac_header in ole2.h
34367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34369 echo "$as_me:$LINENO: checking for $ac_header" >&5
34370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34372 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34377 # Is the header compilable?
34378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34380 cat >conftest.$ac_ext <<_ACEOF
34381 #line $LINENO "configure"
34384 cat confdefs.h >>conftest.$ac_ext
34385 cat >>conftest.$ac_ext <<_ACEOF
34386 /* end confdefs.h. */
34387 $ac_includes_default
34388 #include <$ac_header>
34390 rm -f conftest.$ac_objext
34391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34392 (eval $ac_compile) 2>&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } &&
34396 { ac_try='test -s conftest.$ac_objext'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; }; then
34402 ac_header_compiler=yes
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34407 ac_header_compiler=no
34409 rm -f conftest.$ac_objext conftest.$ac_ext
34410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34411 echo "${ECHO_T}$ac_header_compiler" >&6
34413 # Is the header present?
34414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34416 cat >conftest.$ac_ext <<_ACEOF
34417 #line $LINENO "configure"
34420 cat confdefs.h >>conftest.$ac_ext
34421 cat >>conftest.$ac_ext <<_ACEOF
34422 /* end confdefs.h. */
34423 #include <$ac_header>
34425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34428 grep -v '^ *+' conftest.er1 >conftest.err
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } >/dev/null; then
34433 if test -s conftest.err; then
34434 ac_cpp_err=$ac_c_preproc_warn_flag
34441 if test -z "$ac_cpp_err"; then
34442 ac_header_preproc=yes
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.$ac_ext >&5
34447 ac_header_preproc=no
34449 rm -f conftest.err conftest.$ac_ext
34450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34451 echo "${ECHO_T}$ac_header_preproc" >&6
34453 # So? What about this header?
34454 case $ac_header_compiler:$ac_header_preproc in
34456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34462 ## ------------------------------------ ##
34463 ## Report this to bug-autoconf@gnu.org. ##
34464 ## ------------------------------------ ##
34467 sed "s/^/$as_me: WARNING: /" >&2
34470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34478 ## ------------------------------------ ##
34479 ## Report this to bug-autoconf@gnu.org. ##
34480 ## ------------------------------------ ##
34483 sed "s/^/$as_me: WARNING: /" >&2
34486 echo "$as_me:$LINENO: checking for $ac_header" >&5
34487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 eval "$as_ac_Header=$ac_header_preproc"
34493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34498 cat >>confdefs.h <<_ACEOF
34499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34507 if test "$ac_cv_header_ole2_h" = "yes" ; then
34508 if test "$GCC" = yes ; then
34512 ac_cpp='$CXXCPP $CPPFLAGS'
34513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
34519 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
34520 cat >conftest.$ac_ext <<_ACEOF
34521 #line $LINENO "configure"
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34527 #include <windows.h>
34537 rm -f conftest.$ac_objext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34539 (eval $ac_compile) 2>&5
34541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34542 (exit $ac_status); } &&
34543 { ac_try='test -s conftest.$ac_objext'
34544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34545 (eval $ac_try) 2>&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); }; }; then
34549 echo "$as_me:$LINENO: result: no" >&5
34550 echo "${ECHO_T}no" >&6
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.$ac_ext >&5
34555 echo "$as_me:$LINENO: result: yes" >&5
34556 echo "${ECHO_T}yes" >&6
34557 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
34559 rm -f conftest.$ac_objext conftest.$ac_ext
34561 ac_cpp='$CPP $CPPFLAGS'
34562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34566 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
34567 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
34568 if test "$wxUSE_OLE" = "yes" ; then
34569 cat >>confdefs.h <<\_ACEOF
34570 #define wxUSE_OLE 1
34576 if test "$wxUSE_DATAOBJ" = "yes" ; then
34577 cat >>confdefs.h <<\_ACEOF
34578 #define wxUSE_DATAOBJ 1
34583 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
34584 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
34587 wxUSE_DRAG_AND_DROP=no
34592 if test "$wxUSE_METAFILE" = "yes"; then
34593 cat >>confdefs.h <<\_ACEOF
34594 #define wxUSE_METAFILE 1
34598 cat >>confdefs.h <<\_ACEOF
34599 #define wxUSE_ENH_METAFILE 1
34605 if test "$wxUSE_IPC" = "yes"; then
34606 if test "$wxUSE_SOCKETS" != "yes"; then
34607 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
34608 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
34611 cat >>confdefs.h <<\_ACEOF
34612 #define wxUSE_IPC 1
34617 if test "$wxUSE_CLIPBOARD" = "yes"; then
34618 if test "$wxUSE_MGL" = 1; then
34619 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
34620 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
34624 if test "$wxUSE_CLIPBOARD" = "yes"; then
34625 cat >>confdefs.h <<\_ACEOF
34626 #define wxUSE_CLIPBOARD 1
34630 cat >>confdefs.h <<\_ACEOF
34631 #define wxUSE_DATAOBJ 1
34637 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
34638 if test "$wxUSE_GTK" = 1; then
34639 if test "$WXGTK12" != 1; then
34640 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
34641 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
34642 wxUSE_DRAG_AND_DROP=no
34646 if test "$wxUSE_MOTIF" = 1; then
34647 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
34648 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
34649 wxUSE_DRAG_AND_DROP=no
34652 if test "$wxUSE_X11" = 1; then
34653 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
34654 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
34655 wxUSE_DRAG_AND_DROP=no
34658 if test "$wxUSE_MGL" = 1; then
34659 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
34660 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
34661 wxUSE_DRAG_AND_DROP=no
34664 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
34665 cat >>confdefs.h <<\_ACEOF
34666 #define wxUSE_DRAG_AND_DROP 1
34673 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
34674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
34677 if test "$wxUSE_SPLINES" = "yes" ; then
34678 cat >>confdefs.h <<\_ACEOF
34679 #define wxUSE_SPLINES 1
34686 if test "$wxUSE_CONTROLS" = "yes"; then
34690 if test "$wxUSE_ACCEL" = "yes"; then
34691 cat >>confdefs.h <<\_ACEOF
34692 #define wxUSE_ACCEL 1
34698 if test "$wxUSE_BUTTON" = "yes"; then
34699 cat >>confdefs.h <<\_ACEOF
34700 #define wxUSE_BUTTON 1
34706 if test "$wxUSE_BMPBUTTON" = "yes"; then
34707 cat >>confdefs.h <<\_ACEOF
34708 #define wxUSE_BMPBUTTON 1
34714 if test "$wxUSE_CALCTRL" = "yes"; then
34715 cat >>confdefs.h <<\_ACEOF
34716 #define wxUSE_CALENDARCTRL 1
34720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
34723 if test "$wxUSE_CARET" = "yes"; then
34724 cat >>confdefs.h <<\_ACEOF
34725 #define wxUSE_CARET 1
34729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
34732 if test "$wxUSE_COMBOBOX" = "yes"; then
34733 cat >>confdefs.h <<\_ACEOF
34734 #define wxUSE_COMBOBOX 1
34740 if test "$wxUSE_CHOICE" = "yes"; then
34741 cat >>confdefs.h <<\_ACEOF
34742 #define wxUSE_CHOICE 1
34748 if test "$wxUSE_CHECKBOX" = "yes"; then
34749 cat >>confdefs.h <<\_ACEOF
34750 #define wxUSE_CHECKBOX 1
34756 if test "$wxUSE_CHECKLST" = "yes"; then
34757 cat >>confdefs.h <<\_ACEOF
34758 #define wxUSE_CHECKLISTBOX 1
34762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
34765 if test "$wxUSE_DISPLAY" = "yes"; then
34766 cat >>confdefs.h <<\_ACEOF
34767 #define wxUSE_DISPLAY 1
34770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
34773 if test "$wxUSE_GAUGE" = "yes"; then
34774 cat >>confdefs.h <<\_ACEOF
34775 #define wxUSE_GAUGE 1
34781 if test "$wxUSE_GRID" = "yes"; then
34782 cat >>confdefs.h <<\_ACEOF
34783 #define wxUSE_GRID 1
34787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
34790 if test "$wxUSE_IMAGLIST" = "yes"; then
34791 cat >>confdefs.h <<\_ACEOF
34792 #define wxUSE_IMAGLIST 1
34797 if test "$wxUSE_LISTBOOK" = "yes"; then
34798 cat >>confdefs.h <<\_ACEOF
34799 #define wxUSE_LISTBOOK 1
34805 if test "$wxUSE_LISTBOX" = "yes"; then
34806 cat >>confdefs.h <<\_ACEOF
34807 #define wxUSE_LISTBOX 1
34813 if test "$wxUSE_LISTCTRL" = "yes"; then
34814 if test "$wxUSE_IMAGLIST" = "yes"; then
34815 cat >>confdefs.h <<\_ACEOF
34816 #define wxUSE_LISTCTRL 1
34820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
34822 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
34823 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
34827 if test "$wxUSE_NOTEBOOK" = "yes"; then
34828 cat >>confdefs.h <<\_ACEOF
34829 #define wxUSE_NOTEBOOK 1
34833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
34837 if test "$wxUSE_RADIOBOX" = "yes"; then
34838 cat >>confdefs.h <<\_ACEOF
34839 #define wxUSE_RADIOBOX 1
34845 if test "$wxUSE_RADIOBTN" = "yes"; then
34846 cat >>confdefs.h <<\_ACEOF
34847 #define wxUSE_RADIOBTN 1
34853 if test "$wxUSE_SASH" = "yes"; then
34854 cat >>confdefs.h <<\_ACEOF
34855 #define wxUSE_SASH 1
34858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
34861 if test "$wxUSE_SCROLLBAR" = "yes"; then
34862 cat >>confdefs.h <<\_ACEOF
34863 #define wxUSE_SCROLLBAR 1
34867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
34870 if test "$wxUSE_SLIDER" = "yes"; then
34871 cat >>confdefs.h <<\_ACEOF
34872 #define wxUSE_SLIDER 1
34878 if test "$wxUSE_SPINBTN" = "yes"; then
34879 cat >>confdefs.h <<\_ACEOF
34880 #define wxUSE_SPINBTN 1
34886 if test "$wxUSE_SPINCTRL" = "yes"; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define wxUSE_SPINCTRL 1
34894 if test "$wxUSE_SPLITTER" = "yes"; then
34895 cat >>confdefs.h <<\_ACEOF
34896 #define wxUSE_SPLITTER 1
34899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
34902 if test "$wxUSE_STATBMP" = "yes"; then
34903 cat >>confdefs.h <<\_ACEOF
34904 #define wxUSE_STATBMP 1
34910 if test "$wxUSE_STATBOX" = "yes"; then
34911 cat >>confdefs.h <<\_ACEOF
34912 #define wxUSE_STATBOX 1
34918 if test "$wxUSE_STATTEXT" = "yes"; then
34919 cat >>confdefs.h <<\_ACEOF
34920 #define wxUSE_STATTEXT 1
34926 if test "$wxUSE_STATLINE" = "yes"; then
34927 cat >>confdefs.h <<\_ACEOF
34928 #define wxUSE_STATLINE 1
34934 if test "$wxUSE_STATUSBAR" = "yes"; then
34935 cat >>confdefs.h <<\_ACEOF
34936 #define wxUSE_STATUSBAR 1
34941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
34944 if test "$wxUSE_TABDIALOG" = "yes"; then
34945 cat >>confdefs.h <<\_ACEOF
34946 #define wxUSE_TAB_DIALOG 1
34949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
34952 if test "$wxUSE_TEXTCTRL" = "yes"; then
34953 cat >>confdefs.h <<\_ACEOF
34954 #define wxUSE_TEXTCTRL 1
34958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
34961 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34962 if test "$wxUSE_COCOA" = 1 ; then
34963 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
34964 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
34967 if test "$wxUSE_PM" = 1; then
34968 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
34969 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
34973 if test "$wxUSE_UNIVERSAL" = "yes"; then
34974 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
34975 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
34979 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34980 cat >>confdefs.h <<\_ACEOF
34981 #define wxUSE_TOGGLEBTN 1
34988 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
34989 cat >>confdefs.h <<\_ACEOF
34990 #define wxUSE_TOOLBAR_SIMPLE 1
34993 wxUSE_TOOLBAR="yes"
34997 if test "$wxUSE_TOOLBAR" = "yes"; then
34998 cat >>confdefs.h <<\_ACEOF
34999 #define wxUSE_TOOLBAR 1
35004 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
35005 wxUSE_TOOLBAR_NATIVE="yes"
35008 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
35009 cat >>confdefs.h <<\_ACEOF
35010 #define wxUSE_TOOLBAR_NATIVE 1
35016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35019 if test "$wxUSE_TOOLTIPS" = "yes"; then
35020 if test "$wxUSE_MOTIF" = 1; then
35021 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35022 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35024 if test "$wxUSE_UNIVERSAL" = "yes"; then
35025 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35026 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35028 cat >>confdefs.h <<\_ACEOF
35029 #define wxUSE_TOOLTIPS 1
35036 if test "$wxUSE_TREECTRL" = "yes"; then
35037 if test "$wxUSE_IMAGLIST" = "yes"; then
35038 cat >>confdefs.h <<\_ACEOF
35039 #define wxUSE_TREECTRL 1
35043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35045 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35046 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35050 if test "$wxUSE_POPUPWIN" = "yes"; then
35051 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35052 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35053 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35055 if test "$wxUSE_PM" = 1; then
35056 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35057 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35059 cat >>confdefs.h <<\_ACEOF
35060 #define wxUSE_POPUPWIN 1
35069 if test "$wxUSE_TIPWINDOW" = "yes"; then
35070 if test "$wxUSE_PM" = 1; then
35071 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35072 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35074 cat >>confdefs.h <<\_ACEOF
35075 #define wxUSE_TIPWINDOW 1
35081 if test "$USES_CONTROLS" = 1; then
35082 cat >>confdefs.h <<\_ACEOF
35083 #define wxUSE_CONTROLS 1
35089 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35090 cat >>confdefs.h <<\_ACEOF
35091 #define wxUSE_ACCESSIBILITY 1
35094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
35097 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35098 cat >>confdefs.h <<\_ACEOF
35099 #define wxUSE_DRAGIMAGE 1
35102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
35105 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35106 cat >>confdefs.h <<\_ACEOF
35107 #define wxUSE_EXCEPTIONS 1
35113 if test "$wxUSE_HTML" = "yes"; then
35114 cat >>confdefs.h <<\_ACEOF
35115 #define wxUSE_HTML 1
35119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35120 if test "$wxUSE_MAC" = 1; then
35121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
35125 if test "$wxUSE_MENUS" = "yes"; then
35126 cat >>confdefs.h <<\_ACEOF
35127 #define wxUSE_MENUS 1
35130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
35133 if test "$wxUSE_METAFILE" = "yes"; then
35134 cat >>confdefs.h <<\_ACEOF
35135 #define wxUSE_METAFILE 1
35140 if test "$wxUSE_MIMETYPE" = "yes"; then
35141 cat >>confdefs.h <<\_ACEOF
35142 #define wxUSE_MIMETYPE 1
35147 if test "$wxUSE_MINIFRAME" = "yes"; then
35148 cat >>confdefs.h <<\_ACEOF
35149 #define wxUSE_MINIFRAME 1
35152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
35155 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
35156 cat >>confdefs.h <<\_ACEOF
35157 #define wxUSE_SYSTEM_OPTIONS 1
35160 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
35161 "$TOOLKIT" = "MOTIF"; then
35162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
35167 if test "$wxUSE_VALIDATORS" = "yes"; then
35168 cat >>confdefs.h <<\_ACEOF
35169 #define wxUSE_VALIDATORS 1
35172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
35175 if test "$wxUSE_PALETTE" = "yes" ; then
35176 cat >>confdefs.h <<\_ACEOF
35177 #define wxUSE_PALETTE 1
35182 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
35183 LIBS=" -lunicows $LIBS"
35187 if test "$wxUSE_IMAGE" = "yes" ; then
35188 cat >>confdefs.h <<\_ACEOF
35189 #define wxUSE_IMAGE 1
35193 if test "$wxUSE_GIF" = "yes" ; then
35194 cat >>confdefs.h <<\_ACEOF
35195 #define wxUSE_GIF 1
35200 if test "$wxUSE_PCX" = "yes" ; then
35201 cat >>confdefs.h <<\_ACEOF
35202 #define wxUSE_PCX 1
35207 if test "$wxUSE_IFF" = "yes" ; then
35208 cat >>confdefs.h <<\_ACEOF
35209 #define wxUSE_IFF 1
35214 if test "$wxUSE_PNM" = "yes" ; then
35215 cat >>confdefs.h <<\_ACEOF
35216 #define wxUSE_PNM 1
35221 if test "$wxUSE_XPM" = "yes" ; then
35222 cat >>confdefs.h <<\_ACEOF
35223 #define wxUSE_XPM 1
35228 if test "$wxUSE_ICO_CUR" = "yes" ; then
35229 cat >>confdefs.h <<\_ACEOF
35230 #define wxUSE_ICO_CUR 1
35237 if test "$wxUSE_CHOICEDLG" = "yes"; then
35238 cat >>confdefs.h <<\_ACEOF
35239 #define wxUSE_CHOICEDLG 1
35244 if test "$wxUSE_COLOURDLG" = "yes"; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define wxUSE_COLOURDLG 1
35251 if test "$wxUSE_FILEDLG" = "yes"; then
35252 cat >>confdefs.h <<\_ACEOF
35253 #define wxUSE_FILEDLG 1
35258 if test "$wxUSE_FINDREPLDLG" = "yes"; then
35259 cat >>confdefs.h <<\_ACEOF
35260 #define wxUSE_FINDREPLDLG 1
35265 if test "$wxUSE_FONTDLG" = "yes"; then
35266 cat >>confdefs.h <<\_ACEOF
35267 #define wxUSE_FONTDLG 1
35272 if test "$wxUSE_DIRDLG" = "yes"; then
35273 if test "$wxUSE_TREECTRL" != "yes"; then
35274 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
35275 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
35277 cat >>confdefs.h <<\_ACEOF
35278 #define wxUSE_DIRDLG 1
35284 if test "$wxUSE_MSGDLG" = "yes"; then
35285 cat >>confdefs.h <<\_ACEOF
35286 #define wxUSE_MSGDLG 1
35291 if test "$wxUSE_NUMBERDLG" = "yes"; then
35292 cat >>confdefs.h <<\_ACEOF
35293 #define wxUSE_NUMBERDLG 1
35298 if test "$wxUSE_PROGRESSDLG" = "yes"; then
35299 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35300 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
35301 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
35303 cat >>confdefs.h <<\_ACEOF
35304 #define wxUSE_PROGRESSDLG 1
35310 if test "$wxUSE_SPLASH" = "yes"; then
35311 cat >>confdefs.h <<\_ACEOF
35312 #define wxUSE_SPLASH 1
35317 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
35318 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35319 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
35320 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
35322 cat >>confdefs.h <<\_ACEOF
35323 #define wxUSE_STARTUP_TIPS 1
35329 if test "$wxUSE_TEXTDLG" = "yes"; then
35330 cat >>confdefs.h <<\_ACEOF
35331 #define wxUSE_TEXTDLG 1
35336 if test "$wxUSE_WIZARDDLG" = "yes"; then
35337 cat >>confdefs.h <<\_ACEOF
35338 #define wxUSE_WIZARDDLG 1
35341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
35345 if test "$cross_compiling" = "yes"; then
35348 OSINFO=`uname -s -r -m`
35349 OSINFO="\"$OSINFO\""
35352 cat >>confdefs.h <<_ACEOF
35353 #define WXWIN_OS_DESCRIPTION $OSINFO
35358 if test "x$prefix" != "xNONE"; then
35361 wxPREFIX=$ac_default_prefix
35364 cat >>confdefs.h <<_ACEOF
35365 #define wxINSTALL_PREFIX "$wxPREFIX"
35369 top_builddir_wxconfig=`pwd`
35373 CORE_BASE_LIBS="net base"
35374 CORE_GUI_LIBS="adv core"
35376 if test "$wxUSE_XML" = "yes" ; then
35377 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
35379 if test "$wxUSE_ODBC" != "no" ; then
35380 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
35381 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
35383 if test "$wxUSE_HTML" = "yes" ; then
35384 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
35387 if test "$wxUSE_GUI" != "yes"; then
35398 if test "$wxUSE_MAC" = 1 ; then
35399 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
35401 if test "$wxUSE_COCOA" = 1 ; then
35402 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
35406 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
35413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35414 echo "$as_me:$LINENO: checking for $ac_func" >&5
35415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35416 if eval "test \"\${$as_ac_var+set}\" = set"; then
35417 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 cat >conftest.$ac_ext <<_ACEOF
35420 #line $LINENO "configure"
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 /* System header to define __stub macros and hopefully few prototypes,
35427 which can conflict with char $ac_func (); below.
35428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35429 <limits.h> exists even on freestanding compilers. */
35431 # include <limits.h>
35433 # include <assert.h>
35435 /* Override any gcc2 internal prototype to avoid an error. */
35440 /* We use char because int might match the return type of a gcc2
35441 builtin and then its argument prototype would still apply. */
35443 /* The GNU C library defines this for functions which it implements
35444 to always fail with ENOSYS. Some functions are actually named
35445 something starting with __ and the normal name is an alias. */
35446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35449 char (*f) () = $ac_func;
35458 return f != $ac_func;
35463 rm -f conftest.$ac_objext conftest$ac_exeext
35464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35465 (eval $ac_link) 2>&5
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); } &&
35469 { ac_try='test -s conftest$ac_exeext'
35470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35471 (eval $ac_try) 2>&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); }; }; then
35475 eval "$as_ac_var=yes"
35477 echo "$as_me: failed program was:" >&5
35478 sed 's/^/| /' conftest.$ac_ext >&5
35480 eval "$as_ac_var=no"
35482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35486 if test `eval echo '${'$as_ac_var'}'` = yes; then
35487 cat >>confdefs.h <<_ACEOF
35488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35495 for ac_func in floor
35497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35498 echo "$as_me:$LINENO: checking for $ac_func" >&5
35499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35500 if eval "test \"\${$as_ac_var+set}\" = set"; then
35501 echo $ECHO_N "(cached) $ECHO_C" >&6
35503 cat >conftest.$ac_ext <<_ACEOF
35504 #line $LINENO "configure"
35507 cat confdefs.h >>conftest.$ac_ext
35508 cat >>conftest.$ac_ext <<_ACEOF
35509 /* end confdefs.h. */
35510 /* System header to define __stub macros and hopefully few prototypes,
35511 which can conflict with char $ac_func (); below.
35512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35513 <limits.h> exists even on freestanding compilers. */
35515 # include <limits.h>
35517 # include <assert.h>
35519 /* Override any gcc2 internal prototype to avoid an error. */
35524 /* We use char because int might match the return type of a gcc2
35525 builtin and then its argument prototype would still apply. */
35527 /* The GNU C library defines this for functions which it implements
35528 to always fail with ENOSYS. Some functions are actually named
35529 something starting with __ and the normal name is an alias. */
35530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35533 char (*f) () = $ac_func;
35542 return f != $ac_func;
35547 rm -f conftest.$ac_objext conftest$ac_exeext
35548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35549 (eval $ac_link) 2>&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); } &&
35553 { ac_try='test -s conftest$ac_exeext'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; }; then
35559 eval "$as_ac_var=yes"
35561 echo "$as_me: failed program was:" >&5
35562 sed 's/^/| /' conftest.$ac_ext >&5
35564 eval "$as_ac_var=no"
35566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35570 if test `eval echo '${'$as_ac_var'}'` = yes; then
35571 cat >>confdefs.h <<_ACEOF
35572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35578 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
35579 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
35580 if test "$have_cos" = 1 -a "$have_floor" = 1; then
35581 echo "$as_me:$LINENO: result: yes" >&5
35582 echo "${ECHO_T}yes" >&6
35584 echo "$as_me:$LINENO: result: no" >&5
35585 echo "${ECHO_T}no" >&6
35587 # use different functions to avoid configure caching
35593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35594 echo "$as_me:$LINENO: checking for $ac_func" >&5
35595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35596 if eval "test \"\${$as_ac_var+set}\" = set"; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 cat >conftest.$ac_ext <<_ACEOF
35600 #line $LINENO "configure"
35603 cat confdefs.h >>conftest.$ac_ext
35604 cat >>conftest.$ac_ext <<_ACEOF
35605 /* end confdefs.h. */
35606 /* System header to define __stub macros and hopefully few prototypes,
35607 which can conflict with char $ac_func (); below.
35608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35609 <limits.h> exists even on freestanding compilers. */
35611 # include <limits.h>
35613 # include <assert.h>
35615 /* Override any gcc2 internal prototype to avoid an error. */
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35623 /* The GNU C library defines this for functions which it implements
35624 to always fail with ENOSYS. Some functions are actually named
35625 something starting with __ and the normal name is an alias. */
35626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35629 char (*f) () = $ac_func;
35638 return f != $ac_func;
35643 rm -f conftest.$ac_objext conftest$ac_exeext
35644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35645 (eval $ac_link) 2>&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try='test -s conftest$ac_exeext'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; }; then
35655 eval "$as_ac_var=yes"
35657 echo "$as_me: failed program was:" >&5
35658 sed 's/^/| /' conftest.$ac_ext >&5
35660 eval "$as_ac_var=no"
35662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35666 if test `eval echo '${'$as_ac_var'}'` = yes; then
35667 cat >>confdefs.h <<_ACEOF
35668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35675 for ac_func in ceil
35677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35678 echo "$as_me:$LINENO: checking for $ac_func" >&5
35679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35680 if eval "test \"\${$as_ac_var+set}\" = set"; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 cat >conftest.$ac_ext <<_ACEOF
35684 #line $LINENO "configure"
35687 cat confdefs.h >>conftest.$ac_ext
35688 cat >>conftest.$ac_ext <<_ACEOF
35689 /* end confdefs.h. */
35690 /* System header to define __stub macros and hopefully few prototypes,
35691 which can conflict with char $ac_func (); below.
35692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35693 <limits.h> exists even on freestanding compilers. */
35695 # include <limits.h>
35697 # include <assert.h>
35699 /* Override any gcc2 internal prototype to avoid an error. */
35704 /* We use char because int might match the return type of a gcc2
35705 builtin and then its argument prototype would still apply. */
35707 /* The GNU C library defines this for functions which it implements
35708 to always fail with ENOSYS. Some functions are actually named
35709 something starting with __ and the normal name is an alias. */
35710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35713 char (*f) () = $ac_func;
35722 return f != $ac_func;
35727 rm -f conftest.$ac_objext conftest$ac_exeext
35728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35729 (eval $ac_link) 2>&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); } &&
35733 { ac_try='test -s conftest$ac_exeext'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; }; then
35739 eval "$as_ac_var=yes"
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.$ac_ext >&5
35744 eval "$as_ac_var=no"
35746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35750 if test `eval echo '${'$as_ac_var'}'` = yes; then
35751 cat >>confdefs.h <<_ACEOF
35752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35758 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
35759 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
35760 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
35761 echo "$as_me:$LINENO: result: yes" >&5
35762 echo "${ECHO_T}yes" >&6
35764 echo "$as_me:$LINENO: result: no" >&5
35765 echo "${ECHO_T}no" >&6
35766 # not sure we should warn the user, crash, etc.
35770 if test "$wxUSE_GUI" = "yes"; then
35773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
35774 drawing dynamic erase event exec font image \
35775 minimal propsize rotate shaped widgets render"
35777 if test "$wxUSE_MONOLITHIC" != "yes"; then
35778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
35781 SAMPLES_SUBDIRS="console"
35785 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
35786 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
35788 if test "$GXX" = yes ; then
35789 CXXWARNINGS="-Wall"
35792 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
35794 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
35795 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
35796 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
35799 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
35800 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
35801 EXTRALIBS_XML="$EXPAT_LINK"
35802 EXTRALIBS_HTML="$MSPACK_LINK"
35803 EXTRALIBS_ODBC="$ODBC_LINK"
35804 if test "$wxUSE_GUI" = "yes"; then
35805 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
35807 if test "$wxUSE_OPENGL" = "yes"; then
35808 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
35811 LDFLAGS="$LDFLAGS $PROFILE"
35813 if test "$wxUSE_GTK" = 1; then
35816 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
35819 WXCONFIG_EXTRALIBS="$LIBS"
35821 if test "$wxUSE_REGEX" = "builtin" ; then
35822 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
35824 if test "$wxUSE_EXPAT" = "builtin" ; then
35825 wxconfig_3rdparty="$wxconfig_3rdparty expat"
35827 if test "$wxUSE_ODBC" = "builtin" ; then
35828 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35830 if test "$wxUSE_LIBTIFF" = "builtin" ; then
35831 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
35833 if test "$wxUSE_LIBJPEG" = "builtin" ; then
35834 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
35836 if test "$wxUSE_LIBPNG" = "builtin" ; then
35837 wxconfig_3rdparty="$wxconfig_3rdparty png"
35839 if test "$wxUSE_ZLIB" = "builtin" ; then
35840 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
35842 if test "$wxUSE_ODBC" = "builtin" ; then
35843 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35846 for i in $wxconfig_3rdparty ; do
35847 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
35851 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
35865 if test $wxUSE_MONOLITHIC = "yes" ; then
35871 if test $wxUSE_PLUGINS = "yes" ; then
35877 if test $wxUSE_ODBC != "no" ; then
35883 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
35909 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
35919 if test "x$BAKEFILE_HOST" = "x"; then
35920 BAKEFILE_HOST="${host}"
35923 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
35925 if test -n "$ac_tool_prefix"; then
35926 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35927 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
35928 echo "$as_me:$LINENO: checking for $ac_word" >&5
35929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35930 if test "${ac_cv_prog_RANLIB+set}" = set; then
35931 echo $ECHO_N "(cached) $ECHO_C" >&6
35933 if test -n "$RANLIB"; then
35934 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
35936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35937 for as_dir in $PATH
35940 test -z "$as_dir" && as_dir=.
35941 for ac_exec_ext in '' $ac_executable_extensions; do
35942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35943 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
35944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35952 RANLIB=$ac_cv_prog_RANLIB
35953 if test -n "$RANLIB"; then
35954 echo "$as_me:$LINENO: result: $RANLIB" >&5
35955 echo "${ECHO_T}$RANLIB" >&6
35957 echo "$as_me:$LINENO: result: no" >&5
35958 echo "${ECHO_T}no" >&6
35962 if test -z "$ac_cv_prog_RANLIB"; then
35963 ac_ct_RANLIB=$RANLIB
35964 # Extract the first word of "ranlib", so it can be a program name with args.
35965 set dummy ranlib; ac_word=$2
35966 echo "$as_me:$LINENO: checking for $ac_word" >&5
35967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35968 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35971 if test -n "$ac_ct_RANLIB"; then
35972 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
35974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35975 for as_dir in $PATH
35978 test -z "$as_dir" && as_dir=.
35979 for ac_exec_ext in '' $ac_executable_extensions; do
35980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35981 ac_cv_prog_ac_ct_RANLIB="ranlib"
35982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35988 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
35991 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
35992 if test -n "$ac_ct_RANLIB"; then
35993 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35994 echo "${ECHO_T}$ac_ct_RANLIB" >&6
35996 echo "$as_me:$LINENO: result: no" >&5
35997 echo "${ECHO_T}no" >&6
36000 RANLIB=$ac_ct_RANLIB
36002 RANLIB="$ac_cv_prog_RANLIB"
36005 # Find a good install program. We prefer a C program (faster),
36006 # so one script is as good as another. But avoid the broken or
36007 # incompatible versions:
36008 # SysV /etc/install, /usr/sbin/install
36009 # SunOS /usr/etc/install
36010 # IRIX /sbin/install
36012 # AmigaOS /C/install, which installs bootblocks on floppy discs
36013 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
36014 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
36015 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
36016 # ./install, which can be erroneously created by make from ./install.sh.
36017 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
36018 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
36019 if test -z "$INSTALL"; then
36020 if test "${ac_cv_path_install+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36024 for as_dir in $PATH
36027 test -z "$as_dir" && as_dir=.
36028 # Account for people who put trailing slashes in PATH elements.
36030 ./ | .// | /cC/* | \
36031 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
36034 # OSF1 and SCO ODT 3.0 have their own names for install.
36035 # Don't use installbsd from OSF since it installs stuff as root
36037 for ac_prog in ginstall scoinst install; do
36038 for ac_exec_ext in '' $ac_executable_extensions; do
36039 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
36040 if test $ac_prog = install &&
36041 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
36042 # AIX install. It has an incompatible calling convention.
36044 elif test $ac_prog = install &&
36045 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
36046 # program-specific install script used by HP pwplus--don't use.
36049 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
36061 if test "${ac_cv_path_install+set}" = set; then
36062 INSTALL=$ac_cv_path_install
36064 # As a last resort, use the slow shell script. We don't cache a
36065 # path for INSTALL within a source directory, because that will
36066 # break other packages using the cache if that directory is
36067 # removed, or if the path is relative.
36068 INSTALL=$ac_install_sh
36071 echo "$as_me:$LINENO: result: $INSTALL" >&5
36072 echo "${ECHO_T}$INSTALL" >&6
36074 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
36075 # It thinks the first close brace ends the variable substitution.
36076 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
36078 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
36080 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
36082 echo "$as_me:$LINENO: checking whether ln -s works" >&5
36083 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
36085 if test "$LN_S" = "ln -s"; then
36086 echo "$as_me:$LINENO: result: yes" >&5
36087 echo "${ECHO_T}yes" >&6
36089 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
36090 echo "${ECHO_T}no, using $LN_S" >&6
36094 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36095 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36096 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36097 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36100 cat >conftest.make <<\_ACEOF
36102 @echo 'ac_maketemp="$(MAKE)"'
36104 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36105 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36106 if test -n "$ac_maketemp"; then
36107 eval ac_cv_prog_make_${ac_make}_set=yes
36109 eval ac_cv_prog_make_${ac_make}_set=no
36111 rm -f conftest.make
36113 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36114 echo "$as_me:$LINENO: result: yes" >&5
36115 echo "${ECHO_T}yes" >&6
36118 echo "$as_me:$LINENO: result: no" >&5
36119 echo "${ECHO_T}no" >&6
36120 SET_MAKE="MAKE=${MAKE-make}"
36125 if test -n "$ac_tool_prefix"; then
36126 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
36127 set dummy ${ac_tool_prefix}ar; ac_word=$2
36128 echo "$as_me:$LINENO: checking for $ac_word" >&5
36129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36130 if test "${ac_cv_prog_AR+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36133 if test -n "$AR"; then
36134 ac_cv_prog_AR="$AR" # Let the user override the test.
36136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36137 for as_dir in $PATH
36140 test -z "$as_dir" && as_dir=.
36141 for ac_exec_ext in '' $ac_executable_extensions; do
36142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36143 ac_cv_prog_AR="${ac_tool_prefix}ar"
36144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36153 if test -n "$AR"; then
36154 echo "$as_me:$LINENO: result: $AR" >&5
36155 echo "${ECHO_T}$AR" >&6
36157 echo "$as_me:$LINENO: result: no" >&5
36158 echo "${ECHO_T}no" >&6
36162 if test -z "$ac_cv_prog_AR"; then
36164 # Extract the first word of "ar", so it can be a program name with args.
36165 set dummy ar; ac_word=$2
36166 echo "$as_me:$LINENO: checking for $ac_word" >&5
36167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36168 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
36169 echo $ECHO_N "(cached) $ECHO_C" >&6
36171 if test -n "$ac_ct_AR"; then
36172 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
36174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36175 for as_dir in $PATH
36178 test -z "$as_dir" && as_dir=.
36179 for ac_exec_ext in '' $ac_executable_extensions; do
36180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36181 ac_cv_prog_ac_ct_AR="ar"
36182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36188 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
36191 ac_ct_AR=$ac_cv_prog_ac_ct_AR
36192 if test -n "$ac_ct_AR"; then
36193 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
36194 echo "${ECHO_T}$ac_ct_AR" >&6
36196 echo "$as_me:$LINENO: result: no" >&5
36197 echo "${ECHO_T}no" >&6
36202 AR="$ac_cv_prog_AR"
36205 if test -n "$ac_tool_prefix"; then
36206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
36207 set dummy ${ac_tool_prefix}strip; ac_word=$2
36208 echo "$as_me:$LINENO: checking for $ac_word" >&5
36209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36210 if test "${ac_cv_prog_STRIP+set}" = set; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36213 if test -n "$STRIP"; then
36214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
36216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36217 for as_dir in $PATH
36220 test -z "$as_dir" && as_dir=.
36221 for ac_exec_ext in '' $ac_executable_extensions; do
36222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
36224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36232 STRIP=$ac_cv_prog_STRIP
36233 if test -n "$STRIP"; then
36234 echo "$as_me:$LINENO: result: $STRIP" >&5
36235 echo "${ECHO_T}$STRIP" >&6
36237 echo "$as_me:$LINENO: result: no" >&5
36238 echo "${ECHO_T}no" >&6
36242 if test -z "$ac_cv_prog_STRIP"; then
36244 # Extract the first word of "strip", so it can be a program name with args.
36245 set dummy strip; ac_word=$2
36246 echo "$as_me:$LINENO: checking for $ac_word" >&5
36247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36248 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
36249 echo $ECHO_N "(cached) $ECHO_C" >&6
36251 if test -n "$ac_ct_STRIP"; then
36252 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
36254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36255 for as_dir in $PATH
36258 test -z "$as_dir" && as_dir=.
36259 for ac_exec_ext in '' $ac_executable_extensions; do
36260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36261 ac_cv_prog_ac_ct_STRIP="strip"
36262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36268 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
36271 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
36272 if test -n "$ac_ct_STRIP"; then
36273 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
36274 echo "${ECHO_T}$ac_ct_STRIP" >&6
36276 echo "$as_me:$LINENO: result: no" >&5
36277 echo "${ECHO_T}no" >&6
36282 STRIP="$ac_cv_prog_STRIP"
36285 if test -n "$ac_tool_prefix"; then
36286 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
36287 set dummy ${ac_tool_prefix}nm; ac_word=$2
36288 echo "$as_me:$LINENO: checking for $ac_word" >&5
36289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36290 if test "${ac_cv_prog_NM+set}" = set; then
36291 echo $ECHO_N "(cached) $ECHO_C" >&6
36293 if test -n "$NM"; then
36294 ac_cv_prog_NM="$NM" # Let the user override the test.
36296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36297 for as_dir in $PATH
36300 test -z "$as_dir" && as_dir=.
36301 for ac_exec_ext in '' $ac_executable_extensions; do
36302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36303 ac_cv_prog_NM="${ac_tool_prefix}nm"
36304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36313 if test -n "$NM"; then
36314 echo "$as_me:$LINENO: result: $NM" >&5
36315 echo "${ECHO_T}$NM" >&6
36317 echo "$as_me:$LINENO: result: no" >&5
36318 echo "${ECHO_T}no" >&6
36322 if test -z "$ac_cv_prog_NM"; then
36324 # Extract the first word of "nm", so it can be a program name with args.
36325 set dummy nm; ac_word=$2
36326 echo "$as_me:$LINENO: checking for $ac_word" >&5
36327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36328 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 if test -n "$ac_ct_NM"; then
36332 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
36334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36335 for as_dir in $PATH
36338 test -z "$as_dir" && as_dir=.
36339 for ac_exec_ext in '' $ac_executable_extensions; do
36340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36341 ac_cv_prog_ac_ct_NM="nm"
36342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36348 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
36351 ac_ct_NM=$ac_cv_prog_ac_ct_NM
36352 if test -n "$ac_ct_NM"; then
36353 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
36354 echo "${ECHO_T}$ac_ct_NM" >&6
36356 echo "$as_me:$LINENO: result: no" >&5
36357 echo "${ECHO_T}no" >&6
36362 NM="$ac_cv_prog_NM"
36366 case ${BAKEFILE_HOST} in
36368 INSTALL_DIR="mkdir"
36370 *) INSTALL_DIR="$INSTALL -d"
36376 case ${BAKEFILE_HOST} in
36377 *-*-cygwin* | *-*-mingw32* )
36378 LDFLAGS_GUI="-mwindows"
36384 echo "$as_me:$LINENO: checking if make is GNU make" >&5
36385 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
36386 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
36387 echo $ECHO_N "(cached) $ECHO_C" >&6
36390 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
36391 egrep -s GNU > /dev/null); then
36392 bakefile_cv_prog_makeisgnu="yes"
36394 bakefile_cv_prog_makeisgnu="no"
36398 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
36399 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
36401 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
36416 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
36417 case "${BAKEFILE_HOST}" in
36418 *-*-cygwin* | *-*-mingw32* )
36424 *-pc-os2_emx | *-pc-os2-emx )
36427 powerpc-*-darwin* )
36436 case "$BAKEFILE_FORCE_PLATFORM" in
36454 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
36455 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
36456 { (exit 1); exit 1; }; }
36469 # Check whether --enable-omf or --disable-omf was given.
36470 if test "${enable_omf+set}" = set; then
36471 enableval="$enable_omf"
36472 bk_os2_use_omf="$enableval"
36475 case "${BAKEFILE_HOST}" in
36477 CFLAGS="$CFLAGS -fno-common"
36478 CXXFLAGS="$CXXFLAGS -fno-common"
36481 *-pc-os2_emx | *-pc-os2-emx )
36482 if test "x$bk_os2_use_omf" = "xyes" ; then
36485 LDFLAGS="-Zomf $LDFLAGS"
36486 CFLAGS="-Zomf $CFLAGS"
36487 CXXFLAGS="-Zomf $CXXFLAGS"
36497 SO_SUFFIX_MODULE="so"
36502 DLLPREFIX_MODULE=""
36505 case "${BAKEFILE_HOST}" in
36508 SO_SUFFIX_MODULE="sl"
36512 SO_SUFFIX_MODULE="a"
36514 *-*-cygwin* | *-*-mingw32* )
36516 SO_SUFFIX_MODULE="dll"
36517 DLLIMP_SUFFIX="dll.a"
36525 *-pc-os2_emx | *-pc-os2-emx )
36527 SO_SUFFIX_MODULE="dll"
36528 DLLIMP_SUFFIX=$OS2_LIBEXT
36532 LIBEXT=".$OS2_LIBEXT"
36534 powerpc-*-darwin* )
36536 SO_SUFFIX_MODULE="bundle"
36540 if test "x$DLLIMP_SUFFIX" = "x" ; then
36541 DLLIMP_SUFFIX="$SO_SUFFIX"
36554 SHARED_LD_CC="\$(CC) -shared -o"
36555 SHARED_LD_CXX="\$(CXX) -shared -o"
36557 if test "x$GCC" = "xyes"; then
36561 case "${BAKEFILE_HOST}" in
36563 if test "x$GCC" = "xyes"; then
36564 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
36565 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
36567 LDFLAGS="$LDFLAGS -L/usr/lib"
36569 SHARED_LD_CC="${CC} -b -o"
36570 SHARED_LD_CXX="${CXX} -b -o"
36576 if test "x$GCC" != "xyes"; then
36577 echo "$as_me:$LINENO: checking for Intel compiler" >&5
36578 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
36579 if test "${bakefile_cv_prog_icc+set}" = set; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36583 cat >conftest.$ac_ext <<_ACEOF
36584 #line $LINENO "configure"
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36595 #ifndef __INTEL_COMPILER
36603 rm -f conftest.$ac_objext
36604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36605 (eval $ac_compile) 2>&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); } &&
36609 { ac_try='test -s conftest.$ac_objext'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; }; then
36615 bakefile_cv_prog_icc=yes
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36620 bakefile_cv_prog_icc=no
36623 rm -f conftest.$ac_objext conftest.$ac_ext
36626 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
36627 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
36628 if test "$bakefile_cv_prog_icc" = "yes"; then
36635 if test "x$GCC" != xyes ; then
36636 SHARED_LD_CC="${CC} -G -o"
36637 SHARED_LD_CXX="${CXX} -G -o"
36644 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
36645 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
36646 if test "${wx_cv_gcc31+set}" = set; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 cat >conftest.$ac_ext <<_ACEOF
36651 #line $LINENO "configure"
36654 cat confdefs.h >>conftest.$ac_ext
36655 cat >>conftest.$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36662 #if (__GNUC__ < 3) || \
36663 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
36671 rm -f conftest.$ac_objext
36672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36673 (eval $ac_compile) 2>&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } &&
36677 { ac_try='test -s conftest.$ac_objext'
36678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36679 (eval $ac_try) 2>&5
36681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36682 (exit $ac_status); }; }; then
36687 echo "$as_me: failed program was:" >&5
36688 sed 's/^/| /' conftest.$ac_ext >&5
36695 rm -f conftest.$ac_objext conftest.$ac_ext
36698 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
36699 echo "${ECHO_T}$wx_cv_gcc31" >&6
36700 if test "$wx_cv_gcc31" = "no"; then
36703 cat <<EOF >shared-ld-sh
36705 #-----------------------------------------------------------------------------
36706 #-- Name: distrib/mac/shared-ld-sh
36707 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
36708 #-- Author: Gilles Depeyrot
36709 #-- Copyright: (c) 2002 Gilles Depeyrot
36710 #-- Licence: any use permitted
36711 #-----------------------------------------------------------------------------
36716 linking_flag="-dynamiclib"
36718 while test ${D}# -gt 0; do
36725 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
36726 # collect these options and values
36727 args="${D}{args} ${D}1 ${D}2"
36731 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
36732 # collect these options
36733 args="${D}{args} ${D}1"
36736 -dynamiclib|-bundle)
36737 linking_flag="${D}1"
36741 echo "shared-ld: unhandled option '${D}1'"
36745 *.o | *.a | *.dylib)
36746 # collect object files
36747 objects="${D}{objects} ${D}1"
36751 echo "shared-ld: unhandled argument '${D}1'"
36760 # Link one module containing all the others
36762 if test ${D}{verbose} = 1; then
36763 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
36765 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
36767 if test ${D}{status} != 0; then
36772 # Link the shared library from the single module created
36774 if test ${D}{verbose} = 1; then
36775 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
36777 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
36779 if test ${D}{status} != 0; then
36784 # Remove intermediate module
36786 rm -f master.${D}${D}.o
36791 chmod +x shared-ld-sh
36793 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
36794 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
36795 SHARED_LD_CXX="$SHARED_LD_CC"
36796 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
36798 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
36799 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
36800 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
36801 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
36804 PIC_FLAG="-dynamic -fPIC"
36808 if test "x$GCC" != "xyes"; then
36809 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
36810 set dummy makeC++SharedLib; ac_word=$2
36811 echo "$as_me:$LINENO: checking for $ac_word" >&5
36812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36813 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36816 if test -n "$AIX_CXX_LD"; then
36817 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
36819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36820 for as_dir in $PATH
36823 test -z "$as_dir" && as_dir=.
36824 for ac_exec_ext in '' $ac_executable_extensions; do
36825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36826 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
36827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36833 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
36836 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
36837 if test -n "$AIX_CXX_LD"; then
36838 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
36839 echo "${ECHO_T}$AIX_CXX_LD" >&6
36841 echo "$as_me:$LINENO: result: no" >&5
36842 echo "${ECHO_T}no" >&6
36845 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
36846 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
36851 SHARED_LD_CC="${LD} -shared -o"
36852 SHARED_LD_CXX="${LD} -shared -o"
36856 if test "x$GCC" != "xyes"; then
36861 *-*-cygwin* | *-*-mingw32* )
36865 *-pc-os2_emx | *-pc-os2-emx )
36866 SHARED_LD_CC="`pwd`/dllar.sh -o"
36867 SHARED_LD_CXX="`pwd`/dllar.sh -o"
36871 cat <<EOF >dllar.sh
36874 # dllar - a tool to build both a .dll and an .a file
36875 # from a set of object (.o) files for EMX/OS2.
36877 # Written by Andrew Zabolotny, bit@freya.etu.ru
36878 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
36880 # This script will accept a set of files on the command line.
36881 # All the public symbols from the .o files will be exported into
36882 # a .DEF file, then linker will be run (through gcc) against them to
36883 # build a shared library consisting of all given .o files. All libraries
36884 # (.a) will be first decompressed into component .o files then act as
36885 # described above. You can optionally give a description (-d "description")
36886 # which will be put into .DLL. To see the list of accepted options (as well
36887 # as command-line format) simply run this program without options. The .DLL
36888 # is built to be imported by name (there is no guarantee that new versions
36889 # of the library you build will have same ordinals for same symbols).
36891 # dllar is free software; you can redistribute it and/or modify
36892 # it under the terms of the GNU General Public License as published by
36893 # the Free Software Foundation; either version 2, or (at your option)
36894 # any later version.
36896 # dllar is distributed in the hope that it will be useful,
36897 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36898 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36899 # GNU General Public License for more details.
36901 # You should have received a copy of the GNU General Public License
36902 # along with dllar; see the file COPYING. If not, write to the Free
36903 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
36906 # To successfuly run this program you will need:
36907 # - Current drive should have LFN support (HPFS, ext2, network, etc)
36908 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
36910 # (used to build the .dll)
36912 # (used to create .def file from .o files)
36914 # (used to create .a file from .def file)
36915 # - GNU text utilites (cat, sort, uniq)
36916 # used to process emxexp output
36917 # - GNU file utilities (mv, rm)
36919 # - lxlite (optional, see flag below)
36920 # (used for general .dll cleanup)
36927 # basnam, variant of basename, which does _not_ remove the path, _iff_
36928 # second argument (suffix to remove) is given
36932 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
36935 echo ${D}1 | sed 's/'${D}2'${D}//'
36938 echo "error in basnam ${D}*"
36944 # Cleanup temporary files and output
36947 for i in ${D}inputFiles ; do
36950 rm -rf \`basnam ${D}i !\`
36957 # Kill result in case of failure as there is just to many stupid make/nmake
36958 # things out there which doesn't do this.
36959 if ${D}# -eq 0 ; then
36960 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
36964 # Print usage and exit script with rc=1.
36966 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
36967 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
36968 echo ' -ord[inals] -exclude "symbol(s)"'
36969 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
36971 echo '*> "output_file" should have no extension.'
36972 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
36973 echo ' The import library name is derived from this and is set to "name".a,'
36974 echo ' unless overridden by -import'
36975 echo '*> "importlib_name" should have no extension.'
36976 echo ' If it has the .o, or .a extension, it is automatically removed.'
36977 echo ' This name is used as the import library name and may be longer and'
36978 echo ' more descriptive than the DLL name which has to follow the old '
36979 echo ' 8.3 convention of FAT.'
36980 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
36981 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
36982 echo ' These flags will be put at the start of GCC command line.'
36983 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
36984 echo '*> -exclude defines symbols which will not be exported. You can define'
36985 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
36986 echo ' If the last character of a symbol is "*", all symbols beginning'
36987 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
36988 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
36989 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
36990 echo '*> -nocrtdll switch will disable linking the library against emx''s'
36991 echo ' C runtime DLLs.'
36992 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
36993 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
36994 echo ' unchanged to GCC at the end of command line.'
36995 echo '*> If you create a DLL from a library and you do not specify -o,'
36996 echo ' the basename for DLL and import library will be set to library name,'
36997 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
36998 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
36999 echo ' library will be renamed into gcc_s.a.'
37002 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
37003 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
37008 # Execute a command.
37009 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
37010 # @Uses Whatever CleanUp() uses.
37016 if ${D}rcCmd -ne 0 ; then
37017 echo "command failed, exit code="${D}rcCmd
37031 CFLAGS="-s -Zcrtdll"
37033 EXPORT_BY_ORDINALS=0
37038 case ${D}curDirS in
37042 curDirS=${D}{curDirS}"/"
37045 # Parse commandline
37050 EXPORT_BY_ORDINALS=1;
37077 exclude_symbols=${D}{exclude_symbols}${D}1" "
37081 library_flags=${D}{library_flags}${D}1" "
37097 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
37101 if ${D}libsToLink -ne 0 ; then
37102 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
37104 for file in ${D}1 ; do
37105 if -f ${D}file ; then
37106 inputFiles="${D}{inputFiles} ${D}file"
37110 if ${D}found -eq 0 ; then
37111 echo "ERROR: No file(s) found: "${D}1
37118 done # iterate cmdline words
37121 if -z "${D}inputFiles" ; then
37122 echo "dllar: no input files"
37126 # Now extract all .o files from .a files
37128 for file in ${D}inputFiles ; do
37139 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
37144 dirname=\`basnam ${D}file ${D}suffix\`"_%"
37146 if ${D}? -ne 0 ; then
37147 echo "Failed to create subdirectory ./${D}dirname"
37151 # Append '!' to indicate archive
37152 newInputFiles="${D}newInputFiles ${D}{dirname}!"
37153 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
37156 for subfile in ${D}dirname/*.o* ; do
37157 if -f ${D}subfile ; then
37159 if -s ${D}subfile ; then
37160 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
37161 newInputFiles="${D}newInputFiles ${D}subfile"
37165 if ${D}found -eq 0 ; then
37166 echo "WARNING: there are no files in archive \'${D}file\'"
37170 newInputFiles="${D}{newInputFiles} ${D}file"
37174 inputFiles="${D}newInputFiles"
37176 # Output filename(s).
37178 if -z ${D}outFile ; then
37180 set outFile ${D}inputFiles; outFile=${D}2
37183 # If it is an archive, remove the '!' and the '_%' suffixes
37184 case ${D}outFile in
37186 outFile=\`basnam ${D}outFile _%!\`
37191 case ${D}outFile in
37193 outFile=\`basnam ${D}outFile .dll\`
37196 outFile=\`basnam ${D}outFile .DLL\`
37199 outFile=\`basnam ${D}outFile .o\`
37202 outFile=\`basnam ${D}outFile .obj\`
37205 outFile=\`basnam ${D}outFile .a\`
37208 outFile=\`basnam ${D}outFile .lib\`
37213 case ${D}outimpFile in
37215 outimpFile=\`basnam ${D}outimpFile .a\`
37218 outimpFile=\`basnam ${D}outimpFile .lib\`
37223 if -z ${D}outimpFile ; then
37224 outimpFile=${D}outFile
37226 defFile="${D}{outFile}.def"
37227 arcFile="${D}{outimpFile}.a"
37228 arcFile2="${D}{outimpFile}.lib"
37229 dllFile="${D}outFile"
37230 # Add suffix to dllFile later, first we need a version to use as
37231 # name in .def file.
37233 if ${D}do_backup -ne 0 ; then
37234 if -f ${D}arcFile ; then
37235 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
37237 if -f ${D}arcFile2 ; then
37238 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
37242 # Extract public symbols from all the object files.
37243 tmpdefFile=${D}{defFile}_%
37244 rm -f ${D}tmpdefFile
37245 for file in ${D}inputFiles ; do
37250 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
37255 # Create the def file.
37257 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
37258 dllFile="${D}dllFile.dll"
37259 if -n ${D}description ; then
37260 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
37262 echo "EXPORTS" >> ${D}defFile
37264 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
37265 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
37267 # Checks if the export is ok or not.
37268 for word in ${D}exclude_symbols; do
37269 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
37270 mv ${D}{tmpdefFile}% ${D}tmpdefFile
37274 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
37275 sed "=" < ${D}tmpdefFile | \
37279 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
37281 ' > ${D}{tmpdefFile}%
37282 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
37284 rm -f ${D}{tmpdefFile}%
37286 cat ${D}tmpdefFile >> ${D}defFile
37287 rm -f ${D}tmpdefFile
37289 # Do linking, create implib, and apply lxlite.
37291 for file in ${D}inputFiles ; do
37296 gccCmdl="${D}gccCmdl ${D}file"
37300 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
37301 touch "${D}{outFile}.dll"
37303 doCommand "emximp -o ${D}arcFile ${D}defFile"
37304 if ${D}flag_USE_LXLITE -ne 0 ; then
37306 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
37309 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
37311 doCommand "emxomf -s -l ${D}arcFile"
37321 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
37329 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
37330 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
37331 { (exit 1); exit 1; }; }
37334 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
37335 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
37337 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
37338 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
37355 case "${BAKEFILE_HOST}" in
37357 SONAME_FLAG="-Wl,-soname,"
37385 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
37386 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
37389 if test "x$GCC" = "xyes"; then
37392 case "${BAKEFILE_HOST}" in
37393 powerpc-*-darwin* )
37394 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
37397 DEPSFLAG_GCC="-MMD"
37400 echo "$as_me:$LINENO: result: gcc" >&5
37401 echo "${ECHO_T}gcc" >&6
37403 echo "$as_me:$LINENO: result: none" >&5
37404 echo "${ECHO_T}none" >&6
37407 if test $DEPS_TRACKING = 1 ; then
37413 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37414 # script. It is used to track C/C++ files dependencies in portable way.
37416 # Permission is given to use this file in any way.
37418 DEPSMODE=${DEPSMODE}
37420 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
37422 mkdir -p ${D}DEPSDIR
37424 if test ${D}DEPSMODE = gcc ; then
37425 ${D}* ${D}{DEPSFLAG_GCC}
37427 if test ${D}{status} != 0 ; then
37430 # move created file to the location we want it in:
37431 while test ${D}# -gt 0; do
37445 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
37446 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
37447 if test -f ${D}depfile ; then
37448 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
37451 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
37452 if test -f ${D}depfile ; then
37453 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
37473 case ${BAKEFILE_HOST} in
37474 *-*-cygwin* | *-*-mingw32* )
37475 if test "$build" != "$host" ; then
37476 RESCOMP=$host_alias-windres
37478 # Extract the first word of "windres", so it can be a program name with args.
37479 set dummy windres; ac_word=$2
37480 echo "$as_me:$LINENO: checking for $ac_word" >&5
37481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37482 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37485 if test -n "$RESCOMP"; then
37486 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
37488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37489 for as_dir in $PATH
37492 test -z "$as_dir" && as_dir=.
37493 for ac_exec_ext in '' $ac_executable_extensions; do
37494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37495 ac_cv_prog_RESCOMP="windres"
37496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37502 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
37505 RESCOMP=$ac_cv_prog_RESCOMP
37506 if test -n "$RESCOMP"; then
37507 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37508 echo "${ECHO_T}$RESCOMP" >&6
37510 echo "$as_me:$LINENO: result: no" >&5
37511 echo "${ECHO_T}no" >&6
37518 # Extract the first word of "Rez", so it can be a program name with args.
37519 set dummy Rez; ac_word=$2
37520 echo "$as_me:$LINENO: checking for $ac_word" >&5
37521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37522 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 if test -n "$RESCOMP"; then
37526 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
37528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37529 for as_dir in $PATH
37532 test -z "$as_dir" && as_dir=.
37533 for ac_exec_ext in '' $ac_executable_extensions; do
37534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37535 ac_cv_prog_RESCOMP="Rez"
37536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37542 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
37545 RESCOMP=$ac_cv_prog_RESCOMP
37546 if test -n "$RESCOMP"; then
37547 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37548 echo "${ECHO_T}$RESCOMP" >&6
37550 echo "$as_me:$LINENO: result: no" >&5
37551 echo "${ECHO_T}no" >&6
37554 # Extract the first word of "SetFile", so it can be a program name with args.
37555 set dummy SetFile; ac_word=$2
37556 echo "$as_me:$LINENO: checking for $ac_word" >&5
37557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37558 if test "${ac_cv_prog_SETFILE+set}" = set; then
37559 echo $ECHO_N "(cached) $ECHO_C" >&6
37561 if test -n "$SETFILE"; then
37562 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
37564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37565 for as_dir in $PATH
37568 test -z "$as_dir" && as_dir=.
37569 for ac_exec_ext in '' $ac_executable_extensions; do
37570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37571 ac_cv_prog_SETFILE="SetFile"
37572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37578 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
37581 SETFILE=$ac_cv_prog_SETFILE
37582 if test -n "$SETFILE"; then
37583 echo "$as_me:$LINENO: result: $SETFILE" >&5
37584 echo "${ECHO_T}$SETFILE" >&6
37586 echo "$as_me:$LINENO: result: no" >&5
37587 echo "${ECHO_T}no" >&6
37601 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
37605 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37606 if test "${enable_precomp_headers+set}" = set; then
37607 enableval="$enable_precomp_headers"
37608 bk_use_pch="$enableval"
37613 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37614 if test "x$GCC" = "xyes"; then
37615 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37616 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37617 cat >conftest.$ac_ext <<_ACEOF
37618 #line $LINENO "configure"
37621 cat confdefs.h >>conftest.$ac_ext
37622 cat >>conftest.$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37629 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37630 #error "no pch support"
37633 #error "no pch support"
37635 #if (__GNUC__ == 3) && \
37636 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37637 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37638 #error "no pch support"
37645 rm -f conftest.$ac_objext
37646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37647 (eval $ac_compile) 2>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); } &&
37651 { ac_try='test -s conftest.$ac_objext'
37652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37653 (eval $ac_try) 2>&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); }; }; then
37658 echo "$as_me:$LINENO: result: yes" >&5
37659 echo "${ECHO_T}yes" >&6
37660 CPPFLAGS="-fpch-deps $CPPFLAGS"
37664 echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.$ac_ext >&5
37668 echo "$as_me:$LINENO: result: no" >&5
37669 echo "${ECHO_T}no" >&6
37672 rm -f conftest.$ac_objext conftest.$ac_ext
37673 if test $GCC_PCH = 1 ; then
37674 cat <<EOF >bk-make-pch
37677 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37678 # script. It is used to generated precompiled headers.
37680 # Permission is given to use this file in any way.
37689 while test \${#} -gt 0; do
37692 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
37693 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
37694 headerfile="\${incdir}/\${header}"
37698 compiler="\${compiler} \${1}"
37702 if test "x\${headerfile}" = "x" ; then
37703 echo "error: can't find header \${header} in include paths" >2
37705 if test -f \${outfile} ; then
37708 mkdir -p \`dirname \${outfile}\`
37710 depsfile=".deps/\`basename \${outfile}\`.d"
37712 # can do this because gcc is >= 3.4:
37713 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
37717 chmod +x bk-make-pch
37728 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37729 if test "${enable_precomp_headers+set}" = set; then
37730 enableval="$enable_precomp_headers"
37731 bk_use_pch="$enableval"
37736 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37737 if test "x$GCC" = "xyes"; then
37738 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37739 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37740 cat >conftest.$ac_ext <<_ACEOF
37741 #line $LINENO "configure"
37744 cat confdefs.h >>conftest.$ac_ext
37745 cat >>conftest.$ac_ext <<_ACEOF
37746 /* end confdefs.h. */
37752 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37753 #error "no pch support"
37756 #error "no pch support"
37758 #if (__GNUC__ == 3) && \
37759 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37760 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37761 #error "no pch support"
37768 rm -f conftest.$ac_objext
37769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37770 (eval $ac_compile) 2>&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } &&
37774 { ac_try='test -s conftest.$ac_objext'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; }; then
37781 echo "$as_me:$LINENO: result: yes" >&5
37782 echo "${ECHO_T}yes" >&6
37783 CPPFLAGS="-fpch-deps $CPPFLAGS"
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37791 echo "$as_me:$LINENO: result: no" >&5
37792 echo "${ECHO_T}no" >&6
37795 rm -f conftest.$ac_objext conftest.$ac_ext
37796 if test $GCC_PCH = 1 ; then
37797 cat <<EOF >bk-make-pch
37800 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37801 # script. It is used to generated precompiled headers.
37803 # Permission is given to use this file in any way.
37812 while test \${#} -gt 0; do
37815 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
37816 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
37817 headerfile="\${incdir}/\${header}"
37821 compiler="\${compiler} \${1}"
37825 if test "x\${headerfile}" = "x" ; then
37826 echo "error: can't find header \${header} in include paths" >2
37828 if test -f \${outfile} ; then
37831 mkdir -p \`dirname \${outfile}\`
37833 depsfile=".deps/\`basename \${outfile}\`.d"
37835 # can do this because gcc is >= 3.4:
37836 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
37840 chmod +x bk-make-pch
37848 COND_BUILD_DEBUG="#"
37849 if test "x$BUILD" = "xdebug" ; then
37850 COND_BUILD_DEBUG=""
37853 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
37854 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
37855 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
37858 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
37859 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
37860 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
37863 COND_BUILD_DEBUG_UNICODE_0="#"
37864 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
37865 COND_BUILD_DEBUG_UNICODE_0=""
37868 COND_BUILD_DEBUG_UNICODE_1="#"
37869 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
37870 COND_BUILD_DEBUG_UNICODE_1=""
37873 COND_BUILD_RELEASE="#"
37874 if test "x$BUILD" = "xrelease" ; then
37875 COND_BUILD_RELEASE=""
37878 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
37879 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
37880 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
37883 COND_BUILD_RELEASE_UNICODE_0="#"
37884 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
37885 COND_BUILD_RELEASE_UNICODE_0=""
37888 COND_BUILD_RELEASE_UNICODE_1="#"
37889 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
37890 COND_BUILD_RELEASE_UNICODE_1=""
37893 COND_DEBUG_FLAG_1="#"
37894 if test "x$DEBUG_FLAG" = "x1" ; then
37895 COND_DEBUG_FLAG_1=""
37898 COND_DEBUG_INFO_0="#"
37899 if test "x$DEBUG_INFO" = "x0" ; then
37900 COND_DEBUG_INFO_0=""
37903 COND_DEBUG_INFO_1="#"
37904 if test "x$DEBUG_INFO" = "x1" ; then
37905 COND_DEBUG_INFO_1=""
37908 COND_DEPS_TRACKING_0="#"
37909 if test "x$DEPS_TRACKING" = "x0" ; then
37910 COND_DEPS_TRACKING_0=""
37913 COND_DEPS_TRACKING_1="#"
37914 if test "x$DEPS_TRACKING" = "x1" ; then
37915 COND_DEPS_TRACKING_1=""
37919 if test "x$GCC_PCH" = "x1" ; then
37923 COND_MONOLITHIC_0="#"
37924 if test "x$MONOLITHIC" = "x0" ; then
37925 COND_MONOLITHIC_0=""
37928 COND_MONOLITHIC_0_SHARED_0="#"
37929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
37930 COND_MONOLITHIC_0_SHARED_0=""
37933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
37934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
37935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
37938 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
37939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
37940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
37943 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
37944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
37945 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
37948 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
37949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
37950 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
37953 COND_MONOLITHIC_0_SHARED_1="#"
37954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
37955 COND_MONOLITHIC_0_SHARED_1=""
37958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
37959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
37960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
37963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
37964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
37965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
37968 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
37969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
37970 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
37973 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
37974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
37975 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
37978 COND_MONOLITHIC_0_USE_ODBC_1="#"
37979 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
37980 COND_MONOLITHIC_0_USE_ODBC_1=""
37983 COND_MONOLITHIC_1="#"
37984 if test "x$MONOLITHIC" = "x1" ; then
37985 COND_MONOLITHIC_1=""
37988 COND_MONOLITHIC_1_SHARED_0="#"
37989 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
37990 COND_MONOLITHIC_1_SHARED_0=""
37993 COND_MONOLITHIC_1_SHARED_1="#"
37994 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
37995 COND_MONOLITHIC_1_SHARED_1=""
37998 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
37999 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38000 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
38003 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
38004 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38005 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
38008 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
38009 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38010 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
38013 COND_PLATFORM_MACOSX_1="#"
38014 if test "x$PLATFORM_MACOSX" = "x1" ; then
38015 COND_PLATFORM_MACOSX_1=""
38018 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
38019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38020 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
38023 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
38024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38025 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
38028 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
38029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
38033 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
38034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38035 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
38038 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
38039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38040 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
38043 COND_PLATFORM_MAC_1="#"
38044 if test "x$PLATFORM_MAC" = "x1" ; then
38045 COND_PLATFORM_MAC_1=""
38048 COND_PLATFORM_OS2_1="#"
38049 if test "x$PLATFORM_OS2" = "x1" ; then
38050 COND_PLATFORM_OS2_1=""
38053 COND_PLATFORM_UNIX_0="#"
38054 if test "x$PLATFORM_UNIX" = "x0" ; then
38055 COND_PLATFORM_UNIX_0=""
38058 COND_PLATFORM_UNIX_1="#"
38059 if test "x$PLATFORM_UNIX" = "x1" ; then
38060 COND_PLATFORM_UNIX_1=""
38063 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
38064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38065 COND_PLATFORM_UNIX_1_USE_GUI_1=""
38068 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
38069 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
38070 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
38073 COND_PLATFORM_WIN32_0="#"
38074 if test "x$PLATFORM_WIN32" = "x0" ; then
38075 COND_PLATFORM_WIN32_0=""
38078 COND_PLATFORM_WIN32_1="#"
38079 if test "x$PLATFORM_WIN32" = "x1" ; then
38080 COND_PLATFORM_WIN32_1=""
38084 if test "x$SHARED" = "x0" ; then
38088 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
38089 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38090 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
38093 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38094 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38095 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38098 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38099 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38100 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38105 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38108 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
38109 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38110 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
38113 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
38114 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38115 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
38118 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
38119 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38120 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
38123 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
38124 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38125 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
38129 if test "x$SHARED" = "x1" ; then
38133 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
38134 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38135 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
38138 COND_TOOLKIT_COCOA="#"
38139 if test "x$TOOLKIT" = "xCOCOA" ; then
38140 COND_TOOLKIT_COCOA=""
38143 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
38144 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38145 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
38148 COND_TOOLKIT_GTK="#"
38149 if test "x$TOOLKIT" = "xGTK" ; then
38150 COND_TOOLKIT_GTK=""
38153 COND_TOOLKIT_GTK_USE_GUI_1="#"
38154 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38155 COND_TOOLKIT_GTK_USE_GUI_1=""
38158 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
38159 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38160 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
38163 COND_TOOLKIT_MAC="#"
38164 if test "x$TOOLKIT" = "xMAC" ; then
38165 COND_TOOLKIT_MAC=""
38168 COND_TOOLKIT_MAC_USE_GUI_1="#"
38169 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38170 COND_TOOLKIT_MAC_USE_GUI_1=""
38173 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
38174 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38175 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
38178 COND_TOOLKIT_MGL="#"
38179 if test "x$TOOLKIT" = "xMGL" ; then
38180 COND_TOOLKIT_MGL=""
38183 COND_TOOLKIT_MGL_USE_GUI_1="#"
38184 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38185 COND_TOOLKIT_MGL_USE_GUI_1=""
38188 COND_TOOLKIT_MOTIF="#"
38189 if test "x$TOOLKIT" = "xMOTIF" ; then
38190 COND_TOOLKIT_MOTIF=""
38193 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
38194 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38195 COND_TOOLKIT_MOTIF_USE_GUI_1=""
38198 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
38199 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38200 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
38203 COND_TOOLKIT_MSW="#"
38204 if test "x$TOOLKIT" = "xMSW" ; then
38205 COND_TOOLKIT_MSW=""
38208 COND_TOOLKIT_MSW_USE_GUI_1="#"
38209 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38210 COND_TOOLKIT_MSW_USE_GUI_1=""
38213 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
38214 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38215 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
38218 COND_TOOLKIT_PM="#"
38219 if test "x$TOOLKIT" = "xPM" ; then
38223 COND_TOOLKIT_PM_USE_GUI_1="#"
38224 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38225 COND_TOOLKIT_PM_USE_GUI_1=""
38228 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
38229 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38230 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
38233 COND_TOOLKIT_WINCE="#"
38234 if test "x$TOOLKIT" = "xWINCE" ; then
38235 COND_TOOLKIT_WINCE=""
38238 COND_TOOLKIT_WINCE_USE_GUI_1="#"
38239 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
38240 COND_TOOLKIT_WINCE_USE_GUI_1=""
38243 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
38244 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38245 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
38248 COND_TOOLKIT_X11="#"
38249 if test "x$TOOLKIT" = "xX11" ; then
38250 COND_TOOLKIT_X11=""
38253 COND_TOOLKIT_X11_USE_GUI_1="#"
38254 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38255 COND_TOOLKIT_X11_USE_GUI_1=""
38259 if test "x$UNICODE" = "x1" ; then
38263 COND_USE_EXCEPTIONS_0="#"
38264 if test "x$USE_EXCEPTIONS" = "x0" ; then
38265 COND_USE_EXCEPTIONS_0=""
38268 COND_USE_EXCEPTIONS_1="#"
38269 if test "x$USE_EXCEPTIONS" = "x1" ; then
38270 COND_USE_EXCEPTIONS_1=""
38274 if test "x$USE_GUI" = "x0" ; then
38279 if test "x$USE_GUI" = "x1" ; then
38283 COND_USE_GUI_1_WXUNIV_0="#"
38284 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38285 COND_USE_GUI_1_WXUNIV_0=""
38288 COND_USE_GUI_1_WXUNIV_1="#"
38289 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38290 COND_USE_GUI_1_WXUNIV_1=""
38293 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38294 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38295 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38298 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38299 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38300 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38303 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38304 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38305 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38308 COND_USE_ODBC_1="#"
38309 if test "x$USE_ODBC" = "x1" ; then
38313 COND_USE_PLUGINS_0="#"
38314 if test "x$USE_PLUGINS" = "x0" ; then
38315 COND_USE_PLUGINS_0=""
38318 COND_USE_SOSYMLINKS_1="#"
38319 if test "x$USE_SOSYMLINKS" = "x1" ; then
38320 COND_USE_SOSYMLINKS_1=""
38323 COND_USE_SOVERLINUX_1="#"
38324 if test "x$USE_SOVERLINUX" = "x1" ; then
38325 COND_USE_SOVERLINUX_1=""
38328 COND_USE_SOVERSION_0="#"
38329 if test "x$USE_SOVERSION" = "x0" ; then
38330 COND_USE_SOVERSION_0=""
38333 COND_USE_SOVERSOLARIS_1="#"
38334 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38335 COND_USE_SOVERSOLARIS_1=""
38338 COND_WITH_PLUGIN_SDL_1="#"
38339 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
38340 COND_WITH_PLUGIN_SDL_1=""
38343 COND_WITH_SDL_1="#"
38344 if test "x$WITH_SDL" = "x1" ; then
38349 if test "x$WXUNIV" = "x1" ; then
38353 COND_WXUSE_EXPAT_BUILTIN="#"
38354 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38355 COND_WXUSE_EXPAT_BUILTIN=""
38358 COND_WXUSE_LIBJPEG_BUILTIN="#"
38359 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38360 COND_WXUSE_LIBJPEG_BUILTIN=""
38363 COND_WXUSE_LIBPNG_BUILTIN="#"
38364 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38365 COND_WXUSE_LIBPNG_BUILTIN=""
38368 COND_WXUSE_LIBTIFF_BUILTIN="#"
38369 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38370 COND_WXUSE_LIBTIFF_BUILTIN=""
38373 COND_WXUSE_ODBC_BUILTIN="#"
38374 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38375 COND_WXUSE_ODBC_BUILTIN=""
38378 COND_WXUSE_REGEX_BUILTIN="#"
38379 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38380 COND_WXUSE_REGEX_BUILTIN=""
38383 COND_WXUSE_ZLIB_BUILTIN="#"
38384 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38385 COND_WXUSE_ZLIB_BUILTIN=""
38388 COND_BUILD_DEBUG="#"
38389 if test "x$BUILD" = "xdebug" ; then
38390 COND_BUILD_DEBUG=""
38393 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
38394 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
38395 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
38398 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
38399 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
38400 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
38403 COND_BUILD_DEBUG_UNICODE_0="#"
38404 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
38405 COND_BUILD_DEBUG_UNICODE_0=""
38408 COND_BUILD_DEBUG_UNICODE_1="#"
38409 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
38410 COND_BUILD_DEBUG_UNICODE_1=""
38413 COND_BUILD_RELEASE="#"
38414 if test "x$BUILD" = "xrelease" ; then
38415 COND_BUILD_RELEASE=""
38418 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
38419 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
38420 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
38423 COND_BUILD_RELEASE_UNICODE_0="#"
38424 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
38425 COND_BUILD_RELEASE_UNICODE_0=""
38428 COND_BUILD_RELEASE_UNICODE_1="#"
38429 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
38430 COND_BUILD_RELEASE_UNICODE_1=""
38433 COND_DEBUG_FLAG_1="#"
38434 if test "x$DEBUG_FLAG" = "x1" ; then
38435 COND_DEBUG_FLAG_1=""
38438 COND_DEBUG_INFO_0="#"
38439 if test "x$DEBUG_INFO" = "x0" ; then
38440 COND_DEBUG_INFO_0=""
38443 COND_DEBUG_INFO_1="#"
38444 if test "x$DEBUG_INFO" = "x1" ; then
38445 COND_DEBUG_INFO_1=""
38448 COND_DEPS_TRACKING_0="#"
38449 if test "x$DEPS_TRACKING" = "x0" ; then
38450 COND_DEPS_TRACKING_0=""
38453 COND_DEPS_TRACKING_1="#"
38454 if test "x$DEPS_TRACKING" = "x1" ; then
38455 COND_DEPS_TRACKING_1=""
38459 if test "x$GCC_PCH" = "x1" ; then
38463 COND_MONOLITHIC_0="#"
38464 if test "x$MONOLITHIC" = "x0" ; then
38465 COND_MONOLITHIC_0=""
38468 COND_MONOLITHIC_0_SHARED_0="#"
38469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38470 COND_MONOLITHIC_0_SHARED_0=""
38473 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
38474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38475 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
38478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
38479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
38483 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
38484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38485 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
38488 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
38489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38490 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
38493 COND_MONOLITHIC_0_SHARED_1="#"
38494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38495 COND_MONOLITHIC_0_SHARED_1=""
38498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
38499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38500 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
38503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
38504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
38508 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
38509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38510 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
38513 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
38514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38515 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
38518 COND_MONOLITHIC_0_USE_ODBC_1="#"
38519 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
38520 COND_MONOLITHIC_0_USE_ODBC_1=""
38523 COND_MONOLITHIC_1="#"
38524 if test "x$MONOLITHIC" = "x1" ; then
38525 COND_MONOLITHIC_1=""
38528 COND_MONOLITHIC_1_SHARED_0="#"
38529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38530 COND_MONOLITHIC_1_SHARED_0=""
38533 COND_MONOLITHIC_1_SHARED_1="#"
38534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38535 COND_MONOLITHIC_1_SHARED_1=""
38538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
38539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
38543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
38544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
38548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
38549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
38553 COND_PLATFORM_MACOSX_1="#"
38554 if test "x$PLATFORM_MACOSX" = "x1" ; then
38555 COND_PLATFORM_MACOSX_1=""
38558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
38559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
38563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
38564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
38568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
38569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
38573 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
38574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38575 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
38578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
38579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
38583 COND_PLATFORM_MAC_1="#"
38584 if test "x$PLATFORM_MAC" = "x1" ; then
38585 COND_PLATFORM_MAC_1=""
38588 COND_PLATFORM_OS2_1="#"
38589 if test "x$PLATFORM_OS2" = "x1" ; then
38590 COND_PLATFORM_OS2_1=""
38593 COND_PLATFORM_UNIX_0="#"
38594 if test "x$PLATFORM_UNIX" = "x0" ; then
38595 COND_PLATFORM_UNIX_0=""
38598 COND_PLATFORM_UNIX_1="#"
38599 if test "x$PLATFORM_UNIX" = "x1" ; then
38600 COND_PLATFORM_UNIX_1=""
38603 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
38604 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38605 COND_PLATFORM_UNIX_1_USE_GUI_1=""
38608 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
38609 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
38610 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
38613 COND_PLATFORM_WIN32_0="#"
38614 if test "x$PLATFORM_WIN32" = "x0" ; then
38615 COND_PLATFORM_WIN32_0=""
38618 COND_PLATFORM_WIN32_1="#"
38619 if test "x$PLATFORM_WIN32" = "x1" ; then
38620 COND_PLATFORM_WIN32_1=""
38624 if test "x$SHARED" = "x0" ; then
38628 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
38629 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38630 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
38633 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38643 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38644 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38645 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38648 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
38649 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38650 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
38653 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
38654 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38655 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
38658 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
38659 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38660 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
38663 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
38664 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38665 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
38669 if test "x$SHARED" = "x1" ; then
38673 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
38674 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38675 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
38678 COND_TOOLKIT_COCOA="#"
38679 if test "x$TOOLKIT" = "xCOCOA" ; then
38680 COND_TOOLKIT_COCOA=""
38683 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
38684 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38685 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
38688 COND_TOOLKIT_GTK="#"
38689 if test "x$TOOLKIT" = "xGTK" ; then
38690 COND_TOOLKIT_GTK=""
38693 COND_TOOLKIT_GTK_USE_GUI_1="#"
38694 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38695 COND_TOOLKIT_GTK_USE_GUI_1=""
38698 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
38699 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38700 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
38703 COND_TOOLKIT_MAC="#"
38704 if test "x$TOOLKIT" = "xMAC" ; then
38705 COND_TOOLKIT_MAC=""
38708 COND_TOOLKIT_MAC_USE_GUI_1="#"
38709 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38710 COND_TOOLKIT_MAC_USE_GUI_1=""
38713 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
38714 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38715 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
38718 COND_TOOLKIT_MGL="#"
38719 if test "x$TOOLKIT" = "xMGL" ; then
38720 COND_TOOLKIT_MGL=""
38723 COND_TOOLKIT_MGL_USE_GUI_1="#"
38724 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38725 COND_TOOLKIT_MGL_USE_GUI_1=""
38728 COND_TOOLKIT_MOTIF="#"
38729 if test "x$TOOLKIT" = "xMOTIF" ; then
38730 COND_TOOLKIT_MOTIF=""
38733 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
38734 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38735 COND_TOOLKIT_MOTIF_USE_GUI_1=""
38738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
38739 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38740 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
38743 COND_TOOLKIT_MSW="#"
38744 if test "x$TOOLKIT" = "xMSW" ; then
38745 COND_TOOLKIT_MSW=""
38748 COND_TOOLKIT_MSW_USE_GUI_1="#"
38749 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38750 COND_TOOLKIT_MSW_USE_GUI_1=""
38753 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
38754 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38755 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
38758 COND_TOOLKIT_PM="#"
38759 if test "x$TOOLKIT" = "xPM" ; then
38763 COND_TOOLKIT_PM_USE_GUI_1="#"
38764 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38765 COND_TOOLKIT_PM_USE_GUI_1=""
38768 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
38769 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38770 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
38773 COND_TOOLKIT_WINCE="#"
38774 if test "x$TOOLKIT" = "xWINCE" ; then
38775 COND_TOOLKIT_WINCE=""
38778 COND_TOOLKIT_WINCE_USE_GUI_1="#"
38779 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
38780 COND_TOOLKIT_WINCE_USE_GUI_1=""
38783 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
38784 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38785 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
38788 COND_TOOLKIT_X11="#"
38789 if test "x$TOOLKIT" = "xX11" ; then
38790 COND_TOOLKIT_X11=""
38793 COND_TOOLKIT_X11_USE_GUI_1="#"
38794 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38795 COND_TOOLKIT_X11_USE_GUI_1=""
38799 if test "x$UNICODE" = "x1" ; then
38803 COND_USE_EXCEPTIONS_0="#"
38804 if test "x$USE_EXCEPTIONS" = "x0" ; then
38805 COND_USE_EXCEPTIONS_0=""
38808 COND_USE_EXCEPTIONS_1="#"
38809 if test "x$USE_EXCEPTIONS" = "x1" ; then
38810 COND_USE_EXCEPTIONS_1=""
38814 if test "x$USE_GUI" = "x0" ; then
38819 if test "x$USE_GUI" = "x1" ; then
38823 COND_USE_GUI_1_WXUNIV_0="#"
38824 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38825 COND_USE_GUI_1_WXUNIV_0=""
38828 COND_USE_GUI_1_WXUNIV_1="#"
38829 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38830 COND_USE_GUI_1_WXUNIV_1=""
38833 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38834 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38835 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38838 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38839 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38840 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38843 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38844 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38845 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38848 COND_USE_ODBC_1="#"
38849 if test "x$USE_ODBC" = "x1" ; then
38853 COND_USE_PLUGINS_0="#"
38854 if test "x$USE_PLUGINS" = "x0" ; then
38855 COND_USE_PLUGINS_0=""
38858 COND_USE_SOSYMLINKS_1="#"
38859 if test "x$USE_SOSYMLINKS" = "x1" ; then
38860 COND_USE_SOSYMLINKS_1=""
38863 COND_USE_SOVERLINUX_1="#"
38864 if test "x$USE_SOVERLINUX" = "x1" ; then
38865 COND_USE_SOVERLINUX_1=""
38868 COND_USE_SOVERSION_0="#"
38869 if test "x$USE_SOVERSION" = "x0" ; then
38870 COND_USE_SOVERSION_0=""
38873 COND_USE_SOVERSOLARIS_1="#"
38874 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38875 COND_USE_SOVERSOLARIS_1=""
38878 COND_WITH_PLUGIN_SDL_1="#"
38879 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
38880 COND_WITH_PLUGIN_SDL_1=""
38884 if test "x$WXUNIV" = "x1" ; then
38888 COND_WXUSE_EXPAT_BUILTIN="#"
38889 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38890 COND_WXUSE_EXPAT_BUILTIN=""
38893 COND_WXUSE_LIBJPEG_BUILTIN="#"
38894 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38895 COND_WXUSE_LIBJPEG_BUILTIN=""
38898 COND_WXUSE_LIBPNG_BUILTIN="#"
38899 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38900 COND_WXUSE_LIBPNG_BUILTIN=""
38903 COND_WXUSE_LIBTIFF_BUILTIN="#"
38904 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38905 COND_WXUSE_LIBTIFF_BUILTIN=""
38908 COND_WXUSE_ODBC_BUILTIN="#"
38909 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38910 COND_WXUSE_ODBC_BUILTIN=""
38913 COND_WXUSE_REGEX_BUILTIN="#"
38914 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38915 COND_WXUSE_REGEX_BUILTIN=""
38918 COND_WXUSE_ZLIB_BUILTIN="#"
38919 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38920 COND_WXUSE_ZLIB_BUILTIN=""
38927 if test $GCC_PCH = 1 ; then
38928 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38929 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
38932 powerpc-*-darwin* )
38933 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38934 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
38937 if test "$wxUSE_STL" = "yes"; then
38938 echo "$as_me:$LINENO: checking If this MinGW version needs -DNO_GCC_PRAGMA" >&5
38939 echo $ECHO_N "checking If this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
38940 cat >conftest.$ac_ext <<_ACEOF
38941 #line $LINENO "configure"
38944 cat confdefs.h >>conftest.$ac_ext
38945 cat >>conftest.$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38951 #if !(__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
38952 #error "Not GCC 3.2 or greater"
38959 rm -f conftest.$ac_objext
38960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38961 (eval $ac_compile) 2>&5
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); } &&
38965 { ac_try='test -s conftest.$ac_objext'
38966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38967 (eval $ac_try) 2>&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); }; }; then
38971 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38972 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
38973 echo "$as_me:$LINENO: result: yes" >&5
38974 echo "${ECHO_T}yes" >&6
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38979 echo "$as_me:$LINENO: result: no" >&5
38980 echo "${ECHO_T}no" >&6
38982 rm -f conftest.$ac_objext conftest.$ac_ext
38989 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39090 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39091 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39092 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
39093 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39096 cat >conftest.make <<\_ACEOF
39098 @echo 'ac_maketemp="$(MAKE)"'
39100 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39101 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39102 if test -n "$ac_maketemp"; then
39103 eval ac_cv_prog_make_${ac_make}_set=yes
39105 eval ac_cv_prog_make_${ac_make}_set=no
39107 rm -f conftest.make
39109 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39110 echo "$as_me:$LINENO: result: yes" >&5
39111 echo "${ECHO_T}yes" >&6
39114 echo "$as_me:$LINENO: result: no" >&5
39115 echo "${ECHO_T}no" >&6
39116 SET_MAKE="MAKE=${MAKE-make}"
39120 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
39121 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
39124 ac_config_headers="$ac_config_headers setup.h"
39127 ac_config_files="$ac_config_files wx-config version-script Makefile"
39130 ac_config_commands="$ac_config_commands default"
39134 if test "$wxUSE_GUI" = "yes"; then
39135 SUBDIRS="samples demos utils contrib"
39136 else SUBDIRS="samples utils"
39141 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
39142 if test "${with_cppunit_prefix+set}" = set; then
39143 withval="$with_cppunit_prefix"
39144 cppunit_config_prefix="$withval"
39146 cppunit_config_prefix=""
39149 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
39150 if test "${with_cppunit_exec_prefix+set}" = set; then
39151 withval="$with_cppunit_exec_prefix"
39152 cppunit_config_exec_prefix="$withval"
39154 cppunit_config_exec_prefix=""
39157 if test x$cppunit_config_exec_prefix != x ; then
39158 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
39159 if test x${CPPUNIT_CONFIG+set} != xset ; then
39160 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
39163 if test x$cppunit_config_prefix != x ; then
39164 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
39165 if test x${CPPUNIT_CONFIG+set} != xset ; then
39166 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
39170 # Extract the first word of "cppunit-config", so it can be a program name with args.
39171 set dummy cppunit-config; ac_word=$2
39172 echo "$as_me:$LINENO: checking for $ac_word" >&5
39173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39174 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
39175 echo $ECHO_N "(cached) $ECHO_C" >&6
39177 case $CPPUNIT_CONFIG in
39179 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
39182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39183 for as_dir in $PATH
39186 test -z "$as_dir" && as_dir=.
39187 for ac_exec_ext in '' $ac_executable_extensions; do
39188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39189 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39196 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
39200 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
39202 if test -n "$CPPUNIT_CONFIG"; then
39203 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
39204 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
39206 echo "$as_me:$LINENO: result: no" >&5
39207 echo "${ECHO_T}no" >&6
39210 cppunit_version_min=1.8.0
39212 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
39213 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
39215 if test "$CPPUNIT_CONFIG" = "no" ; then
39217 echo "$as_me:$LINENO: result: no" >&5
39218 echo "${ECHO_T}no" >&6
39220 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
39221 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
39222 cppunit_version=`$CPPUNIT_CONFIG --version`
39224 cppunit_major_version=`echo $cppunit_version | \
39225 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39226 cppunit_minor_version=`echo $cppunit_version | \
39227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39228 cppunit_micro_version=`echo $cppunit_version | \
39229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39231 cppunit_major_min=`echo $cppunit_version_min | \
39232 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39233 cppunit_minor_min=`echo $cppunit_version_min | \
39234 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39235 cppunit_micro_min=`echo $cppunit_version_min | \
39236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39238 cppunit_version_proper=`expr \
39239 $cppunit_major_version \> $cppunit_major_min \| \
39240 $cppunit_major_version \= $cppunit_major_min \& \
39241 $cppunit_minor_version \> $cppunit_minor_min \| \
39242 $cppunit_major_version \= $cppunit_major_min \& \
39243 $cppunit_minor_version \= $cppunit_minor_min \& \
39244 $cppunit_micro_version \>= $cppunit_micro_min `
39246 if test "$cppunit_version_proper" = "1" ; then
39247 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
39248 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
39250 echo "$as_me:$LINENO: result: no" >&5
39251 echo "${ECHO_T}no" >&6
39256 if test "x$no_cppunit" = x ; then
39257 SUBDIRS="$SUBDIRS tests"
39268 for subdir in `echo $SUBDIRS`; do
39269 if test -d ${srcdir}/${subdir} ; then
39270 if test "$wxUSE_GUI" = "yes"; then
39271 if test ${subdir} = "samples"; then
39272 makefiles="samples/Makefile.in $makefiles"
39273 for sample in `echo $SAMPLES_SUBDIRS`; do
39274 if test -d $srcdir/samples/$sample; then
39275 makefiles="samples/$sample/Makefile.in $makefiles"
39278 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39280 else if test ${subdir} = "samples"; then
39281 makefiles="samples/Makefile.in samples/console/Makefile.in"
39282 elif test ${subdir} = "utils"; then
39283 makefiles="utils/HelpGen/Makefile.in \
39284 utils/HelpGen/src/Makefile.in \
39285 utils/tex2rtf/Makefile.in \
39286 utils/tex2rtf/src/Makefile.in"
39287 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39291 for mkin in $makefiles ; do
39292 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39293 ac_config_files="$ac_config_files $mk"
39300 cat >confcache <<\_ACEOF
39301 # This file is a shell script that caches the results of configure
39302 # tests run on this system so they can be shared between configure
39303 # scripts and configure runs, see configure's option --config-cache.
39304 # It is not useful on other systems. If it contains results you don't
39305 # want to keep, you may remove or edit it.
39307 # config.status only pays attention to the cache file if you give it
39308 # the --recheck option to rerun configure.
39310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39312 # following values.
39316 # The following way of writing the cache mishandles newlines in values,
39317 # but we know of no workaround that is simple, portable, and efficient.
39318 # So, don't put newlines in cache variables' values.
39319 # Ultrix sh set writes to stderr and can't be redirected directly,
39320 # and sets the high bit in the cache file unless we assign to the vars.
39323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39325 # `set' does not quote correctly, so add quotes (double-quote
39326 # substitution turns \\\\ into \\, and sed turns \\ into \).
39329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39332 # `set' quotes correctly as required by POSIX, so do not add quotes.
39334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39345 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39346 if test -w $cache_file; then
39347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39348 cat confcache >$cache_file
39350 echo "not updating unwritable cache $cache_file"
39355 test "x$prefix" = xNONE && prefix=$ac_default_prefix
39356 # Let make expand exec_prefix.
39357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39361 # trailing colons and then remove the whole line if VPATH becomes empty
39362 # (actually we leave an empty line to preserve line numbers).
39363 if test "x$srcdir" = x.; then
39364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
39365 s/:*\$(srcdir):*/:/;
39366 s/:*\${srcdir}:*/:/;
39368 s/^\([^=]*=[ ]*\):*/\1/;
39374 DEFS=-DHAVE_CONFIG_H
39378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39379 # 1. Remove the extension, and $U if already installed.
39380 ac_i=`echo "$ac_i" |
39381 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39383 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
39384 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
39386 LIBOBJS=$ac_libobjs
39388 LTLIBOBJS=$ac_ltlibobjs
39392 : ${CONFIG_STATUS=./config.status}
39393 ac_clean_files_save=$ac_clean_files
39394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39395 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39396 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39397 cat >$CONFIG_STATUS <<_ACEOF
39399 # Generated by $as_me.
39400 # Run this file to recreate the current configuration.
39401 # Compiler output produced by configure, useful for debugging
39402 # configure, is in config.log if it exists.
39405 ac_cs_recheck=false
39407 SHELL=\${CONFIG_SHELL-$SHELL}
39410 cat >>$CONFIG_STATUS <<\_ACEOF
39411 ## --------------------- ##
39412 ## M4sh Initialization. ##
39413 ## --------------------- ##
39415 # Be Bourne compatible
39416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
39419 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39420 # is contrary to our usage. Disable this feature.
39421 alias -g '${1+"$@"}'='"$@"'
39422 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39426 # Support unset when possible.
39427 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
39434 # Work around bugs in pre-3.0 UWIN ksh.
39435 $as_unset ENV MAIL MAILPATH
39442 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39443 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39444 LC_TELEPHONE LC_TIME
39446 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
39447 eval $as_var=C; export $as_var
39453 # Required to use basename.
39454 if expr a : '\(a\)' >/dev/null 2>&1; then
39460 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
39461 as_basename=basename
39467 # Name of the executable.
39468 as_me=`$as_basename "$0" ||
39469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39470 X"$0" : 'X\(//\)$' \| \
39471 X"$0" : 'X\(/\)$' \| \
39472 . : '\(.\)' 2>/dev/null ||
39474 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39475 /^X\/\(\/\/\)$/{ s//\1/; q; }
39476 /^X\/\(\/\).*/{ s//\1/; q; }
39480 # PATH needs CR, and LINENO needs CR and PATH.
39481 # Avoid depending upon Character Ranges.
39482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39485 as_cr_digits='0123456789'
39486 as_cr_alnum=$as_cr_Letters$as_cr_digits
39488 # The user is always right.
39489 if test "${PATH_SEPARATOR+set}" != set; then
39490 echo "#! /bin/sh" >conf$$.sh
39491 echo "exit 0" >>conf$$.sh
39493 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
39502 as_lineno_1=$LINENO
39503 as_lineno_2=$LINENO
39504 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39505 test "x$as_lineno_1" != "x$as_lineno_2" &&
39506 test "x$as_lineno_3" = "x$as_lineno_2" || {
39507 # Find who we are. Look in the path if we contain no path at all
39510 *[\\/]* ) as_myself=$0 ;;
39511 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39512 for as_dir in $PATH
39515 test -z "$as_dir" && as_dir=.
39516 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
39521 # We did not find ourselves, most probably we were run as `sh COMMAND'
39522 # in which case we are not to be found in the path.
39523 if test "x$as_myself" = x; then
39526 if test ! -f "$as_myself"; then
39527 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39528 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39529 { (exit 1); exit 1; }; }
39531 case $CONFIG_SHELL in
39533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39534 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
39537 test -z "$as_dir" && as_dir=.
39538 for as_base in sh bash ksh sh5; do
39541 if ("$as_dir/$as_base" -c '
39542 as_lineno_1=$LINENO
39543 as_lineno_2=$LINENO
39544 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39545 test "x$as_lineno_1" != "x$as_lineno_2" &&
39546 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
39547 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
39548 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
39549 CONFIG_SHELL=$as_dir/$as_base
39550 export CONFIG_SHELL
39551 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39559 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39560 # uniformly replaced by the line number. The first 'sed' inserts a
39561 # line-number line before each line; the second 'sed' does the real
39562 # work. The second script uses 'N' to pair each line-number line
39563 # with the numbered line, and appends trailing '-' during
39564 # substitution so that $LINENO is not a special case at line end.
39565 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39566 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39567 sed '=' <$as_myself |
39572 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39575 s,^['$as_cr_digits']*\n,,
39576 ' >$as_me.lineno &&
39577 chmod +x $as_me.lineno ||
39578 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39579 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39580 { (exit 1); exit 1; }; }
39582 # Don't try to exec as it changes $[0], causing all sort of problems
39583 # (the dirname of $[0] is not the place where we might find the
39584 # original and so on. Autoconf is especially sensible to this).
39586 # Exit status is that of the last command.
39591 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39592 *c*,-n*) ECHO_N= ECHO_C='
39594 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39595 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
39598 if expr a : '\(a\)' >/dev/null 2>&1; then
39604 rm -f conf$$ conf$$.exe conf$$.file
39606 if ln -s conf$$.file conf$$ 2>/dev/null; then
39607 # We could just check for DJGPP; but this test a) works b) is more generic
39608 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39609 if test -f conf$$.exe; then
39610 # Don't use ln at all; we don't have any links
39615 elif ln conf$$.file conf$$ 2>/dev/null; then
39620 rm -f conf$$ conf$$.exe conf$$.file
39622 if mkdir -p . 2>/dev/null; then
39628 as_executable_p="test -f"
39630 # Sed expression to map a string onto a valid CPP name.
39631 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
39633 # Sed expression to map a string onto a valid variable name.
39634 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
39638 # We need space, tab and new line, in precisely that order.
39648 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39649 # report actual input values of CONFIG_FILES etc. instead of their
39650 # values after options handling. Logging --version etc. is OK.
39654 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39655 ## Running $as_me. ##
39660 This file was extended by wxWidgets $as_me 2.5.2, which was
39661 generated by GNU Autoconf 2.57. Invocation command line was
39663 CONFIG_FILES = $CONFIG_FILES
39664 CONFIG_HEADERS = $CONFIG_HEADERS
39665 CONFIG_LINKS = $CONFIG_LINKS
39666 CONFIG_COMMANDS = $CONFIG_COMMANDS
39670 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39674 # Files that config.status was made for.
39675 if test -n "$ac_config_files"; then
39676 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39679 if test -n "$ac_config_headers"; then
39680 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39683 if test -n "$ac_config_links"; then
39684 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39687 if test -n "$ac_config_commands"; then
39688 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39691 cat >>$CONFIG_STATUS <<\_ACEOF
39694 \`$as_me' instantiates files from templates according to the
39695 current configuration.
39697 Usage: $0 [OPTIONS] [FILE]...
39699 -h, --help print this help, then exit
39700 -V, --version print version number, then exit
39701 -q, --quiet do not print progress messages
39702 -d, --debug don't remove temporary files
39703 --recheck update $as_me by reconfiguring in the same conditions
39704 --file=FILE[:TEMPLATE]
39705 instantiate the configuration file FILE
39706 --header=FILE[:TEMPLATE]
39707 instantiate the configuration header FILE
39709 Configuration files:
39712 Configuration headers:
39715 Configuration commands:
39718 Report bugs to <bug-autoconf@gnu.org>."
39721 cat >>$CONFIG_STATUS <<_ACEOF
39723 wxWidgets config.status 2.5.2
39724 configured by $0, generated by GNU Autoconf 2.57,
39725 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39727 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
39728 Free Software Foundation, Inc.
39729 This config.status script is free software; the Free Software Foundation
39730 gives unlimited permission to copy, distribute and modify it."
39735 cat >>$CONFIG_STATUS <<\_ACEOF
39736 # If no file are specified by the user, then we need to provide default
39737 # value. By we need to know if files were specified by the user.
39743 ac_option=`expr "x$1" : 'x\([^=]*\)='`
39744 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
39752 *) # This is not an option, so the user has probably given explicit
39755 ac_need_defaults=false;;
39759 # Handling of the options.
39761 cat >>$CONFIG_STATUS <<\_ACEOF
39762 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39764 --version | --vers* | -V )
39765 echo "$ac_cs_version"; exit 0 ;;
39767 # Conflict between --help and --header
39768 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39769 Try \`$0 --help' for more information." >&5
39770 echo "$as_me: error: ambiguous option: $1
39771 Try \`$0 --help' for more information." >&2;}
39772 { (exit 1); exit 1; }; };;
39773 --help | --hel | -h )
39774 echo "$ac_cs_usage"; exit 0 ;;
39775 --debug | --d* | -d )
39777 --file | --fil | --fi | --f )
39779 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39780 ac_need_defaults=false;;
39781 --header | --heade | --head | --hea )
39783 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
39784 ac_need_defaults=false;;
39785 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39786 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39789 # This is an error.
39790 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39791 Try \`$0 --help' for more information." >&5
39792 echo "$as_me: error: unrecognized option: $1
39793 Try \`$0 --help' for more information." >&2;}
39794 { (exit 1); exit 1; }; } ;;
39796 *) ac_config_targets="$ac_config_targets $1" ;;
39802 ac_configure_extra_args=
39804 if $ac_cs_silent; then
39806 ac_configure_extra_args="$ac_configure_extra_args --silent"
39810 cat >>$CONFIG_STATUS <<_ACEOF
39811 if \$ac_cs_recheck; then
39812 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39813 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39818 cat >>$CONFIG_STATUS <<_ACEOF
39820 # INIT-COMMANDS section.
39824 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39833 cat >>$CONFIG_STATUS <<\_ACEOF
39834 for ac_config_target in $ac_config_targets
39836 case "$ac_config_target" in
39837 # Handling of arguments.
39838 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
39839 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
39840 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39841 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
39842 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
39843 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
39844 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39845 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39846 { (exit 1); exit 1; }; };;
39850 # If the user did not use the arguments to specify the items to instantiate,
39851 # then the envvar interface is used. Set only those that are not.
39852 # We use the long form for the default assignment because of an extremely
39853 # bizarre bug on SunOS 4.1.3.
39854 if $ac_need_defaults; then
39855 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39856 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39857 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39860 # Have a temporary directory for convenience. Make it in the build tree
39861 # simply because there is no reason to put it here, and in addition,
39862 # creating and moving files from /tmp can sometimes cause problems.
39863 # Create a temporary directory, and hook for its removal unless debugging.
39866 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39867 trap '{ (exit 1); exit 1; }' 1 2 13 15
39870 # Create a (secure) tmp directory for tmp files.
39873 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39874 test -n "$tmp" && test -d "$tmp"
39877 tmp=./confstat$$-$RANDOM
39878 (umask 077 && mkdir $tmp)
39881 echo "$me: cannot create a temporary directory in ." >&2
39882 { (exit 1); exit 1; }
39887 cat >>$CONFIG_STATUS <<_ACEOF
39890 # CONFIG_FILES section.
39893 # No need to generate the scripts if there are no CONFIG_FILES.
39894 # This happens for instance when ./config.status config.h
39895 if test -n "\$CONFIG_FILES"; then
39896 # Protect against being on the right side of a sed subst in config.status.
39897 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39898 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39899 s,@SHELL@,$SHELL,;t t
39900 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39901 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39902 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39903 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39904 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39905 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39906 s,@exec_prefix@,$exec_prefix,;t t
39907 s,@prefix@,$prefix,;t t
39908 s,@program_transform_name@,$program_transform_name,;t t
39909 s,@bindir@,$bindir,;t t
39910 s,@sbindir@,$sbindir,;t t
39911 s,@libexecdir@,$libexecdir,;t t
39912 s,@datadir@,$datadir,;t t
39913 s,@sysconfdir@,$sysconfdir,;t t
39914 s,@sharedstatedir@,$sharedstatedir,;t t
39915 s,@localstatedir@,$localstatedir,;t t
39916 s,@libdir@,$libdir,;t t
39917 s,@includedir@,$includedir,;t t
39918 s,@oldincludedir@,$oldincludedir,;t t
39919 s,@infodir@,$infodir,;t t
39920 s,@mandir@,$mandir,;t t
39921 s,@build_alias@,$build_alias,;t t
39922 s,@host_alias@,$host_alias,;t t
39923 s,@target_alias@,$target_alias,;t t
39924 s,@DEFS@,$DEFS,;t t
39925 s,@ECHO_C@,$ECHO_C,;t t
39926 s,@ECHO_N@,$ECHO_N,;t t
39927 s,@ECHO_T@,$ECHO_T,;t t
39928 s,@LIBS@,$LIBS,;t t
39929 s,@build@,$build,;t t
39930 s,@build_cpu@,$build_cpu,;t t
39931 s,@build_vendor@,$build_vendor,;t t
39932 s,@build_os@,$build_os,;t t
39933 s,@host@,$host,;t t
39934 s,@host_cpu@,$host_cpu,;t t
39935 s,@host_vendor@,$host_vendor,;t t
39936 s,@host_os@,$host_os,;t t
39937 s,@target@,$target,;t t
39938 s,@target_cpu@,$target_cpu,;t t
39939 s,@target_vendor@,$target_vendor,;t t
39940 s,@target_os@,$target_os,;t t
39942 s,@CFLAGS@,$CFLAGS,;t t
39943 s,@LDFLAGS@,$LDFLAGS,;t t
39944 s,@CPPFLAGS@,$CPPFLAGS,;t t
39945 s,@ac_ct_CC@,$ac_ct_CC,;t t
39946 s,@EXEEXT@,$EXEEXT,;t t
39947 s,@OBJEXT@,$OBJEXT,;t t
39949 s,@EGREP@,$EGREP,;t t
39951 s,@CXXFLAGS@,$CXXFLAGS,;t t
39952 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
39953 s,@RANLIB@,$RANLIB,;t t
39954 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
39956 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39957 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39958 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
39959 s,@STRIP@,$STRIP,;t t
39960 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
39961 s,@LN_S@,$LN_S,;t t
39962 s,@CXXCPP@,$CXXCPP,;t t
39963 s,@subdirs@,$subdirs,;t t
39964 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
39965 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
39966 s,@GTK_LIBS@,$GTK_LIBS,;t t
39967 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
39968 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
39969 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
39970 s,@X_CFLAGS@,$X_CFLAGS,;t t
39971 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
39972 s,@X_LIBS@,$X_LIBS,;t t
39973 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
39974 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
39975 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
39976 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
39977 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
39978 s,@RESCOMP@,$RESCOMP,;t t
39979 s,@DEREZ@,$DEREZ,;t t
39980 s,@SETFILE@,$SETFILE,;t t
39981 s,@LIBICONV@,$LIBICONV,;t t
39982 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
39983 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
39984 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
39985 s,@SDL_LIBS@,$SDL_LIBS,;t t
39986 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
39987 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
39988 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
39989 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
39990 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
39991 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
39992 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
39993 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
39994 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
39995 s,@VENDOR@,$VENDOR,;t t
39996 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
39997 s,@WXUNIV@,$WXUNIV,;t t
39998 s,@MONOLITHIC@,$MONOLITHIC,;t t
39999 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40000 s,@EXTRALIBS@,$EXTRALIBS,;t t
40001 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40002 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40003 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40004 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40005 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40006 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40007 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40008 s,@UNICODE@,$UNICODE,;t t
40009 s,@BUILD@,$BUILD,;t t
40010 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40011 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40012 s,@SHARED@,$SHARED,;t t
40013 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40014 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40015 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40016 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40017 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40018 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40019 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40020 s,@SET_MAKE@,$SET_MAKE,;t t
40021 s,@MAKE_SET@,$MAKE_SET,;t t
40022 s,@ac_ct_AR@,$ac_ct_AR,;t t
40023 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40025 s,@ac_ct_NM@,$ac_ct_NM,;t t
40026 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40027 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40028 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40029 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40030 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40031 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40032 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40033 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40034 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40035 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40036 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
40037 s,@LIBPREFIX@,$LIBPREFIX,;t t
40038 s,@LIBEXT@,$LIBEXT,;t t
40039 s,@DLLPREFIX@,$DLLPREFIX,;t t
40040 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40041 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40042 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40043 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40044 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40045 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40046 s,@PIC_FLAG@,$PIC_FLAG,;t t
40047 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40048 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40049 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40050 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40051 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40052 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40053 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40054 s,@GCC_PCH@,$GCC_PCH,;t t
40055 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40056 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40057 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40058 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40059 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40060 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40061 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40062 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40063 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40064 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40065 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40066 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40067 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40068 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40069 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40070 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40071 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40072 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40073 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
40074 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40075 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40076 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40077 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40078 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
40079 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40080 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40081 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40082 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40083 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40084 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40085 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40086 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40087 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40088 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40089 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40090 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40091 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40092 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40093 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40094 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40095 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40096 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40097 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40098 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40099 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40100 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40101 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40102 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40103 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40104 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40105 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40106 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40107 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40108 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40109 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40110 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40111 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40112 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40113 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40114 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40115 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40116 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40117 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40118 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40119 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40120 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40121 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40122 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40123 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40124 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40125 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40126 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40127 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40128 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40129 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40130 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40131 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40132 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
40133 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
40134 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
40135 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40136 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40137 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40138 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40139 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40140 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40141 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40142 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40143 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40144 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40145 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40146 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40147 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40148 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40149 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40150 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40151 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40152 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40153 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40154 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40155 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40156 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40157 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40158 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40159 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40160 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40161 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40162 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40163 s,@PATH_IFS@,$PATH_IFS,;t t
40164 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40165 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40166 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40167 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40168 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40169 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40170 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40171 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40172 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40173 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40174 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40175 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40176 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40177 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40178 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40179 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40180 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40181 s,@WX_ALL@,$WX_ALL,;t t
40182 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40183 s,@SHARED_LD@,$SHARED_LD,;t t
40184 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40185 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40186 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40187 s,@USE_GUI@,$USE_GUI,;t t
40188 s,@AFMINSTALL@,$AFMINSTALL,;t t
40189 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40190 s,@TOOLKIT@,$TOOLKIT,;t t
40191 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40192 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40193 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40194 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40195 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40196 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40197 s,@cross_compiling@,$cross_compiling,;t t
40198 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40199 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40200 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40201 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40202 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40203 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40204 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40205 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40206 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40207 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40208 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40209 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40210 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40211 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40212 s,@GUIDIST@,$GUIDIST,;t t
40213 s,@PORT_FILES@,$PORT_FILES,;t t
40214 s,@DISTDIR@,$DISTDIR,;t t
40215 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40216 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40217 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40218 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40219 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40220 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40221 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40222 s,@RESFLAGS@,$RESFLAGS,;t t
40223 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40224 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40225 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40226 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40227 s,@MACRESCOMP@,$MACRESCOMP,;t t
40228 s,@MACSETFILE@,$MACSETFILE,;t t
40229 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40231 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40232 s,@DLLTOOL@,$DLLTOOL,;t t
40235 s,@MAKEINFO@,$MAKEINFO,;t t
40236 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40237 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
40238 s,@LIBOBJS@,$LIBOBJS,;t t
40239 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40244 cat >>$CONFIG_STATUS <<\_ACEOF
40245 # Split the substitutions into bite-sized pieces for seds with
40246 # small command number limits, like on Digital OSF/1 and HP-UX.
40247 ac_max_sed_lines=48
40248 ac_sed_frag=1 # Number of current file.
40249 ac_beg=1 # First line for current file.
40250 ac_end=$ac_max_sed_lines # Line after last line for current file.
40253 while $ac_more_lines; do
40254 if test $ac_beg -gt 1; then
40255 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40257 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40259 if test ! -s $tmp/subs.frag; then
40260 ac_more_lines=false
40262 # The purpose of the label and of the branching condition is to
40263 # speed up the sed processing (if there are no `@' at all, there
40264 # is no need to browse any of the substitutions).
40265 # These are the two extra sed commands mentioned above.
40267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40268 if test -z "$ac_sed_cmds"; then
40269 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40271 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40273 ac_sed_frag=`expr $ac_sed_frag + 1`
40275 ac_end=`expr $ac_end + $ac_max_sed_lines`
40278 if test -z "$ac_sed_cmds"; then
40281 fi # test -n "$CONFIG_FILES"
40284 cat >>$CONFIG_STATUS <<\_ACEOF
40285 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40286 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40288 - | *:- | *:-:* ) # input from stdin
40290 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40291 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40292 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40293 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40294 * ) ac_file_in=$ac_file.in ;;
40297 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40298 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40299 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40300 X"$ac_file" : 'X\(//\)[^/]' \| \
40301 X"$ac_file" : 'X\(//\)$' \| \
40302 X"$ac_file" : 'X\(/\)' \| \
40303 . : '\(.\)' 2>/dev/null ||
40305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40307 /^X\(\/\/\)$/{ s//\1/; q; }
40308 /^X\(\/\).*/{ s//\1/; q; }
40310 { if $as_mkdir_p; then
40315 while test ! -d "$as_dir"; do
40316 as_dirs="$as_dir $as_dirs"
40317 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40319 X"$as_dir" : 'X\(//\)[^/]' \| \
40320 X"$as_dir" : 'X\(//\)$' \| \
40321 X"$as_dir" : 'X\(/\)' \| \
40322 . : '\(.\)' 2>/dev/null ||
40324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40326 /^X\(\/\/\)$/{ s//\1/; q; }
40327 /^X\(\/\).*/{ s//\1/; q; }
40330 test ! -n "$as_dirs" || mkdir $as_dirs
40331 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40332 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40333 { (exit 1); exit 1; }; }; }
40337 if test "$ac_dir" != .; then
40338 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40339 # A "../" for each directory in $ac_dir_suffix.
40340 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40342 ac_dir_suffix= ac_top_builddir=
40346 .) # No --srcdir option. We are building in place.
40348 if test -z "$ac_top_builddir"; then
40351 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40353 [\\/]* | ?:[\\/]* ) # Absolute path.
40354 ac_srcdir=$srcdir$ac_dir_suffix;
40355 ac_top_srcdir=$srcdir ;;
40356 *) # Relative path.
40357 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40358 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40360 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40362 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40363 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40364 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40365 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40369 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40370 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40373 if test x"$ac_file" != x-; then
40374 { echo "$as_me:$LINENO: creating $ac_file" >&5
40375 echo "$as_me: creating $ac_file" >&6;}
40378 # Let's still pretend it is `configure' which instantiates (i.e., don't
40379 # use $as_me), people would be surprised to read:
40380 # /* config.h. Generated by config.status. */
40381 if test x"$ac_file" = x-; then
40384 configure_input="$ac_file. "
40386 configure_input=$configure_input"Generated from `echo $ac_file_in |
40387 sed 's,.*/,,'` by configure."
40389 # First look for the input files in the build tree, otherwise in the
40391 ac_file_inputs=`IFS=:
40392 for f in $ac_file_in; do
40394 -) echo $tmp/stdin ;;
40396 # Absolute (can't be DOS-style, as IFS=:)
40397 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40398 echo "$as_me: error: cannot find input file: $f" >&2;}
40399 { (exit 1); exit 1; }; }
40402 if test -f "$f"; then
40405 elif test -f "$srcdir/$f"; then
40410 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40411 echo "$as_me: error: cannot find input file: $f" >&2;}
40412 { (exit 1); exit 1; }; }
40415 done` || { (exit 1); exit 1; }
40417 cat >>$CONFIG_STATUS <<_ACEOF
40421 cat >>$CONFIG_STATUS <<\_ACEOF
40423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40424 s,@configure_input@,$configure_input,;t t
40425 s,@srcdir@,$ac_srcdir,;t t
40426 s,@abs_srcdir@,$ac_abs_srcdir,;t t
40427 s,@top_srcdir@,$ac_top_srcdir,;t t
40428 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
40429 s,@builddir@,$ac_builddir,;t t
40430 s,@abs_builddir@,$ac_abs_builddir,;t t
40431 s,@top_builddir@,$ac_top_builddir,;t t
40432 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
40433 s,@INSTALL@,$ac_INSTALL,;t t
40434 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40436 if test x"$ac_file" != x-; then
40437 mv $tmp/out $ac_file
40445 cat >>$CONFIG_STATUS <<\_ACEOF
40448 # CONFIG_HEADER section.
40451 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
40452 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40454 # ac_d sets the value in "#define NAME VALUE" lines.
40455 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40456 ac_dB='[ ].*$,\1#\2'
40459 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40460 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40461 ac_uB='$,\1#\2define\3'
40465 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
40466 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40468 - | *:- | *:-:* ) # input from stdin
40470 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40472 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40473 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40474 * ) ac_file_in=$ac_file.in ;;
40477 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40478 echo "$as_me: creating $ac_file" >&6;}
40480 # First look for the input files in the build tree, otherwise in the
40482 ac_file_inputs=`IFS=:
40483 for f in $ac_file_in; do
40485 -) echo $tmp/stdin ;;
40487 # Absolute (can't be DOS-style, as IFS=:)
40488 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40489 echo "$as_me: error: cannot find input file: $f" >&2;}
40490 { (exit 1); exit 1; }; }
40493 if test -f "$f"; then
40496 elif test -f "$srcdir/$f"; then
40501 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40502 echo "$as_me: error: cannot find input file: $f" >&2;}
40503 { (exit 1); exit 1; }; }
40506 done` || { (exit 1); exit 1; }
40507 # Remove the trailing spaces.
40508 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40512 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40513 # `conftest.undefs', that substitutes the proper values into
40514 # config.h.in to produce config.h. The first handles `#define'
40515 # templates, and the second `#undef' templates.
40516 # And first: Protect against being on the right side of a sed subst in
40517 # config.status. Protect against being in an unquoted here document
40518 # in config.status.
40519 rm -f conftest.defines conftest.undefs
40520 # Using a here document instead of a string reduces the quoting nightmare.
40521 # Putting comments in sed scripts is not portable.
40523 # `end' is used to avoid that the second main sed command (meant for
40524 # 0-ary CPP macros) applies to n-ary macro definitions.
40525 # See the Autoconf documentation for `clear'.
40526 cat >confdef2sed.sed <<\_ACEOF
40531 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40533 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40536 # If some macros were called several times there might be several times
40537 # the same #defines, which is useless. Nevertheless, we may not want to
40538 # sort them, since we want the *last* AC-DEFINE to be honored.
40539 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40540 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40541 rm -f confdef2sed.sed
40543 # This sed command replaces #undef with comments. This is necessary, for
40544 # example, in the case of _POSIX_SOURCE, which is predefined and required
40545 # on some systems where configure will not decide to define it.
40546 cat >>conftest.undefs <<\_ACEOF
40547 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40550 # Break up conftest.defines because some shells have a limit on the size
40551 # of here documents, and old seds have small limits too (100 cmds).
40552 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40553 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40554 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40555 echo ' :' >>$CONFIG_STATUS
40556 rm -f conftest.tail
40557 while grep . conftest.defines >/dev/null
40559 # Write a limited-size here document to $tmp/defines.sed.
40560 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40561 # Speed up: don't consider the non `#define' lines.
40562 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40563 # Work around the forget-to-reset-the-flag bug.
40564 echo 't clr' >>$CONFIG_STATUS
40565 echo ': clr' >>$CONFIG_STATUS
40566 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
40568 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40570 mv $tmp/out $tmp/in
40572 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
40573 rm -f conftest.defines
40574 mv conftest.tail conftest.defines
40576 rm -f conftest.defines
40577 echo ' fi # grep' >>$CONFIG_STATUS
40578 echo >>$CONFIG_STATUS
40580 # Break up conftest.undefs because some shells have a limit on the size
40581 # of here documents, and old seds have small limits too (100 cmds).
40582 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40583 rm -f conftest.tail
40584 while grep . conftest.undefs >/dev/null
40586 # Write a limited-size here document to $tmp/undefs.sed.
40587 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40588 # Speed up: don't consider the non `#undef'
40589 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40590 # Work around the forget-to-reset-the-flag bug.
40591 echo 't clr' >>$CONFIG_STATUS
40592 echo ': clr' >>$CONFIG_STATUS
40593 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40595 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40597 mv $tmp/out $tmp/in
40599 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40600 rm -f conftest.undefs
40601 mv conftest.tail conftest.undefs
40603 rm -f conftest.undefs
40605 cat >>$CONFIG_STATUS <<\_ACEOF
40606 # Let's still pretend it is `configure' which instantiates (i.e., don't
40607 # use $as_me), people would be surprised to read:
40608 # /* config.h. Generated by config.status. */
40609 if test x"$ac_file" = x-; then
40610 echo "/* Generated by configure. */" >$tmp/config.h
40612 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40614 cat $tmp/in >>$tmp/config.h
40616 if test x"$ac_file" != x-; then
40617 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
40618 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40619 echo "$as_me: $ac_file is unchanged" >&6;}
40621 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40622 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40623 X"$ac_file" : 'X\(//\)[^/]' \| \
40624 X"$ac_file" : 'X\(//\)$' \| \
40625 X"$ac_file" : 'X\(/\)' \| \
40626 . : '\(.\)' 2>/dev/null ||
40628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40629 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40630 /^X\(\/\/\)$/{ s//\1/; q; }
40631 /^X\(\/\).*/{ s//\1/; q; }
40633 { if $as_mkdir_p; then
40638 while test ! -d "$as_dir"; do
40639 as_dirs="$as_dir $as_dirs"
40640 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40642 X"$as_dir" : 'X\(//\)[^/]' \| \
40643 X"$as_dir" : 'X\(//\)$' \| \
40644 X"$as_dir" : 'X\(/\)' \| \
40645 . : '\(.\)' 2>/dev/null ||
40647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40649 /^X\(\/\/\)$/{ s//\1/; q; }
40650 /^X\(\/\).*/{ s//\1/; q; }
40653 test ! -n "$as_dirs" || mkdir $as_dirs
40654 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40655 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40656 { (exit 1); exit 1; }; }; }
40659 mv $tmp/config.h $ac_file
40663 rm -f $tmp/config.h
40667 cat >>$CONFIG_STATUS <<\_ACEOF
40670 # CONFIG_COMMANDS section.
40672 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
40673 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
40674 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
40675 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
40676 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40677 X"$ac_dest" : 'X\(//\)[^/]' \| \
40678 X"$ac_dest" : 'X\(//\)$' \| \
40679 X"$ac_dest" : 'X\(/\)' \| \
40680 . : '\(.\)' 2>/dev/null ||
40682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40684 /^X\(\/\/\)$/{ s//\1/; q; }
40685 /^X\(\/\).*/{ s//\1/; q; }
40689 if test "$ac_dir" != .; then
40690 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40691 # A "../" for each directory in $ac_dir_suffix.
40692 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40694 ac_dir_suffix= ac_top_builddir=
40698 .) # No --srcdir option. We are building in place.
40700 if test -z "$ac_top_builddir"; then
40703 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40705 [\\/]* | ?:[\\/]* ) # Absolute path.
40706 ac_srcdir=$srcdir$ac_dir_suffix;
40707 ac_top_srcdir=$srcdir ;;
40708 *) # Relative path.
40709 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40710 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40712 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40714 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40715 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40716 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40717 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40720 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40721 echo "$as_me: executing $ac_dest commands" >&6;}
40724 if test ! -h wx-config; then
40726 mv wx-config wx${TOOLCHAIN_NAME}-config
40727 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
40730 if test ! -d lib; then
40733 if test ! -d lib/wx; then
40736 if test ! -d lib/wx/include; then
40737 mkdir lib/wx/include
40739 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
40740 mkdir lib/wx/include/${TOOLCHAIN_NAME}
40742 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
40743 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
40745 if test -f setup.h; then
40746 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
40753 cat >>$CONFIG_STATUS <<\_ACEOF
40755 { (exit 0); exit 0; }
40757 chmod +x $CONFIG_STATUS
40758 ac_clean_files=$ac_clean_files_save
40761 # configure is writing to config.log, and then calls config.status.
40762 # config.status does its own redirection, appending to config.log.
40763 # Unfortunately, on DOS this fails, as config.log is still kept open
40764 # by configure, so config.status won't be able to write to it; its
40765 # output is simply discarded. So we exec the FD to /dev/null,
40766 # effectively closing config.log, so it can be properly (re)opened and
40767 # appended to by config.status. When coming back to configure, we
40768 # need to make the FD available again.
40769 if test "$no_create" != yes; then
40771 ac_config_status_args=
40772 test "$silent" = yes &&
40773 ac_config_status_args="$ac_config_status_args --quiet"
40775 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40777 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40778 # would make configure fail if this is the last instruction.
40779 $ac_cs_success || { (exit 1); exit 1; }
40783 # CONFIG_SUBDIRS section.
40785 if test "$no_recursion" != yes; then
40787 # Remove --cache-file and --srcdir arguments so they do not pile up.
40788 ac_sub_configure_args=
40790 for ac_arg in $ac_configure_args; do
40791 if test -n "$ac_prev"; then
40796 -cache-file | --cache-file | --cache-fil | --cache-fi \
40797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40798 ac_prev=cache_file ;;
40799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40803 --config-cache | -C)
40805 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40807 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40809 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40811 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40813 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
40817 # Always prepend --prefix to ensure using the same prefix
40818 # in subdir configurations.
40819 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
40822 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
40824 # Do not complain, so a configure script can configure whichever
40825 # parts of a large source tree are present.
40826 test -d $srcdir/$ac_dir || continue
40828 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40829 echo "$as_me: configuring in $ac_dir" >&6;}
40830 { if $as_mkdir_p; then
40835 while test ! -d "$as_dir"; do
40836 as_dirs="$as_dir $as_dirs"
40837 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40839 X"$as_dir" : 'X\(//\)[^/]' \| \
40840 X"$as_dir" : 'X\(//\)$' \| \
40841 X"$as_dir" : 'X\(/\)' \| \
40842 . : '\(.\)' 2>/dev/null ||
40844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40846 /^X\(\/\/\)$/{ s//\1/; q; }
40847 /^X\(\/\).*/{ s//\1/; q; }
40850 test ! -n "$as_dirs" || mkdir $as_dirs
40851 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40852 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40853 { (exit 1); exit 1; }; }; }
40857 if test "$ac_dir" != .; then
40858 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40859 # A "../" for each directory in $ac_dir_suffix.
40860 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40862 ac_dir_suffix= ac_top_builddir=
40866 .) # No --srcdir option. We are building in place.
40868 if test -z "$ac_top_builddir"; then
40871 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40873 [\\/]* | ?:[\\/]* ) # Absolute path.
40874 ac_srcdir=$srcdir$ac_dir_suffix;
40875 ac_top_srcdir=$srcdir ;;
40876 *) # Relative path.
40877 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40878 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40880 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40882 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40883 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40884 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40885 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40890 # Check for guested configure; otherwise get Cygnus style configure.
40891 if test -f $ac_srcdir/configure.gnu; then
40892 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
40893 elif test -f $ac_srcdir/configure; then
40894 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
40895 elif test -f $ac_srcdir/configure.in; then
40896 ac_sub_configure=$ac_configure
40898 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
40899 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
40903 # The recursion is here.
40904 if test -n "$ac_sub_configure"; then
40905 # Make the cache file name correct relative to the subdirectory.
40906 case $cache_file in
40907 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
40908 *) # Relative path.
40909 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
40912 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
40913 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
40914 # The eval makes quoting arguments work.
40915 eval $ac_sub_configure $ac_sub_configure_args \
40916 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
40917 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
40918 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
40919 { (exit 1); exit 1; }; }
40928 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
40930 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
40931 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
40933 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
40934 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
40935 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
40937 echo " What level of wxWidgets compatibility should be enabled?"
40938 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
40939 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
40941 echo " Which libraries should wxWidgets use?"
40942 echo " jpeg ${wxUSE_LIBJPEG-none}"
40943 echo " png ${wxUSE_LIBPNG-none}"
40944 echo " regex ${wxUSE_REGEX}"
40945 echo " tiff ${wxUSE_LIBTIFF-none}"
40946 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
40947 echo " xpm ${wxUSE_LIBXPM-none}"
40949 echo " zlib ${wxUSE_ZLIB}"
40950 echo " odbc ${wxUSE_ODBC}"
40951 echo " expat ${wxUSE_EXPAT}"
40952 echo " libmspack ${wxUSE_LIBMSPACK}"
40953 echo " sdl ${wxUSE_LIBSDL}"